Redux Framework - Version 4.1.12

Version Description

  • Fixed: Direct calls to ReduxFramework were causing unexpected errors.
  • Fixed: JS error on .replace because opt_name wasn't found.
  • Added: FS_METHOD define location, had to move lower in the stack.
  • Release date: Aug 5, 2020
Download this release

Release Info

Developer dovyp
Plugin Icon 128x128 Redux Framework
Version 4.1.12
Comparing to
See all releases

Code changes from version 4.1.11 to 4.1.12

CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
  # Redux Changelog
2
 
 
 
 
 
 
 
3
  ## 4.1.11
4
  * Fixed: Templates JS not loading and conflicting with other plugins. Need to namespace or something.
5
  * Added: `FS_METHOD` define method for environments where it is not properly defined.
1
  # Redux Changelog
2
 
3
+ ## 4.1.12
4
+ * Fixed: Direct calls to ReduxFramework were causing unexpected errors.
5
+ * Fixed: JS error on .replace because opt_name wasn't found.
6
+ * Added: `FS_METHOD` define location, had to move lower in the stack.
7
+ * Release date: Aug 5, 2020
8
+
9
  ## 4.1.11
10
  * Fixed: Templates JS not loading and conflicting with other plugins. Need to namespace or something.
11
  * Added: `FS_METHOD` define method for environments where it is not properly defined.
readme.txt CHANGED
@@ -1,253 +1,259 @@
1
- === Gutenberg Blocks Library & Framework – Redux ===
2
- Contributors: dovyp, redux
3
- Donate link: https://paypal.me/ReduxFramework
4
- Tags: gutenberg, blocks, gutenberg blocks, editor, block, page builder, block editor, block library, editor, templates, library
5
- Requires at least: 4.0
6
- Requires PHP: 5.3
7
- Tested up to: 5.5
8
- Stable tag: 4.1.11
9
- License: GPL-2.0+
10
- License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11
-
12
- Supercharge the Gutenberg editor with our ever-growing library of block-based templates!
13
-
14
- == Description ==
15
- <strong>Redux - Quickly create full pages in WordPress’ Gutenberg</strong>
16
-
17
- Supercharge the Gutenberg editor with our ever-growing library of WordPress Blocks and templates. Discover what's possible and implement any design on your website in virtually no time at all.
18
-
19
- Worried that our templates may not work with your theme? We've got you covered. With our custom <em>page templates</em> option you can override any theme. Missing a plugin a template needs? No worries, we’ll even help you install what you need, all from the Gutenberg editor.
20
-
21
- Don’t waste hours trying to recreate a template you love. With a click of a button it is own website where you can start customizing it for your needs.
22
-
23
- <h4>♥️ What the Plugin does?</h4>
24
- <ul>
25
- <li><strong>Browse 1,000+</strong> templates from your Gutenberg Editor that you can add to your site immediately.</li>
26
- <li><strong>Preview</strong> each Gutenberg block based template in the customizer preview.</li>
27
- <li><strong>Filter</strong> between the dependencies you want, and find exactly what you're looking for.</li>
28
- <li><strong>See instantly</strong> which Gutenberg templates you have everything for, or may need to install some dependencies.</li>
29
- <li><strong>Automated install</strong> of anything you may need to install any template.</li>
30
- <li><strong>Block Patterns library</strong> support built in.</li>
31
- <li>Make the Reusable Blocks visible in our library modal window. 😉</li>
32
- <li>The most trusted option framework in the industry.</li>
33
- <li>Developer friendly: clean code, inline documentation</li>
34
- </ul>
35
-
36
- <h4>🚀 TYPICAL USE CASE OF THIS PLUGIN</h4>
37
- You are building a **big site** with **lots of pages** and you just want it to look amazing. With Redux you can begin making pages with a variety of "starter blocks," or templates.
38
-
39
- You can browse through the categories, as well as collections of like-styled pages. When you find something you like, Redux makes sure you have everything you need. If a dependency (or required plugin) is missing, you are notified and can install the missing dependency. Worried that our templates may not work with your theme? No problem! With our custom `page templates` options you can transform any site into exactly what you want it to be no matter what them you are using.
40
-
41
- Don’t waste hours trying to recreate a design you love. With a click of a button, you have it on your own site and you can begin customizing your "starter block" for your needs.
42
-
43
- <h4>🎉 Supported Page Builders</h4>
44
- Currently Redux supports only the <a href="https://wordpress.org/plugins/gutenberg/"><strong>Gutenberg / Block Editor of WordPress 5.0+</strong></a>.
45
-
46
- <h4>🎨 Supported Themes</h4>
47
- Though Redux will work with any theme that uses Gutenberg, we have done extra work to ensure complete compatibility with these themes.
48
-
49
- <ul>
50
- <li><a href="https://wordpress.org/themes/astra/"><strong>Astra Theme</strong></a> with <strong>Astra Pro</strong> Add-On Plugin – <strong>Custom Layouts</strong> (for Layouts, Headers, Footers, Hooks)</li>
51
- <li><a href="https://wordpress.org/themes/generatepress/"><strong>GeneratePress Theme</strong></a> with <strong>GP Premium</strong> Add-On Plugin – <strong>Elements</strong> (for Layouts, Headers, Hooks)</li>
52
- <li><a href="https://wordpress.org/themes/oceanwp/"><strong>OceanWP Theme</strong></a> with <a href="https://wordpress.org/plugins/ocean-extra/"><strong>Ocean Extra</strong></a> free Add-On Plugin – <strong>My Library</strong> (for Layouts, Hooks etc.)</li>
53
- <li><strong>Kava Pro Theme/ CrocoBlock Service</strong> with JetThemeCore Plugin – <strong>My Library</strong> (for Layouts, Pages, Headers, Footers, Single, Archive)</li>
54
- <li><strong>Genesis Framework</strong> with Genesis Child Themes — via <strong>Blox Lite</strong> and <strong>Blox</strong> (Pro) Plugins – <strong>Global Content Blocks</strong> (for Sections, Hooks)</li>
55
- <li><strong>Page Builder Framework</strong> with <strong>WPBF Premium</strong> Add-On Plugin – <strong>Custom Section</strong> (for Sections, Layouts, Hooks etc.)</li>
56
- <li><strong>Customify</strong> with <strong>Customify Pro</strong> Add-On Plugin – <strong>Hooks</strong> (for Layouts, Sections, Hooks etc.)</li>
57
- <li><strong>Suki</strong> with <strong>Suki Pro</strong> Add-On Plugin – <strong>Custom Blocks</strong> (for Layouts, Sections, Hooks etc.)</li>
58
- <li><strong>Neve</strong> with <strong>Neve Pro</strong> Add-On Plugin – <strong>Custom Layouts</strong> (for Layouts, Sections, Hooks etc.)</li>
59
- <li><strong>Woostify</strong> with <strong>Woostify Pro</strong> Add-On Plugin – <strong>Header Footer Builder</strong> (for Elementor theming areas – Headers/ Footers)</li>
60
- <li><strong>Avada Theme</strong> with Avada Fusion Builder – <strong>Library</strong> (for Templates, Pages, Layouts, Columns, Rows)</li>
61
- <li><strong>Divi Theme</strong> with Divi Builder – <strong>Library</strong> (for Templates etc.)</li>
62
- <li><strong>Extra Theme</strong> with Divi Builder – <strong>Library</strong> (for Templates etc.) – <strong>Category Templates</strong> (for Layouts, Templates etc.)</li>
63
- </ul>
64
-
65
- <h4>📦 Supported Gutenberg-Specific Plugins (Block Editor)</h4>
66
- <ul>
67
- <li><a href="https://wordpress.org/plugins/gutenberg/"><strong>Gutenberg</strong></a> Plugin – <strong>Gutenberg</strong> (Bleeding-Edge development in Gutenberg and Gutenberg Blocks)</li>
68
- <li><a href="https://wordpress.org/plugins/acf-blocks/"><strong>ACF Blocks Suite</strong></a> Plugin – <strong>Blocks</strong> (Fields for Gutenberg Blocks)</li>
69
- <li><a href="https://wordpress.org/plugins/advanced-gutenberg-blocks/"><strong>Advanced Gutenberg Blocks</strong></a> Plugin – <strong>Blocks</strong> (Blocks and Tools for Gutenberg Blocks)</li>
70
- <li><a href="https://wordpress.org/plugins/atomic-blocks/"><strong>Atomic Blocks – Gutenberg Blocks Collection</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
71
- <li><a href="https://wordpress.org/plugins/block-options/"><strong>Gutenberg Page Building Toolkit – EditorsKit</strong></a> Plugin – <strong>Blocks</strong> (Templates &amp; Fields for Gutenberg Blocks)</li>
72
- <li><a href="https://wordpress.org/plugins/block-slider/"><strong>WordPress Slider Plugin – Block Slider</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
73
- <li><a href="https://wordpress.org/plugins/coblocks/"><strong>Page Builder Gutenberg Blocks – CoBlocks</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
74
- <li><a href="https://wordpress.org/plugins/editorskit/"><strong>Gutenberg Page Building Toolkit – EditorsKit</strong></a> Plugin – <strong>Blocks</strong> (Blocks tools to supercharge the Gutenberg editor)</li>
75
- <li><a href="https://wordpress.org/plugins/editorplus/"><strong>Gutenberg Page Builder Toolkit – EditorPlus</strong></a> Plugin – <strong>EditorPlus</strong> (Toolkit and blocks for Gutenberg Blocks)</li>
76
- <li><a href="https://wordpress.org/plugins/forms-gutenberg/"><strong>WordPress Form Builder Plugin – Gutenberg Forms</strong></a> Plugin – <strong>Blocks</strong> (Blocks &amp; Forms for Gutenberg Blocks)</li>
77
- <li><a href="https://wordpress.org/plugins/getwid/"><strong>Getwid – Gutenberg Blocks</strong></a> Plugin – <strong>Blocks</strong> (Templates &amp; Blocks for Gutenberg Blocks)</li>
78
- <li><a href="https://wordpress.org/plugins/gutentor/"><strong>Gutenberg Blocks – Gutentor Page Builder for Gutenberg Editor</strong></a> Plugin – <strong>Blocks</strong> (Gutenberg Blocks)</li>
79
- <li><a href="https://wordpress.org/plugins/kadence-blocks/"><strong>Kadence Blocks – Gutenberg Page Builder Toolkit</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
80
- <li><a href="https://wordpress.org/plugins/kioken-blocks/"><strong>Page Builder Gutenberg Blocks – Kioken Blocks</strong></a> Plugin – <strong>Blocks &amp; Templates</strong> (Blocks for Gutenberg Blocks)</li>
81
- <li><a href="https://wordpress.org/plugins/otter-blocks/"><strong>Gutenberg Blocks and Template Library by Otter</strong></a> Plugin – <strong>Blocks &amp; Templates</strong> (Blocks and Templates for Gutenberg Blocks)</li>
82
- <li><a href="https://wordpress.org/plugins/qubely/"><strong>Gutenberg Blocks and Page Builder – Qubely</strong></a> Plugin – <strong>Blocks &amp; Templates</strong> (Templates &amp; Blocks for Gutenberg Blocks)</li>
83
- <li><a href="https://wordpress.org/plugins/qodeblock/"><strong>Gutenberg Blocks Collection – qodeblock</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
84
- <li><a href="https://wordpress.org/plugins/stackable-ultimate-gutenberg-blocks/"><strong>Stackable – Page Builder Gutenberg Blocks</strong></a> Plugin – <strong>Blocks &amp; Templates</strong> (Templates &amp; Blocks for Gutenberg Blocks)</li>
85
- <li><a href="https://wordpress.org/plugins/ultimate-blocks/"><strong>Ultimate Blocks – Gutenberg Blocks Plugin</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
86
- <li><a href="https://wordpress.org/plugins/ultimate-addons-for-gutenberg/"><strong>Gutenberg Blocks – Ultimate Addons for Gutenberg</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
87
- </ul>
88
-
89
- <h4>☀️ Supported Gutenberg-Specific Services / Websites</h4>
90
- <ul>
91
- <li><a href="https://gutenberghub.com/"><strong>GutenbergHub.com</strong></a> – <strong>GutenbergHub</strong> GutenbergHub is a one-stop resource for you need to work with Gutenberg WordPress editor.</li>
92
- <li><a href="https://shareablock.com/"><strong>ShareABlock</strong></a> by EditorsKit – <strong>ShareABlock</strong> Community submitted free block designs and templates for Gutenberg</li>
93
- </ul>
94
-
95
- <h4>👍 BE A CONTRIBUTOR</h4>
96
- If you want to translate, <a href="https://translate.wordpress.org/projects/wp-plugins/starterblocks">go to the Translation Portal at translate.wordpress.org</a>.
97
-
98
- You can also contribute code-wise via our <a href="https://github.com/starterblocks/starterblocks/">GitHub Repository</a> – and see where you can help. Be sure to use our develop branch to submit pull requests.
99
-
100
- <h4>📝 Documentation and Support</h4>
101
- <ul>
102
- <li>For more information about features, FAQs and documentation, check out our website at <a href="https://starterblocks.io/" rel="nofollow ugc">Redux</a>.</li>
103
- <li>If you have any more questions, visit our support on the <a href="https://wordpress.org/support/plugin/starterblocks">Plugin's Forum</a>.</li>
104
- </ul>
105
-
106
- <h4>⚡ Like the Redux Plugin?</h4>
107
- <ul>
108
- <li>Follow us on <a href="https://www.facebook.com/reduxframework" rel="nofollow ugc">Facebook 💬</a></li>
109
- <li><strong>Rate us 5 ⭐ stars</strong> on <a href="https://wordpress.org/support/plugin/redux-framework/reviews/?filter=5/#new-post">WordPress.org</a></li>
110
- <li><a href="https://github.com/sponsors/dovy/" rel="nofollow ugc"><strong>Become a Sponsor</strong> 💜</a> and support ongoing development, maintenance and support of this plugin</li>
111
- <li>Follow us on Twitter 🐦: <a href="https://twitter.com/reduxframework" rel="nofollow ugc">@ReduxFramework</a> and <a href="https://twitter.com/dovyp" rel="nofollow ugc">@DovyP</a></li>
112
- </ul>
113
-
114
- <h4>🔐 Privacy</h4>
115
- Redux does not interact with end users on your website. Our templates will continue to work even if Redux is uninstalled. If a product is using Redux the option panel will cease to function without Redux.
116
-
117
- Redux utilizes [AppSero](https://appsero.com/) for account management as well as to enable our premium offerings. You can find their privacy policy here: [https://appsero.com/privacy-policy/](https://appsero.com/privacy-policy/). Activation of Redux is not necessary, but additional features such as Google Font Updates and increased access to the template library will be limited.
118
-
119
- The Redux plugin uses a custom API to fetch our content library and our Gutenberg templates. To improve the service and stability we store logs which may or may not contain the following:
120
- <ul>
121
- <li>browser type</li>
122
- <li>referring site</li>
123
- <li>date and time of request</li>
124
- <li>template ID requested</li>
125
- <li>date of cached version of the given API request</li>
126
- <li>supported block plugins installed (slug only, no versions)</li>
127
- <li>version of Redux installed</li>
128
- <li>Redux API keys</li>
129
- </ul>
130
-
131
- API requests are only made when a user clicks on the Library button or click to launch the Redux challenge.
132
-
133
- For more details on our privacy policy: [https://redux.io/privacy](https://redux.io/privacy)
134
- For more details on on our terms and conditions: [https://redux.io/terms](https://redux.io/terms)
135
-
136
- == Installation ==
137
- 1. Upload the entire plugin folder to the `/wp-content/plugins/` directory.
138
- 2. Activate the plugin through the 'Plugins' menu in WordPress.
139
-
140
- Once Installed and Activated you will be invited to Activate your Redux account. This is entirely voluntary and can easily be dismissed.
141
-
142
- If you want, you can use the [Gutenberg](https://wordpress.org/plugins/gutenberg/) plugin to get bleeding-edge experiments by the Gutenberg team.
143
-
144
- == Screenshots ==
145
-
146
- 1. With Redux you have access to hundreds of sections to help you create any type of page.
147
- 2. Take the Redux challenge to learn your way around the Redux Templates Library.
148
- 3. See instantly what required plugins each template requires on hover.
149
- 4. Preview each template instantly in your own website.
150
- 5. Template Kits give you full site templates, all grouped by a given style.
151
- 6. Within each template kit you can see the full page template types.
152
-
153
- == Changelog ==
154
-
155
- = 4.1.11 =
156
- * Fixed: Templates JS not loading and conflicting with other plugins. Need to namespace or something.
157
- * Added: `FS_METHOD` define method for environments where it is not properly defined.
158
- * Release date: Aug 4, 2020
159
-
160
- = 4.1.10 =
161
- * Fixed: Minified templates directory now loads.
162
- * Added: Shadow files from old repo to stop errors from previously included third-party developer includes.
163
- * Release date: Aug 4, 2020
164
-
165
- = 4.1.9 =
166
- * Fixed: Compatibility issue when developers made custom panel templates. The opt_name wasn't fetched and thus saving broke.
167
- * Release date: Aug 1, 2020
168
-
169
- = 4.1.8 =
170
- * Fixed: Map files are now all present.
171
- * Fixed: Path fix for how developers called the typography file directory.
172
- * Release date: Aug 1, 2020
173
-
174
- = 4.1.7 =
175
- * Fixed: Issue with sortable in text mode not properly passing the name attribute and thus not saving properly.
176
- * Fixed: Compatibility with old extension names to not crash other plugins.
177
- * Release date: July 31, 2020
178
-
179
- = 4.1.6 =
180
- * Fixed: Issue with customizer double loading the PHP classes and causing an exception.
181
- * Fixed: Chanced a class name as to not conflict with a 6+ year old version of Redux.
182
- * Release date: July 30, 2020
183
-
184
- = 4.1.5 =
185
- * Fixed: Google fonts not working when old configs used string vs an array for output.
186
- * Release date: July 30, 2020
187
-
188
- = 4.1.4 =
189
- * Fixed: Google fonts loading over non-secure breaks fonts. Forced all SSL for Google fonts. :)
190
- * Release date: July 30, 2020
191
-
192
- = 4.1.3 =
193
- * Fixed: Issue where theme devs tried to bypass the framework. Literally I made an empty file to fix their coding. :P
194
- * Release date: July 29, 2020
195
-
196
- = 4.1.2 =
197
- * Fixed: Don't try to set empty defaults when none are present.
198
- * Fixed: Issue where the WP Data argument was misused.
199
- * Release date: July 29, 2020
200
-
201
- = 4.1.1 =
202
- * Fixed: CSS decode when esc_attr replaces the HTML characters and CSS outputs are set with >'s.
203
- * Release date: July 29, 2020
204
-
205
- = 4.1.0 =
206
- * Fixed: Compatibility with certain themes using the deprecated $_is_plugin variable.
207
- * Release date: July 29, 2020
208
-
209
- = 4.0.9 =
210
- * Fixed: Complete compatibility fix for older Redux extensions.
211
- * Release date: July 28, 2020
212
-
213
- = 4.0.8 =
214
- * Fixed: Initial library load was failing on some server setups.
215
- * Release date: July 28, 2020
216
-
217
- = 4.0.7 =
218
- * Fixed: Race condition for PHP include for Redux_Typography causing blank white screens.
219
- * Release date: July 28, 2020
220
-
221
- = 4.0.5 =
222
- * Fixed: Issues where the site crashes because of varied ways Redux was called.
223
- * Fixed: Varied implementations of opt_names resulting in option panels not working as expected.
224
- * Release date: July 28, 2020
225
-
226
- = 4.0.4 =
227
- * Release date: July 24, 2020
228
-
229
- == Frequently Asked Questions ==
230
-
231
- = Who should use the Redux Block Library for Gutenberg? =
232
-
233
- The Redux Block Library for Gutenberg is a complete package of unique and creative templates that will help you build beautiful pages and posts on a website. It is of value for everyone and for all who love Gutenberg.
234
-
235
- = What are the requirements to use the Redux Library for Gutenberg? =
236
-
237
- You only need to have the latest version of WordPress on your website, to begin with. Redux is for Gutenberg is basically an addon for the default WordPress block editor. Therefore, the latest WordPress installation along with a theme should be enough, to begin with.
238
-
239
- = What themes does Redux Library for Gutenberg work with? =
240
-
241
- Redux is built to work wonderfully with all themes.
242
-
243
- = Can I use Redux for Gutenberg even while having another Page Builder? =
244
-
245
- The basic need or requirement for Redux for Gutenberg is the latest WordPress version. Should you need help, you can <a href="https://starterblocks.io/support/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme" target="_blank" rel="">get in touch with us.</a>
246
-
247
- = Can I use Redux for Gutenberg on client websites? =
248
-
249
- Yes! You can certainly use Redux on yours as well as your client's websites.
250
-
251
- = Will Redux slow down my website? =
252
-
253
- Absolutely not! The Redux Library for Gutenberg plugin is built with ease and performance in mind. Its module architecture and the clean code keep it extremely fast. Every performance issue that seems to be coming from Redux is actually the integration code of third-party developers. If you're having issues let us know and we'll try to help you out.
 
 
 
 
 
 
1
+ === Gutenberg Blocks Library & Framework – Redux ===
2
+ Contributors: dovyp, redux
3
+ Donate link: https://paypal.me/ReduxFramework
4
+ Tags: gutenberg, blocks, gutenberg blocks, editor, block, page builder, block editor, block library, editor, templates, library
5
+ Requires at least: 4.0
6
+ Requires PHP: 5.3
7
+ Tested up to: 5.5
8
+ Stable tag: 4.1.12
9
+ License: GPL-2.0+
10
+ License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11
+
12
+ Supercharge the Gutenberg editor with our ever-growing library of block-based templates!
13
+
14
+ == Description ==
15
+ <strong>Redux - Quickly create full pages in WordPress’ Gutenberg</strong>
16
+
17
+ Supercharge the Gutenberg editor with our ever-growing library of WordPress Blocks and templates. Discover what's possible and implement any design on your website in virtually no time at all.
18
+
19
+ Worried that our templates may not work with your theme? We've got you covered. With our custom <em>page templates</em> option you can override any theme. Missing a plugin a template needs? No worries, we’ll even help you install what you need, all from the Gutenberg editor.
20
+
21
+ Don’t waste hours trying to recreate a template you love. With a click of a button it is own website where you can start customizing it for your needs.
22
+
23
+ <h4>♥️ What the Plugin does?</h4>
24
+ <ul>
25
+ <li><strong>Browse 1,000+</strong> templates from your Gutenberg Editor that you can add to your site immediately.</li>
26
+ <li><strong>Preview</strong> each Gutenberg block based template in the customizer preview.</li>
27
+ <li><strong>Filter</strong> between the dependencies you want, and find exactly what you're looking for.</li>
28
+ <li><strong>See instantly</strong> which Gutenberg templates you have everything for, or may need to install some dependencies.</li>
29
+ <li><strong>Automated install</strong> of anything you may need to install any template.</li>
30
+ <li><strong>Block Patterns library</strong> support built in.</li>
31
+ <li>Make the Reusable Blocks visible in our library modal window. 😉</li>
32
+ <li>The most trusted option framework in the industry.</li>
33
+ <li>Developer friendly: clean code, inline documentation</li>
34
+ </ul>
35
+
36
+ <h4>🚀 TYPICAL USE CASE OF THIS PLUGIN</h4>
37
+ You are building a **big site** with **lots of pages** and you just want it to look amazing. With Redux you can begin making pages with a variety of "starter blocks," or templates.
38
+
39
+ You can browse through the categories, as well as collections of like-styled pages. When you find something you like, Redux makes sure you have everything you need. If a dependency (or required plugin) is missing, you are notified and can install the missing dependency. Worried that our templates may not work with your theme? No problem! With our custom `page templates` options you can transform any site into exactly what you want it to be no matter what them you are using.
40
+
41
+ Don’t waste hours trying to recreate a design you love. With a click of a button, you have it on your own site and you can begin customizing your "starter block" for your needs.
42
+
43
+ <h4>🎉 Supported Page Builders</h4>
44
+ Currently Redux supports only the <a href="https://wordpress.org/plugins/gutenberg/"><strong>Gutenberg / Block Editor of WordPress 5.0+</strong></a>.
45
+
46
+ <h4>🎨 Supported Themes</h4>
47
+ Though Redux will work with any theme that uses Gutenberg, we have done extra work to ensure complete compatibility with these themes.
48
+
49
+ <ul>
50
+ <li><a href="https://wordpress.org/themes/astra/"><strong>Astra Theme</strong></a> with <strong>Astra Pro</strong> Add-On Plugin – <strong>Custom Layouts</strong> (for Layouts, Headers, Footers, Hooks)</li>
51
+ <li><a href="https://wordpress.org/themes/generatepress/"><strong>GeneratePress Theme</strong></a> with <strong>GP Premium</strong> Add-On Plugin – <strong>Elements</strong> (for Layouts, Headers, Hooks)</li>
52
+ <li><a href="https://wordpress.org/themes/oceanwp/"><strong>OceanWP Theme</strong></a> with <a href="https://wordpress.org/plugins/ocean-extra/"><strong>Ocean Extra</strong></a> free Add-On Plugin – <strong>My Library</strong> (for Layouts, Hooks etc.)</li>
53
+ <li><strong>Kava Pro Theme/ CrocoBlock Service</strong> with JetThemeCore Plugin – <strong>My Library</strong> (for Layouts, Pages, Headers, Footers, Single, Archive)</li>
54
+ <li><strong>Genesis Framework</strong> with Genesis Child Themes — via <strong>Blox Lite</strong> and <strong>Blox</strong> (Pro) Plugins – <strong>Global Content Blocks</strong> (for Sections, Hooks)</li>
55
+ <li><strong>Page Builder Framework</strong> with <strong>WPBF Premium</strong> Add-On Plugin – <strong>Custom Section</strong> (for Sections, Layouts, Hooks etc.)</li>
56
+ <li><strong>Customify</strong> with <strong>Customify Pro</strong> Add-On Plugin – <strong>Hooks</strong> (for Layouts, Sections, Hooks etc.)</li>
57
+ <li><strong>Suki</strong> with <strong>Suki Pro</strong> Add-On Plugin – <strong>Custom Blocks</strong> (for Layouts, Sections, Hooks etc.)</li>
58
+ <li><strong>Neve</strong> with <strong>Neve Pro</strong> Add-On Plugin – <strong>Custom Layouts</strong> (for Layouts, Sections, Hooks etc.)</li>
59
+ <li><strong>Woostify</strong> with <strong>Woostify Pro</strong> Add-On Plugin – <strong>Header Footer Builder</strong> (for Elementor theming areas – Headers/ Footers)</li>
60
+ <li><strong>Avada Theme</strong> with Avada Fusion Builder – <strong>Library</strong> (for Templates, Pages, Layouts, Columns, Rows)</li>
61
+ <li><strong>Divi Theme</strong> with Divi Builder – <strong>Library</strong> (for Templates etc.)</li>
62
+ <li><strong>Extra Theme</strong> with Divi Builder – <strong>Library</strong> (for Templates etc.) – <strong>Category Templates</strong> (for Layouts, Templates etc.)</li>
63
+ </ul>
64
+
65
+ <h4>📦 Supported Gutenberg-Specific Plugins (Block Editor)</h4>
66
+ <ul>
67
+ <li><a href="https://wordpress.org/plugins/gutenberg/"><strong>Gutenberg</strong></a> Plugin – <strong>Gutenberg</strong> (Bleeding-Edge development in Gutenberg and Gutenberg Blocks)</li>
68
+ <li><a href="https://wordpress.org/plugins/acf-blocks/"><strong>ACF Blocks Suite</strong></a> Plugin – <strong>Blocks</strong> (Fields for Gutenberg Blocks)</li>
69
+ <li><a href="https://wordpress.org/plugins/advanced-gutenberg-blocks/"><strong>Advanced Gutenberg Blocks</strong></a> Plugin – <strong>Blocks</strong> (Blocks and Tools for Gutenberg Blocks)</li>
70
+ <li><a href="https://wordpress.org/plugins/atomic-blocks/"><strong>Atomic Blocks – Gutenberg Blocks Collection</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
71
+ <li><a href="https://wordpress.org/plugins/block-options/"><strong>Gutenberg Page Building Toolkit – EditorsKit</strong></a> Plugin – <strong>Blocks</strong> (Templates &amp; Fields for Gutenberg Blocks)</li>
72
+ <li><a href="https://wordpress.org/plugins/block-slider/"><strong>WordPress Slider Plugin – Block Slider</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
73
+ <li><a href="https://wordpress.org/plugins/coblocks/"><strong>Page Builder Gutenberg Blocks – CoBlocks</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
74
+ <li><a href="https://wordpress.org/plugins/editorskit/"><strong>Gutenberg Page Building Toolkit – EditorsKit</strong></a> Plugin – <strong>Blocks</strong> (Blocks tools to supercharge the Gutenberg editor)</li>
75
+ <li><a href="https://wordpress.org/plugins/editorplus/"><strong>Gutenberg Page Builder Toolkit – EditorPlus</strong></a> Plugin – <strong>EditorPlus</strong> (Toolkit and blocks for Gutenberg Blocks)</li>
76
+ <li><a href="https://wordpress.org/plugins/forms-gutenberg/"><strong>WordPress Form Builder Plugin – Gutenberg Forms</strong></a> Plugin – <strong>Blocks</strong> (Blocks &amp; Forms for Gutenberg Blocks)</li>
77
+ <li><a href="https://wordpress.org/plugins/getwid/"><strong>Getwid – Gutenberg Blocks</strong></a> Plugin – <strong>Blocks</strong> (Templates &amp; Blocks for Gutenberg Blocks)</li>
78
+ <li><a href="https://wordpress.org/plugins/gutentor/"><strong>Gutenberg Blocks – Gutentor Page Builder for Gutenberg Editor</strong></a> Plugin – <strong>Blocks</strong> (Gutenberg Blocks)</li>
79
+ <li><a href="https://wordpress.org/plugins/kadence-blocks/"><strong>Kadence Blocks – Gutenberg Page Builder Toolkit</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
80
+ <li><a href="https://wordpress.org/plugins/kioken-blocks/"><strong>Page Builder Gutenberg Blocks – Kioken Blocks</strong></a> Plugin – <strong>Blocks &amp; Templates</strong> (Blocks for Gutenberg Blocks)</li>
81
+ <li><a href="https://wordpress.org/plugins/otter-blocks/"><strong>Gutenberg Blocks and Template Library by Otter</strong></a> Plugin – <strong>Blocks &amp; Templates</strong> (Blocks and Templates for Gutenberg Blocks)</li>
82
+ <li><a href="https://wordpress.org/plugins/qubely/"><strong>Gutenberg Blocks and Page Builder – Qubely</strong></a> Plugin – <strong>Blocks &amp; Templates</strong> (Templates &amp; Blocks for Gutenberg Blocks)</li>
83
+ <li><a href="https://wordpress.org/plugins/qodeblock/"><strong>Gutenberg Blocks Collection – qodeblock</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
84
+ <li><a href="https://wordpress.org/plugins/stackable-ultimate-gutenberg-blocks/"><strong>Stackable – Page Builder Gutenberg Blocks</strong></a> Plugin – <strong>Blocks &amp; Templates</strong> (Templates &amp; Blocks for Gutenberg Blocks)</li>
85
+ <li><a href="https://wordpress.org/plugins/ultimate-blocks/"><strong>Ultimate Blocks – Gutenberg Blocks Plugin</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
86
+ <li><a href="https://wordpress.org/plugins/ultimate-addons-for-gutenberg/"><strong>Gutenberg Blocks – Ultimate Addons for Gutenberg</strong></a> Plugin – <strong>Blocks</strong> (Blocks for Gutenberg Blocks)</li>
87
+ </ul>
88
+
89
+ <h4>☀️ Supported Gutenberg-Specific Services / Websites</h4>
90
+ <ul>
91
+ <li><a href="https://gutenberghub.com/"><strong>GutenbergHub.com</strong></a> – <strong>GutenbergHub</strong> GutenbergHub is a one-stop resource for you need to work with Gutenberg WordPress editor.</li>
92
+ <li><a href="https://shareablock.com/"><strong>ShareABlock</strong></a> by EditorsKit – <strong>ShareABlock</strong> Community submitted free block designs and templates for Gutenberg</li>
93
+ </ul>
94
+
95
+ <h4>👍 BE A CONTRIBUTOR</h4>
96
+ If you want to translate, <a href="https://translate.wordpress.org/projects/wp-plugins/starterblocks">go to the Translation Portal at translate.wordpress.org</a>.
97
+
98
+ You can also contribute code-wise via our <a href="https://github.com/starterblocks/starterblocks/">GitHub Repository</a> – and see where you can help. Be sure to use our develop branch to submit pull requests.
99
+
100
+ <h4>📝 Documentation and Support</h4>
101
+ <ul>
102
+ <li>For more information about features, FAQs and documentation, check out our website at <a href="https://starterblocks.io/" rel="nofollow ugc">Redux</a>.</li>
103
+ <li>If you have any more questions, visit our support on the <a href="https://wordpress.org/support/plugin/starterblocks">Plugin's Forum</a>.</li>
104
+ </ul>
105
+
106
+ <h4>⚡ Like the Redux Plugin?</h4>
107
+ <ul>
108
+ <li>Follow us on <a href="https://www.facebook.com/reduxframework" rel="nofollow ugc">Facebook 💬</a></li>
109
+ <li><strong>Rate us 5 ⭐ stars</strong> on <a href="https://wordpress.org/support/plugin/redux-framework/reviews/?filter=5/#new-post">WordPress.org</a></li>
110
+ <li><a href="https://github.com/sponsors/dovy/" rel="nofollow ugc"><strong>Become a Sponsor</strong> 💜</a> and support ongoing development, maintenance and support of this plugin</li>
111
+ <li>Follow us on Twitter 🐦: <a href="https://twitter.com/reduxframework" rel="nofollow ugc">@ReduxFramework</a> and <a href="https://twitter.com/dovyp" rel="nofollow ugc">@DovyP</a></li>
112
+ </ul>
113
+
114
+ <h4>🔐 Privacy</h4>
115
+ Redux does not interact with end users on your website. Our templates will continue to work even if Redux is uninstalled. If a product is using Redux the option panel will cease to function without Redux.
116
+
117
+ Redux utilizes [AppSero](https://appsero.com/) for account management as well as to enable our premium offerings. You can find their privacy policy here: [https://appsero.com/privacy-policy/](https://appsero.com/privacy-policy/). Activation of Redux is not necessary, but additional features such as Google Font Updates and increased access to the template library will be limited.
118
+
119
+ The Redux plugin uses a custom API to fetch our content library and our Gutenberg templates. To improve the service and stability we store logs which may or may not contain the following:
120
+ <ul>
121
+ <li>browser type</li>
122
+ <li>referring site</li>
123
+ <li>date and time of request</li>
124
+ <li>template ID requested</li>
125
+ <li>date of cached version of the given API request</li>
126
+ <li>supported block plugins installed (slug only, no versions)</li>
127
+ <li>version of Redux installed</li>
128
+ <li>Redux API keys</li>
129
+ </ul>
130
+
131
+ API requests are only made when a user clicks on the Library button or click to launch the Redux challenge.
132
+
133
+ For more details on our privacy policy: [https://redux.io/privacy](https://redux.io/privacy)
134
+ For more details on on our terms and conditions: [https://redux.io/terms](https://redux.io/terms)
135
+
136
+ == Installation ==
137
+ 1. Upload the entire plugin folder to the `/wp-content/plugins/` directory.
138
+ 2. Activate the plugin through the 'Plugins' menu in WordPress.
139
+
140
+ Once Installed and Activated you will be invited to Activate your Redux account. This is entirely voluntary and can easily be dismissed.
141
+
142
+ If you want, you can use the [Gutenberg](https://wordpress.org/plugins/gutenberg/) plugin to get bleeding-edge experiments by the Gutenberg team.
143
+
144
+ == Screenshots ==
145
+
146
+ 1. With Redux you have access to hundreds of sections to help you create any type of page.
147
+ 2. Take the Redux challenge to learn your way around the Redux Templates Library.
148
+ 3. See instantly what required plugins each template requires on hover.
149
+ 4. Preview each template instantly in your own website.
150
+ 5. Template Kits give you full site templates, all grouped by a given style.
151
+ 6. Within each template kit you can see the full page template types.
152
+
153
+ == Changelog ==
154
+
155
+ = 4.1.12 =
156
+ * Fixed: Direct calls to ReduxFramework were causing unexpected errors.
157
+ * Fixed: JS error on .replace because opt_name wasn't found.
158
+ * Added: `FS_METHOD` define location, had to move lower in the stack.
159
+ * Release date: Aug 5, 2020
160
+
161
+ = 4.1.11 =
162
+ * Fixed: Templates JS not loading and conflicting with other plugins. Need to namespace or something.
163
+ * Added: `FS_METHOD` define method for environments where it is not properly defined.
164
+ * Release date: Aug 4, 2020
165
+
166
+ = 4.1.10 =
167
+ * Fixed: Minified templates directory now loads.
168
+ * Added: Shadow files from old repo to stop errors from previously included third-party developer includes.
169
+ * Release date: Aug 4, 2020
170
+
171
+ = 4.1.9 =
172
+ * Fixed: Compatibility issue when developers made custom panel templates. The opt_name wasn't fetched and thus saving broke.
173
+ * Release date: Aug 1, 2020
174
+
175
+ = 4.1.8 =
176
+ * Fixed: Map files are now all present.
177
+ * Fixed: Path fix for how developers called the typography file directory.
178
+ * Release date: Aug 1, 2020
179
+
180
+ = 4.1.7 =
181
+ * Fixed: Issue with sortable in text mode not properly passing the name attribute and thus not saving properly.
182
+ * Fixed: Compatibility with old extension names to not crash other plugins.
183
+ * Release date: July 31, 2020
184
+
185
+ = 4.1.6 =
186
+ * Fixed: Issue with customizer double loading the PHP classes and causing an exception.
187
+ * Fixed: Chanced a class name as to not conflict with a 6+ year old version of Redux.
188
+ * Release date: July 30, 2020
189
+
190
+ = 4.1.5 =
191
+ * Fixed: Google fonts not working when old configs used string vs an array for output.
192
+ * Release date: July 30, 2020
193
+
194
+ = 4.1.4 =
195
+ * Fixed: Google fonts loading over non-secure breaks fonts. Forced all SSL for Google fonts. :)
196
+ * Release date: July 30, 2020
197
+
198
+ = 4.1.3 =
199
+ * Fixed: Issue where theme devs tried to bypass the framework. Literally I made an empty file to fix their coding. :P
200
+ * Release date: July 29, 2020
201
+
202
+ = 4.1.2 =
203
+ * Fixed: Don't try to set empty defaults when none are present.
204
+ * Fixed: Issue where the WP Data argument was misused.
205
+ * Release date: July 29, 2020
206
+
207
+ = 4.1.1 =
208
+ * Fixed: CSS decode when esc_attr replaces the HTML characters and CSS outputs are set with >'s.
209
+ * Release date: July 29, 2020
210
+
211
+ = 4.1.0 =
212
+ * Fixed: Compatibility with certain themes using the deprecated $_is_plugin variable.
213
+ * Release date: July 29, 2020
214
+
215
+ = 4.0.9 =
216
+ * Fixed: Complete compatibility fix for older Redux extensions.
217
+ * Release date: July 28, 2020
218
+
219
+ = 4.0.8 =
220
+ * Fixed: Initial library load was failing on some server setups.
221
+ * Release date: July 28, 2020
222
+
223
+ = 4.0.7 =
224
+ * Fixed: Race condition for PHP include for Redux_Typography causing blank white screens.
225
+ * Release date: July 28, 2020
226
+
227
+ = 4.0.5 =
228
+ * Fixed: Issues where the site crashes because of varied ways Redux was called.
229
+ * Fixed: Varied implementations of opt_names resulting in option panels not working as expected.
230
+ * Release date: July 28, 2020
231
+
232
+ = 4.0.4 =
233
+ * Release date: July 24, 2020
234
+
235
+ == Frequently Asked Questions ==
236
+
237
+ = Who should use the Redux Block Library for Gutenberg? =
238
+
239
+ The Redux Block Library for Gutenberg is a complete package of unique and creative templates that will help you build beautiful pages and posts on a website. It is of value for everyone and for all who love Gutenberg.
240
+
241
+ = What are the requirements to use the Redux Library for Gutenberg? =
242
+
243
+ You only need to have the latest version of WordPress on your website, to begin with. Redux is for Gutenberg is basically an addon for the default WordPress block editor. Therefore, the latest WordPress installation along with a theme should be enough, to begin with.
244
+
245
+ = What themes does Redux Library for Gutenberg work with? =
246
+
247
+ Redux is built to work wonderfully with all themes.
248
+
249
+ = Can I use Redux for Gutenberg even while having another Page Builder? =
250
+
251
+ The basic need or requirement for Redux for Gutenberg is the latest WordPress version. Should you need help, you can <a href="https://starterblocks.io/support/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme" target="_blank" rel="">get in touch with us.</a>
252
+
253
+ = Can I use Redux for Gutenberg on client websites? =
254
+
255
+ Yes! You can certainly use Redux on yours as well as your client's websites.
256
+
257
+ = Will Redux slow down my website? =
258
+
259
+ Absolutely not! The Redux Library for Gutenberg plugin is built with ease and performance in mind. Its module architecture and the clean code keep it extremely fast. Every performance issue that seems to be coming from Redux is actually the integration code of third-party developers. If you're having issues let us know and we'll try to help you out.
redux-core/assets/js/redux.js CHANGED
@@ -705,7 +705,9 @@ function colorNameToHex( colour ) {
705
  optName = $( '.redux-ajax-security' ).data( 'opt-name' );
706
  }
707
  }
708
-
 
 
709
  return optName;
710
  };
711
  })( jQuery );
705
  optName = $( '.redux-ajax-security' ).data( 'opt-name' );
706
  }
707
  }
708
+ if ( undefined === optName ) {
709
+ optName = $( el ).find( '.redux-form-wrapper' ).data( 'opt-name' );
710
+ }
711
  return optName;
712
  };
713
  })( jQuery );
redux-core/assets/js/redux.min.js CHANGED
@@ -1 +1 @@
1
- function colorValidate(e){"use strict";var r=jQuery(e).val(),t=colorNameToHex(r);return t!==r.replace("#","")?t:r}function colorNameToHex(e){"use strict";var r=e.replace(/^\s\s*/,"").replace(/\s\s*$/,"").replace("#",""),t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c","indigo ":"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",redux:"#01a3e3",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return"undefined"!==t[r.toLowerCase()]?t[r.toLowerCase()]:e}!function(s){"use strict";s.redux=s.redux||{},s.redux.ajax_save=function(r){var t,e,a=s(document.getElementById("redux_ajax_overlay")),i=s(document.getElementById("redux_notification_bar")),n=s(r).parents(".redux-wrap-div").find("form").first();return a.fadeIn(),s(".redux-action_bar .spinner").addClass("is-active"),s(".redux-action_bar input").attr("disabled","disabled"),i.slideUp(),s(".redux-save-warn").slideUp(),s(".redux_ajax_save_error").slideUp("medium",function(){s(this).remove()}),redux.optName.hasOwnProperty("editor")&&s.each(redux.optName.editor,function(e){var r;"undefined"!=typeof tinyMCE&&(r=tinyMCE.get(e))&&r.save()}),t=n.serialize(),n.find("input[type=checkbox]").each(function(){var e;void 0!==s(this).attr("name")&&(e=s(this).is(":checked")?s(this).val():"0",t+="&"+s(this).attr("name")+"="+e)}),"redux_save"!==r.attr("name")&&(t+="&"+r.attr("name")+"="+r.val()),e=n.attr("data-nonce"),s.ajax({type:"post",dataType:"json",url:ajaxurl,data:{action:redux.optName.args.opt_name+"_ajax_save",nonce:e,opt_name:redux.optName.args.opt_name,data:t},error:function(e){s(".redux-action_bar input").removeAttr("disabled"),!0===redux.optName.args.dev_mode?(console.log(e.responseText),a.fadeOut("fast"),s(".redux-action_bar .spinner").removeClass("is-active"),alert(redux.optName.ajax.alert)):(redux.optName.optName.args.ajax_save=!1,s(r).click(),s(".redux-action_bar input").attr("disabled","disabled"))},success:function(e){var r;e.action&&"reload"===e.action?location.reload(!0):"success"===e.status?(s(".redux-action_bar input").removeAttr("disabled"),a.fadeOut("fast"),s(".redux-action_bar .spinner").removeClass("is-active"),redux.optName.options=e.options,redux.optName.errors=e.errors,redux.optName.warnings=e.warnings,redux.optName.sanitize=e.sanitize,i.html(e.notification_bar).slideDown("fast"),null===e.errors&&null===e.warnings||s.redux.notices(),null!==e.sanitize&&s.redux.sanitize(),(r=s(document.getElementById("redux_notification_bar")).find(".saved_notice")).slideDown(),r.delay(4e3).slideUp()):(s(".redux-action_bar input").removeAttr("disabled"),s(".redux-action_bar .spinner").removeClass("is-active"),a.fadeOut("fast"),s(".wrap h2:first").parent().append('<div class="error redux_ajax_save_error" style="display:none;"><p>'+e.status+"</p></div>"),s(".redux_ajax_save_error").slideDown(),s("html, body").animate({scrollTop:0},"slow"))}}),!1}}(jQuery),function(i){"use strict";i.redux=i.redux||{},i.redux.expandOptions=function(e){var r=e.find(".expand_options"),t=e.find(".redux-sidebar").width()-1,a=i(".redux-group-menu .active a").data("rel")+"_section_group";return r.hasClass("expanded")?(r.removeClass("expanded"),e.find(".redux-main").removeClass("expand"),e.find(".redux-sidebar").stop().animate({"margin-left":"0px"},500),e.find(".redux-main").stop().animate({"margin-left":t},500,function(){e.find(".redux-main").attr("style","")}),e.find(".redux-group-tab").each(function(){i(this).attr("id")!==a&&i(this).fadeOut("fast")})):(r.addClass("expanded"),e.find(".redux-main").addClass("expand"),e.find(".redux-sidebar").stop().animate({"margin-left":-t-113},500),e.find(".redux-main").stop().animate({"margin-left":"-1px"},500),e.find(".redux-group-tab").fadeIn("medium",function(){i.redux.initFields()})),!1}}(jQuery),function(i){"use strict";i.redux=i.redux||{},i.redux.initEvents=function(a){var e;a.find(".redux-presets-bar").on("click",function(){window.onbeforeunload=null}),a.find("#customize-save-button-wrapper #save").on("click",function(){}),a.find("#toplevel_page_"+redux.optName.args.slug+" .wp-submenu a, #wp-admin-bar-"+redux.optName.args.slug+" a.ab-item").click(function(e){var r;if((a.find("#toplevel_page_"+redux.optName.args.slug).hasClass("wp-menu-open")||i(this).hasClass("ab-item"))&&!i(this).parents("ul.ab-submenu:first").hasClass("ab-sub-secondary")&&0<=i(this).attr("href").toLowerCase().indexOf(redux.optName.args.slug+"&tab="))return r=i(this).attr("href").split("&tab="),e.preventDefault(),a.find("#"+r[1]+"_section_group_li_a").click(),i(this).parents("ul:first").find(".current").removeClass("current"),i(this).addClass("current"),i(this).parent().addClass("current"),!1}),a.find(".redux-action_bar input, #redux-import-action input").on("click",function(e){if(i(this).attr("name")===redux.optName.args.opt_name+"[defaults]"){if(!confirm(redux.optName.args.reset_confirm))return!1}else if(i(this).attr("name")===redux.optName.args.opt_name+"[defaults-section]"){if(!confirm(redux.optName.args.reset_section_confirm))return!1}else if("import"===i(this).attr("name")&&!confirm(redux.optName.args.import_section_confirm))return!1;!(window.onbeforeunload=null)===redux.optName.args.ajax_save?(i.redux.ajax_save(i(this)),e.preventDefault()):location.reload(!0)}),i(".expand_options").click(function(e){var r,t=a;return e.preventDefault(),i(t).hasClass("fully-expanded")&&(i(t).removeClass("fully-expanded"),r=i.cookie("redux_current_tab_"+redux.optName.args.opt_name),a.find("#"+r+"_section_group").fadeIn(200,function(){0!==a.find("#redux-footer").length&&i.redux.stickyInfo(),i.redux.initFields()})),i.redux.expandOptions(i(this).parents(".redux-container:first")),!1}),a.find(".saved_notice").is(":visible")&&a.find(".saved_notice").slideDown(),i(document.body).on("change",".redux-field input, .redux-field textarea, .redux-field select",function(){i(".redux-container-typography select").hasClass("ignore-change")||i(this).hasClass("noUpdate")||i(this).hasClass("no-update")||redux_change(i(this))}),e=a.find("#redux-footer").height(),a.find("#redux-sticky-padder").css({height:e}),a.find("#redux-footer-sticky").removeClass("hide"),0!==a.find("#redux-footer").length&&(i(window).scroll(function(){i.redux.stickyInfo()}),i(window).resize(function(){i.redux.stickyInfo()})),a.find(".saved_notice").delay(4e3).slideUp()}}(jQuery),function(t){"use strict";t.redux=t.redux||{},t.redux.initFields=function(){t(".redux-group-tab:visible").find(".redux-field-init:visible").each(function(){var e,r=t(this).attr("data-type");void 0!==redux.field_objects&&redux.field_objects[r]&&redux.field_objects[r]&&redux.field_objects[r].init(),void 0!==redux.field_objects.pro&&!t.isEmptyObject(redux.field_objects.pro[r])&&redux.field_objects.pro[r]&&redux.field_objects.pro[r].init(),!redux.customizer&&t(this).hasClass("redux_remove_th")&&((e=t(this).parents("tr:first").find("th:first")).html()&&0<e.html().length&&(t(this).prepend(e.html()),t(this).find(".redux_field_th").css("padding","0 0 10px 0")),t(this).parent().attr("colspan","2"),e.remove())})}}(jQuery),function(a){"use strict";a.redux=a.redux||{},a(document).ready(function(){var e,r=[];a.fn.isOnScreen=function(){var e,r,t;if(window)return(r={top:(e=a(window)).scrollTop()}).right=r.left+e.width(),r.bottom=r.top+e.height(),(t=this.offset()).right=t.left+this.outerWidth(),t.bottom=t.top+this.outerHeight(),!(r.right<t.left||r.left>t.right||r.bottom<t.top||r.top>t.bottom)},a("fieldset.redux-container-divide").css("display","none"),a("body").hasClass("wp-customizer")&&a(".wp-full-overlay-sidebar").addClass("redux-container"),a(".redux-container").each(function(){e=a.redux.getOptName(this),-1===a.inArray(e,r)&&(r.push(e),redux.optName=window["redux_"+e.replace("-","_")],a.redux.checkRequired(a(this)),a.redux.initEvents(a(this)))}),a(".redux-container").on("click",function(){e=a.redux.getOptName(this),redux.optName=window["redux_"+e.replace("-","_")]}),void 0!==redux.optName&&(a.redux.disableFields(),a.redux.hideFields(),a.redux.disableSections(),a.redux.initQtip(),a.redux.tabCheck(),a.redux.notices())}),a.redux.disableSections=function(){a(".redux-group-tab").each(function(){a(this).hasClass("disabled")&&a(this).find("input, select, textarea").attr("name","")})},a.redux.disableFields=function(){a('label[for="redux_disable_field"]').each(function(){a(this).parents("tr").find("fieldset:first").find("input, select, textarea").attr("name","")})},a.redux.hideFields=function(){a('label[for="redux_hide_field"]').each(function(){var e=a(this).parent().parent();a(e).addClass("hidden")})},a.redux.getOptName=function(e){var r,t=a(e).parents(".redux-wrap-div").data("opt-name");return void 0===t&&(0===(r=a(e).parents(".postbox")).length&&(r=a(e).parents(".redux-metabox")),a("body").hasClass("wp-customizer")?t=a(".panel-meta.customize-info.redux-panel.accordion-section").data("opt-name"):0!==r.length?void 0===(t=r.attr("id").replace("redux-","").split("-metabox-")[0])&&(t=r.attr("class").replace("redux-metabox","").replace("postbox","").replace("redux-","").replace("hide","").replace("closed","").trim()):t=a(".redux-ajax-security").data("opt-name")),t}}(jQuery),function(n){"use strict";n.redux=n.redux||{},n.redux.sanitize=function(){redux.optName.sanitize&&redux.optName.sanitize.sanitize&&n.each(redux.optName.sanitize.sanitize,function(e,r){n.each(r.sanitize,function(e,r){n.redux.fixInput(e,r)})})},n.redux.fixInput=function(e,r){var t,a,i;if("multi_text"===r.type)return i=n("#"+r.id+"-ul"),void n(i.find("li")).each(function(){a=n(this).find("input"),a.val()===r.old&&a.val(r.current)});0===(a=n("input#"+r.id+"-"+e)).length&&(a=n("input#"+r.id)),0===a.length&&(a=n("textarea#"+r.id+"-textarea")),0<a.length&&(t=""===r.current?r.default:r.current,n(a).val(t))},n.redux.notices=function(){redux.optName.errors&&redux.optName.errors.errors&&(n.each(redux.optName.errors.errors,function(e,r){n.each(r.errors,function(e,r){n("#"+redux.optName.args.opt_name+"-"+r.id).addClass("redux-field-error"),0===n("#"+redux.optName.args.opt_name+"-"+r.id).parent().find(".redux-th-error").length?n("#"+redux.optName.args.opt_name+"-"+r.id).append('<div class="redux-th-error">'+r.msg+"</div>"):n("#"+redux.optName.args.opt_name+"-"+r.id).parent().find(".redux-th-error").html(r.msg).css("display","block"),n.redux.fixInput(e,r)})}),n(".redux-container").each(function(){var e,a=n(this);a.find(".redux-menu-error").remove(),0<(e=a.find(".redux-field-error").length)&&(a.find(".redux-field-errors span").text(e),a.find(".redux-field-errors").slideDown(),a.find(".redux-group-tab").each(function(){var e,r,t=n(this).find(".redux-field-error").length;0<t&&(e=n(this).attr("id").split("_")[0],a.find('.redux-group-tab-link-a[data-key="'+e+'"]').prepend('<span class="redux-menu-error">'+t+"</span>"),a.find('.redux-group-tab-link-a[data-key="'+e+'"]').addClass("hasError"),(r=a.find('.redux-group-tab-link-a[data-key="'+e+'"]').parents(".hasSubSections:first"))&&r.find(".redux-group-tab-link-a:first").addClass("hasError"))}))})),redux.optName.warnings&&redux.optName.warnings.warnings&&(n.each(redux.optName.warnings.warnings,function(e,r){n.each(r.warnings,function(e,r){n("#"+redux.optName.args.opt_name+"-"+r.id).addClass("redux-field-warning"),0===n("#"+redux.optName.args.opt_name+"-"+r.id).parent().find(".redux-th-warning").length?n("#"+redux.optName.args.opt_name+"-"+r.id).append('<div class="redux-th-warning">'+r.msg+"</div>"):n("#"+redux.optName.args.opt_name+"-"+r.id).parent().find(".redux-th-warning").html(r.msg).css("display","block"),n.redux.fixInput(e,r)})}),n(".redux-container").each(function(){var e,r,t,a,i=n(this);i.find(".redux-menu-warning").remove(),0<(a=i.find(".redux-field-warning").length)&&(i.find(".redux-field-warnings span").text(a),i.find(".redux-field-warnings").slideDown(),i.find(".redux-group-tab").each(function(){0<(t=n(this).find(".redux-field-warning").length)&&(e=n(this).attr("id").split("_")[0],i.find('.redux-group-tab-link-a[data-key="'+e+'"]').prepend('<span class="redux-menu-warning">'+t+"</span>"),i.find('.redux-group-tab-link-a[data-key="'+e+'"]').addClass("hasWarning"),(r=i.find('.redux-group-tab-link-a[data-key="'+e+'"]').parents(".hasSubSections:first"))&&r.find(".redux-group-tab-link-a:first").addClass("hasWarning"))}))}))}}(jQuery),function(_){"use strict";_.redux=_.redux||{},_.redux.initQtip=function(){var e,r="",t=redux.optName.args.hints.tip_style.shadow,a="",i=redux.optName.args.hints.tip_style.color,n="",s=redux.optName.args.hints.tip_style.rounded,d="",o=redux.optName.args.hints.tip_style.style,u=redux.optName.args.hints.tip_position.my,l=redux.optName.args.hints.tip_position.at,c=redux.optName.args.hints.tip_effect.show.event,f=redux.optName.args.hints.tip_effect.hide.event,p=redux.optName.args.hints.tip_effect.show.effect,x=redux.optName.args.hints.tip_effect.show.duration,h=redux.optName.args.hints.tip_effect.hide.effect,m=redux.optName.args.hints.tip_effect.hide.duration;_().qtip&&(!0===t&&(r="qtip-shadow"),""!==i&&(a="qtip-"+i),!0===s&&(n="qtip-rounded"),""!==o&&(d="qtip-"+o),e=(e=r+","+a+","+n+","+d+",redux-qtip").replace(/,/g," "),u=_.redux.verifyPos(u.toLowerCase(),!0),l=_.redux.verifyPos(l.toLowerCase(),!1),_("div.redux-dev-qtip").each(function(){_(this).qtip({content:{text:_(this).attr("qtip-content"),title:_(this).attr("qtip-title")},show:{effect:function(){_(this).slideDown(500)},event:"mouseover"},hide:{effect:function(){_(this).slideUp(500)},event:"mouseleave"},style:{classes:"qtip-shadow qtip-light"},position:{my:"top center",at:"bottom center"}})}),_("div.redux-hint-qtip").each(function(){_(this).qtip({content:{text:_(this).attr("qtip-content"),title:_(this).attr("qtip-title")},show:{effect:function(){switch(p){case"slide":_(this).slideDown(x);break;case"fade":_(this).fadeIn(x);break;default:_(this).show()}},event:c},hide:{effect:function(){switch(h){case"slide":_(this).slideUp(m);break;case"fade":_(this).fadeOut(m);break;default:_(this).hide(m)}},event:f},style:{classes:e},position:{my:u,at:l}})}),_("input[qtip-content]").each(function(){_(this).qtip({content:{text:_(this).attr("qtip-content"),title:_(this).attr("qtip-title")},show:"focus",hide:"blur",style:e,position:{my:u,at:l}})}))},_.redux.verifyPos=function(e,r){var t,a,i;return""===(e=e.replace(/^\s+|\s+$/gm,""))||-1===e.search(" ")?!0===r?"top left":"bottom right":(a=r?"top":"bottom","top"!==(t=e.split(" "))[0]&&"center"!==t[0]&&"bottom"!==t[0]||(a=t[0]),i=r?"left":"right","left"!==t[1]&&"center"!==t[1]&&"right"!==t[1]||(i=t[1]),a+" "+i)}}(jQuery);var confirmOnPageExit=function(e){"use strict";var r;return e=e||window.event,r=redux.optName.args.save_pending,e&&(e.returnValue=r),window.onbeforeunload=null,r};function redux_change(e){"use strict";var r,t,a,i,n,s,d,o,u,l,c;r=jQuery,e=r(e),t=r(e).parents(".redux-container:first"),a=r("body").hasClass("wp-customizer")?r(".panel-meta.customize-info.redux-panel.accordion-section").data("opt-name"):r.redux.getOptName(t),redux.optName=window["redux_"+a.replace("-","_")],r("body").trigger("check_dependencies",e),e.hasClass("compiler")&&r("#redux-compiler-hook").val(1),n=(i=r(e).closest(".redux-group-tab").attr("id")).split("_")[0],s=t.find('.redux-group-tab-link-a[data-key="'+n+'"]').parents(".redux-group-tab-link-li:first"),d=r("#"+i+"_li").parents(".hasSubSections:first"),r(e).parents("fieldset.redux-field:first").hasClass("redux-field-error")&&(r(e).parents("fieldset.redux-field:first").removeClass("redux-field-error"),r(e).parent().find(".redux-th-error").slideUp(),(o=parseInt(t.find(".redux-field-errors span").text(),0)-1)<=0?(r("#"+i+"_li .redux-menu-error").fadeOut("fast").remove(),r("#"+i+"_li .redux-group-tab-link-a").removeClass("hasError"),r("#"+i+"_li").parents(".inside:first").find(".redux-field-errors").slideUp(),r(e).parents(".redux-container:first").find(".redux-field-errors").slideUp(),r("#redux_metaboxes_errors").slideUp()):((u=parseInt(s.find(".redux-menu-error:first").text(),0)-1)<=0?s.find(".redux-menu-error:first").fadeOut().remove():s.find(".redux-menu-error:first").text(u),t.find(".redux-field-errors span").text(o)),0!==d.length&&0===d.find(".redux-menu-error").length&&d.find(".hasError").removeClass("hasError")),r(e).parents("fieldset.redux-field:first").hasClass("redux-field-warning")&&(r(e).parents("fieldset.redux-field:first").removeClass("redux-field-warning"),r(e).parent().find(".redux-th-warning").slideUp(),(l=parseInt(t.find(".redux-field-warnings span").text(),0)-1)<=0?(r("#"+i+"_li .redux-menu-warning").fadeOut("fast").remove(),r("#"+i+"_li .redux-group-tab-link-a").removeClass("hasWarning"),r("#"+i+"_li").parents(".inside:first").find(".redux-field-warnings").slideUp(),r(e).parents(".redux-container:first").find(".redux-field-warnings").slideUp(),r("#redux_metaboxes_warnings").slideUp()):((c=parseInt(s.find(".redux-menu-warning:first").text(),0)-1)<=0?s.find(".redux-menu-warning:first").fadeOut().remove():s.find(".redux-menu-warning:first").text(c),t.find(".redux-field-warning span").text(l)),0!==d.length&&0===d.find(".redux-menu-warning").length&&d.find(".hasWarning").removeClass("hasWarning")),0<t.find(".saved_notice:visible").length||redux.optName.args.disable_save_warn||(t.find(".redux-save-warn").slideDown(),window.onbeforeunload=confirmOnPageExit)}function redux_hook(e,r,t,a){"use strict";var i;i=e[r],e[r]=function(){var e;return!0===a&&t.apply(this,[e,i,arguments]),e=i.apply(this,arguments),!0!==a&&t.apply(this,[e,i,arguments]),e}}!function(o){"use strict";o.redux=o.redux||{},o.redux.makeBoolStr=function(e){return"false"===e||!1===e||"0"===e||0===e||null===e||""===e?"false":"true"===e||!0===e||"1"===e||1===e?"true":e},o.redux.checkRequired=function(e){o.redux.required(),o("body").on("change",".redux-main select, .redux-main radio, .redux-main input[type=checkbox], .redux-main input[type=hidden]",function(){o.redux.check_dependencies(this)}),o("body").on("check_dependencies",function(e,r){o.redux.check_dependencies(r)}),redux.customizer&&e.find(".customize-control.redux-field.hide").hide(),e.find(".redux-container td > fieldset:empty,td > div:empty").parent().parent().hide()},o.redux.required=function(){o.each(redux.optName.folds,function(e,r){var t,a=o("#"+redux.optName.args.opt_name+"-"+e);a.parents("tr:first, li:first").addClass("fold"),"hide"===r&&(a.parents("tr:first, li:first").addClass("hide"),a.hasClass("redux-container-section")&&(t=o("#section-"+e)).hasClass("redux-section-indent-start")&&(o("#section-table-"+e).hide().addClass("hide"),t.hide().addClass("hide")),a.hasClass("redux-container-info")&&o("#info-"+e).hide().addClass("hide"),a.hasClass("redux-container-divide")&&o("#divide-"+e).hide().addClass("hide"),a.hasClass("redux-container-raw")&&a.parents().find("table#"+redux.optName.args.opt_name+"-"+e).hide().addClass("hide"))})},o.redux.getContainerValue=function(e){var r=o("#"+redux.optName.args.opt_name+"-"+e).serializeForm();return null!==r&&"object"==typeof r&&r.hasOwnProperty(redux.optName.args.opt_name)&&(r=r[redux.optName.args.opt_name][e]),o("#"+redux.optName.args.opt_name+"-"+e).hasClass("redux-container-media")&&(r=r.url),r},o.redux.check_dependencies=function(e){var r,t,a,s;null!==redux.optName.required&&(t=(r=o(e)).parents(".redux-field:first").data("id"),redux.optName.required.hasOwnProperty(t)&&(a=r.parents(".redux-field-container:first"),s=a.parents("tr:first").hasClass("hide"),a.parents("tr:first").length||(s=a.parents(".customize-control:first").hasClass("hide")),o.each(redux.optName.required[t],function(e){var r,t=o(this),a=!1,i=o("#"+redux.optName.args.opt_name+"-"+e),n=i.parents("tr:first");0===n.length&&(n=i.parents("li:first")),s||(a=o.redux.check_parents_dependencies(e)),!0===a?(i.hasClass("redux-container-section")&&(r=o("#section-"+e)).hasClass("redux-section-indent-start")&&r.hasClass("hide")&&(o("#section-table-"+e).fadeIn(300).removeClass("hide"),r.fadeIn(300).removeClass("hide")),i.hasClass("redux-container-info")&&o("#info-"+e).fadeIn(300).removeClass("hide"),i.hasClass("redux-container-divide")&&o("#divide-"+e).fadeIn(300).removeClass("hide"),i.hasClass("redux-container-raw")&&i.parents().find("table#"+redux.optName.args.opt_name+"-"+e).fadeIn(300).removeClass("hide"),n.fadeIn(300,function(){o(this).removeClass("hide"),redux.optName.required.hasOwnProperty(e)&&o.redux.check_dependencies(o("#"+redux.optName.args.opt_name+"-"+e).children().first()),o.redux.initFields()}),(i.hasClass("redux-container-section")||i.hasClass("redux-container-info"))&&n.css({display:"none"})):!1===a&&n.fadeOut(100,function(){o(this).addClass("hide"),redux.optName.required.hasOwnProperty(e)&&o.redux.required_recursive_hide(e)}),t.find("select, radio, input[type=checkbox]").trigger("change")})))},o.redux.required_recursive_hide=function(e){var r,t=o("#"+redux.optName.args.opt_name+"-"+e).parents("tr:first");0===t&&(t=o("#"+redux.optName.args.opt_name+"-"+e).parents("li:first")),t.fadeOut(50,function(){o(this).addClass("hide"),o("#"+redux.optName.args.opt_name+"-"+e).hasClass("redux-container-section")&&(r=o("#section-"+e)).hasClass("redux-section-indent-start")&&(o("#section-table-"+e).fadeOut(50).addClass("hide"),r.fadeOut(50).addClass("hide")),o("#"+redux.optName.args.opt_name+"-"+e).hasClass("redux-container-info")&&o("#info-"+e).fadeOut(50).addClass("hide"),o("#"+redux.optName.args.opt_name+"-"+e).hasClass("redux-container-divide")&&o("#divide-"+e).fadeOut(50).addClass("hide"),o("#"+redux.optName.args.opt_name+"-"+e).hasClass("redux-container-raw")&&o("#"+redux.optName.args.opt_name+"-"+e).parents().find("table#"+redux.optName.args.opt_name+"-"+e).fadeOut(50).addClass("hide"),redux.optName.required.hasOwnProperty(e)&&o.each(redux.optName.required[e],function(e){o.redux.required_recursive_hide(e)})})},o.redux.check_parents_dependencies=function(e){var a="";return redux.optName.required_child.hasOwnProperty(e)?o.each(redux.optName.required_child[e],function(e,r){var t;o("#"+redux.optName.args.opt_name+"-"+r.parent).parents("tr:first").hasClass("hide")||o("#"+redux.optName.args.opt_name+"-"+r.parent).parents("li:first").hasClass("hide")?a=!1:!1!==a&&(t=o.redux.getContainerValue(r.parent),a=o.redux.check_dependencies_visibility(t,r))}):a=!0,a},o.redux.check_dependencies_visibility=function(t,e){var r,d=!1,a=e.checkValue,i=e.operation;switch(o.isPlainObject(t)&&(t=Object.keys(t).map(function(e){return[e,t[e]]})),i){case"=":case"equals":o.isArray(t)?o(t[0]).each(function(e,t){if(o.isArray(a))o(a).each(function(e,r){if(o.redux.makeBoolStr(t)===o.redux.makeBoolStr(r))return d=!0});else if(o.redux.makeBoolStr(t)===o.redux.makeBoolStr(a))return d=!0}):o.isArray(a)?o(a).each(function(e,r){o.redux.makeBoolStr(t)===o.redux.makeBoolStr(r)&&(d=!0)}):o.redux.makeBoolStr(t)===o.redux.makeBoolStr(a)&&(d=!0);break;case"!=":case"not":o.isArray(t)?o(t[0]).each(function(e,t){if(o.isArray(a))o(a).each(function(e,r){if(o.redux.makeBoolStr(t)!==o.redux.makeBoolStr(r))return d=!0});else if(o.redux.makeBoolStr(t)!==o.redux.makeBoolStr(a))return d=!0}):o.isArray(a)?o(a).each(function(e,r){o.redux.makeBoolStr(t)!==o.redux.makeBoolStr(r)&&(d=!0)}):o.redux.makeBoolStr(t)!==o.redux.makeBoolStr(a)&&(d=!0);break;case">":case"greater":case"is_larger":parseFloat(t)>parseFloat(a)&&(d=!0);break;case">=":case"greater_equal":case"is_larger_equal":parseFloat(t)>=parseFloat(a)&&(d=!0);break;case"<":case"less":case"is_smaller":parseFloat(t)<parseFloat(a)&&(d=!0);break;case"<=":case"less_equal":case"is_smaller_equal":parseFloat(t)<=parseFloat(a)&&(d=!0);break;case"contains":o.isPlainObject(t)&&(t=Object.keys(t).map(function(e){return[e,t[e]]})),o.isPlainObject(a)&&(a=Object.keys(a).map(function(e){return[e,a[e]]})),o.isArray(a)?o(a).each(function(e,r){var i=!1,n=r[0],s=r[1];if(o(t).each(function(e,r){var t=r[0],a=r[1];if(n===t&&s===a)return!(i=d=!0)}),!0===i)return!1}):-1!==t.toString().indexOf(a)&&(d=!0);break;case"doesnt_contain":case"not_contain":o.isPlainObject(t)&&(r=Object.keys(t).map(function(e){return t[e]}),t=r),o.isPlainObject(a)&&(r=Object.keys(a).map(function(e){return a[e]}),a=r),o.isArray(a)?o(a).each(function(e,r){-1===t.toString().indexOf(r)&&(d=!0)}):-1===t.toString().indexOf(a)&&(d=!0);break;case"is_empty_or":""!==t&&a!==t||(d=!0);break;case"not_empty_and":""!==t&&a!==t&&(d=!0);break;case"is_empty":case"empty":case"!isset":t&&""!==t&&null!==t||(d=!0);break;case"not_empty":case"!empty":case"isset":t&&""!==t&&null!==t&&(d=!0)}return d}}(jQuery),function(t){"use strict";t.redux=t.redux||{},t.redux.stickyInfo=function(){var e=t(".redux-main").innerWidth()-20,r=t("#redux-sticky").offset().left;t(".redux-save-warn").css("left",r+"px"),t("#info_bar").isOnScreen()||t("#redux-footer-sticky").isOnScreen()?(t("#redux-footer").css({background:"#eee",position:"inherit",bottom:"inherit",width:"inherit"}),t("#redux-sticky-padder").hide(),t("#redux-footer").removeClass("sticky-footer-fixed")):(t("#redux-footer").css({position:"fixed",bottom:"0",width:e,right:21}),t("#redux-footer").addClass("sticky-footer-fixed"),t("#redux-sticky-padder").show()),t("#info_bar").isOnScreen()?t("#redux-sticky").removeClass("sticky-save-warn"):t("#redux-sticky").addClass("sticky-save-warn")}}(jQuery),function(c){"use strict";c.redux=c.redux||{},c.redux.tabCheck=function(){var u,e,r,t,l;c(".redux-group-tab-link-a").click(function(){var e,r,t,a,i,n,s,d,o;(u=c(this)).parent().hasClass("empty_section")&&u.parent().hasClass("hasSubSections")&&(r=(e=c(this).closest("ul").find(".redux-group-tab-link-a")).index(this),u=e.slice(r+1,r+2)),t=u.parents(".redux-container:first"),a=u.data("rel"),i=t.find(".redux-group-tab-link-li.active:first .redux-group-tab-link-a").data("rel"),l=c.redux.getOptName(t),redux.optName=window["redux_"+l.replace("-","_")],i!==a&&(n="",u.parents(".postbox-container:first").length?(t.prev("#currentSection").val(a),""!==(s=t.data("index"))&&(n="redux_metabox_"+s+"_current_tab_"+redux.optName.args.opt_name)):(c("#currentSection").val(a),n="redux_current_tab_"+redux.optName.args.opt_name),c.cookie(n,a,{expires:7,path:"/"}),t.find("#"+a+"_section_group_li").parents(".redux-group-tab-link-li").length&&(d=(d=t.find("#"+a+"_section_group_li").parents(".redux-group-tab-link-li").attr("id").split("_"))[0]),t.find("#toplevel_page_"+redux.optName.args.slug+" .wp-submenu a.current").removeClass("current"),t.find("#toplevel_page_"+redux.optName.args.slug+" .wp-submenu li.current").removeClass("current"),t.find("#toplevel_page_"+redux.optName.args.slug+" .wp-submenu a").each(function(){var e=c(this).attr("href").split("&tab=");e[1]!==a&&e[1]!==d||(c(this).addClass("current"),c(this).parent().addClass("current"))}),t.find("#"+i+"_section_group_li").find("#"+i+"_section_group_li").length?(t.find("#"+i+"_section_group_li").addClass("activeChild"),t.find("#"+a+"_section_group_li").addClass("active").removeClass("activeChild")):t.find("#"+a+"_section_group_li").parents("#"+i+"_section_group_li").length||t.find("#"+i+"_section_group_li").parents("ul.subsection").find("#"+a+"_section_group_li").length?(t.find("#"+a+"_section_group_li").parents("#"+i+"_section_group_li").length?t.find("#"+i+"_section_group_li").addClass("activeChild").removeClass("active"):(t.find("#"+a+"_section_group_li").addClass("active"),t.find("#"+i+"_section_group_li").removeClass("active")),t.find("#"+a+"_section_group_li").removeClass("activeChild").addClass("active")):(setTimeout(function(){t.find("#"+a+"_section_group_li").addClass("active").removeClass("activeChild").find("ul.subsection").slideDown()},1),t.find("#"+i+"_section_group_li").find("ul.subsection").length?(t.find("#"+i+"_section_group_li").find("ul.subsection").slideUp("fast",function(){t.find("#"+i+"_section_group_li").removeClass("active").removeClass("activeChild")}),0<(o=t.find("#"+a+"_section_group_li").parents(".hasSubSections:first")).length&&(t.find("#"+a+"_section_group_li").removeClass("active"),a=o.find(".redux-group-tab-link-a:first").data("rel"),o.hasClass("empty_section")?(o.find(".subsection li:first").addClass("active"),t.find("#"+a+"_section_group_li").removeClass("active").addClass("activeChild").find("ul.subsection").slideDown(),o=o.find(".subsection li:first"),a=o.find(".redux-group-tab-link-a:first").data("rel")):t.find("#"+a+"_section_group_li").addClass("active").removeClass("activeChild").find("ul.subsection").slideDown())):t.find("#"+i+"_section_group_li").parents("ul.subsection").length?t.find("#"+i+"_section_group_li").parents("#"+a+"_section_group_li").length?t.find("#"+i+"_section_group_li").removeClass("active"):t.find("#"+i+"_section_group_li").parents("ul.subsection").slideUp("fast",function(){t.find("#"+i+"_section_group_li").removeClass("active"),t.find("#"+i+"_section_group_li").parents(".redux-group-tab-link-li").removeClass("active").removeClass("activeChild"),t.find("#"+a+"_section_group_li").parents(".redux-group-tab-link-li").addClass("activeChild").find("ul.subsection").slideDown(),t.find("#"+a+"_section_group_li").addClass("active")}):(t.find("#"+i+"_section_group_li").removeClass("active"),t.find("#"+a+"_section_group_li").parents(".redux-group-tab-link-li").length&&(setTimeout(function(){t.find("#"+a+"_section_group_li").parents(".redux-group-tab-link-li").addClass("activeChild").find("ul.subsection").slideDown()},50),t.find("#"+a+"_section_group_li").addClass("active")))),t.find("#"+i+"_section_group").hide(),t.find("#"+a+"_section_group").fadeIn(200,function(){0!==t.find("#redux-footer").length&&c.redux.stickyInfo(),c.redux.initFields()}),c("#toplevel_page_"+redux.optName.args.slug).find(".current").removeClass("current"))}),void 0===redux.optName.last_tab?(""!==(e=decodeURI((new RegExp("tab=(.+?)(&|$)").exec(location.search)||[""])[1]))?c.cookie("redux_current_tab_get")!==e&&(c.cookie("redux_current_tab",e,{expires:7,path:"/"}),c.cookie("redux_current_tab_get",e,{expires:7,path:"/"}),c.cookie("redux_current_tab_"+redux.optName.args.opt_name,e,{expires:7,path:"/"}),c("#"+e+"_section_group_li").click()):""!==c.cookie("redux_current_tab_get")&&c.removeCookie("redux_current_tab_get"),c(".redux-container").each(function(){var e;r=(t=c(this).parents(".postbox-container:first").length?(l=c.redux.getOptName(this),""===(e=c(this).data("index"))&&(e=0),"redux_metabox_"+e+"_current_tab_"+l):"redux_current_tab_"+(l=c(".redux-ajax-security").data("opt-name")),c(this).find("#"+c.cookie(t)+"_section_group_li_a")),null===c.cookie(t)||void 0===c.cookie(t)||0===r.length?c(this).find(".redux-group-tab-link-a:first").click():r.click()})):c("#"+redux.optName.last_tab+"_section_group_li_a").click()}}(jQuery);
1
+ function colorValidate(e){"use strict";var r=jQuery(e).val(),t=colorNameToHex(r);return t!==r.replace("#","")?t:r}function colorNameToHex(e){"use strict";var r=e.replace(/^\s\s*/,"").replace(/\s\s*$/,"").replace("#",""),t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c","indigo ":"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",redux:"#01a3e3",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return"undefined"!==t[r.toLowerCase()]?t[r.toLowerCase()]:e}!function(s){"use strict";s.redux=s.redux||{},s.redux.ajax_save=function(r){var t,e,a=s(document.getElementById("redux_ajax_overlay")),i=s(document.getElementById("redux_notification_bar")),n=s(r).parents(".redux-wrap-div").find("form").first();return a.fadeIn(),s(".redux-action_bar .spinner").addClass("is-active"),s(".redux-action_bar input").attr("disabled","disabled"),i.slideUp(),s(".redux-save-warn").slideUp(),s(".redux_ajax_save_error").slideUp("medium",function(){s(this).remove()}),redux.optName.hasOwnProperty("editor")&&s.each(redux.optName.editor,function(e){var r;"undefined"!=typeof tinyMCE&&(r=tinyMCE.get(e))&&r.save()}),t=n.serialize(),n.find("input[type=checkbox]").each(function(){var e;void 0!==s(this).attr("name")&&(e=s(this).is(":checked")?s(this).val():"0",t+="&"+s(this).attr("name")+"="+e)}),"redux_save"!==r.attr("name")&&(t+="&"+r.attr("name")+"="+r.val()),e=n.attr("data-nonce"),s.ajax({type:"post",dataType:"json",url:ajaxurl,data:{action:redux.optName.args.opt_name+"_ajax_save",nonce:e,opt_name:redux.optName.args.opt_name,data:t},error:function(e){s(".redux-action_bar input").removeAttr("disabled"),!0===redux.optName.args.dev_mode?(console.log(e.responseText),a.fadeOut("fast"),s(".redux-action_bar .spinner").removeClass("is-active"),alert(redux.optName.ajax.alert)):(redux.optName.optName.args.ajax_save=!1,s(r).click(),s(".redux-action_bar input").attr("disabled","disabled"))},success:function(e){var r;e.action&&"reload"===e.action?location.reload(!0):"success"===e.status?(s(".redux-action_bar input").removeAttr("disabled"),a.fadeOut("fast"),s(".redux-action_bar .spinner").removeClass("is-active"),redux.optName.options=e.options,redux.optName.errors=e.errors,redux.optName.warnings=e.warnings,redux.optName.sanitize=e.sanitize,i.html(e.notification_bar).slideDown("fast"),null===e.errors&&null===e.warnings||s.redux.notices(),null!==e.sanitize&&s.redux.sanitize(),(r=s(document.getElementById("redux_notification_bar")).find(".saved_notice")).slideDown(),r.delay(4e3).slideUp()):(s(".redux-action_bar input").removeAttr("disabled"),s(".redux-action_bar .spinner").removeClass("is-active"),a.fadeOut("fast"),s(".wrap h2:first").parent().append('<div class="error redux_ajax_save_error" style="display:none;"><p>'+e.status+"</p></div>"),s(".redux_ajax_save_error").slideDown(),s("html, body").animate({scrollTop:0},"slow"))}}),!1}}(jQuery),function(i){"use strict";i.redux=i.redux||{},i.redux.expandOptions=function(e){var r=e.find(".expand_options"),t=e.find(".redux-sidebar").width()-1,a=i(".redux-group-menu .active a").data("rel")+"_section_group";return r.hasClass("expanded")?(r.removeClass("expanded"),e.find(".redux-main").removeClass("expand"),e.find(".redux-sidebar").stop().animate({"margin-left":"0px"},500),e.find(".redux-main").stop().animate({"margin-left":t},500,function(){e.find(".redux-main").attr("style","")}),e.find(".redux-group-tab").each(function(){i(this).attr("id")!==a&&i(this).fadeOut("fast")})):(r.addClass("expanded"),e.find(".redux-main").addClass("expand"),e.find(".redux-sidebar").stop().animate({"margin-left":-t-113},500),e.find(".redux-main").stop().animate({"margin-left":"-1px"},500),e.find(".redux-group-tab").fadeIn("medium",function(){i.redux.initFields()})),!1}}(jQuery),function(i){"use strict";i.redux=i.redux||{},i.redux.initEvents=function(a){var e;a.find(".redux-presets-bar").on("click",function(){window.onbeforeunload=null}),a.find("#customize-save-button-wrapper #save").on("click",function(){}),a.find("#toplevel_page_"+redux.optName.args.slug+" .wp-submenu a, #wp-admin-bar-"+redux.optName.args.slug+" a.ab-item").click(function(e){var r;if((a.find("#toplevel_page_"+redux.optName.args.slug).hasClass("wp-menu-open")||i(this).hasClass("ab-item"))&&!i(this).parents("ul.ab-submenu:first").hasClass("ab-sub-secondary")&&0<=i(this).attr("href").toLowerCase().indexOf(redux.optName.args.slug+"&tab="))return r=i(this).attr("href").split("&tab="),e.preventDefault(),a.find("#"+r[1]+"_section_group_li_a").click(),i(this).parents("ul:first").find(".current").removeClass("current"),i(this).addClass("current"),i(this).parent().addClass("current"),!1}),a.find(".redux-action_bar input, #redux-import-action input").on("click",function(e){if(i(this).attr("name")===redux.optName.args.opt_name+"[defaults]"){if(!confirm(redux.optName.args.reset_confirm))return!1}else if(i(this).attr("name")===redux.optName.args.opt_name+"[defaults-section]"){if(!confirm(redux.optName.args.reset_section_confirm))return!1}else if("import"===i(this).attr("name")&&!confirm(redux.optName.args.import_section_confirm))return!1;!(window.onbeforeunload=null)===redux.optName.args.ajax_save?(i.redux.ajax_save(i(this)),e.preventDefault()):location.reload(!0)}),i(".expand_options").click(function(e){var r,t=a;return e.preventDefault(),i(t).hasClass("fully-expanded")&&(i(t).removeClass("fully-expanded"),r=i.cookie("redux_current_tab_"+redux.optName.args.opt_name),a.find("#"+r+"_section_group").fadeIn(200,function(){0!==a.find("#redux-footer").length&&i.redux.stickyInfo(),i.redux.initFields()})),i.redux.expandOptions(i(this).parents(".redux-container:first")),!1}),a.find(".saved_notice").is(":visible")&&a.find(".saved_notice").slideDown(),i(document.body).on("change",".redux-field input, .redux-field textarea, .redux-field select",function(){i(".redux-container-typography select").hasClass("ignore-change")||i(this).hasClass("noUpdate")||i(this).hasClass("no-update")||redux_change(i(this))}),e=a.find("#redux-footer").height(),a.find("#redux-sticky-padder").css({height:e}),a.find("#redux-footer-sticky").removeClass("hide"),0!==a.find("#redux-footer").length&&(i(window).scroll(function(){i.redux.stickyInfo()}),i(window).resize(function(){i.redux.stickyInfo()})),a.find(".saved_notice").delay(4e3).slideUp()}}(jQuery),function(t){"use strict";t.redux=t.redux||{},t.redux.initFields=function(){t(".redux-group-tab:visible").find(".redux-field-init:visible").each(function(){var e,r=t(this).attr("data-type");void 0!==redux.field_objects&&redux.field_objects[r]&&redux.field_objects[r]&&redux.field_objects[r].init(),void 0!==redux.field_objects.pro&&!t.isEmptyObject(redux.field_objects.pro[r])&&redux.field_objects.pro[r]&&redux.field_objects.pro[r].init(),!redux.customizer&&t(this).hasClass("redux_remove_th")&&((e=t(this).parents("tr:first").find("th:first")).html()&&0<e.html().length&&(t(this).prepend(e.html()),t(this).find(".redux_field_th").css("padding","0 0 10px 0")),t(this).parent().attr("colspan","2"),e.remove())})}}(jQuery),function(a){"use strict";a.redux=a.redux||{},a(document).ready(function(){var e,r=[];a.fn.isOnScreen=function(){var e,r,t;if(window)return(r={top:(e=a(window)).scrollTop()}).right=r.left+e.width(),r.bottom=r.top+e.height(),(t=this.offset()).right=t.left+this.outerWidth(),t.bottom=t.top+this.outerHeight(),!(r.right<t.left||r.left>t.right||r.bottom<t.top||r.top>t.bottom)},a("fieldset.redux-container-divide").css("display","none"),a("body").hasClass("wp-customizer")&&a(".wp-full-overlay-sidebar").addClass("redux-container"),a(".redux-container").each(function(){e=a.redux.getOptName(this),-1===a.inArray(e,r)&&(r.push(e),redux.optName=window["redux_"+e.replace("-","_")],a.redux.checkRequired(a(this)),a.redux.initEvents(a(this)))}),a(".redux-container").on("click",function(){e=a.redux.getOptName(this),redux.optName=window["redux_"+e.replace("-","_")]}),void 0!==redux.optName&&(a.redux.disableFields(),a.redux.hideFields(),a.redux.disableSections(),a.redux.initQtip(),a.redux.tabCheck(),a.redux.notices())}),a.redux.disableSections=function(){a(".redux-group-tab").each(function(){a(this).hasClass("disabled")&&a(this).find("input, select, textarea").attr("name","")})},a.redux.disableFields=function(){a('label[for="redux_disable_field"]').each(function(){a(this).parents("tr").find("fieldset:first").find("input, select, textarea").attr("name","")})},a.redux.hideFields=function(){a('label[for="redux_hide_field"]').each(function(){var e=a(this).parent().parent();a(e).addClass("hidden")})},a.redux.getOptName=function(e){var r,t=a(e).parents(".redux-wrap-div").data("opt-name");return void 0===t&&(0===(r=a(e).parents(".postbox")).length&&(r=a(e).parents(".redux-metabox")),a("body").hasClass("wp-customizer")?t=a(".panel-meta.customize-info.redux-panel.accordion-section").data("opt-name"):0!==r.length?void 0===(t=r.attr("id").replace("redux-","").split("-metabox-")[0])&&(t=r.attr("class").replace("redux-metabox","").replace("postbox","").replace("redux-","").replace("hide","").replace("closed","").trim()):t=a(".redux-ajax-security").data("opt-name")),void 0===t&&(t=a(e).find(".redux-form-wrapper").data("opt-name")),t}}(jQuery),function(n){"use strict";n.redux=n.redux||{},n.redux.sanitize=function(){redux.optName.sanitize&&redux.optName.sanitize.sanitize&&n.each(redux.optName.sanitize.sanitize,function(e,r){n.each(r.sanitize,function(e,r){n.redux.fixInput(e,r)})})},n.redux.fixInput=function(e,r){var t,a,i;if("multi_text"===r.type)return i=n("#"+r.id+"-ul"),void n(i.find("li")).each(function(){a=n(this).find("input"),a.val()===r.old&&a.val(r.current)});0===(a=n("input#"+r.id+"-"+e)).length&&(a=n("input#"+r.id)),0===a.length&&(a=n("textarea#"+r.id+"-textarea")),0<a.length&&(t=""===r.current?r.default:r.current,n(a).val(t))},n.redux.notices=function(){redux.optName.errors&&redux.optName.errors.errors&&(n.each(redux.optName.errors.errors,function(e,r){n.each(r.errors,function(e,r){n("#"+redux.optName.args.opt_name+"-"+r.id).addClass("redux-field-error"),0===n("#"+redux.optName.args.opt_name+"-"+r.id).parent().find(".redux-th-error").length?n("#"+redux.optName.args.opt_name+"-"+r.id).append('<div class="redux-th-error">'+r.msg+"</div>"):n("#"+redux.optName.args.opt_name+"-"+r.id).parent().find(".redux-th-error").html(r.msg).css("display","block"),n.redux.fixInput(e,r)})}),n(".redux-container").each(function(){var e,a=n(this);a.find(".redux-menu-error").remove(),0<(e=a.find(".redux-field-error").length)&&(a.find(".redux-field-errors span").text(e),a.find(".redux-field-errors").slideDown(),a.find(".redux-group-tab").each(function(){var e,r,t=n(this).find(".redux-field-error").length;0<t&&(e=n(this).attr("id").split("_")[0],a.find('.redux-group-tab-link-a[data-key="'+e+'"]').prepend('<span class="redux-menu-error">'+t+"</span>"),a.find('.redux-group-tab-link-a[data-key="'+e+'"]').addClass("hasError"),(r=a.find('.redux-group-tab-link-a[data-key="'+e+'"]').parents(".hasSubSections:first"))&&r.find(".redux-group-tab-link-a:first").addClass("hasError"))}))})),redux.optName.warnings&&redux.optName.warnings.warnings&&(n.each(redux.optName.warnings.warnings,function(e,r){n.each(r.warnings,function(e,r){n("#"+redux.optName.args.opt_name+"-"+r.id).addClass("redux-field-warning"),0===n("#"+redux.optName.args.opt_name+"-"+r.id).parent().find(".redux-th-warning").length?n("#"+redux.optName.args.opt_name+"-"+r.id).append('<div class="redux-th-warning">'+r.msg+"</div>"):n("#"+redux.optName.args.opt_name+"-"+r.id).parent().find(".redux-th-warning").html(r.msg).css("display","block"),n.redux.fixInput(e,r)})}),n(".redux-container").each(function(){var e,r,t,a,i=n(this);i.find(".redux-menu-warning").remove(),0<(a=i.find(".redux-field-warning").length)&&(i.find(".redux-field-warnings span").text(a),i.find(".redux-field-warnings").slideDown(),i.find(".redux-group-tab").each(function(){0<(t=n(this).find(".redux-field-warning").length)&&(e=n(this).attr("id").split("_")[0],i.find('.redux-group-tab-link-a[data-key="'+e+'"]').prepend('<span class="redux-menu-warning">'+t+"</span>"),i.find('.redux-group-tab-link-a[data-key="'+e+'"]').addClass("hasWarning"),(r=i.find('.redux-group-tab-link-a[data-key="'+e+'"]').parents(".hasSubSections:first"))&&r.find(".redux-group-tab-link-a:first").addClass("hasWarning"))}))}))}}(jQuery),function(_){"use strict";_.redux=_.redux||{},_.redux.initQtip=function(){var e,r="",t=redux.optName.args.hints.tip_style.shadow,a="",i=redux.optName.args.hints.tip_style.color,n="",s=redux.optName.args.hints.tip_style.rounded,d="",o=redux.optName.args.hints.tip_style.style,u=redux.optName.args.hints.tip_position.my,l=redux.optName.args.hints.tip_position.at,c=redux.optName.args.hints.tip_effect.show.event,f=redux.optName.args.hints.tip_effect.hide.event,p=redux.optName.args.hints.tip_effect.show.effect,x=redux.optName.args.hints.tip_effect.show.duration,h=redux.optName.args.hints.tip_effect.hide.effect,m=redux.optName.args.hints.tip_effect.hide.duration;_().qtip&&(!0===t&&(r="qtip-shadow"),""!==i&&(a="qtip-"+i),!0===s&&(n="qtip-rounded"),""!==o&&(d="qtip-"+o),e=(e=r+","+a+","+n+","+d+",redux-qtip").replace(/,/g," "),u=_.redux.verifyPos(u.toLowerCase(),!0),l=_.redux.verifyPos(l.toLowerCase(),!1),_("div.redux-dev-qtip").each(function(){_(this).qtip({content:{text:_(this).attr("qtip-content"),title:_(this).attr("qtip-title")},show:{effect:function(){_(this).slideDown(500)},event:"mouseover"},hide:{effect:function(){_(this).slideUp(500)},event:"mouseleave"},style:{classes:"qtip-shadow qtip-light"},position:{my:"top center",at:"bottom center"}})}),_("div.redux-hint-qtip").each(function(){_(this).qtip({content:{text:_(this).attr("qtip-content"),title:_(this).attr("qtip-title")},show:{effect:function(){switch(p){case"slide":_(this).slideDown(x);break;case"fade":_(this).fadeIn(x);break;default:_(this).show()}},event:c},hide:{effect:function(){switch(h){case"slide":_(this).slideUp(m);break;case"fade":_(this).fadeOut(m);break;default:_(this).hide(m)}},event:f},style:{classes:e},position:{my:u,at:l}})}),_("input[qtip-content]").each(function(){_(this).qtip({content:{text:_(this).attr("qtip-content"),title:_(this).attr("qtip-title")},show:"focus",hide:"blur",style:e,position:{my:u,at:l}})}))},_.redux.verifyPos=function(e,r){var t,a,i;return""===(e=e.replace(/^\s+|\s+$/gm,""))||-1===e.search(" ")?!0===r?"top left":"bottom right":(a=r?"top":"bottom","top"!==(t=e.split(" "))[0]&&"center"!==t[0]&&"bottom"!==t[0]||(a=t[0]),i=r?"left":"right","left"!==t[1]&&"center"!==t[1]&&"right"!==t[1]||(i=t[1]),a+" "+i)}}(jQuery);var confirmOnPageExit=function(e){"use strict";var r;return e=e||window.event,r=redux.optName.args.save_pending,e&&(e.returnValue=r),window.onbeforeunload=null,r};function redux_change(e){"use strict";var r,t,a,i,n,s,d,o,u,l,c;r=jQuery,e=r(e),t=r(e).parents(".redux-container:first"),a=r("body").hasClass("wp-customizer")?r(".panel-meta.customize-info.redux-panel.accordion-section").data("opt-name"):r.redux.getOptName(t),redux.optName=window["redux_"+a.replace("-","_")],r("body").trigger("check_dependencies",e),e.hasClass("compiler")&&r("#redux-compiler-hook").val(1),n=(i=r(e).closest(".redux-group-tab").attr("id")).split("_")[0],s=t.find('.redux-group-tab-link-a[data-key="'+n+'"]').parents(".redux-group-tab-link-li:first"),d=r("#"+i+"_li").parents(".hasSubSections:first"),r(e).parents("fieldset.redux-field:first").hasClass("redux-field-error")&&(r(e).parents("fieldset.redux-field:first").removeClass("redux-field-error"),r(e).parent().find(".redux-th-error").slideUp(),(o=parseInt(t.find(".redux-field-errors span").text(),0)-1)<=0?(r("#"+i+"_li .redux-menu-error").fadeOut("fast").remove(),r("#"+i+"_li .redux-group-tab-link-a").removeClass("hasError"),r("#"+i+"_li").parents(".inside:first").find(".redux-field-errors").slideUp(),r(e).parents(".redux-container:first").find(".redux-field-errors").slideUp(),r("#redux_metaboxes_errors").slideUp()):((u=parseInt(s.find(".redux-menu-error:first").text(),0)-1)<=0?s.find(".redux-menu-error:first").fadeOut().remove():s.find(".redux-menu-error:first").text(u),t.find(".redux-field-errors span").text(o)),0!==d.length&&0===d.find(".redux-menu-error").length&&d.find(".hasError").removeClass("hasError")),r(e).parents("fieldset.redux-field:first").hasClass("redux-field-warning")&&(r(e).parents("fieldset.redux-field:first").removeClass("redux-field-warning"),r(e).parent().find(".redux-th-warning").slideUp(),(l=parseInt(t.find(".redux-field-warnings span").text(),0)-1)<=0?(r("#"+i+"_li .redux-menu-warning").fadeOut("fast").remove(),r("#"+i+"_li .redux-group-tab-link-a").removeClass("hasWarning"),r("#"+i+"_li").parents(".inside:first").find(".redux-field-warnings").slideUp(),r(e).parents(".redux-container:first").find(".redux-field-warnings").slideUp(),r("#redux_metaboxes_warnings").slideUp()):((c=parseInt(s.find(".redux-menu-warning:first").text(),0)-1)<=0?s.find(".redux-menu-warning:first").fadeOut().remove():s.find(".redux-menu-warning:first").text(c),t.find(".redux-field-warning span").text(l)),0!==d.length&&0===d.find(".redux-menu-warning").length&&d.find(".hasWarning").removeClass("hasWarning")),0<t.find(".saved_notice:visible").length||redux.optName.args.disable_save_warn||(t.find(".redux-save-warn").slideDown(),window.onbeforeunload=confirmOnPageExit)}function redux_hook(e,r,t,a){"use strict";var i;i=e[r],e[r]=function(){var e;return!0===a&&t.apply(this,[e,i,arguments]),e=i.apply(this,arguments),!0!==a&&t.apply(this,[e,i,arguments]),e}}!function(o){"use strict";o.redux=o.redux||{},o.redux.makeBoolStr=function(e){return"false"===e||!1===e||"0"===e||0===e||null===e||""===e?"false":"true"===e||!0===e||"1"===e||1===e?"true":e},o.redux.checkRequired=function(e){o.redux.required(),o("body").on("change",".redux-main select, .redux-main radio, .redux-main input[type=checkbox], .redux-main input[type=hidden]",function(){o.redux.check_dependencies(this)}),o("body").on("check_dependencies",function(e,r){o.redux.check_dependencies(r)}),redux.customizer&&e.find(".customize-control.redux-field.hide").hide(),e.find(".redux-container td > fieldset:empty,td > div:empty").parent().parent().hide()},o.redux.required=function(){o.each(redux.optName.folds,function(e,r){var t,a=o("#"+redux.optName.args.opt_name+"-"+e);a.parents("tr:first, li:first").addClass("fold"),"hide"===r&&(a.parents("tr:first, li:first").addClass("hide"),a.hasClass("redux-container-section")&&(t=o("#section-"+e)).hasClass("redux-section-indent-start")&&(o("#section-table-"+e).hide().addClass("hide"),t.hide().addClass("hide")),a.hasClass("redux-container-info")&&o("#info-"+e).hide().addClass("hide"),a.hasClass("redux-container-divide")&&o("#divide-"+e).hide().addClass("hide"),a.hasClass("redux-container-raw")&&a.parents().find("table#"+redux.optName.args.opt_name+"-"+e).hide().addClass("hide"))})},o.redux.getContainerValue=function(e){var r=o("#"+redux.optName.args.opt_name+"-"+e).serializeForm();return null!==r&&"object"==typeof r&&r.hasOwnProperty(redux.optName.args.opt_name)&&(r=r[redux.optName.args.opt_name][e]),o("#"+redux.optName.args.opt_name+"-"+e).hasClass("redux-container-media")&&(r=r.url),r},o.redux.check_dependencies=function(e){var r,t,a,s;null!==redux.optName.required&&(t=(r=o(e)).parents(".redux-field:first").data("id"),redux.optName.required.hasOwnProperty(t)&&(a=r.parents(".redux-field-container:first"),s=a.parents("tr:first").hasClass("hide"),a.parents("tr:first").length||(s=a.parents(".customize-control:first").hasClass("hide")),o.each(redux.optName.required[t],function(e){var r,t=o(this),a=!1,i=o("#"+redux.optName.args.opt_name+"-"+e),n=i.parents("tr:first");0===n.length&&(n=i.parents("li:first")),s||(a=o.redux.check_parents_dependencies(e)),!0===a?(i.hasClass("redux-container-section")&&(r=o("#section-"+e)).hasClass("redux-section-indent-start")&&r.hasClass("hide")&&(o("#section-table-"+e).fadeIn(300).removeClass("hide"),r.fadeIn(300).removeClass("hide")),i.hasClass("redux-container-info")&&o("#info-"+e).fadeIn(300).removeClass("hide"),i.hasClass("redux-container-divide")&&o("#divide-"+e).fadeIn(300).removeClass("hide"),i.hasClass("redux-container-raw")&&i.parents().find("table#"+redux.optName.args.opt_name+"-"+e).fadeIn(300).removeClass("hide"),n.fadeIn(300,function(){o(this).removeClass("hide"),redux.optName.required.hasOwnProperty(e)&&o.redux.check_dependencies(o("#"+redux.optName.args.opt_name+"-"+e).children().first()),o.redux.initFields()}),(i.hasClass("redux-container-section")||i.hasClass("redux-container-info"))&&n.css({display:"none"})):!1===a&&n.fadeOut(100,function(){o(this).addClass("hide"),redux.optName.required.hasOwnProperty(e)&&o.redux.required_recursive_hide(e)}),t.find("select, radio, input[type=checkbox]").trigger("change")})))},o.redux.required_recursive_hide=function(e){var r,t=o("#"+redux.optName.args.opt_name+"-"+e).parents("tr:first");0===t&&(t=o("#"+redux.optName.args.opt_name+"-"+e).parents("li:first")),t.fadeOut(50,function(){o(this).addClass("hide"),o("#"+redux.optName.args.opt_name+"-"+e).hasClass("redux-container-section")&&(r=o("#section-"+e)).hasClass("redux-section-indent-start")&&(o("#section-table-"+e).fadeOut(50).addClass("hide"),r.fadeOut(50).addClass("hide")),o("#"+redux.optName.args.opt_name+"-"+e).hasClass("redux-container-info")&&o("#info-"+e).fadeOut(50).addClass("hide"),o("#"+redux.optName.args.opt_name+"-"+e).hasClass("redux-container-divide")&&o("#divide-"+e).fadeOut(50).addClass("hide"),o("#"+redux.optName.args.opt_name+"-"+e).hasClass("redux-container-raw")&&o("#"+redux.optName.args.opt_name+"-"+e).parents().find("table#"+redux.optName.args.opt_name+"-"+e).fadeOut(50).addClass("hide"),redux.optName.required.hasOwnProperty(e)&&o.each(redux.optName.required[e],function(e){o.redux.required_recursive_hide(e)})})},o.redux.check_parents_dependencies=function(e){var a="";return redux.optName.required_child.hasOwnProperty(e)?o.each(redux.optName.required_child[e],function(e,r){var t;o("#"+redux.optName.args.opt_name+"-"+r.parent).parents("tr:first").hasClass("hide")||o("#"+redux.optName.args.opt_name+"-"+r.parent).parents("li:first").hasClass("hide")?a=!1:!1!==a&&(t=o.redux.getContainerValue(r.parent),a=o.redux.check_dependencies_visibility(t,r))}):a=!0,a},o.redux.check_dependencies_visibility=function(t,e){var r,d=!1,a=e.checkValue,i=e.operation;switch(o.isPlainObject(t)&&(t=Object.keys(t).map(function(e){return[e,t[e]]})),i){case"=":case"equals":o.isArray(t)?o(t[0]).each(function(e,t){if(o.isArray(a))o(a).each(function(e,r){if(o.redux.makeBoolStr(t)===o.redux.makeBoolStr(r))return d=!0});else if(o.redux.makeBoolStr(t)===o.redux.makeBoolStr(a))return d=!0}):o.isArray(a)?o(a).each(function(e,r){o.redux.makeBoolStr(t)===o.redux.makeBoolStr(r)&&(d=!0)}):o.redux.makeBoolStr(t)===o.redux.makeBoolStr(a)&&(d=!0);break;case"!=":case"not":o.isArray(t)?o(t[0]).each(function(e,t){if(o.isArray(a))o(a).each(function(e,r){if(o.redux.makeBoolStr(t)!==o.redux.makeBoolStr(r))return d=!0});else if(o.redux.makeBoolStr(t)!==o.redux.makeBoolStr(a))return d=!0}):o.isArray(a)?o(a).each(function(e,r){o.redux.makeBoolStr(t)!==o.redux.makeBoolStr(r)&&(d=!0)}):o.redux.makeBoolStr(t)!==o.redux.makeBoolStr(a)&&(d=!0);break;case">":case"greater":case"is_larger":parseFloat(t)>parseFloat(a)&&(d=!0);break;case">=":case"greater_equal":case"is_larger_equal":parseFloat(t)>=parseFloat(a)&&(d=!0);break;case"<":case"less":case"is_smaller":parseFloat(t)<parseFloat(a)&&(d=!0);break;case"<=":case"less_equal":case"is_smaller_equal":parseFloat(t)<=parseFloat(a)&&(d=!0);break;case"contains":o.isPlainObject(t)&&(t=Object.keys(t).map(function(e){return[e,t[e]]})),o.isPlainObject(a)&&(a=Object.keys(a).map(function(e){return[e,a[e]]})),o.isArray(a)?o(a).each(function(e,r){var i=!1,n=r[0],s=r[1];if(o(t).each(function(e,r){var t=r[0],a=r[1];if(n===t&&s===a)return!(i=d=!0)}),!0===i)return!1}):-1!==t.toString().indexOf(a)&&(d=!0);break;case"doesnt_contain":case"not_contain":o.isPlainObject(t)&&(r=Object.keys(t).map(function(e){return t[e]}),t=r),o.isPlainObject(a)&&(r=Object.keys(a).map(function(e){return a[e]}),a=r),o.isArray(a)?o(a).each(function(e,r){-1===t.toString().indexOf(r)&&(d=!0)}):-1===t.toString().indexOf(a)&&(d=!0);break;case"is_empty_or":""!==t&&a!==t||(d=!0);break;case"not_empty_and":""!==t&&a!==t&&(d=!0);break;case"is_empty":case"empty":case"!isset":t&&""!==t&&null!==t||(d=!0);break;case"not_empty":case"!empty":case"isset":t&&""!==t&&null!==t&&(d=!0)}return d}}(jQuery),function(t){"use strict";t.redux=t.redux||{},t.redux.stickyInfo=function(){var e=t(".redux-main").innerWidth()-20,r=t("#redux-sticky").offset().left;t(".redux-save-warn").css("left",r+"px"),t("#info_bar").isOnScreen()||t("#redux-footer-sticky").isOnScreen()?(t("#redux-footer").css({background:"#eee",position:"inherit",bottom:"inherit",width:"inherit"}),t("#redux-sticky-padder").hide(),t("#redux-footer").removeClass("sticky-footer-fixed")):(t("#redux-footer").css({position:"fixed",bottom:"0",width:e,right:21}),t("#redux-footer").addClass("sticky-footer-fixed"),t("#redux-sticky-padder").show()),t("#info_bar").isOnScreen()?t("#redux-sticky").removeClass("sticky-save-warn"):t("#redux-sticky").addClass("sticky-save-warn")}}(jQuery),function(c){"use strict";c.redux=c.redux||{},c.redux.tabCheck=function(){var u,e,r,t,l;c(".redux-group-tab-link-a").click(function(){var e,r,t,a,i,n,s,d,o;(u=c(this)).parent().hasClass("empty_section")&&u.parent().hasClass("hasSubSections")&&(r=(e=c(this).closest("ul").find(".redux-group-tab-link-a")).index(this),u=e.slice(r+1,r+2)),t=u.parents(".redux-container:first"),a=u.data("rel"),i=t.find(".redux-group-tab-link-li.active:first .redux-group-tab-link-a").data("rel"),l=c.redux.getOptName(t),redux.optName=window["redux_"+l.replace("-","_")],i!==a&&(n="",u.parents(".postbox-container:first").length?(t.prev("#currentSection").val(a),""!==(s=t.data("index"))&&(n="redux_metabox_"+s+"_current_tab_"+redux.optName.args.opt_name)):(c("#currentSection").val(a),n="redux_current_tab_"+redux.optName.args.opt_name),c.cookie(n,a,{expires:7,path:"/"}),t.find("#"+a+"_section_group_li").parents(".redux-group-tab-link-li").length&&(d=(d=t.find("#"+a+"_section_group_li").parents(".redux-group-tab-link-li").attr("id").split("_"))[0]),t.find("#toplevel_page_"+redux.optName.args.slug+" .wp-submenu a.current").removeClass("current"),t.find("#toplevel_page_"+redux.optName.args.slug+" .wp-submenu li.current").removeClass("current"),t.find("#toplevel_page_"+redux.optName.args.slug+" .wp-submenu a").each(function(){var e=c(this).attr("href").split("&tab=");e[1]!==a&&e[1]!==d||(c(this).addClass("current"),c(this).parent().addClass("current"))}),t.find("#"+i+"_section_group_li").find("#"+i+"_section_group_li").length?(t.find("#"+i+"_section_group_li").addClass("activeChild"),t.find("#"+a+"_section_group_li").addClass("active").removeClass("activeChild")):t.find("#"+a+"_section_group_li").parents("#"+i+"_section_group_li").length||t.find("#"+i+"_section_group_li").parents("ul.subsection").find("#"+a+"_section_group_li").length?(t.find("#"+a+"_section_group_li").parents("#"+i+"_section_group_li").length?t.find("#"+i+"_section_group_li").addClass("activeChild").removeClass("active"):(t.find("#"+a+"_section_group_li").addClass("active"),t.find("#"+i+"_section_group_li").removeClass("active")),t.find("#"+a+"_section_group_li").removeClass("activeChild").addClass("active")):(setTimeout(function(){t.find("#"+a+"_section_group_li").addClass("active").removeClass("activeChild").find("ul.subsection").slideDown()},1),t.find("#"+i+"_section_group_li").find("ul.subsection").length?(t.find("#"+i+"_section_group_li").find("ul.subsection").slideUp("fast",function(){t.find("#"+i+"_section_group_li").removeClass("active").removeClass("activeChild")}),0<(o=t.find("#"+a+"_section_group_li").parents(".hasSubSections:first")).length&&(t.find("#"+a+"_section_group_li").removeClass("active"),a=o.find(".redux-group-tab-link-a:first").data("rel"),o.hasClass("empty_section")?(o.find(".subsection li:first").addClass("active"),t.find("#"+a+"_section_group_li").removeClass("active").addClass("activeChild").find("ul.subsection").slideDown(),o=o.find(".subsection li:first"),a=o.find(".redux-group-tab-link-a:first").data("rel")):t.find("#"+a+"_section_group_li").addClass("active").removeClass("activeChild").find("ul.subsection").slideDown())):t.find("#"+i+"_section_group_li").parents("ul.subsection").length?t.find("#"+i+"_section_group_li").parents("#"+a+"_section_group_li").length?t.find("#"+i+"_section_group_li").removeClass("active"):t.find("#"+i+"_section_group_li").parents("ul.subsection").slideUp("fast",function(){t.find("#"+i+"_section_group_li").removeClass("active"),t.find("#"+i+"_section_group_li").parents(".redux-group-tab-link-li").removeClass("active").removeClass("activeChild"),t.find("#"+a+"_section_group_li").parents(".redux-group-tab-link-li").addClass("activeChild").find("ul.subsection").slideDown(),t.find("#"+a+"_section_group_li").addClass("active")}):(t.find("#"+i+"_section_group_li").removeClass("active"),t.find("#"+a+"_section_group_li").parents(".redux-group-tab-link-li").length&&(setTimeout(function(){t.find("#"+a+"_section_group_li").parents(".redux-group-tab-link-li").addClass("activeChild").find("ul.subsection").slideDown()},50),t.find("#"+a+"_section_group_li").addClass("active")))),t.find("#"+i+"_section_group").hide(),t.find("#"+a+"_section_group").fadeIn(200,function(){0!==t.find("#redux-footer").length&&c.redux.stickyInfo(),c.redux.initFields()}),c("#toplevel_page_"+redux.optName.args.slug).find(".current").removeClass("current"))}),void 0===redux.optName.last_tab?(""!==(e=decodeURI((new RegExp("tab=(.+?)(&|$)").exec(location.search)||[""])[1]))?c.cookie("redux_current_tab_get")!==e&&(c.cookie("redux_current_tab",e,{expires:7,path:"/"}),c.cookie("redux_current_tab_get",e,{expires:7,path:"/"}),c.cookie("redux_current_tab_"+redux.optName.args.opt_name,e,{expires:7,path:"/"}),c("#"+e+"_section_group_li").click()):""!==c.cookie("redux_current_tab_get")&&c.removeCookie("redux_current_tab_get"),c(".redux-container").each(function(){var e;r=(t=c(this).parents(".postbox-container:first").length?(l=c.redux.getOptName(this),""===(e=c(this).data("index"))&&(e=0),"redux_metabox_"+e+"_current_tab_"+l):"redux_current_tab_"+(l=c(".redux-ajax-security").data("opt-name")),c(this).find("#"+c.cookie(t)+"_section_group_li_a")),null===c.cookie(t)||void 0===c.cookie(t)||0===r.length?c(this).find(".redux-group-tab-link-a:first").click():r.click()})):c("#"+redux.optName.last_tab+"_section_group_li_a").click()}}(jQuery);
redux-core/assets/js/redux/main.js CHANGED
@@ -133,7 +133,9 @@
133
  optName = $( '.redux-ajax-security' ).data( 'opt-name' );
134
  }
135
  }
136
-
 
 
137
  return optName;
138
  };
139
  })( jQuery );
133
  optName = $( '.redux-ajax-security' ).data( 'opt-name' );
134
  }
135
  }
136
+ if ( undefined === optName ) {
137
+ optName = $( el ).find( '.redux-form-wrapper' ).data( 'opt-name' );
138
+ }
139
  return optName;
140
  };
141
  })( jQuery );
redux-core/framework.php CHANGED
@@ -23,7 +23,7 @@ defined( 'ABSPATH' ) || exit;
23
 
24
  require_once dirname( __FILE__ ) . '/class-redux-core.php';
25
 
26
- Redux_Core::$version = '4.1.11';
27
  Redux_Core::$redux_path = dirname( __FILE__ );
28
  Redux_Core::instance();
29
 
@@ -415,11 +415,17 @@ if ( ! class_exists( 'ReduxFramework', false ) ) {
415
  if ( ! isset( Redux::$init[ $args['opt_name'] ] ) ) {
416
  // Let's go back to the Redux API instead of having it run directly.
417
  Redux_Functions_Ex::record_caller( $args['opt_name'] );
 
418
  if ( ! empty( $sections ) ) {
419
  Redux::set_sections( $args['opt_name'], $sections );
420
  }
421
- Redux::set_args( $args['opt_name'], $args );
422
- Redux::init( $args['opt_name'] );
 
 
 
 
 
423
  return;
424
  }
425
 
23
 
24
  require_once dirname( __FILE__ ) . '/class-redux-core.php';
25
 
26
+ Redux_Core::$version = '4.1.12';
27
  Redux_Core::$redux_path = dirname( __FILE__ );
28
  Redux_Core::instance();
29
 
415
  if ( ! isset( Redux::$init[ $args['opt_name'] ] ) ) {
416
  // Let's go back to the Redux API instead of having it run directly.
417
  Redux_Functions_Ex::record_caller( $args['opt_name'] );
418
+ Redux::set_args( $args['opt_name'], $args );
419
  if ( ! empty( $sections ) ) {
420
  Redux::set_sections( $args['opt_name'], $sections );
421
  }
422
+ $sections = Redux::construct_sections( $args['opt_name'] );
423
+ $args = Redux::construct_args( $args['opt_name'] );
424
+ Redux::set_defaults( $args['opt_name'] );
425
+ Redux::$init[ $args['opt_name'] ] = 1;
426
+ }
427
+
428
+ if ( empty( $args ) ) {
429
  return;
430
  }
431
 
redux-core/inc/classes/class-redux-class.php CHANGED
@@ -44,7 +44,6 @@ if ( ! class_exists( 'Redux_Class', false ) ) {
44
  */
45
  public function __construct( $parent = null ) {
46
  if ( null !== $parent && is_object( $parent ) ) {
47
-
48
  $this->parent = $parent;
49
  $this->args = $parent->args;
50
  $this->opt_name = $this->args['opt_name'];
44
  */
45
  public function __construct( $parent = null ) {
46
  if ( null !== $parent && is_object( $parent ) ) {
 
47
  $this->parent = $parent;
48
  $this->args = $parent->args;
49
  $this->opt_name = $this->args['opt_name'];
redux-core/inc/classes/class-redux-filesystem.php CHANGED
@@ -95,7 +95,6 @@ if ( ! class_exists( 'Redux_Filesystem', false ) ) {
95
  public function __construct( $force_no_fs = false ) {
96
 
97
  // This little number fixes some issues with certain filesystem setups.
98
- if ( ! defined( 'FS_METHOD' ) ) define( 'FS_METHOD', 'direct' );
99
 
100
  if ( ! function_exists( 'request_filesystem_credentials' ) ) {
101
  require_once ABSPATH . '/wp-admin/includes/template.php';
95
  public function __construct( $force_no_fs = false ) {
96
 
97
  // This little number fixes some issues with certain filesystem setups.
 
98
 
99
  if ( ! function_exists( 'request_filesystem_credentials' ) ) {
100
  require_once ABSPATH . '/wp-admin/includes/template.php';
redux-core/inc/classes/class-redux-functions-ex.php CHANGED
@@ -114,7 +114,7 @@ if ( ! class_exists( 'Redux_Functions_Ex', false ) ) {
114
  Redux_Core::$callers[ $opt_name ] = array();
115
  }
116
 
117
- if ( strpos( $caller, 'class-redux-' ) !== false ) {
118
  return;
119
  }
120
 
114
  Redux_Core::$callers[ $opt_name ] = array();
115
  }
116
 
117
+ if ( strpos( $caller, 'class-redux-' ) !== false || strpos( $caller, 'redux-core/framework.php' ) ) {
118
  return;
119
  }
120
 
redux-core/inc/extensions/customizer/inc/customizer_panel.php ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php
2
+ // Shim for the old way of calling the customizer.
3
+ require_once dirname( __FILE__ ) . '/class-redux-customizer-panel.php';
redux-core/inc/extensions/customizer/inc/customizer_section.php ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php
2
+ // Shim for the old way of calling the customizer.
3
+ require_once dirname( __FILE__ ) . '/class-redux-customizer-section.php';
redux-framework.php CHANGED
@@ -10,7 +10,7 @@
10
  * Description: Build better sites in WordPress fast
11
  * Author: Redux.io + Dovy Paukstys
12
  * Author URI: http://redux.io
13
- * Version: 4.1.11
14
  * Text Domain: redux-framework
15
  * License: GPLv3 or later
16
  * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
10
  * Description: Build better sites in WordPress fast
11
  * Author: Redux.io + Dovy Paukstys
12
  * Author URI: http://redux.io
13
+ * Version: 4.1.12
14
  * Text Domain: redux-framework
15
  * License: GPLv3 or later
16
  * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
redux-templates/assets/js/redux-templates.min.js CHANGED
@@ -1 +0,0 @@
1
- !function(e){function t(t){for(var r,o,i=t[0],s=t[1],c=t[2],m=0,d=[];m<i.length;m++)o=i[m],Object.prototype.hasOwnProperty.call(l,o)&&l[o]&&d.push(l[o][0]),l[o]=0;for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r]);for(p&&p(t);d.length;)d.shift()();return a.push.apply(a,c||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],r=!0,i=1;i<n.length;i++){var s=n[i];0!==l[s]&&(r=!1)}r&&(a.splice(t--,1),e=o(o.s=n[0]))}return e}var r={},l={0:0},a=[];function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="";var i=window.webpackJsonp=window.webpackJsonp||[],s=i.push.bind(i);i.push=t,i=i.slice();for(var c=0;c<i.length;c++)t(i[c]);var p=s;a.push([572,1]),n()}({0:function(e,t){e.exports=React},11:function(e,t){e.exports=wp.element},13:function(e,t){e.exports=wp.data},167:function(e,t){e.exports=wp.blocks},2:function(e,t){e.exports=wp.i18n},246:function(e,t){e.exports=ReactDOM},247:function(e,t,n){var r=n(566);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},27:function(e,t){e.exports=wp.compose},270:function(e,t){e.exports=wp.editPost},272:function(e,t,n){var r=n(273);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},273:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,"#redux-templatesImportCollectionBtn{vertical-align:middle;display:inline-flex;align-items:center;text-decoration:none;border:1px solid #bababa;border-radius:3px;white-space:nowrap;color:#555d66;font-size:13px;margin:0 15px 0 15px;padding:9px 12px;background:transparent;cursor:pointer;-webkit-appearance:none;transition:400ms}#redux-templatesImportCollectionBtn svg{height:16px;width:16px;margin-right:8px}#redux-templatesImportCollectionBtn svg *{stroke:#555d66;fill:#555d66;stroke-width:0}#redux-templatesImportCollectionBtn:hover,#redux-templatesImportCollectionBtn:focus,#redux-templatesImportCollectionBtn:active{text-decoration:none;border:1px solid #191e23;color:#191e23}#redux-templatesImportCollectionBtn:hover svg *,#redux-templatesImportCollectionBtn:focus svg *,#redux-templatesImportCollectionBtn:active svg *{stroke:#191e23 !important;fill:#191e23 !important;stroke-width:0}.redux-templates-editor-btn{background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-appearance:button;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.redux-templates-editor-btn::-moz-focus-inner{border:0;padding:0}.d-flex{display:flex}.justify-content-center{justify-content:center}.redux-css-editor{border:1px solid #e2e4e7;margin-bottom:20px}.redux-css-editor-help{background:#f7f7f7;padding:20px}\n",""])},357:function(e,t,n){var r=n(358);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},358:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".redux-templates-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,0.6);display:flex;align-items:center;justify-content:center;z-index:600000}.redux-templates-modal-wrapper{width:550px;height:400px;background:#fcfcfc;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:0 5px 15px rgba(0,0,0,0.7)}.redux-templates-modal-wrapper div{width:100%}.redux-templates-modal-wrapper .redux-templates-modal-header{border-bottom:1px solid #ddd;flex:0 0 60px;padding:10px 15px;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box}.redux-templates-modal-wrapper .redux-templates-modal-header h3{margin:0;font-size:1.2rem}.redux-templates-modal-wrapper .redux-templates-modal-header button{border:none;cursor:pointer}.redux-templates-modal-wrapper .redux-templates-modal-header .redux-templates-modal-close{font-size:20px;background:transparent;color:#9b9b9b}.redux-templates-modal-wrapper .redux-templates-modal-body{flex:1 1 auto;padding-left:30px;padding-right:30px;box-sizing:border-box;background:#fff;position:relative}.redux-templates-modal-wrapper .redux-templates-modal-body h5{font-size:1.1em;font-weight:600}.redux-templates-modal-wrapper .redux-templates-modal-body ul{list-style-position:inside;list-style-type:disc}.redux-templates-modal-wrapper .redux-templates-modal-body .error{color:#f00}.redux-templates-modal-wrapper .redux-templates-modal-footer{border-top:1px solid #ddd;flex:0 0 60px;align-items:center;display:flex;padding:0 20px;box-sizing:border-box}.redux-templates-modal-wrapper .redux-templates-modal-footer .button{margin-right:20px;cursor:pointer}.redux-templates-modal-wrapper .redux-templates-modal-footer i.fas{margin-right:3px}.redux-templates-modal-wrapper .redux-templates-modal-spinner-wrapper{flex:1 1 auto;align-items:center;justify-content:center;display:flex}\n",""])},359:function(e,t,n){var r=n(360);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},360:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".redux-templates-modal-wrapper .redux-templates-modal-body{flex:1 1 auto;padding-left:30px;padding-right:30px;box-sizing:border-box;background:#fff}.redux-templates-modal-wrapper .redux-templates-modal-body h5{font-size:1.1em;font-weight:600}.redux-templates-modal-wrapper .redux-templates-modal-body ul{list-style-position:inside;list-style-type:disc}.redux-templates-modal-wrapper .redux-templates-modal-body ul.redux-templates-import-wizard-missing-dependency li{line-height:1.8}.redux-templates-modal-wrapper .redux-templates-modal-body .error{color:#f00}.redux-templates-modal-wrapper .redux-templates-import-wizard-spinner-wrapper{position:absolute;width:calc(100% - 60px);height:100%;flex:1 1 auto;align-items:center;justify-content:center;display:flex;flex-direction:column}.redux-templates-modal-wrapper .redux-templates-import-wizard-spinner-wrapper .text-transition{text-align:center;font-size:18px;color:#555d66;margin-bottom:20px}.redux-templates-modal-wrapper .redux-templates-import-progress{font-size:1.1em;text-align:center}.redux-templates-modal-wrapper .redux-templates-import-progress li{list-style:none}.redux-templates-modal-wrapper .redux-templates-import-progress li.success i{color:#46b450}.redux-templates-modal-wrapper .redux-templates-import-progress li.failure i{color:#dc3232}.redux-templates-modal-wrapper .redux-templates-import-progress li.info i{color:#00a0d2}.redux-templates-modal-wrapper .redux-templates-import-progress{width:50%;margin:10px auto}.redux-templates-modal-wrapper .redux-templates-import-progress li{display:flex;justify-content:space-between}.redux-templates-modal-wrapper .section-box.premium-box{margin:35px auto;text-align:center}.redux-templates-modal-wrapper .section-box.premium-box h3{font-size:1.5em;line-height:1.1em;margin-top:0px}.redux-templates-modal-wrapper .section-box.premium-box p{font-size:calc(13px + 0.2vw)}.redux-templates-modal-wrapper .section-box.premium-box ul{width:50%;margin:0 auto;text-align:left;list-style-type:disc;list-style-position:inside}.redux-templates-modal-wrapper .section-box.premium-box .redux-templates-upgrade-button{border:none;border-radius:4px;cursor:pointer;opacity:1;background:#24b0a6;transition:opacity 0.2s ease-in-out;box-shadow:none !important;color:#fff;text-decoration:none;padding:0.75em 1.25em;display:block;margin:30px auto 0 auto;max-width:200px;text-align:center;font-size:1em}.redux-templates-modal-wrapper .section-box.premium-box .redux-templates-upgrade-button:hover{color:#fff;opacity:0.85;box-shadow:none !important;background:#19837c}.redux-templates-modal-wrapper .redux-templates-importmodal-content{flex:1;display:flex;flex-direction:column}.text-transition{width:100% !important;text-align:center}.text-transition .text-transition_inner>div{font-size:1.1rem}\n",""])},361:function(e,t,n){var r=n(362);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},362:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".wp-full-overlay{margin-left:300px}@media screen and (min-width: 1667px){.wp-full-overlay{margin-left:18%}}button{box-sizing:border-box;pointer-events:all}.wp-full-overlay.hide{display:none}.theme-screenshot-wrap{overflow:hidden;position:relative;max-height:300px;margin:15px 0;border:1px solid #ccc}.install-theme-info{padding-bottom:0px}.install-theme-info h3 a{float:right;opacity:0.6}.install-theme-info h3 a:hover{opacity:1}.install-theme-info .theme-screenshot{width:100% !important;border:none !important;margin:0 !important;display:block}.expanded .wp-full-overlay-footer{height:111px !important;left:initial}.expanded .wp-full-overlay-footer .button-hero{text-align:center}.wp-full-overlay .wp-full-overlay-sidebar-content{bottom:100px}.wp-full-overlay .wp-full-overlay-sidebar-content .redux-templates-dependencies-list{border-top:1px solid #eee;color:#82878c;font-size:13px;font-weight:400;margin:30px 0 0 0}.wp-full-overlay .wp-full-overlay-sidebar-content .redux-templates-dependencies-list h4{color:#23282d;font-size:1.1em;text-align:center}.wp-full-overlay .wp-full-overlay-sidebar-content .redux-templates-dependencies-list .redux-templates-dependency-blocks .redux-templates-dependency-name{color:#444;font-weight:600;margin-right:5px}.footer-import-button-wrap{padding:10px 20px;display:flex;justify-content:center}.wp-full-overlay-footer .view-site,.wp-full-overlay-footer .go-pro,.wp-full-overlay-footer .redux-templates-import{width:100%}.redux-templates-button-download{border:1px solid #3dbfe8;background:#3dbfe8;box-shadow:0 1px 0 #165cb4;color:#fff}.wp-full-overlay-main{left:0;right:0;top:0;bottom:0;height:100%;-webkit-transition:background-color 1000ms linear;-ms-transition:background-color 1000ms linear;transition:background-color 1000ms linear;background-color:unset}.wp-full-overlay-main.loaded::before{display:none !important}.wp-full-overlay-main.loaded iframe{background-color:#fff}.wp-full-overlay-main .components-spinner{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%)}.theme-install-overlay iframe{height:100%;width:100%;z-index:20;transition:opacity 0.3s}.redux-templates-dependency-blocks{display:flex}.redux-templates-dependency-blocks .block-head{text-align:center;width:60px;margin-right:10px}.requirements-list{width:100%}.requirements-list ul{margin:0;padding:0;list-style:none}.requirements-list ul li{cursor:pointer;line-height:20px;padding-bottom:25px;clear:left;transition:300ms}.requirements-list ul li svg{margin-right:5px}.requirements-list ul li svg *{fill:#9a9a9a}.requirements-list ul li svg,.requirements-list ul li span,.requirements-list ul li div{float:left}.requirements-list ul li .redux-icon-wrapper{display:inline}.requirements-list ul li span.pluginURL{float:right}.requirements-list ul li i{font-size:1.1em}.requirements-list ul li .redux-icon-wrapper{padding-left:5px}.requirements-list ul li i.fa-exclamation-triangle{font-size:0.9em;line-height:1.5em;color:#b27823}.requirements-list ul li:hover svg *{fill:dimgray}.requirements-list ul li:hover i.fa-exclamation-triangle{color:#f5a623}.redux-block-pills ul{margin:0;padding:0}.redux-block-pills ul li{margin:0px 5px 10px 0;float:left}.redux-block-pills ul li span{--bg-opacity: 1 !important;background-color:#edf2f7 !important;background-color:rgba(237, 242, 247, var(--bg-opacity)) !important;border-radius:9999px !important;padding-top:0.25rem !important;padding-bottom:0.25rem !important;padding-left:0.75rem !important;padding-right:0.75rem !important;--text-opacity: 1 !important;color:#4a5568 !important;color:rgba(74, 85, 104, var(--text-opacity)) !important}.redux-templates-modal-preview-box{background:#f1f1f1}.redux-templates-modal-preview-box img{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);max-width:100%;max-height:100%}.theme-hash{text-align:center;font-size:14px;position:relative}.theme-hash i{cursor:pointer;margin-right:5px;margin-left:5px}.theme-hash .copied{color:#656a6f;position:absolute;line-height:75%;margin-left:10px;opacity:0.6}.theme-hash .the-copy{border-bottom-right-radius:0 !important;border-top-right-radius:0 !important}.theme-hash .the-hash{border-bottom-left-radius:0 !important;border-top-left-radius:0 !important;border-left:0 !important}.theme-hash .hideMe{-webkit-animation:cssAnimation 3s forwards;animation:cssAnimation 3s forwards}@keyframes cssAnimation{0%{opacity:1}90%{opacity:1}100%{opacity:0}}@-webkit-keyframes cssAnimation{0%{opacity:1}90%{opacity:1}100%{opacity:0}}\n",""])},4:function(e,t){e.exports=wp.components},40:function(e,t){e.exports=lodash},527:function(e,t,n){var r=n(528);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},528:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,'.redux-templates-collection-modal-sidebar{min-width:270px;background:#fff;color:#32373c;border-right:1px solid #e2e4e7;overflow-y:auto}.redux-templates-collection-modal-sidebar .redux-templates-template-filter-button-group{margin:10px 0;border-bottom:1px solid #e2e4e7;width:100%;display:inline-flex}.redux-templates-collection-modal-sidebar .redux-templates-template-filter-button-group button{font-weight:500;flex-grow:1;min-width:30%;line-height:20px;padding:8px 0 10px 15px;align-items:center;text-align:left;background:none;position:relative;margin-bottom:-1px;border-width:0;z-index:1;cursor:pointer;outline:none;border-color:transparent;box-shadow:none;border-bottom:unset}.redux-templates-collection-modal-sidebar .redux-templates-template-filter-button-group button::after{content:attr(data-label);display:block;height:0;overflow:hidden;speak:none;visibility:hidden}.redux-templates-collection-modal-sidebar .redux-templates-template-filter-button-group button:hover{color:#007cba;color:var(--wp-admin-theme-color)}.redux-templates-collection-modal-sidebar .redux-templates-template-filter-button-group button:focus{box-shadow:inset 0 0 0 1.5px #007cba;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color)}.redux-templates-collection-modal-sidebar .redux-templates-template-filter-button-group button.active{box-shadow:inset 0 0 0 1.5px transparent, inset 0 -4px 0 0 #007cba;box-shadow:inset 0 0 0 1.5px transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color)}.redux-templates-collection-modal-sidebar .redux-templates-template-filter-button-group button.active::before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:4px solid transparent}.redux-templates-collection-modal-sidebar .redux-templates-template-filter-button-group button.active:focus{box-shadow:inset 0 0 0 1.5px #007cba, inset 0 -4px 0 0 #007cba;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.redux-templates-collection-modal-sidebar .redux-templates-template-filter-button-group button.disabled{opacity:0.4}.redux-templates-collection-modal-sidebar .redux-templates-template-filter-button-group button img{display:inline-block;width:auto;height:14px;margin-right:4px}.redux-templates-collection-modal-sidebar .redux-templates-template-filter-button-group button:last-child img{margin-bottom:-2px}.redux-templates-collection-modal-sidebar .redux-templates-modal-sidebar-content{padding:0 15px 15px}.redux-templates-collection-modal-sidebar .redux-templates-modal-sidebar-content h3{margin:5px 12px 10px 0;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.redux-templates-collection-modal-sidebar .redux-templates-modal-sidebar-content ul{list-style:unset;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0 15px 15px 15px;padding:0}.redux-templates-collection-modal-sidebar .redux-templates-modal-sidebar-content ul li{display:block;font-size:13px;cursor:pointer;height:auto;-webkit-transition:height 0.5s linear;-moz-transition:height 0.5s linear;-ms-transition:height 0.5s linear;-o-transition:height 0.5s linear;transition:height 0.5s linear}.redux-templates-collection-modal-sidebar .redux-templates-modal-sidebar-content ul li .redux-icon-wrapper{margin-left:10px}.redux-templates-collection-modal-sidebar .redux-templates-modal-sidebar-content ul li:not(.disabled):hover{color:#007cba;color:var(--wp-admin-theme-color)}.redux-templates-collection-modal-sidebar .redux-templates-modal-sidebar-content ul li.active{color:#007cba;color:var(--wp-admin-theme-color);text-shadow:0 0 0.5px #007cba;text-shadow:0 0 0.5px var(--wp-admin-theme-color)}.redux-templates-collection-modal-sidebar .redux-templates-modal-sidebar-content ul li.disabled{display:none;height:0px;-webkit-transition:height 0.5s linear;-moz-transition:height 0.5s linear;-ms-transition:height 0.5s linear;-o-transition:height 0.5s linear;transition:height 0.5s linear}.redux-templates-collection-modal-sidebar .redux-templates-modal-sidebar-content ul li span{float:right}.redux-templates-collection-modal-sidebar .redux-templates-modal-sidebar-content ul li.missing-dependency i.fa-exclamation-triangle{color:#b27823}.redux-templates-collection-modal-sidebar .redux-templates-modal-sidebar-content ul li.missing-dependency:hover i.fa-exclamation-triangle{color:#f5a623}.redux-templates-collection-modal-sidebar .redux-templates-modal-sidebar-content ul li.missing-dependency.active i.fa-exclamation-triangle{color:#f5a623}.redux-templates-collection-modal-sidebar ul.redux-templates-sidebar-dependencies li .components-base-control{display:inline-block;margin-bottom:0 !important}.redux-templates-collection-modal-sidebar ul.redux-templates-sidebar-dependencies li .components-base-control .components-base-control__field{margin-bottom:3px}.redux-templates-collection-modal-sidebar ul.redux-templates-sidebar-dependencies li .components-base-control span{float:none}.redux-templates-collection-modal-sidebar .redux-templates-select-actions{margin:0 0 10px 15px;display:inline-flex}.redux-templates-collection-modal-sidebar .redux-templates-select-actions i.challenge-dot{margin-left:10px}.redux-templates-collection-modal-sidebar .redux-templates-select-actions.disabled a{pointer-events:none;cursor:default;text-decoration:none;opacity:0.6}.redux-templates-collection-modal-sidebar .redux-templates-sidebar-dependencies li a{display:inline-block;margin-left:10px}.redux-templates-collection-modal-sidebar #redux-templates-filter-dependencies h3{margin-top:0;padding-top:3px}\n',""])},529:function(e,t,n){var r=n(530);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},530:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".redux-templates-template-filters .is-active{background:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff}.redux-templates-template-filters .components-button:focus:not(:disabled):not(.is-active){background:transparent;box-shadow:none;color:#555d66}.refresh-library{margin-right:10px}.tour-icon{font-size:18px}\n",""])},531:function(e,t,n){var r=n(532);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},532:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".action-buttons span,.action-buttons a{display:inline-block;padding:0 12px 2px;margin:2px;height:33px;line-height:32px;font-size:13px;color:#353535;border:1px solid #f7f7f7;background:#f7f7f7;box-shadow:0 1px 2px #ddd;vertical-align:top;border-radius:3px;text-decoration:none;cursor:pointer;-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.action-buttons span:hover,.action-buttons a:hover{box-shadow:0 1px 2px #ccc;background:#f1f1f1}.action-buttons span i,.action-buttons a i{font-size:10px;margin-right:4px}.action-buttons span{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;color:#fff;text-decoration:none;text-shadow:0 -1px 1px #005d82, 1px 0 1px #005d82, 0 1px 1px #005d82, -1px 0 1px #005d82}.action-buttons a.redux-templates-button-download{border:1px solid #f5a623;background:#f5a623;box-shadow:0 1px 0 #165cb4;color:#fff}.action-buttons .redux-templates-button-download{margin-left:5px}.action-buttons i.challenge-dot{margin-top:10px;margin-left:5px}\n",""])},533:function(e,t,n){var r=n(534);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},534:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".redux-templates-button-display-dependencies{display:flex;justify-content:center;margin:10px}.redux-templates-button-display-dependencies span svg{margin-right:5px;cursor:pointer}.redux-templates-button-display-dependencies span svg *{fill:#f7f7f7}.redux-templates-button-display-dependencies span.missing-dependency svg *{fill:rgba(247,247,247,0.5)}\n",""])},535:function(e,t,n){var r=n(536);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},536:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".redux-templates-import-button-group{text-align:center}.redux-templates-import-button-group.disabled span a{cursor:default;opacity:0.8}.redux-templates-single-section-item{margin-bottom:15px}.redux-templates-single-section-item .redux-templates-import-button-group{margin-top:10%}\n",""])},537:function(e,t,n){var r=n(538);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},538:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".redux-templates-single-section-item .block-editor-block-preview__container{margin:0 auto;min-height:130px}\n",""])},539:function(e,t,n){var r=n(540);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},540:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".redux-templates-single-section-item{box-shadow:0px 2px 6px rgba(0,0,0,0.2);margin-bottom:30px;transition:all 0.05s ease-in-out}.redux-templates-single-section-item .redux-templates-tmpl-title{background:rgba(255,255,255,0.95);border-top:1px solid #f2f4f7;position:absolute;bottom:0;width:100%;margin:0;color:#23282d;padding:13px 15px;font-size:15px}.redux-templates-single-section-item .redux-templates-single-item-inner{position:relative;overflow:hidden;background:#999}.redux-templates-single-section-item .redux-templates-single-item-inner .warn_notice{color:#fbbc0e;font-weight:bold;margin-bottom:15px;font-size:14px;opacity:0;text-align:center}.redux-templates-single-section-item .redux-templates-single-item-inner .redux-templates-default-template-image{max-height:350px;min-height:100px;transition:300ms}#collections-sections-list.large>div{width:50%}#collections-sections-list.small>div{width:25%}\n",""])},541:function(e,t,n){var r=n(542);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},542:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".redux-templates-multiple-template-box{margin-bottom:25px;position:relative;transition:all 0.05s ease-in-out}.redux-templates-multiple-template-box img{transition:all 0.05s ease-in-out}.redux-templates-multiple-template-box .redux-templates-box-shadow{transition:all 0.05s ease-in-out;box-shadow:0px 2px 6px rgba(0,0,0,0.1)}.redux-templates-multiple-template-box .redux-templates-default-template-image .imageloader-loaded{overflow:hidden}.redux-templates-multiple-template-box .multiple-template-view{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,0.05),0 10px 0 -5px #fff,0 10px 1px -4px rgba(0,0,0,0.08),0 20px 0 -10px #fff,0 20px 1px -9px rgba(0,0,0,0.08);cursor:pointer;min-height:100px}.redux-templates-multiple-template-box .redux-templates-import-button-group{margin-top:15%}.redux-templates-multiple-template-box .redux-templates-tmpl-info{padding:10px 12px;position:absolute;bottom:0;width:100%;background:rgba(255,255,255,0.95);border-top:1px solid #f2f4f7;transition:all 0.2s ease-in-out}.redux-templates-multiple-template-box .redux-templates-tmpl-info h5{margin:0;font-size:14px;color:#23282d;line-height:19px}.redux-templates-multiple-template-box .redux-templates-tmpl-info h5 span{font-size:13px;color:#cdcfd1;line-height:18px}.redux-templates-multiple-template-box .redux-templates-button-overlay{width:100%;height:100%;position:absolute;top:0;left:0;border-radius:0px;opacity:0;-webkit-transition:opacity 0.2s ease-in-out;transition:opacity 0.2s ease-in-out;box-sizing:border-box}.redux-templates-multiple-template-box::before{z-index:2}.redux-templates-multiple-template-box::after{z-index:1}.redux-templates-multiple-template-box .redux-templates-button-overlay{background:rgba(0,0,0,0.5);position:absolute;height:100%;width:100%;opacity:0}.redux-templates-multiple-template-box:hover .redux-templates-box-shadow{box-shadow:0px 2px 6px rgba(0,0,0,0.3)}.redux-templates-multiple-template-box:hover .multiple-template-view{border-color:transparent}.redux-templates-multiple-template-box:hover .redux-templates-tmpl-info{border-top-color:transparent;background:#fff}.redux-templates-multiple-template-box:hover .redux-templates-button-overlay{opacity:1}.redux-templates-multiple-template-box:hover img{filter:blur(2px)}\n",""])},543:function(e,t,n){var r=n(544);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},544:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".tablenav-pages{display:flex;justify-content:center;align-items:center;margin-bottom:20px}.tablenav-pages span.displaying-num{margin-right:20px}.tablenav-pages #table-paging{margin-left:10px;margin-right:10px}.tablenav-pages #table-paging span{line-height:30px}.tablenav-pages span.tablenav-pages-navspan.button{cursor:pointer;margin:0 2px}.tablenav-pages span.tablenav-pages-navspan.button.disabled{cursor:default}\n",""])},545:function(e,t,n){var r=n(546);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},546:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,"#collections-sections-list{width:100%;display:flex;flex-wrap:wrap;padding:10px 10px 0 10px}#collections-sections-list>div{width:33.3333%;padding:15px;position:relative}@media (max-width: 1199px){#collections-sections-list>div{width:50%}}#collections-sections-list>div.redux-templates-builder-template-found-empty{width:100%;text-align:center;opacity:0.5;border:none !important;padding-top:70px !important}#collections-sections-list.redux-templates-frontend-section-list{display:block;padding-bottom:10px;padding-top:0px}#collections-sections-list.redux-templates-frontend-section-list>div{width:100%;display:flex;flex-wrap:nowrap;border-bottom:1px solid #e2e4e7;font-weight:600;padding:12px 0 12px 15px;margin-bottom:0;align-items:center}#collections-sections-list.redux-templates-frontend-section-list>div.redux-templates-reusable-list-title{color:#adafb2}#collections-sections-list.redux-templates-frontend-section-list>div:first-child{border-top:1px solid #e2e4e7}#collections-sections-list.redux-templates-frontend-section-list>div .redux-templates-reusable-list-content{flex-grow:1}#collections-sections-list.redux-templates-frontend-section-list>div .redux-templates-reusable-list-info{flex-grow:1;max-width:165px;display:flex;flex-wrap:nowrap}#collections-sections-list.redux-templates-frontend-section-list>div .redux-templates-reusable-list-button{margin-left:30px}#collections-sections-list.redux-templates-frontend-section-list>div .redux-templates-reusable-list-button button{display:inline-block;padding:0;border:none;transition:300ms;cursor:pointer;background-color:transparent}#collections-sections-list.redux-templates-frontend-section-list>div .redux-templates-reusable-list-button button:not(:last-child){margin-right:10px}#collections-sections-list.redux-templates-frontend-section-list>div .redux-templates-reusable-list-button button i{font-size:16px;color:#cdcfd1}#collections-sections-list.redux-templates-frontend-section-list>div .redux-templates-reusable-list-button button:hover i{color:#007cba}#collections-sections-list.redux-templates-frontend-section-list>div .redux-templates-reusable-list-button button:last-child:hover i{color:#f00}#collections-sections-list .redux-templates-pagelist-column.loading{height:100px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px rgba(0,0,0,0.05)}\n",""])},547:function(e,t,n){var r=n(548);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},548:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,'.redux-templates-collection-details-view{padding:40px 22.5px 60px;width:100%;justify-content:center;position:relative;display:flex}.redux-templates-collection-details-view .redux-templates-collection-details-left{width:600px;margin:0 37px 0 17px}.redux-templates-collection-details-view .redux-templates-collection-details-left .details-back{height:32px;line-height:20px;color:#818a91;font-size:15px;font-weight:600;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;margin-bottom:20px;-webkit-transition:color 0.1s ease;transition:color 0.1s ease}.redux-templates-collection-details-view .redux-templates-collection-details-left .details-preview{background-position:center top;background-size:contain;width:100%;background-repeat:no-repeat;transition:background 1.5s ease;height:84.71%}.redux-templates-collection-details-view .redux-templates-collection-details-left .details-preview.has_full{transition:background-position 1.5s linear;background-position:center top;background-size:cover;width:100%;background-repeat:no-repeat;-webkit-box-shadow:0 1px 5px 0 rgba(0,0,0,0.1);box-shadow:0 1px 5px 0 rgba(0,0,0,0.1)}.redux-templates-collection-details-view .redux-templates-collection-details-left .details-preview.has_full:hover{background-position:center bottom;background-size:cover}.redux-templates-collection-details-view .redux-templates-collection-details-right{width:520px}.redux-templates-collection-details-view .redux-templates-collection-details-right .details-title{height:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:2px 25px 0 10px;margin-bottom:20px}.redux-templates-collection-details-view .redux-templates-collection-details-right .details-title h3{color:rgba(3,8,15,0.92);font-size:28px;font-weight:600;line-height:34px;margin:0}.redux-templates-collection-details-view .redux-templates-collection-details-right .details-title span{color:#818a91;font-size:13px;font-weight:600;line-height:16px}.redux-templates-collection-details-view .redux-templates-collection-details-right .details-list{height:84.71%}.redux-templates-collection-details-view .redux-templates-collection-details-right .details-list .details-inner{height:100%;overflow-y:auto}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select{width:150px;height:150px;overflow:hidden;margin:0 8px 15px;-webkit-box-shadow:0 1px 5px 0 rgba(0,0,0,0.1);box-shadow:0 1px 5px 0 rgba(0,0,0,0.1);position:relative;display:inline-block;cursor:pointer;-webkit-transition:all 0.1s ease-in-out;transition:all 0.1s ease-in-out}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select::before,.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select::after{content:"";width:100%;height:100%;position:absolute;top:0;left:0;pointer-events:none;opacity:0;box-sizing:border-box}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select::before{opacity:0.7;z-index:2}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select::after{opacity:0.7;z-index:1}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select .detail-image{width:100%;height:150px;background-repeat:no-repeat;background-size:cover;border:1px solid #ececec;position:relative}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select .detail-image .pro,.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select .detail-image .install{position:absolute;background:#f00;padding:2px 3px;border-radius:3px;color:#fff;font-size:9px;right:5px;top:5px;text-transform:uppercase;line-height:1}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select .detail-image .pro{background:#f00}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select .detail-image .install{background:#f2a848}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select .detail-label{border-top:1px solid #f2f4f7;width:100%;height:30px;opacity:1;background-color:rgba(255,255,255,0.9);position:absolute;bottom:0;left:0;color:#23282d;font-family:pn, "Open Sans", Arial, sans-serif;font-size:13px;font-weight:600;line-height:30px;padding-left:10px}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select:hover{-webkit-box-shadow:0 2px 6px rgba(0,0,0,0.2);box-shadow:0 2px 6px rgba(0,0,0,0.2)}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select:hover::before,.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select:hover::after{opacity:1}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select.detail-select-active{-webkit-box-shadow:0 2px 6px rgba(0,0,0,0.3)}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select.detail-select-active::before,.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select.detail-select-active::after,.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select.detail-select-active .detail-label{opacity:1}.redux-templates-collection-details-view .redux-templates-collection-details-right .detail-select.detail-select-active::before{border:3px solid #24b0a6}.redux-templates-collection-details-view .redux-templates-collection-details-footer{width:100%;height:60px;background:#fff;position:absolute;bottom:0;left:0;z-index:2}.redux-templates-collection-details-view .redux-templates-collection-details-footer .footer-grid{width:100%;padding:0 10px;height:100%;margin:auto;display:flex;align-items:center;justify-content:flex-end}.redux-templates-collection-details-view .redux-templates-collection-details-footer .import-button{margin-left:11.5px;background-color:#3dbfe8;color:#fff;font-family:pn, "Open Sans", Arial, sans-serif;font-size:15px;font-weight:600;line-height:18px;padding:9px 32px;border-radius:3px;cursor:pointer;-webkit-transition:background-color 150ms linear;transition:background-color 150ms linear}.redux-templates-collection-details-view .redux-templates-collection-details-footer .import-button:hover{background:rgba(61,191,232,0.8)}\n',""])},549:function(e,t,n){var r=n(550);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},550:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,'.redux-templates-two-sections{position:absolute;width:85.9375%;height:89.537037%;max-width:1650px;max-height:967px;top:0;right:0;bottom:0;left:0;margin:auto;border-radius:5px;overflow:hidden;-webkit-box-shadow:0 45px 10px rgba(3,8,15,0.2);box-shadow:0 0 45px 10px rgba(3,8,15,0.2)}.redux-templates-two-sections__grid{width:100%;height:100%;padding:40px 22.5px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.redux-templates-two-sections__grid__column{width:100%}.redux-templates-two-sections__grid-clear{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%}.redux-templates-two-sections__grid-clear-text{opacity:0.9;color:#818a91;font-family:pn, "Open Sans", Arial, sans-serif;font-size:14px;font-weight:600;line-height:17px;margin:0 0 20px}.redux-templates-two-sections__grid-clear-image-saved{width:322px;height:145px;margin-top:-21px;pointer-events:none}.redux-templates-two-sections__grid-clear-image-global{width:524px;height:207px;margin-top:-28px;pointer-events:none}.redux-templates-two-section{position:relative;margin:0 17.5px 35px;cursor:pointer;outline:3px solid transparent;-webkit-transition:outline 0.3s ease-in-out;transition:outline 0.3s ease-in-out;-webkit-box-shadow:0 1px 5px 0 rgba(0,0,0,0.1);box-shadow:0 1px 5px 0 rgba(0,0,0,0.1);border-radius:3px}.redux-templates-two-section:last-child{margin-bottom:0}.redux-templates-two-section .redux-templates-two-section-remove{position:absolute;z-index:4;top:-7px;right:-7px;opacity:0;-webkit-transform:scale(0.7);transform:scale(0.7);-webkit-transition:opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out, opacity 0.3s ease-in-out;transition:transform 0.3s ease-in-out, opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;width:28px;height:28px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;border-radius:28px;background-color:#fff;color:#03080f;-webkit-box-shadow:0 0 2px 0 rgba(0,0,0,0.25);box-shadow:0 0 2px 0 rgba(0,0,0,0.25);cursor:pointer}.redux-templates-two-section:hover .redux-templates-two-section-remove{opacity:1;-webkit-transform:scale(1);transform:scale(1);-webkit-transition:opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out, opacity 0.3s ease-in-out;transition:transform 0.3s ease-in-out, opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out}.redux-templates-two-section:hover .redux-templates-two-section-remove:hover{color:#f00}.redux-templates-two-section:hover .redux-templates-two-section-item::before{border-color:#3dbfe8}.redux-templates-two-section:hover .redux-templates-two-section-item::after{border-color:#ececec}.redux-templates-two-section .preview-image-wrapper{transition:all 0.05s ease-in-out;width:100%;min-height:130px;max-height:300px;overflow:hidden}.redux-templates-two-section .preview-image-wrapper img{animation-name:fadeIn;animation-fill-mode:both;animation-delay:200ms;animation-duration:200ms;width:100%;height:auto}.redux-templates-two-section .saved-section-title{border-top:1px solid #f2f4f7;background:rgba(255,255,255,0.9);position:absolute;bottom:0;width:100%;margin:0;color:#23282d;padding:13px 15px;font-size:15px;text-align:center;display:flex;justify-content:center;align-items:center}.no-section{display:flex;width:100%;align-items:center;justify-content:center;font-size:16px}.preview-image-wrapper .block-editor-block-preview__container{transition:all 0.05s ease-in-out;background:#fff;margin:0 auto;min-height:130px}\n',""])},553:function(e,t,n){var r=n(554);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},554:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,'.redux-templates-error-notice .components-notice{display:flex;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;font-size:13px;background-color:#e5f5fa;border-left:4px solid #00a0d2;margin:5px 15px 2px;padding:8px 12px;align-items:center;position:absolute;height:50px;z-index:9999;width:50%;right:0;top:70px;transition:opacity 2s linear}.redux-templates-error-notice .components-notice.is-dismissible{padding-right:0}.redux-templates-error-notice .components-notice.is-success{border-left-color:#4ab866;background-color:rgba(74,184,102,0.95)}.redux-templates-error-notice .components-notice.is-warning{border-left-color:#f0b849;background-color:rgba(254,248,238,0.95)}.redux-templates-error-notice .components-notice.is-error{border-left-color:#d94f4f;background-color:rgba(249,226,226,0.95)}\n',""])},555:function(e,t,n){var r=n(556);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},556:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,'.challenge-popup-wrapper{height:500px;border-radius:10px}.challenge-popup-header{width:100%;height:212px;border-top-left-radius:8px;border-top-right-radius:8px}.challenge-popup-header-congrats{background-position:center;background-size:cover}.challenge-popup-header-contact{background-position:center;background-size:auto 75%;background-color:#eee;background-repeat:no-repeat}.challenge-popup-content{padding:30px 40px;-webkit-font-smoothing:antialiased}.challenge-popup-content h3{color:#24b0a6;margin:0 0 20px;font-size:24px;font-family:"Helvetica Neue";font-weight:500}.challenge-popup-content p{font-size:16px;margin:0 0 22px}.challenge-popup-content b{font-weight:500}.challenge-popup-content .challenge-contact-message{box-shadow:none;resize:none;margin-bottom:21px;width:100%;min-height:175px}.challenge-popup-content label{font-size:13.8px;display:block;margin-bottom:23px}.challenge-popup-content input[type="checkbox"]{margin-right:8px}.challenge-popup-content .rating-stars{color:#fdb72c;font-size:18px;font-weight:bold}.challenge-popup-close .fa-times{font-size:20px;color:#777;float:right;margin:15px;border-radius:50%;cursor:pointer}.challenge-popup-btn{display:inline-block;border-radius:2px;cursor:pointer;text-decoration:none;text-align:center;vertical-align:middle;white-space:nowrap;box-shadow:none;font-size:15px;font-weight:600;padding:14px 25px;border:1px solid #00a7e5;background-color:#24b0a6;color:#fff}.challenge-popup-btn:hover{border:1px solid #19837c;background-color:#19837c;color:#fff}.challenge-popup-btn .dashicons-external{margin-left:6px}.challenge-popup-content.challenge-contact p{font-size:14px}.challenge-popup-content.challenge-contact textarea{margin-bottom:10px}.challenge-popup-content.challenge-contact label{font-size:13px;margin-bottom:15px}\n',""])},557:function(e,t,n){var r=n(558);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},558:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".rtf{box-sizing:border-box;margin:25px;position:fixed;white-space:nowrap;z-index:9998;padding-left:0;list-style:none}.rtf.open .rtf--mb>*{transform-origin:center center;transform:none;transition:ease-in-out transform 0.2s}.rtf.open .rtf--mb>ul{list-style:none;margin:0;padding:0}.rtf.open .rtf--ab__c:hover>span{transition:ease-in-out opacity 0.2s;opacity:0.9}.rtf.open .rtf--ab__c>span.always-show{transition:ease-in-out opacity 0.2s;opacity:0.9}.rtf.open .rtf--ab__c:nth-child(1){transform:translateY(-60px) scale(1);transition-delay:0.03s}.rtf.open .rtf--ab__c:nth-child(1).top{transform:translateY(60px) scale(1)}.rtf.open .rtf--ab__c:nth-child(2){transform:translateY(-120px) scale(1);transition-delay:0.09s}.rtf.open .rtf--ab__c:nth-child(2).top{transform:translateY(120px) scale(1)}.rtf.open .rtf--ab__c:nth-child(3){transform:translateY(-180px) scale(1);transition-delay:0.12s}.rtf.open .rtf--ab__c:nth-child(3).top{transform:translateY(180px) scale(1)}.rtf.open .rtf--ab__c:nth-child(4){transform:translateY(-240px) scale(1);transition-delay:0.15s}.rtf.open .rtf--ab__c:nth-child(4).top{transform:translateY(240px) scale(1)}.rtf.open .rtf--ab__c:nth-child(5){transform:translateY(-300px) scale(1);transition-delay:0.18s}.rtf.open .rtf--ab__c:nth-child(5).top{transform:translateY(300px) scale(1)}.rtf.open .rtf--ab__c:nth-child(6){transform:translateY(-360px) scale(1);transition-delay:0.21s}.rtf.open .rtf--ab__c:nth-child(6).top{transform:translateY(360px) scale(1)}.rtf--mb__c{padding:25px;margin:-25px}.rtf--mb__c *:last-child{margin-bottom:0}.rtf--mb__c:hover>span{transition:ease-in-out opacity 0.2s;opacity:0.9}.rtf--mb__c>span.always-show{transition:ease-in-out opacity 0.2s;opacity:0.9}.rtf--mb__c>span{opacity:0;transition:ease-in-out opacity 0.2s;position:absolute;top:50%;transform:translateY(-50%);margin-right:6px;margin-left:4px;background:rgba(0,0,0,0.75);padding:2px 4px;border-radius:2px;color:#fff;font-size:13px;box-shadow:0 0 4px rgba(0,0,0,0.14),0 4px 8px rgba(0,0,0,0.28)}.rtf--mb__c>span.right{right:100%}.rtf--mb{height:56px;width:56px;z-index:9999;background-color:#666;display:inline-flex;justify-content:center;align-items:center;position:relative;border:none;border-radius:50%;box-shadow:0 0 4px rgba(0,0,0,0.14),0 4px 8px rgba(0,0,0,0.28);cursor:pointer;outline:none;padding:0;-webkit-user-drag:none;font-weight:bold;color:#f1f1f1;font-size:18px}.rtf--mb>*{transition:ease-in-out transform 0.2s}.rtf--ab__c{display:block;position:absolute;top:0;right:1px;padding:10px 0;margin:-10px 0;transition:ease-in-out transform 0.2s}.rtf--ab__c>span{opacity:0;transition:ease-in-out opacity 0.2s;position:absolute;top:50%;transform:translateY(-50%);margin-right:6px;background:rgba(0,0,0,0.75);padding:2px 4px;border-radius:2px;color:#fff;font-size:13px;box-shadow:0 0 4px rgba(0,0,0,0.14),0 4px 8px rgba(0,0,0,0.28)}.rtf--ab__c>span.right{right:100%}.rtf--ab__c:nth-child(1){transform:translateY(-60px) scale(0);transition-delay:0.21s}.rtf--ab__c:nth-child(1).top{transform:translateY(60px) scale(0)}.rtf--ab__c:nth-child(2){transform:translateY(-120px) scale(0);transition-delay:0.18s}.rtf--ab__c:nth-child(2).top{transform:translateY(120px) scale(0)}.rtf--ab__c:nth-child(3){transform:translateY(-180px) scale(0);transition-delay:0.15s}.rtf--ab__c:nth-child(3).top{transform:translateY(180px) scale(0)}.rtf--ab__c:nth-child(4){transform:translateY(-240px) scale(0);transition-delay:0.12s}.rtf--ab__c:nth-child(4).top{transform:translateY(240px) scale(0)}.rtf--ab__c:nth-child(5){transform:translateY(-300px) scale(0);transition-delay:0.09s}.rtf--ab__c:nth-child(5).top{transform:translateY(300px) scale(0)}.rtf--ab__c:nth-child(6){transform:translateY(-360px) scale(0);transition-delay:0.03s}.rtf--ab__c:nth-child(6).top{transform:translateY(360px) scale(0)}.rtf--ab{height:48px;width:48px;background-color:#aaa;display:inline-flex;justify-content:center;align-items:center;position:relative;border:none;border-radius:50%;box-shadow:0 0 4px rgba(0,0,0,0.14),0 4px 8px rgba(0,0,0,0.28);cursor:pointer;outline:none;padding:0;-webkit-user-drag:none;font-weight:bold;color:#f1f1f1;margin-right:4px;font-size:16px;z-index:10000}\n",""])},559:function(e,t,n){var r=n(560);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},560:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,'.redux-templates-collections-modal-body{display:flex;flex:1;overflow-y:auto}.redux-templates-builder-modal{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;display:flex;align-items:center;justify-content:center;pointer-events:none}.redux-templates-builder-modal.hidden{display:none}.redux-templates-builder-modal .wp-full-overlay-sidebar .wp-core-ui .button-group.button-hero .button,.redux-templates-builder-modal .wp-full-overlay-sidebar .wp-core-ui .button.button-hero{text-align:center !important}.redux-templates-builder-modal *{box-sizing:border-box;pointer-events:all}.redux-templates-builder-modal .redux-templates-pagelist-modal-overlay{position:absolute;width:100%;height:100%;background:#f00;left:0;top:0;z-index:-1;background:rgba(3,8,15,0.75)}.redux-templates-builder-modal .components-base-control__field{display:flex}.redux-templates-builder-modal textarea{width:100%;height:80px}.redux-templates-builder-modal .redux-icon-wrapper{display:inline-block}.redux-templates-builder-modal button.components-button{z-index:unset}.redux-templates-builder-modal-header{display:flex;border-bottom:1px solid #e2e4e7;background:#fff}.redux-templates-builder-modal-header .template-search-box{position:relative;width:270px}.redux-templates-builder-modal-header .template-search-box>div{padding:10px}.redux-templates-builder-modal-header .template-search-box i{font-size:13px;color:#757575;position:absolute;top:50%;right:30px;transform:translateY(-50%)}.redux-templates-builder-modal-header .template-search-box i.challenge-dot{right:20px;left:auto}.redux-templates-builder-modal-header .template-search-box i.clear-search{right:20px;left:auto;color:#fff;font-size:12px;display:none;cursor:pointer;padding:5px}.redux-templates-builder-modal-header .template-search-box input{display:block;width:100%;box-shadow:0 0 0 transparent;transition:box-shadow 0.1s linear;border-radius:2px;line-height:normal;display:block;padding:16px 48px 16px 16px;background:#f3f4f5;border:none;width:100%;height:40px;font-size:13px}.redux-templates-builder-modal-header .template-search-box input::-webkit-input-placeholder{color:#606a73;font-style:italic;opacity:1}.redux-templates-builder-modal-header .template-search-box input:-moz-placeholder{color:#606a73;font-style:italic;opacity:1}.redux-templates-builder-modal-header .template-search-box input::-moz-placeholder{color:#606a73;font-style:italic;opacity:1}.redux-templates-builder-modal-header .template-search-box input:-ms-input-placeholder{color:#606a73;font-style:italic;opacity:1}.redux-templates-builder-modal-header .template-search-box input:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);background:#fff;box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);outline:2px solid transparent}.redux-templates-builder-modal-header .template-search-box:hover .clear-search{display:block}.redux-templates-pagelist-modal-inner{position:relative;display:flex;flex-direction:column;overflow:hidden;background:#f1f1f1;width:85.9375%;height:89.537037%;max-width:1650px;max-height:967px;box-shadow:0 0 45px 10px rgba(3,8,15,0.2);animation:components-modal__appear-animation 0.1s ease-out;animation-fill-mode:forwards}.redux-templates-pagelist-modal-inner .redux-templates-collection-modal-content-area{flex-grow:1;max-height:100%;overflow-y:auto;position:relative}.redux-templates-template-list-header{text-align:center;position:relative;flex-grow:1;padding-right:50px}.redux-templates-template-list-header button:not(.redux-templates-builder-close-modal){flex-grow:1;line-height:28px;margin-top:6px;padding:14px 15px 13px 15px;text-align:left;font-weight:600;width:150px;align-items:center;background:none;position:relative;margin-bottom:-1px;border-width:0;z-index:1;cursor:pointer;outline:none;border-color:transparent;box-shadow:none;border-bottom:unset}.redux-templates-template-list-header button:not(.redux-templates-builder-close-modal)::after{content:attr(data-label);display:block;height:0;overflow:hidden;speak:none;visibility:hidden}.redux-templates-template-list-header button:not(.redux-templates-builder-close-modal):hover{color:#007cba;color:var(--wp-admin-theme-color)}.redux-templates-template-list-header button:not(.redux-templates-builder-close-modal):focus{box-shadow:inset 0 0 0 1.5px #007cba;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color)}.redux-templates-template-list-header button:not(.redux-templates-builder-close-modal).active{box-shadow:inset 0 0 0 1.5px transparent, inset 0 -4px 0 0 #007cba;box-shadow:inset 0 0 0 1.5px transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color)}.redux-templates-template-list-header button:not(.redux-templates-builder-close-modal).active::before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:4px solid transparent}.redux-templates-template-list-header button:not(.redux-templates-builder-close-modal).active:focus{box-shadow:inset 0 0 0 1.5px #007cba, inset 0 -4px 0 0 #007cba;box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.redux-templates-template-list-header button:not(.redux-templates-builder-close-modal).disabled{opacity:0.5}.redux-templates-template-list-header .redux-templates-builder-close-modal{position:absolute;top:0;right:0;width:60px;height:60px;margin:0;padding:0;border:1px solid transparent;background:none;font-size:15px;cursor:pointer;outline:none;transition:color 0.1s ease-in-out, background 0.1s ease-in-out}.redux-templates-template-list-header .redux-templates-builder-close-modal i{-webkit-text-stroke:1.2px #fff}.redux-templates-template-list-header .redux-templates-builder-close-modal svg{margin-top:4px}.redux-templates-template-list-header .redux-templates-builder-close-modal:hover,.redux-templates-template-list-header .redux-templates-builder-close-modal:active{color:#00a0d2}.redux-templates-template-list-header .redux-templates-builder-close-modal:focus{color:#00a0d2;border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,0.8);outline:2px solid transparent}.redux-templates-template-list-sub-header{display:flex;justify-content:space-between;align-items:center;padding:23px 25px 0}.redux-templates-template-list-sub-header h4{font-size:21px;color:#0e2244;font-weight:500;margin:0}.redux-templates-template-list-sub-header h4 i.challenge-dot{margin-left:10px}.redux-templates-template-list-sub-header .redux-templates-template-filters{display:flex;justify-content:space-between;align-items:center}.redux-templates-template-list-sub-header .redux-templates-template-filter-button-group{background:#f8fafb;display:inline-flex;border:1px solid #d8d8d8;border-radius:4px;margin-left:10px}.redux-templates-template-list-sub-header .redux-templates-template-filter-button-group button{display:inline-flex;line-height:28px;padding:5px 18px;align-items:center;background:none;border:none;color:#587e97;position:relative;z-index:1;cursor:pointer}.redux-templates-template-list-sub-header .redux-templates-template-filter-button-group button:focus{outline:none;box-shadow:0 0 0 1.5px #007cba;box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);outline:1px solid transparent}.redux-templates-template-list-sub-header .redux-templates-template-filter-button-group button:last-child{color:#f5a623}.redux-templates-template-list-sub-header .redux-templates-template-filter-button-group button.active{background:#f5a623;color:#fff}.redux-templates-template-list-sub-header .redux-templates-template-filter-button-group button.disabled{opacity:0.5}.redux-templates-template-list-sub-header .redux-templates-template-filter-button-group button img{display:inline-block;width:auto;height:14px;margin-right:4px}.redux-templates-template-list-sub-header .redux-templates-template-filter-button-group button:not(:last-child)::after{content:"";height:13px;background-color:#c4cbcf;width:1px;right:0px;top:50%;position:absolute;transform:translateY(-50%)}.redux-templates-template-list-sub-header .redux-templates-template-filter-button-group button.active::after{display:none}.redux-templates-template-list-sub-header .redux-templates-template-filter-button-group button::before{content:"";position:absolute;background:#f5a623;height:calc(100% + 4px);width:calc(100% + 4px);left:-2px;top:-2px;z-index:-1;border-radius:4px;box-shadow:0 0 4px rgba(33,32,249,0.3);opacity:0}.redux-templates-template-list-sub-header .redux-templates-template-filter-button-group button.active::before{opacity:1}.redux-templates-modal-loader{display:inline-block;position:absolute;width:80px;height:80px;line-height:80px;text-align:center;left:50%;margin-left:-50px;top:50%;margin-top:-50px;font-size:24px;color:#1e7ed8}.redux-templates-modal-loader img{height:80px;width:80px}.redux-templates-builder-template-found-empty{text-align:center;border-color:transparent !important}.redux-templates-builder-template-found-empty .redux-templates-builder-empty-title{display:block;width:100%}.redux-templates-pro-badge{position:absolute;background:rgba(255,0,0,0.75);cursor:pointer;padding:5px 6px;border-radius:3px;color:#fff;font-size:10px;right:20px;top:20px;line-height:1;transition:background 0.1s linear}.redux-templates-missing-badge{position:absolute;cursor:pointer;background:rgba(242,168,72,0.75);border-radius:3px;color:#fff;font-size:10px;right:20px;top:20px;line-height:1;transition:background 0.1s linear}.redux-templates-missing-badge i{margin:5px}.redux-templates-button-overlay .redux-templates-pro-badge{background:rgba(255,0,0,0.85)}.redux-templates-button-overlay .redux-templates-missing-badge{background:rgba(242,168,72,0.85)}.redux-templates-default-template-image{background:#888;transition:300ms}.redux-templates-default-template-image .imageloader-loaded{max-height:285px}.redux-templates-default-template-image img{width:100%;display:block}.redux-templates-item-wrapper{position:relative}.redux-templates-item-wrapper .redux-templates-button-overlay{position:absolute;width:100%;opacity:0;background:rgba(0,0,0,0.5);height:100%;top:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:300ms}.redux-templates-item-wrapper .redux-templates-button-overlay .redux-templates-tmpl-title{margin:0 0 15px;color:#fff;font-size:19px;font-weight:400}.redux-templates-item-wrapper.focused .redux-templates-button-overlay,.redux-templates-item-wrapper:hover .redux-templates-button-overlay{opacity:1}.redux-templates-item-wrapper.focused .redux-templates-default-template-image,.redux-templates-item-wrapper:hover .redux-templates-default-template-image{filter:blur(3px)}.redux-templates-item-wrapper.missing_requirements .warn_notice{opacity:1}.redux-templates-item-wrapper.missing_requirements .redux-templates-button-download{background-color:#fdbb05;background-image:none;border-color:#ffc107}.redux-templates-template-option-header{padding:20px 20px 0}.redux-templates-template-option-header .redux-templates-template-back{cursor:pointer}.redux-templates-template-option-header .redux-templates-template-back .dashicons{vertical-align:text-bottom}#wpwrap .edit-post-visual-editor .import-collection-btn-container{text-align:center;margin-top:20px}#wpwrap .edit-post-visual-editor .import-collection-btn-container #importCollectionBtn{color:#fff;font-size:13px}.redux-templates-template-back{cursor:pointer}.redux-templates-template-back .dashicons{vertical-align:text-bottom}.spinner-wrapper{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background:rgba(0,0,0,0.5)}\n',""])},561:function(e,t){e.exports=wp.hooks},562:function(e,t,n){var r=n(563);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},563:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".redux-template-library-block .components-placeholder__label svg{margin-right:8px}.redux-template-library-block button.components-button{height:auto;font-weight:600;text-transform:uppercase;font-size:13px;padding:11px 20px;background:#fff}.redux-templates-insert-library-button{margin-left:10px;margin-right:10px}.redux-templates-insert-library-button svg{width:20px;height:20px}.redux-insert-library-button{margin-left:10px;margin-right:10px}\n",""])},564:function(e,t,n){var r=n(565);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},565:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".redux-templates-challenge{display:block;position:fixed;right:1em;bottom:55px;max-width:277px;z-index:9999}.redux-templates-challenge p{font-size:14px;line-height:1.4;margin-top:0;color:#23282c}.redux-templates-challenge b{font-weight:500}.redux-templates-challenge.challenge-start{display:initial}@media all and (max-height: 900px){#challenge-contact-popup{margin:50px 0 20px}}.challenge-tooltip.tooltipster-sidetip{z-index:100100 !important}.challenge-tooltip.tooltipster-sidetip.tooltipster-top .tooltipster-box{margin-bottom:18px}.challenge-tooltip.tooltipster-sidetip.tooltipster-top .tooltipster-arrow{bottom:8px}.challenge-tooltip.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background{top:0}.challenge-tooltip.tooltipster-sidetip.tooltipster-right .tooltipster-box{margin-right:18px}.challenge-tooltip.tooltipster-sidetip.tooltipster-right .tooltipster-arrow{left:8px}.challenge-tooltip.tooltipster-sidetip .tooltipster-box{background:#fff;border:none;border-radius:4px;box-shadow:0 10px 35px 0 rgba(0,0,0,0.25);-webkit-box-shadow:0 10px 35px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 10px 35px 0 rgba(0,0,0,0.25)}.challenge-tooltip.tooltipster-sidetip .tooltipster-box .tooltipster-content{color:#444;padding:16px 20px 18px}.challenge-tooltip.tooltipster-sidetip .tooltipster-box .tooltipster-content h3{font-size:15px;margin:0}.challenge-tooltip.tooltipster-sidetip .tooltipster-box .tooltipster-content p{margin:10px 0 0}.challenge-tooltip.tooltipster-sidetip .tooltipster-box .challenge-done-btn{border-radius:3px;cursor:pointer;text-decoration:none;text-align:center;vertical-align:middle;white-space:nowrap;box-shadow:none;font-size:13px;font-weight:600;padding:7px 18px;border:1px solid #00a7e5;background-color:#24b0a6;color:#fff;display:block;margin:15px auto 0;outline:none}.challenge-tooltip.tooltipster-sidetip .tooltipster-box .challenge-done-btn:hover{border:1px solid #19837c;background-color:#19837c}.challenge-tooltip.tooltipster-sidetip .tooltipster-arrow-border{border:none}.challenge-tooltip.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background{border-bottom-color:#fff}.challenge-tooltip.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background{border-right-color:#fff}.challenge-tooltip.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background{border-top-color:#fff}.challenge-tooltip.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background{border-left-color:#fff}.block-editor-page .edit-post-layout .components-notice-list>div{padding-left:50px}.block-editor-page span.wpforms-challenge-dot-step5{margin:22px 18px;z-index:9999}.block-editor-page .wpforms-challenge-tooltip.wpforms-challenge-tooltip-step5{max-width:233px;z-index:99980 !important}.challenge-wrapper{position:fixed;top:0;left:0;z-index:600000}.challenge-tooltip-holder{position:fixed;top:0;left:0;z-index:600000}.challenge-tooltip-holder .tooltipster-box{position:absolute;box-shadow:0 -10px 35px 0 rgba(0,0,0,0.25);z-index:10000;background:#fff;padding:15px 20px}.challenge-dot{display:inline-block;width:16px;height:16px;background:#24b0a6;box-shadow:0 0 0 4px rgba(25,131,124,0.15);border-radius:50%;border:0;padding:0}.tooltipster-sidetip .tooltipster-arrow{position:absolute;width:20px;height:10px;z-index:10000}.tooltipster-sidetip .tooltipster-arrow-uncropped{position:relative}.tooltipster-sidetip .tooltipster-arrow-border{left:0;top:0;border:none;width:0;height:0;position:absolute}.challenge-tooltip.tooltipster-sidetip .tooltipster-arrow-background{top:0;left:0;width:0;height:0;position:absolute;border:10px solid transparent}.challenge-tooltip.tooltipster-sidetip.tooltipster-top{border-top-color:#fff}.challenge-tooltip.tooltipster-sidetip.tooltipster-bottom{border-bottom-color:#fff}.block-timer .caret-icon .fa{-webkit-transition:400ms;-o-transition:400ms;transition:400ms;line-height:23px}\n",""])},566:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".challenge-list-block{padding:15px 20px 20px;margin-bottom:15px;background-color:#fff;overflow:hidden;border-radius:4px;box-shadow:0 0 40px 0 rgba(0,0,0,0.2);-webkit-box-shadow:0 0 40px 0 rgba(0,0,0,0.2);-moz-box-shadow:0 0 40px 0 rgba(0,0,0,0.2)}.challenge-bar{border-radius:20px;background-color:#eee}.challenge-bar div{width:0;height:20px;border-radius:20px;background-color:#2576a4}.challenge-list{list-style:none;margin:17px 0 20px;font-size:13px}.challenge-list li{margin-bottom:17px}.challenge-list li i{display:inline-block;font-size:18px;color:#d6d6d6;margin-right:8px;line-height:15px;vertical-align:bottom;border-radius:50%}.challenge-list li.challenge-item-current{font-weight:bold}.challenge-list li.challenge-item-current i{color:#df7739;font-size:17.5px;line-height:1;text-indent:0.5px}.challenge-list li.challenge-item-completed{font-weight:initial;text-decoration:line-through}.challenge-list li.challenge-item-completed i{color:#6ab255;font-size:18px;background-color:#fff}.challenge-list li .dashicons-yes{display:none;vertical-align:middle}button.btn-challenge-start{font-size:12px;padding:6px 15px;border:1px solid #00a7e5;background-color:#24b0a6;border-radius:3px;color:#fff;cursor:pointer}button.btn-challenge-start:hover{background-color:#19837c}.btn-challenge-cancel,.btn-challenge-skip{margin:6px 0;border:0;text-decoration:underline}.btn-challenge-cancel,.btn-challenge-skip{align-self:flex-end;color:#909090;font-size:12px;font-weight:normal;background:none}.wpforms-btn-md{min-height:initial}.challenge-button-row{display:flex;justify-content:space-between}.challenge-button-row button{cursor:pointer}.started.challenge-button-row{align-content:space-between;flex-direction:column}\n",""])},567:function(e,t,n){var r=n(568);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},568:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".block-timer{padding:5px;background-color:#2d2d2d;border-radius:500px;width:277px;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-shadow:0 0 40px 0 rgba(0,0,0,0.2);-webkit-box-shadow:0 0 40px 0 rgba(0,0,0,0.2);-moz-box-shadow:0 0 40px 0 rgba(0,0,0,0.2);padding-left:50px}.block-timer img{width:50px;height:50px;border-radius:50%}.block-timer h3{font-size:14px;font-weight:500;color:#fff;margin:0}.block-timer p{font-size:14px;font-weight:100;color:#ababab;margin:0}.block-timer .caret-icon{border:2px solid;border-radius:50%;color:#6c6c6c;margin:0 15px;width:23px;height:23px;font-size:20px;cursor:pointer}.block-timer .caret-icon .fa{width:100%;text-align:center;-webkit-transition:400ms;-o-transition:400ms;transition:400ms}.block-timer .caret-icon.closed .fa{-webkit-transform:rotate(180deg) translateY(1px);-ms-transform:rotate(180deg) translateY(1px);transform:rotate(180deg) translateY(1px)}\n",""])},569:function(e,t,n){var r=n(570);"string"==typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n(16)(r,l);r.locals&&(e.exports=r.locals)},570:function(e,t,n){(e.exports=n(15)(!1)).push([e.i,".redux-css-editor{border:1px solid #e2e4e7;margin-bottom:20px}.redux-css-editor-help{background:#f7f7f7;padding:20px}\n",""])},571:function(e,t){wp.i18n.__;const n=wp.blocks.parse,r=wp.data,l=r.select,a=r.subscribe;let o="";const i=(e,t)=>{e.forEach(e=>{if(e.attributes.hasCustomCSS&&e.attributes.customCSS&&null!==e.attributes.customCSS&&(o+=e.attributes.customCSS+"\n"),"core/block"===e.name&&null!==t){let r=t.find(t=>e.attributes.ref===t.id);r&&(r=n(r.content.raw),i(r,t))}void 0!==e.innerBlocks&&0<e.innerBlocks.length&&i(e.innerBlocks,t)})};a(()=>{o="";const e=(0,(l("core/block-editor")||l("core/editor")).getBlocks)(),t=l("core").getEntityRecords("postType","wp_block");i(e,t),(e=>{let t=document.getElementById("redux-css-editor-styles");null===t&&(t=document.createElement("style"),t.setAttribute("type","text/css"),t.setAttribute("id","redux-css-editor-styles"),document.getElementsByTagName("head")[0].appendChild(t)),t.textContent===e||(t.textContent=e)})(o)})},572:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"redux",(function(){return Cn})),n.d(r,"acfblocks",(function(){return jn})),n.d(r,"atomicblocks",(function(){return Nn})),n.d(r,"advancedcustomfields",(function(){return In})),n.d(r,"advancedgutenbergblocks",(function(){return Tn})),n.d(r,"blockoptions",(function(){return Pn})),n.d(r,"blockslider",(function(){return zn})),n.d(r,"coblocks",(function(){return An})),n.d(r,"creativeblocks",(function(){return Dn})),n.d(r,"editorplus",(function(){return Mn})),n.d(r,"elegantblocks",(function(){return Ln})),n.d(r,"enhancedblocks",(function(){return Bn})),n.d(r,"essentialblocks",(function(){return Rn})),n.d(r,"formsgutenberg",(function(){return Fn})),n.d(r,"getwid",(function(){return Hn})),n.d(r,"ghostkit",(function(){return Vn})),n.d(r,"guteblock",(function(){return Un})),n.d(r,"gutenbergblock",(function(){return Gn})),n.d(r,"gutentor",(function(){return Yn})),n.d(r,"kadenceblocks",(function(){return qn})),n.d(r,"kiokenblocks",(function(){return Wn})),n.d(r,"otterblocks",(function(){return Jn})),n.d(r,"qodeblock",(function(){return $n})),n.d(r,"qubely",(function(){return Xn})),n.d(r,"snowmonkeyblocks",(function(){return Kn})),n.d(r,"stackableultimategutenbergblocks",(function(){return Zn})),n.d(r,"ultimateaddonsforgutenberg",(function(){return Qn})),n.d(r,"ultimateblocks",(function(){return er})),n.d(r,"ultimatepost",(function(){return tr})),n.d(r,"wordpress",(function(){return nr})),n.d(r,"colorizeIcon",(function(){return rr})),n.d(r,"thirdPartyIcon",(function(){return lr})),n.d(r,"ReduxTemplatesIcon",(function(){return ar})),n.d(r,"ReduxTemplatesIconColor",(function(){return or})),n.d(r,"ReduxTemplatesIconColorize",(function(){return ir})),n.d(r,"core",(function(){return sr}));var l=n(61),a=n(11),o=(n(272),n(2)),i=n(40);const s=wp.data,c=s.dispatch,p=s.select,m=c("core/editor").editPost;var d=async function(e){const t=await function(e){const t=new window.FileReader;return new Promise(n=>{t.onload=function(){n(t.result)},t.readAsText(e)})}(e);let n;try{n=JSON.parse(JSON.parse(JSON.stringify(t)))}catch(e){throw new Error("Invalid JSON file")}if("redux_template"===n.__file)return m({template:"redux-templates_full_width"}),n.content;if(!("wp_block"===n.__file&&n.title&&n.content&&Object(i.isString)(n.title)&&Object(i.isString)(n.content)))return""===p("core/editor").getEditedPostAttribute("template")&&m({template:"redux-templates_contained"}),function(e){if("core_block"!==e.__file||!e.content||!Object(i.isString)(e.content))throw new Error("Invalid JSON file");return e.content}(n);const r=await wp.apiFetch({path:"/wp/v2/types/wp_block"}),l=await wp.apiFetch({path:"/wp/v2/"+r.rest_base,data:{title:n.title,content:n.content,status:"publish"},method:"POST"});if(l.id)return'\x3c!-- wp:block {"ref":'+l.id+"} /--\x3e";throw new Error("Invalid Reusable Block JSON file contents")};const u=wp.data,g=u.select,f=u.dispatch,h=wp.blocks,b=h.parse,x=h.createBlock;const w=wp.i18n.__,v=wp.compose.withInstanceId,y=wp.element,E=y.Fragment,_=y.Component,k=wp.blockEditor.MediaUploadCheck,O=wp.components,S=O.DropZone,C=O.FormFileUpload,j=O.Placeholder,N=O.Notice,I=["json"];var T=v(class extends _{constructor(){super(...arguments),this.state={isLoading:!1,error:null},this.isStillMounted=!0,this.addFile=this.addFile.bind(this)}componentDidMount(){const e=this.props.attributes.file;e&&(this.setState({isLoading:!0}),this.addFile(e))}componentWillUnmount(){this.isStillMounted=!1}addFile(e){let t=e[0];e.target&&(t=event.target.files[0]),t&&(this.setState({isLoading:!0}),d(t).then(e=>{this.isStillMounted&&(this.setState({isLoading:!1}),function(e,t,n){t=b(t);const r=[],l=g("core/block-editor").getBlockInsertionPoint();if(t.length>0){for(const e in t){const n=x(t[e].name,t[e].attributes,t[e].innerBlocks);f("core/block-editor").insertBlocks(n,parseInt(l.index)+parseInt(e)),void 0!==n&&r.push(n.clientId)}f("core/block-editor").removeBlock(e),r.length>0&&f("core/block-editor").multiSelect(r[0],r.reverse()[0])}n()}(this.props.clientId,e,this.props.onClose))}).catch(e=>{if(!this.isStillMounted)return;let t;switch(e.message){case"Invalid JSON file":t=w("Invalid JSON file",redux_templates.i18n);break;case"Invalid Reusable Block JSON file":t=w("Invalid Reusable Block JSON file",redux_templates.i18n);break;default:t=w("Unknown error",redux_templates.i18n)}this.setState({isLoading:!1,error:t})}))}render(){const e=this.state,t=e.isLoading,n=e.error;return wp.element.createElement(j,{icon:"download",label:w("Import a Template from JSON - Redux",redux_templates.i18n),instructions:w("Drag a file or upload a new one from your device.",redux_templates.i18n),className:"editor-media-placeholder",notices:n&&wp.element.createElement(N,{status:"error"},n)},wp.element.createElement(E,null,wp.element.createElement(k,null,wp.element.createElement(S,{onFilesDrop:this.addFile,label:w("Import from JSON",redux_templates.i18n)}),wp.element.createElement(C,{isLarge:!0,className:"editor-media-placeholder__button button button-primary",onChange:this.addFile,accept:I,isBusy:t,disabled:t,multiple:!1},w("Upload",redux_templates.i18n)))))}});const P=wp.components.SVG;wp.element.createElement(P,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement("path",{d:"M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}));const z=wp.blocks.createBlock;var A={from:[{type:"files",isMatch:e=>"application/json"===e[0].type,priority:13,transform:e=>{const t=[];return t.push(z("redux/import",{file:e})),t}}]},D=n(0),M=n.n(D);function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var B=M.a.createElement("path",{d:"M10.9 17.7H7.4l-.9-1.5 2.1-2.4 2.3 3.9zm-5.3-1.6l-1.5 1.6h-4L4 13.3l1.6 2.8zM6.1 15.6L.4 5.9h3.5l2.7 4.5 8-9.1h4.3L6.1 15.6z"}),R=function(e){return M.a.createElement("svg",L({viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg"},e),B)};function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var H=M.a.createElement("path",{d:"M10.5 19.8v-.2V10c0-.2.1-.2.2-.3 1.7-.7 3.5-1.4 5.2-2.2 1.3-.5 2.6-1.1 3.8-1.6.3-.1.3-.1.3.2v9.1c0 .1 0 .2-.2.3-.9.4-1.9.9-2.8 1.3-.8.4-1.7.8-2.5 1.2-1 .5-1.9.9-2.9 1.4-.3.1-.7.2-1.1.4zm1-5.4v3.7c0 .2 0 .2.2.1 2.4-1.1 4.7-2.2 7.1-3.4.1-.1.2-.1.2-.3V7.4c0-.2 0-.2-.2-.1-2.4 1-4.7 2-7.1 3-.1.1-.2.1-.2.2v3.9zM19.4 4.2c-1-.4-2-.9-3-1.3-1.2-.5-2.4-1-3.7-1.6C11.8 1 10.9.6 10 .2c-.1 0-.1-.1-.2 0-.6.3-1.1.5-1.7.7-.7.3-1.4.7-2.1 1-.7.3-1.5.6-2.2 1-.7.3-1.3.6-2 .9-.6.1-1.1.3-1.7.6.2.1.4.2.6.2 1.9.8 3.8 1.6 5.7 2.5 1.1.4 2.2.9 3.2 1.4.1.1.2.1.4 0 .4-.2.8-.3 1.1-.5 1.5-.6 3-1.3 4.5-1.9 1.1-.5 2.2-.9 3.4-1.4.2-.1.5-.2.7-.3-.1-.1-.2-.1-.3-.2zm-5.9-.8h-1.1c-.1 0-.2 0-.2.2 0 .5 0 .5.5.5h.7c.1 0 .1 0 .1.1v.5c0 .1 0 .1-.1.1h-1c-.1 0-.2 0-.2.2v1c0 .1 0 .1-.1.1h-.6c-.1 0-.1 0-.1-.1v-.5c-.3.3-.5.4-.8.5-.3 0-.6 0-.9-.1 0 0-.1-.1-.2 0h-.1c-.2.1-.4.1-.6.1-.1 0-.2 0-.2-.1-.2-.4-.2-.4-.6-.4h-.6c-.1 0-.1 0-.2.1-.1.4-.1.4-.5.4h-.3c-.1 0-.2 0-.1-.1.3-.7.6-1.4.9-2.2.1-.3.3-.6.4-1 0-.1.1-.1.2-.1.4 0 .4 0 .6.4.1.2.2.5.3.7.3-.6.7-.9 1.3-1 .6-.1 1.1.1 1.6.5v-.4c0-.1 0-.1.1-.1h1.9c.1 0 .1 0 .1.1v.5c0 .1-.1.1-.2.1zM9.5 10c0-.1 0-.2-.1-.2-.3-.1-.5-.2-.7-.3-2.4-1-4.7-2-7.1-3-.5-.2-1-.4-1.6-.7v9.4c0 .1 0 .2.1.2.2.1.3.1.5.2L3 16.8c1.3.6 2.5 1.2 3.8 1.8.8.4 1.7.8 2.5 1.2.2.1.2.1.2-.1v-7V10zm-1.2 8.2c-2.4-1.1-4.8-2.3-7.2-3.4-.1 0-.1 0-.1-.1V7.5c0-.1 0-.2.2-.1l7.2 3c.1 0 .1.1.1.2v7.6c0 .1 0 .1-.2 0z"}),V=M.a.createElement("path",{d:"M11.4 4.3c0 .1 0 .1 0 0 0 .2 0 .3-.2.3-.1 0-.2 0-.2.2-.2.4-.6.6-1 .5-.5-.2-.8-.5-.8-1 0-.4.3-.8.7-.9.4-.1.8.1 1 .5 0 .1.1.1.2.1.3.1.3.1.3.3zM7.8 4c.1 0 .1 0 0 0 .2.3.3.5.3.7h-.6c.2-.2.3-.5.3-.7zM7.6 15.5v.1c.1.2.1.3-.1.5v.1c.1.1.1.2.1.4v.1h-.1c-.1-.1-.3-.2-.3-.3v-.2c.1.1.1.3.3.3 0-.1-.1-.3-.3-.4 0 0-.1 0-.1-.1-.1-.1-.2 0-.2.1 0 .2.1.3.4.4.1 0 .1 0 .1.1v.1c.1 0 .2.1.2.1s.1.1 0 .1h-.1c-.4-.2-.8-.4-1.3-.6l-.1-.1c0-.3-.2-.5-.4-.6-.1-.1-.3-.1-.4 0l-.1.1h.1c.4.1.7.2.7.5v.1s-.1 0-.1-.1c-.1-.2-.2-.3-.4-.3 0 .1 0 .1.1.1h.1v.1h-.1c-.2-.1-.3-.1-.5-.2-.1-.1-.1-.1 0-.2l.1-.1c-.1 0-.2-.1-.3 0l-.1.1c-.1.2-.2.1-.2 0-.2-.4-.2-.4-.4-.5 0 .1.1.2.1.3 0 .1 0 .1-.1.1s-.1 0-.2-.1c-.1 0-.2 0-.1-.2s-.2-.3-.3-.3c0 0-.1.1-.1 0v-.1c0-.1 0-.1.1-.1.2 0 .3.1.4.2 0 .1.1.1.1.2h.1v-.1c-.1-.3-.4-.5-.7-.5-.1 0-.2 0-.2.2 0 .1 0 .1-.1.1-.4-.2-.9-.4-1.3-.6 0 0-.1 0-.1-.1s.1 0 .1 0c.1 0 .2.2.2 0 0 0 .1 0 .1.1.1.1.1.1.2 0 .1 0 .1-.1.1-.2-.1-.2-.2-.3-.5-.4-.1 0-.1 0-.2.1v.1H2s0-.1.1-.1v.1c0 .1-.1.1-.2.1h-.3c-.1 0-.1-.3 0-.3.1-.1.1-.2 0-.3-.1-.1-.1-.3-.1-.4 0-.1 0-.1.1-.1s0 .1 0 .1c-.1.2 0 .4.2.6.1.1.2.1.3.2.1.1.2.2.2.4 0 .1 0 .1.1.1.1.1.2.2.2.4 0 .1.1.1.1 0 .1-.2.3-.2.5-.2 0-.1 0-.1-.1-.1-.5-.5-.9-1.1-1.2-1.7-.2-.5-.3-1-.2-1.6 0-.1.1-.2.1-.3 0-.1 0-.2-.1-.2-.2-.1-.3-.3-.4-.5V10c.1-.3 0-.6.1-1 0-.1 0-.1.1-.1.5.1.5.2.5.3v.6c0 .1.1.2.2.2s.2.1.3 0v-.1c0-.1-.1-.2-.2-.2s-.1 0-.1-.1c.2 0 .5.2.4.4 0 .1-.2.2-.3.1 0 0-.1-.1-.1 0-.1 0-.2-.1-.2 0v.3l.1.1c.2.2.2.2.4 0l.1-.1c.3-.3.3-.4.1-.8 0-.1-.1-.2-.2-.4.1 0 .1.1.2.1.1.3.3.5.6.6.1.1.2.1.3 0-.1-.1-.2-.1-.4-.2s-.4-.3-.4-.5H3c0 .1.2.2.3.4.1-.1.1-.2.1-.2.1 0 .1-.1.2 0s0 .1 0 .1c-.1.1-.1.3 0 .4.1.1.2.1.4 0 .2-.2.4-.2.6 0 .1.1.2.2.4.2s.4.2.5.4c.1.1.1.2.2.3 0 .1.1.2.2.2 0 0 .1 0 .2-.1s0-.2-.1-.2v-.1s.1 0 .1.1.1.1.1.2c0 .2.1.2.2.1h.2c.1 0 .2.1.1.2 0 .1-.1.1-.2.1s-.2-.1-.4-.1c-.1 0-.1-.1-.2 0 0 .1 0 .1.1.1.2.2.4.2.7.1.1 0 .1-.1.2 0 0 .1 0 .1-.1.1-.2.2-.2.5-.1.8l.3.6c.1 0 .2.1.4.1.1 0 .2 0 .2-.2 0-.1 0-.2-.1-.2-.1.1.1.2-.1.3-.1 0-.2 0-.2-.1s-.1-.2 0-.2c.1-.1.1.1.3.1 0-.1-.2-.2-.3-.2-.2-.2-.3-.3-.3-.5s.1-.2.3-.2c.1 0 .1.1.2.1v.1h-.1c-.1 0-.2-.2-.2 0-.1.1 0 .2.1.3.1.1.2.1.3.2.1.1.1 0 .1-.1v-.6-.1c.1 0 .1.1.1.1V13c0 .1-.2.2-.3.2 0 0-.1-.1-.1 0v.1c.2.4.2.8.1 1.2-.1.6-.4 1.1-1.1 1.2-.1 0-.2.1-.4 0 .3.2.5.4.6.7 0 .1.1.1.1 0s.1-.2.2-.1c.1 0 .1 0 .1-.1.1-.2.2-.2.3-.1.2.1.4.1.5-.1.1-.1 0-.2-.1-.3-.1-.2-.1-.2 0-.2zm-3.9-4.4c-.1-.1-.1 0-.2 0-.2.2-.4.4-.3.7.2-.1.4-.2.5-.3.1 0 .1-.1.1 0s0 .1-.1.1c-.1.1-.3.1-.4.2-.1.2-.2.2-.1.4 0 0 0 .1.1.1.5.7.9 1.4 1.4 2 .1.1.2.1.3.1.5-.2.9-.5 1.4-.7.1-.1.1-.1 0-.2-.2-.3-.4-.5-.6-.8 0 0-.1 0 0-.1h.1c0 .1.1.3.2.4.1.1.2.3.3.4 0-.5-.2-.8-.4-1.2h.1c.2.4.4.8.5 1.3v.1c.1 0 .1-.1.2-.1s0-.1 0-.1c-.1-.2-.1-.4-.2-.5-.1-.2-.2-.5-.4-.7-.1-.2-.1-.2-.2-.1s-.2.1-.3.2c0 0-.1.1-.1 0v-.1l.2-.2c.2-.1.2-.2.1-.4l-.6-.6c-.1-.1-.2-.2-.4-.1h-.1c.2.1.4.3.6.4.3.2.4.4.4.5-.3-.2-.5-.5-.9-.7.2.2.3.4.4.6 0 0 .1.1 0 .1h-.1c-.1-.2-.3-.4-.4-.6-.1-.1-.1-.1-.2-.1-.1.1-.2.1-.3.2 0 0-.1.1-.1 0s0-.1.1-.1c.1-.1.3-.1.4-.2-.1 0-.1 0-.2-.1-.2 0-.4-.1-.7-.1-.1.2-.1.2-.1.3zm2.8 2.7c-.5.2-1 .5-1.5.7 0 0-.1 0 0 0 0 0 0 .1.1.1.3.1.6.1.9-.1.2-.1.5-.3.5-.7zm-3.4-1.5c0 .2 0 .4.1.5.2.6.6 1.1 1.2 1.5h.1v-.1c-.2-.2-.3-.4-.5-.6-.3-.4-.6-.9-.9-1.3zm-.2-2.4c.1.3-.1.4-.2.6-.2.2-.3.5-.4.7 0 .2.1.2.2.2s.1-.1.1-.2c.1-.3.2-.5.4-.7.1-.1.1-.2.1-.3 0 0-.1-.1-.2-.3zm4.3 3.8c0-.4-.1-.7-.3-1.1-.1-.3-.4-.6-.3-1-.3.1-.3.2-.2.5.2.3.4.7.4 1.1.1.3.2.5.4.5zM3 9.9c0 .1.1.1.1.2.1.2.3.3.5.3h.7c.1 0 .2 0 .2-.1s-.1-.1-.2-.1c-.2-.1-.4-.1-.6-.1-.2 0-.4 0-.7-.2zm3.6 3.8c-.1.4-.1.7-.4.9-.1 0-.2.1-.2.1 0 .1.2.1.2.1.1 0 .1.1.2 0 .2-.1.3-.3.3-.5 0-.1.1-.2.1-.3 0 0-.1-.1-.2-.3zM3 12c-.1 0-.1.1-.2.1s-.1.1-.1.1c.1.3.2.7.4 1 .1.2.3.3.5.4-.4-.5-.6-1-.6-1.6zm3.5-.5c-.2-.1-.4-.1-.6-.3-.2-.3-.5-.5-.8-.7 0 0-.1-.1-.1 0v.1c.1.2.2.2.3.3.2.2.5.4.7.6.2.3.3.2.5 0zm-1.7 3.3c0 .2.1.3.2.2h.2c.5 0 .9.1 1.3.4h.2c.1-.1 0-.1-.1-.1-.2-.2-.5-.3-.8-.3-.3-.1-.5 0-.8-.1-.1-.2-.2-.2-.2-.1zm-1.9-1.4c0 .2.2.2.3.3.5.2.8.5 1.2.9.1.1.2.3.3.4 0-.4 0-.4-.2-.5-.2-.1-.4-.3-.6-.5-.2-.2-.5-.4-.8-.5-.1-.1-.1-.1-.2-.1zm.1-.1c-.2-.4-.3-.7-.4-1.1 0-.1-.1-.2-.2-.3h-.1c0 .1 0 .2.1.3 0 .3.2.6.3.9.1.2.2.2.3.2zm4.2 1c.1-.1-.1-.1-.2-.2-.1 0-.1.1-.1.1-.1.2-.2.5-.3.6-.1.2-.1.2 0 .2s.2.2.2.1c.2-.2.4-.5.4-.8zm-2.6-3.4c-.1-.1-.1-.3-.3-.3-.2-.1-.5-.1-.7-.1 0 0-.1 0-.1.1v.3c0 .1.1.1.2 0 .2-.1.4-.1.5 0h.4zm-1.7 1c0-.1.1-.1.1-.2 0-.3.2-.5.4-.7.1 0 .1-.1.1-.1 0-.1-.3-.2-.4-.1-.2.1-.3.3-.4.6 0 .1-.1.2 0 .3.1 0 .2.1.2.2zm2.6 3.3c.2 0 .5.1.7.2.1 0 .2.1.2 0s-.1-.1-.1-.1h-.1c-.4-.2-.8-.3-1.2-.1 0-.1 0 0 0 0s0 .1.1 0h.4zm-2.4-1.4c0 .1.1.2.2.3.5.2.8.5 1.1.9 0 0 0 .1.1.1V15c-.3-.6-.8-1-1.4-1.2zm1.8-3.1v-.4c0-.1-.1-.1-.1-.1h-.1c-.1.2-.1.3 0 .5 0 .1.1.1.2.1s0 0 0-.1zm.3 4.7c.3.1.6.2.9.1-.3-.2-.6-.2-.9-.1zm-2.4-3.6c0-.1-.2-.3-.4-.3l-.1.1.3.3c.2.1.2.1.2-.1zM7.1 14h.1v-.1c-.1-.1-.1-.2-.2-.2h-.2v.2s.1.1.3.1zm-3.6.3c.1.2.6.6.8.6-.1-.2-.6-.6-.8-.6zm1.2.8c-.1 0-.1.1-.1.2s.1.3.2.3c0 0 .1-.1.1-.2 0-.2-.1-.3-.2-.3zM4.1 10c.1 0 .3.1.4.1h.1V10c-.2-.2-.4-.2-.5 0zm1.3.6c0-.2-.2-.4-.4-.4h-.1v.1c.2.1.3.2.5.3z"}),U=M.a.createElement("path",{d:"M2 11.8c-.1 0-.1-.1-.1-.2v-.8-.1H2c0 .1.2.1.2.2-.2-.1-.2 0-.2.2v.7zM7.7 13.9v.5s0 .1-.1.1 0 0 0-.1v-.7c0-.1 0-.2-.1-.3l-.1-.1c0-.1.1 0 .1 0 .2 0 .2.1.2.3v.3zM2.2 10.2c.1 0 .2.1.2.2s0 .1-.1.1-.2-.1-.2-.2c-.1-.1 0-.1.1-.1zM7.2 11.4c.1 0 .3.3.2.4 0 0 0 .1-.1 0 0 0-.1-.1-.1-.4 0 .1 0 0 0 0zM6 10.7c0 .1.1.1 0 .2h-.2c-.1-.1-.1-.1-.1-.2s.1-.1.2-.1l.1.1zM2.9 9.2c-.1-.1-.2-.2-.4-.3 0 0-.1 0 0-.1h.1c.2.2.4.3.6.4v.1c-.1 0-.2-.1-.3-.1zM2.1 9.2c0-.1.1-.2.1-.2.1 0 .2.1.2.2s-.1.1-.2.1c-.1.1-.1 0-.1-.1zM7.1 11.1c-.1 0-.2-.1-.3-.1-.1-.1-.3-.1-.4-.2 0 0-.1 0 0-.1h.1c.1.1.3.2.6.4 0-.1 0-.1 0 0zM7.7 11.4v.1c-.1 0-.1-.1-.1-.1 0-.1-.2-.2-.3-.2 0 0-.1 0-.1-.1s.1 0 .1 0c.1.1.2.1.2.1l.2.2zM3.9 9.8s0 .1 0 0c-.2.1-.3 0-.3-.1s0-.1.1-.1.2 0 .2.2zM2.4 8.8c-.1 0-.2 0-.2-.1-.1 0-.2 0-.2.1h-.1v-.1-.2c.1-.1.1 0 .1 0 .2.2.3.2.4.3zM7.4 15.7c-.2 0-.3-.1-.4-.1v-.1h.1c.1 0 .2.1.3.2zM7.6 15.5c-.1-.1-.2-.1-.3-.2 0 0-.1 0 0-.1 0-.1.1 0 .1 0 .1 0 .2.1.3.1-.1.1 0 .2-.1.2zM2.2 13.1c.1.1.2.1.3.2 0 0 .1 0 0 .1h-.1s-.2-.1-.2-.3c-.1.1-.1.1 0 0-.1.1-.1.1 0 0zM2.3 12.9c0 .1 0 .1 0 0-.2 0-.3-.1-.4-.1v-.1c.2.1.3.1.4.2zM14.1 16.3c-.6 0-1-.1-1.5-.5-.3-.3-.5-.6-.6-.9 0-.3-.1-.6 0-.9 0-.6.2-1.1.4-1.6s.5-.9.8-1.3c.4-.4.8-.8 1.3-1.1.4-.3.9-.5 1.3-.6.9-.2 1.7-.1 2.3.7.2.3.3.6.4 1v.5c0 .7-.2 1.4-.5 2-.3.7-.8 1.3-1.4 1.8-.5.5-1.2.8-1.9 1-.2-.1-.4-.1-.6-.1zm4.3-4.9c0-.5-.2-1.1-.8-1.5-.4-.3-.9-.4-1.3-.4-.3 0-.6.1-.8.2-.5.2-.9.4-1.3.7-.4.3-.8.7-1.1 1.1-.4.5-.6 1-.8 1.6-.1.5-.2 1.1 0 1.6.3.9.9 1.3 1.7 1.4.4.1.7 0 1.1-.1.7-.2 1.2-.6 1.7-1 .4-.4.8-.8 1.1-1.3.2-.7.5-1.3.5-2.3zM4.5 12.7c0 .2 0 .4.2.6.1.1.2.1.3.1.1-.1.1-.2.1-.3-.1-.1-.1-.2-.2-.1 0 0-.1.1-.1 0v-.1l.1-.1c.2.2.3.2.5.1h.1v.1s-.1.1-.2.1-.1 0-.1.1 0 .3-.2.3-.3-.1-.4-.2c-.3-.2-.3-.5-.3-.8v-.1c0-.3.2-.4.5-.2.2.1.3.2.4.4v.1h-.1c-.1-.1-.1-.2-.2-.3-.1-.1-.2-.2-.4-.1-.1 0-.1.2-.1.3.1 0 .1.1.1.1zM6.6 13.3c-.1-.4-.2-.8-.5-1.1.3.1.6.8.5 1.1zM3.7 11.1c.1.1.2.3.3.5-.2-.2-.3-.3-.3-.5zM2.8 11.4c.1-.2.2-.4.4-.6h.1v.1c-.2.2-.3.4-.3.6h-.1c-.1 0 0 0-.1-.1z"}),G=M.a.createElement("path",{d:"M13 12.2c.1-.3.3-.5.4-.7.3-.4.6-.7.9-.9.4-.3.8-.5 1.2-.6.5-.1.9-.1 1.3 0 0 0 .1 0 .1.1s-.1.1-.1.1c-.4.3-.4.7-.1 1.1.3.3.3.6.2 1-.1.5-.3 1.1-.4 1.6-.1-.1-.1-.2-.2-.4-.2-.5-.4-1.1-.6-1.6-.1-.1-.1-.3-.2-.4-.1-.1 0-.1.1-.2s.2-.1.3-.2c0 0 .1-.1 0-.1 0-.1-.1 0-.1 0-.3.2-.7.3-1 .4-.1 0-.3.1-.4.1-.1 0-.1.1-.1.2s.1.1.2 0c.2-.1.3 0 .3.2l.3.6c.1.1 0 .3 0 .4-.1.2-.1.5-.2.7-.1.3-.2.6-.3 1-.2-.3-.3-.6-.4-.9l-.6-1.5c0-.1 0-.2.1-.2s.2-.1.2-.1v-.1c0-.1-.1 0-.1 0-.2.2-.5.3-.8.4z"}),Y=M.a.createElement("path",{d:"M15.3 13.1c.3.6.5 1.2.8 1.9v.1c-.4.3-.9.5-1.4.6-.2 0-.2 0-.2-.2.2-.6.4-1.3.6-1.9.1-.1.1-.3.2-.5zM14.1 15.7c-.5-.1-.9-.2-1.1-.6-.4-.5-.5-1-.4-1.6 0-.2.1-.4.1-.7 0 0 0-.1.1-.1l.1.1c.2.4.4.8.5 1.2.2.6.4 1.1.7 1.7zM16.7 14.6c.1-.4.2-.8.4-1.2l.6-1.8c.1-.3.2-.6.1-.9.2.2.2.4.3.6.1.5 0 1.1-.1 1.6-.1.4-.4.8-.6 1.2-.4.1-.5.3-.7.5z"}),q=function(e){return M.a.createElement("svg",F({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),H,V,U,G,Y)};function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var J=M.a.createElement("path",{d:"M6.3 13.9h1.3l.7-1.9h3.3l.7 1.9h1.3l-3-7.8H9.3l-3 7.8zM10 7.8l1.2 3H8.8l1.2-3z"}),$=M.a.createElement("path",{className:"atomic-blocks_svg__st0",d:"M18.9 5.7c.4-.5.6-1.2.6-1.9 0-1.9-1.5-3.4-3.3-3.4-.7 0-1.4.2-1.9.6-1.3-.6-2.7-1-4.2-1C4.6 0 .2 4.4.2 9.9s4.4 9.9 9.9 9.9S20 15.4 20 9.9c-.1-1.4-.5-2.9-1.1-4.2zM15.1 2h1.1c.5 0 1.1.3 1.1.9 0 .4-.3.6-.3.6s.5.2.5.8c0 .6-.5 1-1.1 1h-1.2V2zM10 18.2c-4.5 0-8.2-3.7-8.2-8.2 0-4.5 3.7-8.2 8.2-8.2 1.1 0 2.2.2 3.1.6-.2.4-.3.9-.3 1.4 0 1.9 1.5 3.4 3.3 3.4.5 0 1-.1 1.4-.3.4 1 .6 2 .6 3.1.1 4.5-3.6 8.2-8.1 8.2z"}),X=M.a.createElement("path",{className:"atomic-blocks_svg__st0",d:"M16.7 3c0-.3-.2-.4-.5-.4h-.5v.8h.5c.3 0 .5-.1.5-.4zM16.8 4.4c0-.3-.2-.4-.5-.4h-.6v.9h.6c.3-.1.5-.2.5-.5z"}),K=function(e){return M.a.createElement("svg",W({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),J,$,X)};function Z(){return(Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Q=M.a.createElement("path",{d:"M4.4 9l.8 2.1H3.7c0-.2.3-.8.4-1.1l.3-1s0 .1 0 0zm8.7.3h1v1.5h-1c-.1.5-.5 1-1 1.3-1.6 1.1-3.9.1-4-2.1 0-1.3 1-2.3 2.1-2.5 1.3-.2 2.6.6 2.9 1.8zM0 14.5h2.3l.5-1.3c0-.1 0 0 .1-.1H6c0 .2.5 1.2.5 1.3h2.4l-.1-.3c.7.2 1.2.4 2.1.4 1 0 2-.5 2.6-1l.3-.3.3-.3v1.6h2.2v-1.7-1.7h3.5v-2h-3.5v-.8-.8H20V5.4h-5.9V7c-.4-.4-.3-.4-.8-.7-1-.7-2.4-1-3.6-.7-.9.2-1.6.6-2.2 1.2l-.2.2c-.3.2-.7.9-.8 1.3l-.1.1c-.1-.3-.8-1.8-.9-2.3-.1-.2-.2-.5-.3-.7H3.6L0 14.5z",fillRule:"evenodd",clipRule:"evenodd"}),ee=function(e){return M.a.createElement("svg",Z({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Q)};function te(){return(te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ne=M.a.createElement("path",{d:"M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z"}),re=function(e){return M.a.createElement("svg",te({xmlns:"http://www.w3.org/2000/svg"},e),ne)};function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ae=M.a.createElement("path",{d:"M6.8 19.5c-.6.1-.8-.4-1-.8-1.5-1.8-3-3.6-4.5-5.3-.4-.5-.8-.9-1.2-1.4-.1-.2-.1-.4-.1-.6.3-1 .7-2 1.1-3 .7-2 1.5-3.9 2.2-5.9.1-.3.2-.4.5-.5 3-.5 5.9-1.1 8.9-1.5.6-.1 1 0 1.4.5 1 1.3 2 2.5 3 3.7.9 1.1 1.8 2.1 2.7 3.2.2.2.3.4.2.7-.5 1.3-.9 2.5-1.4 3.8-.6 1.7-1.2 3.3-1.9 5-.1.3-.2.4-.5.4-2.7.4-5.3.9-8 1.4-.5.1-.9.2-1.4.3zm-2.5-3.4h.9c2.4-.3 4.7-.5 7.1-.8.4 0 .5-.2.6-.6.4-2.1 1.3-4.1 2.7-5.7.2-.2.2-.3 0-.5-.9-1.1-1.9-2.2-2.8-3.4-.2-.2-.3-.2-.6-.1-1.9 1.1-4 1.6-6.2 1.6-.3 0-.5.1-.5.4-.5 1.8-1 3.5-1.6 5.3-.2.8-.5 1.6-.7 2.4 1.1-.8 2.1-1.7 3.1-2.5.5-.4.8-.9.8-1.5 0-.3.1-.6.2-.9.7-1.2 2.3-1 3.1-.4.2.2 0 .2-.1.3-.4.1-.9.3-1.3.4-.3.1-.4.3-.4.6s.1.6.3.8c.2.2.3.3.6.2.4-.2.9-.3 1.3-.4.1 0 .2-.1.3 0 .1.1 0 .2 0 .3-.4 1-1.4 1.7-2.5 1.5-.5-.1-.9 0-1.2.4-.2.2-.4.3-.6.5-.9.6-1.7 1.4-2.5 2.1zm14.5-8.6c-.1-.1-.2-.2-.2-.3-.5-.6-1.1-1.3-1.6-1.9-.8-.9-1.6-1.9-2.4-2.8-.1-.1-.2-.3-.4-.1-.4.4-.9.7-1.3 1.1-.1.1-.1.2 0 .3 1.4 1.6 2.7 3.3 4.1 4.9.1.2.2.2.4 0 .4-.4.8-.7 1.3-1.1-.1 0 0-.1.1-.1z"}),oe=function(e){return M.a.createElement("svg",le({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ae)};function ie(){return(ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var se=M.a.createElement("style",null,".block-slider_svg__st0{fill:#6171b5}"),ce=M.a.createElement("path",{className:"block-slider_svg__st0",d:"M2.9 16.2c0-1.2.2-2.3.4-3.5 0-.2.1-.5.3-.7.2-.3.5-.6.9-.6.3 0 .3.5.3.7.6 1.7 1.4 3.2 2.7 4.5.4.4.8.7 1.2.9.2.2.5.2.3.5-.1.3-.1.8-.6.8-1.8 0-3.5-.3-5.2-1-.3-.1-.4-.3-.3-.6v-1zM17 3.8c0 1.3-.2 2.6-.5 4-.1.6-.4.8-.9.9-.4.1-.6.1-.6-.4-.2-2-1-3.8-2.4-5.3l-.3-.3c-.2-.2-.7-.3-.5-.7.2-.4.5-.7 1-.7.4 0 .7 0 1.1.1.9.2 1.7.5 2.5.7.4.1.7.4.6.9v.8z"}),pe=M.a.createElement("path",{d:"M16.1 11.4c-1-1.5-2.3-2.7-3.6-4-1-.9-1.8-2-2.3-3.3-.5-1.4-.6-2.8.8-4.1-2.1 0-3.9.6-5.4 1.8-2.4 2-3 4.9-1.3 7.5.5.8 1.1 1.6 1.8 2.4 1.3 1.4 2.5 2.7 3.5 4.3.8 1.2 1.3 2.5.5 4 1.7 0 3.2-.5 4.6-1.4 2.1-1.5 3.5-4.2 1.4-7.2zm-2.7 7c-.2 0-.4-.1-.4-.3 0-.2.2-.3.4-.3s.3.1.3.3c0 .2-.1.3-.3.3zm1-.6c-.2 0-.3-.2-.3-.4s.1-.3.3-.3c.2 0 .3.1.3.3 0 .2-.1.4-.3.4zm.7-.9c-.2 0-.3-.2-.3-.4s.2-.3.4-.3.3.2.3.3c-.1.3-.2.4-.4.4z",fill:"#1b214c"}),me=function(e){return M.a.createElement("svg",ie({id:"block-slider_svg__Layer_1",viewBox:"0 0 20 20",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},e),se,ce,pe)};function de(){return(de=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ue=M.a.createElement("path",{d:"M5.64.986l8.602-.002c1.626 0 2.217.17 2.813.489a3.342 3.342 0 011.387 1.382c.32.596.493 1.187.5 2.818l.042 8.62c.008 1.63-.158 2.222-.474 2.818a3.297 3.297 0 01-1.373 1.383c-.593.319-1.182.489-2.809.489l-8.6.001c-1.627 0-2.218-.169-2.814-.488a3.342 3.342 0 01-1.387-1.382c-.32-.596-.493-1.187-.5-2.818l-.042-8.62c-.008-1.63.158-2.222.474-2.818a3.297 3.297 0 011.373-1.383C3.425 1.156 4.014.986 5.64.986zm-.656 2.998a1 1 0 00-1 1v10a1 1 0 001 1h3a1 1 0 001-1v-10a1 1 0 00-1-1zm7 7a1 1 0 00-1 1v3a1 1 0 001 1h3a1 1 0 001-1v-3a1 1 0 00-1-1zm0-7a1 1 0 00-1 1v3a1 1 0 001 1h3a1 1 0 001-1v-3a1 1 0 00-1-1z"}),ge=function(e){return M.a.createElement("svg",de({xmlns:"http://www.w3.org/2000/svg"},e),ue)};function fe(){return(fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var he=M.a.createElement("path",{d:"M2.264 39.566L38.219 5.16l16.519 53.558-38.079 38.281zM69.376 112.381l35.607-35.607-46.088-13.51-38.006 38.006zM106.68 70.824L61.239 57.415 43.697 2.22 72.022 8.8l4.6 13.991 16.77 3.792 13.288 44.241zM64.633 53.949l35.664 10.522-10.291-34.264-16.699-3.775-4.604-13.999-18.641-4.337 14.571 45.853z"}),be=function(e){return M.a.createElement("svg",fe({xmlns:"http://www.w3.org/2000/svg"},e),he)};function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var we=M.a.createElement("path",{d:"M17.4 0c1.1.1 1.9.5 2.3 1.5.5 1 .3 2-.5 2.8-1.6 1.7-7.5 7.6-8.9 8.9-.6.6-.7 1.5-1.1 2.2-.4.9-.8 1.9-1.1 2.9-.1.8-1.3.7-1.3.7l-5.4.7c-.4.1-.9.5-1.3.1-.3-.3.1-1.2.1-1.2l1-6.5s.3-.3.5-.4c1.5-.6 2.9-1.1 4.4-1.7.2 0 .4-.2.5-.3L15.4.9c.6-.5 1.2-.9 2-.9zM1.3 19c.5.1.8.1 1.1 0 1.3-.3 2.6-.4 3.9-.6 1 0 1.5-.4 1.8-1.4.7-2.2 1.4-4.4 3.4-5.8.3-.2.3-.5 0-.8-.5-.4-.9-.9-1.3-1.3-1.1-1-1.1-1-2.2.1-.5.5-.9 1.1-1.6 1.4-1.3.5-2.7 1.1-4.1 1.6-.5.2-.6.4-.7.8-.3 1.7-.5 3.3-.8 5 0 .2-.1.4.1.7 1-1 2-2 3-3.1.2-.2.2-.5.2-.7-.1-.7.4-1.3 1.1-1.3.6 0 1.2.6 1.2 1.2s-.6 1.1-1.2 1c-.3 0-.5 0-.8.2-1 .9-2 1.9-3.1 3zM17.4.8c-.6 0-1 .1-1.4.5-2 2-4 4.1-6.1 6.1-.3.2-.2.4 0 .6l2.1 2.1c.3.3.4.2.7 0l1.9-1.9L18.8 4c.5-.5.7-1.6.4-2.2-.4-.7-1-1.1-1.8-1z"}),ve=function(e){return M.a.createElement("svg",xe({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),we)};function ye(){return(ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ee=M.a.createElement("path",{d:"M1.04 4.76L9.2 7.44v11.68l-8.12-2.76m10.16 2.8l8.2-2.8V4.84L11.28 7.4m-1.04-1.36l7.52-2.44-7.52-2.28L2.52 3.6"}),_e=function(e){return M.a.createElement("svg",ye({xmlns:"http://www.w3.org/2000/svg"},e),Ee)};function ke(){return(ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Oe=M.a.createElement("circle",{cx:210.86,cy:44.87,r:12.79}),Se=M.a.createElement("path",{d:"M100.85 0A100.85 100.85 0 000 100.85V256h155.15A100.85 100.85 0 00256 155.15V0zm-59 149.49l-8.29 8.28a4.83 4.83 0 11-6.83-6.83l8.28-8.28a4.83 4.83 0 116.84 6.83zm34.86 53.16a9.31 9.31 0 010-13.13l10.69-10.69A9.28 9.28 0 01100.57 192l-10.69 10.65a9.31 9.31 0 01-13.13 0zm35.92 18.92l-7.41 7.43a5.75 5.75 0 01-8.13-8.13l7.45-7.45a5.75 5.75 0 018.13 8.13zM123.24 211a4.84 4.84 0 01-6.83 0l-1.23-1.24a4.81 4.81 0 010-6.8l31.07-31.48a8.4 8.4 0 000-11.88l-.89-.89a8.4 8.4 0 00-11.88 0l-16.94 16.94a8.41 8.41 0 01-11.89 0l-1.06-1.06a8.41 8.41 0 010-11.89l15.08-15.08a8.4 8.4 0 000-11.88l-.89-.89a8.41 8.41 0 00-11.89 0L90.8 149.93a8.42 8.42 0 01-13-1.35 8.61 8.61 0 011.33-10.76l16.71-16.71a8.41 8.41 0 000-11.89l-.88-.88a8.4 8.4 0 00-11.89 0L51.8 139.56a4.83 4.83 0 01-6.8-6.83l50.13-50.15 78.26 78.27zm52.54-52.54L97.52 80.19l3.28-3.28 78.27 78.26zm48.34-95.19a22.15 22.15 0 01-11.47 6.1 28.49 28.49 0 00-8.17 2.82 65.85 65.85 0 00-10.35 7.18c-10.3 11.06-12.26 20-12.25 26 0 16 14.07 26.16 9.68 37.63-1.91 5-6.41 7.87-9.38 9.38L143 113.18l-39.28-39.24c1.51-3 4.39-7.47 9.38-9.38 11.47-4.39 21.58 9.68 37.63 9.68 6 0 15-1.95 26-12.25a75.27 75.27 0 005.62-7.69 31.65 31.65 0 004.17-11 22.25 22.25 0 1137.58 19.94z"}),Ce=function(e){return M.a.createElement("svg",ke({viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg"},e),Oe,Se)};function je(){return(je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ne=M.a.createElement("defs",null,M.a.createElement("filter",{filterUnits:"objectBoundingBox",id:"essential-blocks_svg__a"},M.a.createElement("feOffset",{dy:15,in:"SourceAlpha",result:"shadowOffsetOuter1"}),M.a.createElement("feGaussianBlur",{stdDeviation:11,in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),M.a.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",in:"shadowBlurOuter1"})),M.a.createElement("path",{d:"M135.028 96h103.944l.497.216h.373c6.217 0 11.273 2.774 15.169 8.322 1.326 2.305 1.989 4.683 1.989 7.133 0 5.98-3.398 10.59-10.195 13.833-2.321.937-4.642 1.405-6.963 1.405H133.909c-4.973 0-9.366-1.981-13.179-5.944-2.487-2.882-3.73-5.836-3.73-8.862v-1.297c0-4.755 2.735-8.826 8.206-12.212 2.984-1.585 5.927-2.378 8.828-2.378h.497l.497-.216zm1.242 77.273l58.078.21c3.862 0 7.995 1.544 12.397 4.632 3.503 3.158 5.255 6.596 5.255 10.316 0 5.193-3.1 9.438-9.298 12.736-3.054 1.404-6.019 2.106-8.893 2.106h-58.752c-5.75 0-10.735-2.246-14.958-6.737-2.066-2.526-3.099-5.053-3.099-7.58v-1.262c0-4.772 3.19-8.877 9.567-12.316 3.234-1.263 6.289-1.895 9.163-1.895h.27c.18 0 .27-.07.27-.21zM241.632 173h.736c5.685 0 10.14 2.968 13.369 8.905.842 2.12 1.263 4.17 1.263 6.148 0 5.936-2.912 10.495-8.737 13.675-2.105.848-3.965 1.272-5.579 1.272h-1.473c-4.772 0-8.843-2.509-12.211-7.527-1.333-2.544-2-5.052-2-7.526 0-5.795 2.877-10.318 8.632-13.569 2.175-.919 4.175-1.378 6-1.378zm-106.604 75.727h103.944c0 .142 1.284.318 3.854.53 4.31.919 7.584 2.58 9.822 4.983 2.901 2.897 4.352 6.219 4.352 9.964 0 5.725-3.398 10.248-10.195 13.57-2.073.635-3.482.953-4.228.953H131.423c-2.901 0-6.383-1.66-10.444-4.982-2.653-3.039-3.979-6.113-3.979-9.223v-.954c0-5.23 3.108-9.505 9.325-12.827 1.824-.918 4.642-1.554 8.455-1.908 0-.07.083-.106.248-.106z",id:"essential-blocks_svg__b"})),Ie=M.a.createElement("g",{fill:"none",fillRule:"evenodd"},M.a.createElement("circle",{fill:"#FFF",cx:187,cy:187,r:187}),M.a.createElement("use",{fill:"#000",filter:"url(#essential-blocks_svg__a)",xlinkHref:"#essential-blocks_svg__b"}),M.a.createElement("use",{fill:"#23282D",xlinkHref:"#essential-blocks_svg__b"})),Te=function(e){return M.a.createElement("svg",je({xmlns:"http://www.w3.org/2000/svg"},e),Ne,Ie)};function Pe(){return(Pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ze=M.a.createElement("style",null,".forms-gutenberg_svg__st5{opacity:.1}.forms-gutenberg_svg__st6{opacity:.16}.forms-gutenberg_svg__st7{opacity:.6}.forms-gutenberg_svg__st8{fill:#fff}.forms-gutenberg_svg__st9{opacity:.3}"),Ae=M.a.createElement("linearGradient",{id:"forms-gutenberg_svg__SVGID_1_",gradientUnits:"userSpaceOnUse",x1:23.101,y1:4.596,x2:17.855,y2:19.01,gradientTransform:"matrix(1 0 0 -1 0 33)"},M.a.createElement("stop",{offset:0,stopColor:"#4facfe"}),M.a.createElement("stop",{offset:1,stopColor:"#00f2fe"})),De=M.a.createElement("path",{d:"M29 13.1l-1-2.8-5.2 1.9c0 .1.1.3.1.4.1.2.1.5.1.7 0 .1 0 .3.1.4v.8c0 .5.1 1 0 1.6v1c-.1.5-.1 1-.3 1.6h.1c-.1.5-.2 1-.5 1.4-.1.4-.3.8-.4 1.2-.2.4-.3.7-.5 1.1-.1.2-.2.4-.3.5-.1.2-.2.3-.3.5-.2.4-.5.7-.7 1-.1.2-.3.4-.4.5-.1.1-.2.3-.3.4-.1.1-.2.3-.3.4l-.9.9-.4.4c-.3.2-.6.5-.9.7-.1.1-.2.2-.3.2-.2.2-.4.3-.7.5-.1.1-.2.1-.2.2-.2.1-.3.2-.5.3-.2.1-.3.2-.5.3l-.6.3c-.2.1-.3.2-.5.2-.1 0-.1.1-.2.1 0 0-.1 0-.1.1-.1 0-.2.1-.3.1-.2.1-.5.2-.7.3 1.8.3 3.7.4 5.5 0 1.8-.3 3.6-1 5.2-2 2.2-1.3 3.9-3.2 5.1-5.3 1.2-2.1 1.7-4.5 1.5-6.8-.1-1.2-.3-2.1-.7-3.1z",fill:"url(#forms-gutenberg_svg__SVGID_1_)"}),Me=M.a.createElement("linearGradient",{id:"forms-gutenberg_svg__SVGID_2_",gradientUnits:"userSpaceOnUse",x1:20.054,y1:13.455,x2:18.011,y2:19.068,gradientTransform:"matrix(1 0 0 -1 0 33)"},M.a.createElement("stop",{offset:0,stopColor:"#00c6fb"}),M.a.createElement("stop",{offset:1,stopColor:"#005bea"})),Le=M.a.createElement("path",{d:"M22.8 12.2l-6.4 2.3c-.4.1-.8.4-1.1.6-.3.3-.6.6-.8 1-.2.4-.3.8-.4 1.2 0 .4 0 .8.2 1.2.1.4.4.7.6 1 .3.3.6.5 1 .7.4.2.8.2 1.3.2.4 0 .9-.1 1.3-.2l4.4-1.6c.5-2.2.4-4.4-.1-6.4z",fill:"url(#forms-gutenberg_svg__SVGID_2_)"}),Be=M.a.createElement("linearGradient",{id:"forms-gutenberg_svg__SVGID_3_",gradientUnits:"userSpaceOnUse",x1:15.53,y1:4.084,x2:8.873,y2:22.373,gradientTransform:"matrix(1 0 0 -1 0 33)"},M.a.createElement("stop",{offset:0,stopColor:"#89f7fe"}),M.a.createElement("stop",{offset:1,stopColor:"#66a6ff"})),Re=M.a.createElement("path",{d:"M22.5 19.9c-.4.9-1 1.7-1.7 2.4s-1.6 1.2-2.6 1.6c-.4.2-.9.3-1.4.4-.5.1-.9.1-1.4.1-1.4 0-2.7-.4-3.8-1.1-.2-.1-.4-.2-.7-.3-2-1-3.7-2.5-4.9-4.3-1.2-1.8-1.8-3.9-1.9-6v-.2c-1.8 2.9-2.3 6.2-1.5 9.2s2.9 5.6 5.8 7.2c1.2.6 2.5 1.1 3.8 1.3 3.2-1.2 6-3.2 7.9-5.8 1.1-1.5 1.9-2.9 2.4-4.5z",fill:"url(#forms-gutenberg_svg__SVGID_3_)"}),Fe=M.a.createElement("linearGradient",{id:"forms-gutenberg_svg__SVGID_4_",gradientUnits:"userSpaceOnUse",x1:19.95,y1:23.365,x2:17.904,y2:28.987,gradientTransform:"matrix(1 0 0 -1 0 33)"},M.a.createElement("stop",{offset:0,stopColor:"#4facfe"}),M.a.createElement("stop",{offset:1,stopColor:"#00f2fe"})),He=M.a.createElement("path",{d:"M24.5 1.6l-5.9 2.1c0 .1-.1.2-.1.3-.1.3-.2.5-.2.8-.2.6-.5 1.3-.8 1.9-.1.1-.1.2-.2.4v.1c-.1.2-.2.3-.3.5-.1.2-.2.3-.3.5-.1.1-.2.3-.3.4-.1.1-.1.2-.2.3l-.2.2c-.1.1-.2.2-.2.3l-.1.1c-.1.1-.2.3-.3.4v.1c-.1.1-.2.3-.4.4-.1.1-.2.3-.3.4 0 .1-.1.1-.1.1l-.3.3-.4.4-.3.3c.1-.1.3-.1.4-.2l6.4-2.3 1.2-.6c1.3-.8 2.3-1.9 2.9-3.3.4-1.2.4-2.6 0-3.9z",fill:"url(#forms-gutenberg_svg__SVGID_4_)"}),Ve=M.a.createElement("linearGradient",{id:"forms-gutenberg_svg__SVGID_5_",gradientUnits:"userSpaceOnUse",x1:15.998,y1:11.362,x2:10.556,y2:26.312,gradientTransform:"matrix(1 0 0 -1 0 33)"},M.a.createElement("stop",{offset:0,stopColor:"#00c6fb"}),M.a.createElement("stop",{offset:1,stopColor:"#005bea"})),Ue=M.a.createElement("path",{d:"M18.6 3.8l-6.8 2.5c-3 1.1-5.6 3.1-7.3 5.7-.1.1-.2.3-.3.4v1.1c0 .2 0 .4.1.6 0 .1 0 .2.1.3 0 .1.1.3.1.4 0 .1.1.2.1.3v.2l.3.9c0 .1.1.1.1.2s0 .1.1.2v.1s0 .1.1.1c0 .1.1.2.2.4 0 0 0 .1.1.1.1.2.1.3.2.5.1.1.1.2.2.3 0 .1.1.1.1.2.2.3.3.5.5.8.1.1.1.2.2.2.3.4.6.8 1 1.2l.3.3c.2.2.5.4.7.6.1.1.2.2.3.2.3.2.6.5.9.7.2.1.3.2.5.3.2.1.3.2.5.3 0 0 .1 0 .1.1.2.1.3.2.5.2-1.1-.7-1.9-1.7-2.4-2.9-.1-.8-.2-1.6-.1-2.5 0-.8.3-1.7.7-2.5.8-1.4 2.1-2.6 3.7-3.3l.3-.3.4-.4.3-.3.1-.1c.1-.1.2-.2.3-.4l.4-.4V10c.1-.1.2-.3.3-.4l.1-.1c.1-.1.2-.2.2-.3L16 9c.1-.1.1-.2.2-.3.1-.1.2-.3.3-.4.1-.2.2-.3.3-.5.1-.2.2-.3.3-.5v-.1c.1-.1.1-.2.2-.4.3-.6.6-1.2.8-1.9.1-.3.2-.5.2-.8.2-.1.3-.2.3-.3z",fill:"url(#forms-gutenberg_svg__SVGID_5_)"}),Ge=M.a.createElement("g",{className:"forms-gutenberg_svg__st5"},M.a.createElement("path",{d:"M18.2 23.8c-.4.2-.9.3-1.4.4-2 1.7-4.7 3.2-8.4 4.6 1.2.6 2.5 1.1 3.8 1.3 3.2-1.2 6-3.2 7.9-5.8 1-1.4 1.8-2.8 2.3-4.4-.4.9-1 1.7-1.7 2.4s-1.6 1.2-2.5 1.5z"})),Ye=M.a.createElement("g",{className:"forms-gutenberg_svg__st6"},M.a.createElement("path",{d:"M22.8 12.2l-.6.2c.2 2.3-.3 4.7-1.4 6.9l2-.7c.6-2.2.5-4.4 0-6.4z"})),qe=M.a.createElement("g",{className:"forms-gutenberg_svg__st5"},M.a.createElement("path",{d:"M7.2 8.9c-1.1.9-2 1.9-2.8 3.1-.1.1-.2.3-.3.4v1.1c0 .2 0 .4.1.6 0 .1 0 .2.1.3 0 .1.1.3.1.4 0 .1.1.2.1.3v.2l.3.9c0 .1.1.1.1.2s0 .1.1.2v.1s0 .1.1.1c0 .1.1.2.2.4 0 0 0 .1.1.1.1.2.1.3.2.5.1.1.1.2.2.3 0 .1.1.1.1.2.2.3.3.5.5.8.1.1.1.2.2.2.3.4.6.8 1 1.2l.3.3c.2.2.5.4.7.6.1.1.2.2.3.2.3.2.6.5.9.7.2.1.3.2.5.3.2.1.3.2.5.3 0 0 .1 0 .1.1.2.1.3.2.5.2-1.1-.7-1.9-1.7-2.4-2.9C7.4 18 6 14.4 6.9 9.1c.3-.1.3-.2.3-.2z"})),We=M.a.createElement("g",{className:"forms-gutenberg_svg__st5"},M.a.createElement("path",{d:"M22.5 2.4l-3.9 1.4c0 .1-.1.2-.1.3-.1.3-.2.5-.2.8-.2.6-.5 1.3-.8 1.9-.1.1-.1.2-.2.4v.1c-.1.2-.2.3-.3.5-.1.2-.2.3-.3.5-.1.1-.2.3-.3.4-.1.1-.1.2-.2.3-.1 0-.1 0-.2.1s-.2.2-.2.3l-.1.1c-.1.1-.2.3-.3.4v.1c-.1.1-.2.3-.4.4-.1.1-.2.3-.3.4 0 .1-.1.1-.1.1l-.3.3-.4.4-.3.3c.1-.1.3-.1.4-.2l1.7-.6c2.9-2.4 5.2-5.3 6.8-8.5-.1 0-.1-.1 0-.2z"})),Je=M.a.createElement("g",{className:"forms-gutenberg_svg__st7"},M.a.createElement("g",{className:"forms-gutenberg_svg__st7"},M.a.createElement("path",{className:"forms-gutenberg_svg__st8",d:"M22.1 21.1c-.8 1.9-2 3.6-3.5 5.1-1.5 1.5-3.3 2.7-5.3 3.6.1 0 .2-.1.5-.2.2-.1.4-.1.6-.2.3-.1.5-.2.8-.3.1-.1.3-.1.4-.2.1-.1.3-.2.4-.3l.9-.6c.3-.2.6-.4.9-.7.3-.3.6-.5.9-.8.3-.3.6-.6.8-.9.3-.3.5-.6.7-.9l.6-.9c.2-.3.3-.5.5-.8.1-.3.2-.5.3-.7.1-.2.1-.4.2-.6.2-.4.2-.6.3-.6z"}))),$e=M.a.createElement("g",{className:"forms-gutenberg_svg__st7"},M.a.createElement("g",{className:"forms-gutenberg_svg__st7"},M.a.createElement("path",{className:"forms-gutenberg_svg__st8",d:"M18.6 3.8l-.2.4-.5 1-.3.6c-.1.2-.2.5-.4.7L16.3 8c-.3.5-.6 1-.9 1.4-.1.2-.2.4-.4.6-.2.2-.3.4-.4.6-.3.4-.5.7-.7.9-.1.2-.2.3-.2.3 2.4-2.3 4.1-5 4.9-8z"}))),Xe=M.a.createElement("g",{className:"forms-gutenberg_svg__st7"},M.a.createElement("g",{className:"forms-gutenberg_svg__st7"},M.a.createElement("path",{className:"forms-gutenberg_svg__st8",d:"M4.9 16.2c-.4-1.2-.7-2.4-.7-3.6v.6c0 .5 0 1 .1 1.5.1.7.3 1.4.5 2 .1.3.2.7.4 1 .2.4.4.7.6 1.1.2.3.5.7.7 1 .1.2.3.3.4.5l.4.4c.3.3.6.5.9.7.3.2.5.4.8.6.2.2.5.3.8.4l.6.3c.3.1.5.2.5.2-2.8-1.5-4.9-3.8-6-6.7z"}))),Ke=M.a.createElement("g",{className:"forms-gutenberg_svg__st9"},M.a.createElement("path",{d:"M24.5 1.6L11.8 6.2c-3 1.1-5.6 3.1-7.3 5.7.3-.4.6-.7.9-1.1.3-.4.6-.7 1-1 .3-.3.6-.5.9-.8-.1 0 0 0 0 0 .4-.3.8-.6 1.1-.8.4-.3.8-.5 1.2-.7.5-.3 1-.5 1.4-.7.4-.2.9-.3 1.3-.5l1.4-.5 2.7-1 2.7-1c1.1-.4 2.1-.8 3.2-1.2.7-.2 1.3-.5 2-.8l.1.2.1.5.1.5v1l-.1.5-.1.5-.2.5-.2.6-.2.5-.4.4-.3.4-.4.4-.4.4-.4.4-.5.3c1.3-.8 2.3-1.9 2.9-3.3.6-1.3.6-2.7.2-4z"})),Ze=M.a.createElement("g",{className:"forms-gutenberg_svg__st9"},M.a.createElement("path",{d:"M29 13.1l-1-2.8-4.5 1.6c.8-.2 1.5-.5 2.3-.7.7-.2 1.4-.4 2.1-.7l.7 2.2c.1.4.3.8.4 1.2l.3 1.2c.1.4.1.8.1 1.2v1.2c0 .4-.1.8-.1 1.2-.1.4-.1.8-.3 1.2-.1.4-.2.8-.4 1.2-.1.2-.2.4-.2.6l-.3.6-.3.6-.3.6c-.1.2-.2.4-.3.5-.1.2-.2.4-.4.5l-.4.5-.4.4c-.1.2-.3.3-.4.5l-.5.5c-.3.3-.7.6-1 .9-.3.3-.7.5-1.1.8 2.2-1.3 3.9-3.2 5.1-5.3 1.2-2.1 1.7-4.5 1.5-6.8 0-1-.2-1.9-.6-2.9z"})),Qe=M.a.createElement("text",{transform:"translate(300 167.5)",fontFamily:"MyriadPro-Regular",fontSize:12},"32"),et=function(e){return M.a.createElement("svg",Pe({id:"forms-gutenberg_svg__Layer_1",viewBox:"0 0 32 32",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},e),ze,Ae,De,Me,Le,Be,Re,Fe,He,Ve,Ue,Ge,Ye,qe,We,Je,$e,Xe,Ke,Ze,Qe)};function tt(){return(tt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var nt=M.a.createElement("path",{fill:"#b3c315",d:"M70 54h41v18H70z"}),rt=M.a.createElement("path",{fill:"#96a40a",d:"M65 54h5v18h-5z"}),lt=M.a.createElement("path",{fill:"#b3c315",d:"M94 50h13v3H94z"}),at=M.a.createElement("path",{fill:"#96a40a",d:"M89 50h5v3h-5z"}),ot=M.a.createElement("path",{fill:"#b3c315",d:"M74 50h13v3H74z"}),it=M.a.createElement("path",{fill:"#96a40a",d:"M69 50h5v3h-5z"}),st=M.a.createElement("path",{fill:"#b977c7",d:"M72 92h13v3H72z"}),ct=M.a.createElement("path",{fill:"#9e5cac",d:"M67 92h5v3h-5z"}),pt=M.a.createElement("path",{fill:"#b977c7",d:"M51 92h13v3H51z"}),mt=M.a.createElement("path",{fill:"#9e5cac",d:"M46 92h5v3h-5z"}),dt=M.a.createElement("path",{fill:"#49c3f5",d:"M92 75h19v19H92z"}),ut=M.a.createElement("path",{fill:"#109ad4",d:"M87 75h5v19h-5z"}),gt=M.a.createElement("path",{d:"M25 97h86l-18 19H43L25 97z",fill:"#b977c7"}),ft=M.a.createElement("path",{fill:"#9e5cac",d:"M20 97l18 19h5L25 97z"}),ht=M.a.createElement("path",{d:"M111 36H25l18-19h50l18 19z",fill:"#f1b014"}),bt=M.a.createElement("path",{fill:"#f09108",d:"M43 17h-5L20 36h5z"}),xt=M.a.createElement("path",{fill:"#f1b014",d:"M51 12h14v3H51z"}),wt=M.a.createElement("path",{fill:"#f09108",d:"M46 12h5v3h-5z"}),vt=M.a.createElement("path",{fill:"#f1b014",d:"M73 12h14v3H73z"}),yt=M.a.createElement("path",{fill:"#f09108",d:"M68 12h5v3h-5z"}),Et=M.a.createElement("path",{fill:"#49c3f5",d:"M25 39h18v26H25z"}),_t=M.a.createElement("path",{fill:"#109ad4",d:"M20 39h5v26h-5z"}),kt=M.a.createElement("path",{fill:"#d25e4d",d:"M20 68h5v26h-5z"}),Ot=M.a.createElement("path",{fill:"#e67666",d:"M25 68h18v26H25z"}),St=function(e){return M.a.createElement("svg",tt({viewBox:"0 0 128 128",xmlns:"http://www.w3.org/2000/svg"},e),nt,rt,lt,at,ot,it,st,ct,pt,mt,dt,ut,gt,ft,ht,bt,xt,wt,vt,yt,Et,_t,kt,Ot)};function Ct(){return(Ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var jt=M.a.createElement("path",{d:"M201 94.59h12.5H201zm-146 0h12.5H55zm20.038 115.868c-6.137-3.161-13.675-.749-16.836 5.388-3.162 6.137-.75 13.675 5.387 16.837l11.45-22.225zm117.373 22.225c6.137-3.162 8.549-10.7 5.387-16.837-3.161-6.137-10.699-8.549-16.836-5.388l11.449 22.225zM128 33.5c33.318 0 60.5 27.256 60.5 61.09h25c0-47.45-38.185-86.09-85.5-86.09v25zm60.5 61.09c0 33.835-27.182 61.091-60.5 61.091v25c47.315 0 85.5-38.639 85.5-86.09h-25zM128 155.682c-33.319 0-60.5-27.256-60.5-61.09h-25c0 47.451 38.185 86.09 85.5 86.09v-25zm-60.5-61.09C67.5 60.756 94.681 33.5 128 33.5v-25c-47.315 0-85.5 38.64-85.5 86.09h25zm-3.91 138.092c40.937 21.089 87.883 21.089 128.821 0l-11.449-22.225c-33.754 17.389-72.17 17.389-105.924 0L63.59 232.683z"}),Nt=function(e){return M.a.createElement("svg",Ct({xmlns:"http://www.w3.org/2000/svg"},e),jt)};function It(){return(It=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Tt=M.a.createElement("style",null),Pt=M.a.createElement("g",{id:"guteblock_svg__prefix__Layer_1"},M.a.createElement("linearGradient",{id:"guteblock_svg__prefix__SVGID_1_",gradientUnits:"userSpaceOnUse",x1:68.035,y1:10.602,x2:33.222,y2:86.651},M.a.createElement("stop",{offset:0,stopColor:"#ffd500"}),M.a.createElement("stop",{offset:.258,stopColor:"#ff683e"}),M.a.createElement("stop",{offset:.498,stopColor:"#ff1d6b"}),M.a.createElement("stop",{offset:.781,stopColor:"#5d25cd"}),M.a.createElement("stop",{offset:1,stopColor:"#3eb9fa"})),M.a.createElement("path",{d:"M31.95 17.49L17.49 31.95c-9.14 9.14-9.14 23.96 0 33.1L34.94 82.5c9.14 9.14 23.96 9.14 33.1 0L82.5 68.04c9.14-9.14 9.14-23.96 0-33.1L65.06 17.49c-9.15-9.14-23.96-9.14-33.11 0z",fill:"url(#guteblock_svg__prefix__SVGID_1_)"}),M.a.createElement("path",{d:"M65.81 36.74c-3.94 0-7.64 1.53-10.43 4.32l-5.85 5.85a6.488 6.488 0 000 9.17 6.488 6.488 0 009.17 0l5.85-5.85c.43-.43.92-.52 1.26-.52.34 0 .83.09 1.26.52.43.43.52.92.52 1.26 0 .34-.09.83-.52 1.26L52.98 66.83c-.05.05-.1.1-.14.15-.44.47-.96.58-1.32.58-.36.01-.88-.08-1.33-.54L32.98 49.81c-.69-.69-.72-1.79-.09-2.52l14.17-14.17c.05-.05.1-.1.14-.15.67-.71 1.78-.73 2.54-.04l.98.95c2.57 2.49 6.68 2.43 9.17-.14 2.49-2.57 2.43-6.68-.14-9.17l-1.03-1c-.03-.03-.05-.05-.08-.07-5.94-5.57-15.25-5.33-20.82.51l-14.2 14.2c-.05.05-.1.1-.14.15a14.744 14.744 0 00.33 20.61l17.21 17.22c2.8 2.81 6.51 4.34 10.47 4.34h.24c4.01-.06 7.73-1.69 10.49-4.59l14.02-14.02c2.79-2.79 4.32-6.49 4.32-10.43 0-3.94-1.53-7.64-4.32-10.43a14.668 14.668 0 00-10.43-4.32z",fill:"#fff"})),zt=function(e){return M.a.createElement("svg",It({viewBox:"0 0 100 100","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg"},e),Tt,Pt)};function At(){return(At=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Dt=M.a.createElement("path",{d:"M17.388 5.75l-6.716-3.91a1.173 1.173 0 00-1.104 0l-.184.092c0 .046.046.092.046.138v2.3c0 .138-.092.276-.276.276h-2.3c-.138 0-.276-.092-.276-.276v-.828l-.506.276v2.53a.297.297 0 01-.276.276H3.22a.297.297 0 01-.276-.276v-.736l-.138.092c-.322.184-.552.598-.552.966v1.15H3.68c.138 0 .23.092.23.23v2.208c0 .138-.092.23-.23.23H2.254v3.956c0 .368.23.782.552.966l6.716 3.91c.322.184.782.184 1.104 0l6.762-3.864c.322-.184.552-.598.552-.966V6.67c0-.322-.23-.736-.552-.92zm-3.358 7.038l-3.864 2.3L6.21 12.88l-.092-4.508 3.864-2.3 3.68 2.07-.46.782-3.22-1.794-2.944 1.748.046 3.45 2.99 1.656 2.944-1.748v-.644l-2.668-.046v-.92l3.542.092v2.07zM2.3 5.014a.099.099 0 01-.092.092h-.782c-.046 0-.046-.046-.046-.092v-.736c0-.046 0-.092.046-.092h.736c.092 0 .138.046.138.092v.736zM1.518 7.222c0 .092-.046.138-.138.138H.138C.046 7.36 0 7.314 0 7.222V5.98c0-.092.046-.138.138-.138H1.38c.092 0 .138.046.138.138v1.242z"}),Mt=M.a.createElement("path",{d:"M3.496 4.048h2.162V6.21H3.496zM7.038 2.254h1.978v1.978H7.038zM3.68 3.174c0 .046-.046.138-.138.138H2.346c-.092 0-.138-.092-.138-.138V1.932c0-.092.046-.138.138-.138h1.196c.092 0 .138.092.138.138v1.242zM6.164 2.622c0 .092-.046.138-.138.138H4.83c-.092 0-.138-.046-.138-.138V1.426c0-.092.046-.138.138-.138h1.196c.092 0 .138.046.138.138v1.196zM8.05 1.38a.099.099 0 01-.092.092H6.9a.099.099 0 01-.092-.092V.322c0-.046.046-.092.092-.092h1.012c.046 0 .092.046.092.092V1.38zM1.564 8.28H3.45v1.886H1.564z"}),Lt=function(e){return M.a.createElement("svg",At({viewBox:"-1.1 -0.2 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Dt,Mt)};function Bt(){return(Bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Rt=M.a.createElement("path",{d:"M40.145 6.164L7.855 41.837V6.164h32.29z",fillOpacity:.502,fillRule:"nonzero"}),Ft=M.a.createElement("path",{d:"M40.145 41.836L7.855 6.163v35.673h32.29z",fillRule:"nonzero"}),Ht=function(e){return M.a.createElement("svg",Bt({viewBox:"0 0 48 48",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:1.414,xmlns:"http://www.w3.org/2000/svg"},e),Rt,Ft)};function Vt(){return(Vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ut=M.a.createElement("path",{d:"M23.706 7.854l.004.01c.734 2.723.003 5.708-1.395 8.169-1.669 2.927-4.184 5.357-7.464 6.256-4.204 1.164-7.863-.293-10.944-3.149C-.097 15.427-1.665 9.8 2.303 5.352a17.352 17.352 0 015.683-4.009A14.566 14.566 0 0112.498.077c1.734-.184 3.298-.075 4.885.732a14.601 14.601 0 013.615 2.583 9.982 9.982 0 012.708 4.462zm-12.659 4.272a.03.03 0 01.025.012l2.536 3.432c.25.338.66.54 1.1.54h1.573c.246 0 .485-.075.682-.213.502-.353.605-1.02.228-1.49l-2.343-2.924a1.188 1.188 0 01.05-1.558l2.045-2.26a.91.91 0 00.24-.61c0-.523-.453-.946-1.011-.946H14.66a1.37 1.37 0 00-1.07.502l-2.534 3.173a.032.032 0 01-.025.012c-.009 0-.016-.007-.016-.015V7.359c0-.69-.598-1.25-1.336-1.25h-.925c-.739 0-.81.56-.81 1.25v7.5c0 .69.071 1.25.81 1.25h.94c.738 0 1.337-.56 1.337-1.25v-2.718c0-.008.007-.015.015-.015z"}),Gt=function(e){return M.a.createElement("svg",Vt({viewBox:"0 -0.5 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Ut)};function Yt(){return(Yt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var qt=M.a.createElement("path",{d:"M19.831 7.877l.001-.009-.001-.009a3.675 3.675 0 01-.132-.247l-.057-.115c-.277-.498-.381-.99-1.033-1.064h-.048a.91.91 0 00-.908.862v.002c.674.126 1.252.278 1.813.468l-.092-.027.283.096.147.053s.028 0 .028-.011z"}),Wt=M.a.createElement("path",{d:"M23.982 13.574a68.843 68.843 0 00-.39-7.112l.026.299.07-.019a1.1 1.1 0 00.052-2.09l-.008-.002h-.026a2.306 2.306 0 01-1.149-.861l-.005-.007C19.852-.178 14.3.001 14.3.001S8.75-.178 6.05 3.782c-.28.401-.676.704-1.14.862l-.016.005a1.097 1.097 0 00-.754 1.04v.026-.001l-.001.034c0 .493.335.907.789 1.029l.007.002.045.011a65.7 65.7 0 00-.364 6.801v.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-.769 6.881-.769s1.397-1.661-1.784-3.355v-4.609a.638.638 0 01.625-.628h1.212v-.59c0-.275.223-.498.498-.498h1.665a.498.498 0 01.496.498v.59h2.721v-.59c0-.275.223-.498.498-.498h1.665c.271.005.49.226.49.498v.59h1.209c.349 0 .633.28.639.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879.769c8.222-4.503-1.269-17.515-1.269-17.515zm-1.396-3.313a6.398 6.398 0 01-1.563 3.797l.007-.008c-1.703 2.01-4.407 3.249-6.721 4.432-2.325-1.177-5.026-2.416-6.736-4.432a6.43 6.43 0 01-1.555-3.769l-.001-.02c-.126-2.22.583-5.929 3.044-6.74 2.416-.788 3.947 1.288 4.494 2.227a.863.863 0 001.488.004l.002-.004c.551-.932 2.08-3.008 4.494-2.22 2.474.805 3.174 4.513 3.046 6.734z"}),Jt=M.a.createElement("path",{d:"M19.463 10.087h-.028c-.192.026-.121.251-.047.356.254.349.407.787.407 1.26v.018-.001a1.277 1.277 0 01-.633 1.1l-.006.003c-.739.426-1.377-.145-2.054-.398a7.5 7.5 0 00-2.42-.455h-.009v-1.033a4.886 4.886 0 002.551-1.486l.004-.004a.916.916 0 00-.158-1.383l-.003-.002a4.738 4.738 0 00-2.764-.881 4.752 4.752 0 00-2.819.92l.013-.009a.9.9 0 00-.146 1.317l-.001-.001a4.906 4.906 0 002.553 1.53l.033.007v1.05a8.061 8.061 0 00-2.118.343l.057-.015a5.578 5.578 0 00-.908.358l.033-.015c-.519.26-1.037.436-1.58.121a1.218 1.218 0 01-.617-1.058v-.007-.007c0-.47.153-.905.411-1.257l-.004.006c.047-.068.089-.17.026-.241s-.189 0-.27.03a1.592 1.592 0 00-.479.381l-.002.002a1.716 1.716 0 00-.394 1.097v.011-.001a1.93 1.93 0 00.964 1.651l.009.005c.296.178.654.283 1.036.283.364 0 .706-.095 1.001-.263l-.01.005a6.51 6.51 0 013.225-.728h-.01.03c1.277 0 2.382.266 3.266.775.27.159.594.253.94.253h.003c.355-.002.688-.098.974-.265l-.009.005a2.028 2.028 0 001.007-1.75v-.004l.002-.086c0-.625-.34-1.171-.846-1.462l-.008-.004a.388.388 0 00-.199-.07h-.001zm-6.362-1.256c-.238.213-.468.581-.832.345a.933.933 0 01-.161-.136.352.352 0 01.081-.555l.002-.001c.594-.309 1.203-.543 1.884-.49-.324.281-.649.56-.973.837z"}),$t=M.a.createElement("path",{d:"M15.89 13.578a1.988 1.988 0 01-3.173.005l-.004-.005a.36.36 0 10-.576.427 2.707 2.707 0 004.323.007l.005-.007a.362.362 0 00-.072-.498l-.001-.001a.356.356 0 00-.501.071l-.001.001zM18.507 11.707a.35.35 0 11-.702 0 .35.35 0 01.702 0zM17.389 11.049a.35.35 0 11-.702 0 .35.35 0 01.702 0zM10.798 11.707a.35.35 0 11-.702 0 .35.35 0 01.702 0zM11.918 11.049a.35.35 0 11-.702 0 .35.35 0 01.702 0zM8.773 7.877l-.002-.009.002-.009c.047-.081.089-.164.132-.247.019-.038.036-.079.057-.115.275-.498.379-.99 1.033-1.064h.046c.487 0 .884.382.91.862v.002c-.678.124-1.261.277-1.827.468l.092-.027-.275.096-.1.036-.045.017s-.023 0-.023-.011z"}),Xt=function(e){return M.a.createElement("svg",Yt({viewBox:"0 0 29 32",xmlns:"http://www.w3.org/2000/svg"},e),qt,Wt,Jt,$t)};function Kt(){return(Kt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Zt=M.a.createElement("g",{fill:"none",fillRule:"evenodd"},M.a.createElement("path",{d:"M0 0h21v21H0z"}),M.a.createElement("path",{d:"M8.296 9.925c.014.013.029.022.042.034l-2.456 2.455A5.376 5.376 0 014.697 10.9C4.232 10.024 4 9.02 4 7.884c0-1.134.232-2.15.697-3.045.21-.402.456-.76.732-1.081l2.514 2.514c-.245.432-.375.966-.375 1.612 0 .902.243 1.582.728 2.04zm7.782-7.707v12.19l-4.393-4.394c.053-.044.108-.08.159-.13.499-.485.749-1.172.749-2.06 0-.68-.15-1.24-.441-1.679l3.926-3.927z",fill:"#444"}),M.a.createElement("path",{d:"M12.593 11.7c-.793 1.312-1.928 1.968-3.405 1.968a4.878 4.878 0 01-2.614-.728 4.966 4.966 0 01-.691-.525L8.338 9.96c.478.433 1.054.654 1.732.654.614 0 1.15-.207 1.615-.598l4.393 4.393V19h-3.485v-7.3zm3.485-9.597v.116l-3.926 3.927a2.476 2.476 0 00-2.082-1.09c-.684 0-1.272.242-1.764.727-.144.143-.26.31-.363.49L5.43 3.759a5.031 5.031 0 011.155-1.01A4.795 4.795 0 019.188 2c1.531 0 2.666.588 3.405 1.764V2.103h3.485z",fill:"#000"})),Qt=function(e){return M.a.createElement("svg",Kt({xmlns:"http://www.w3.org/2000/svg"},e),Zt)};function en(){return(en=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var tn=M.a.createElement("path",{d:"M17.38 8.8c0-2.42-.88-4.4-2.53-6.05C13.2 1.1 11.11.22 8.8.22s-4.4.88-6.05 2.53C1.1 4.4.22 6.38.22 8.8s.88 4.4 2.53 6.05c1.65 1.65 3.63 2.53 6.05 2.53.99 0 1.98-.11 2.86-.44l-2.42-2.53c-.11-.11-.33-.22-.44-.22-1.54 0-2.75-.55-3.74-1.54-1.1-.99-1.54-2.31-1.54-3.85s.55-2.86 1.54-3.85c.99-.99 2.2-1.54 3.74-1.54s2.75.55 3.74 1.54c.99.99 1.54 2.31 1.54 3.85 0 .77-.11 1.54-.44 2.2-.22.55-.88.66-1.32.22-1.21-1.21-3.08-1.32-4.4-.22l2.75 2.86 2.31 2.42c.99.99 2.64 1.1 3.74.11l.33-.33-1.43-1.43c-.22-.22-.22-.44 0-.66a8.383 8.383 0 001.76-5.17z"}),nn=function(e){return M.a.createElement("svg",en({viewBox:"-1 -1 20 20",xmlns:"http://www.w3.org/2000/svg"},e),tn)};function rn(){return(rn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ln=M.a.createElement("path",{d:"M13.982 16.711a4.48 4.48 0 01-7.965 0A4.972 4.972 0 0110 14.709c1.629 0 3.074.789 3.982 2.002zm-.748-7.657c-.314 2.56 1.248 2.919 1.248 5.603a4.5 4.5 0 01-.205 1.344 5.635 5.635 0 00-8.554 0 4.5 4.5 0 01-.205-1.344c0-2.684 1.563-3.043 1.247-5.603C6.403 6.126 2.45 6.589 2.45 3.72A2.857 2.857 0 015.308.862C7.017.862 8.073 2.42 10 2.42c1.926 0 2.982-1.558 4.691-1.558a2.857 2.857 0 012.857 2.858c.001 2.869-3.952 2.406-4.314 5.334zM8.557 4.107h-.708a.9.9 0 01-.901.9.9.9 0 01-.901-.9h-.708a1.609 1.609 0 103.218 0zm.979 7.141a.568.568 0 00-.566-.568.567.567 0 10.566.568zm2.062 0a.569.569 0 00-.568-.568.567.567 0 10.568.568zm3.062-7.141h-.707a.9.9 0 01-1.802 0h-.707a1.61 1.61 0 003.216 0z"}),an=function(e){return M.a.createElement("svg",rn({xmlns:"http://www.w3.org/2000/svg"},e),ln)};function on(){return(on=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var sn=M.a.createElement("path",{d:"M64.08 136L23 176.66a4.75 4.75 0 003.53 8.15l86.91.14zM177.91 128.39a17 17 0 00-5-12.07L71.39 14.72 26.61 59.5a17 17 0 00-5 12.05 17 17 0 005 12.05l101.55 101.6v-.07l44.76-44.76a17 17 0 005-12zM172.95 14.69H86.12l49.42 49.62 40.92-41.16a5 5 0 00-3.51-8.46z"}),cn=function(e){return M.a.createElement("svg",on({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),sn)};function pn(){return(pn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var mn=M.a.createElement("path",{d:"M26.9.3C12.2.3.3 12.2.3 26.8s11.9 26.5 26.5 26.5c14.7 0 26.5-11.9 26.5-26.5S41.5.3 26.9.3zm-2 27.7c0 1.1-.1 2.2-.4 3.2-.3 1-.7 1.8-1.3 2.6-.6.7-1.3 1.3-2.2 1.7-.9.4-2 .6-3.2.6-1.3 0-2.4-.2-3.3-.7-.9-.4-1.7-1-2.2-1.8-.6-.7-1-1.6-1.3-2.6-.3-1-.4-2-.4-3.1v-8.3h3.8V28c0 .6.1 1.2.2 1.8s.3 1.1.6 1.5c.3.4.6.8 1.1 1.1s1 .4 1.6.4 1.2-.1 1.6-.4.8-.6 1.1-1.1c.3-.4.5-1 .6-1.5.1-.6.2-1.2.2-1.8v-8.3h3.8c-.3 0-.3 8.3-.3 8.3zm17.2 8H39v-1.6c-1.2 1.1-2.7 1.7-4.3 1.7-1.1 0-2.1-.2-3-.6-.9-.4-1.8-1-2.5-1.7s-1.3-1.6-1.7-2.6c-.4-1-.6-2.2-.6-3.4 0-1.1.2-2.2.6-3.2.4-1 1-1.9 1.7-2.6.7-.7 1.6-1.3 2.6-1.7 1-.4 2.1-.6 3.2-.6 1.5 0 2.8.3 4 1 1.1.6 2 1.5 2.5 2.6l-2.8 2.1c-.4-.7-.9-1.3-1.6-1.7-.7-.4-1.4-.6-2.3-.6-.6 0-1.2.1-1.7.4s-1 .6-1.3 1.1-.7 1-.8 1.6c-.2.6-.3 1.2-.3 1.9s.1 1.4.3 1.9c.2.6.5 1.1.9 1.5.4.4.8.8 1.4 1 .5.2 1.1.4 1.8.4 1.5 0 2.8-.7 4-2v-.5h-3.2v-2.7h6.3c-.1-.2-.1 8.3-.1 8.3z"}),dn=function(e){return M.a.createElement("svg",pn({viewBox:"0 0 54 54",xmlns:"http://www.w3.org/2000/svg"},e),mn)};function un(){return(un=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var gn=M.a.createElement("path",{d:"M18.9 10v4.1c0 .7-.3 1.2-.9 1.6-2.4 1.4-4.7 2.7-7.1 4.1-.6.4-1.3.4-1.9 0-2.3-1.4-4.6-2.8-7-4.1-.6-.4-.9-.9-.9-1.6V6c0-.7.3-1.2.9-1.6C4.4 3 6.7 1.6 9.1.3c.6-.4 1.3-.4 1.9 0 2.3 1.3 4.6 2.7 7 4 .6.4.9.9.9 1.6V10zm-8.7-6c-.5 0-1 .2-1.5.4-.3.2-.7.4-1.1.6-.9.6-1.8 1.1-2.8 1.7-.2.1-.4.4-.4.7 0 .3.2.5.4.6.3.2.6.1.9 0C7 7.3 8.2 6.5 9.5 5.8c.8-.4 1.7-.2 2.1.5.4.7.1 1.6-.6 2.1-.5.3-1 .6-1.4.8-.8.5-1.6.9-2.5 1.4-.3.2-.4.5-.4.8.1.3.3.6.6.6.2 0 .4 0 .6-.1 1.3-.7 2.5-1.5 3.8-2.2.7-.4 1.6-.2 2 .4.5.7.3 1.7-.5 2.2-1.3.7-2.6 1.5-3.8 2.2-.4.2-.5.7-.3 1.1.2.4.7.5 1.1.3 1.3-.8 2.6-1.5 4-2.3 1.2-.7 1.7-2.1 1.3-3.4-.3-1.1-1-1.8-2.1-2.1-.1 0-.2-.1-.1-.2.1-.2.1-.4.1-.6C13.4 5.5 12 4 10.2 4zm-5.8 7.3c0 .2 0 .4.1.7.5 2 2.7 3 4.5 1.9 1.3-.7 2.6-1.5 3.8-2.2.4-.2.5-.7.3-1.1-.2-.4-.7-.5-1.1-.3-.4.2-.7.4-1.1.6-.9.5-1.8 1-2.7 1.6-.6.3-1.1.3-1.7-.1-.9-.6-.8-1.9.2-2.5 1.3-.7 2.6-1.5 3.8-2.2.5-.2.7-.7.4-1-.2-.4-.7-.5-1.1-.3-1.3.7-2.6 1.5-3.9 2.2-1 .6-1.4 1.5-1.5 2.7z"}),fn=function(e){return M.a.createElement("svg",un({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),gn)};function hn(){return(hn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var bn=M.a.createElement("path",{d:"M9 0C4 0 0 4 0 9s4 9 9 9 9-4 9-9-4-9-9-9zM6.5 12.6c-.1.1-.1.1-.2.1l-2 .1c-.2 0-.3-.1-.4-.3l-.1-2c0-.1 0-.2.1-.2l5.5-6.4c.1-.1.3-.2.5 0L12 5.7c.1.1.2.3 0 .5l-5.5 6.4zm7.5.2H9.5c-.2 0-.4-.2-.4-.5 0-.2.2-.5.4-.5H14c.2 0 .4.2.4.5s-.2.5-.4.5zm0-1.8h-2.8c-.2 0-.4-.2-.4-.5 0-.2.2-.5.4-.5H14c.2 0 .4.2.4.5s-.2.5-.4.5zm.1-1.8h-1.2c-.2 0-.3-.2-.3-.5s.1-.5.3-.5h1.2c.2 0 .3.2.3.5s-.1.5-.3.5z"}),xn=function(e){return M.a.createElement("svg",hn({viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e),bn)};function wn(){return(wn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var vn=M.a.createElement("path",{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01A8.87 8.87 0 0110 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"}),yn=function(e){return M.a.createElement("svg",wn({viewBox:"-2 -2 24 24",xmlns:"http://www.w3.org/2000/svg"},e),vn)};function En(){return(En=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var _n=M.a.createElement("path",{d:"M10.9 17.7H7.4l-.9-1.5 2.1-2.4 2.3 3.9zm-5.3-1.6l-1.5 1.6h-4L4 13.3l1.6 2.8z",fill:"#011627"}),kn=M.a.createElement("path",{fill:"#00a7e5",d:"M6.1 15.6L.4 5.9h3.5l2.7 4.5 8-9.1h4.3L6.1 15.6z"}),On=function(e){return M.a.createElement("svg",En({viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg"},e),_n,kn)},Sn=n(167);const Cn=()=>wp.element.createElement(R,{width:"20",height:"20"}),jn=()=>wp.element.createElement(q,{width:"20",height:"20"}),Nn=()=>wp.element.createElement(K,{width:"20",height:"20"}),In=()=>wp.element.createElement(ee,{width:"20",height:"20"}),Tn=()=>wp.element.createElement(re,{width:"20",height:"20"}),Pn=()=>wp.element.createElement(oe,{width:"20",height:"20"}),zn=()=>wp.element.createElement(me,{width:"20",height:"20"}),An=()=>wp.element.createElement(ge,{width:"20",height:"20"}),Dn=()=>wp.element.createElement(be,{width:"20",height:"20"}),Mn=()=>wp.element.createElement(ve,{width:"20",height:"20"}),Ln=()=>wp.element.createElement(_e,{width:"20",height:"20"}),Bn=()=>wp.element.createElement(Ce,{width:"20",height:"20"}),Rn=()=>wp.element.createElement(Te,{width:"20",height:"20"}),Fn=()=>wp.element.createElement(et,{width:"20",height:"20"}),Hn=()=>wp.element.createElement(St,{width:"20",height:"20"}),Vn=()=>wp.element.createElement(Nt,{width:"20",height:"20"}),Un=()=>wp.element.createElement(zt,{width:"20",height:"20"}),Gn=()=>wp.element.createElement(SVGGutenbergBlock,{width:"20",height:"20"}),Yn=()=>wp.element.createElement(Lt,{width:"20",height:"20"}),qn=()=>wp.element.createElement(Ht,{width:"20",height:"20"}),Wn=()=>wp.element.createElement(Gt,{width:"20",height:"20"}),Jn=()=>wp.element.createElement(Xt,{width:"20",height:"20"}),$n=()=>wp.element.createElement(Qt,{width:"20",height:"20"}),Xn=()=>wp.element.createElement(nn,{width:"20",height:"20"}),Kn=()=>wp.element.createElement(an,{width:"20",height:"20"}),Zn=()=>wp.element.createElement(cn,{width:"20",height:"20"}),Qn=()=>wp.element.createElement(dn,{width:"20",height:"20"}),er=()=>wp.element.createElement(fn,{width:"20",height:"20"}),tr=()=>wp.element.createElement(xn,{width:"20",height:"20"}),nr=()=>wp.element.createElement(yn,{width:"20",height:"20"}),rr=e=>Object(a.cloneElement)(e,{fill:"url(#redux-gradient)",className:"redux-icon-gradient"}),lr=e=>{if(e)return wp.element.createElement("icon",{width:"20",height:"20"})};void 0!==window.wp.blocks&&void 0!==window.wp.blocks.updateCategory&&Object(Sn.updateCategory)(redux_templates.i18n,{icon:rr(wp.element.createElement(R,{className:"components-panel__icon",width:"20",height:"20"}))}),Object(l.a)(()=>{const e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(a.render)(wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"redux-gradient",height:"0",width:"0",style:{opacity:0}},wp.element.createElement("defs",null,wp.element.createElement("linearGradient",{id:"redux-gradient"},wp.element.createElement("stop",{offset:"0%",stopColor:"#8c33da",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#f34957",stopOpacity:"1"})))),e)});const ar=()=>wp.element.createElement(R,{width:"20",height:"20"}),or=()=>wp.element.createElement(On,{width:"20",height:"20"}),ir=()=>rr(wp.element.createElement(R,{width:"20",height:"20"})),sr=()=>wp.element.createElement(yn,{width:"20",height:"20"}),cr=wp.i18n.__,pr=cr("Template Import",redux_templates.i18n),mr=[cr("import",redux_templates.i18n),cr("download",redux_templates.i18n),cr("migrate",redux_templates.i18n)],dr={title:pr,description:cr("Import blocks exported using Redux plugin.",redux_templates.i18n),category:"common",keywords:mr,attributes:{file:{type:"object"}},supports:{align:!0,alignWide:!1,alignFull:!1,customClassName:!1,className:!1,html:!1},transforms:A,edit:T,save:()=>null};var ur,gr,fr,hr=null;class br extends a.Component{constructor(e){super(e),this.state={afterOpen:!1,beforeClose:!1}}close(){this.props.onRequestClose&&!this.props.onRequestClose()||(fr?xr.closeCustomizer():xr.close())}componentDidMount(){const e=this.props,t=e.openTimeoutMS,n=e.closeTimeoutMS;setTimeout(()=>this.setState({afterOpen:!0}),t||150),ur=e=>{this.setState({beforeClose:!0},()=>{this.closeTimer=setTimeout(e,n||150)})}}componentWillUnmount(){ur=null,clearTimeout(this.closeTimer)}render(){return wp.element.createElement(a.Fragment,null,wp.element.createElement("span",{onClick:e=>{this.close()},className:"redux-templates-pagelist-modal-overlay"}," "),wp.element.createElement("div",{className:this.props.compactMode?"redux-templates-modal-inner":"redux-templates-pagelist-modal-inner",onClick:e=>e.stopPropagation()},this.props.children))}}const xr={open(e){ur&&this.close(),gr||((gr=document.createElement("div")).className="redux-templates-builder-modal",document.body.appendChild(gr)),wp.element.render(e,gr),document.body.classList.add("redux-templates-builder-modal-open")},close(){ur&&ur(()=>{wp.element.unmountComponentAtNode(gr),document.body.classList.remove("redux-templates-builder-modal-open")})},openCustomizer(e){fr||(fr=document.createElement("div"),document.body.appendChild(fr)),wp.element.render(e,fr)},closeCustomizer(){fr&&(wp.element.unmountComponentAtNode(fr),fr=!1)},openFeedback(e){!(hr=document.getElementsByClassName("feedback-wrapper"))||hr.length<1?((hr=document.createElement("div")).className="feedback-wrapper",document.body.appendChild(hr)):hr=hr[0],wp.element.render(e,hr)},closeFeedback(){hr&&(wp.element.unmountComponentAtNode(hr),hr=!1)},isCustomizerOpened:()=>!!fr,hide(){document.body.classList.remove("redux-templates-builder-modal-open"),gr.classList.add("hidden")},show(){document.body.classList.add("redux-templates-builder-modal-open"),gr&&gr.classList.remove("hidden")}};var wr=n(248),vr=n.n(wr),yr=n(28),Er=n.n(yr),_r=n(170),kr=n.n(_r),Or=n(88),Sr=n.n(Or),Cr=n(35),jr=n.n(Cr),Nr=n(30),Ir=n.n(Nr),Tr=n(53),Pr=n.n(Tr);const zr=wp.i18n.__;var Ar=function(e){const t=e.onCloseCustomizer,n=e.onNextBlock,r=e.onPrevBlock,l=e.onImport,a=e.pro;return wp.element.createElement("div",{className:"wp-full-overlay-header"},wp.element.createElement("button",{className:"close-full-overlay",onClick:t},wp.element.createElement("span",{className:"screen-reader-text"},zr("Close",redux_templates.i18n))),wp.element.createElement("button",{className:"previous-theme",onClick:r},wp.element.createElement("span",{className:"screen-reader-text"},zr("Previous",redux_templates.i18n))),wp.element.createElement("button",{className:"next-theme",onClick:n},wp.element.createElement("span",{className:"screen-reader-text"},zr("Next",redux_templates.i18n))),!1===a&&wp.element.createElement("a",{className:"button hide-if-no-customize button-primary redux-templates-section-import",onClick:l,"data-import":"disabled"},zr("Import",redux_templates.i18n)))},Dr=n(4),Mr=n(577),Lr=n(249),Br=n.n(Lr),Rr=n(250),Fr=n.n(Rr);const Hr=wp.components.Spinner,Vr=redux_templates.plugin+"assets/img/reduxtemplates-medium.jpg",Ur={height:120,display:"flex",alignItems:"top",paddingTop:"40px",justifyContent:"center",background:"#fff"};function Gr({url:e,alt:t,className:n}){return wp.element.createElement(Fr.a,{src:e},wp.element.createElement("img",{alt:t,className:n}),wp.element.createElement("img",{src:Vr,alt:t,className:n}),wp.element.createElement("div",{style:Ur},wp.element.createElement(Hr,null)))}function Yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yr(Object(n),!0).forEach((function(t){Wr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Jr=e=>e in redux_templates.supported_plugins&&redux_templates.supported_plugins[e],$r=e=>{let t=Xr(e);return t||{name:null,slug:null,url:null}},Xr=e=>{let t=qr({},Jr(e));if(!t)return t;if("free_slug"in t&&t.free_slug in redux_templates.supported_plugins){let e=qr({},Jr(t.free_slug));e.free_slug=t.free_slug,e.name=t.name,"is_pro"in e||delete e.version,t=e}return t.slug=t.slug?t.slug:e,t},Kr=e=>!!(e&&e.proDependenciesMissing&&e.proDependenciesMissing.length>0)&&(!tl()||e.proDependenciesMissing.filter(e=>!1===Qr(e)).length>0),Zr=e=>!!(e&&e.installDependenciesMissing&&e.installDependenciesMissing.length>0)||!(!tl()||!e.proDependenciesMissing)&&e.proDependenciesMissing.filter(e=>Qr(e)).length>0,Qr=e=>{const t=Jr(e);return!1!==t&&!0===t.redux_pro},el=(e,t)=>e&&void 0!==e.proDependencies&&e.proDependencies.length>0?e.proDependencies.reduce((e,n)=>void 0!==t[n]&&(e||t[n].value),!1):e&&void 0!==e.proDependenciesMissing&&e.proDependenciesMissing.length>0,tl=()=>{const e=redux_templates.supported_plugins["redux-framework"];return e&&e.hasOwnProperty("is_pro")};function nl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return rl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rl(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 rl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const ll=wp.element,al=ll.useState,ol=ll.useEffect,il=wp.i18n.__;function sl(e){const t=e.itemData,n=e.pro,l=t.hash,a=t.name,o=t.image,i=t.blocks,s=(t.proDependencies,t.installDependencies),c=t.url,p=t.source,m=nl(al(!1),2),d=m[0],u=m[1],g=()=>{Br()(l.substring(0,7)),u(!0),setTimeout((function(){u(!1)}),3500)};if(ol(()=>{u(!1)},[t]),"redux"===p){redux_templates.supported_plugins["redux-framework"]}else{redux_templates.supported_plugins[p]}return wp.element.createElement("div",{className:"wp-full-overlay-sidebar-content"},wp.element.createElement("div",{className:"install-theme-info"},wp.element.createElement("h3",{className:"theme-name"},a," ",c&&wp.element.createElement(Dr.Tooltip,{position:"top right",text:il("Full Preview",redux_templates.i18n)},wp.element.createElement("a",{href:c,target:"_blank"},wp.element.createElement("i",{className:"fas fa-external-link-alt"})))),wp.element.createElement("div",{className:"theme-screenshot-wrap"},wp.element.createElement(Gr,{url:o,className:"theme-screenshot"}),n?wp.element.createElement("span",{className:"redux-templates-pro-badge"},il("Premium",redux_templates.i18n)):""),wp.element.createElement("h5",{className:"theme-hash"},wp.element.createElement("div",{className:"button-container"},wp.element.createElement("span",{className:"button button-secondary the-copy",onClick:g,title:il("Copy Identifier",redux_templates.i18n)},wp.element.createElement("i",{className:"fa fa-copy","aria-hidden":"true"})),wp.element.createElement("span",{onClick:g,className:"button button-secondary the-hash",title:il("Identifier",redux_templates.i18n)},l.substring(0,7)),d&&wp.element.createElement("span",{className:"copied hideMe"},wp.element.createElement("br",null),il("copied",redux_templates.i18n))))),i&&i.length>0&&wp.element.createElement(Dr.PanelBody,{title:il("Blocks Used",redux_templates.i18n),icon:Mr.a,initialOpen:!1},wp.element.createElement(Dr.PanelRow,{className:"redux-block-pills"},wp.element.createElement("ul",null,i.map((e,t)=>wp.element.createElement("li",{key:t},wp.element.createElement("span",null,e)))))),s&&s.length>0&&wp.element.createElement(Dr.PanelBody,{title:il("Required Plugins",redux_templates.i18n),icon:Mr.a,initialOpen:!1},wp.element.createElement(Dr.PanelRow,{className:"requirements-list-div"},wp.element.createElement("div",{className:"requirements-list"},wp.element.createElement("ul",null,s.map(e=>{const n=redux_templates.supported_plugins[e];if(!n)return console.log("Missing plugin details for "+e),null;const l=e.replace("-pro","").replace("-premium","").replace(/\W/g,"").toLowerCase();if("redux"===l)return;const a=r[l];return wp.element.createElement("li",{key:e},a&&wp.element.createElement(a,null),wp.element.createElement("span",{className:"redux-templates-dependency-name"},n.name),Zr(t)&&wp.element.createElement(Dr.Tooltip,{position:"bottom center",text:il("Not Installed",redux_templates.i18n)},wp.element.createElement("div",{className:"redux-icon-wrapper"},wp.element.createElement("i",{className:"fa fa-exclamation-triangle"}))),n.url?wp.element.createElement(Dr.Tooltip,{position:"top right",text:il("Visit Plugin Website",redux_templates.i18n)},wp.element.createElement("span",{className:"pluginURL"},wp.element.createElement("a",{href:n.url,target:"_blank"},wp.element.createElement("i",{className:"fas fa-external-link-alt"})))):null)}))))),"redux"!==p&&wp.element.createElement(Dr.PanelBody,{title:il("Template Details",redux_templates.i18n),icon:Mr.a,initialOpen:!1},wp.element.createElement(Dr.PanelRow,{className:"redux-block-pills"},wp.element.createElement("ul",null,"redux"!==p&&wp.element.createElement("li",null,wp.element.createElement("strong",null,"Author"),": ",p.slice(0,1).toUpperCase()+p.slice(1,p.length))))))}const cl=wp.i18n.__;var pl=function(e){const t=e.previewClass,n=e.expandedClass,r=e.pro,l=e.onChangePreviewClass,a=e.onToggleExpanded,o=e.onImport;return wp.element.createElement("div",{className:"wp-full-overlay-footer"},wp.element.createElement("div",{className:"footer-import-button-wrap redux-templates-import-button-group"},r?wp.element.createElement("div",{className:"action-buttons"},wp.element.createElement("a",{className:"redux-templates-button-download",target:"_blank",href:"http://redux-templates.io/"},wp.element.createElement("i",{className:"fas fa-upload"})," ",cl("Upgrade to Pro",redux_templates.i18n))):wp.element.createElement("a",{className:"button button-hero hide-if-no-customize button-primary redux-templates-import",onClick:o},wp.element.createElement("i",{className:"fas fa-download"})," ",cl("Import",redux_templates.i18n))),wp.element.createElement("button",{type:"button",className:"collapse-sidebar button",onClick:()=>{a("collapsed"===n?"expanded":"collapsed")},"aria-expanded":"true","aria-label":"Collapse Sidebar"},wp.element.createElement("span",{className:"collapse-sidebar-arrow"}),wp.element.createElement("span",{className:"collapse-sidebar-label"},cl("Collapse",redux_templates.i18n))),wp.element.createElement("div",{className:"devices-wrapper"},wp.element.createElement("div",{className:"devices"},[{className:"preview-desktop",screenReaderText:"Enter desktop preview mode"},{className:"preview-tablet",screenReaderText:"Enter tablet preview mode"},{className:"preview-mobile",screenReaderText:"Enter mobile preview mode"}].map((e,n)=>wp.element.createElement("button",{type:"button",className:t===e.className?e.className+" active":e.className,"aria-pressed":"true",key:n,onClick:()=>l(e.className)},wp.element.createElement("span",{className:"screen-reader-text"},e.screenReaderText))))))};var ml=function(e){const t=e.itemData,n=e.previewClass,r=e.expandedClass,l=e.onImport,a=e.onCloseCustomizer,o=e.onChangePreviewClass,i=e.onToggleExpanded,s=e.onNextBlock,c=e.onPrevBlock,p=xo(t.pro,t.source);return wp.element.createElement("div",{className:"wp-full-overlay-sidebar"},wp.element.createElement(Ar,{onCloseCustomizer:a,onNextBlock:s,onPrevBlock:c,pro:p,onImport:l}),wp.element.createElement(sl,{itemData:t,pro:p}),wp.element.createElement(pl,{previewClass:n,expandedClass:r,pro:p,onChangePreviewClass:o,onToggleExpanded:i,onImport:l}))};function dl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ul(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dl(Object(n),!0).forEach((function(t){gl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return hl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hl(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 hl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const bl=wp.apiFetch,xl=wp.compose.compose,wl=wp.data.withDispatch,vl=wp.element,yl=vl.Fragment,El=vl.useState,_l=wp.i18n.__;var kl=xl([wl(e=>({setInstalledDependencies:e("redux-templates/sectionslist").setInstalledDependencies}))])((function(e){const t=e.missingPlugins,n=e.toNextStep,r=e.onCloseWizard,l=e.setInstalledDependencies,a=fl(El(null),2),o=a[0],i=a[1],s=fl(El([]),2),c=s[0],p=s[1],m=fl(El([]),2),d=m[0],u=m[1],g=fl(El(t),2),f=g[0],h=g[1],b=async()=>{p([]),u([]),h(t),i(null),l(!1);let e=[],n=[],r=[...f];for(let a of t){const t=redux_templates.supported_plugins[a];if(r=r.filter(e=>e!==a),h(r),!a||!t){i(null);break}i(ul(ul({},t),{},{pluginKey:a}));const o=t.redux_pro?"&redux_pro=1":"";await bl({path:"redux/v1/templates/plugin-install?slug="+a+o}).then(t=>{t.success?(l(!0),e=[...e,a],p(e),0===r.length&&i(null)):(n=[...n,a],u(n),0===r.length&&i(null))}).catch(e=>{n=[...n,a],u(n),0===r.length&&i(null)})}};return 0===f.length&&0===d.length&&null===o&&n(),wp.element.createElement(yl,null,wp.element.createElement("div",{className:"redux-templates-modal-body"},wp.element.createElement("h5",null,_l("Install Required Plugins",redux_templates.i18n)),wp.element.createElement("p",null,_l("Plugins needed to import this template are missing. Required plugins will be installed and activated automatically.",redux_templates.i18n)),null===o&&d.length>0&&wp.element.createElement("p",{className:"error"},"It's us, not you, we recommend you to try again later or contact us ",wp.element.createElement("a",{href:"#"},"here")),wp.element.createElement("ul",{className:"redux-templates-import-progress"},t&&t.map(e=>{let t=$r(e);return o&&o.pluginKey===e?wp.element.createElement("li",{className:"installing",key:o.pluginKey},o.name,wp.element.createElement("i",{className:"fas fa-spinner fa-pulse"})):d.includes(e)?wp.element.createElement("li",{className:"failure",key:e},t.name," ",wp.element.createElement("i",{className:"fas fa-exclamation-triangle"})):f.includes(e)?wp.element.createElement("li",{className:"todo",key:e},t.name," ",t.url&&wp.element.createElement("a",{href:t.url,target:"_blank"},wp.element.createElement("i",{className:"fas fa-external-link-alt"}))):c.includes(e)?wp.element.createElement("li",{className:"success",key:e},t.name," ",wp.element.createElement("i",{className:"fas fa-check-square"})):void 0}))),wp.element.createElement("div",{className:"redux-templates-modal-footer"},0!==f.length&&wp.element.createElement("button",{className:"button button-primary",disabled:null!==o,onClick:()=>b()},null!==o&&wp.element.createElement("i",{className:"fas fa-spinner fa-pulse"}),wp.element.createElement("span",null,_l("Install",redux_templates.i18n))),wp.element.createElement("button",{className:"button button-secondary",disabled:null!==o,onClick:r},_l("Cancel",redux_templates.i18n))))}));const Ol=wp.i18n.__;function Sl(e){return wp.element.createElement("div",{className:"redux-templates-modal-body"},wp.element.createElement("div",{className:"section-box premium-box"},wp.element.createElement("h3",null,Ol("Upgrade to Redux Pro",redux_templates.i18n)),wp.element.createElement("p",null,Ol("Upgrade to unlock 1,000+ designs to build your pages quick!",redux_templates.i18n)),wp.element.createElement("ul",null,wp.element.createElement("li",null,wp.element.createElement("strong",null,Ol("Unlimited",redux_templates.i18n))," ",Ol("access to the Library",redux_templates.i18n)),wp.element.createElement("li",null,wp.element.createElement("strong",null,Ol("Google Fonts",redux_templates.i18n))," ",Ol("always up to date.",redux_templates.i18n)),wp.element.createElement("li",null,wp.element.createElement("strong",null,Ol("Advanced Customizer",redux_templates.i18n))," ",Ol("for settings.",redux_templates.i18n)),wp.element.createElement("li",null,wp.element.createElement("strong",null,Ol("And so much more!",redux_templates.i18n)))),wp.element.createElement("p",null,wp.element.createElement("a",{href:redux_templates.u,className:"redux-templates-upgrade-button",title:"{__('Redux Pro', redux_templates.i18n)}",target:"_blank"},Ol("Upgrade Now",redux_templates.i18n)))))}const Cl=wp.element.Fragment,jl=wp.i18n.__;function Nl(e){const t=e.missingPros,n=e.onCloseWizard;return t.indexOf("redux-pro")>=0?wp.element.createElement(Sl,null):wp.element.createElement(Cl,null,wp.element.createElement("div",{className:"redux-templates-modal-body"},wp.element.createElement("h5",null,jl("Additional Plugins Required",redux_templates.i18n)),wp.element.createElement("p",null,jl("The following premium plugin(s) are required to import this template:",redux_templates.i18n)),wp.element.createElement("ul",{className:"redux-templates-import-progress"},t.map(e=>{let t=$r(e);return wp.element.createElement("li",{className:"installing",key:e},t.name," ",t.url&&wp.element.createElement("a",{href:t.url,target:"_blank"},wp.element.createElement("i",{className:"fas fa-external-link-alt"})))}))),wp.element.createElement("div",{className:"redux-templates-modal-footer"},wp.element.createElement("a",{className:"button button-secondary",onClick:n},jl("Close",redux_templates.i18n))))}wp.apiFetch;const Il=wp.compose.compose,Tl=wp.data.withDispatch,Pl=wp.element,zl=Pl.Fragment,Al=(Pl.useState,wp.i18n.__);var Dl=Il([Tl(e=>({setImportToAppend:e("redux-templates/sectionslist").setImportToAppend}))])((function(e){const t=e.setImportToAppend,n=e.toNextStep,r=e.onCloseWizard,l=e=>{t(e),n()};return wp.element.createElement(zl,null,wp.element.createElement("div",{className:"redux-templates-modal-body"},wp.element.createElement("h5",null,Al("Append or Replace",redux_templates.i18n)),wp.element.createElement("p",null,Al("You have existing content on this page. How would you like to handle the import of this page template?",redux_templates.i18n)),wp.element.createElement("div",{style:{textAlign:"center",marginTop:"30px"}},wp.element.createElement("button",{className:"button button-primary",onClick:()=>l(!0),style:{marginRight:"10px"}},Al("Append to Content",redux_templates.i18n)),wp.element.createElement("button",{className:"button button-primary",onClick:()=>l(!1)},Al("Replace all Content",redux_templates.i18n)))),wp.element.createElement("div",{className:"redux-templates-modal-footer"},wp.element.createElement("button",{className:"button button-secondary",onClick:r},Al("Cancel",redux_templates.i18n))))})),Ml=n(171),Ll=n.n(Ml);function Bl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Rl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rl(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 Rl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const Fl=wp.element,Hl=Fl.useState,Vl=Fl.useEffect,Ul=Fl.useRef,Gl=wp.components.Spinner,Yl=wp.i18n.__,ql=[Yl("Please wait while your template is prepared.",redux_templates.i18n),Yl("Fetching the template.",redux_templates.i18n),Yl("We're getting closer now.",redux_templates.i18n),Yl("Wow, this is taking a long time.",redux_templates.i18n),Yl("Gah, this should be done by now!",redux_templates.i18n),Yl("Really, this should be done soon.",redux_templates.i18n),Yl("Are you sure your internet is working?!",redux_templates.i18n),Yl("Give up, it looks like it didn't work...",redux_templates.i18n)];function Wl(e){const t=Bl(Hl(0),2),n=t[0],r=t[1],l=Bl(Hl(ql[0]),2),a=l[0],o=l[1];return function(e,t){const n=Ul();Vl(()=>{n.current=e},[e]),Vl(()=>{if(null!==t){let e=setInterval((function(){n.current()}),t);return()=>clearInterval(e)}},[t])}(()=>{n!==ql.length&&(r(e=>e+1),o([ql[n+1]]))},4e3),wp.element.createElement("div",{className:"redux-templates-modal-body"},wp.element.createElement("div",{className:"redux-templates-import-wizard-spinner-wrapper"},wp.element.createElement(Ll.a,{text:a,springConfig:Ml.presets.gentle}),wp.element.createElement(Gl,null)))}const Jl=wp.i18n.__;function $l({onActivateRedux:e,activating:t}){return wp.element.createElement("div",{className:"redux-templates-modal-body"},wp.element.createElement("div",{className:"section-box premium-box"},wp.element.createElement("h3",null,Jl("Activation Required",redux_templates.i18n)),wp.element.createElement("p",null,Jl("To continue using our library, you must activate Redux.",redux_templates.i18n)),wp.element.createElement("ul",null,wp.element.createElement("li",null,wp.element.createElement("strong",null,Jl("Unlimited",redux_templates.i18n))," ",Jl("use of our free templates.",redux_templates.i18n)),wp.element.createElement("li",null,wp.element.createElement("strong",null,Jl("Updates",redux_templates.i18n))," ",Jl("to the library.",redux_templates.i18n)),wp.element.createElement("li",null,wp.element.createElement("strong",null,Jl("Google Fonts",redux_templates.i18n))," ",Jl("manual updates.",redux_templates.i18n)),wp.element.createElement("li",null,wp.element.createElement("strong",null,Jl("And so much more!",redux_templates.i18n)))),wp.element.createElement("p",null,wp.element.createElement("button",{className:"button button-primary",disabled:t,onClick:()=>e()},t&&wp.element.createElement("i",{className:"fas fa-spinner fa-pulse",style:{marginRight:"5px"}}),wp.element.createElement("span",null,Jl("Activate Redux for Free",redux_templates.i18n)))),wp.element.createElement("p",{style:{fontSize:"1.1em"}},wp.element.createElement("small",null,wp.element.createElement("em",{dangerouslySetInnerHTML:{__html:redux_templates.tos.replace("to our","to our<br />")}})))))}n(357),n(359);function Xl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Kl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kl(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 Kl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const Zl=wp.i18n.__,Ql=wp.compose.compose,ea=wp.data,ta=ea.withDispatch,na=ea.withSelect,ra=wp.element,la=ra.useState,aa=ra.useEffect,oa=wp.apiFetch,ia=["qubely","kioken-blocks"];var sa=Ql([ta(e=>{const t=e("redux-templates/sectionslist");return{setImportingTemplate:t.setImportingTemplate,setActivateDialogDisplay:t.setActivateDialogDisplay,appendErrorMessage:t.appendErrorMessage}}),na((e,t)=>{const n=e("redux-templates/sectionslist"),r=n.getChallengeOpen,l=n.getImportingTemplate,a=n.getActivateDialogDisplay,o=n.getInstalledDependencies,i=e("core/editor").isEditedPostEmpty;return{isChallengeOpen:r(),importingTemplate:l(),activateDialogDisplay:a(),isPostEmpty:i(),isInstalledDependencies:o()}})])((function(e){const t=e.startImportTemplate,n=e.setImportingTemplate,r=e.setActivateDialogDisplay,l=e.appendErrorMessage,a=e.isChallengeOpen,o=e.importingTemplate,i=e.activateDialogDisplay,s=e.isPostEmpty,c=e.isInstalledDependencies,p=Xl(la(0),2),m=p[0],d=p[1],u=Xl(la(!1),2),g=u[0],f=u[1],h=Xl(la(!1),2),b=h[0],x=h[1],w=Xl(la([]),2),v=w[0],y=w[1];aa(()=>{if(o){o.proDependenciesMissing||(o.proDependenciesMissing=[]),o.installDependenciesMissing||(o.installDependenciesMissing=[]);const e=!1===isNaN(redux_templates.left)?parseInt(redux_templates.left):0;if("1"!==redux_templates.mokama&&e<1)return void d(999);if((e=>{if(!e)return!1;return[].concat(e.installDependenciesMissing,e.proDependenciesMissing).reduce((e,t)=>"redux-pro"===t||(e||Qr(t)&&!1===tl()),!1)})(o))return void d(-1);if(o&&0===m&&!1===Kr(o)&&(d(1),tl()?y([].concat(o.proDependenciesMissing,o.installDependenciesMissing).filter(e=>e)):y(o.installDependenciesMissing.filter(e=>e))),o&&1===m&&!1===Zr(o)&&d(!1===s?2:3),o&&2===m&&!0===s&&d(3),o&&3===m&&!1===g){f(!0);try{t()}catch(e){console.log("importing exception",e),f(!1),d(1),n(null)}}}},[o,m,i]),aa(()=>{!0===i&&(d(999),r(!1))},[i]),aa(()=>{r(!1)},[]);const E=()=>{a||d(m+1)},_=()=>{a||g||(d(1),n(null))};return a&&1!==m&&d(1),o?wp.element.createElement("div",{className:"redux-templates-modal-overlay"},wp.element.createElement("div",{className:"redux-templates-modal-wrapper","data-tut":"tour__import_wizard"},wp.element.createElement("div",{className:"redux-templates-modal-header"},wp.element.createElement("h3",null,Zl("Import Wizard",redux_templates.i18n)),wp.element.createElement("button",{className:"redux-templates-modal-close",onClick:_},wp.element.createElement("i",{className:"fas fa-times"}))),wp.element.createElement("div",{className:"redux-templates-importmodal-content"},0===m&&Kr(o)&&wp.element.createElement(Nl,{missingPros:o.proDependenciesMissing,onCloseWizard:_}),1===m&&wp.element.createElement(kl,{missingPlugins:a?ia:v,toNextStep:E,onCloseWizard:_}),2===m&&wp.element.createElement(Dl,{toNextStep:E,onCloseWizard:_}),3===m&&wp.element.createElement(Wl,null),999===m&&wp.element.createElement($l,{onActivateRedux:()=>{x(!0),oa({path:"redux/v1/templates/activate"}).then(e=>{e.success&&(redux_templates.left=e.data.left),d(0),x(!1)}).catch(e=>{l(e.code+" : "+e.message),d(0),x(!1)})},activating:b}),-1===m&&wp.element.createElement(Sl,null),c&&wp.element.createElement("iframe",{src:"./",width:"0",height:"0"})))):null}));n(361);function ca(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return pa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pa(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 pa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const ma=wp.compose.compose,da=wp.data,ua=da.withDispatch,ga=da.withSelect,fa=wp.element,ha=fa.useState,ba=fa.useEffect,xa=fa.useReducer,wa=wp.components.Spinner,va={currentPageData:null,currentIndex:0,itemData:null,imageURL:""},ya=(e,t)=>{let n,r;switch(t.type){case"INDEX":n=e.currentPageData;break;case"DATA":n=t.currentPageData}const l=n[t.currentIndex];return r=l.image_full?l.image_full:l.image,{currentPageData:n,currentIndex:t.currentIndex,imageURL:r,itemData:l}};var Ea=ma([ua(e=>{const t=e("redux-templates/sectionslist");return{setImportingTemplate:t.setImportingTemplate,setCustomizerOpened:t.setCustomizerOpened}}),ga((e,t)=>({importingTemplate:(0,e("redux-templates/sectionslist").getImportingTemplate)()}))])((function(e){const t=e.startIndex,n=e.currentPageData,r=e.setImportingTemplate,l=e.importingTemplate,a=ca(xa(ya,va),2),o=a[0],i=a[1],s=ca(ha("preview-desktop"),2),c=s[0],p=s[1],m=ca(ha("expanded"),2),d=m[0],u=m[1],g=ca(ha(null),2),f=g[0],h=g[1],b=ca(ha(1),2),x=b[0],w=b[1],v=ca(ha("wp-full-overlay sites-preview theme-install-overlay "),2),y=v[0],E=v[1];ba(()=>{const e=({keyCode:e})=>{h(e)};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]),ba(()=>{null!==f&&(37===f&&k(),39===f&&_(),h(null))},[f]),ba(()=>{!1===isNaN(t)&&n&&i({type:"DATA",currentIndex:t,currentPageData:n})},[t,n]),ba(()=>{E(["wp-full-overlay sites-preview theme-install-overlay ",c,d].join(" "))},[c,d]);const _=()=>{o.currentIndex<n.length-1&&(O(),i({type:"INDEX",currentIndex:o.currentIndex+1}))},k=()=>{o.currentIndex>0&&(w(),i({type:"INDEX",currentIndex:o.currentIndex-1}))},O=()=>{w(0),setTimeout(()=>{w(1)},100)};return o&&o.itemData?wp.element.createElement(D.Fragment,null,wp.element.createElement("div",{className:y,style:{display:"block"}},wp.element.createElement(ml,{itemData:o.itemData,previewClass:c,expandedClass:d,onNextBlock:_,onPrevBlock:k,onCloseCustomizer:()=>{xr.closeCustomizer()},onToggleExpanded:e=>u(e),onImport:()=>{r(o.itemData),xr.closeCustomizer()},onChangePreviewClass:e=>p(e)}),wp.element.createElement("div",{className:"wp-full-overlay-main loaded"},x<2&&wp.element.createElement(wa,null),o.itemData.url&&wp.element.createElement("iframe",{src:0===x?"":o.itemData.url+"?preview=1",target:"Preview",onLoad:()=>{w(2)}}),!o.itemData.url&&wp.element.createElement("div",{className:"redux-templates-modal-preview-box"},wp.element.createElement(Gr,{url:o.imageURL})))),l&&wp.element.createElement(sa,{startImportTemplate:()=>{l&&eo()}})):null})),_a=n(271),ka=n(65);function Oa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oa(Object(n),!0).forEach((function(t){Ca(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ca(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ja(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Na(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Na(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 Na(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const Ia=wp.element.useState,Ta=wp.apiFetch;var Pa=function(e){const t=e.title,n=e.description,r=e.schema,l=e.uiSchema,a=e.headerImage,i=e.headerIcon,s=e.data,c=e.ignoreData,p=e.endpoint,m=e.width,d=e.buttonLabel,u=e.closeModal,g=e.onSuccess,f=ja(Ia(!1),2),h=f[0],b=f[1],x=ja(Ia(null),2),w=x[0],v=x[1],y=()=>{u?u():xr.closeFeedback()},E=m?{width:m}:null,_=m?"redux-templates-modal-wrapper feedback-popup-wrapper less-margin":"redux-templates-modal-wrapper feedback-popup-wrapper";return wp.element.createElement("div",{className:"redux-templates-modal-overlay"},wp.element.createElement("div",{className:_,style:E},wp.element.createElement("div",{className:"feedback-popup-header feedback-popup-header-contact"},a,i,wp.element.createElement("a",{className:"feedback-popup-close",onClick:y},wp.element.createElement("i",{className:"fas fa-times"}))),wp.element.createElement("div",{className:"feedback-popup-content"},wp.element.createElement("h3",null,t),w&&wp.element.createElement("p",{className:"error-message"},w),wp.element.createElement("p",null,n),wp.element.createElement("div",{className:"col-wrapper"},wp.element.createElement(_a.a,{schema:r,uiSchema:l,onSubmit:({formData:e})=>{const t="redux/v1/templates/"+(p||"feedback");h||(b(!0),Ta({path:t,method:"POST",data:c?e:Sa(Sa({},s),e)}).then(e=>{b(!1),e.success?(v(null),g?g(e):y()):(console.log("There was an error: ",e),v(Object(o.__)("An unexpected error occured, please try again later.",redux_templates.i18n)))}).catch(e=>{b(!1),console.log("There was an error: ",e),v(Object(o.__)("An unexpected error occured, please try again later.",redux_templates.i18n))}))}},wp.element.createElement("button",{className:"feedback-popup-btn feedback-popup-rate-btn",type:"submit"},h&&wp.element.createElement("i",{className:"fas fa-spinner fa-pulse"}),d)),s&&s.editor_blocks&&wp.element.createElement("div",{className:"preview-panel"},wp.element.createElement("div",{className:"redux-templates-block-preview-hover"}),wp.element.createElement(ka.BlockPreview,{blocks:s.editor_blocks}))))," "))};const za=wp.blocks,Aa=za.parse,Da=za.createBlock,Ma=wp.apiFetch,La=wp.data,Ba=La.dispatch,Ra=La.select,Fa=Ra("core/block-editor").getBlockOrder,Ha=Ra("core/blocks").getBlockTypes,Va=Ba("core/editor"),Ua=Va.savePost,Ga=Va.editPost,Ya=Ba("core/block-editor"),qa=Ya.insertBlocks,Wa=Ya.removeBlocks,Ja=Ya.multiSelect,$a=Ba("core/notices"),Xa=$a.createSuccessNotice,Ka=$a.createErrorNotice,Za=$a.createNotice,Qa=($a.removeNotice,(e,t)=>{let n=null;if("template"in e)n=Aa(e.template);else if("attributes"in e){if("innerBlocks"in e||(e.innerBlocks=[]),"name"in e||ao("Template malformed, `name` for block not specified."),!0===t)return window.redux_templates_tempdata=[...window.redux_templates_tempdata,e],null;n=Da(e.name,e.attributes,e.innerBlocks)}else ao("Template error. Please try again.");return n}),eo=()=>{const e=Ba("redux-templates/sectionslist"),t=e.setImportingTemplate,n=e.discardAllErrorMessages,r=(e.clearSearch,"section"===Ra("redux-templates/sectionslist").getActiveItemType()?"sections":"pages"),l=Ra("redux-templates/sectionslist").getImportingTemplate(),a=Ra("redux-templates/sectionslist").getInstalledDependencies(),o=Ra("redux-templates/sectionslist").getImportToAppend();"pages"===r?Ga({template:"redux-templates_full_width"}):""===Ra("core/editor").getEditedPostAttribute("template")&&Ga({template:"redux-templates_contained"}),n();let i="redux/v1/templates/template?type="+r+"&id="+l.id+"&uid="+window.userSettings.uid;"source"in l&&(i+="&source="+l.source);const s={method:"GET",path:i,headers:{"Content-Type":"application/json","Registered-Blocks":lo()}};if(Ba("core/edit-post")&&"text"===Ra("core/edit-post").getEditorMode()){(0,Ba("core/edit-post").switchEditorMode)()}window.redux_templates_tempdata=[],Ma(s).then(e=>{if(to(e.data,{type:"snackbar"}),!1===o){const e=Fa();Ja(e[0],e[e.length-1]),Wa(e)}if(e.success&&e.data){let n=e.data;"1"!==redux_templates.mokama&&!1===isNaN(n.left)&&(redux_templates.left=n.left);let r=[];r=n.hasOwnProperty("template")||n.hasOwnProperty("attributes")?Qa(n,a):Object.keys(n).filter(e=>"cache"!==e).map(e=>Qa(n[e],a)),localStorage.setItem("importing_data",JSON.stringify(l)),localStorage.setItem("block_data",JSON.stringify(redux_templates_tempdata)),localStorage.setItem("is_appending",o),qa(r),Xa("Template inserted",{type:"snackbar"}),!0===a?Ua().then(()=>window.location.reload()).catch(()=>Ka("Error while saving the post",{type:"snackbar"})):(xr.close(),xr.closeCustomizer(),t(null)),no(l,r)}else!1===e.success?ao(e.data.message):ao(e.data.error)}).catch(e=>{ao(e.code+" : "+e.message)})},to=(e,t)=>{if(e&&e.message){const n=e.messageType||"info";Za(n,e.message,t)}},no=(e,t)=>{const n=(e=>!0===Array.isArray(e)?e.filter(e=>!1===e.isValid):e&&!1===e.isValid?[e]:null)(t);let r="";n&&n.length<1&&(r=n.map(e=>e.validationIssues&&Array.isArray(e.validationIssues)?e.validationIssues.map(e=>sprintf(...e.args)).join("\n"):null).join("\n"));const l={type:"object",properties:{theme_plugins:{type:"boolean",title:Object(o.__)("Send theme and plugins",redux_templates.i18n),default:!0},send_page_content:{type:"boolean",title:Object(o.__)("Send page content",redux_templates.i18n),default:!0},template_id:{type:"string",default:e.hash,title:Object(o.__)("Template ID",redux_templates.i18n)},description:{type:"string",default:r,title:Object(o.__)("Description",redux_templates.i18n)}}},a={description:{"ui:widget":"textarea"},template_id:{"ui:disabled":!0,classNames:"fixed-control"}},i={content:t};n&&n.length>0&&Za("error","Please let us know if there was an issue importing this Redux template.",{isDismissible:!0,id:"redux-templatesimportfeedback",actions:[{onClick:()=>xr.openFeedback(wp.element.createElement(Pa,{title:Object(o.__)("Thank you for reporting an issue.",redux_templates.i18n),description:Object(o.__)("We want to make Redux perfect. Please send whatever you are comfortable sending, and we will do our best to resolve the problem.",redux_templates.i18n),schema:l,uiSchema:a,data:i,ignoreData:!0,headerImage:wp.element.createElement("img",{className:"header-background",src:redux_templates.plugin+"assets/img/popup-contact.png"}),buttonLabel:Object(o.__)("Submit Feedback",redux_templates.i18n)})),label:"Report an Issue",isPrimary:!0}]})},ro=()=>{const e=Ba("redux-templates/sectionslist"),t=e.setLoading,n=e.setLibrary;t(!0),Ma({path:"redux/v1/templates/library?no_cache=1",method:"POST",data:{registered_blocks:lo()}}).then(e=>{t(!1),n(e.data)}).catch(e=>{ao(e)})},lo=()=>{let e=Ha(),t=Object.keys(e).map(t=>{if(!e[t].name.includes("core"))return e[t].name.split("/")[0]});return[...new Set(t)].filter((function(e){return e}))},ao=e=>{const t=Ba("redux-templates/sectionslist"),n=t.appendErrorMessage,r=t.setImportingTemplate,l=t.setActivateDialogDisplay;"Please activate Redux"===e?(l(!0),redux_templates.left=0):(n(e),r(null))};function oo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function io(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oo(Object(n),!0).forEach((function(t){so(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function so(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const co=wp.blocks.createBlock,po=wp.data.dispatch,mo=po("core/notices").createSuccessNotice,uo=po("core/block-editor").insertBlocks,go="core",fo=e=>e[e.activeItemType],ho=e=>e?Object.keys(e).map(t=>io(io({},e[t]),{},{ID:t})):[],bo=e=>{let t=[],n={};return e.forEach(e=>{e.categories&&e.categories.map(r=>{let l=vr()(r);l in n||(n[l]=[]),n[l].push(e);let a=-1;t.forEach((n,r)=>{l==n.slug&&(a=r,t[r].ids.push(e.id))}),-1===a&&t.push({name:r,slug:l,ids:[e.id]})})}),{categories:t,data:n}},xo=(e,t)=>t&&redux_templates.supported_plugins.hasOwnProperty(t)?e&&!redux_templates.supported_plugins[t].is_pro:e&&"1"!==redux_templates.mokama,wo=(e,t,n)=>{const r="redux_"+e,l={value:t,expiry:(new Date).getTime()+n};localStorage.setItem(r,JSON.stringify(l))},vo=(e,t=null)=>{const n="redux_"+e,r=localStorage.getItem(n);if(!r)return t;const l=JSON.parse(r);return(new Date).getTime()>l.expiry?(localStorage.removeItem(n),t):l.value},yo={large:2,medium:3,small:4},Eo={large:20,medium:30,small:40},_o=e=>{Object.keys(redux_templates.supported_plugins).filter(e=>!1===Oo(e));return e.reduce((e,t)=>{let n=!0;return ko(t)&&"redux-pro"!==t&&!1===Qr(t)&&(n=!1),io(io({},e),{},{[t]:{value:n,disabled:!1}})},{[go]:{value:!0,disabled:!1},"redux-pro":{value:!0,disabled:!1}})},ko=e=>{const t=Jr(e);return t&&t.hasOwnProperty("free_slug")},Oo=e=>{const t=Jr(e),n=Jr(t.free_slug);return n.hasOwnProperty("version")&&n.hasOwnProperty("is_pro")&&!1!==n.is_pro},So=()=>{var e=localStorage.getItem("reduxChallengeStep");return null===e?-1:e=parseInt(e,10)};function Co(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Co(Object(n),!0).forEach((function(t){No(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Co(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function No(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Io={loading:!1,activeItemType:vo("itemType","section"),library:null,columns:vo("column",""),errorMessages:[],section:{categories:[],data:{},priceFilter:vo("section_price",""),activeCategory:vo("section_category",""),dependencyFilters:{},dependencyFilterRule:vo("section_filterRule",!0),searchContext:"",wholePlugins:[],sortBy:vo("section_sort","name"),currentPage:vo("section_page",0)},page:{categories:[],data:{},priceFilter:vo("page_price",""),activeCategory:vo("page_category",""),dependencyFilters:{},dependencyFilterRule:vo("page_filterRule",!0),searchContext:"",wholePlugins:[],sortBy:vo("page_sort","name"),currentPage:vo("page_page",0)},collection:{categories:[],data:{},priceFilter:vo("collection_price",""),activeCategory:vo("collection_category","name"),dependencyFilters:{},dependencyFilterRule:!1,searchContext:"",wholePlugins:[],activeCollection:null,sortBy:vo("collection_sort","name"),currentPage:vo("collection_page",0)},installedDependencies:!1,isImportToAppend:!0,tour:{isOpen:!1,activeButtonGroup:null,isPreviewVisible:!1},challenge:{isOpen:!1,currentStep:So(),tooltipRect:{},finalStatus:"",passed:vo("reduxChallengePassed",!1),listExpanded:!0},plugins:{},importingTemplate:null,activateDialog:!1},To={setLibrary:e=>({type:"SET_LIBRARY",library:e}),fetchLibraryFromAPI:e=>({type:"FETCH_LIBRARY_FROM_API",path:e}),setActiveItemType:e=>({type:"SET_ACTIVE_ITEM_TYPE",activeItemType:e}),setActiveCategory:e=>({type:"SET_ACTIVE_CATEGORY",activeCategory:e}),setActiveCollection:e=>({type:"SET_ACTIVE_COLLECTION",activeCollection:e}),setActivePriceFilter:e=>({type:"SET_ACTIVE_PRICE_FILTER",activePriceFilter:e}),setSearchContext:e=>({type:"SET_SEARCH_CONTEXT",searchContext:e}),setDependencyFilters:e=>({type:"SET_DEPENDENCY_FILTERS",dependencyFilters:e}),setCurrentPage:e=>({type:"SET_CURRENT_PAGE",currentPage:e}),setLoading:e=>({type:"SET_LOADING",loading:e}),setColumns:e=>({type:"SET_COLUMNS",columns:e}),setSortBy:e=>({type:"SET_SORT_BY",sortBy:e}),appendErrorMessage:e=>({type:"APPEND_ERROR_MESSAGE",errorMessage:e||"Unknown Error"}),discardAllErrorMessages:()=>({type:"DISCARD_ALL_ERROR_MESSAGES"}),setInstalledDependencies:e=>({type:"SET_INSTALLED_DEPENDENCIES",installedDependencies:e}),setTourOpen:e=>({type:"SET_TOUR_OPEN",isTourOpen:e}),setTourActiveButtonGroup:e=>({type:"SET_TOUR_ACTIVE_BUTTON_GROUP",data:e}),setTourPreviewVisible:e=>({type:"SET_PREVIEW_VISIBLE",isVisible:e}),setImportingTemplate:e=>({type:"SET_IMPORTING_TEMPLATE",importingTemplate:e}),setChallengeStep:e=>({type:"SET_CHALLENGE_STEP",data:e}),setChallengeOpen:e=>({type:"SET_CHALLENGE_OPEN",data:e}),setChallengeTooltipRect:e=>({type:"SET_CHALLENGE_TOOLTIP_RECT",data:e}),setChallengeFinalStatus:e=>({type:"SET_CHALLENGE_FINAL_STATUS",data:e}),setChallengePassed:e=>({type:"SET_CHALLENGE_PASSED",data:e}),setChallengeListExpanded:e=>({type:"SET_CHALLENGE_LIST_EXPANDED",data:e}),setActivateDialogDisplay:e=>({type:"SET_ACTIVATE_DIALOG_DISPLAY",data:e}),setImportToAppend:e=>({type:"SET_IMPORT_TO_APPEND",data:e}),setDependencyFilterRule:e=>({type:"SET_DEPENDENCY_FILTER_RULE",data:e}),selectDependencies:e=>({type:"SELECT_DEPENDENCIES",data:e}),clearSearch:()=>({type:"CLEAR_SEARCH"}),clearState:()=>({type:"CLEAR_STATE"})};var Po=n(169),zo=n.n(Po),Ao=n(267),Do=n.n(Ao),Mo=n(268),Lo=n.n(Mo);const Bo=(e,t)=>{let n=[],r=[];if(t&&e[t]&&Array.isArray(e[t])&&e[t].length>0)e[t].map(e=>{r.indexOf(e.ID)>-1||(n.push(e),r.push(e.ID))});else for(let t in e)Array.isArray(e[t])&&e[t].map(e=>{r.indexOf(e.ID)>-1&&(!e.parentID||r.indexOf(e.ID)>-1)||(n.push(e),r.push(e.ID))});return n},Ro=(e,t)=>{let n=t.toLowerCase();if(Array.isArray(e))return e.filter(e=>-1!==e.name.toLowerCase().indexOf(n));{let t={};return Object.keys(e).forEach(r=>{t[r]=e[r].filter(e=>-1!=e.name.toLowerCase().indexOf(n))}),t}},Fo=(e,t,n)=>{if(""!==t){if(Array.isArray(e))return e.filter(e=>"free"===t?!1===el(e,n):"pro"===t?el(e,n):void 0);{let r={};return Object.keys(e).forEach(l=>{r[l]=e[l].filter(e=>"free"===t?!1===el(e,n):"pro"===t?el(e,n):void 0)}),r}}return e},Ho=(e,t,n)=>{const r=Go(t);if(Array.isArray(e))return e.filter(e=>Vo(e,r,n));{let t={};return Object.keys(e).forEach(l=>{t[l]=e[l].filter(e=>Vo(e,r,n))}),t}},Vo=(e,t,n)=>{if(!e.dependencies||0===Object.keys(e.dependencies).length)return t.includes(go);const r=e.dependencies.filter(e=>t.includes(e));return n?e.dependencies.length===r.length:r.length>0},Uo=e=>null!=e&&e.hasOwnProperty("value")?!0===e.value:!0===e,Go=e=>Object.keys(e).filter(t=>!0===e[t].value);function Yo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yo(Object(n),!0).forEach((function(t){Wo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Jo=wp.apiFetch,$o=wp.data.registerStore,Xo=e=>"collection"===e.activeItemType&&null!==e.collection.activeCollection?((e,t)=>{let n=e.collections[t],r=n.pages.filter(e=>e!==n.homepage).map(t=>io(io({},e.pages[t]),{},{ID:t}));return r=jr()(r,"name"),n.homepage&&e.pages[n.homepage]&&r.unshift(e.pages[n.homepage]),r})(e.library,e.collection.activeCollection):fo(e).data,Ko=e=>fo(e).priceFilter,Zo=e=>"saved"!==e.activeItemType?fo(e).searchContext:null,Qo=e=>e[e.activeItemType].activeCategory,ei=(e,t=!0)=>{let n=Xo(e);const r=Zo(e);let l=[];return"collection"!==e.activeItemType&&r.length>5&&(l=((e,t)=>{let n=t.toLowerCase();if(Array.isArray(e))return e.filter(e=>e.hash&&-1!==e.hash.toLowerCase().indexOf(n));{let t=[];return Object.keys(e).forEach(r=>{let l=e[r].filter(e=>e.hash&&-1!==e.hash.toLowerCase().indexOf(n));t=[...t,...l]}),t}})(n,r)),n&&Object.keys(n).length>0?(n=Ro(n,r),t&&(n=Ho(n,ti(e),ri(e))),n=Fo(n,Ko(e),ti(e)),null!==e.collection.activeCollection&&"collection"===e.activeItemType||(n=Bo(n,Qo(e)),n=jr()(n,fo(e).sortBy)),Lo()([...n,...l],"ID")):null},ti=e=>qo(qo({},ni(e)),fo(e).dependencyFilters),ni=e=>e[e.activeItemType||"section"].wholePlugins.reduce((e,t)=>qo(qo({},e),{},{[t]:{value:!1}}),void 0),ri=e=>e[e.activeItemType].dependencyFilterRule;$o("redux-templates/sectionslist",{reducer:(e=Io,t)=>{switch(t.type){case"SET_LIBRARY":if(!t.library.dependencies)return e;redux_templates.supported_plugins=t.library.plugins;const r=_o(Object.keys(t.library.dependencies)),l=(e=>{const t=ho(e),n=Er()(Pr()(Ir()(t,"dependencies"))),r=bo(t),l=r.categories.map(e=>({label:e.name,value:e.slug}));return wo("section_categories_list",l,432e6),io(io({},r),{},{wholePlugins:n})})(t.library.sections),a=(e=>{const t=ho(e),n=Er()(Pr()(Ir()(t,"dependencies"))),r=bo(t),l=r.categories.map(e=>({label:e.name,value:e.slug}));return wo("page_categories_list",l,432e6),io(io({},r),{},{wholePlugins:n})})(t.library.pages),o=(e=>{let t=ho(e.collections);t=t.filter(e=>e.pages&&e.pages.length>0),t=t.map(t=>(t.homepage&&e.pages[t.homepage]?t.homepageData=e.pages[t.homepage]:t.homepageData=e.pages[t.pages[0]],t.pages&&(t.installDependenciesMissing=Er()(kr()(Sr()(t.pages.map(t=>e.pages[t].installDependenciesMissing||[])))),t.proDependenciesMissing=Er()(kr()(Sr()(t.pages.map(t=>e.pages[t].proDependenciesMissing||[]))))),t));const n=Er()(Pr()(Ir()(t,"dependencies")));return io(io({},bo(t)),{},{dependencyFilters:io({[go]:!0},e.dependencies),wholePlugins:n})})(t.library);return jo(jo({},e),{},{loading:!1,library:t.library,section:jo(jo(jo({},e.section),l),{},{dependencyFilters:vo("section_plugin")?vo("section_plugin"):r}),page:jo(jo(jo({},e.page),a),{},{dependencyFilters:vo("page_plugin")?vo("page_plugin"):r}),collection:jo(jo(jo({},e.collection),o),{},{dependencyFilters:vo("collection_plugin")?vo("collection_plugin"):r})});case"SET_ACTIVE_CATEGORY":return wo(e.activeItemType+"_category",t.activeCategory,432e6),wo(e.activeItemType+"_page",0,432e6),jo(jo({},e),{},{[e.activeItemType]:jo(jo({},e[e.activeItemType]),{},{currentPage:0,activeCategory:t.activeCategory})});case"SET_SEARCH_CONTEXT":return wo(e.activeItemType+"_search",t.searchContext,432e6),wo(e.activeItemType+"_page",0,432e6),jo(jo({},e),{},{[e.activeItemType]:jo(jo({},e[e.activeItemType]),{},{currentPage:0,searchContext:t.searchContext})});case"SET_ACTIVE_PRICE_FILTER":return wo(e.activeItemType+"_price",t.activePriceFilter,432e6),wo(e.activeItemType+"_page",0,432e6),jo(jo({},e),{},{[e.activeItemType]:jo(jo({},e[e.activeItemType]),{},{currentPage:0,priceFilter:t.activePriceFilter})});case"SET_ACTIVE_ITEM_TYPE":return wo("itemType",t.activeItemType,432e6),jo(jo({},e),{},{activeItemType:t.activeItemType});case"SET_DEPENDENCY_FILTERS":return wo(e.activeItemType+"_plugin",t.dependencyFilters,432e6),wo(e.activeItemType+"_page",0,432e6),jo(jo({},e),{},{[e.activeItemType]:jo(jo({},e[e.activeItemType]),{},{currentPage:0,dependencyFilters:t.dependencyFilters})});case"SET_SORT_BY":return wo(e.activeItemType+"_sort",t.sortBy,432e6),wo(e.activeItemType+"_page",0,432e6),jo(jo({},e),{},{[e.activeItemType]:jo(jo({},e[e.activeItemType]),{},{currentPage:0,sortBy:t.sortBy})});case"SET_CURRENT_PAGE":return wo(e.activeItemType+"_page",t.currentPage,432e6),jo(jo({},e),{},{[e.activeItemType]:jo(jo({},e[e.activeItemType]),{},{currentPage:t.currentPage})});case"SET_ACTIVE_COLLECTION":return jo(jo({},e),{},{collection:jo(jo({},e.collection),{},{activeCollection:t.activeCollection})});case"SET_LOADING":return jo(jo({},e),{},{loading:t.loading});case"SET_COLUMNS":return wo("column",t.columns,432e6),jo(jo({},e),{},{columns:t.columns});case"APPEND_ERROR_MESSAGE":return jo(jo({},e),{},{errorMessages:e.errorMessages.concat([t.errorMessage])});case"DISCARD_ALL_ERROR_MESSAGES":return jo(jo({},e),{},{errorMessages:[]});case"SET_INSTALLED_DEPENDENCIES":return jo(jo({},e),{},{installedDependencies:t.installedDependencies});case"SET_TOUR_OPEN":return jo(jo({},e),{},{tour:jo(jo({},e.tour),{},{isOpen:t.isTourOpen})});case"SET_TOUR_ACTIVE_BUTTON_GROUP":return jo(jo({},e),{},{tour:jo(jo({},e.tour),{},{activeButtonGroup:t.data})});case"SET_PREVIEW_VISIBLE":return jo(jo({},e),{},{tour:jo(jo({},e.tour),{},{isPreviewVisible:t.isVisible})});case"SET_IMPORTING_TEMPLATE":return jo(jo({},e),{},{importingTemplate:t.importingTemplate});case"SET_CHALLENGE_STEP":return n=t.data,localStorage.setItem("reduxChallengeStep",n),jo(jo({},e),{},{challenge:jo(jo({},e.challenge),{},{currentStep:t.data})});case"SET_CHALLENGE_OPEN":return jo(jo({},e),{},{challenge:jo(jo({},e.challenge),{},{isOpen:t.data})});case"SET_CHALLENGE_TOOLTIP_RECT":return jo(jo({},e),{},{challenge:jo(jo({},e.challenge),{},{tooltipRect:t.data})});case"SET_CHALLENGE_FINAL_STATUS":return jo(jo({},e),{},{challenge:jo(jo({},e.challenge),{},{finalStatus:t.data})});case"SET_CHALLENGE_PASSED":return wo("reduxChallengePassed",t.data,432e6),jo(jo({},e),{},{challenge:jo(jo({},e.challenge),{},{passed:t.data})});case"SET_CHALLENGE_LIST_EXPANDED":return jo(jo({},e),{},{challenge:jo(jo({},e.challenge),{},{listExpanded:t.data})});case"SET_ACTIVATE_DIALOG_DISPLAY":return jo(jo({},e),{},{activateDialog:t.data});case"SET_IMPORT_TO_APPEND":return jo(jo({},e),{},{isImportToAppend:t.data});case"SET_DEPENDENCY_FILTER_RULE":return wo(e.activeItemType+"_filterRule",t.data,432e6),jo(jo({},e),{},{[e.activeItemType]:jo(jo({},e[e.activeItemType]),{},{dependencyFilterRule:t.data})});case"SELECT_DEPENDENCIES":const i=["section","page","collection"];let s;switch(t.data){case"all":case"none":const e="all"===t.data;s=t=>t.filter(e=>!1===[go,"gutenberghub.com","shareablock.com"].includes(e)).reduce((t,n)=>jo(jo({},t),{},{[n]:{value:e,disabled:!1}}),{[go]:{value:!0,disabled:!1},"gutenberghub.com":{value:!0,disabled:!1},"shareablock.com":{value:!0,disabled:!1}});break;case"installed":s=e=>(e=>{const t=Object.keys(redux_templates.supported_plugins).filter(e=>!1===Oo(e));return e.filter(e=>e!==go).reduce((e,n)=>{let r=!0;const l=Jr(n);return l?(ko(n)&&-1!==t.indexOf(n)&&(r=!1),!1===ko(n)&&!1===l.hasOwnProperty("version")&&(r=!1),"redux-pro"===n&&(r=!1)):r=!1,io(io({},e),{},{[n]:{value:r,disabled:!1}})},{[go]:{value:!0,disabled:!1}})})(e);break;default:s=e=>_o(e)}const c=i.reduce((t,n)=>(wo(n+"_plugin",s(e[n].wholePlugins),432e6),jo(jo({},t),{},{[n]:jo(jo({},e[n]),{},{searchContext:"",dependencyFilterRule:"collection"!==n,dependencyFilters:s(e[n].wholePlugins)})})),{});return jo(jo({},e),c);case"CLEAR_SEARCH":return jo(jo({},e),{},{section:jo(jo({},e.section),{},{searchContext:""}),page:jo(jo({},e.page),{},{searchContext:""}),collection:jo(jo({},e.collection),{},{searchContext:""})});case"CLEAR_STATE":return jo(jo({},e),{},{section:jo(jo({},e.section),{},{priceFilter:"",activeCategory:"",searchContext:""}),page:jo(jo({},e.page),{},{priceFilter:"",activeCategory:"",searchContext:""}),collection:jo(jo({},e.collection),{},{priceFilter:"",activeCategory:"",searchContext:""})})}var n;return e},actions:To,selectors:{fetchLibraryFromAPI:e=>e.library,receive:e=>e.sections,getActivePriceFilter:Ko,getSearchContext:Zo,getDependencyFilters:ti,getDependencyFiltersStatistics:e=>{const t=ei(e,!1),n=Er()(Pr()(Ir()(t,"dependencies")));let r=ti(e);return Object.keys(r).forEach(e=>{r[e]=qo(qo({},r[e]),{},{disabled:-1===n.indexOf(e)})}),r[go]={value:Uo(r[go]),disabled:!1},r},getActiveItemType:e=>e.activeItemType,getCurrentPage:e=>e[e.activeItemType].currentPage,getActiveCategory:Qo,getDependencyFilterRule:ri,getWholePlugins:e=>"saved"!==e.activeItemType?fo(e).wholePlugins:null,getCategoryData(e){let t=[],n=Xo(e);return n&&Object.keys(n).length>0&&(n=Ro(n,Zo(e)),n=Ho(n,ti(e),ri(e)),n=Fo(n,Ko(e),ti(e))),null!==e.collection.activeCollection&&"collection"===e.activeItemType||(t=zo()(fo(e).categories),t=t.map(e=>{const t=Ir()(n[e.slug],"id");return qo(qo({},e),{},{filteredData:t})})),t=jr()(t,"name"),t},getPageData:ei,getStatistics(e){let t=Xo(e),n={true:0,false:0};return t&&Object.keys(t).length>0&&(t=Ro(t,Zo(e)),t=Ho(t,ti(e),ri(e)),null!==e.collection.activeCollection&&"collection"===e.activeItemType||(t=Bo(t,Qo(e))),n=Do()(t,t=>!0===el(t,ti(e)))),n},getLoading:e=>e.loading,getColumns:e=>e.columns,getSortBy:e=>fo(e).sortBy,getActiveCollection:e=>e.collection.activeCollection,getActiveCollectionData:e=>e.library&&e.library.collections&&e.collection?e.library.collections[e.collection.activeCollection]:null,getSaved:e=>e.saved,getErrorMessages:e=>e.errorMessages,getInstalledDependencies:e=>e.installedDependencies,getTourOpen:e=>e.tour.isOpen,getTourActiveButtonGroup:e=>e.tour.activeButtonGroup,getTourPreviewVisible:e=>e.tour.isPreviewVisible,getImportingTemplate:e=>e.importingTemplate,getChallengeStep:e=>So(),getChallengeOpen:e=>e.challenge.isOpen,getChallengeTooltipRect:e=>e.challenge.tooltipRect,getChallengeFinalStatus:e=>e.challenge.finalStatus,getChallengePassed:e=>e.challenge.passed,getChallengeListExpanded:e=>e.challenge.listExpanded,getActivateDialogDisplay:e=>e.activateDialog,getImportToAppend:e=>e.isImportToAppend},controls:{FETCH_LIBRARY_FROM_API:e=>Jo({path:e.path,method:"POST",data:{registered_blocks:lo()}}),FETCH_SAVED_FROM_API:e=>Jo({path:e.path,method:"POST",data:{registered_blocks:lo()}})},resolvers:{*fetchLibraryFromAPI(e){try{const e=yield To.fetchLibraryFromAPI("redux/v1/templates/library");return To.setLibrary(e.data)}catch(e){return To.appendErrorMessage(e.code+" "+e.message)}}},initialState:Io});var li=n(27),ai=n(13),oi=n(120);const ii=Object(ai.dispatch)("redux-templates/sectionslist"),si=ii.setTourActiveButtonGroup,ci=ii.setImportingTemplate,pi=Object(ai.select)("redux-templates/sectionslist").getPageData;var mi={initialSecondsLeft:300,beginningStep:-1,totalStep:7,list:[{selector:'[data-tut="tour__navigation"]',caption:Object(o.__)("Template Type Tabs",redux_templates.i18n),offset:{x:0,y:50,arrowX:0,arrowY:-20},box:{width:250},direction:"top",content:()=>wp.element.createElement("div",null,Object(o.__)("These are the different types of templates we have.",redux_templates.i18n),wp.element.createElement("ul",null,wp.element.createElement("li",null,wp.element.createElement("strong",null,Object(o.__)("Sections",redux_templates.i18n)),Object(o.__)(' are the building blocks of a page. Each "row" of content on a page we consider a section.',redux_templates.i18n)),wp.element.createElement("li",null,wp.element.createElement("strong",null,Object(o.__)("Pages",redux_templates.i18n)),Object(o.__)(" are, you guessed it, a group of multiple sections making up a page.",redux_templates.i18n)),wp.element.createElement("li",null,wp.element.createElement("strong",null,Object(o.__)("Template Kits",redux_templates.i18n)),Object(o.__)(" are groups of pages that all follow a style or theme.",redux_templates.i18n)),wp.element.createElement("li",null,wp.element.createElement("strong",null,Object(o.__)("Saved",redux_templates.i18n)),Object(o.__)(" are reusable blocks that you may have previously saved for later.",redux_templates.i18n))))},{selector:'[data-tut="tour__filtering"]',caption:Object(o.__)("Sidebar",redux_templates.i18n),content:Object(o.__)("This area is where you can search and filter to find the right kind of templates you want.",redux_templates.i18n),direction:"left",offset:{x:40,y:10,arrowX:-20,arrowY:0},box:{width:250,height:130},action:()=>{oi.animateScroll.scrollToTop({containerId:"redux-templates-collection-modal-sidebar",duration:0})}},{selector:'[data-tut="tour__filtering"]',caption:Object(o.__)("Plugins Filter",redux_templates.i18n),offset:{x:40,y:10,arrowX:-20,arrowY:0},box:{width:290,height:185},content:()=>wp.element.createElement("div",null,Object(o.__)("Some templates require certain plugins. You can filter or select those templates. Hint, if the text is a ",redux_templates.i18n),wp.element.createElement("a",{href:"#",className:"missing-dependency"},Object(o.__)("little orange",redux_templates.i18n)),Object(o.__)(", you don`t have that plugin installed yet, but don`t worry. Redux will help you with that too.",redux_templates.i18n)),action:()=>{oi.animateScroll.scrollToBottom({containerId:"redux-templates-collection-modal-sidebar",duration:0})},direction:"left"},{selector:'[data-tut="tour__main_body"]',caption:Object(o.__)("Templates List",redux_templates.i18n),content:Object(o.__)("This area is where the templates will show up that match the filters you've selected. You can click on many of them to preview or import them.",redux_templates.i18n),direction:"left",offset:{x:40,y:10,arrowX:-20,arrowY:0},box:{width:250,height:150},action:()=>{oi.animateScroll.scrollToTop({containerId:"redux-templates-collection-modal-sidebar",duration:0}),si(null)}},{selector:"#modalContainer .redux-templates-single-item-inner:first-child",caption:Object(o.__)("Template Hover",redux_templates.i18n),content:Object(o.__)("When you hover over a template you can see via icons what plugins are required for this template. You can then choose to Preview or Import a design.",redux_templates.i18n),action:()=>{xr.closeCustomizer();const e=pi();e&&e.length>0&&si(e[0])},direction:"left",offset:{x:40,y:10,arrowX:-20,arrowY:0},box:{width:240,height:169}},{selector:".wp-full-overlay-sidebar",caption:Object(o.__)("Preview Dialog",redux_templates.i18n),content:Object(o.__)("This is the preview dialog. It gives more details about the template and helps you to see what you could expect the templates to look like.",redux_templates.i18n),action:()=>{si(null),ci(null);const e=pi();e&&e.length>0&&xr.openCustomizer(wp.element.createElement(Ea,{startIndex:0,currentPageData:e}))},position:"center"},{selector:".redux-templates-import-wizard-wrapper",caption:Object(o.__)("Import Wizard",redux_templates.i18n),content:Object(o.__)("When you click to import a template, sometimes you will be missing one of the required plugins. Redux will do its best to help you install what's missing. If some of them are premium plugins, you will be provided details on where you can get them.",redux_templates.i18n),direction:"right",offset:{x:0,y:85,arrowX:40,arrowY:25},box:{width:250,height:169},action:()=>{document.getElementsByClassName("tooltipster-box")&&(document.getElementsByClassName("tooltipster-box")[0].style.display="none"),xr.show(),xr.closeCustomizer();const e=pi();e&&e.length>0&&ci(e[0]),setTimeout(()=>{const e=document.getElementsByClassName("redux-templates-modal-wrapper");if(e&&e.length>0){let t=e[0].getBoundingClientRect(),n={top:t.top+90,left:t.left-320};Object(ai.dispatch)("redux-templates/sectionslist").setChallengeTooltipRect(n)}document.getElementsByClassName("tooltipster-box")&&(document.getElementsByClassName("tooltipster-box")[0].style.display="block")},0)}}]};const di=wp.element,ui=di.findDOMNode,gi=di.useRef,fi=di.useEffect;var hi=Object(li.compose)([Object(ai.withDispatch)(e=>({setChallengeTooltipRect:e("redux-templates/sectionslist").setChallengeTooltipRect})),Object(ai.withSelect)((e,t)=>{const n=e("redux-templates/sectionslist"),r=n.getChallengeOpen,l=n.getChallengeStep;return{isOpen:r(),challengeStep:l()}})])((function(e){const t=e.step,n=e.challengeStep,r=e.isOpen,l=e.setChallengeTooltipRect,a=gi(null);fi(()=>(window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}),[]),fi(()=>{if(!1===r)return;const e=mi.list[n];e&&e.action&&"function"==typeof e.action?(e.action(),o(),setTimeout(o,0)):o()},[n,r]);const o=()=>{const e=i();e&&l(e)},i=()=>{if(a&&a.current){const e=ui(a.current).getBoundingClientRect();return{left:e.left,top:e.top,width:e.width,height:e.height}}return null};return n>=0&&n<mi.totalStep&&r&&n===t?wp.element.createElement("i",{className:"challenge-dot tooltipstered",ref:a}," "):null}));var bi=Object(li.compose)([Object(ai.withDispatch)(e=>{const t=e("redux-templates/sectionslist");return{setActiveItemType:t.setActiveItemType,setSearchContext:t.setSearchContext,clearSearch:t.clearSearch}}),Object(ai.withSelect)((e,t)=>{const n=e("redux-templates/sectionslist"),r=n.getActiveItemType,l=n.getSearchContext,a=n.getActiveCollection,o=n.getChallengeOpen;return{activeItemType:r(),searchContext:l(),activeCollection:a(),isChallengeOpen:o()}})])((function(e){const t=e.activeItemType,n=e.searchContext,r=e.activeCollection,l=e.isChallengeOpen,a=e.setActiveItemType,i=e.setSearchContext,s=(e.setChallengeOpen,e.clearSearch,e=>t===e?"active":""),c=e=>{document.getElementById("modalContent")&&(document.getElementById("modalContent").scrollTop=0),a(e)};return wp.element.createElement("div",{className:"redux-templates-builder-modal-header"},wp.element.createElement("div",{className:"template-search-box"},("collection"!==t||null===r)&&"saved"!==t&&wp.element.createElement("div",null,wp.element.createElement("input",{type:"text",placeholder:Object(o.__)("Search for a template",redux_templates.i18n),className:"form-control",value:n,onChange:e=>{"saved"!==t&&i(e.target.value)}}),wp.element.createElement(hi,{step:1}),wp.element.createElement("i",{className:"fas fa-search"}))),wp.element.createElement("div",{className:"redux-templates-template-list-header","data-tut":"tour__navigation"},wp.element.createElement("button",{className:s("section"),onClick:e=>c("section")}," ",Object(o.__)("Sections",redux_templates.i18n)," "),wp.element.createElement("button",{className:s("page"),onClick:e=>c("page")}," ",Object(o.__)("Templates",redux_templates.i18n)," "),wp.element.createElement("button",{className:s("collection"),onClick:e=>c("collection")}," ",Object(o.__)("Template Kits",redux_templates.i18n)," "),wp.element.createElement("button",{className:s("saved"),onClick:e=>c("saved")}," ",Object(o.__)("Saved",redux_templates.i18n)," "),wp.element.createElement(hi,{step:0}),wp.element.createElement("button",{className:"redux-templates-builder-close-modal",onClick:()=>{!1===l&&xr.close()}},wp.element.createElement("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},wp.element.createElement("path",{d:"M13 11.9l3.3-3.4-1.1-1-3.2 3.3-3.2-3.3-1.1 1 3.3 3.4-3.5 3.6 1 1L12 13l3.5 3.5 1-1z"})))))}));n(527);const xi=wp.compose.compose,wi=wp.data,vi=wi.withDispatch,yi=wi.withSelect,Ei=wp.i18n.__;var _i=xi([vi(e=>({setActivePriceFilter:e("redux-templates/sectionslist").setActivePriceFilter})),yi((e,t)=>{const n=e("redux-templates/sectionslist"),r=n.getStatistics;return{activePriceFilter:(0,n.getActivePriceFilter)(),statistics:r()}})])((function(e){const t=e.setActivePriceFilter,n=e.activePriceFilter,r=e.statistics,l=e=>{let t=[];return t.push(e===n?"active":""),t.push(a(e)?"disabled":""),t.join(" ")},a=e=>""!==e&&("free"===e?!r.false||r.false<1:!r.true||r.true<1);return wp.element.createElement("div",{className:"redux-templates-template-filter-button-group"},wp.element.createElement("button",{onClick:()=>t(""),className:l("")},Ei("All",redux_templates.i18n)),wp.element.createElement("button",{onClick:()=>t("free"),className:l("free"),disabled:a("free")},Ei("Free",redux_templates.i18n)),wp.element.createElement("button",{onClick:()=>t("pro"),className:l("pro"),disabled:a("pro")},wp.element.createElement("img",{src:redux_templates.plugin+"assets/img/icon-premium.svg",alt:""}),Ei("Premium",redux_templates.i18n)))}));const ki=wp.compose.compose,Oi=wp.data,Si=Oi.withDispatch,Ci=Oi.withSelect,ji=wp.i18n.__;var Ni=ki([Si(e=>({setActiveCategory:e("redux-templates/sectionslist").setActiveCategory})),Ci((e,t)=>{const n=e("redux-templates/sectionslist"),r=n.getCategoryData,l=n.getActiveCategory,a=n.getActiveItemType,o=n.getLoading;return{categoryData:r(),activeCategory:l(),itemType:a(),loading:o()}})])((function(e){const t=e.categoryData,n=e.activeCategory,r=e.activePriceFilter,l=e.loading,a=e.itemType,o=e.setActiveCategory,i=e=>e&&(e.hasOwnProperty("filteredData")&&0===e.filteredData.length||0===e.ids.length),s=e=>{const t=e?e.slug:"";return i(e)?"disabled":n===t?"active":""};return wp.element.createElement("div",null,wp.element.createElement("h3",null,ji("Categories",redux_templates.i18n)),!l&&wp.element.createElement("ul",{className:"redux-templates-sidebar-categories"},t.length>0&&wp.element.createElement("li",{className:s(null),onClick:()=>o("")},ji("All",redux_templates.i18n)," ","section"===a?ji("Section",redux_templates.i18n):"page"===a?ji("Template",redux_templates.i18n):"collection"===a?ji("Template Kit",redux_templates.i18n):void 0,"s ",wp.element.createElement("span",null,(()=>{let e=[],n=[];return t.forEach(t=>{t.hasOwnProperty("filteredData")&&(n=[...n,...t.filteredData]),e=[...e,...t.ids]}),""!==r?Er()(n).length+"/"+Er()(e).length:Er()(e).length})())),t&&t.map((e,t)=>wp.element.createElement("li",{className:s(e),onClick:()=>(e=>{i(e)||o(e.slug)})(e),key:t},e.name,wp.element.createElement("span",null," ",e.hasOwnProperty("filteredData")&&""!==r?e.filteredData.length:e.ids.length," ")))))}));function Ii(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ti(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach((function(t){Pi(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ai(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ai(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 Ai(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const Di=wp.element,Mi=Di.useState,Li=Di.useEffect,Bi=(Di.useRef,wp.compose.compose),Ri=wp.data,Fi=Ri.withDispatch,Hi=Ri.withSelect,Vi=wp.i18n.__,Ui=["gutenberghub.com","editorplus"];var Gi=Bi([Fi(e=>({setDependencyFilters:e("redux-templates/sectionslist").setDependencyFilters})),Hi(e=>{const t=e("redux-templates/sectionslist"),n=t.getDependencyFiltersStatistics,r=t.getLoading,l=t.getActiveCategory;return{loading:r(),dependencyFilters:n(),activeCategory:l()}})])((function(e){const t=e.pluginKey,n=e.dependencyFilters,r=e.setDependencyFilters,l=zi(Mi(!1),2),a=l[0],o=l[1],i=zi(Mi(!1),2),s=i[0],c=i[1],p=zi(Mi(""),2),m=p[0],d=p[1],u=zi(Mi(""),2),g=u[0],f=u[1],h=zi(Mi(""),2),b=h[0],x=h[1];return Li(()=>{const e=$r(t);t&&t!==go&&e&&null!=e.name?(d(e.url),f(e.name),o(!0)):o(!1)},[t]),Li(()=>{const e=$r(t);if(!n)return;n.hasOwnProperty(t)?n[t].disabled?c(!1):c(n[t].hasOwnProperty("value")?n[t].value:n[t]):c(!1);let r=[];r.push(e.version||"no_plugin"in e?"":"missing-dependency"),r.push(!n[t]||n[t].disabled?"disabled":""),x(r.join(" "))},[JSON.stringify(n)]),!1===a?null:wp.element.createElement("li",{className:b},wp.element.createElement(Dr.CheckboxControl,{label:g,checked:s,onChange:()=>{if(null===n[t]||void 0===n[t]||n[t].disabled)return;let e=Ti(Ti({},n),{},{[t]:{value:!1===n[t].value,disabled:!0===n[t].disabled}});Ui.includes(t)&&Ui.forEach(r=>{e=Ti(Ti({},e),{},{[r]:{value:!1===n[t].value,disabled:!0===n[r].disabled}})}),r(Ti({},e))}}),m?wp.element.createElement(Dr.Tooltip,{position:"top right",text:Vi("Visit Plugin Website",redux_templates.i18n)},wp.element.createElement("span",null,wp.element.createElement("a",{href:m,target:"_blank"},wp.element.createElement("i",{className:"fas fa-external-link-alt"})))):null,b.includes("missing-dependency")&&wp.element.createElement(Dr.Tooltip,{position:"top right",text:Vi("Not Installed",redux_templates.i18n)},wp.element.createElement("span",{className:"redux-icon-wrapper"},wp.element.createElement("i",{className:"fa fa-exclamation-triangle"}))))}));function Yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yi(Object(n),!0).forEach((function(t){Wi(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ji=wp.element.Fragment,$i=wp.compose.compose,Xi=wp.data,Ki=Xi.withDispatch,Zi=Xi.withSelect,Qi=wp.i18n.__;var es=$i([Ki(e=>{const t=e("redux-templates/sectionslist");return{setDependencyFilters:t.setDependencyFilters,selectDependencies:t.selectDependencies,setDependencyFilterRule:t.setDependencyFilterRule}}),Zi(e=>{const t=e("redux-templates/sectionslist"),n=t.getDependencyFiltersStatistics,r=t.getLoading,l=t.getActiveItemType,a=t.getWholePlugins,o=t.getDependencyFilterRule;return{loading:r(),dependencyFilters:n(),wholePlugins:a(),dependencyFilterRule:o(),activeItemType:l()}})])((function(e){const t=e.dependencyFilters,n=e.activeItemType,r=e.loading,l=e.wholePlugins,a=e.dependencyFilterRule,o=e.setDependencyFilters,i=e.selectDependencies,s=e.setDependencyFilterRule;return wp.element.createElement(Ji,null,!r&&l&&wp.element.createElement("div",{id:"redux-templates-filter-dependencies","data-tut":"tour__filter_dependencies"},wp.element.createElement(React.Fragment,null,wp.element.createElement(Dr.ButtonGroup,{style:{float:"right"}},wp.element.createElement(Dr.Tooltip,{text:Qi("Find templates which contain blocks from any of the selected plugins.",redux_templates.i18n),position:"top right"},wp.element.createElement(Dr.Button,{isSmall:!0,isPrimary:!1===a,isSecondary:a,onClick:()=>s(!1),disabled:"collection"===n},Qi("Any",redux_templates.i18n))),wp.element.createElement(Dr.Tooltip,{text:Qi("Find templates that only contain blocks from the selected plugins.",redux_templates.i18n),position:"top right"},wp.element.createElement(Dr.Button,{isSmall:!0,isSecondary:!1===a,isPrimary:a,onClick:()=>s(!0),disabled:"collection"===n},Qi("Only",redux_templates.i18n)))),wp.element.createElement("h3",null,Qi("Required Plugins",redux_templates.i18n)," ")),wp.element.createElement("div",{className:"redux-templates-select-actions"},wp.element.createElement(Dr.Tooltip,{text:Qi("Select All",redux_templates.i18n),position:"top right"},wp.element.createElement("a",{href:"#",onClick:()=>i("all")},Qi("All",redux_templates.i18n))),wp.element.createElement("span",null,"  /  "),wp.element.createElement(Dr.Tooltip,{text:Qi("Native Blocks Only",redux_templates.i18n),position:"top right"},wp.element.createElement("a",{href:"#",onClick:()=>i("none")},Qi("None",redux_templates.i18n))),wp.element.createElement("span",null,"  /  "),wp.element.createElement(Dr.Tooltip,{text:Qi("Installed Dependencies",redux_templates.i18n),position:"top right"},wp.element.createElement("a",{href:"#",onClick:()=>i("installed")},Qi("Installed",redux_templates.i18n))),wp.element.createElement("span",null,"  /  "),wp.element.createElement(Dr.Tooltip,{text:Qi("Reset Dependencies",redux_templates.i18n),position:"top right"},wp.element.createElement("a",{href:"#",onClick:()=>i("default")},wp.element.createElement("i",{className:"fas fa-undo"}))),wp.element.createElement(hi,{step:2})),wp.element.createElement("ul",{className:"redux-templates-sidebar-dependencies"},!1===r&&wp.element.createElement("li",{style:{display:"collection"===n?"none":""}},wp.element.createElement(Dr.CheckboxControl,{label:Qi("Native",redux_templates.i18n),checked:!!t.hasOwnProperty(go)&&(t[go].hasOwnProperty("value")?t[go].value:t[go]),onChange:()=>{o(qi(qi({},t),{},{[go]:{value:!1===t[go].value,disabled:!0===t[go].disabled}}))}}),wp.element.createElement(Dr.Tooltip,{text:Qi("Only default WordPress blocks used.",redux_templates.i18n),position:"right"},wp.element.createElement("span",{style:{float:"right",marginRight:"2px"}},wp.element.createElement("i",{className:"fa fa-info-circle"})))),Object.keys(t).filter(e=>-1!==l.indexOf(e)||"redux-pro"===e).sort((e,t)=>{const n=$r(e),r=$r(t);return n.name<r.name?-1:n.name>r.name?1:0}).map(e=>wp.element.createElement(Gi,{key:e,pluginKey:e})))))}));var ts=(0,wp.data.withSelect)(e=>{const t=e("redux-templates/sectionslist"),n=t.getActiveItemType,r=t.getActiveCollection;return{itemType:n(),layer:r()}})((function(e){const t=e.itemType,n=e.layer;return e.loading,wp.element.createElement("div",null,("collection"!==t||null===n)&&wp.element.createElement(React.Fragment,null,wp.element.createElement(_i,null),wp.element.createElement("div",{className:"redux-templates-modal-sidebar-content"},wp.element.createElement(Ni,null),wp.element.createElement(es,null))))}));function ns(){return(ns=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var rs=M.a.createElement("path",{d:"M38 12H12v26h26V12z"}),ls=function(e){return M.a.createElement("svg",ns({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),rs)};function as(){return(as=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var os=M.a.createElement("path",{d:"M12.5 12.5H0V0h12.5v12.5zM31.2 0H18.8v12.5h12.5V0zM50 0H37.5v12.5H50V0zM12.5 18.8H0v12.5h12.5V18.8zm18.7 0H18.8v12.5h12.5V18.8zm18.8 0H37.5v12.5H50V18.8zM12.5 37.5H0V50h12.5V37.5zm18.7 0H18.8V50h12.5V37.5zm18.8 0H37.5V50H50V37.5z"}),is=function(e){return M.a.createElement("svg",as({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),os)};function ss(){return(ss=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var cs=M.a.createElement("path",{d:"M21.1 5.3H5.3v15.8h15.8V5.3zm23.6 0H28.9v15.8h15.8V5.3zM21.1 28.9H5.3v15.8h15.8V28.9zm23.6 0H28.9v15.8h15.8V28.9z"}),ps=function(e){return M.a.createElement("svg",ss({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),cs)};n(529);function ms(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ds(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ds(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 ds(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const us=wp.i18n.__,gs=wp.compose.compose,fs=wp.data,hs=fs.withDispatch,bs=fs.withSelect,xs=wp.element,ws=xs.useState,vs=xs.useEffect;var ys=gs([hs(e=>{const t=e("redux-templates/sectionslist");return{setLibrary:t.setLibrary,setActivePriceFilter:t.setActivePriceFilter,setActiveCollection:t.setActiveCollection,setSortBy:t.setSortBy,setColumns:t.setColumns,setChallengeOpen:t.setChallengeOpen,setChallengeListExpanded:t.setChallengeListExpanded}}),bs((e,t)=>{const n=e("redux-templates/sectionslist"),r=n.fetchLibraryFromAPI,l=n.getActiveItemType,a=n.getColumns,o=n.getPageData,i=n.getActiveCollection,s=n.getStatistics,c=n.getSortBy,p=n.getLoading,m=n.getChallengePassed;return{fetchLibraryFromAPI:r,itemType:l(),pageData:o(),columns:a(),statistics:s(),sortBy:c(),activeCollection:i(),loading:p(),challengePassed:m()}})])((function(e){const t=e.itemType,n=e.sortBy,r=e.activeCollection,l=e.challengePassed,a=e.pageData,o=e.columns,i=e.loading,s=e.setSortBy,c=e.setColumns,p=e.setChallengeOpen,m=e.setChallengeListExpanded,d=ms(ws("far fa-question-circle tour-icon"),2),u=d[0],g=d[1];vs(()=>{g(l?"fas fa-trophy tour-icon":"fas fa-map-signs tour-icon")},[l]);const f=a?a.length:"";let h="";return!1===i&&f&&0!==f&&(h=wp.element.createElement("span",null,f," ","section"===t?us("Sections",redux_templates.i18n):"page"===t?us("Templates",redux_templates.i18n):"collection"===t&&null===r?us("Template Kits",redux_templates.i18n):"collection"===t&&null!==r?us("Sections",redux_templates.i18n):void 0)),wp.element.createElement("div",{className:"redux-templates-template-list-sub-header"},wp.element.createElement("h4",null,h,wp.element.createElement(hi,{step:3})),wp.element.createElement("div",{className:"redux-templates-template-filters"},wp.element.createElement(Dr.Button,{icon:wp.element.createElement("i",{className:u}),label:us("Take the Redux Challenge",redux_templates.i18n),onClick:()=>{p(!0),m(!0)}}),wp.element.createElement(Dr.Button,{icon:"image-rotate",label:us("Refresh Library",redux_templates.i18n),className:"refresh-library",onClick:ro}),wp.element.createElement(Dr.Button,{icon:wp.element.createElement(ls,{width:"18",height:"18"}),className:"large"===o?"is-active":"",label:us("Large preview",redux_templates.i18n),onClick:()=>c("large")}),wp.element.createElement(Dr.Button,{icon:wp.element.createElement(ps,{width:"18",height:"18"}),className:""===o?"is-active":"",label:us("Medium preview",redux_templates.i18n),onClick:e=>c("")}),wp.element.createElement(Dr.Button,{icon:wp.element.createElement(is,{width:"18",height:"18"}),className:"small"===o?"is-active":"",label:us("Small preview",redux_templates.i18n),onClick:e=>c("small")}),wp.element.createElement("div",{className:""},wp.element.createElement("select",{name:"sortBy",id:"sortBy",value:n,onChange:e=>s(e.target.value)},wp.element.createElement("option",{value:"name"},us("Name",redux_templates.i18n)),wp.element.createElement("option",{value:"updated"},us("Updated",redux_templates.i18n))))))}));n(531);const Es=wp.compose.compose,_s=wp.data,ks=_s.withDispatch,Os=_s.withSelect;var Ss=Es([ks(e=>({setImportingTemplate:e("redux-templates/sectionslist").setImportingTemplate})),Os((e,t)=>({tourActiveButtonGroup:(0,e("redux-templates/sectionslist").getTourActiveButtonGroup)()}))])((function(e){const t=e.data,n=e.index,r=e.pageData,l=e.setImportingTemplate,a=e.tourActiveButtonGroup;let i=null;return wp.element.createElement("div",{className:"action-buttons"},r[n]&&"wp_block_patterns"!==r[n].source&&wp.element.createElement("a",{className:"redux-templates-button preview-button",target:"_blank",onClick:()=>((e,t)=>{xr.openCustomizer(wp.element.createElement(Ea,{startIndex:e,currentPageData:t}))})(n,r)},wp.element.createElement("i",{className:"fa fa-share"})," ",Object(o.__)("Preview",redux_templates.i18n)),wp.element.createElement("a",{className:"redux-templates-button download-button",onClick:()=>(e=>{null===i&&(i=e.ID,l(e))})(t)},wp.element.createElement("i",{className:"fas fa-download"}),Object(o.__)("Import",redux_templates.i18n)),a&&a.ID===r[n].ID&&wp.element.createElement(hi,{step:4}))}));n(533);const Cs=wp.i18n.__;function js(e){const t=e.data,n=e.showDependencyBlock,l=t.id,a=e=>t.proDependenciesMissing&&t.proDependenciesMissing.indexOf(e)>=0||t.installDependenciesMissing&&t.installDependenciesMissing.indexOf(e)>=0;if(n){let e=t.dependencies.indexOf("core");return e>-1&&(t.dependencies.splice(e,1),t.dependencies.push("core")),wp.element.createElement("div",{className:"redux-templates-button-display-dependencies"},t.dependencies&&t.dependencies.map(e=>{let n=null;const o=e.replace("-pro","").replace("-premium","").replace(/\W/g,"").toLowerCase();if(n="core"==e?{name:"WordPress Native"}:redux_templates.supported_plugins[e],n||(n=redux_templates.supported_plugins[e.replace("-pro","").replace("-premium","")]),!e.includes("-pro")&&!e.includes("-premium")&&(t.dependencies.includes(e+"-pro")||t.dependencies.includes(e+"-premium")))return;if(!n)return console.log("Missing plugin details for "+e+" - "+e.replace("-pro","").replace("-premium","")),void console.log(redux_templates.supported_plugins);if("redux"===o)return;const i=r[o];if(i&&n)return wp.element.createElement(Dr.Tooltip,{text:a(e)&&"core"!==e?n.name+" ( "+Cs("Not Installed",redux_templates.i18n)+" )":n.name,position:"bottom center",key:l+e},wp.element.createElement("span",{className:a(e)&&"core"!==e?"missing-dependency":""},wp.element.createElement(i,null)));"shareablockcom"!==o&&"gutenberghubcom"!==o&&console.log("Need icon for "+o)}),t.dependencies.core&&wp.element.createElement(Dr.Tooltip,{text:Cs("WordPress Core",redux_templates.i18n),position:"bottom center",key:l+"core"},wp.element.createElement("span",null,wp.element.createElement(IconComponent,null))))}return null}n(535);function Ns(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Is(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Is(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 Is(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ts=(0,wp.compose.compose)([(0,wp.data.withSelect)(e=>({importingTemplate:(0,e("redux-templates/sectionslist").getImportingTemplate)()}))])((function(e){const t=e.importingTemplate,n=e.showDependencyBlock,r=e.index,l=e.data,o=e.pageData,i=Ns(Object(a.useState)("redux-templates-import-button-group"),2),s=i[0],c=i[1];return Object(a.useEffect)(()=>{null===t&&"redux-templates-import-button-group"!==s&&c("redux-templates-import-button-group"),null!==t&&"redux-templates-import-button-group"===s&&c("redux-templates-import-button-group disabled")},[t]),wp.element.createElement("div",{className:s},wp.element.createElement(Ss,{index:r,data:l,pageData:o}),wp.element.createElement(js,{showDependencyBlock:n,data:l}))}));n(537);function Ps(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return zs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zs(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 zs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const As=wp.apiFetch,Ds=wp.element.useState,Ms=wp.compose.compose,Ls=wp.data,Bs=Ls.withDispatch,Rs=Ls.withSelect,Fs=wp.blocks.parse;var Hs=Ms([Bs(e=>({appendErrorMessage:e("redux-templates/sectionslist").appendErrorMessage})),Rs(e=>({activeItemType:(0,e("redux-templates/sectionslist").getActiveItemType)()}))])((function(e){const t=e.data,n=e.appendErrorMessage,r=e.activeItemType,l=Ps(Ds(!1),2),a=l[0],o=l[1],i=Ps(Ds(null),2),s=i[0],c=i[1];if(t&&!1===a){let e="redux/v1/templates/template?type="+("section"===r?"sections":"pages")+"&id="+t.id+"&uid="+window.userSettings.uid;"source"in t&&(e+="&source="+t.source);const l={method:"GET",path:e,headers:{"Content-Type":"application/json","Registered-Blocks":lo()}};As(l).then(e=>{e.success?c(e.data):n(e.data.error),o(!0)}).catch(e=>{n(e.code+" : "+e.message),o(!0)})}if(!0===a){let e=Fs(s.template);return wp.element.createElement("div",null,wp.element.createElement(ka.BlockPreview,{blocks:e}))}return null}));n(539);function Vs(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Us(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Us(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 Us(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const Gs=wp.i18n.__,Ys=wp.data.withSelect,qs=wp.element,Ws=qs.useState,Js=qs.useEffect;var $s=Ys((e,t)=>{const n=e("redux-templates/sectionslist"),r=n.getTourActiveButtonGroup;return{pageData:(0,n.getPageData)(),tourActiveButtonGroup:r()}})((function(e){const t=e.pageData,n=e.tourActiveButtonGroup,r=e.index,l=Vs(Ws(null),2),a=l[0],o=l[1],i=Vs(Ws("redux-templates-single-item-inner redux-templates-item-wrapper "),2),s=i[0],c=i[1];return Js(()=>{t&&o(t[r])},[r,t]),Js(()=>{c(t&&t[r]&&n&&n.ID===t[r].ID?"redux-templates-single-item-inner redux-templates-item-wrapper focused":"redux-templates-single-item-inner redux-templates-item-wrapper")},[n,t,r]),a?wp.element.createElement("div",{className:"redux-templates-single-section-item"},wp.element.createElement("div",{className:s},wp.element.createElement("div",{className:"redux-templates-default-template-image"},"wp_block_patterns"!==a.source&&wp.element.createElement(Gr,{url:a.image}),"wp_block_patterns"===a.source&&wp.element.createElement(Hs,{data:a}),Kr(a)&&wp.element.createElement("span",{className:"redux-templates-pro-badge"},Gs("Premium",redux_templates.i18n)),!Kr(a)&&Zr(a)&&wp.element.createElement("span",{className:"redux-templates-missing-badge"},wp.element.createElement("i",{className:"fas fa-exclamation-triangle"})),wp.element.createElement("div",{className:"redux-templates-tmpl-title"},a.name)),wp.element.createElement("div",{className:"redux-templates-button-overlay"},Kr(a)&&wp.element.createElement(Dr.Tooltip,{text:Gs("Premium Requirements",redux_templates.i18n),position:"bottom",key:a.source+a.source_id},wp.element.createElement("div",{className:"redux-templates-pro-badge"},Gs("Premium",redux_templates.i18n))),!Kr(a)&&Zr(a)&&wp.element.createElement(Dr.Tooltip,{text:Gs("Not Installed",redux_templates.i18n),position:"bottom",key:a.source+a.source_id},wp.element.createElement("div",{className:"redux-templates-missing-badge"},wp.element.createElement("i",{className:"fas fa-exclamation-triangle"}))),wp.element.createElement(Ts,{index:r,showDependencyBlock:!0,data:a,pageData:t})))):null}));n(541);const Xs=wp.i18n.__;var Ks=e=>{const t=e.data,n=e.onSelectCollection,r=t.pages,l=t.homepageData,a=t.ID,o=t.name,i=(l||{}).image;return wp.element.createElement("div",{className:"redux-templates-multiple-template-box"},wp.element.createElement("div",{className:"multiple-template-view",onClick:()=>n(a)},wp.element.createElement("div",{className:"redux-templates-box-shadow"},wp.element.createElement("div",{className:"redux-templates-default-template-image"},wp.element.createElement(Gr,{url:i,alt:Xs("Default Template",redux_templates.i18n)}),Kr(t)&&wp.element.createElement("span",{className:"redux-templates-pro-badge"},Xs("Premium",redux_templates.i18n)),!Kr(t)&&Zr(t)&&wp.element.createElement("div",{className:"redux-templates-missing-badge"},wp.element.createElement("i",{className:"fas fa-exclamation-triangle"}))),wp.element.createElement("div",{className:"redux-templates-button-overlay"},Kr(t)&&wp.element.createElement(Dr.Tooltip,{text:Xs("Premium Requirements",redux_templates.i18n),position:"bottom",key:t.source+t.source_id},wp.element.createElement("span",{className:"redux-templates-pro-badge"},Xs("Premium",redux_templates.i18n))),!Kr(t)&&Zr(t)&&wp.element.createElement(Dr.Tooltip,{text:Xs("Not Installed",redux_templates.i18n),position:"bottom",key:t.source+t.source_id},wp.element.createElement("div",{className:"redux-templates-missing-badge"},wp.element.createElement("i",{className:"fas fa-exclamation-triangle"}))),wp.element.createElement("div",{className:"redux-templates-import-button-group"},wp.element.createElement("div",{className:"action-buttons"},wp.element.createElement("a",{className:"redux-templates-button download-button"},Xs("View Templates",redux_templates.i18n)))))),wp.element.createElement("div",{className:"redux-templates-tmpl-info"},wp.element.createElement("h5",{className:"redux-templates-tmpl-title",dangerouslySetInnerHTML:{__html:o}}),wp.element.createElement("span",{className:"redux-templates-temp-count"},r?r.length:0," ",Xs("Templates",redux_templates.i18n)))))};n(543);function Zs(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Qs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qs(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 Qs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const ec=wp.element,tc=ec.useState,nc=ec.useEffect,rc=ec.Fragment,lc=wp.compose.compose,ac=wp.data,oc=ac.withDispatch,ic=ac.withSelect,sc=wp.i18n.__;var cc=lc([oc(e=>({setCurrentPage:e("redux-templates/sectionslist").setCurrentPage})),ic(e=>{const t=e("redux-templates/sectionslist"),n=t.getCurrentPage,r=t.getPageData,l=t.getColumns;return{currentPage:n(),pageData:r(),columns:l()}})])((function(e){const t=e.currentPage,n=e.pageData,r=e.columns,l=e.setCurrentPage,a=Zs(tc(1),2),o=a[0],i=a[1],s=Zs(tc("tablenav-pages-navspan button"),2),c=s[0],p=s[1],m=Zs(tc("tablenav-pages-navspan button"),2),d=m[0],u=m[1],g=Zs(tc("tablenav-pages-navspan button"),2),f=g[0],h=g[1],b=Zs(tc("tablenav-pages-navspan button"),2),x=b[0],w=b[1];nc(()=>{const e="tablenav-pages-navspan button ",n="tablenav-pages-navspan button disabled";p(0===t?n:e),u(0===t?n:e),h(t===o-1?n:e),w(t===o-1?n:e)},[t,o]),nc(()=>{let e=""===r?"medium":r;i(Math.ceil(n.length/Eo[e]))},[n]);const v=(e,t)=>{t.indexOf("disabled")>0||(document.getElementById("modalContent").scrollTop=0,l(e))};return wp.element.createElement(rc,null,o>0&&wp.element.createElement("div",{className:"tablenav-pages"},wp.element.createElement("span",{className:"displaying-num"},n.length," items"),wp.element.createElement("span",{className:"pagination-links"},wp.element.createElement("span",{className:c,"aria-hidden":"true",onClick:()=>v(0,c)},"«"),wp.element.createElement("span",{className:d,"aria-hidden":"true",onClick:()=>v(t-1,d)},"‹"),wp.element.createElement("span",{className:"screen-reader-text"},sc("Current Page",redux_templates.i18n)),wp.element.createElement("span",{id:"table-paging",className:"paging-input"},wp.element.createElement("span",{className:"tablenav-paging-text"},t+1," of ",wp.element.createElement("span",{className:"total-pages"},o))),wp.element.createElement("span",{className:f,"aria-hidden":"true",onClick:()=>v(t+1,f)},"›"),wp.element.createElement("span",{className:x,"aria-hidden":"true",onClick:()=>v(o-1,x)},"»"))))}));n(545);function pc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pc(Object(n),!0).forEach((function(t){dc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return gc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gc(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 gc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const fc=wp.element,hc=fc.useState,bc=fc.useEffect,xc=wp.compose.compose,wc=wp.data,vc=wc.withDispatch,yc=wc.withSelect,Ec=wp.components.Spinner;var _c=xc([vc(e=>({setActiveCollection:e("redux-templates/sectionslist").setActiveCollection})),yc((e,t)=>{const n=e("redux-templates/sectionslist"),r=n.getPageData,l=n.getLoading,a=n.getColumns,o=n.getActiveItemType,i=n.getActiveCollection,s=n.getCurrentPage;return{pageData:r(),loading:l(),activeItemType:o(),columns:a(),activeCollection:i(),currentPage:s()}})])((function(e){const t=e.pageData,n=e.loading,r=e.activeItemType,l=e.activeCollection,a=e.columns,o=e.currentPage,i=e.setActiveCollection,s=uc(hc([]),2),c=s[0],p=s[1],m=uc(hc(!1),2),d=m[0],u=m[1],g=e=>{i(e)};return bc(()=>{let e=[],n=0,l=""===a?"medium":a;const i=yo[l],s=Eo[l];for(let t=0;t<i;t++)e[t]=[];if(t){const l="collection"!==r?o*s+1:1,a="collection"!==r?(o+1)*s:t.length;for(n=l;n<=a&&n<=t.length;n++)e[(n-1)%i].push(mc(mc({},t[n-1]),{},{index:n-1}))}p(e),u("collection"!==r&&t&&s<t.length)},[a,t]),n?wp.element.createElement("div",null,wp.element.createElement("div",{style:{height:"600px"}},wp.element.createElement("div",{className:"redux-templates-modal-loader"},wp.element.createElement(Ec,null)))):wp.element.createElement("div",{id:"modalContainer",className:"redux-templates-template-list-modal"},wp.element.createElement("div",{className:"redux-templates-builder-template-list-container"},wp.element.createElement("div",{id:"collections-sections-list",className:"redux-templates-builder-page-templates "+a},c&&c.map((e,t)=>wp.element.createElement("div",{className:"redux-templates-pagelist-column",key:t},e&&e.map((e,t)=>"collection"!==r||null!==l?wp.element.createElement($s,{key:t,index:e.index}):wp.element.createElement(Ks,{key:t,data:e,index:e.index,itemType:r,spinner:!1,onSelectCollection:g}))))),d&&wp.element.createElement(cc,null)))}));const kc=wp.element.Fragment;function Oc(e){return wp.element.createElement(kc,null,wp.element.createElement("div",{id:"redux-templates-collection-modal-sidebar",className:"redux-templates-collection-modal-sidebar"},wp.element.createElement(ts,null)),wp.element.createElement("div",{className:"redux-templates-collection-modal-content-area","data-tut":"tour__main_body",id:"modalContent"},wp.element.createElement(ys,null),wp.element.createElement(_c,null)))}n(547);function Sc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sc(Object(n),!0).forEach((function(t){jc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ic(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ic(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 Ic(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const Tc=wp.element,Pc=Tc.useState,zc=Tc.useEffect,Ac=wp.compose.compose,Dc=wp.data,Mc=Dc.withDispatch,Lc=Dc.withSelect,Bc=wp.i18n.__;var Rc=Ac([Mc(e=>({setActiveCollection:e("redux-templates/sectionslist").setActiveCollection})),Lc((e,t)=>{const n=e("redux-templates/sectionslist"),r=n.getPageData,l=n.getLoading,a=n.getActiveCollectionData,o=n.getActiveItemType;return{pageData:r(),loading:l(),activeItemType:o(),activeCollectionData:a()}})])((function(e){const t=e.pageData,n=e.activeCollectionData,r=e.setActiveCollection,l=Nc(Pc(null),2),a=l[0],o=l[1],i=Nc(Pc(0),2),s=i[0],c=i[1],p=Nc(Pc("1.5s"),2),m=p[0],d=p[1],u=t.length;return zc(()=>{if(t&&t[s]){const e=t[s],n=new Image;e.image_full?(o(Cc(Cc({},e),{},{backgroundImage:e.image_full,previewImageClassname:"details-preview has_full"})),n.src=e.image_full):(o(Cc(Cc({},e),{},{backgroundImage:e.image,previewImageClassname:"details-preview has_full"})),n.src=e.image),n.onload=function(){d((n.height-515)/500+"s")}}},[t,s]),a?wp.element.createElement("div",{className:"redux-templates-collection-details-view"},wp.element.createElement("div",{className:"redux-templates-collection-details-left"},wp.element.createElement("div",{className:"details-back",onClick:()=>r(null)},wp.element.createElement("span",{className:"dashicons dashicons-arrow-left-alt"})," ",Bc("Back to Template Kits",redux_templates.i18n)),wp.element.createElement("div",{className:a.previewImageClassname,style:{backgroundImage:`url('${a.backgroundImage}')`,transitionDuration:m}})),wp.element.createElement("div",{className:"redux-templates-collection-details-right"},wp.element.createElement("div",{className:"details-title"},wp.element.createElement("h3",null,n.name),wp.element.createElement("span",null,u," ",Bc("pages",redux_templates.i18n))),wp.element.createElement("div",{className:"details-list"},wp.element.createElement("div",{className:"details-inner"},t.map((e,t)=>{let n=a.ID===e.ID?"detail-select detail-select-active":"detail-select",r={backgroundImage:"url("+e.image+")"};return wp.element.createElement("div",{className:n,onClick:()=>c(t),key:t},wp.element.createElement("div",{className:"detail-image",style:r},Kr(e)&&wp.element.createElement("span",{className:"pro"},Bc("Premium",redux_templates.i18n)),!Kr(e)&&Zr(e)&&wp.element.createElement("span",{className:"install"},wp.element.createElement("i",{className:"fas fa-exclamation-triangle"})),wp.element.createElement("div",{className:"detail-label"},e.name)))})))),wp.element.createElement("div",{className:"redux-templates-collection-details-footer"},wp.element.createElement("div",{className:"footer-grid"},wp.element.createElement(Ts,{index:s,showDependencyBlock:!1,data:a,pageData:t})))):null})),Fc=(n(549),n(269)),Hc=n.n(Fc);function Vc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Uc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Uc(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 Uc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const Gc=wp.apiFetch,Yc=wp.element.useState,qc=wp.compose.compose,Wc=wp.data.withDispatch,Jc=wp.components.Spinner,$c=wp.blocks.parse;wp.i18n.__;var Xc=qc([Wc(e=>{const t=e("core/block-editor").insertBlocks,n=e("redux-templates/sectionslist");return{insertBlocks:t,appendErrorMessage:n.appendErrorMessage,discardAllErrorMessages:n.discardAllErrorMessages}})])((function(e){const t=e.insertBlocks,n=e.discardAllErrorMessages,r=e.appendErrorMessage,l=(e.clearSearch,Vc(Yc([]),2)),a=l[0],o=l[1],i=Vc(Yc(!1),2),s=i[0],c=i[1];return!1===s&&Gc({path:"redux/v1/templates/get_saved_blocks"}).then(e=>{e.success?o(e.data):r(e.data.error),c(!0)}).catch(e=>{r(e.code+" : "+e.message),c(!0)}),!0===s?wp.element.createElement("div",{className:"redux-templates-two-sections__grid"},a&&a.length>0?((e,t=4,n=!0)=>{let r,l=[];for(r=0;r<t;r++)l[r]=[];return e.forEach((e,n)=>{l[n%t].push(e)}),l})(a).map((e,l)=>{let i=e.map((e,l)=>{let i=$c(e.post_content);return wp.element.createElement("div",{className:"redux-templates-two-section",key:l,onClick:()=>(e=>{let n=$c(e);t(n),xr.close()})(e.post_content)},wp.element.createElement("div",{className:"preview-image-wrapper"},wp.element.createElement(ka.BlockPreview,{blocks:i})),wp.element.createElement("div",{className:"saved-section-title"},e.post_title),wp.element.createElement("div",{className:"redux-templates-two-section-remove",onClick:t=>((e,t)=>{e.stopPropagation(),n();Gc({method:"POST",path:"redux/v1/templates/delete_saved_block/?block_id="+t}).then(e=>{e.success?o(Hc()(a,{ID:t})):r(e.data.error)}).catch(e=>{r(e.code+" : "+e.message)})})(t,e.ID)},wp.element.createElement("i",{className:"fas fa-trash"})))});return wp.element.createElement("div",{className:"redux-templates-two-sections__grid__column",key:l,style:{width:"25%",flexBasis:"25%"}},i)}):wp.element.createElement("div",{className:"no-section"},"Nothing here yet, make a reusuable block first.")):wp.element.createElement("div",null,wp.element.createElement("div",{style:{height:"600px"}},wp.element.createElement("div",{className:"redux-templates-modal-loader"},wp.element.createElement(Jc,null))))}));n(553);var Kc=Object(li.compose)([Object(ai.withDispatch)(e=>({discardAllErrorMessages:e("redux-templates/sectionslist").discardAllErrorMessages}))])((function(e){const t=e.discardAllErrorMessages,n=e.errorMessages;return wp.element.createElement("div",{className:"redux-templates-error-notice"},wp.element.createElement(Dr.Notice,{status:"error",onRemove:t},wp.element.createElement("p",null,n.join(", "))))})),Zc={getSecondsLeft:function(){var e=localStorage.getItem("reduxChallengeSecondsLeft");return e=isNaN(e)||null==e?mi.initialSecondsLeft:parseInt(e,10)},saveSecondsLeft:function(e){localStorage.setItem("reduxChallengeSecondsLeft",e)},getMinutesFormatted:function(e){return Math.floor(e/60)},getSecondsFormatted:function(e){return e%60},getFormatted:function(e){if(e<0)return"0:00";var t=this.getMinutesFormatted(e),n=this.getSecondsFormatted(e);return t+(9<n?":":":0")+n},getLocalizedDuration:function(){let e=this.getSecondsLeft();e=mi.initialSecondsLeft-e;var t=this.getMinutesFormatted(e),n=this.getSecondsFormatted(e);return(t?t+" "+Object(o.__)("minutes",redux_templates.i18n)+" ":"")+(n?n+" "+Object(o.__)("seconds",redux_templates.i18n):"")},loadStep:function(){var e=localStorage.getItem("reduxChallengeStep");return e=isNaN(e)?-1:parseInt(e,10)},saveStep:function(e){localStorage.setItem("reduxChallengeStep",e)}};const Qc=wp.compose.compose,ep=wp.data,tp=ep.withDispatch,np=(ep.withSelect,wp.element.createElement("span",{className:"rating-stars"},wp.element.createElement("i",{className:"fa fa-star"}),wp.element.createElement("i",{className:"fa fa-star"}),wp.element.createElement("i",{className:"fa fa-star"}),wp.element.createElement("i",{className:"fa fa-star"}),wp.element.createElement("i",{className:"fa fa-star"})));var rp=Qc([tp(e=>{const t=e("redux-templates/sectionslist");return{setChallengeStep:t.setChallengeStep,setChallengeFinalStatus:t.setChallengeFinalStatus,setChallengeOpen:t.setChallengeOpen}})])((function(e){const t=e.setChallengeStep,n=e.setChallengeFinalStatus,r=e.setChallengeOpen;return wp.element.createElement("div",{className:"redux-templates-modal-overlay"},wp.element.createElement("div",{className:"redux-templates-modal-wrapper challenge-popup-wrapper"},wp.element.createElement("div",{className:"challenge-popup-header challenge-popup-header-congrats",style:{backgroundImage:`url(${redux_templates.plugin+"assets/img/popup-congrats.png"})`}},wp.element.createElement("a",{className:"challenge-popup-close",onClick:()=>{t(mi.beginningStep),n(""),r(!1)}},wp.element.createElement("i",{className:"fas fa-times"}))),wp.element.createElement("div",{className:"challenge-popup-content"},wp.element.createElement("h3",null,Object(o.__)("Congrats, you did it!",redux_templates.i18n)),wp.element.createElement("p",null,Object(o.__)("You completed the Redux Challenge in ",redux_templates.i18n),wp.element.createElement("b",null,Zc.getLocalizedDuration()),".",Object(o.__)("Share your success story with other Redux users and help us spread the word",redux_templates.i18n),wp.element.createElement("b",null,Object(o.__)("by giving Redux a 5-star rating (",redux_templates.i18n)," ",np,Object(o.__)(") on WordPress.org",redux_templates.i18n)),".",Object(o.__)("Thanks for your support and we look forward to bringing more awesome features.",redux_templates.i18n)),wp.element.createElement("a",{href:"https://wordpress.org/support/plugin/redux-framework/reviews/?filter=5#new-post",className:"challenge-popup-btn challenge-popup-rate-btn",target:"_blank",rel:"noopener"},Object(o.__)("Rate Redux on Wordpress.org",redux_templates.i18n),wp.element.createElement("span",{className:"dashicons dashicons-external"})))))}));function lp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ap(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ap(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 ap(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const op=wp.compose.compose,ip=wp.element.useState,sp=wp.data,cp=sp.withDispatch;sp.withSelect,wp.element.createElement("span",{className:"rating-stars"},wp.element.createElement("i",{className:"fa fa-star"}),wp.element.createElement("i",{className:"fa fa-star"}),wp.element.createElement("i",{className:"fa fa-star"}),wp.element.createElement("i",{className:"fa fa-star"}),wp.element.createElement("i",{className:"fa fa-star"}));op([cp(e=>{const t=e("redux-templates/sectionslist");return{setChallengeStep:t.setChallengeStep,setChallengeFinalStatus:t.setChallengeFinalStatus,setChallengeOpen:t.setChallengeOpen}})])((function(e){const t=e.setChallengeStep,n=e.setChallengeFinalStatus,r=e.setChallengeOpen,l=lp(ip(""),2),a=l[0],i=l[1],s=lp(ip(!1),2),c=s[0],p=s[1],m=()=>{t(mi.beginningStep),n(""),r(!1)};return wp.element.createElement("div",{className:"redux-templates-modal-overlay"},wp.element.createElement("div",{className:"redux-templates-modal-wrapper challenge-popup-wrapper"},wp.element.createElement("div",{className:"challenge-popup-header challenge-popup-header-contact",style:{backgroundImage:`url(${redux_templates.plugin+"assets/img/popup-contact.png"})`}},wp.element.createElement("a",{className:"challenge-popup-close",onClick:m},wp.element.createElement("i",{className:"fas fa-times"}))),wp.element.createElement("div",{className:"challenge-popup-content challenge-contact"},wp.element.createElement("h3",null,Object(o.__)("Help us improve Redux",redux_templates.i18n)),wp.element.createElement("p",null,Object(o.__)("We're sorry that it took longer than 5 minutes to try our challenge. We aim to ensure our Block Template library is as beginner friendly as possible. Please take a moment to let us know how we can improve our challenge.",redux_templates.i18n)),wp.element.createElement("textarea",{value:a,onChange:e=>{i(e.target.value)}}),wp.element.createElement(Dr.CheckboxControl,{label:Object(o.__)("Yes, I give Redux permission to contact me for any follow up questions.",redux_templates.i18n),checked:c,onChange:()=>p(!c)}),wp.element.createElement("button",{className:"challenge-popup-btn challenge-popup-rate-btn",onClick:()=>{console.log("contact information",a,c),m()}},Object(o.__)("Submit Feedback",redux_templates.i18n)))))})),n(555);function pp({finalStatus:e}){return wp.element.createElement(rp,null)}var mp=n(67),dp={bottom:0,right:0},up="click",gp={backgroundColor:"#24B0A6",fill:"#ffffff",transform:"none",transition:"none",transformOrigin:"none"},fp={backgroundColor:"#19837C"};n(557);Object(o.__)("Yes, I give Redux permission to contact me for any follow up questions.",redux_templates.i18n);function hp(){const e=gp,t=fp,n=dp,r=up;return wp.element.createElement(mp.b,{mainButtonStyles:e,position:n,icon:ar(),event:r,text:Object(o.__)("See Quick Links",redux_templates.i18n)},wp.element.createElement(mp.a,{style:t,text:Object(o.__)("Get Support",redux_templates.i18n),onClick:e=>{window.open("https://wordpress.org/support/plugin/redux-framework/#new-topic-0","_blank")}},wp.element.createElement("i",{className:"far fa-question-circle "})),wp.element.createElement(mp.a,{style:t,text:Object(o.__)("Join our Community",redux_templates.i18n),onClick:e=>{window.open("https://www.facebook.com/groups/reduxframework","_blank")}},wp.element.createElement("i",{className:"fa fa-comments"})),"1"===redux_templates.mokama&&wp.element.createElement(mp.a,{style:t,text:Object(o.__)("Visit our Website",redux_templates.i18n),onClick:e=>{window.open("https://redux.io?utm_source=plugin&utm_medium=modal&utm_campaign=tinyfab","_blank")}},wp.element.createElement("i",{className:"fas fa-external-link-alt"})),"1"!==redux_templates.mokama&&wp.element.createElement(mp.a,{style:{backgroundColor:"#00a7e5"},text:Object(o.__)("Upgrade to Redux Pro",redux_templates.i18n),onClick:e=>{window.open(redux_templates.u,"_blank")}},wp.element.createElement("i",{className:"fa fa-star"})))}n(559);function bp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return xp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xp(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 xp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const vp=wp.compose.compose,yp=wp.data,Ep=yp.withDispatch,_p=yp.withSelect,kp=wp.element,Op=kp.useState,Sp=kp.useEffect;var Cp=vp([Ep(e=>{const t=e("redux-templates/sectionslist");return{setLoading:t.setLoading,setLibrary:t.setLibrary,setImportingTemplate:t.setImportingTemplate,clearSearch:t.clearSearch,clearState:t.clearState}}),_p(e=>{const t=e("redux-templates/sectionslist"),n=t.fetchLibraryFromAPI,r=t.getActiveCollection,l=t.getActiveItemType,a=t.getErrorMessages,o=t.getImportingTemplate,i=t.getChallengeOpen,s=t.getChallengeFinalStatus;return{fetchLibraryFromAPI:n,activeCollection:r(),activeItemType:l(),errorMessages:a(),importingTemplate:o(),challengeFinalStatus:s(),isChallengeOpen:i()}})])((function(e){const t=e.fetchLibraryFromAPI,n=e.activeCollection,r=e.activeItemType,l=e.errorMessages,a=e.importingTemplate,o=e.challengeFinalStatus,i=e.isChallengeOpen,s=e.setLoading,c=e.setImportingTemplate,p=(e.clearSearch,e.clearState),m=bp(Op(!1),2),d=m[0],u=m[1],g=bp(Op(!1),2),f=g[0],h=g[1];let b=null;Sp(()=>{p(),b=t(),null===b&&!1===d&&(s(!0),u(!0));const e=({keyCode:e})=>{27===e&&h(!0)};return document.addEventListener("keyup",e),()=>{document.removeEventListener("keyup",e)}},[]),Sp(()=>{f&&(h(!1),xr.isCustomizerOpened()?xr.closeCustomizer():a?c(null):xr.close())},[f]);const x=()=>("collection"!==r||null===n)&&"saved"!==r;return wp.element.createElement(br,{className:"redux-templates-builder-modal-pages-list",customClass:"redux-templates-builder-modal-template-list",openTimeoutMS:0,closeTimeoutMS:0},wp.element.createElement(bi,null),l&&l.length>0&&wp.element.createElement(Kc,{errorMessages:l}),wp.element.createElement("div",{className:"redux-templates-collections-modal-body"},x()&&wp.element.createElement(Oc,null),!1===x()&&"collection"===r&&wp.element.createElement(Rc,null),!1===x()&&"collection"!==r&&wp.element.createElement(Xc,null)),a&&wp.element.createElement(sa,{startImportTemplate:()=>{a&&eo()}}),""!==o&&wp.element.createElement(pp,{finalStatus:o}),!i&&wp.element.createElement(hp,null))}));n(561);var jp=Object(li.compose)([Object(ai.withDispatch)((e,{clientId:t})=>{const n=e("core/block-editor").removeBlocks;return{removeLibraryBlock:e=>{n(t)}}})])(({removeLibraryBlock:e,preview:t})=>(t&&alert("here i am"),wp.element.createElement("div",{className:"redux-template-library-block"},wp.element.createElement(Dr.Placeholder,{icon:wp.element.createElement(ar,null),label:Object(o.__)("Redux Template Library",redux_templates.i18n),instructions:Object(o.__)("Open the Design Library and select a pre-designed block or layout.",redux_templates.i18n)},wp.element.createElement(Dr.Button,{isSecondary:!0,isLarge:!0,hasIcon:!0,className:"redux-template-library-block__button",onClick:()=>{xr.open(wp.element.createElement(Cp,null)),e()}},Object(o.__)("Open Design Library",redux_templates.i18n))))));n(562);var Np=()=>wp.element.createElement(Dr.Tooltip,{text:Object(o.__)("Redux Templates Library",redux_templates.i18n),position:"bottom"},wp.element.createElement(Dr.Button,{"data-tut":"tour__library_button",onClick:()=>{xr.open(wp.element.createElement(Cp,null))},className:"redux-templates-insert-library-button",label:Object(o.__)("Open Library",redux_templates.i18n),icon:wp.element.createElement(ar,null)},Object(o.__)("Templates",redux_templates.i18n)));wp.blocks.registerBlockType;const Ip=Object(o.__)("Template Library",redux_templates.i18n),Tp=Object(o.__)("Choose a section, template, or template kit from the Redux Template Library.",redux_templates.i18n),Pp=[Object(o.__)("Template Library",redux_templates.i18n),Object(o.__)("Design Library",redux_templates.i18n),Object(o.__)("Element Layouts",redux_templates.i18n),Object(o.__)("Redux",redux_templates.i18n)],zp={title:Ip,description:Tp,icon:or,category:"layout",keywords:Pp,attributes:{},supports:{customClassName:!1},example:{attributes:{}},edit:jp,save:()=>null},Ap=function(e){const t=document.createElement("div");e.appendChild(t),Object(a.render)(wp.element.createElement(Np,null),t)};function Dp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dp(Object(n),!0).forEach((function(t){Lp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(l.a)(()=>{let e=document.querySelector(".edit-post-header__toolbar");e||(e=document.querySelector(".edit-post-header__toolbar")),e?Ap(e):setTimeout((function(){let e=document.querySelector(".edit-post-header__toolbar");e&&Ap(e)}),500)});const Bp=wp.blocks.registerBlockType;Bp("redux/library",Mp({},zp)),Bp("redux/import",Mp({},dr));wp.i18n.__;const Rp=wp.compose.compose,Fp=wp.data,Hp=Fp.withSelect,Vp=(Fp.select,wp.element.Fragment,wp.components.PanelBody,jr()(vo("section_categories_list"),"label"));Ir()(Vp,"value"),Ir()(Vp,"label");var Up=Rp([Hp(e=>({getEditorBlocks:e("core/editor").getEditorBlocks}))])((function(e){return wp.editPost,null}));if(wp.plugins){(0,wp.plugins.registerPlugin)("redux-templates-share",{icon:ar,render:Up})}var Gp=n(270);const Yp=jr()(vo("page_categories_list"),"label"),qp={type:"object",properties:{title:{type:"string",title:"Block Title"},category:{type:"string",title:"Category",enum:Ir()(Yp,"value"),enumNames:Ir()(Yp,"label")},description:{type:"string",title:"Description"}}},Wp={title:{classNames:"fixed-control"},category:{classNames:"fixed-control"},description:{"ui:widget":"textarea"}};var Jp=Object(li.compose)([Object(ai.withDispatch)((e,{clientIds:t,onToggle:n=i.noop,blocksSelection:r=[]})=>{e("core/block-editor").replaceBlocks;return{onExportBlock(){if(!r.length)return;console.log(r);wp.data.select("core/block-editor").getBlocks();const e=Object(ai.select)("core/block-editor").getSelectedBlockName(),t=Object(ai.select)("core/block-editor").getSelectedBlockClientId(),l=JSON.stringify({__file:"wp_block",title:e,content:t},null,2);console.log(l),n()}}})])((function({clientIds:e}){return e?wp.element.createElement(a.Fragment,null,wp.element.createElement(Gp.PluginBlockSettingsMenuItem,{icon:ar,label:Object(o.__)("Share Block",redux_templates.i18n),onClick:()=>{const t={postID:Object(ai.select)("core/editor").getCurrentPostId(),editor_blocks:Object(ai.select)("core/block-editor").getBlocksByClientId(e),type:"block"};xr.openFeedback(wp.element.createElement(Pa,{title:Object(o.__)("Redux Shares",redux_templates.i18n),width:700,description:Object(o.__)("Share this design",redux_templates.i18n),schema:qp,uiSchema:Wp,data:t,headerImage:wp.element.createElement("i",{className:"fas fa-share header-icon"}),endpoint:"share",onSuccess:e=>window.open(e.data.url,"_blank"),buttonLabel:Object(o.__)("Submit Template",redux_templates.i18n)}))}})):null}));if(wp.plugins){wp.plugins.registerPlugin,Object(ai.withSelect)(e=>{const t=e("core/block-editor").getSelectedBlockClientIds;return t?{clientIds:t()}:{}})(Jp)}function $p(e,t,n){const r=new window.Blob([t],{type:n});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(r,e);else{const t=document.createElement("a");t.href=URL.createObjectURL(r),t.download=e,t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)}}var Xp=async function(e){const t=await wp.apiFetch({path:"/wp/v2/types/wp_block"}),n=await wp.apiFetch({path:"/wp/v2/"+t.rest_base+"/"+e+"?context=edit"}),r=n.title.raw,l=n.content.raw,a=JSON.stringify({__file:"wp_block",title:r,content:l},null,2);$p(Object(i.kebabCase)(r)+".json",a,"application/json")};const Kp=wp.i18n.__,Zp=wp.data,Qp=Zp.withSelect,em=Zp.select,tm=wp.compose.compose,nm=wp.element.Fragment,rm=wp.components.withSpokenMessages,lm=wp.blocks.serialize;var am=tm([Qp(()=>{const e=em("core/block-editor"),t=e.getSelectedBlockCount,n=e.getSelectedBlock,r=e.getMultiSelectedBlocks,l=em("core/block-editor").getBlock;return{selectedBlockCount:t(),selectedBlock:n(),selectedBlocks:r(),getBlock:l}}),rm])((function(e){const t=e.selectedBlockCount,n=e.selectedBlock,r=e.selectedBlocks;if(!wp.editPost)return null;const l=wp.editPost.PluginBlockSettingsMenuItem;return wp.element.createElement(nm,null,wp.element.createElement(l,{icon:rr(wp.element.createElement(Dr.Dashicon,{icon:"migrate"})),label:Kp("Export Block",redux_templates.i18n),onClick:()=>{if(t<1)return;let e,l="redux_templates/export";if(1===t){if("core/block"===n.name)return void Xp(n.attributes.ref);e=lm(n),l=n.name}t>1&&(e=lm(r));const a=JSON.stringify({__file:"core_block",content:e},null,2);$p("block-template-"+Object(i.kebabCase)(l)+".json",a,"application/json")}}))}));if(wp.plugins){(0,wp.plugins.registerPlugin)("redux-templates-export",{render:am})}const om=wp.element.Fragment;const im=Object(li.compose)(Object(ai.withSelect)(e=>({editedPostContent:e("core/editor").getEditedPostAttribute("content")})),Object(ai.withDispatch)(e=>({createNotice:e("core/notices").createNotice})),Object(li.ifCondition)(({editedPostContent:e})=>e.length>0))((function({createNotice:e,editedPostContent:t}){if(!wp.plugins)return null;const n=wp.editPost.PluginMoreMenuItem;return wp.element.createElement(om,null,wp.element.createElement(n,{icon:rr(wp.element.createElement(Dr.Dashicon,{icon:"migrate"})),role:"menuitemcheckbox",onClick:()=>{$p("page-template-export.json",JSON.stringify({__file:"core_block",content:t},null,2),"application/json")}},Object(o.__)("Export Page",redux_templates.i18n)))}));if(wp.plugins){(0,wp.plugins.registerPlugin)("redux-templates-export-page",{render:im})}const sm=wp.element.Fragment;const cm=Object(li.compose)(Object(ai.withSelect)(e=>({})),Object(ai.withDispatch)(e=>{}))((function(){if(!wp.plugins)return null;const e=wp.editPost.PluginMoreMenuItem;return wp.element.createElement(sm,null,wp.element.createElement(e,{icon:or(),role:"menuitemcheckbox",onClick:()=>{xr.open(wp.element.createElement(Cp,null))}},Object(o.__)("Template Library",redux_templates.i18n)))}));if(wp.plugins){(0,wp.plugins.registerPlugin)("redux-open-library-context",{render:cm})}function pm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pm(Object(n),!0).forEach((function(t){dm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function um(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return gm(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gm(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 gm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const fm=wp.compose.compose,hm=wp.data,bm=hm.withDispatch,xm=hm.withSelect,wm=wp.element,vm=wm.useState,ym=wm.useEffect;var Em=fm([bm(e=>{const t=e("redux-templates/sectionslist");return{setChallengeStep:t.setChallengeStep,setChallengeFinalStatus:t.setChallengeFinalStatus,setChallengePassed:t.setChallengePassed,setChallengeListExpanded:t.setChallengeListExpanded,setImportingTemplate:t.setImportingTemplate}}),xm((e,t)=>{const n=e("redux-templates/sectionslist"),r=n.getChallengeTooltipRect,l=n.getChallengeOpen,a=n.getChallengeStep,o=n.getChallengeFinalStatus;return{tooltipRect:r(),isOpen:l(),challengeStep:a(),finalStatus:o()}})])((function(e){const t=e.challengeStep,n=e.tooltipRect,r=e.isOpen,l=e.setChallengeStep,a=e.setChallengeFinalStatus,i=e.setChallengePassed,s=e.setChallengeListExpanded,c=e.setImportingTemplate,p=um(vm({}),2),m=p[0],d=p[1],u=um(vm({}),2),g=u[0],f=u[1],h=um(vm(""),2),b=h[0],x=h[1],w=um(vm(""),2),v=w[0],y=w[1];return ym(()=>{if((t>=0||t>mi.totalStep)&&r&&n){const e=mi.list[t];if(e){const r=um((()=>{const e=mi.list[t],r=e.box&&e.box.width?e.box.width:250,l=e.box&&e.box.height?e.box.height:300,a=e.offset?e.offset.x:0,o=e.offset?e.offset.y:20;switch(e.direction){case"right":case"left":return[n.left+a,n.top+o-l/2];case"top":return[n.left+a-r/2,n.top+o];case"bottom":return[n.left+a-r/2,n.top-l+o];default:return[n.left+a,n.top+o]}})(),2),l=r[0],a=r[1],o=um((()=>{const e=mi.list[t],n=e.box&&e.box.width?e.box.width:250,r=e.box&&e.box.height?e.box.height:300,l=e.offset&&!1===isNaN(e.offset.arrowX)?e.offset.arrowX:20,a=e.offset&&!1===isNaN(e.offset.arrowY)?e.offset.arrowY:20;switch(e.direction){case"top":case"bottom":return[n/2+l,a];case"left":return[l,a+r/2-15];case"right":return[n+l,a+r/2-15];default:return[l,a]}})(),2),i=o[0],s=o[1];d(mm(mm({},m),{},{display:"block",width:e.box?e.box.width:250,left:l,top:a})),x(e.content),f(mm(mm({},g),{},{display:"block",left:l+i,top:a+s}))}}else d(mm(mm({},m),{},{display:"none"})),f(mm(mm({},g),{},{display:"none"}))},[JSON.stringify(n),t,r]),ym(()=>{const e=mi.list[t];if(e)switch(e.direction){case"top":y("challenge-tooltip tooltipster-sidetip tooltipster-top");break;case"bottom":y("challenge-tooltip tooltipster-sidetip tooltipster-bottom");break;case"left":y("challenge-tooltip tooltipster-sidetip tooltipster-left");break;case"right":y("challenge-tooltip tooltipster-sidetip tooltipster-right");break;default:y("challenge-tooltip tooltipster-sidetip tooltipster-left")}},[t]),wp.element.createElement("div",{className:v},wp.element.createElement("div",{className:"tooltipster-box",style:m},b,wp.element.createElement("div",{className:"btn-row"},wp.element.createElement("button",{className:"challenge-done-btn",onClick:()=>{t===mi.totalStep-1?(xr.show(),a(Zc.getSecondsLeft()>0?"success":"contact"),l(mi.beginningStep),i(!0),s(!0),c(null)):l(t+1)}},Object(o.__)("Next",redux_templates.i18n)))),wp.element.createElement("div",{className:"tooltipster-arrow",style:g},wp.element.createElement("div",{className:"tooltipster-arrow-uncropped"},wp.element.createElement("div",{className:"tooltipster-arrow-border"}),wp.element.createElement("div",{className:"tooltipster-arrow-background"}))))}));n(564),n(247);function _m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return km(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return km(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 km(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}wp.compose.compose;const Om=wp.data,Sm=(Om.withDispatch,Om.withSelect,wp.element),Cm=Sm.useState,jm=Sm.useEffect;function Nm(e){const t=e.currentStep,n=e.step,r=e.caption,l=e.finalStatus,a=_m(Cm("fa circle"),2),o=a[0],i=a[1],s=_m(Cm("challenge-item"),2),c=s[0],p=s[1];return jm(()=>{t<n&&(p("challenge-item"),i("far fa-circle")),t===n&&(p("challenge-item challenge-item-current"),i("fas fa-circle")),(t>n||l)&&(p("challenge-item challenge-item-completed"),i("fas fa-check-circle"))},[n,t,l]),wp.element.createElement("li",{className:c},wp.element.createElement("i",{className:o}),r)}function Im(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Tm(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tm(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 Tm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const Pm=wp.element,zm=Pm.useState,Am=Pm.useEffect;var Dm=(0,Pm.memo)((function({currentStep:e}){const t=Im(zm(0),2),n=t[0],r=t[1];return Am(()=>{r(e<=0?0:e/mi.totalStep*100)},[e]),wp.element.createElement("div",{className:"challenge-bar"},wp.element.createElement("div",{style:{width:n+"%"}}))}));function Mm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Lm(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Lm(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 Lm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const Bm=wp.compose.compose,Rm=wp.data,Fm=Rm.withDispatch,Hm=Rm.withSelect,Vm=wp.element,Um=Vm.useState,Gm=Vm.useEffect;var Ym=Bm([Fm(e=>{const t=e("redux-templates/sectionslist");return{setChallengeOpen:t.setChallengeOpen,setChallengeStep:t.setChallengeStep}}),Hm(e=>{const t=e("redux-templates/sectionslist"),n=t.getChallengeStep,r=t.getChallengeFinalStatus;return{challengeStep:n(),finalStatus:r()}})])((function(e){e.started;const t=e.onStarted,n=e.challengeStep,r=e.finalStatus,l=e.setChallengeOpen,a=e.setChallengeStep,i=Mm(Um("challenge-button-row"),2),s=i[0],c=i[1];Gm(()=>{c(n!==mi.beginningStep?"challenge-button-row started":"challenge-button-row")},[n]);const p=()=>{l(!1),a(-1)};return wp.element.createElement("div",{className:"challenge-list-block"},wp.element.createElement("p",null,Object(o.__)("Complete the challenge and get up and running within 5 minutes",redux_templates.i18n)),wp.element.createElement(Dm,{currentStep:"success"===r?mi.totalStep:n}),wp.element.createElement("ul",{className:"challenge-list"},mi.list.map((e,t)=>wp.element.createElement(Nm,{key:t,step:t,currentStep:n,finalStatus:r,caption:e.caption}))),""===r&&wp.element.createElement("div",{className:s},n===mi.beginningStep&&wp.element.createElement("button",{className:"btn-challenge-start",onClick:t},Object(o.__)("Start Challenge",redux_templates.i18n)),n===mi.beginningStep&&wp.element.createElement("button",{className:"btn-challenge-skip",onClick:p},Object(o.__)("Skip Challenge",redux_templates.i18n)),n!==mi.beginningStep&&wp.element.createElement("button",{className:"btn-challenge-cancel",onClick:p},Object(o.__)("Cancel Challenge",redux_templates.i18n))))})),qm=(n(567),n(116)),Wm=n.n(qm);function Jm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return $m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $m(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 $m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const Xm=wp.compose.compose,Km=wp.data,Zm=Km.withSelect,Qm=Km.withDispatch,ed=wp.element,td=ed.useState,nd=ed.useEffect,rd=ed.useRef;var ld=Xm([Qm(e=>({setChallengeListExpanded:e("redux-templates/sectionslist").setChallengeListExpanded})),Zm(e=>{const t=e("redux-templates/sectionslist"),n=t.getChallengeOpen,r=t.getChallengeFinalStatus,l=t.getChallengeListExpanded;return{isChallengeOpen:n(),finalStatus:r(),expanded:l()}})])((function(e){const t=e.started,n=e.expanded,r=e.setChallengeListExpanded,l=e.isChallengeOpen,a=e.finalStatus,i=Jm(td(Zc.getSecondsLeft()),2),s=i[0],c=i[1],p=Jm(td(!1),2),m=p[0],d=p[1];nd(()=>(window.addEventListener("focus",g),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",u)})),nd(()=>{c(Zc.getSecondsLeft()),-1===Zc.loadStep()&&c(mi.initialSecondsLeft)},[l]),function(e,t){const n=rd();nd(()=>{n.current=e},[e]),nd(()=>{if(null!==t){let e=setInterval((function(){n.current()}),t);return()=>clearInterval(e)}},[t])}(()=>{c(s<0?0:s-1),Zc.saveSecondsLeft(s<0?0:s-1)},t&&!1===m&&s>=0&&""===a?1e3:null);const u=()=>{d(!0)},g=()=>{d(!1)};return wp.element.createElement("div",{className:"block-timer"},wp.element.createElement("div",null,wp.element.createElement("h3",null,Object(o.__)("Redux Challenge",redux_templates.i18n)),wp.element.createElement("p",null,wp.element.createElement("span",null,Zc.getFormatted(s)),Object(o.__)(" remaining",redux_templates.i18n))),wp.element.createElement("div",{className:Wm()("caret-icon",{closed:n}),onClick:()=>r(!n)},wp.element.createElement("i",{className:"fa fa-caret-down"})))}));function ad(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(l)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return od(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return od(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 od(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const id=wp.compose.compose,sd=wp.data,cd=sd.withDispatch,pd=sd.withSelect,md=wp.element,dd=md.useState,ud=md.useEffect;var gd=id([cd(e=>({setChallengeStep:e("redux-templates/sectionslist").setChallengeStep})),pd(e=>{const t=e("redux-templates/sectionslist"),n=t.getChallengeStep,r=t.getChallengeOpen,l=t.getChallengeListExpanded;return{challengeStep:n(),isOpen:r(),listExpanded:l()}})])((function(e){e.autoChallengeStart;const t=e.isOpen,n=e.challengeStep,r=e.setChallengeStep,l=e.listExpanded,a=ad(dd("redux-templates-challenge"),2),o=a[0],i=a[1],s=ad(dd(!1),2),c=s[0],p=s[1];return ud(()=>{n!==mi.beginningStep&&t&&(i("redux-templates-challenge started"),p(!0))},[n,t]),wp.element.createElement("div",{className:o,style:{display:t?"block":"none"}},l&&wp.element.createElement(Ym,{onStarted:()=>{r(0),p(!0)}}),wp.element.createElement(ld,{started:c}))}));n(569);const fd=wp.i18n.__,hd=wp.element,bd=hd.Fragment,xd=hd.useEffect,wd=hd.useRef;var vd=({attributes:e,setAttributes:t,clientId:n})=>{xd(()=>{r();if(e.customCSS){const t=e.customCSS.replace(/.ticss-[a-zA-Z0-9_-]*/g,"selector");a.current=t}else a.current="selector {\n}\n";l.current=wp.CodeMirror(document.getElementById("redux-css-editor"),{value:a.current,autoCloseBrackets:!0,continueComments:!0,lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,lint:!0,gutters:["CodeMirror-lint-markers"],styleActiveLine:!0,styleActiveSelected:!0,extraKeys:{"Ctrl-Space":"autocomplete","Alt-F":"findPersistent","Cmd-F":"findPersistent"}}),l.current.on("change",()=>{const e=new RegExp("selector","g"),n=l.current.getValue().replace(e,"."+o.current);if(a.current=n,"selector {\n}\n".replace(/\s+/g,"")===a.current.replace(/\s+/g,""))return t({customCSS:null});t({customCSS:a.current})})},[]),xd(()=>{let e=r();t({hasCustomCSS:!0,className:e})},[e]);const r=()=>{let t;const r=n.substr(0,8);return null!==a.current&&"selector {\n}\n".replace(/\s+/g,"")===a.current.replace(/\s+/g,"")?e.className:(e.className?(t=e.className,t.includes("ticss-")||(t=t.split(" "),t.push("ticss-"+r),t=t.join(" ")),o.current=t.split(" "),o.current=o.current.find(e=>e.includes("ticss"))):(t="ticss-"+r,o.current=t),t)},l=wd(null),a=wd(null),o=wd(null);return wp.element.createElement(bd,null,wp.element.createElement("p",null,fd("Add your custom CSS.")),wp.element.createElement("div",{id:"redux-css-editor",className:"redux-css-editor"}),wp.element.createElement("p",null,fd("Use")," ",wp.element.createElement("code",null,"selector")," ",fd("to target block wrapper.")),wp.element.createElement("p",null,fd("")),wp.element.createElement("p",null,fd("Example:")),wp.element.createElement("pre",{className:"redux-css-editor-help"},"selector {\n background: #000;\n}\n\nselector img {\n border-radius: 100%;\n}"),wp.element.createElement("p",null,fd("You can also use other CSS syntax here, such as media queries.")))};n(571);const yd=lodash.assign,Ed=wp.i18n.__,_d=wp.blocks.hasBlockSupport,kd=wp.components.PanelBody,Od=wp.compose.createHigherOrderComponent,Sd=(wp.blockEditor||wp.editor).InspectorControls,Cd=wp.element.Fragment,jd=wp.hooks,Nd=jd.addFilter,Id=jd.removeFilter,Td=Od(e=>t=>_d(t.name,"customClassName",!0)&&t.isSelected?wp.element.createElement(Cd,null,wp.element.createElement(e,t),wp.element.createElement(Sd,null,wp.element.createElement(kd,{title:Ed("Custom CSS"),icon:wp.element.createElement("i",{className:"fa fa"}),initialOpen:!1},wp.element.createElement(vd,{clientId:t.clientId,setAttributes:t.setAttributes,attributes:t.attributes})))):wp.element.createElement(e,t),"withInspectorControl");Id("blocks.registerBlockType","themeisle-custom-css/attribute"),Id("editor.BlockEdit","themeisle-custom-css/with-inspector-controls"),Nd("blocks.registerBlockType","redux-custom-css/attribute",e=>(_d(e,"customClassName",!0)&&(e.attributes=yd(e.attributes,{hasCustomCSS:{type:"boolean",default:!1},customCSS:{type:"string",default:null}})),e)),Nd("editor.BlockEdit","redux-custom-css/with-inspector-controls",Td),Object(l.a)(()=>{setTimeout(()=>{const e=document.createElement("div");e.className="challenge-tooltip-holder",document.body.appendChild(e);const t=document.createElement("div");t.className="challenge-wrapper",document.body.appendChild(t),"#redux_challenge=1"==window.location.hash&&(window.location.hash="",xr.open(wp.element.createElement(Cp,null))),"#redux_templates=1"==window.location.hash&&(window.location.hash="",xr.open(wp.element.createElement(Cp,null))),!1===document.body.classList.contains("wp-admin")&&xr.open(wp.element.createElement(Cp,null)),Object(a.render)(wp.element.createElement(gd,null),t),Object(a.render)(wp.element.createElement(Em,null),e),(()=>{try{let e=localStorage.getItem("block_data");if(!e||null==e)return;if(e=JSON.parse(e),!e||null==e||e.length<1)return;e=e.filter(e=>e.name&&e.attributes&&e.innerBlocks).map(e=>{if(e.name&&e.attributes&&e.innerBlocks)return co(e.name,e.attributes,e.innerBlocks)}),e.length>0&&(uo(e),mo("Template inserted",{type:"snackbar"}));let t=localStorage.getItem("importing_data");if(!t||null==t)return;t=JSON.parse(t),no(t,e),localStorage.setItem("block_data",null),localStorage.setItem("importing_data",null)}catch(e){alert(e.code+" : "+e.message)}})()},500)})},65:function(e,t){e.exports=wp.blockEditor}});