Version Description
- Updates German translations.
- Adds support for preview_post_link filter.
- Bug fixes in WPML integration (thanks to Timothee Moulin).
- Fixes issue where menu options where still available under the quick edit and bulk edit forms if the menu sync was disabled completely.
- Fixes issue where "Hide in Nested View" option was still available under the bulk edit form if the field was disabled through the plugin settings.
- Links full page editor admin back to nested view if the "replace menu" option is selected for the post type.
- Removes trash dropdown selection on posts with no children.
- Adds option to include private pages in the generated menu.
- Allows users with edit_pages/edit_posts capabilities to see "new" options for submitting non-published content (following core functionality).
Download this release
Release Info
Developer | kylephillips |
Plugin | Nested Pages |
Version | 3.1.10 |
Comparing to | |
See all releases |
Code changes from version 3.1.9 to 3.1.10
- app/Config/SettingsRepository.php +10 -0
- app/Entities/AdminMenu/AdminMenu.php +2 -0
- app/Entities/AdminMenu/BlockEditorLink.php +60 -0
- app/Entities/Listing/Listing.php +4 -4
- app/Entities/NavMenu/NavMenuFrontEnd.php +11 -0
- app/Entities/NavMenu/NavMenuSync.php +8 -0
- app/Entities/NavMenu/NavMenuSyncListing.php +9 -1
- app/Entities/PluginIntegration/WPML.php +14 -10
- app/Entities/Post/PostRepository.php +1 -1
- app/Entities/User/UserRepository.php +12 -0
- app/NestedPages.php +1 -1
- app/Views/forms/quickedit-post.php +1 -3
- app/Views/listing.php +3 -3
- app/Views/partials/bulk-edit.php +4 -2
- app/Views/partials/row.php +26 -7
- app/Views/settings/settings-general.php +176 -136
- app/Views/settings/settings.php +8 -4
- assets/css/nestedpages.css +1 -1
- assets/js/nestedpages.min.js +1 -1
- languages/wp-nested-pages-de_DE.mo +0 -0
- languages/wp-nested-pages-de_DE.po +1171 -616
- nestedpages.php +1 -1
- readme.txt +11 -0
app/Config/SettingsRepository.php
CHANGED
@@ -58,6 +58,16 @@ class SettingsRepository
|
|
58 |
return apply_filters('nestedpages_menu_autosync_enabled', $enabled);
|
59 |
}
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
/**
|
62 |
* Is AJAX page order disabled?
|
63 |
*/
|
58 |
return apply_filters('nestedpages_menu_autosync_enabled', $enabled);
|
59 |
}
|
60 |
|
61 |
+
/**
|
62 |
+
* Are private pages viewable in the menu
|
63 |
+
*/
|
64 |
+
public function privateMenuEnabled()
|
65 |
+
{
|
66 |
+
$option = get_option('nestedpages_ui', false);
|
67 |
+
$enabled = ( $option && isset($option['include_private']) && $option['include_private'] == 'true' ) ? true : false;
|
68 |
+
return apply_filters('nestedpages_menu_private_enabled', $enabled);
|
69 |
+
}
|
70 |
+
|
71 |
/**
|
72 |
* Is AJAX page order disabled?
|
73 |
*/
|
app/Entities/AdminMenu/AdminMenu.php
CHANGED
@@ -3,6 +3,7 @@ namespace NestedPages\Entities\AdminMenu;
|
|
3 |
|
4 |
use NestedPages\Entities\AdminMenu\EnabledMenus;
|
5 |
use NestedPages\Entities\AdminMenu\AdminSubmenuExpander;
|
|
|
6 |
|
7 |
/**
|
8 |
* Admin Menus
|
@@ -30,5 +31,6 @@ class AdminMenu
|
|
30 |
public function expandSubMenus()
|
31 |
{
|
32 |
new AdminSubmenuExpander;
|
|
|
33 |
}
|
34 |
}
|
3 |
|
4 |
use NestedPages\Entities\AdminMenu\EnabledMenus;
|
5 |
use NestedPages\Entities\AdminMenu\AdminSubmenuExpander;
|
6 |
+
use NestedPages\Entities\AdminMenu\BlockEditorLink;
|
7 |
|
8 |
/**
|
9 |
* Admin Menus
|
31 |
public function expandSubMenus()
|
32 |
{
|
33 |
new AdminSubmenuExpander;
|
34 |
+
new BlockEditorLink;
|
35 |
}
|
36 |
}
|
app/Entities/AdminMenu/BlockEditorLink.php
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace NestedPages\Entities\AdminMenu;
|
3 |
+
|
4 |
+
use NestedPages\Entities\PostType\PostTypeRepository;
|
5 |
+
use NestedPages\Entities\User\UserRepository;
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Replace the "Pages" link in the block editor if the plugin is set to override the menu link
|
9 |
+
*/
|
10 |
+
class BlockEditorLink
|
11 |
+
{
|
12 |
+
/**
|
13 |
+
* Current Admin Page/Screen Object
|
14 |
+
*/
|
15 |
+
private $page;
|
16 |
+
|
17 |
+
/**
|
18 |
+
* User Repository
|
19 |
+
*/
|
20 |
+
private $user;
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Post Type Repository
|
24 |
+
*/
|
25 |
+
private $post_type_repo;
|
26 |
+
|
27 |
+
public function __construct()
|
28 |
+
{
|
29 |
+
$this->post_type_repo = new PostTypeRepository;
|
30 |
+
$this->user = new UserRepository;
|
31 |
+
$this->page = get_current_screen();
|
32 |
+
if ( !$this->page ) return;
|
33 |
+
$this->loopPostTypes();
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Loop through all the enabled post types
|
38 |
+
* Skip if "Replace Menu" is not enabled
|
39 |
+
*/
|
40 |
+
private function loopPostTypes()
|
41 |
+
{
|
42 |
+
foreach($this->post_type_repo->getPostTypesObject() as $type){
|
43 |
+
if ( !$type->replace_menu ) continue;
|
44 |
+
$this->fullPageEditorLink($type);
|
45 |
+
}
|
46 |
+
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Full Page Editor Link back to parent listing
|
50 |
+
*/
|
51 |
+
private function fullPageEditorLink($type)
|
52 |
+
{
|
53 |
+
if ( $this->page->id !== $type->name ) return;
|
54 |
+
$user_can_view = apply_filters("nestedpages_sort_view_$type->name", $this->user->canViewSorting($type->name), $this->user->getRoles());
|
55 |
+
if ( !$user_can_view ) return;
|
56 |
+
$link = ( $type->name == 'page' ) ? 'admin.php?page=nestedpages' : 'admin.php?page=' . $this->post_type_repo->getMenuSlug($type);
|
57 |
+
$url = admin_url($link);
|
58 |
+
echo '<script>jQuery(window).on("load", function(){ var headerLink = jQuery(".edit-post-header .edit-post-fullscreen-mode-close"); jQuery(headerLink).attr("href", "' . $url . '"); });</script>';
|
59 |
+
}
|
60 |
+
}
|
app/Entities/Listing/Listing.php
CHANGED
@@ -225,8 +225,8 @@ class Listing
|
|
225 |
$out = '';
|
226 |
$post_states = [];
|
227 |
if ( !$assigned_pt ) {
|
228 |
-
if ( $this->post->id == get_option('page_on_front') ) $post_states['page_on_front'] = __('Front Page', 'wp-nested-pages');
|
229 |
-
if ( $this->post->id == get_option('page_for_posts') ) $post_states['page_for_posts'] = __('Posts Page', 'wp-nested-pages');
|
230 |
}
|
231 |
$post_states = apply_filters('display_post_states', $post_states, $this->post);
|
232 |
if ( empty($post_states) ) return $out;
|
@@ -234,8 +234,8 @@ class Listing
|
|
234 |
$i = 0;
|
235 |
foreach ( $post_states as $state ) {
|
236 |
++$i;
|
237 |
-
( $i == $state_count ) ? $sep = '' : $sep = ',
|
238 |
-
$out .= " <em class='np-page-type'><strong
|
239 |
}
|
240 |
return $out;
|
241 |
}
|
225 |
$out = '';
|
226 |
$post_states = [];
|
227 |
if ( !$assigned_pt ) {
|
228 |
+
if ( $this->post->id == get_option('page_on_front') ) $post_states['page_on_front'] = '– ' . __('Front Page', 'wp-nested-pages');
|
229 |
+
if ( $this->post->id == get_option('page_for_posts') ) $post_states['page_for_posts'] = '– ' . __('Posts Page', 'wp-nested-pages');
|
230 |
}
|
231 |
$post_states = apply_filters('display_post_states', $post_states, $this->post);
|
232 |
if ( empty($post_states) ) return $out;
|
234 |
$i = 0;
|
235 |
foreach ( $post_states as $state ) {
|
236 |
++$i;
|
237 |
+
( $i == $state_count ) ? $sep = '' : $sep = ',';
|
238 |
+
$out .= " <em class='np-page-type'><strong>$state</strong>$sep</em>";
|
239 |
}
|
240 |
return $out;
|
241 |
}
|
app/Entities/NavMenu/NavMenuFrontEnd.php
CHANGED
@@ -17,6 +17,7 @@ class NavMenuFrontEnd
|
|
17 |
{
|
18 |
$this->nav_menu_repo = new NavMenuRepository;
|
19 |
add_filter('nav_menu_link_attributes', [$this, 'attributeFilter'], 10, 3);
|
|
|
20 |
}
|
21 |
|
22 |
/**
|
@@ -37,4 +38,14 @@ class NavMenuFrontEnd
|
|
37 |
|
38 |
return $atts;
|
39 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
}
|
17 |
{
|
18 |
$this->nav_menu_repo = new NavMenuRepository;
|
19 |
add_filter('nav_menu_link_attributes', [$this, 'attributeFilter'], 10, 3);
|
20 |
+
add_filter('nav_menu_item_args', [$this, 'removePrivateItems'], 10, 3);
|
21 |
}
|
22 |
|
23 |
/**
|
38 |
|
39 |
return $atts;
|
40 |
}
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Remove Private Items from the menu
|
44 |
+
*/
|
45 |
+
public function removePrivateItems($args, $item, $depth)
|
46 |
+
{
|
47 |
+
// $status = get_post_status($item->object_id);
|
48 |
+
// if ( $status && $status == 'private' ) $item->post_status = 'private';
|
49 |
+
return $args;
|
50 |
+
}
|
51 |
}
|
app/Entities/NavMenu/NavMenuSync.php
CHANGED
@@ -3,6 +3,7 @@ namespace NestedPages\Entities\NavMenu;
|
|
3 |
|
4 |
use NestedPages\Entities\NavMenu\NavMenuRepository;
|
5 |
use NestedPages\Entities\PluginIntegration\IntegrationFactory;
|
|
|
6 |
|
7 |
/**
|
8 |
* Base Nav Menu Sync class
|
@@ -21,6 +22,12 @@ abstract class NavMenuSync
|
|
21 |
*/
|
22 |
protected $id;
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
/**
|
25 |
* Plugin Integrations
|
26 |
* @var object
|
@@ -31,6 +38,7 @@ abstract class NavMenuSync
|
|
31 |
{
|
32 |
$this->nav_menu_repo = new NavMenuRepository;
|
33 |
$this->integrations = new IntegrationFactory;
|
|
|
34 |
$this->setMenuID();
|
35 |
}
|
36 |
|
3 |
|
4 |
use NestedPages\Entities\NavMenu\NavMenuRepository;
|
5 |
use NestedPages\Entities\PluginIntegration\IntegrationFactory;
|
6 |
+
use NestedPages\Config\SettingsRepository;
|
7 |
|
8 |
/**
|
9 |
* Base Nav Menu Sync class
|
22 |
*/
|
23 |
protected $id;
|
24 |
|
25 |
+
/**
|
26 |
+
* Settings Repository
|
27 |
+
* @var object
|
28 |
+
*/
|
29 |
+
protected $settings;
|
30 |
+
|
31 |
/**
|
32 |
* Plugin Integrations
|
33 |
* @var object
|
38 |
{
|
39 |
$this->nav_menu_repo = new NavMenuRepository;
|
40 |
$this->integrations = new IntegrationFactory;
|
41 |
+
$this->settings = new SettingsRepository;
|
42 |
$this->setMenuID();
|
43 |
}
|
44 |
|
app/Entities/NavMenu/NavMenuSyncListing.php
CHANGED
@@ -22,6 +22,12 @@ class NavMenuSyncListing extends NavMenuSync
|
|
22 |
*/
|
23 |
private $count = 0;
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
/**
|
26 |
* Post Data Factory
|
27 |
*/
|
@@ -30,6 +36,7 @@ class NavMenuSyncListing extends NavMenuSync
|
|
30 |
public function __construct()
|
31 |
{
|
32 |
parent::__construct();
|
|
|
33 |
$this->post_factory = new PostDataFactory;
|
34 |
}
|
35 |
|
@@ -71,7 +78,8 @@ class NavMenuSyncListing extends NavMenuSync
|
|
71 |
// Get the Menu Item
|
72 |
$query_type = ( $this->post->type == 'np-redirect' ) ? 'xfn' : 'object_id';
|
73 |
$menu_item_id = $this->nav_menu_repo->getMenuItem($this->post->id, $query_type);
|
74 |
-
if ( $this->post->nav_status == 'hide'
|
|
|
75 |
$menu = $this->syncMenuItem($menu_parent, $menu_item_id);
|
76 |
$this->sync( $this->post->id, $menu, $nest_level );
|
77 |
}
|
22 |
*/
|
23 |
private $count = 0;
|
24 |
|
25 |
+
/**
|
26 |
+
* Private Pages Sync
|
27 |
+
* @var bool
|
28 |
+
*/
|
29 |
+
private $private_enabled = false;
|
30 |
+
|
31 |
/**
|
32 |
* Post Data Factory
|
33 |
*/
|
36 |
public function __construct()
|
37 |
{
|
38 |
parent::__construct();
|
39 |
+
$this->private_enabled = $this->settings->privateMenuEnabled();
|
40 |
$this->post_factory = new PostDataFactory;
|
41 |
}
|
42 |
|
78 |
// Get the Menu Item
|
79 |
$query_type = ( $this->post->type == 'np-redirect' ) ? 'xfn' : 'object_id';
|
80 |
$menu_item_id = $this->nav_menu_repo->getMenuItem($this->post->id, $query_type);
|
81 |
+
if ( $this->post->nav_status == 'hide' ) return $this->removeItem($menu_item_id);
|
82 |
+
if ( $this->post->post_status !== 'publish' && !$this->private_enabled ) return $this->removeItem($menu_item_id);
|
83 |
$menu = $this->syncMenuItem($menu_parent, $menu_item_id);
|
84 |
$this->sync( $this->post->id, $menu, $nest_level );
|
85 |
}
|
app/Entities/PluginIntegration/WPML.php
CHANGED
@@ -115,12 +115,13 @@ class WPML
|
|
115 |
if ( $translation->language_code == $this->getDefaultLanguage() ) return $translation->element_id;
|
116 |
}
|
117 |
}
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
|
|
124 |
{
|
125 |
if ( $this->settings['sync_page_ordering'] !== 1 ) return;
|
126 |
global $wpdb;
|
@@ -128,11 +129,14 @@ class WPML
|
|
128 |
foreach ( $posts as $order => $post ) :
|
129 |
$translations = $this->getAllTranslations($post['id']);
|
130 |
foreach ( $translations as $lang_code => $post_info ) :
|
131 |
-
$
|
132 |
-
$
|
|
|
133 |
$wpdb->query( $query );
|
134 |
endforeach;
|
135 |
-
|
|
|
|
|
136 |
endforeach;
|
137 |
}
|
138 |
|
@@ -342,4 +346,4 @@ class WPML
|
|
342 |
$query = $wpdb->prepare("SELECT COUNT(*) FROM {$wpdb->prefix}posts AS p LEFT JOIN {$wpdb->prefix}icl_translations AS trans ON p.ID = trans.element_id WHERE post_type = %s AND p.post_status = 'publish' AND trans.language_code = %s", $post_type, $language);
|
343 |
return $wpdb->get_var($query);
|
344 |
}
|
345 |
-
}
|
115 |
if ( $translation->language_code == $this->getDefaultLanguage() ) return $translation->element_id;
|
116 |
}
|
117 |
}
|
118 |
+
|
119 |
+
/**
|
120 |
+
* Sync Post Order among translations
|
121 |
+
* @param array of posts with children
|
122 |
+
* @param int value of the parent ID
|
123 |
+
*/
|
124 |
+
public function syncPostOrder($posts, $post_parent = 0)
|
125 |
{
|
126 |
if ( $this->settings['sync_page_ordering'] !== 1 ) return;
|
127 |
global $wpdb;
|
129 |
foreach ( $posts as $order => $post ) :
|
130 |
$translations = $this->getAllTranslations($post['id']);
|
131 |
foreach ( $translations as $lang_code => $post_info ) :
|
132 |
+
$translation_post_id = $post_info->element_id;
|
133 |
+
$translated_parent = $this->getAllTranslations($post_parent)[$lang_code]->element_id;
|
134 |
+
$query = "UPDATE $wpdb->posts SET menu_order = '$order', post_parent = '$translated_parent' WHERE ID = '$translation_post_id'";
|
135 |
$wpdb->query( $query );
|
136 |
endforeach;
|
137 |
+
if (isset($post['children'])) :
|
138 |
+
$this->syncPostOrder($post['children'], $post['id']);
|
139 |
+
endif;
|
140 |
endforeach;
|
141 |
}
|
142 |
|
346 |
$query = $wpdb->prepare("SELECT COUNT(*) FROM {$wpdb->prefix}posts AS p LEFT JOIN {$wpdb->prefix}icl_translations AS trans ON p.ID = trans.element_id WHERE post_type = %s AND p.post_status = 'publish' AND trans.language_code = %s", $post_type, $language);
|
347 |
return $wpdb->get_var($query);
|
348 |
}
|
349 |
+
}
|
app/Entities/Post/PostRepository.php
CHANGED
@@ -166,7 +166,7 @@ class PostRepository
|
|
166 |
public function getAllTerms($post_id)
|
167 |
{
|
168 |
global $wpdb;
|
169 |
-
$query = $wpdb->prepare("SELECT p.post_title, tr.term_taxonomy_id AS tax_id, t.slug AS term_name, tt.taxonomy AS tax_name, tt.term_id AS term_id FROM {$wpdb->prefix}posts AS p
|
170 |
return $wpdb->get_results($query);
|
171 |
}
|
172 |
|
166 |
public function getAllTerms($post_id)
|
167 |
{
|
168 |
global $wpdb;
|
169 |
+
$query = $wpdb->prepare("SELECT p.post_title, tr.term_taxonomy_id AS tax_id, t.slug AS term_name, tt.taxonomy AS tax_name, tt.term_id AS term_id FROM {$wpdb->prefix}posts AS p INNER JOIN {$wpdb->prefix}term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN {$wpdb->prefix}terms AS t ON t.term_id = tr.term_taxonomy_id LEFT JOIN {$wpdb->prefix}term_taxonomy AS tt ON tt.term_taxonomy_id = tr.term_taxonomy_id WHERE p.ID = %s", $post_id);
|
170 |
return $wpdb->get_results($query);
|
171 |
}
|
172 |
|
app/Entities/User/UserRepository.php
CHANGED
@@ -148,6 +148,18 @@ class UserRepository
|
|
148 |
return false;
|
149 |
}
|
150 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
/**
|
152 |
* Get an array of all users/ids
|
153 |
* @since 1.3.0
|
148 |
return false;
|
149 |
}
|
150 |
|
151 |
+
/**
|
152 |
+
* Can the user add new posts for review?
|
153 |
+
*/
|
154 |
+
public function canSubmitPending($post_type = 'post')
|
155 |
+
{
|
156 |
+
if ( $post_type == 'page' ) {
|
157 |
+
return ( current_user_can('edit_pages') ) ? true : false;
|
158 |
+
}
|
159 |
+
if ( current_user_can('edit_posts') ) return true;
|
160 |
+
return false;
|
161 |
+
}
|
162 |
+
|
163 |
/**
|
164 |
* Get an array of all users/ids
|
165 |
* @since 1.3.0
|
app/NestedPages.php
CHANGED
@@ -12,7 +12,7 @@ class NestedPages
|
|
12 |
$np_env = 'live';
|
13 |
|
14 |
global $np_version;
|
15 |
-
$np_version = '3.1.
|
16 |
|
17 |
if ( is_admin() ) $app = new NestedPages\Bootstrap;
|
18 |
if ( !is_admin() ) $app = new NestedPages\FrontEndBootstrap;
|
12 |
$np_env = 'live';
|
13 |
|
14 |
global $np_version;
|
15 |
+
$np_version = '3.1.10';
|
16 |
|
17 |
if ( is_admin() ) $app = new NestedPages\Bootstrap;
|
18 |
if ( !is_admin() ) $app = new NestedPages\FrontEndBootstrap;
|
app/Views/forms/quickedit-post.php
CHANGED
@@ -9,7 +9,7 @@ if ( !$this->integrations->plugins->wpml->installed ) $wpml_pages = true;
|
|
9 |
|
10 |
$has_taxonomies = ( !empty($this->h_taxonomies) || !empty($this->f_taxonomies) ) ? true : false;
|
11 |
$has_taxonomies = ( $has_taxonomies && !array_key_exists('hide_taxonomies', $this->disabled_standard_fields) ) ? true : false;
|
12 |
-
$has_menu_options = ( $this->user->canSortPosts($this->post_type->name) && $this->post_type->name == 'page' && !$this->listing_repo->isSearch() && !array_key_exists('menu_options', $this->disabled_standard_fields) && $wpml_pages ) ? true : false;
|
13 |
?>
|
14 |
|
15 |
<form method="get" action="">
|
@@ -17,7 +17,6 @@ $has_menu_options = ( $this->user->canSortPosts($this->post_type->name) && $this
|
|
17 |
<div class="header <?php if ( !$has_taxonomies && $this->post_type->name !== 'page' ) echo 'no-tabs'; ?>">
|
18 |
<h3><?php _e('Quick Edit', 'wp-nested-pages'); ?><span class="page_id"></span></h3>
|
19 |
<div class="np-quickedit-error" style="clear:both;display:none;"></div>
|
20 |
-
<?php if ( $has_taxonomies || $has_menu_options ) : ?>
|
21 |
<ul class="np-tabs">
|
22 |
<li class="active"><a href="#" data-np-tab-group="quick-edit" data-np-tab-toggle="post-info"><?php echo esc_html__($this->post_type->labels->singular_name); ?></a></li>
|
23 |
<?php if ( $has_taxonomies ) : ?>
|
@@ -27,7 +26,6 @@ $has_menu_options = ( $this->user->canSortPosts($this->post_type->name) && $this
|
|
27 |
<li><a href="#" data-np-tab-group="quick-edit" data-np-tab-toggle="menu-options"><?php echo __('Menu Options', 'wp-nested-pages'); ?></a></li>
|
28 |
<?php endif; ?>
|
29 |
</ul>
|
30 |
-
<?php endif; ?>
|
31 |
</div>
|
32 |
|
33 |
<div class="form-interior">
|
9 |
|
10 |
$has_taxonomies = ( !empty($this->h_taxonomies) || !empty($this->f_taxonomies) ) ? true : false;
|
11 |
$has_taxonomies = ( $has_taxonomies && !array_key_exists('hide_taxonomies', $this->disabled_standard_fields) ) ? true : false;
|
12 |
+
$has_menu_options = ( $this->user->canSortPosts($this->post_type->name) && $this->post_type->name == 'page' && !$this->listing_repo->isSearch() && !array_key_exists('menu_options', $this->disabled_standard_fields) && $wpml_pages && !$this->settings->menusDisabled() ) ? true : false;
|
13 |
?>
|
14 |
|
15 |
<form method="get" action="">
|
17 |
<div class="header <?php if ( !$has_taxonomies && $this->post_type->name !== 'page' ) echo 'no-tabs'; ?>">
|
18 |
<h3><?php _e('Quick Edit', 'wp-nested-pages'); ?><span class="page_id"></span></h3>
|
19 |
<div class="np-quickedit-error" style="clear:both;display:none;"></div>
|
|
|
20 |
<ul class="np-tabs">
|
21 |
<li class="active"><a href="#" data-np-tab-group="quick-edit" data-np-tab-toggle="post-info"><?php echo esc_html__($this->post_type->labels->singular_name); ?></a></li>
|
22 |
<?php if ( $has_taxonomies ) : ?>
|
26 |
<li><a href="#" data-np-tab-group="quick-edit" data-np-tab-toggle="menu-options"><?php echo __('Menu Options', 'wp-nested-pages'); ?></a></li>
|
27 |
<?php endif; ?>
|
28 |
</ul>
|
|
|
29 |
</div>
|
30 |
|
31 |
<div class="form-interior">
|
app/Views/listing.php
CHANGED
@@ -13,13 +13,13 @@ endif;
|
|
13 |
<?php echo apply_filters('nestedpages_page_title', esc_html__($this->post_type->labels->name), $this->post_type); ?>
|
14 |
</h1>
|
15 |
|
16 |
-
<?php if ( $this->user->canPublish($this->post_type->name) ) : ?>
|
17 |
<a href="<?php echo $this->post_type_repo->addNewPostLink($this->post_type->name); ?>" class="page-title-action">
|
18 |
<?php echo apply_filters('nestedpages_add_new_text', esc_html__($this->post_type->labels->add_new), $this->post_type); ?>
|
19 |
</a>
|
20 |
<?php endif; ?>
|
21 |
|
22 |
-
<?php if ( $this->user->canPublish($this->post_type->name) && !$this->listing_repo->isSearch() && $wpml_pages ) : ?>
|
23 |
<a href="#" class="open-bulk-modal page-title-action" title="<?php _e('Add Multiple', 'wp-nested-pages'); ?>" data-parentid="0" data-nestedpages-modal-toggle="np-bulk-modal">
|
24 |
<?php echo apply_filters('nestedpages_add_multiple_text', esc_html__('Add Multiple', 'wp-nested-pages'), $this->post_type); ?>
|
25 |
</a>
|
@@ -105,7 +105,7 @@ endif;
|
|
105 |
</div>
|
106 |
<?php endif; ?>
|
107 |
|
108 |
-
<?php if ( $this->user->canPublish($this->post_type->name) ) : ?>
|
109 |
<div class="new-child new-child-form np-inline-modal" style="display:none;">
|
110 |
<?php include( NestedPages\Helpers::view('forms/new-child') ); ?>
|
111 |
</div>
|
13 |
<?php echo apply_filters('nestedpages_page_title', esc_html__($this->post_type->labels->name), $this->post_type); ?>
|
14 |
</h1>
|
15 |
|
16 |
+
<?php if ( $this->user->canPublish($this->post_type->name) || $this->user->canSubmitPending($this->post_type->name) ) : ?>
|
17 |
<a href="<?php echo $this->post_type_repo->addNewPostLink($this->post_type->name); ?>" class="page-title-action">
|
18 |
<?php echo apply_filters('nestedpages_add_new_text', esc_html__($this->post_type->labels->add_new), $this->post_type); ?>
|
19 |
</a>
|
20 |
<?php endif; ?>
|
21 |
|
22 |
+
<?php if ( ($this->user->canPublish($this->post_type->name) || $this->user->canSubmitPending($this->post_type->name)) && !$this->listing_repo->isSearch() && $wpml_pages ) : ?>
|
23 |
<a href="#" class="open-bulk-modal page-title-action" title="<?php _e('Add Multiple', 'wp-nested-pages'); ?>" data-parentid="0" data-nestedpages-modal-toggle="np-bulk-modal">
|
24 |
<?php echo apply_filters('nestedpages_add_multiple_text', esc_html__('Add Multiple', 'wp-nested-pages'), $this->post_type); ?>
|
25 |
</a>
|
105 |
</div>
|
106 |
<?php endif; ?>
|
107 |
|
108 |
+
<?php if ( $this->user->canPublish($this->post_type->name) || $this->user->canSubmitPending($this->post_type->name) ) : ?>
|
109 |
<div class="new-child new-child-form np-inline-modal" style="display:none;">
|
110 |
<?php include( NestedPages\Helpers::view('forms/new-child') ); ?>
|
111 |
</div>
|
app/Views/partials/bulk-edit.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
$post_type_object = get_post_type_object( $this->post_type->name );
|
3 |
$can_publish = current_user_can( $post_type_object->cap->publish_posts );
|
|
|
|
|
4 |
?>
|
5 |
<form data-np-bulk-edit-form class="nestedpages-bulk-edit" action="<?php echo admin_url('admin-post.php'); ?>" method="post">
|
6 |
<input type="hidden" name="action" value="npBulkEdit">
|
@@ -93,7 +95,7 @@
|
|
93 |
</select>
|
94 |
</div>
|
95 |
|
96 |
-
<?php if ( current_user_can('edit_theme_options') ) : ?>
|
97 |
<div class="form-control">
|
98 |
<label><?php _e( 'Display in Nested View', 'wp-nested-pages' ); ?></label>
|
99 |
<select name="nested_pages_status">
|
@@ -103,7 +105,7 @@
|
|
103 |
</select>
|
104 |
</div>
|
105 |
|
106 |
-
<?php if ( $this->user->canSortPosts($this->post_type->name) && $
|
107 |
<div class="form-control">
|
108 |
<label><?php _e( 'Hide in Nav Menu', 'wp-nested-pages' ); ?></label>
|
109 |
<select name="nav_status">
|
1 |
<?php
|
2 |
$post_type_object = get_post_type_object( $this->post_type->name );
|
3 |
$can_publish = current_user_can( $post_type_object->cap->publish_posts );
|
4 |
+
$wpml_pages = ( $this->integrations->plugins->wpml->installed && $this->integrations->plugins->wpml->isDefaultLanguage()) ? true : false;
|
5 |
+
$has_menu_options = ( $this->user->canSortPosts($this->post_type->name) && $this->post_type->name == 'page' && !$this->listing_repo->isSearch() && !$this->settings->menusDisabled() ) ? true : false;
|
6 |
?>
|
7 |
<form data-np-bulk-edit-form class="nestedpages-bulk-edit" action="<?php echo admin_url('admin-post.php'); ?>" method="post">
|
8 |
<input type="hidden" name="action" value="npBulkEdit">
|
95 |
</select>
|
96 |
</div>
|
97 |
|
98 |
+
<?php if ( current_user_can('edit_theme_options') && !array_key_exists('hide_in_np', $this->disabled_standard_fields) ) : ?>
|
99 |
<div class="form-control">
|
100 |
<label><?php _e( 'Display in Nested View', 'wp-nested-pages' ); ?></label>
|
101 |
<select name="nested_pages_status">
|
105 |
</select>
|
106 |
</div>
|
107 |
|
108 |
+
<?php if ( $this->user->canSortPosts($this->post_type->name) && $has_menu_options ) : ?>
|
109 |
<div class="form-control">
|
110 |
<label><?php _e( 'Hide in Nav Menu', 'wp-nested-pages' ); ?></label>
|
111 |
<select name="nav_status">
|
app/Views/partials/row.php
CHANGED
@@ -136,7 +136,7 @@ if ( !$wpml ) $wpml_pages = true;
|
|
136 |
$include_link_dropdown = ( $this->post_type->name == 'page' ) ? true : false;
|
137 |
$include_link_dropdown = apply_filters('nestedpages_include_links_dropdown', $include_link_dropdown, $this->post_type);
|
138 |
|
139 |
-
if ( current_user_can('publish_pages') && $this->post_type->hierarchical && !$this->listing_repo->isSearch() && $wpml_pages ) :
|
140 |
|
141 |
// Link
|
142 |
if ( !$this->settings->menusDisabled() && !$this->integrations->plugins->wpml->installed && in_array('add_child_link', $this->post_type_settings->row_actions) && $include_link_dropdown ) : ?>
|
@@ -157,7 +157,7 @@ if ( !$wpml ) $wpml_pages = true;
|
|
157 |
|
158 |
<?php endif; ?>
|
159 |
|
160 |
-
<?php if ( current_user_can('publish_pages') && !$this->listing_repo->isSearch() && !$this->listing_repo->isOrdered($this->post_type->name) ) : ?>
|
161 |
|
162 |
<?php if ( in_array('insert_before', $this->post_type_settings->row_actions) ) : ?>
|
163 |
<li>
|
@@ -257,14 +257,33 @@ if ( !$wpml ) $wpml_pages = true;
|
|
257 |
</a>
|
258 |
<?php endif; endif; ?>
|
259 |
|
260 |
-
<?php
|
261 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
<?php echo apply_filters('nestedpages_view_link_text', __('View', 'wp-nested-pages'), $this->post); ?>
|
263 |
</a>
|
264 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
265 |
|
266 |
<?php if ( current_user_can('delete_pages') && $this->integrations->plugins->editorial_access_manager->hasAccess($this->post->id) && in_array('trash', $this->post_type_settings->row_actions) ) : ?>
|
267 |
-
<?php if ( $this->post_type->hierarchical ) : ?>
|
268 |
<div class="nestedpages-dropdown" data-dropdown>
|
269 |
<a href="#" class="np-btn np-btn-trash" data-dropdown-toggle>
|
270 |
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="np-icon-remove"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" class="icon"/><path d="M0 0h24v24H0z" fill="none"/></svg>
|
@@ -279,7 +298,7 @@ if ( !$wpml ) $wpml_pages = true;
|
|
279 |
</li>
|
280 |
</ul>
|
281 |
</div>
|
282 |
-
<?php else :
|
283 |
<a href="<?php echo get_delete_post_link(get_the_id()); ?>" class="np-btn np-btn-trash"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" class="icon"/><path d="M0 0h24v24H0z" fill="none"/></svg></a>
|
284 |
<?php endif; ?>
|
285 |
<?php endif; ?>
|
136 |
$include_link_dropdown = ( $this->post_type->name == 'page' ) ? true : false;
|
137 |
$include_link_dropdown = apply_filters('nestedpages_include_links_dropdown', $include_link_dropdown, $this->post_type);
|
138 |
|
139 |
+
if ( (current_user_can('publish_pages') || $this->user->canSubmitPending($this->post_type->name)) && $this->post_type->hierarchical && !$this->listing_repo->isSearch() && $wpml_pages ) :
|
140 |
|
141 |
// Link
|
142 |
if ( !$this->settings->menusDisabled() && !$this->integrations->plugins->wpml->installed && in_array('add_child_link', $this->post_type_settings->row_actions) && $include_link_dropdown ) : ?>
|
157 |
|
158 |
<?php endif; ?>
|
159 |
|
160 |
+
<?php if ( (current_user_can('publish_pages') || $this->user->canSubmitPending($this->post_type->name) ) && !$this->listing_repo->isSearch() && !$this->listing_repo->isOrdered($this->post_type->name) ) : ?>
|
161 |
|
162 |
<?php if ( in_array('insert_before', $this->post_type_settings->row_actions) ) : ?>
|
163 |
<li>
|
257 |
</a>
|
258 |
<?php endif; endif; ?>
|
259 |
|
260 |
+
<?php
|
261 |
+
/**
|
262 |
+
* View/Preview Link
|
263 |
+
*/
|
264 |
+
if ( in_array('view', $this->post_type_settings->row_actions) ) :
|
265 |
+
if ( $this->post->status == 'publish' ) :
|
266 |
+
$link = apply_filters('nestedpages_view_link', get_the_permalink(), $this->post);
|
267 |
+
$link = ( $this->post_type->name == 'page' ) ? apply_filters('page_link', $link, $this->post) : apply_filters('post_link', $link, $this->post);
|
268 |
+
?>
|
269 |
+
<a href="<?php echo $link; ?>" class="np-btn np-view-button" target="_blank">
|
270 |
<?php echo apply_filters('nestedpages_view_link_text', __('View', 'wp-nested-pages'), $this->post); ?>
|
271 |
</a>
|
272 |
+
<?php
|
273 |
+
else :
|
274 |
+
$link = apply_filters('nestedpages_preview_link', get_the_permalink(), $this->post);
|
275 |
+
$link = apply_filters('preview_post_link', $link, $this->post);
|
276 |
+
?>
|
277 |
+
<a href="<?php echo $link; ?>" class="np-btn np-view-button" target="_blank">
|
278 |
+
<?php echo apply_filters('nestedpages_preview_link_text', __('Preview', 'wp-nested-pages'), $this->post); ?>
|
279 |
+
</a>
|
280 |
+
<?php
|
281 |
+
endif; // status
|
282 |
+
endif; // View in row actions
|
283 |
+
?>
|
284 |
|
285 |
<?php if ( current_user_can('delete_pages') && $this->integrations->plugins->editorial_access_manager->hasAccess($this->post->id) && in_array('trash', $this->post_type_settings->row_actions) ) : ?>
|
286 |
+
<?php if ( $this->post_type->hierarchical && $this->publishedChildrenCount($this->post) > 0 ) : ?>
|
287 |
<div class="nestedpages-dropdown" data-dropdown>
|
288 |
<a href="#" class="np-btn np-btn-trash" data-dropdown-toggle>
|
289 |
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="np-icon-remove"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" class="icon"/><path d="M0 0h24v24H0z" fill="none"/></svg>
|
298 |
</li>
|
299 |
</ul>
|
300 |
</div>
|
301 |
+
<?php else : ?>
|
302 |
<a href="<?php echo get_delete_post_link(get_the_id()); ?>" class="np-btn np-btn-trash"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" class="icon"/><path d="M0 0h24v24H0z" fill="none"/></svg></a>
|
303 |
<?php endif; ?>
|
304 |
<?php endif; ?>
|
app/Views/settings/settings-general.php
CHANGED
@@ -1,142 +1,182 @@
|
|
1 |
<?php
|
2 |
-
$allowsorting = get_option('nestedpages_allowsorting',
|
3 |
$allowsortview = $this->settings->sortViewEnabled();
|
4 |
-
if ( $allowsorting == "" ) $allowsorting =
|
5 |
$sync_status = ( $this->settings->menuSyncEnabled() ) ? __('Currently Enabled', 'wp-nested-pages') : __('Currently Disabled', 'wp-nested-pages');
|
6 |
-
settings_fields( 'nestedpages-general' );
|
7 |
?>
|
8 |
-
<
|
9 |
-
<
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
<
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
</
|
21 |
-
<?php endif; ?>
|
22 |
-
<tr valign="top">
|
23 |
-
<th scope="row"><?php _e('Display Options', 'wp-nested-pages'); ?></th>
|
24 |
-
<td>
|
25 |
-
<p>
|
26 |
-
<label>
|
27 |
-
<input type="checkbox" name="nestedpages_ui[datepicker]" value="true" <?php if ( $this->settings->datepickerEnabled() ) echo 'checked'; ?> />
|
28 |
-
<?php _e('Enable Date Picker in Quick Edit', 'wp-nested-pages'); ?>
|
29 |
-
</label>
|
30 |
-
</p>
|
31 |
-
<p>
|
32 |
-
<label>
|
33 |
-
<input type="checkbox" name="nestedpages_ui[non_indent]" value="true" <?php if ( $this->settings->nonIndentEnabled() ) echo 'checked'; ?> />
|
34 |
-
<?php _e('Use the classic (non-indented) hierarchy display.', 'wp-nested-pages'); ?>
|
35 |
-
</label>
|
36 |
-
</p>
|
37 |
-
</td>
|
38 |
-
</tr>
|
39 |
-
<tr valign="top">
|
40 |
-
<th scope="row"><?php _e('Menu Sync', 'wp-nested-pages'); ?></th>
|
41 |
-
<td>
|
42 |
-
<?php if ( !$this->settings->menusDisabled() ) : ?>
|
43 |
-
<p data-menu-enabled-option data-menu-hide-checkbox>
|
44 |
-
<label>
|
45 |
-
<input type="checkbox" name="nestedpages_ui[hide_menu_sync]" value="true" <?php if ( $this->settings->hideMenuSync() ) echo 'checked'; ?> />
|
46 |
-
<?php printf(__('Hide Menu Sync Checkbox (%s)', 'wp-nested-pages'), esc_html__($sync_status)); ?>
|
47 |
-
</label>
|
48 |
-
</p>
|
49 |
-
<?php endif; ?>
|
50 |
-
<p data-menu-enabled-option data-menu-disable-auto>
|
51 |
-
<label>
|
52 |
-
<input type="checkbox" name="nestedpages_ui[manual_menu_sync]" value="true" <?php if ( $this->settings->autoMenuDisabled() ) echo 'checked'; ?> data-menu-disable-auto-checkbox />
|
53 |
-
<?php _e('Manually sync menu.', 'wp-nested-pages'); ?>
|
54 |
-
</label>
|
55 |
-
</p>
|
56 |
-
<p>
|
57 |
-
<label>
|
58 |
-
<input type="checkbox" name="nestedpages_ui[manual_page_order_sync]" value="true" <?php if ( $this->settings->autoPageOrderDisabled() ) echo 'checked'; ?> />
|
59 |
-
<?php _e('Manually sync page order.', 'wp-nested-pages'); ?>
|
60 |
-
</label>
|
61 |
-
</p>
|
62 |
-
<p>
|
63 |
-
<label>
|
64 |
-
<input type="checkbox" name="nestedpages_disable_menu" value="true" <?php if ( $this->settings->menusDisabled() ) echo 'checked'; ?> data-disable-menu-checkbox />
|
65 |
-
<?php _e('Disable menu sync completely', 'wp-nested-pages'); ?>
|
66 |
-
</label>
|
67 |
-
</p>
|
68 |
-
</td>
|
69 |
-
</tr>
|
70 |
-
<tr valign="top">
|
71 |
-
<th scope="row" valign="top">
|
72 |
-
<?php _e('Allow Page Sorting', 'wp-nested-pages'); ?>
|
73 |
-
<p style="font-weight:normal;font-style:oblique; font-size:.9em"><?php _e('Page sorting capability is also controlled through the nestedpages_sorting_$type capability', 'wp-nested-pages'); ?></p>
|
74 |
-
</th>
|
75 |
-
<td valign="top">
|
76 |
-
<?php foreach ( $this->user_repo->allRoles() as $role ) : ?>
|
77 |
-
<label>
|
78 |
-
<input type="checkbox" name="nestedpages_allowsorting[]" value="<?php echo $role['name']; ?>" <?php if ( in_array($role['name'], $allowsorting) ) echo 'checked'; ?> >
|
79 |
-
<?php echo esc_html__($role['label']); ?>
|
80 |
-
</label>
|
81 |
-
<br />
|
82 |
-
<?php endforeach; ?>
|
83 |
-
<input type="hidden" name="nestedpages_menusync" value="<?php echo get_option('nestedpages_menusync'); ?>">
|
84 |
-
<p><em><?php _e('Admins always have sorting ability.', 'wp-nested-pages'); ?></em></p>
|
85 |
-
</td>
|
86 |
-
</tr>
|
87 |
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
if ( is_array($allowsortview) && in_array($role['name'], $allowsortview) ) $checked = true;
|
100 |
-
?>
|
101 |
-
<input type="checkbox" name="nestedpages_allowsortview[]" value="<?php echo $role['name']; ?>" <?php if ( $checked ) echo 'checked'; ?> >
|
102 |
-
<?php echo esc_html__($role['label']); ?>
|
103 |
-
</label>
|
104 |
-
<br />
|
105 |
-
<?php endforeach; ?>
|
106 |
-
<p><em><?php _e('Admins may always view the sort view.', 'wp-nested-pages'); ?></em></p>
|
107 |
-
</td>
|
108 |
-
</tr>
|
109 |
|
110 |
-
<
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
<
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<?php
|
2 |
+
$allowsorting = get_option('nestedpages_allowsorting', []);
|
3 |
$allowsortview = $this->settings->sortViewEnabled();
|
4 |
+
if ( $allowsorting == "" ) $allowsorting = [];
|
5 |
$sync_status = ( $this->settings->menuSyncEnabled() ) ? __('Currently Enabled', 'wp-nested-pages') : __('Currently Disabled', 'wp-nested-pages');
|
|
|
6 |
?>
|
7 |
+
<div class="nestedpages-settings-general-wrapper">
|
8 |
+
<div class="nestedpages-settings-table">
|
9 |
+
<form method="post" enctype="multipart/form-data" action="options.php">
|
10 |
+
<?php settings_fields( 'nestedpages-general' ); ?>
|
11 |
+
<div class="row-container">
|
12 |
+
<div class="row">
|
13 |
+
<div class="description">
|
14 |
+
<p><strong><?php _e('Nested Pages Version', 'wp-nested-pages'); ?></strong></p>
|
15 |
+
</div>
|
16 |
+
<div class="field">
|
17 |
+
<p><?php echo get_option('nestedpages_version'); ?></p>
|
18 |
+
</div>
|
19 |
+
</div><!-- .row -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
+
<?php if ( !$this->settings->menusDisabled() ) : ?>
|
22 |
+
<div class="row">
|
23 |
+
<div class="description">
|
24 |
+
<p><strong><?php _e('Menu Name', 'wp-nested-pages'); ?></strong></p>
|
25 |
+
<p><?php _e('Important: Once the menu name has changed, theme files should be updated to reference the new name.', 'wp-nested-pages'); ?></p>
|
26 |
+
</div>
|
27 |
+
<div class="field">
|
28 |
+
<input type="text" name="nestedpages_menu" id="nestedpages_menu" value="<?php echo $this->menu->name; ?>">
|
29 |
+
</div>
|
30 |
+
</div><!-- .row -->
|
31 |
+
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
+
<div class="row">
|
34 |
+
<div class="description">
|
35 |
+
<p><strong><?php _e('Display Options', 'wp-nested-pages'); ?></strong></p>
|
36 |
+
</div>
|
37 |
+
<div class="field">
|
38 |
+
<p><label>
|
39 |
+
<input type="checkbox" name="nestedpages_ui[datepicker]" value="true" <?php if ( $this->settings->datepickerEnabled() ) echo 'checked'; ?> />
|
40 |
+
<?php _e('Enable Date Picker in Quick Edit', 'wp-nested-pages'); ?>
|
41 |
+
</label></p>
|
42 |
+
<p><label>
|
43 |
+
<input type="checkbox" name="nestedpages_ui[non_indent]" value="true" <?php if ( $this->settings->nonIndentEnabled() ) echo 'checked'; ?> />
|
44 |
+
<?php _e('Use the classic (non-indented) hierarchy display.', 'wp-nested-pages'); ?>
|
45 |
+
</label></p>
|
46 |
+
</div>
|
47 |
+
</div><!-- .row -->
|
48 |
+
|
49 |
+
<div class="row">
|
50 |
+
<div class="description">
|
51 |
+
<p><strong><?php _e('Menu Sync', 'wp-nested-pages'); ?></strong></p>
|
52 |
+
</div>
|
53 |
+
<div class="field">
|
54 |
+
<?php if ( !$this->settings->menusDisabled() ) : ?>
|
55 |
+
<p data-menu-enabled-option data-menu-hide-checkbox>
|
56 |
+
<label>
|
57 |
+
<input type="checkbox" name="nestedpages_ui[hide_menu_sync]" value="true" <?php if ( $this->settings->hideMenuSync() ) echo 'checked'; ?> />
|
58 |
+
<?php printf(__('Hide Menu Sync Checkbox (%s)', 'wp-nested-pages'), esc_html__($sync_status)); ?>
|
59 |
+
</label>
|
60 |
+
</p>
|
61 |
+
<p data-menu-enabled-option data-menu-private>
|
62 |
+
<label>
|
63 |
+
<input type="checkbox" name="nestedpages_ui[include_private]" value="true" <?php if ( $this->settings->privateMenuEnabled() ) echo 'checked'; ?> />
|
64 |
+
<?php _e('Include private items in the menu.', 'wp-nested-pages'); ?>
|
65 |
+
</label>
|
66 |
+
</p>
|
67 |
+
<?php endif; ?>
|
68 |
+
<p data-menu-enabled-option data-menu-disable-auto>
|
69 |
+
<label>
|
70 |
+
<input type="checkbox" name="nestedpages_ui[manual_menu_sync]" value="true" <?php if ( $this->settings->autoMenuDisabled() ) echo 'checked'; ?> data-menu-disable-auto-checkbox />
|
71 |
+
<?php _e('Manually sync menu.', 'wp-nested-pages'); ?>
|
72 |
+
</label>
|
73 |
+
</p>
|
74 |
+
<p>
|
75 |
+
<label>
|
76 |
+
<input type="checkbox" name="nestedpages_ui[manual_page_order_sync]" value="true" <?php if ( $this->settings->autoPageOrderDisabled() ) echo 'checked'; ?> />
|
77 |
+
<?php _e('Manually sync page order.', 'wp-nested-pages'); ?>
|
78 |
+
</label>
|
79 |
+
</p>
|
80 |
+
<p>
|
81 |
+
<label>
|
82 |
+
<input type="checkbox" name="nestedpages_disable_menu" value="true" <?php if ( $this->settings->menusDisabled() ) echo 'checked'; ?> data-disable-menu-checkbox />
|
83 |
+
<?php _e('Disable menu sync completely', 'wp-nested-pages'); ?>
|
84 |
+
</label>
|
85 |
+
</p>
|
86 |
+
</div>
|
87 |
+
</div><!-- .row -->
|
88 |
+
|
89 |
+
<div class="row">
|
90 |
+
<div class="description">
|
91 |
+
<p><strong><?php _e('Allow Page Sorting', 'wp-nested-pages'); ?></strong></p>
|
92 |
+
<p><?php _e('Page sorting capability is also controlled through the nestedpages_sorting_$type capability', 'wp-nested-pages'); ?></p>
|
93 |
+
</div>
|
94 |
+
<div class="field">
|
95 |
+
<?php foreach ( $this->user_repo->allRoles() as $role ) : ?>
|
96 |
+
<label>
|
97 |
+
<input type="checkbox" name="nestedpages_allowsorting[]" value="<?php echo $role['name']; ?>" <?php if ( in_array($role['name'], $allowsorting) ) echo 'checked'; ?> >
|
98 |
+
<?php echo esc_html__($role['label']); ?>
|
99 |
+
</label>
|
100 |
+
<br />
|
101 |
+
<?php endforeach; ?>
|
102 |
+
<input type="hidden" name="nestedpages_menusync" value="<?php echo get_option('nestedpages_menusync'); ?>">
|
103 |
+
<p><em><?php _e('Admins always have sorting ability.', 'wp-nested-pages'); ?></em></p>
|
104 |
+
</div>
|
105 |
+
</div><!-- .row -->
|
106 |
+
|
107 |
+
<div class="row">
|
108 |
+
<div class="description">
|
109 |
+
<p><strong><?php _e('Allow Sort View', 'wp-nested-pages'); ?></strong></p>
|
110 |
+
<p><?php _e('Sort view access is also filterable through the nestedpages_sort_view_$type filter.', 'wp-nested-pages'); ?></p>
|
111 |
+
</div>
|
112 |
+
<div class="field">
|
113 |
+
<input type="hidden" name="nestedpages_allowsortview[]" value="<?php echo 'administrator'; ?>" >
|
114 |
+
<?php foreach ( $this->user_repo->allRoles(['Administrator']) as $role ) : ?>
|
115 |
+
<label>
|
116 |
+
<?php
|
117 |
+
$checked = false;
|
118 |
+
if ( !$allowsortview ) $checked = true;
|
119 |
+
if ( is_array($allowsortview) && in_array($role['name'], $allowsortview) ) $checked = true;
|
120 |
+
?>
|
121 |
+
<input type="checkbox" name="nestedpages_allowsortview[]" value="<?php echo $role['name']; ?>" <?php if ( $checked ) echo 'checked'; ?> >
|
122 |
+
<?php echo esc_html__($role['label']); ?>
|
123 |
+
</label>
|
124 |
+
<br />
|
125 |
+
<?php endforeach; ?>
|
126 |
+
<p><em><?php _e('Admins may always view the sort view.', 'wp-nested-pages'); ?></em></p>
|
127 |
+
</div>
|
128 |
+
</div><!-- .row -->
|
129 |
+
|
130 |
+
<div class="row">
|
131 |
+
<div class="description">
|
132 |
+
<p><strong><?php _e('Reset Plugin Settings', 'wp-nested-pages'); ?></strong></p>
|
133 |
+
<p><?php _e('Warning: Resetting plugin settings will remove all menu settings, post type customizations, role customizations and any other Nested Pages settings. These will be replaced with the default settings. This action cannot be undone.', 'wp-nested-pages'); ?></p>
|
134 |
+
</div>
|
135 |
+
<div class="field">
|
136 |
+
<p><button class="np-btn np-btn-trash" data-nestedpages-reset-settings><?php _e('Reset Nested Pages Settings', 'wp-nested-pages'); ?></button></p>
|
137 |
+
<div class="nestedpages-reset-settings-complete" style="display:none;">
|
138 |
+
<p><?php _e('Settings have been successfully reset.', 'wp-nested-pages'); ?></p>
|
139 |
+
</div>
|
140 |
+
</div>
|
141 |
+
</div><!-- .row -->
|
142 |
+
|
143 |
+
<div class="row">
|
144 |
+
<div class="description">
|
145 |
+
<p><strong><?php _e('Reset User Preferences', 'wp-nested-pages'); ?></strong></p>
|
146 |
+
<p><?php _e('Toggle states are saved for each user. This action will clear these preferences for all users. If PHP errors appear within the nested view after an update, this may help clear them.', 'wp-nested-pages'); ?></p>
|
147 |
+
</div>
|
148 |
+
<div class="field">
|
149 |
+
<div class="nestedpages-reset-user-prefs">
|
150 |
+
<p>
|
151 |
+
<button class="np-btn np-btn-trash" data-nestedpages-reset-user-prefs><?php _e('Reset User Preferences', 'wp-nested-pages'); ?></button>
|
152 |
+
</p>
|
153 |
+
</div>
|
154 |
+
<div class="nestedpages-reset-user-prefs-complete" style="display:none;">
|
155 |
+
<p><?php _e('User preferences have been successfully reset.', 'wp-nested-pages'); ?></p>
|
156 |
+
</div>
|
157 |
+
</div>
|
158 |
+
</div><!-- .row -->
|
159 |
+
<div class="row submit">
|
160 |
+
<?php submit_button(); ?>
|
161 |
+
</div>
|
162 |
+
</div><!-- .row-container -->
|
163 |
+
</form>
|
164 |
+
</div><!-- .nestedpages-settings-table -->
|
165 |
+
|
166 |
+
<div class="nestedpages-settings-support">
|
167 |
+
<div class="inner">
|
168 |
+
<h3><?php _e('Show Some Love!', 'wp-nested-pages'); ?></h3>
|
169 |
+
<h4><?php _e('Sponsor this Plugin', 'wp-nested-pages'); ?></h4>
|
170 |
+
<p><?php _e('You can help support the continued development and upkeep of this plugin by sponsoring on Github. Whether you are an individual using this on a side project, a business, or an agency using this plugin across multiple sites… every bit helps!', 'wp-nested-pages'); ?></p>
|
171 |
+
<p style="margin-bottom:0;"><a href="https://github.com/sponsors/kylephillips" target="_blank" class="support-button"><svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path class="heart" d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg><?php _e('Sponsor on Github', 'wp-nested-pages'); ?></a></p>
|
172 |
+
<p class="or"><?php _e('- or Donate through Paypal -', 'wp-nested-pages'); ?></p>
|
173 |
+
<form class="paypal-form" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
174 |
+
<input type="hidden" name="cmd" value="_s-xclick" />
|
175 |
+
<input type="hidden" name="hosted_button_id" value="CDX8VVMMMMLAU" />
|
176 |
+
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
|
177 |
+
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
|
178 |
+
</form>
|
179 |
+
</div><!-- .inner -->
|
180 |
+
</div><!-- .nestedpages-settings-table -->
|
181 |
+
|
182 |
+
</div><!-- .nestedpages-general-wrapper -->
|
app/Views/settings/settings.php
CHANGED
@@ -15,8 +15,12 @@
|
|
15 |
</a>
|
16 |
</h2>
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
|
|
|
|
|
|
22 |
</div><!-- .wrap -->
|
15 |
</a>
|
16 |
</h2>
|
17 |
|
18 |
+
<?php
|
19 |
+
if ( $tab !== 'general' ) echo '<form method="post" enctype="multipart/form-data" action="options.php">';
|
20 |
+
include(NestedPages\Helpers::view('settings/settings-' . $tab));
|
21 |
+
if ( $tab !== 'general' ) {
|
22 |
+
submit_button();
|
23 |
+
echo '</form>';
|
24 |
+
}
|
25 |
+
?>
|
26 |
</div><!-- .wrap -->
|
assets/css/nestedpages.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.np-btn{text-decoration:none;color:#555;display:inline-block;background-color:#f7f7f7;border:1px solid #e1e1e1;padding:5px 8px;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;vertical-align:top}.np-btn:hover{background-color:#0074a2;color:#fff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;border-color:#0074a2}.np-btn:disabled,.np-btn.disabled{opacity:.6;cursor:not-allowed}.np-btn.has-icon{padding:0}.np-btn-half{float:left;width:47%;padding:3px 0px;text-align:center}.np-btn-half.btn-right{float:right}.np-btn-trash{background-color:#e14d43;border-color:#e14d43;color:#fff}.np-btn-trash:hover{background-color:#ba281e;border-color:#ba281e}.np-quickedit-error{border-left:4px solid #dd3d36;padding:4px 0 4px 8px;margin-bottom:10px;background-color:#f9f9f9}.np-quickedit-info{border-left:4px solid #0074a2;padding:4px 0 4px 8px;margin-bottom:10px;background-color:#f9f9f9}.nestedpages-modal-backdrop{position:fixed;width:100%;height:100%;background-color:rgba(0,0,0,0.85);top:0;left:0;z-index:9999;visibility:hidden;opacity:0;-webkit-transition:all 500ms ease;-o-transition:all 500ms ease;transition:all 500ms ease}.nestedpages-modal-backdrop.active{visibility:visible;opacity:1;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.nestedpages-modal-content{z-index:99999;position:fixed;top:-200%;width:90%;height:80%;margin:10px auto 0px auto;background-color:#fff;left:5%;-webkit-transition:all 500ms ease;-o-transition:all 500ms ease;transition:all 500ms ease}.nestedpages-modal-content.small{width:400px;left:50%;margin-left:-200px}.nestedpages-modal-content.short{height:auto}.nestedpages-modal-content.active{top:50%;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.nestedpages-modal-content h5{font-size:1.1em}.nestedpages-modal-content .modal-body{position:relative;padding:10px}.nestedpages-modal-content .modal-body.new-child{padding:0}.nestedpages-modal-content .modal-footer{padding:10px;text-align:right;background-color:#404040;zoom:1}.nestedpages-modal-content .modal-footer:before,.nestedpages-modal-content .modal-footer:after{content:" ";display:table}.nestedpages-modal-content .modal-footer:after{clear:both}.nestedpages-modal-content .modal-footer .modal-close{float:left}.nestedpages-modal-content .modal-open .modal{overflow-x:hidden;overflow-y:auto}.nestedpages-modal-content .modal-content{position:relative;background-color:#fff;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);-webkit-background-clip:padding-box;background-clip:padding-box;outline:0}.nestedpages-modal-full{width:94%;height:94%;-webkit-transform:none;-ms-transform:none;transform:none;left:3%}.nestedpages-modal-full.active{top:3%}.nestedpages-modal-full .modal-header{position:absolute;top:0;left:0;width:100%;height:50px;z-index:4;zoom:1;padding-left:.5em}.nestedpages-modal-full .modal-header:before,.nestedpages-modal-full .modal-header:after{content:" ";display:table}.nestedpages-modal-full .modal-header:after{clear:both}.nestedpages-modal-full .modal-content-interior{padding-top:50px;height:100%}.nestedpages-modal-full .modal-content-interior .modal-content-body{height:100%;max-height:100%}.np-trash-modal{text-align:center}.np-trash-modal .modal-body{padding-bottom:30px}.np-trash-modal .button-primary{margin-left:10px}.clone-modal h3{margin:0;padding:8px;background-color:#e5e5e5}.clone-modal .form-control{margin:0 !important;padding:5px 10px}.np-inline-overlay{position:fixed;width:100%;height:100%;background-color:rgba(0,0,0,0.4);z-index:998;top:0;right:0;bottom:0;left:0;opacity:0;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease}.np-inline-overlay.active{opacity:1;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease}.np-inline-modal{position:relative;z-index:999;background-color:#fff;-webkit-border-radius:0;border-radius:0;-webkit-box-shadow:0px 0px 4px 0px rgba(0,0,0,0.5);box-shadow:0px 0px 4px 0px rgba(0,0,0,0.5)}.nestedpages-listing-title{zoom:1}.nestedpages-listing-title:before,.nestedpages-listing-title:after{content:" ";display:table}.nestedpages-listing-title:after{clear:both}.nestedpages .updated{clear:both}.nestedpages-toggleall.np-btn{float:right}.np-toggle-publish{color:#999}.np-toggle-publish.active{color:#333;font-weight:bold}.np-sync-menu-cont{float:right;margin:0px 15px 0px 0px}.np-sync-menu-cont button{position:relative;top:-5px;padding:5px 8px}.np-sync-menu-cont label{position:relative;top:4px}.nestedpages-top-toggles{float:right;zoom:1;padding-top:10px}.nestedpages-top-toggles:before,.nestedpages-top-toggles:after{content:" ";display:table}.nestedpages-top-toggles:after{clear:both}.np-tab-pane{display:none}.ul.np-tabs,.nestedpages ul.np-tabs{background:transparent;text-align:left;list-style-type:none;margin:0;padding:0;border-bottom:1px solid #ccc;margin-bottom:10px;font-size:0;line-height:0}.ul.np-tabs li,.nestedpages ul.np-tabs li{font-size:13px;line-height:1.4em;display:inline-block;margin:0 0 0 6px;border:0}.ul.np-tabs li a,.nestedpages ul.np-tabs li a{background-color:#e6e6e6;display:block;text-decoration:none;padding:8px 15px;color:#333;border:1px solid #ccc;border-bottom:0}.ul.np-tabs li a:hover,.nestedpages ul.np-tabs li a:hover{background-color:#fff}.ul.np-tabs li a:focus,.ul.np-tabs li a:active,.nestedpages ul.np-tabs li a:focus,.nestedpages ul.np-tabs li a:active{outline:none;-webkit-box-shadow:none;box-shadow:none}.ul.np-tabs li.active a,.nestedpages ul.np-tabs li.active a{font-weight:bold;position:relative;color:#333;background-color:#fff}.ul.np-tabs li.active a:after,.nestedpages ul.np-tabs li.active a:after{position:absolute;width:100%;height:2px;content:'';background-color:#fff;left:0;bottom:-1px}.nestedpages-datepicker.ui-datepicker{background-color:#fff;font-size:90%;-webkit-box-shadow:0px 0px 3px 0px rgba(0,0,0,0.4);box-shadow:0px 0px 3px 0px rgba(0,0,0,0.4);-webkit-border-radius:3px;border-radius:3px;padding:0;width:auto}.nestedpages-datepicker.ui-datepicker .ui-datepicker-next,.nestedpages-datepicker.ui-datepicker .ui-datepicker-prev{position:absolute;color:#fff;top:0px;right:0px;cursor:pointer;display:block;width:35px;height:35px;font-size:0;background:url("../images/datepicker-arrow-next.png");background-position:center;opacity:1;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease}.nestedpages-datepicker.ui-datepicker .ui-datepicker-next:hover,.nestedpages-datepicker.ui-datepicker .ui-datepicker-prev:hover{opacity:.5;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar{margin:0}.nestedpages-datepicker.ui-datepicker .ui-datepicker-prev{right:auto;left:0px;background:url("../images/datepicker-arrow-prev.png")}.nestedpages-datepicker.ui-datepicker .ui-datepicker-header{padding:0}.nestedpages-datepicker.ui-datepicker .ui-datepicker-title{background-color:#1a1a1a;text-align:center;color:#fff;height:35px;line-height:35px;-webkit-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;margin:0}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar{border-collapse:collapse}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar table{width:auto}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar th,.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar td{text-align:center;width:30px;height:30px}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar th{background-color:#e6e6e6;text-transform:uppercase;font-size:11px;letter-spacing:1px;padding:0}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar td{border-top:1px solid #ebebeb;border-left:1px solid #ebebeb;padding:0}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar td:first-child{border-left:0}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar a{text-align:center;padding:0;text-decoration:none;color:#333;display:block;background-color:#fff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;width:30px;height:30px;line-height:30px}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar a.ui-state-active{background-color:#1a1a1a;color:#fff}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar a:hover{background-color:#333;color:#fff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.nestedpages-dropdown{position:relative;z-index:3;display:inline-block}.nestedpages-dropdown-content{display:none;position:absolute;top:40px;left:0;z-index:2;background-color:#fff;width:250px;text-align:left;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:1px 1px 3px 0px rgba(51,51,51,0.4);box-shadow:1px 1px 3px 0px rgba(51,51,51,0.4)}.nestedpages-dropdown-content.padded{padding:1em}.nestedpages-dropdown-content p{line-height:1.4;margin:0}.nestedpages-dropdown-content.right{left:auto;right:0}.nestedpages-dropdown-content ul{list-style-type:none;margin:0;padding:0;zoom:1}.nestedpages-dropdown-content ul:before,.nestedpages-dropdown-content ul:after{content:" ";display:table}.nestedpages-dropdown-content ul:after{clear:both}.nestedpages-dropdown-content ul li{float:none;width:100%;margin:0;line-height:1}.nestedpages-dropdown-content ul li a{display:block;color:#333;text-decoration:none}.nestedpages-dropdown-content ul li:first-child a{border:0}.nestedpages-dropdown-content.active{display:block}#nested-loading{display:none;float:right;width:30px;height:30px;margin:0px 20px 0 0;position:relative}#nested-loading svg{width:30px;height:30px;-webkit-animation:nestedpagesRotate linear 1.25s infinite;animation:nestedpagesRotate linear 1.25s infinite;position:absolute;left:0;top:0;line-height:.1}#nested-loading svg path{fill:#999}.np-qe-loading,.np-default-loading,.np-menu-search-loading{display:none;float:right;width:25px;height:25px;margin:2px 10px 0 0;position:relative;-webkit-animation:nestedpagesRotate linear 1.25s infinite;animation:nestedpagesRotate linear 1.25s infinite}.np-qe-loading svg,.np-default-loading svg,.np-menu-search-loading svg{position:absolute;left:0;top:0;width:25px;height:25px}.np-qe-loading svg path,.np-default-loading svg path,.np-menu-search-loading svg path{fill:#fff}.np-default-loading{float:none;margin:0}.np-default-loading svg path{fill:#999}@-webkit-keyframes nestedpagesRotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transform-origin:center center;transform-origin:center center}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-transform-origin:center center;transform-origin:center center}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg);-webkit-transform-origin:center center;transform-origin:center center}}@keyframes nestedpagesRotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transform-origin:center center;transform-origin:center center}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-transform-origin:center center;transform-origin:center center}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg);-webkit-transform-origin:center center;transform-origin:center center}}.nestedpages-tools{zoom:1;clear:both;clear:both;margin:20px 0px 5px 0px}.nestedpages-tools:before,.nestedpages-tools:after{content:" ";display:table}.nestedpages-tools:after{clear:both}.nestedpages-tools .subsubsub{margin:0}.nestedpages-tools .np-tools-primary{clear:left;padding-top:8px}.nestedpages-tools .select{float:left;margin-left:5px}.nestedpages-tools .select:first-child{margin-left:0}.nestedpages-tools .np-tools-sort{float:left}.nestedpages-tools .np-tools-search{float:right}.wppages-handle-expand{float:left;background-color:#f2f2f2;font-size:18px;width:46px;height:46px;margin-right:5px;text-align:center;border-right:1px solid #e1e1e1}.wppages-handle-expand div{background-color:#fff;border:1px solid #e1e1e1;width:24px;height:24px;line-height:24px;-webkit-border-radius:15px;border-radius:15px;margin-top:9px;cursor:pointer;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.wppages-handle-expand div:hover{background-color:#0074a2;border-color:#0074a2;color:#fff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.nestedpages{clear:both;-webkit-border-radius:4px;border-radius:4px}.nestedpages .ui-sortable-placeholder{display:block !important;position:relative;min-height:46px;border:0;border:1px dashed #0074a2 !important;background-color:#effaff;margin:0}.nestedpages .ui-sortable-helper{opacity:0.8;-webkit-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.5);box-shadow:2px 2px 3px 0px rgba(0,0,0,0.5)}.nestedpages ol{list-style-type:none;clear:both;margin:0;border:1px solid #e5e5e5;-webkit-border-radius:3px;border-radius:3px}.nestedpages ol a{text-decoration:none}.nestedpages ol .page-link .edit-indicator{margin-left:10px;display:none}.nestedpages ol .page-link .edit-indicator i{font-size:12px;margin-right:3px}.nestedpages ol .page-link:hover .edit-indicator{display:inline}.nestedpages ol .np-page-type{color:#333}.nestedpages ol .locked{color:#333;margin-left:10px;padding-left:20px;position:relative}.nestedpages ol .locked svg{position:absolute;left:0;top:-5px;width:15px;height:24px}.nestedpages ol .locked em{font-style:normal}.nestedpages ol .row-status-icon{width:18px;height:18px;display:inline-block;vertical-align:middle;margin-left:5px}.nestedpages ol .row-status-icon .icon{fill:#b3b3b3}.nestedpages ol .status{color:#999}.nestedpages ol .sticky{color:#999}.nestedpages ol .np-icon-eye-blocked{color:#999}.nestedpages ol .nav-status{color:#b3b3b3}.nestedpages ol .np-hide{display:none}.nestedpages ol .np-assigned-pt-actions{list-style-type:none;margin:0;padding:0;display:inline-block;vertical-align:middle;margin-left:10px}.nestedpages ol .np-assigned-pt-actions li{display:none;background:transparent;border:0}.nestedpages ol .np-assigned-pt-actions li.visible{display:inline-block}.nestedpages ol .np-assigned-pt-actions li a{color:#333;display:block;border-left:1px solid #e1e1e1;padding:0 5px}.nestedpages ol .np-assigned-pt-actions li:first-child a{border:0;padding-left:0}.nestedpages ol .np-seo-indicator{display:block;position:absolute;right:10px;top:50%;margin-top:-6px;width:12px;height:12px;-webkit-border-radius:50%;border-radius:50%;background-color:#999}.nestedpages ol .np-seo-indicator.good{background-color:#7ad03a}.nestedpages ol .np-seo-indicator.ok{background-color:#ffba00}.nestedpages ol .np-seo-indicator.poor{background-color:#ee7c1b}.nestedpages ol .np-seo-indicator.bad{background-color:#dd3d36}.nestedpages ol .np-seo-indicator.warn{background-color:maroon}.nestedpages ol .np-seo-indicator.wrong{background-color:red}.nestedpages ol .np-seo-indicator.noindex{background-color:#1e8cbe}.nestedpages ol li{margin:0;border-top:1px solid #e1e1e1;background-color:#0074a2}.nestedpages ol li.first{border:0}.nestedpages ol li:first-child{border:0}.nestedpages ol li.no-border{border:0}.nestedpages ol ol{display:none;-webkit-border-radius:0;border-radius:0;list-style-type:none;border:0;-webkit-box-shadow:none;box-shadow:none;border-top:1px solid #e1e1e1}.nestedpages .np-search-results .np-hide{display:block}.nestedpages .child-toggle{display:table-cell;width:30px;text-align:left}.nestedpages .child-toggle .child-toggle-spacer{display:inline-block;vertical-align:middle;height:50px;width:1px}.nestedpages .child-toggle a{display:inline-block;text-align:center;vertical-align:middle;width:29px;height:29px;line-height:29px;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.nestedpages .child-toggle a.open{-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.nestedpages .child-toggle a:focus,.nestedpages .child-toggle a:active{outline:none}.nestedpages .np-icon-arrow{display:inline-block;vertical-align:middle;width:0;height:0;position:relative;top:-3px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:6px solid #333}.nestedpages .non-indent .child-toggle{width:46px;background-color:#f0f0f0;position:relative}.nestedpages .non-indent .child-toggle .child-toggle-spacer{display:block;height:46px;width:46px}.nestedpages .non-indent .child-toggle a{position:absolute;top:50%;display:inline-block;vertical-align:middle;left:8px;margin-top:-16px;width:28px;height:28px;background-color:#fff;border:1px solid #e1e1e1;-webkit-border-radius:50%;border-radius:50%;line-height:28px;color:#333;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.nestedpages .non-indent .child-toggle a.open{-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.nestedpages .non-indent .child-toggle a:hover{background-color:#333;border-color:#333}.nestedpages .non-indent .child-toggle a:hover .np-icon-arrow{border-left-color:#fff}.nestedpages .non-indent .np-icon-arrow{border-top-width:4px;border-bottom-width:4px;border-left-width:6px}.nestedpages .handle{display:inline-block;opacity:.4;vertical-align:middle;cursor:move;position:relative;top:-1px;width:20px;height:20px;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.nestedpages .handle .bars{fill:#b3b3b3}.nestedpages .handle:hover{-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;color:#0074a2}.nestedpages .np-icon-sub-menu{display:none;vertical-align:middle;width:20px;height:20px}.nestedpages .np-icon-sub-menu .arrow{fill:#999}.nestedpages .row.no-sort .page-title{padding-left:10px}.nestedpages .row.no-sort-filtered .page-title{padding-left:34px}.nestedpages .page-title{display:inline-block;vertical-align:middle}.nestedpages .page-title .link-icon{width:20px;height:20px;display:inline;vertical-align:middle;margin-left:8px;position:relative;top:-2px}.nestedpages .page-title .link-icon .icon{fill:#b3b3b3}.nestedpages .np-thumbnail{display:table-cell;width:80px;vertical-align:middle;zoom:1}.nestedpages .np-thumbnail:before,.nestedpages .np-thumbnail:after{content:" ";display:table}.nestedpages .np-thumbnail:after{clear:both}.nestedpages .np-thumbnail img{float:right;width:100%;height:auto}.nestedpages .np-thumbnail.large{width:150px}.nestedpages .np-thumbnail.small{width:50px}.nestedpages .np-thumbnail.link{text-align:center}.nestedpages .np-bulk-checkbox{display:table-cell;width:33px;vertical-align:middle;text-align:center;background-color:#f0f0f0}.nestedpages .np-bulk-checkbox input[type="checkbox"]{margin-right:0}.nestedpages .handle,.nestedpages .np-icon-sub-menu{width:30px;text-align:center;vertical-align:middle}.nestedpages .non-indent li ol .row .np-icon-sub-menu{display:inline-block}.nestedpages .non-indent li ol .row .handle{display:none}.nestedpages .non-indent li ol .row:hover .np-icon-sub-menu{display:none}.nestedpages .non-indent li ol .row:hover .handle{display:inline-block}.nestedpages .non-indent li ol .row.no-sort .np-icon-sub-menu{display:inline-block}.nestedpages .no-sort ol li .row:hover .np-icon-sub-menu{display:inline-block}.nestedpages .row{background-color:#fff;display:table;width:100%}.nestedpages .row:hover,.nestedpages .row.active{background-color:#f0f0f0}.nestedpages .row:hover .handle,.nestedpages .row.active .handle{opacity:1}.nestedpages .row:hover .np-assigned-pt-actions li,.nestedpages .row.active .np-assigned-pt-actions li{display:inline-block}.nestedpages .row:hover .cell.custom-column,.nestedpages .row.active .cell.custom-column{visibility:hidden}.nestedpages .row.np-updated{background-color:#e9f7df;-webkit-transition:background-color 400ms ease;-o-transition:background-color 400ms ease;transition:background-color 400ms ease}.nestedpages .row.np-updated-show{background-color:#fff;-webkit-transition:background-color 400ms ease;-o-transition:background-color 400ms ease;transition:background-color 400ms ease}.nestedpages .row.search .page-title{padding-left:10px}.nestedpages .non-hierarchical-spacer{height:47px}.nestedpages .row-inner{display:table-cell;vertical-align:middle;position:relative}.nestedpages ol li ol .row-inner{padding-left:0px}.nestedpages ol li ol li ol .row-inner{padding-left:20px}.nestedpages ol li ol li ol li ol .row-inner{padding-left:40px}.nestedpages ol li ol li ol li ol li ol .row-inner{padding-left:60px}.nestedpages ol li ol li ol li ol li ol li ol .row-inner{padding-left:80px}.nestedpages .np-post-columns{float:right;margin:3px 20px 0px 0px;zoom:1}.nestedpages .np-post-columns:before,.nestedpages .np-post-columns:after{content:" ";display:table}.nestedpages .np-post-columns:after{clear:both}.nestedpages .np-post-columns ul li{background:transparent;color:gray;border:0;float:left;margin-left:8px;padding-left:8px;border-left:1px solid #ccc}.nestedpages .np-post-columns ul li:first-child{margin-left:0;padding-left:0;border:0}.nestedpages .has-yoast .np-post-columns{margin-right:30px}.nestedpages .has-custom-columns .np-post-columns{display:none}.nestedpages .action-buttons{display:none;position:absolute;right:10px;top:50%;margin-top:-15px}.nestedpages .action-buttons a{margin:0 0 0 -5px;padding:0 .5em;height:30px;line-height:30px}.nestedpages .action-buttons a.np-btn-trash{margin-left:4px}.nestedpages .action-buttons a.np-btn-trash svg{width:20px;height:20px;position:relative;top:4px}.nestedpages .action-buttons a.np-btn-trash svg .icon{fill:#fff}.nestedpages .action-buttons .nestedpages-dropdown{display:inline-block;vertical-align:middle}.nestedpages .action-buttons .nestedpages-dropdown .np-btn.toggle{background:transparent;border:0}.nestedpages .action-buttons .nestedpages-dropdown .np-btn.toggle svg{position:relative;top:4px}.nestedpages .action-buttons .nestedpages-dropdown .np-btn.toggle:active,.nestedpages .action-buttons .nestedpages-dropdown .np-btn.toggle:focus{-webkit-box-shadow:none;box-shadow:none}.nestedpages .action-buttons .nestedpages-dropdown .np-btn.toggle.active{color:gray}.nestedpages .action-buttons .nestedpages-dropdown ul{left:auto;right:5px;width:180px}.nestedpages .action-buttons .nestedpages-dropdown ul li{background-color:#fff}.nestedpages .action-buttons .nestedpages-dropdown ul li a{display:block;color:#333;line-height:1.2;height:auto;margin:0;padding:10px 5px 10px 30px;position:relative}.nestedpages .action-buttons .nestedpages-dropdown ul li a.disabled{opacity:.3}.nestedpages .action-buttons .nestedpages-dropdown ul li a svg{position:absolute;left:0;width:20px;height:20px;top:8px;margin-right:5px;margin-left:5px}.np-search{float:right}.nestedpages-list-header{background-color:#fff;border:1px solid #e1e1e1;border-bottom:0;height:46px;zoom:1}.nestedpages-list-header:before,.nestedpages-list-header:after{content:" ";display:table}.nestedpages-list-header:after{clear:both}.nestedpages-list-header .np-check-all{float:right;width:33px;text-align:center;line-height:46px;background-color:#f0f0f0}.nestedpages-list-header .np-check-all input[type="checkbox"]{margin:0}.nestedpages-list-header .np-check-all input[type="checkbox"].check-all-partial:checked:before{content:"-";margin:0;margin-top:-9px}.nestedpages-list-header .np-hidden-select-count{display:none;float:right;margin:0 1em 0 0;line-height:46px;font-style:oblique}.nestedpages-list-header .np-bulk-form{padding-right:3px;float:right;margin-right:5px;position:relative;top:9px}.nestedpages-list-header .np-bulk-form select,.nestedpages-list-header .np-bulk-form input[type="submit"]{display:inline-block}@media (min-width: 768px){.nestedpages .row:hover .action-buttons,.nestedpages .row.active .action-buttons{display:block}.nestedpages .row:hover .np-post-columns,.nestedpages .row.active .np-post-columns{display:none}}@media (max-width: 767px){.nestedpages ol .page-link{line-height:24px}.nestedpages ol .page-link:hover span{display:none}.nestedpages ol .locked em{display:none}.nestedpages .child-toggle{background:transparent}.nestedpages .row{height:auto}.nestedpages .action-buttons{display:none;background-color:#0074a2;float:none;margin:0;padding:8px}.nestedpages .action-buttons a{margin-left:5px}}.nestedpages .quick-edit .header,.nestedpages .new-child .header{padding:10px 0px 0 0px;background-color:#f2f2f2;position:relative}.nestedpages .quick-edit .header h3,.nestedpages .new-child .header h3{position:absolute;right:10px;top:15px;font-size:12px}.nestedpages .quick-edit .header h3 span,.nestedpages .new-child .header h3 span{display:inline-block;float:none;margin-left:10px}.nestedpages .quick-edit .header.no-tabs,.nestedpages .new-child .header.no-tabs{zoom:1;padding:10px;border-bottom:1px solid #ccc}.nestedpages .quick-edit .header.no-tabs:before,.nestedpages .quick-edit .header.no-tabs:after,.nestedpages .new-child .header.no-tabs:before,.nestedpages .new-child .header.no-tabs:after{content:" ";display:table}.nestedpages .quick-edit .header.no-tabs:after,.nestedpages .new-child .header.no-tabs:after{clear:both}.nestedpages .quick-edit .header.no-tabs h3,.nestedpages .new-child .header.no-tabs h3{position:relative;top:5px;right:auto;float:right}.nestedpages .quick-edit .np-menuoptions-description,.nestedpages .new-child .np-menuoptions-description{background-color:#f2f2f2;margin-bottom:15px;margin-top:-8px;padding:8px 10px;border:1px solid #e1e1e1}.nestedpages .quick-edit .np-menuoptions-description p,.nestedpages .new-child .np-menuoptions-description p{margin:0 0 2px 0}.nestedpages .quick-edit .np-menuoptions-description p.note,.nestedpages .new-child .np-menuoptions-description p.note{font-size:.9em;margin:0;opacity:.7}.nestedpages .quick-edit .form-interior,.nestedpages .new-child .form-interior{padding:10px}.nestedpages .quick-edit h3,.nestedpages .new-child h3{margin:0 0 8px 0;font-size:14px}.nestedpages .quick-edit h3 span,.nestedpages .new-child h3 span{float:right;font-size:12px}.nestedpages .quick-edit h3 span em,.nestedpages .new-child h3 span em{font-weight:normal;font-style:normal;color:gray}.nestedpages .quick-edit .fields,.nestedpages .new-child .fields{margin-bottom:10px;background:url("../images/border.png") repeat-y;background-position:center;zoom:1}.nestedpages .quick-edit .fields:before,.nestedpages .quick-edit .fields:after,.nestedpages .new-child .fields:before,.nestedpages .new-child .fields:after{content:" ";display:table}.nestedpages .quick-edit .fields:after,.nestedpages .new-child .fields:after{clear:both}.nestedpages .quick-edit .left,.nestedpages .new-child .left{float:left;width:48%}.nestedpages .quick-edit .right,.nestedpages .new-child .right{float:right;width:48%}.nestedpages .quick-edit label,.nestedpages .new-child label{font-style:oblique}.nestedpages .quick-edit .buttons,.nestedpages .new-child .buttons{clear:both;zoom:1;background-color:#404040;padding:8px}.nestedpages .quick-edit .buttons:before,.nestedpages .quick-edit .buttons:after,.nestedpages .new-child .buttons:before,.nestedpages .new-child .buttons:after{content:" ";display:table}.nestedpages .quick-edit .buttons:after,.nestedpages .new-child .buttons:after{clear:both}.nestedpages .quick-edit .form-control,.nestedpages .new-child .form-control{clear:both;zoom:1;margin-bottom:5px}.nestedpages .quick-edit .form-control:before,.nestedpages .quick-edit .form-control:after,.nestedpages .new-child .form-control:before,.nestedpages .new-child .form-control:after{content:" ";display:table}.nestedpages .quick-edit .form-control:after,.nestedpages .new-child .form-control:after{clear:both}.nestedpages .quick-edit .form-control input[type='text'],.nestedpages .quick-edit .form-control input[type='password'],.nestedpages .quick-edit .form-control select,.nestedpages .new-child .form-control input[type='text'],.nestedpages .new-child .form-control input[type='password'],.nestedpages .new-child .form-control select{float:right;width:75%}.nestedpages .quick-edit .form-control label,.nestedpages .new-child .form-control label{float:left;width:20%}.nestedpages .quick-edit .form-control.original-link,.nestedpages .new-child .form-control.original-link{background-color:#f9f9f9;border:1px solid #e1e1e1;padding:5px;font-style:oblique;margin-bottom:8px}.nestedpages .quick-edit .form-control.password label,.nestedpages .new-child .form-control.password label{width:25%}.nestedpages .quick-edit .form-control.password input[type="text"],.nestedpages .new-child .form-control.password input[type="text"]{float:left;width:35%}.nestedpages .quick-edit .form-control.password .private,.nestedpages .new-child .form-control.password .private{float:right;width:35%;margin-top:4px}.nestedpages .quick-edit .form-control.password .private label,.nestedpages .new-child .form-control.password .private label{width:auto;float:none}.nestedpages .quick-edit .form-control.np-datepicker-container .datetime,.nestedpages .new-child .form-control.np-datepicker-container .datetime{float:right;width:75%}.nestedpages .quick-edit .form-control.np-datepicker-container .np-time-container,.nestedpages .new-child .form-control.np-datepicker-container .np-time-container{float:left;width:45%;margin:0;position:relative}.nestedpages .quick-edit .form-control.np-datepicker-container .np-time-container input[type="text"],.nestedpages .new-child .form-control.np-datepicker-container .np-time-container input[type="text"]{float:left;width:55%}.nestedpages .quick-edit .form-control.np-datepicker-container .np-time-container select,.nestedpages .new-child .form-control.np-datepicker-container .np-time-container select{float:right;width:35%}.nestedpages .quick-edit .form-control.np-datepicker-container .np_datepicker,.nestedpages .new-child .form-control.np-datepicker-container .np_datepicker{float:left;width:45%;margin:0}.nestedpages .quick-edit .form-control.np-datepicker-container .np_datepicker.full,.nestedpages .new-child .form-control.np-datepicker-container .np_datepicker.full{width:100%}.nestedpages .quick-edit .form-control.np-datepicker-container span,.nestedpages .new-child .form-control.np-datepicker-container span{float:left;width:10%;display:block;text-align:center;padding-top:3px}.nestedpages .quick-edit .form-control.full label,.nestedpages .new-child .form-control.full label{width:auto}.nestedpages .quick-edit .form-control.full.checkbox label,.nestedpages .new-child .form-control.full.checkbox label{padding:5px 0 5px 25%}.nestedpages .quick-edit .comments,.nestedpages .new-child .comments{float:right;width:75%;margin-bottom:10px;zoom:1}.nestedpages .quick-edit .comments:before,.nestedpages .quick-edit .comments:after,.nestedpages .new-child .comments:before,.nestedpages .new-child .comments:after{content:" ";display:table}.nestedpages .quick-edit .comments:after,.nestedpages .new-child .comments:after{clear:both}.nestedpages .quick-edit .dates,.nestedpages .new-child .dates{float:right;width:75%;margin-bottom:6px}.nestedpages .quick-edit .dates select,.nestedpages .new-child .dates select{width:25%}.nestedpages .quick-edit .dates input,.nestedpages .new-child .dates input{width:12%}.nestedpages .quick-edit .np-taxonomies,.nestedpages .quick-edit .np-menuoptions,.nestedpages .new-child .np-taxonomies,.nestedpages .new-child .np-menuoptions{zoom:1;background-color:#fff}.nestedpages .quick-edit .np-taxonomies:before,.nestedpages .quick-edit .np-taxonomies:after,.nestedpages .quick-edit .np-menuoptions:before,.nestedpages .quick-edit .np-menuoptions:after,.nestedpages .new-child .np-taxonomies:before,.nestedpages .new-child .np-taxonomies:after,.nestedpages .new-child .np-menuoptions:before,.nestedpages .new-child .np-menuoptions:after{content:" ";display:table}.nestedpages .quick-edit .np-taxonomies:after,.nestedpages .quick-edit .np-menuoptions:after,.nestedpages .new-child .np-taxonomies:after,.nestedpages .new-child .np-menuoptions:after{clear:both}.nestedpages .quick-edit .np-taxonomy,.nestedpages .new-child .np-taxonomy{float:left;width:30%;margin-right:3.33%}.nestedpages .quick-edit .np-taxonomy .title,.nestedpages .new-child .np-taxonomy .title{font-weight:bold;margin-bottom:4px;display:block}.nestedpages .quick-edit .np-taxonomy li,.nestedpages .new-child .np-taxonomy li{background-color:#fff;border:0}.nestedpages .quick-edit .np-taxonomy textarea,.nestedpages .new-child .np-taxonomy textarea{width:100%;height:6.5em}.nestedpages .quick-edit .np-menuoptions .left label,.nestedpages .new-child .np-menuoptions .left label{width:30%}.nestedpages .quick-edit .np-menuoptions .left input,.nestedpages .new-child .np-menuoptions .left input{width:65%}.nestedpages .quick-edit .np-menuoptions .right label,.nestedpages .new-child .np-menuoptions .right label{margin-bottom:5px;display:block;float:none;width:100%}.nestedpages .quick-edit .np-hide-options,.nestedpages .new-child .np-hide-options{display:none;background-color:#f0f0f0;-webkit-border-radius:3px;border-radius:3px;clear:both;padding:6px;-webkit-box-sizing:border-box;box-sizing:border-box}.nestedpages .quick-edit .np-hide-options p,.nestedpages .new-child .np-hide-options p{margin:0}.nestedpages .quick-edit .np-hide-options label,.nestedpages .new-child .np-hide-options label{display:block;margin-top:4px;font-style:normal}.nestedpages .quick-edit .new-page-titles,.nestedpages .new-child .new-page-titles{display:block;border:0}.nestedpages .quick-edit .new-page-titles li,.nestedpages .new-child .new-page-titles li{background:transparent;border:0;padding:4px;zoom:1}.nestedpages .quick-edit .new-page-titles li:before,.nestedpages .quick-edit .new-page-titles li:after,.nestedpages .new-child .new-page-titles li:before,.nestedpages .new-child .new-page-titles li:after{content:" ";display:table}.nestedpages .quick-edit .new-page-titles li:after,.nestedpages .new-child .new-page-titles li:after{clear:both}.nestedpages .quick-edit .new-page-titles li:nth-child(even),.nestedpages .new-child .new-page-titles li:nth-child(even){background-color:#f0f0f0}.nestedpages .quick-edit .new-page-titles li label,.nestedpages .new-child .new-page-titles li label{margin-top:7px}.nestedpages .quick-edit .new-page-titles .form-control,.nestedpages .new-child .new-page-titles .form-control{float:right;width:90%;clear:none}.nestedpages .quick-edit .new-page-titles .np-icon-menu,.nestedpages .new-child .new-page-titles .np-icon-menu{float:left;margin-top:0px;width:24px;height:24px;position:relative;top:5px}.nestedpages .quick-edit .new-page-titles .new-child-row div,.nestedpages .new-child .new-page-titles .new-child-row div{float:right;width:75%;margin:2px;zoom:1}.nestedpages .quick-edit .new-page-titles .new-child-row div:before,.nestedpages .quick-edit .new-page-titles .new-child-row div:after,.nestedpages .new-child .new-page-titles .new-child-row div:before,.nestedpages .new-child .new-page-titles .new-child-row div:after{content:" ";display:table}.nestedpages .quick-edit .new-page-titles .new-child-row div:after,.nestedpages .new-child .new-page-titles .new-child-row div:after{clear:both}.nestedpages .quick-edit .new-page-titles .new-child-row div input[type='text'],.nestedpages .new-child .new-page-titles .new-child-row div input[type='text']{float:left;width:80%}.nestedpages .quick-edit .new-page-titles .new-child-row div a,.nestedpages .new-child .new-page-titles .new-child-row div a{float:right}.np-modal.nestedpages .new-child .right .form-control input[type='text'],.np-modal.nestedpages .new-child .right .form-control input[type='password'],.np-modal.nestedpages .new-child .right .form-control select{float:none;width:100%}.np-modal.nestedpages .new-child .right .form-control label{float:none;width:100%}.np-modal.nestedpages .new-child .right .form-control.full label{padding-left:0}.np-modal.nestedpages .new-child .new-page-titles .form-control{width:85%}.np-modal.nestedpages .new-child .new-page-titles .form-control div{width:100%}.np-modal.nestedpages .new-child .left label{display:none}@media (max-width: 767px){.nestedpages .quick-edit .fields{background:transparent}.nestedpages .quick-edit .left,.nestedpages .quick-edit .right{float:none;width:100%}.nestedpages .quick-edit .form-control{margin-bottom:10px}.nestedpages .quick-edit .form-control input[type='text'],.nestedpages .quick-edit .form-control input[type='password'],.nestedpages .quick-edit .form-control select{float:none;width:100%}.nestedpages .quick-edit .form-control label{display:block;float:none;width:100%;margin-bottom:4px}.nestedpages .quick-edit .form-control.np-datepicker-container .datetime{float:none;width:100%}.nestedpages .quick-edit .comments{float:none;width:100%}.nestedpages .quick-edit .dates{float:none;width:100%;margin-bottom:6px}}.np-modal-form .form-interior{zoom:1;background:url("../images/border.png") repeat-y;background-position:center;padding:5px 0}.np-modal-form .form-interior:before,.np-modal-form .form-interior:after{content:" ";display:table}.np-modal-form .form-interior:after{clear:both}.np-modal-form .form-control{zoom:1;margin-bottom:10px}.np-modal-form .form-control:before,.np-modal-form .form-control:after{content:" ";display:table}.np-modal-form .form-control:after{clear:both}.np-modal-form .checkbox{margin-bottom:10px}.np-modal-form .left{float:left;width:45%}.np-modal-form .right{float:right;width:45%;padding-top:18px}.np-modal-form label{display:block}.np-modal-form input[type="text"],.np-modal-form select{width:100%}.np-modal-form .buttons{clear:both}.np-new-child-form.in-modal{padding-bottom:50px}.modal-body.np-menu-item-form{height:100%;padding:0;border-top:1px solid #e1e1e1;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.np-link-modal-content .np-tabbed-content,.np-link-modal-content .new-child{height:100%}.np-link-modal-content .np-tabbed-content form,.np-link-modal-content .new-child form{height:94%}.np-link-modal-content .modal-content,.np-link-modal-content .form-interior{position:relative;height:100%}.np-link-modal-content .form-interior{overflow:auto}.np-link-modal-content .modal-footer,.np-link-modal-content .buttons{position:absolute;left:0;width:100%;bottom:0;padding:0}.np-link-modal-content .buttons{padding:0 !important}.np-link-modal-content .footer-inner,.np-link-modal-content .buttons-inner{padding:10px;zoom:1}.np-link-modal-content .footer-inner:before,.np-link-modal-content .footer-inner:after,.np-link-modal-content .buttons-inner:before,.np-link-modal-content .buttons-inner:after{content:" ";display:table}.np-link-modal-content .footer-inner:after,.np-link-modal-content .buttons-inner:after{clear:both}.np-menu-type-selection{overflow:auto;width:35%;padding:15px;background-color:#f9f9f9;border-right:1px solid #e1e1e1;-webkit-box-sizing:border-box;box-sizing:border-box}.np-menu-type-selection ul{list-style-type:none;margin:0;padding:0;border:1px solid #e5e5e5;-webkit-border-radius:3px;border-radius:3px;border:0}.np-menu-type-selection ul li{margin:0;border:1px solid #e5e5e5;border-top:0}.np-menu-type-selection ul li a{background-color:#fff;display:block;text-decoration:none;padding:15px 10px;position:relative;color:#333;font-weight:bold;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.np-menu-type-selection ul li a:hover{background-color:#ebebeb;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.np-menu-type-selection ul li a:after{position:absolute;font-family:"dashicons";content:"\f140";font-size:18px;right:10px;top:15px;color:gray}.np-menu-type-selection ul li a.active:after{content:"\f142"}.np-menu-type-selection ul li a.np-custom-link:after{content:"\f139"}.np-menu-type-selection ul li a.np-custom-link.active{background-color:#0074a2;color:#fff}.np-menu-type-selection ul li a.np-custom-link.active:after{content:"\f335";color:#fff}.np-menu-type-selection ul li a:active,.np-menu-type-selection ul li a:focus{-webkit-box-shadow:none;box-shadow:none}.np-menu-type-selection ul li a.no-terms{color:#b3b3b3}.np-menu-type-selection ul li a.no-terms span{float:right;font-weight:normal;font-style:oblique}.np-menu-type-selection ul li a.no-terms:after{content:''}.np-menu-type-selection ul li a.no-terms:hover{background-color:#fff;cursor:default}.np-menu-type-selection ul li a.no-terms.section{padding:8px 10px;background-color:#333;color:#fff}.np-menu-type-selection ul li:first-child{border-top:1px solid #e5e5e5}.np-menu-type-selection ul li ul{display:none;-webkit-box-shadow:none;box-shadow:none;padding:10px;background-color:#fff}.np-menu-type-selection ul li ul li{border-color:#e0e0e0}.np-menu-type-selection ul li ul li a{padding:8px;background-color:#f9f9f9;font-weight:normal}.np-menu-type-selection ul li ul li a:after{content:"\f139";top:8px;right:5px}.np-menu-type-selection ul li ul li a.active{background-color:#0074a2;color:#fff}.np-menu-type-selection ul li ul li a.active:after{content:"\f335";color:#fff}.np-menu-link-object{width:65%;overflow:auto}.np-menu-link-object-placeholder{text-align:center;position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);color:#b3b3b3}.np-menu-search{padding:10px;background-color:#f9f9f9}.np-menu-search input[type="text"]{width:100%;height:35px}.np-menu-search .np-menu-search-loading{margin-top:5px}.np-menu-search .np-menu-search-noresults{display:none;text-align:center;padding-top:8px;font-style:oblique}.np-menu-link-details{padding:20px}.np-menu-link-details h3{margin-top:0}.np-menu-link-details h3 em{float:right;font-size:13px;font-weight:normal;font-style:normal;color:gray}.np-menu-link-details .original-link{border:1px solid #e5e5e5;font-size:12px;margin-bottom:15px;padding:5px;font-style:oblique}.np-menu-link-details .fields{background-color:#f9f9f9;padding:15px}.np-menu-link-details p{margin-top:0}.np-menu-link-details .checkbox{margin-bottom:10px}.np-menu-link-details label{display:block}.np-menu-link-details input[type="text"]{width:100%}.nestedpages .nestedpages-bulk-edit{display:none;background-color:#fff;margin:0;border:1px solid #e1e1e1;border-bottom:0}.nestedpages .nestedpages-bulk-edit h3{padding:1em;margin:0}.nestedpages .nestedpages-bulk-edit .np-bulk-edit-link-info{padding:0 1em}.nestedpages .nestedpages-bulk-edit .fields{padding:1em;margin:0}.nestedpages .nestedpages-bulk-edit .np-taxonomies{margin:0}.nestedpages .nestedpages-bulk-edit .np-bulk-titles{list-style-type:none;margin:0;padding:0;background-color:#f9f9f9;border:1px solid #e5e5e5;border-left:0;border-right:0;padding:.5em}.nestedpages .nestedpages-bulk-edit .np-bulk-titles li{padding:0;margin:.5em 0 0 0}.nestedpages .nestedpages-bulk-edit .np-bulk-titles li:first-child{margin:0}.nestedpages .nestedpages-bulk-edit .np-bulk-titles .np-remove{display:inline-block;background-color:#333;width:22px;height:22px;-webkit-border-radius:50%;border-radius:50%;text-align:center;text-decoration:none;color:#fff;line-height:18px;font-size:1.5em;margin-right:.3em}.nestedpages .nestedpages-bulk-edit .np-bulk-titles .np-remove:hover{background-color:gray}.nestedpages .nestedpages-bulk-edit .np-taxonomies{display:block;padding:1em}.nestedpages .nestedpages-bulk-edit .np-bulk-footer{padding:10px;text-align:right;background-color:#404040;zoom:1}.nestedpages .nestedpages-bulk-edit .np-bulk-footer:before,.nestedpages .nestedpages-bulk-edit .np-bulk-footer:after{content:" ";display:table}.nestedpages .nestedpages-bulk-edit .np-bulk-footer:after{clear:both}.nestedpages .nestedpages-bulk-edit .np-bulk-footer .pull-left{float:left}.nestedpages-columns-header{display:table;border-collapse:collapse;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#f0f0f0;border:1px solid #e1e1e1;border-bottom:0}.nestedpages-columns-header .cell{font-weight:bold;text-align:left;display:table-cell;padding:1em .5em 1em 0;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:middle}.nestedpages-columns-header .toggle-spacer span{display:block;width:50px}.nestedpages-columns-header .bulk-spacer span{display:block;width:33px}.nestedpages-columns-header .thumbnail-spacer span{display:block;width:100%}.nestedpages-columns-header .title{width:30%;padding:0 5px}.nestedpages-row-columns{display:table;width:100%;border-collapse:collapse;-webkit-box-sizing:border-box;box-sizing:border-box}.nestedpages-row-columns .cell{text-align:left;display:table-cell;padding:1em .5em 1em 0;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:middle}.nestedpages-row-columns .title-cell{width:30%;position:relative}.nestedpages-row-columns .title-cell-spacer{position:absolute;display:block;width:100%}@media (max-width: 767px){.nestedpages-row-columns .custom-column,.nestedpages-columns-header{display:none}.nestedpages-row-columns .title-cell.cell{width:100%}}.np-wpml-translations-modal .np-qe-loading{margin:1em 0;text-align:center;float:left}.np-wpml-translations-modal .np-qe-loading svg path{fill:#999}.np-wpml-translations-modal.loading .np-translations-table{display:none}.np-wpml-translations-modal.loading .np-qe-loading{display:block}.np-wpml-translations-modal .np-translations-table{display:table;border-collapse:collapse;width:100%}.np-wpml-translations-modal .np-translations-table tr td{padding:10px;border:1px solid #e1e1e1}.np-wpml-translations-modal .np-translations-table tr td:first-child{border-left:0;padding-left:0}.np-wpml-translations-modal .np-translations-table tr td:last-child{border-right:0}.np-wpml-translations-modal .np-translations-table tr:last-child td{border-bottom:0}.nestedpages-settings-table{border:1px solid #d9d9d9;border-collapse:collapse}.nestedpages-settings-table thead th{background-color:#d9d9d9;padding:5px}.nestedpages-settings-table tbody tr td{padding:5px;border-left:1px solid #e0e0e0}.nestedpages-settings-table tbody tr td:first-child{border:0}.nestedpages-settings-table tbody tr:nth-child(odd) td{background-color:#fff}.nestedpages-settings-table i{font-size:20px}.nestedpages-settings-table .np-btn{cursor:pointer;text-decoration:none;color:#555;display:inline-block;background-color:#f7f7f7;border:1px solid #e1e1e1;padding:5px 8px;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.nestedpages-settings-table .np-btn:hover{background-color:#0074a2;color:#fff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;border-color:#0074a2}.nestedpages-settings-table .np-btn:disabled,.nestedpages-settings-table .np-btn.disabled{opacity:.6;cursor:not-allowed}.nestedpages-settings-table .np-btn-trash{background-color:#e14d43;border-color:#e14d43;color:#fff}.nestedpages-settings-table .np-btn-trash:hover{background-color:#ba281e;border-color:#ba281e}.nestedpages-settings-table{border:1px solid #e5e5e5;-webkit-border-radius:3px;border-radius:3px}.nestedpages-settings-table .row-container{background-color:#fff;border-bottom:1px solid #e1e1e1}.nestedpages-settings-table .row-container:last-child{border:0}.nestedpages-settings-table .row-container .head{zoom:1;line-height:46px;background-color:#fff;padding-right:10px}.nestedpages-settings-table .row-container .head:before,.nestedpages-settings-table .row-container .head:after{content:" ";display:table}.nestedpages-settings-table .row-container .head:after{clear:both}.nestedpages-settings-table .row-container .head .checkbox{float:left;width:46px;height:46px;background-color:rgba(51,51,51,0.06);text-align:center;line-height:46px;margin-right:10px}.nestedpages-settings-table .row-container .head label{float:left;line-height:46px;margin:0}.nestedpages-settings-table .row-container .head label em{color:#999}.nestedpages-settings-table .row-container .head .button{float:right;margin-top:10px}.nestedpages-settings-table .row-container.active .head{background-color:#0074a2;color:#fff}.nestedpages-settings-table .row-container .row{display:table;width:100%}.nestedpages-settings-table .row-container .row .description{display:table-cell;vertical-align:top;width:25%;border-bottom:1px solid #e1e1e1;background-color:#f9f9f9;padding:1em}.nestedpages-settings-table .row-container .row .description p{color:gray;font-size:.9em}.nestedpages-settings-table .row-container .row .description strong{color:#333;font-size:1.2em}.nestedpages-settings-table .row-container .row .field{display:table-cell;vertical-align:top;width:75%;background-color:#fff;border-bottom:1px solid #e1e1e1;border-left:1px solid #e1e1e1;padding:1em}.nestedpages-settings-table .row-container .row .field.padded-sides{padding:1em 2em}.nestedpages-settings-table .row-container .row .field.extra-padding{padding:2em}.nestedpages-settings-table .row-container .row .field label.block{display:block}.nestedpages-settings-table .row-container .row .field input[type="text"],.nestedpages-settings-table .row-container .row .field input[type="tel"],.nestedpages-settings-table .row-container .row .field select{width:100%}.nestedpages-settings-table .row-container .body{display:none}.nestedpages-settings-table .row-container .body h4{margin:0;padding:10px 0 0 10px}.nestedpages-settings-table .row-container .body .settings-details{margin:0}.nestedpages-settings-table .row-container .body li{margin:0}.nestedpages-settings-table .row-container .settings-details li:last-child .field,.nestedpages-settings-table .row-container .settings-details li:last-child .description{border-bottom:0}.nestedpages-settings-table .row-container .custom-fields,.nestedpages-settings-table .row-container .standard-fields,.nestedpages-settings-table .row-container .columns{display:none;padding-top:20px}.nestedpages-settings-table .row-container .custom-fields .custom-field-group,.nestedpages-settings-table .row-container .standard-fields .custom-field-group,.nestedpages-settings-table .row-container .columns .custom-field-group{height:150px;overflow:auto;background-color:#f9f9f9;padding:10px;border:1px solid #e1e1e1}.nestedpages-settings-table .row-container .custom-fields h5,.nestedpages-settings-table .row-container .standard-fields h5,.nestedpages-settings-table .row-container .columns h5{padding:0;font-weight:normal;font-style:oblique;margin:0;color:#999;margin-bottom:6px}.nestedpages-settings-table .row-container .custom-fields p,.nestedpages-settings-table .row-container .standard-fields p,.nestedpages-settings-table .row-container .columns p{margin:0 0 6px 0;font-weight:bold}.nestedpages-settings-table .row-container .custom-fields ul,.nestedpages-settings-table .row-container .standard-fields ul,.nestedpages-settings-table .row-container .columns ul{margin:0}.nestedpages-settings-table .row-container .custom-fields ul.indented,.nestedpages-settings-table .row-container .standard-fields ul.indented,.nestedpages-settings-table .row-container .columns ul.indented{padding-left:15px}.nestedpages-settings-table .row-container .custom-fields ul li,.nestedpages-settings-table .row-container .standard-fields ul li,.nestedpages-settings-table .row-container .columns ul li{margin:3px 0 0 0}.nestedpages-settings-table .row-container .thumbnail-options{background-color:#f9f9f9;padding:10px;border:1px solid #e1e1e1;margin-top:1em}.nestedpages-settings-table .row-container .thumbnail-options label{display:block}.nestedpages-settings-table .row-container .thumbnail-options select{margin-bottom:1em}.nestedpages-page-pt-assignment{background-color:#f9f9f9;padding:10px;border:1px solid #e1e1e1;margin-top:1em}.nestedpages-page-pt-assignment input[type="search"]{width:100%;margin-bottom:1em}.nestedpages-page-pt-assignment .np-quickedit-info{background-color:#fff;border-right:1px solid #e5e5e5;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5}.nestedpages-page-pt-assignment .nestedpages-page-search-results{height:100px;overflow:auto}.nestedpages-page-pt-assignment .nestedpages-page-search-results ul{list-style-type:none;margin:0;padding:0}.nestedpages-page-pt-assignment .nestedpages-page-search-results a{display:block;text-decoration:none;border-top:1px solid #dcdcdc;padding:3px 0;color:#333;background-color:#f9f9f9}.nestedpages-page-pt-assignment .nestedpages-page-search-results a:hover{background-color:#0074a2;color:#fff;padding-left:5px}.nestedpages-page-pt-assignment .nestedpages-page-search-results li:first-child a{border:0;padding-top:0}.nestedpages-page-pt-assignment-selection{background-color:#f9f9f9;border:1px solid #e1e1e1;margin-top:1em;padding:.5em}.nestedpages-sort-options-selection,.nestedpages-checklist-field{background-color:#f9f9f9;border:1px solid #e1e1e1;margin-top:1em;padding:.5em}.nestedpages-sort-options-selection label,.nestedpages-checklist-field label{display:block;margin-top:3px}.nestedpages-sort-options-selection label:first-child,.nestedpages-checklist-field label:first-child{margin:0}.nestedpages-sort-options-selection .sort-options-default,.nestedpages-checklist-field .sort-options-default{display:none;background-color:#fff;margin:.5em 0 1.5em 0;padding:.75em;border:1px solid #e1e1e1}.nestedpages-sort-options-selection .sort-options-default label,.nestedpages-checklist-field .sort-options-default label{display:inline-block}.nestedpages-sort-options-selection .sort-options-default select,.nestedpages-checklist-field .sort-options-default select{width:auto !important}.np-menu-customization{display:none;padding:.5em 1em 1em 1em}.np-menu-customization .np-menu-customization-header{background-color:#f9f9f9;border:1px solid #e1e1e1;border-bottom:0;height:60px;position:relative;padding:15px 180px 0 10px;-webkit-box-sizing:border-box;box-sizing:border-box;zoom:1}.np-menu-customization .np-menu-customization-header:before,.np-menu-customization .np-menu-customization-header:after{content:" ";display:table}.np-menu-customization .np-menu-customization-header:after{clear:both}.np-menu-customization .np-menu-customization-header .hide,.np-menu-customization .np-menu-customization-header .new{position:absolute;right:0;top:0;height:60px;width:80px;text-align:center;line-height:60px;border-left:1px solid #e1e1e1;background-color:#ececec;font-size:.9em}.np-menu-customization .np-menu-customization-header .role-select{float:left;width:100%}.np-menu-customization .np-menu-customization-header .new{right:80px;background-color:#fff}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-toggle{display:block;height:60px;width:80px;text-decoration:none;color:#333}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-toggle .np-caret{display:inline-block;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #333;vertical-align:middle;margin-left:3px}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-toggle:active,.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-toggle:focus{outline:none;-webkit-box-shadow:none;box-shadow:none}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-content{width:150px;font-size:1.1em}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-content ul li{border-top:1px solid #e1e1e1}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-content ul li a{display:block;padding:1em .5em;background-color:#fff}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-content ul li a:hover{background-color:#333;color:#fff}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-content ul li:first-child{border:0}.np-nav-menu-settings li{border:1px solid #e1e1e1;position:relative;border-top:0}.np-nav-menu-settings li.disabled{text-decoration:line-through}.np-nav-menu-settings li.disabled:hover{background-color:inherit !important}.np-nav-menu-settings li.disabled .menu-item .title{opacity:.2}.np-nav-menu-settings li.disabled .menu-item .title:hover .details-button{display:none}.np-nav-menu-settings li.disabled .submenu-toggle a{display:none}.np-nav-menu-settings li.disabled.submenu-open .submenu-listing{display:none}.np-nav-menu-settings li:first-child{border-top:1px solid #e1e1e1}.np-nav-menu-settings li:first-child .hide-checkbox{border-top:0}.np-nav-menu-settings .update-count{display:none}.np-nav-menu-settings .ui-sortable-helper{border:1px solid #e1e1e1;-webkit-box-shadow:1px 1px 1px 0px rgba(0,0,0,0.3);box-shadow:1px 1px 1px 0px rgba(0,0,0,0.3)}.np-nav-menu-settings .menu-item{height:50px;zoom:1;padding:0 80px 0 100px;background-color:#fff}.np-nav-menu-settings .menu-item:before,.np-nav-menu-settings .menu-item:after{content:" ";display:table}.np-nav-menu-settings .menu-item:after{clear:both}.np-nav-menu-settings .menu-item .title{zoom:1;position:relative;padding-right:120px;height:50px}.np-nav-menu-settings .menu-item .title:before,.np-nav-menu-settings .menu-item .title:after{content:" ";display:table}.np-nav-menu-settings .menu-item .title:after{clear:both}.np-nav-menu-settings .menu-item .title.separator{padding-left:40px}.np-nav-menu-settings .menu-item .title p{margin:0;font-size:1em;line-height:50px}.np-nav-menu-settings .menu-item .title .menu-icon{position:absolute;left:0;top:0;height:50px;width:40px;text-align:center}.np-nav-menu-settings .menu-item .title .menu-icon:before{font-size:1.6em;line-height:50px}.np-nav-menu-settings .menu-item .title .details-button{display:none;position:absolute;right:0;top:0;margin:12px 10px 0 0}.np-nav-menu-settings .menu-item .title:hover .details-button{display:block}.np-nav-menu-settings .menu-item .menu-title-field{float:left;margin:0 0 0 40px;position:relative;padding:0;line-height:50px;border:0;-webkit-box-shadow:none;box-shadow:none}.np-nav-menu-settings .menu-item .menu-title-field::-webkit-input-placeholder{color:#333}.np-nav-menu-settings .menu-item .menu-title-field::-moz-placeholder{color:#333}.np-nav-menu-settings .menu-item .menu-title-field::-ms-input-placeholder{color:#333}.np-nav-menu-settings .menu-item .menu-title-field::placeholder{color:#333}.np-nav-menu-settings li.separator .menu-item{background-color:#f9f9f9;padding-right:10px}.np-nav-menu-settings li.separator .menu-item .menu-icon{display:none}.np-nav-menu-settings li.separator .menu-item .details-button{margin-right:0}.np-nav-menu-settings li.separator .menu-item .title{padding-left:10px;padding-right:0;color:#999}.np-nav-menu-settings .ui-sortable-placeholder{background-color:#f9f9f9;border:1px dashed #0074a2 !important;display:block;visibility:visible !important}.np-nav-menu-settings .submenu-toggle{width:50px;height:50px;left:0;border-right:1px solid #e1e1e1;background-color:#f9f9f9;position:absolute}.np-nav-menu-settings .submenu-toggle a{margin:0;display:block;text-decoration:none;width:26px;height:26px;background-color:#fff;border:1px solid #e1e1e1;-webkit-border-radius:50%;border-radius:50%;text-align:center;color:#333;position:relative;top:10px;left:10px;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.np-nav-menu-settings .submenu-toggle a span{margin:0;position:absolute;left:11px;top:8px;display:block;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:6px solid #333}.np-nav-menu-settings .submenu-toggle a.active{background-color:#333;color:#fff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);border-color:#333}.np-nav-menu-settings .submenu-toggle a.active span{border-left-color:#fff}.np-nav-menu-settings .submenu-toggle a:focus,.np-nav-menu-settings .submenu-toggle a:active{outline:none;-webkit-box-shadow:none;box-shadow:none}.np-nav-menu-settings .handle{position:absolute;width:50px;height:50px;left:51px;background-color:#f9f9f9;border-right:1px solid #e5e5e5;text-align:center;line-height:40px;cursor:move}.np-nav-menu-settings .handle .bars{fill:#b3b3b3}.np-nav-menu-settings .handle svg{position:relative;top:10px;width:20px;width:20px}.np-nav-menu-settings .handle:hover{color:#333}.np-nav-menu-settings .hide-checkbox{position:absolute;width:80px;height:50px;top:0;text-align:center;right:0;background-color:#ececec;border-left:1px solid #e1e1e1}.np-nav-menu-settings .hide-checkbox input[type="checkbox"]{position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);margin-top:-5px;left:2px}.np-nav-menu-settings .np-extra-options{display:none;border-top:1px solid #e1e1e1;padding:1em;zoom:1;background-color:#f9f9f9}.np-nav-menu-settings .np-extra-options:before,.np-nav-menu-settings .np-extra-options:after{content:" ";display:table}.np-nav-menu-settings .np-extra-options:after{clear:both}.np-nav-menu-settings .np-extra-options .half{float:left;width:48%;clear:both}.np-nav-menu-settings .np-extra-options .half.right{clear:none;float:right}.np-nav-menu-settings .options-open .np-extra-options{display:block}.np-nav-menu-settings .options-open .menu-item .title .details-button{display:block}.np-nav-menu-settings .options-open.disabled .np-extra-options{display:none}.np-nav-menu-settings .options-open.disabled .menu-item .title .details-button{display:none}.np-nav-menu-settings .submenu-listing{display:none;padding-left:50px;background-color:#f9f9f9;border-top:1px solid #e1e1e1;border-bottom:3px solid #e1e1e1}.np-nav-menu-settings li.submenu-open .submenu-listing{display:block}.np-nav-menu-settings .submenu-item{border:0;border-left:1px solid #e1e1e1;border-top:1px solid #e1e1e1;background-color:#f9f9f9}.np-nav-menu-settings .submenu-item .menu-item{padding-left:50px}.np-nav-menu-settings .submenu-item .title{padding-left:1em}.np-nav-menu-settings .submenu-item:first-child{border-top:0}.np-nav-menu-settings .submenu-item .handle{left:0}.nestedpages.np-dark-mode ol,.np-dark-mode ol{border:0;-webkit-border-radius:0;border-radius:0}.nestedpages.np-dark-mode ol .np-page-type,.np-dark-mode ol .np-page-type{color:#bbc8d4}.nestedpages.np-dark-mode ol .locked,.np-dark-mode ol .locked{color:#fff}.nestedpages.np-dark-mode ol .row-status-icon .icon,.np-dark-mode ol .row-status-icon .icon{fill:#50626f}.nestedpages.np-dark-mode ol .status,.nestedpages.np-dark-mode ol .sticky,.nestedpages.np-dark-mode ol .np-icon-eye-blocked,.nestedpages.np-dark-mode ol .nav-status,.np-dark-mode ol .status,.np-dark-mode ol .sticky,.np-dark-mode ol .np-icon-eye-blocked,.np-dark-mode ol .nav-status{color:#50626f}.nestedpages.np-dark-mode ol .np-assigned-pt-actions li a,.np-dark-mode ol .np-assigned-pt-actions li a{color:#fff;border-color:rgba(0,0,0,0.2)}.nestedpages.np-dark-mode ol .np-seo-indicator,.np-dark-mode ol .np-seo-indicator{background-color:#50626f}.nestedpages.np-dark-mode ol .np-seo-indicator.good,.np-dark-mode ol .np-seo-indicator.good{background-color:#7ad03a}.nestedpages.np-dark-mode ol .np-seo-indicator.ok,.np-dark-mode ol .np-seo-indicator.ok{background-color:#ffba00}.nestedpages.np-dark-mode ol .np-seo-indicator.poor,.np-dark-mode ol .np-seo-indicator.poor{background-color:#ee7c1b}.nestedpages.np-dark-mode ol .np-seo-indicator.bad,.np-dark-mode ol .np-seo-indicator.bad{background-color:#dd3d36}.nestedpages.np-dark-mode ol .np-seo-indicator.warn,.np-dark-mode ol .np-seo-indicator.warn{background-color:maroon}.nestedpages.np-dark-mode ol .np-seo-indicator.wrong,.np-dark-mode ol .np-seo-indicator.wrong{background-color:red}.nestedpages.np-dark-mode ol .np-seo-indicator.noindex,.np-dark-mode ol .np-seo-indicator.noindex{background-color:#1e8cbe}.nestedpages.np-dark-mode ol li,.np-dark-mode ol li{border-top-color:#32373c;background:transparent}.nestedpages.np-dark-mode ol ol,.np-dark-mode ol ol{border-top:1px solid #32373c}.nestedpages.np-dark-mode .np-icon-arrow,.np-dark-mode .np-icon-arrow{border-left-color:#fff}.nestedpages.np-dark-mode .child-toggle a:active,.nestedpages.np-dark-mode .child-toggle a:focus,.np-dark-mode .child-toggle a:active,.np-dark-mode .child-toggle a:focus{-webkit-box-shadow:none;box-shadow:none}.nestedpages.np-dark-mode .non-indent .child-toggle,.np-dark-mode .non-indent .child-toggle{background-color:rgba(0,0,0,0.15)}.nestedpages.np-dark-mode .non-indent .child-toggle a,.np-dark-mode .non-indent .child-toggle a{background-color:#50626f;border:0;color:#fff}.nestedpages.np-dark-mode .non-indent .child-toggle a .np-icon-arrow,.np-dark-mode .non-indent .child-toggle a .np-icon-arrow{border-left-color:#fff}.nestedpages.np-dark-mode .non-indent .child-toggle a:hover,.np-dark-mode .non-indent .child-toggle a:hover{background-color:rgba(0,0,0,0.5)}.nestedpages.np-dark-mode .non-indent .child-toggle a:hover .np-icon-arrow,.np-dark-mode .non-indent .child-toggle a:hover .np-icon-arrow{border-left-color:#fff}.nestedpages.np-dark-mode .handle,.np-dark-mode .handle{color:#50626f}.nestedpages.np-dark-mode .handle .bars,.np-dark-mode .handle .bars{fill:#50626f}.nestedpages.np-dark-mode .np-icon-sub-menu .arrow,.np-dark-mode .np-icon-sub-menu .arrow{fill:#50626f}.nestedpages.np-dark-mode .page-title .link-icon .icon,.np-dark-mode .page-title .link-icon .icon{fill:#50626f}.nestedpages.np-dark-mode .np-bulk-checkbox,.np-dark-mode .np-bulk-checkbox{background:transparent}.nestedpages.np-dark-mode .row,.np-dark-mode .row{background:transparent}.nestedpages.np-dark-mode .row:hover,.nestedpages.np-dark-mode .row.active,.np-dark-mode .row:hover,.np-dark-mode .row.active{background-color:#32373c}.nestedpages.np-dark-mode .row.np-updated,.np-dark-mode .row.np-updated{background-color:#32373c}.nestedpages.np-dark-mode .row.np-updated-show,.np-dark-mode .row.np-updated-show{background-color:#32373c}.nestedpages.np-dark-mode .np-post-columns ul li,.np-dark-mode .np-post-columns ul li{color:#fff;border-left:1px solid rgba(0,0,0,0.4)}.nestedpages.np-dark-mode .np-post-columns ul li:first-child,.np-dark-mode .np-post-columns ul li:first-child{border:0}.nestedpages.np-dark-mode .action-buttons .nestedpages-dropdown .np-btn.toggle svg path.circles,.np-dark-mode .action-buttons .nestedpages-dropdown .np-btn.toggle svg path.circles{fill:#fff}.nestedpages.np-dark-mode .action-buttons .nestedpages-dropdown ul li,.np-dark-mode .action-buttons .nestedpages-dropdown ul li{background-color:#50626f}.nestedpages.np-dark-mode .action-buttons .nestedpages-dropdown ul li a,.np-dark-mode .action-buttons .nestedpages-dropdown ul li a{color:#fff}.nestedpages.np-dark-mode .action-buttons .nestedpages-dropdown ul li a svg path.primary,.np-dark-mode .action-buttons .nestedpages-dropdown ul li a svg path.primary{fill:#fff}.nestedpages.np-dark-mode .nestedpages-list-header,.np-dark-mode .nestedpages-list-header{background-color:#32373c;border:0}.nestedpages.np-dark-mode .nestedpages-list-header .np-check-all,.np-dark-mode .nestedpages-list-header .np-check-all{background:transparent}.nestedpages.np-dark-mode .np-btn,.np-dark-mode .np-btn{color:#fff;display:inline-block;background-color:#50626f;border:1px solid #444}.nestedpages.np-dark-mode .np-btn:hover,.np-dark-mode .np-btn:hover{background-color:#32373c;border-color:#32373c}.nestedpages.np-dark-mode .np-inline-modal,.np-dark-mode .np-inline-modal{background-color:#32373c}.nestedpages.np-dark-mode .quick-edit h3,.nestedpages.np-dark-mode .new-child h3,.np-dark-mode .quick-edit h3,.np-dark-mode .new-child h3{color:#fff}.nestedpages.np-dark-mode .quick-edit h3 span em,.nestedpages.np-dark-mode .new-child h3 span em,.np-dark-mode .quick-edit h3 span em,.np-dark-mode .new-child h3 span em{color:#50626f}.nestedpages.np-dark-mode .quick-edit .fields,.nestedpages.np-dark-mode .new-child .fields,.np-dark-mode .quick-edit .fields,.np-dark-mode .new-child .fields{background:transparent}.nestedpages.np-dark-mode .quick-edit .buttons,.nestedpages.np-dark-mode .new-child .buttons,.np-dark-mode .quick-edit .buttons,.np-dark-mode .new-child .buttons{background-color:rgba(0,0,0,0.15)}.nestedpages.np-dark-mode .quick-edit .form-control.original-link,.nestedpages.np-dark-mode .new-child .form-control.original-link,.np-dark-mode .quick-edit .form-control.original-link,.np-dark-mode .new-child .form-control.original-link{background-color:rgba(0,0,0,0.15);border:0}.nestedpages.np-dark-mode .quick-edit .np-toggle-options,.nestedpages.np-dark-mode .new-child .np-toggle-options,.np-dark-mode .quick-edit .np-toggle-options,.np-dark-mode .new-child .np-toggle-options{background-color:rgba(0,0,0,0.1)}.nestedpages.np-dark-mode .quick-edit .np-taxonomies,.nestedpages.np-dark-mode .quick-edit .np-menuoptions,.nestedpages.np-dark-mode .new-child .np-taxonomies,.nestedpages.np-dark-mode .new-child .np-menuoptions,.np-dark-mode .quick-edit .np-taxonomies,.np-dark-mode .quick-edit .np-menuoptions,.np-dark-mode .new-child .np-taxonomies,.np-dark-mode .new-child .np-menuoptions{background:transparent}.nestedpages.np-dark-mode .quick-edit .np-taxonomy li,.nestedpages.np-dark-mode .new-child .np-taxonomy li,.np-dark-mode .quick-edit .np-taxonomy li,.np-dark-mode .new-child .np-taxonomy li{background:transparent}.nestedpages.np-dark-mode .nestedpages-bulk-edit,.np-dark-mode .nestedpages-bulk-edit{background-color:#32373c;border:0}.nestedpages.np-dark-mode .nestedpages-bulk-edit .np-bulk-titles,.np-dark-mode .nestedpages-bulk-edit .np-bulk-titles{background-color:rgba(0,0,0,0.15);border:0}.nestedpages.np-dark-mode .nestedpages-bulk-edit .np-bulk-titles .np-remove,.np-dark-mode .nestedpages-bulk-edit .np-bulk-titles .np-remove{background-color:#50626f}.nestedpages.np-dark-mode .nestedpages-bulk-edit .np-bulk-footer,.np-dark-mode .nestedpages-bulk-edit .np-bulk-footer{background-color:rgba(0,0,0,0.15)}.nestedpages.np-dark-mode .np-quickedit-error,.np-dark-mode .np-quickedit-error{background-color:#e14d43;color:#fff}.np-modal-form.np-dark-mode .form-interior{background:transparent}.nestedpages-modal-content.np-dark-mode{background-color:#32373c}.nestedpages-modal-content.np-dark-mode h3,.nestedpages-modal-content.np-dark-mode .new-child h3{color:#fff}.nestedpages-modal-content.np-dark-mode .modal-content{background-color:#32373c}.nestedpages-modal-content.np-dark-mode .modal-footer{background-color:rgba(0,0,0,0.15)}.nestedpages-modal-content.np-dark-mode .clone-modal h3{background:transparent}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection{background-color:#32373c;border:0}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li{border:1px solid #32373c;border-top:0}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li a{background-color:#50626f;color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li a:after{color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li a:active,.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li a:focus{-webkit-box-shadow:none;box-shadow:none}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li:first-child{border-top:0}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li ul{padding:0;background:transparent}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li ul li{border-color:#32373c}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li ul li a{background-color:rgba(0,0,0,0.15)}.nestedpages-modal-content.np-dark-mode .np-menu-search{background-color:rgba(0,0,0,0.15)}.nestedpages-modal-content.np-dark-mode .np-menu-search input[type="text"]::-webkit-input-placeholder{color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-search input[type="text"]::-moz-placeholder{color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-search input[type="text"]::-ms-input-placeholder{color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-search input[type="text"]::placeholder{color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-link-details h3 em{color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-link-details .original-link{border:0;background-color:rgba(0,0,0,0.15)}.nestedpages-modal-content.np-dark-mode .np-menu-link-details .fields{background:transparent;padding:0}
|
1 |
+
.np-btn{text-decoration:none;color:#555;display:inline-block;background-color:#f7f7f7;border:1px solid #e1e1e1;padding:5px 8px;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;vertical-align:top}.np-btn:hover{background-color:#0074a2;color:#fff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;border-color:#0074a2}.np-btn:disabled,.np-btn.disabled{opacity:.6;cursor:not-allowed}.np-btn.has-icon{padding:0}.np-btn-half{float:left;width:47%;padding:3px 0px;text-align:center}.np-btn-half.btn-right{float:right}.np-btn-trash{background-color:#e14d43;border-color:#e14d43;color:#fff}.np-btn-trash:hover{background-color:#ba281e;border-color:#ba281e}.np-quickedit-error{border-left:4px solid #dd3d36;padding:4px 0 4px 8px;margin-bottom:10px;background-color:#f9f9f9}.np-quickedit-info{border-left:4px solid #0074a2;padding:4px 0 4px 8px;margin-bottom:10px;background-color:#f9f9f9}.nestedpages-modal-backdrop{position:fixed;width:100%;height:100%;background-color:rgba(0,0,0,0.85);top:0;left:0;z-index:9999;visibility:hidden;opacity:0;-webkit-transition:all 500ms ease;-o-transition:all 500ms ease;transition:all 500ms ease}.nestedpages-modal-backdrop.active{visibility:visible;opacity:1;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.nestedpages-modal-content{z-index:99999;position:fixed;top:-200%;width:90%;height:80%;margin:10px auto 0px auto;background-color:#fff;left:5%;-webkit-transition:all 500ms ease;-o-transition:all 500ms ease;transition:all 500ms ease}.nestedpages-modal-content.small{width:400px;left:50%;margin-left:-200px}.nestedpages-modal-content.short{height:auto}.nestedpages-modal-content.active{top:50%;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.nestedpages-modal-content h5{font-size:1.1em}.nestedpages-modal-content .modal-body{position:relative;padding:10px}.nestedpages-modal-content .modal-body.new-child{padding:0}.nestedpages-modal-content .modal-footer{padding:10px;text-align:right;background-color:#404040;zoom:1}.nestedpages-modal-content .modal-footer:before,.nestedpages-modal-content .modal-footer:after{content:" ";display:table}.nestedpages-modal-content .modal-footer:after{clear:both}.nestedpages-modal-content .modal-footer .modal-close{float:left}.nestedpages-modal-content .modal-open .modal{overflow-x:hidden;overflow-y:auto}.nestedpages-modal-content .modal-content{position:relative;background-color:#fff;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);-webkit-background-clip:padding-box;background-clip:padding-box;outline:0}.nestedpages-modal-full{width:94%;height:94%;-webkit-transform:none;-ms-transform:none;transform:none;left:3%}.nestedpages-modal-full.active{top:3%}.nestedpages-modal-full .modal-header{position:absolute;top:0;left:0;width:100%;height:50px;z-index:4;zoom:1;padding-left:.5em}.nestedpages-modal-full .modal-header:before,.nestedpages-modal-full .modal-header:after{content:" ";display:table}.nestedpages-modal-full .modal-header:after{clear:both}.nestedpages-modal-full .modal-content-interior{padding-top:50px;height:100%}.nestedpages-modal-full .modal-content-interior .modal-content-body{height:100%;max-height:100%}.np-trash-modal{text-align:center}.np-trash-modal .modal-body{padding-bottom:30px}.np-trash-modal .button-primary{margin-left:10px}.clone-modal h3{margin:0;padding:8px;background-color:#e5e5e5}.clone-modal .form-control{margin:0 !important;padding:5px 10px}.np-inline-overlay{position:fixed;width:100%;height:100%;background-color:rgba(0,0,0,0.4);z-index:998;top:0;right:0;bottom:0;left:0;opacity:0;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease}.np-inline-overlay.active{opacity:1;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease}.np-inline-modal{position:relative;z-index:999;background-color:#fff;-webkit-border-radius:0;border-radius:0;-webkit-box-shadow:0px 0px 4px 0px rgba(0,0,0,0.5);box-shadow:0px 0px 4px 0px rgba(0,0,0,0.5)}.nestedpages-listing-title{zoom:1}.nestedpages-listing-title:before,.nestedpages-listing-title:after{content:" ";display:table}.nestedpages-listing-title:after{clear:both}.nestedpages .updated{clear:both}.nestedpages-toggleall.np-btn{float:right}.np-toggle-publish{color:#999}.np-toggle-publish.active{color:#333;font-weight:bold}.np-sync-menu-cont{float:right;margin:0px 15px 0px 0px}.np-sync-menu-cont button{position:relative;top:-5px;padding:5px 8px}.np-sync-menu-cont label{position:relative;top:4px}.nestedpages-top-toggles{float:right;zoom:1;padding-top:10px}.nestedpages-top-toggles:before,.nestedpages-top-toggles:after{content:" ";display:table}.nestedpages-top-toggles:after{clear:both}.np-tab-pane{display:none}.ul.np-tabs,.nestedpages ul.np-tabs{background:transparent;text-align:left;list-style-type:none;margin:0;padding:0;border-bottom:1px solid #ccc;margin-bottom:10px;font-size:0;line-height:0}.ul.np-tabs li,.nestedpages ul.np-tabs li{font-size:13px;line-height:1.4em;display:inline-block;margin:0 0 0 6px;border:0}.ul.np-tabs li a,.nestedpages ul.np-tabs li a{background-color:#e6e6e6;display:block;text-decoration:none;padding:8px 15px;color:#333;border:1px solid #ccc;border-bottom:0}.ul.np-tabs li a:hover,.nestedpages ul.np-tabs li a:hover{background-color:#fff}.ul.np-tabs li a:focus,.ul.np-tabs li a:active,.nestedpages ul.np-tabs li a:focus,.nestedpages ul.np-tabs li a:active{outline:none;-webkit-box-shadow:none;box-shadow:none}.ul.np-tabs li.active a,.nestedpages ul.np-tabs li.active a{font-weight:bold;position:relative;color:#333;background-color:#fff}.ul.np-tabs li.active a:after,.nestedpages ul.np-tabs li.active a:after{position:absolute;width:100%;height:2px;content:'';background-color:#fff;left:0;bottom:-1px}.nestedpages-datepicker.ui-datepicker{background-color:#fff;font-size:90%;-webkit-box-shadow:0px 0px 3px 0px rgba(0,0,0,0.4);box-shadow:0px 0px 3px 0px rgba(0,0,0,0.4);-webkit-border-radius:3px;border-radius:3px;padding:0;width:auto}.nestedpages-datepicker.ui-datepicker .ui-datepicker-next,.nestedpages-datepicker.ui-datepicker .ui-datepicker-prev{position:absolute;color:#fff;top:0px;right:0px;cursor:pointer;display:block;width:35px;height:35px;font-size:0;background:url("../images/datepicker-arrow-next.png");background-position:center;opacity:1;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease}.nestedpages-datepicker.ui-datepicker .ui-datepicker-next:hover,.nestedpages-datepicker.ui-datepicker .ui-datepicker-prev:hover{opacity:.5;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar{margin:0}.nestedpages-datepicker.ui-datepicker .ui-datepicker-prev{right:auto;left:0px;background:url("../images/datepicker-arrow-prev.png")}.nestedpages-datepicker.ui-datepicker .ui-datepicker-header{padding:0}.nestedpages-datepicker.ui-datepicker .ui-datepicker-title{background-color:#1a1a1a;text-align:center;color:#fff;height:35px;line-height:35px;-webkit-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;margin:0}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar{border-collapse:collapse}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar table{width:auto}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar th,.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar td{text-align:center;width:30px;height:30px}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar th{background-color:#e6e6e6;text-transform:uppercase;font-size:11px;letter-spacing:1px;padding:0}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar td{border-top:1px solid #ebebeb;border-left:1px solid #ebebeb;padding:0}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar td:first-child{border-left:0}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar a{text-align:center;padding:0;text-decoration:none;color:#333;display:block;background-color:#fff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;width:30px;height:30px;line-height:30px}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar a.ui-state-active{background-color:#1a1a1a;color:#fff}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar a:hover{background-color:#333;color:#fff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.nestedpages-dropdown{position:relative;z-index:3;display:inline-block}.nestedpages-dropdown-content{display:none;position:absolute;top:40px;left:0;z-index:2;background-color:#fff;width:250px;text-align:left;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:1px 1px 3px 0px rgba(51,51,51,0.4);box-shadow:1px 1px 3px 0px rgba(51,51,51,0.4)}.nestedpages-dropdown-content.padded{padding:1em}.nestedpages-dropdown-content p{line-height:1.4;margin:0}.nestedpages-dropdown-content.right{left:auto;right:0}.nestedpages-dropdown-content ul{list-style-type:none;margin:0;padding:0;zoom:1}.nestedpages-dropdown-content ul:before,.nestedpages-dropdown-content ul:after{content:" ";display:table}.nestedpages-dropdown-content ul:after{clear:both}.nestedpages-dropdown-content ul li{float:none;width:100%;margin:0;line-height:1}.nestedpages-dropdown-content ul li a{display:block;color:#333;text-decoration:none}.nestedpages-dropdown-content ul li:first-child a{border:0}.nestedpages-dropdown-content.active{display:block}#nested-loading{display:none;float:right;width:30px;height:30px;margin:0px 20px 0 0;position:relative}#nested-loading svg{width:30px;height:30px;-webkit-animation:nestedpagesRotate linear 1.25s infinite;animation:nestedpagesRotate linear 1.25s infinite;position:absolute;left:0;top:0;line-height:.1}#nested-loading svg path{fill:#999}.np-qe-loading,.np-default-loading,.np-menu-search-loading{display:none;float:right;width:25px;height:25px;margin:2px 10px 0 0;position:relative;-webkit-animation:nestedpagesRotate linear 1.25s infinite;animation:nestedpagesRotate linear 1.25s infinite}.np-qe-loading svg,.np-default-loading svg,.np-menu-search-loading svg{position:absolute;left:0;top:0;width:25px;height:25px}.np-qe-loading svg path,.np-default-loading svg path,.np-menu-search-loading svg path{fill:#fff}.np-default-loading{float:none;margin:0}.np-default-loading svg path{fill:#999}@-webkit-keyframes nestedpagesRotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transform-origin:center center;transform-origin:center center}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-transform-origin:center center;transform-origin:center center}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg);-webkit-transform-origin:center center;transform-origin:center center}}@keyframes nestedpagesRotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transform-origin:center center;transform-origin:center center}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-transform-origin:center center;transform-origin:center center}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg);-webkit-transform-origin:center center;transform-origin:center center}}.nestedpages-tools{zoom:1;clear:both;clear:both;margin:20px 0px 5px 0px}.nestedpages-tools:before,.nestedpages-tools:after{content:" ";display:table}.nestedpages-tools:after{clear:both}.nestedpages-tools .subsubsub{margin:0}.nestedpages-tools .np-tools-primary{clear:left;padding-top:8px}.nestedpages-tools .select{float:left;margin-left:5px}.nestedpages-tools .select:first-child{margin-left:0}.nestedpages-tools .np-tools-sort{float:left}.nestedpages-tools .np-tools-search{float:right}.wppages-handle-expand{float:left;background-color:#f2f2f2;font-size:18px;width:46px;height:46px;margin-right:5px;text-align:center;border-right:1px solid #e1e1e1}.wppages-handle-expand div{background-color:#fff;border:1px solid #e1e1e1;width:24px;height:24px;line-height:24px;-webkit-border-radius:15px;border-radius:15px;margin-top:9px;cursor:pointer;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.wppages-handle-expand div:hover{background-color:#0074a2;border-color:#0074a2;color:#fff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.nestedpages{clear:both;-webkit-border-radius:4px;border-radius:4px}.nestedpages .ui-sortable-placeholder{display:block !important;position:relative;min-height:46px;border:0;border:1px dashed #0074a2 !important;background-color:#effaff;margin:0}.nestedpages .ui-sortable-helper{opacity:0.8;-webkit-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.5);box-shadow:2px 2px 3px 0px rgba(0,0,0,0.5)}.nestedpages ol{list-style-type:none;clear:both;margin:0;border:1px solid #e5e5e5;-webkit-border-radius:3px;border-radius:3px}.nestedpages ol a{text-decoration:none}.nestedpages ol .page-link .edit-indicator{margin-left:10px;display:none}.nestedpages ol .page-link .edit-indicator i{font-size:12px;margin-right:3px}.nestedpages ol .page-link:hover .edit-indicator{display:inline}.nestedpages ol .np-page-type{color:#333}.nestedpages ol .locked{color:#333;margin-left:10px;padding-left:20px;position:relative}.nestedpages ol .locked svg{position:absolute;left:0;top:-5px;width:15px;height:24px}.nestedpages ol .locked em{font-style:normal}.nestedpages ol .row-status-icon{width:18px;height:18px;display:inline-block;vertical-align:middle;margin-left:5px}.nestedpages ol .row-status-icon .icon{fill:#b3b3b3}.nestedpages ol .status{color:#999}.nestedpages ol .sticky{color:#999}.nestedpages ol .np-icon-eye-blocked{color:#999}.nestedpages ol .nav-status{color:#b3b3b3}.nestedpages ol .np-hide{display:none}.nestedpages ol .np-assigned-pt-actions{list-style-type:none;margin:0;padding:0;display:inline-block;vertical-align:middle;margin-left:10px}.nestedpages ol .np-assigned-pt-actions li{display:none;background:transparent;border:0}.nestedpages ol .np-assigned-pt-actions li.visible{display:inline-block}.nestedpages ol .np-assigned-pt-actions li a{color:#333;display:block;border-left:1px solid #e1e1e1;padding:0 5px}.nestedpages ol .np-assigned-pt-actions li:first-child a{border:0;padding-left:0}.nestedpages ol .np-seo-indicator{display:block;position:absolute;right:10px;top:50%;margin-top:-6px;width:12px;height:12px;-webkit-border-radius:50%;border-radius:50%;background-color:#999}.nestedpages ol .np-seo-indicator.good{background-color:#7ad03a}.nestedpages ol .np-seo-indicator.ok{background-color:#ffba00}.nestedpages ol .np-seo-indicator.poor{background-color:#ee7c1b}.nestedpages ol .np-seo-indicator.bad{background-color:#dd3d36}.nestedpages ol .np-seo-indicator.warn{background-color:maroon}.nestedpages ol .np-seo-indicator.wrong{background-color:red}.nestedpages ol .np-seo-indicator.noindex{background-color:#1e8cbe}.nestedpages ol li{margin:0;border-top:1px solid #e1e1e1;background-color:#0074a2}.nestedpages ol li.first{border:0}.nestedpages ol li:first-child{border:0}.nestedpages ol li.no-border{border:0}.nestedpages ol ol{display:none;-webkit-border-radius:0;border-radius:0;list-style-type:none;border:0;-webkit-box-shadow:none;box-shadow:none;border-top:1px solid #e1e1e1}.nestedpages .np-search-results .np-hide{display:block}.nestedpages .child-toggle{display:table-cell;width:30px;text-align:left}.nestedpages .child-toggle .child-toggle-spacer{display:inline-block;vertical-align:middle;height:50px;width:1px}.nestedpages .child-toggle a{display:inline-block;text-align:center;vertical-align:middle;width:29px;height:29px;line-height:29px;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.nestedpages .child-toggle a.open{-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.nestedpages .child-toggle a:focus,.nestedpages .child-toggle a:active{outline:none}.nestedpages .np-icon-arrow{display:inline-block;vertical-align:middle;width:0;height:0;position:relative;top:-3px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:6px solid #333}.nestedpages .non-indent .child-toggle{width:46px;background-color:#f0f0f0;position:relative}.nestedpages .non-indent .child-toggle .child-toggle-spacer{display:block;height:46px;width:46px}.nestedpages .non-indent .child-toggle a{position:absolute;top:50%;display:inline-block;vertical-align:middle;left:8px;margin-top:-16px;width:28px;height:28px;background-color:#fff;border:1px solid #e1e1e1;-webkit-border-radius:50%;border-radius:50%;line-height:28px;color:#333;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.nestedpages .non-indent .child-toggle a.open{-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.nestedpages .non-indent .child-toggle a:hover{background-color:#333;border-color:#333}.nestedpages .non-indent .child-toggle a:hover .np-icon-arrow{border-left-color:#fff}.nestedpages .non-indent .np-icon-arrow{border-top-width:4px;border-bottom-width:4px;border-left-width:6px}.nestedpages .handle{display:inline-block;opacity:.4;vertical-align:middle;cursor:move;position:relative;top:-1px;width:20px;height:20px;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.nestedpages .handle .bars{fill:#b3b3b3}.nestedpages .handle:hover{-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;color:#0074a2}.nestedpages .np-icon-sub-menu{display:none;vertical-align:middle;width:20px;height:20px}.nestedpages .np-icon-sub-menu .arrow{fill:#999}.nestedpages .row.no-sort .page-title{padding-left:10px}.nestedpages .row.no-sort-filtered .page-title{padding-left:34px}.nestedpages .page-title{display:inline-block;vertical-align:middle}.nestedpages .page-title .link-icon{width:20px;height:20px;display:inline;vertical-align:middle;margin-left:8px;position:relative;top:-2px}.nestedpages .page-title .link-icon .icon{fill:#b3b3b3}.nestedpages .np-thumbnail{display:table-cell;width:80px;vertical-align:middle;zoom:1}.nestedpages .np-thumbnail:before,.nestedpages .np-thumbnail:after{content:" ";display:table}.nestedpages .np-thumbnail:after{clear:both}.nestedpages .np-thumbnail img{float:right;width:100%;height:auto}.nestedpages .np-thumbnail.large{width:150px}.nestedpages .np-thumbnail.small{width:50px}.nestedpages .np-thumbnail.link{text-align:center}.nestedpages .np-bulk-checkbox{display:table-cell;width:33px;vertical-align:middle;text-align:center;background-color:#f0f0f0}.nestedpages .np-bulk-checkbox input[type="checkbox"]{margin-right:0}.nestedpages .handle,.nestedpages .np-icon-sub-menu{width:30px;text-align:center;vertical-align:middle}.nestedpages .non-indent li ol .row .np-icon-sub-menu{display:inline-block}.nestedpages .non-indent li ol .row .handle{display:none}.nestedpages .non-indent li ol .row:hover .np-icon-sub-menu{display:none}.nestedpages .non-indent li ol .row:hover .handle{display:inline-block}.nestedpages .non-indent li ol .row.no-sort .np-icon-sub-menu{display:inline-block}.nestedpages .no-sort ol li .row:hover .np-icon-sub-menu{display:inline-block}.nestedpages .row{background-color:#fff;display:table;width:100%}.nestedpages .row:hover,.nestedpages .row.active{background-color:#f0f0f0}.nestedpages .row:hover .handle,.nestedpages .row.active .handle{opacity:1}.nestedpages .row:hover .np-assigned-pt-actions li,.nestedpages .row.active .np-assigned-pt-actions li{display:inline-block}.nestedpages .row:hover .cell.custom-column,.nestedpages .row.active .cell.custom-column{visibility:hidden}.nestedpages .row.np-updated{background-color:#e9f7df;-webkit-transition:background-color 400ms ease;-o-transition:background-color 400ms ease;transition:background-color 400ms ease}.nestedpages .row.np-updated-show{background-color:#fff;-webkit-transition:background-color 400ms ease;-o-transition:background-color 400ms ease;transition:background-color 400ms ease}.nestedpages .row.search .page-title{padding-left:10px}.nestedpages .non-hierarchical-spacer{height:47px}.nestedpages .row-inner{display:table-cell;vertical-align:middle;position:relative}.nestedpages ol li ol .row-inner{padding-left:0px}.nestedpages ol li ol li ol .row-inner{padding-left:20px}.nestedpages ol li ol li ol li ol .row-inner{padding-left:40px}.nestedpages ol li ol li ol li ol li ol .row-inner{padding-left:60px}.nestedpages ol li ol li ol li ol li ol li ol .row-inner{padding-left:80px}.nestedpages .np-post-columns{float:right;margin:3px 20px 0px 0px;zoom:1}.nestedpages .np-post-columns:before,.nestedpages .np-post-columns:after{content:" ";display:table}.nestedpages .np-post-columns:after{clear:both}.nestedpages .np-post-columns ul li{background:transparent;color:gray;border:0;float:left;margin-left:8px;padding-left:8px;border-left:1px solid #ccc}.nestedpages .np-post-columns ul li:first-child{margin-left:0;padding-left:0;border:0}.nestedpages .has-yoast .np-post-columns{margin-right:30px}.nestedpages .has-custom-columns .np-post-columns{display:none}.nestedpages .action-buttons{display:none;position:absolute;right:10px;top:50%;margin-top:-15px}.nestedpages .action-buttons a{margin:0 0 0 -5px;padding:0 .5em;height:30px;line-height:30px}.nestedpages .action-buttons a.np-btn-trash{margin-left:4px}.nestedpages .action-buttons a.np-btn-trash svg{width:20px;height:20px;position:relative;top:4px}.nestedpages .action-buttons a.np-btn-trash svg .icon{fill:#fff}.nestedpages .action-buttons .nestedpages-dropdown{display:inline-block;vertical-align:middle}.nestedpages .action-buttons .nestedpages-dropdown .np-btn.toggle{background:transparent;border:0}.nestedpages .action-buttons .nestedpages-dropdown .np-btn.toggle svg{position:relative;top:4px}.nestedpages .action-buttons .nestedpages-dropdown .np-btn.toggle:active,.nestedpages .action-buttons .nestedpages-dropdown .np-btn.toggle:focus{-webkit-box-shadow:none;box-shadow:none}.nestedpages .action-buttons .nestedpages-dropdown .np-btn.toggle.active{color:gray}.nestedpages .action-buttons .nestedpages-dropdown ul{left:auto;right:5px;width:180px}.nestedpages .action-buttons .nestedpages-dropdown ul li{background-color:#fff}.nestedpages .action-buttons .nestedpages-dropdown ul li a{display:block;color:#333;line-height:1.2;height:auto;margin:0;padding:10px 5px 10px 30px;position:relative}.nestedpages .action-buttons .nestedpages-dropdown ul li a.disabled{opacity:.3}.nestedpages .action-buttons .nestedpages-dropdown ul li a svg{position:absolute;left:0;width:20px;height:20px;top:8px;margin-right:5px;margin-left:5px}.np-search{float:right}.nestedpages-list-header{background-color:#fff;border:1px solid #e1e1e1;border-bottom:0;height:46px;zoom:1}.nestedpages-list-header:before,.nestedpages-list-header:after{content:" ";display:table}.nestedpages-list-header:after{clear:both}.nestedpages-list-header .np-check-all{float:right;width:33px;text-align:center;line-height:46px;background-color:#f0f0f0}.nestedpages-list-header .np-check-all input[type="checkbox"]{margin:0}.nestedpages-list-header .np-check-all input[type="checkbox"].check-all-partial:checked:before{content:"-";margin:0;margin-top:-9px}.nestedpages-list-header .np-hidden-select-count{display:none;float:right;margin:0 1em 0 0;line-height:46px;font-style:oblique}.nestedpages-list-header .np-bulk-form{padding-right:3px;float:right;margin-right:5px;position:relative;top:9px}.nestedpages-list-header .np-bulk-form select,.nestedpages-list-header .np-bulk-form input[type="submit"]{display:inline-block}@media (min-width: 768px){.nestedpages .row:hover .action-buttons,.nestedpages .row.active .action-buttons{display:block}.nestedpages .row:hover .np-post-columns,.nestedpages .row.active .np-post-columns{display:none}}@media (max-width: 767px){.nestedpages ol .page-link{line-height:24px}.nestedpages ol .page-link:hover span{display:none}.nestedpages ol .locked em{display:none}.nestedpages .child-toggle{background:transparent}.nestedpages .row{height:auto}.nestedpages .action-buttons{display:none;background-color:#0074a2;float:none;margin:0;padding:8px}.nestedpages .action-buttons a{margin-left:5px}}.nestedpages .quick-edit .header,.nestedpages .new-child .header{padding:10px 0px 0 0px;background-color:#f2f2f2;position:relative}.nestedpages .quick-edit .header h3,.nestedpages .new-child .header h3{position:absolute;right:10px;top:15px;font-size:12px}.nestedpages .quick-edit .header h3 span,.nestedpages .new-child .header h3 span{display:inline-block;float:none;margin-left:10px}.nestedpages .quick-edit .header.no-tabs,.nestedpages .new-child .header.no-tabs{zoom:1;padding:10px;border-bottom:1px solid #ccc}.nestedpages .quick-edit .header.no-tabs:before,.nestedpages .quick-edit .header.no-tabs:after,.nestedpages .new-child .header.no-tabs:before,.nestedpages .new-child .header.no-tabs:after{content:" ";display:table}.nestedpages .quick-edit .header.no-tabs:after,.nestedpages .new-child .header.no-tabs:after{clear:both}.nestedpages .quick-edit .header.no-tabs h3,.nestedpages .new-child .header.no-tabs h3{position:relative;top:5px;right:auto;float:right}.nestedpages .quick-edit .np-menuoptions-description,.nestedpages .new-child .np-menuoptions-description{background-color:#f2f2f2;margin-bottom:15px;margin-top:-8px;padding:8px 10px;border:1px solid #e1e1e1}.nestedpages .quick-edit .np-menuoptions-description p,.nestedpages .new-child .np-menuoptions-description p{margin:0 0 2px 0}.nestedpages .quick-edit .np-menuoptions-description p.note,.nestedpages .new-child .np-menuoptions-description p.note{font-size:.9em;margin:0;opacity:.7}.nestedpages .quick-edit .form-interior,.nestedpages .new-child .form-interior{padding:10px}.nestedpages .quick-edit h3,.nestedpages .new-child h3{margin:0 0 8px 0;font-size:14px}.nestedpages .quick-edit h3 span,.nestedpages .new-child h3 span{float:right;font-size:12px}.nestedpages .quick-edit h3 span em,.nestedpages .new-child h3 span em{font-weight:normal;font-style:normal;color:gray}.nestedpages .quick-edit .fields,.nestedpages .new-child .fields{margin-bottom:10px;background:url("../images/border.png") repeat-y;background-position:center;zoom:1}.nestedpages .quick-edit .fields:before,.nestedpages .quick-edit .fields:after,.nestedpages .new-child .fields:before,.nestedpages .new-child .fields:after{content:" ";display:table}.nestedpages .quick-edit .fields:after,.nestedpages .new-child .fields:after{clear:both}.nestedpages .quick-edit .left,.nestedpages .new-child .left{float:left;width:48%}.nestedpages .quick-edit .right,.nestedpages .new-child .right{float:right;width:48%}.nestedpages .quick-edit label,.nestedpages .new-child label{font-style:oblique}.nestedpages .quick-edit .buttons,.nestedpages .new-child .buttons{clear:both;zoom:1;background-color:#404040;padding:8px}.nestedpages .quick-edit .buttons:before,.nestedpages .quick-edit .buttons:after,.nestedpages .new-child .buttons:before,.nestedpages .new-child .buttons:after{content:" ";display:table}.nestedpages .quick-edit .buttons:after,.nestedpages .new-child .buttons:after{clear:both}.nestedpages .quick-edit .form-control,.nestedpages .new-child .form-control{clear:both;zoom:1;margin-bottom:5px}.nestedpages .quick-edit .form-control:before,.nestedpages .quick-edit .form-control:after,.nestedpages .new-child .form-control:before,.nestedpages .new-child .form-control:after{content:" ";display:table}.nestedpages .quick-edit .form-control:after,.nestedpages .new-child .form-control:after{clear:both}.nestedpages .quick-edit .form-control input[type='text'],.nestedpages .quick-edit .form-control input[type='password'],.nestedpages .quick-edit .form-control select,.nestedpages .new-child .form-control input[type='text'],.nestedpages .new-child .form-control input[type='password'],.nestedpages .new-child .form-control select{float:right;width:75%}.nestedpages .quick-edit .form-control label,.nestedpages .new-child .form-control label{float:left;width:20%}.nestedpages .quick-edit .form-control.original-link,.nestedpages .new-child .form-control.original-link{background-color:#f9f9f9;border:1px solid #e1e1e1;padding:5px;font-style:oblique;margin-bottom:8px}.nestedpages .quick-edit .form-control.password label,.nestedpages .new-child .form-control.password label{width:25%}.nestedpages .quick-edit .form-control.password input[type="text"],.nestedpages .new-child .form-control.password input[type="text"]{float:left;width:35%}.nestedpages .quick-edit .form-control.password .private,.nestedpages .new-child .form-control.password .private{float:right;width:35%;margin-top:4px}.nestedpages .quick-edit .form-control.password .private label,.nestedpages .new-child .form-control.password .private label{width:auto;float:none}.nestedpages .quick-edit .form-control.np-datepicker-container .datetime,.nestedpages .new-child .form-control.np-datepicker-container .datetime{float:right;width:75%}.nestedpages .quick-edit .form-control.np-datepicker-container .np-time-container,.nestedpages .new-child .form-control.np-datepicker-container .np-time-container{float:left;width:45%;margin:0;position:relative}.nestedpages .quick-edit .form-control.np-datepicker-container .np-time-container input[type="text"],.nestedpages .new-child .form-control.np-datepicker-container .np-time-container input[type="text"]{float:left;width:55%}.nestedpages .quick-edit .form-control.np-datepicker-container .np-time-container select,.nestedpages .new-child .form-control.np-datepicker-container .np-time-container select{float:right;width:35%}.nestedpages .quick-edit .form-control.np-datepicker-container .np_datepicker,.nestedpages .new-child .form-control.np-datepicker-container .np_datepicker{float:left;width:45%;margin:0}.nestedpages .quick-edit .form-control.np-datepicker-container .np_datepicker.full,.nestedpages .new-child .form-control.np-datepicker-container .np_datepicker.full{width:100%}.nestedpages .quick-edit .form-control.np-datepicker-container span,.nestedpages .new-child .form-control.np-datepicker-container span{float:left;width:10%;display:block;text-align:center;padding-top:3px}.nestedpages .quick-edit .form-control.full label,.nestedpages .new-child .form-control.full label{width:auto}.nestedpages .quick-edit .form-control.full.checkbox label,.nestedpages .new-child .form-control.full.checkbox label{padding:5px 0 5px 25%}.nestedpages .quick-edit .comments,.nestedpages .new-child .comments{float:right;width:75%;margin-bottom:10px;zoom:1}.nestedpages .quick-edit .comments:before,.nestedpages .quick-edit .comments:after,.nestedpages .new-child .comments:before,.nestedpages .new-child .comments:after{content:" ";display:table}.nestedpages .quick-edit .comments:after,.nestedpages .new-child .comments:after{clear:both}.nestedpages .quick-edit .dates,.nestedpages .new-child .dates{float:right;width:75%;margin-bottom:6px}.nestedpages .quick-edit .dates select,.nestedpages .new-child .dates select{width:25%}.nestedpages .quick-edit .dates input,.nestedpages .new-child .dates input{width:12%}.nestedpages .quick-edit .np-taxonomies,.nestedpages .quick-edit .np-menuoptions,.nestedpages .new-child .np-taxonomies,.nestedpages .new-child .np-menuoptions{zoom:1;background-color:#fff}.nestedpages .quick-edit .np-taxonomies:before,.nestedpages .quick-edit .np-taxonomies:after,.nestedpages .quick-edit .np-menuoptions:before,.nestedpages .quick-edit .np-menuoptions:after,.nestedpages .new-child .np-taxonomies:before,.nestedpages .new-child .np-taxonomies:after,.nestedpages .new-child .np-menuoptions:before,.nestedpages .new-child .np-menuoptions:after{content:" ";display:table}.nestedpages .quick-edit .np-taxonomies:after,.nestedpages .quick-edit .np-menuoptions:after,.nestedpages .new-child .np-taxonomies:after,.nestedpages .new-child .np-menuoptions:after{clear:both}.nestedpages .quick-edit .np-taxonomy,.nestedpages .new-child .np-taxonomy{float:left;width:30%;margin-right:3.33%}.nestedpages .quick-edit .np-taxonomy .title,.nestedpages .new-child .np-taxonomy .title{font-weight:bold;margin-bottom:4px;display:block}.nestedpages .quick-edit .np-taxonomy li,.nestedpages .new-child .np-taxonomy li{background-color:#fff;border:0}.nestedpages .quick-edit .np-taxonomy textarea,.nestedpages .new-child .np-taxonomy textarea{width:100%;height:6.5em}.nestedpages .quick-edit .np-menuoptions .left label,.nestedpages .new-child .np-menuoptions .left label{width:30%}.nestedpages .quick-edit .np-menuoptions .left input,.nestedpages .new-child .np-menuoptions .left input{width:65%}.nestedpages .quick-edit .np-menuoptions .right label,.nestedpages .new-child .np-menuoptions .right label{margin-bottom:5px;display:block;float:none;width:100%}.nestedpages .quick-edit .np-hide-options,.nestedpages .new-child .np-hide-options{display:none;background-color:#f0f0f0;-webkit-border-radius:3px;border-radius:3px;clear:both;padding:6px;-webkit-box-sizing:border-box;box-sizing:border-box}.nestedpages .quick-edit .np-hide-options p,.nestedpages .new-child .np-hide-options p{margin:0}.nestedpages .quick-edit .np-hide-options label,.nestedpages .new-child .np-hide-options label{display:block;margin-top:4px;font-style:normal}.nestedpages .quick-edit .new-page-titles,.nestedpages .new-child .new-page-titles{display:block;border:0}.nestedpages .quick-edit .new-page-titles li,.nestedpages .new-child .new-page-titles li{background:transparent;border:0;padding:4px;zoom:1}.nestedpages .quick-edit .new-page-titles li:before,.nestedpages .quick-edit .new-page-titles li:after,.nestedpages .new-child .new-page-titles li:before,.nestedpages .new-child .new-page-titles li:after{content:" ";display:table}.nestedpages .quick-edit .new-page-titles li:after,.nestedpages .new-child .new-page-titles li:after{clear:both}.nestedpages .quick-edit .new-page-titles li:nth-child(even),.nestedpages .new-child .new-page-titles li:nth-child(even){background-color:#f0f0f0}.nestedpages .quick-edit .new-page-titles li label,.nestedpages .new-child .new-page-titles li label{margin-top:7px}.nestedpages .quick-edit .new-page-titles .form-control,.nestedpages .new-child .new-page-titles .form-control{float:right;width:90%;clear:none}.nestedpages .quick-edit .new-page-titles .np-icon-menu,.nestedpages .new-child .new-page-titles .np-icon-menu{float:left;margin-top:0px;width:24px;height:24px;position:relative;top:5px}.nestedpages .quick-edit .new-page-titles .new-child-row div,.nestedpages .new-child .new-page-titles .new-child-row div{float:right;width:75%;margin:2px;zoom:1}.nestedpages .quick-edit .new-page-titles .new-child-row div:before,.nestedpages .quick-edit .new-page-titles .new-child-row div:after,.nestedpages .new-child .new-page-titles .new-child-row div:before,.nestedpages .new-child .new-page-titles .new-child-row div:after{content:" ";display:table}.nestedpages .quick-edit .new-page-titles .new-child-row div:after,.nestedpages .new-child .new-page-titles .new-child-row div:after{clear:both}.nestedpages .quick-edit .new-page-titles .new-child-row div input[type='text'],.nestedpages .new-child .new-page-titles .new-child-row div input[type='text']{float:left;width:80%}.nestedpages .quick-edit .new-page-titles .new-child-row div a,.nestedpages .new-child .new-page-titles .new-child-row div a{float:right}.np-modal.nestedpages .new-child .right .form-control input[type='text'],.np-modal.nestedpages .new-child .right .form-control input[type='password'],.np-modal.nestedpages .new-child .right .form-control select{float:none;width:100%}.np-modal.nestedpages .new-child .right .form-control label{float:none;width:100%}.np-modal.nestedpages .new-child .right .form-control.full label{padding-left:0}.np-modal.nestedpages .new-child .new-page-titles .form-control{width:85%}.np-modal.nestedpages .new-child .new-page-titles .form-control div{width:100%}.np-modal.nestedpages .new-child .left label{display:none}@media (max-width: 767px){.nestedpages .quick-edit .fields{background:transparent}.nestedpages .quick-edit .left,.nestedpages .quick-edit .right{float:none;width:100%}.nestedpages .quick-edit .form-control{margin-bottom:10px}.nestedpages .quick-edit .form-control input[type='text'],.nestedpages .quick-edit .form-control input[type='password'],.nestedpages .quick-edit .form-control select{float:none;width:100%}.nestedpages .quick-edit .form-control label{display:block;float:none;width:100%;margin-bottom:4px}.nestedpages .quick-edit .form-control.np-datepicker-container .datetime{float:none;width:100%}.nestedpages .quick-edit .comments{float:none;width:100%}.nestedpages .quick-edit .dates{float:none;width:100%;margin-bottom:6px}}.np-modal-form .form-interior{zoom:1;background:url("../images/border.png") repeat-y;background-position:center;padding:5px 0}.np-modal-form .form-interior:before,.np-modal-form .form-interior:after{content:" ";display:table}.np-modal-form .form-interior:after{clear:both}.np-modal-form .form-control{zoom:1;margin-bottom:10px}.np-modal-form .form-control:before,.np-modal-form .form-control:after{content:" ";display:table}.np-modal-form .form-control:after{clear:both}.np-modal-form .checkbox{margin-bottom:10px}.np-modal-form .left{float:left;width:45%}.np-modal-form .right{float:right;width:45%;padding-top:18px}.np-modal-form label{display:block}.np-modal-form input[type="text"],.np-modal-form select{width:100%}.np-modal-form .buttons{clear:both}.np-new-child-form.in-modal{padding-bottom:50px}.modal-body.np-menu-item-form{height:100%;padding:0;border-top:1px solid #e1e1e1;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.np-link-modal-content .np-tabbed-content,.np-link-modal-content .new-child{height:100%}.np-link-modal-content .np-tabbed-content form,.np-link-modal-content .new-child form{height:94%}.np-link-modal-content .modal-content,.np-link-modal-content .form-interior{position:relative;height:100%}.np-link-modal-content .form-interior{overflow:auto}.np-link-modal-content .modal-footer,.np-link-modal-content .buttons{position:absolute;left:0;width:100%;bottom:0;padding:0}.np-link-modal-content .buttons{padding:0 !important}.np-link-modal-content .footer-inner,.np-link-modal-content .buttons-inner{padding:10px;zoom:1}.np-link-modal-content .footer-inner:before,.np-link-modal-content .footer-inner:after,.np-link-modal-content .buttons-inner:before,.np-link-modal-content .buttons-inner:after{content:" ";display:table}.np-link-modal-content .footer-inner:after,.np-link-modal-content .buttons-inner:after{clear:both}.np-menu-type-selection{overflow:auto;width:35%;padding:15px;background-color:#f9f9f9;border-right:1px solid #e1e1e1;-webkit-box-sizing:border-box;box-sizing:border-box}.np-menu-type-selection ul{list-style-type:none;margin:0;padding:0;border:1px solid #e5e5e5;-webkit-border-radius:3px;border-radius:3px;border:0}.np-menu-type-selection ul li{margin:0;border:1px solid #e5e5e5;border-top:0}.np-menu-type-selection ul li a{background-color:#fff;display:block;text-decoration:none;padding:15px 10px;position:relative;color:#333;font-weight:bold;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.np-menu-type-selection ul li a:hover{background-color:#ebebeb;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.np-menu-type-selection ul li a:after{position:absolute;font-family:"dashicons";content:"\f140";font-size:18px;right:10px;top:15px;color:gray}.np-menu-type-selection ul li a.active:after{content:"\f142"}.np-menu-type-selection ul li a.np-custom-link:after{content:"\f139"}.np-menu-type-selection ul li a.np-custom-link.active{background-color:#0074a2;color:#fff}.np-menu-type-selection ul li a.np-custom-link.active:after{content:"\f335";color:#fff}.np-menu-type-selection ul li a:active,.np-menu-type-selection ul li a:focus{-webkit-box-shadow:none;box-shadow:none}.np-menu-type-selection ul li a.no-terms{color:#b3b3b3}.np-menu-type-selection ul li a.no-terms span{float:right;font-weight:normal;font-style:oblique}.np-menu-type-selection ul li a.no-terms:after{content:''}.np-menu-type-selection ul li a.no-terms:hover{background-color:#fff;cursor:default}.np-menu-type-selection ul li a.no-terms.section{padding:8px 10px;background-color:#333;color:#fff}.np-menu-type-selection ul li:first-child{border-top:1px solid #e5e5e5}.np-menu-type-selection ul li ul{display:none;-webkit-box-shadow:none;box-shadow:none;padding:10px;background-color:#fff}.np-menu-type-selection ul li ul li{border-color:#e0e0e0}.np-menu-type-selection ul li ul li a{padding:8px;background-color:#f9f9f9;font-weight:normal}.np-menu-type-selection ul li ul li a:after{content:"\f139";top:8px;right:5px}.np-menu-type-selection ul li ul li a.active{background-color:#0074a2;color:#fff}.np-menu-type-selection ul li ul li a.active:after{content:"\f335";color:#fff}.np-menu-link-object{width:65%;overflow:auto}.np-menu-link-object-placeholder{text-align:center;position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);color:#b3b3b3}.np-menu-search{padding:10px;background-color:#f9f9f9}.np-menu-search input[type="text"]{width:100%;height:35px}.np-menu-search .np-menu-search-loading{margin-top:5px}.np-menu-search .np-menu-search-noresults{display:none;text-align:center;padding-top:8px;font-style:oblique}.np-menu-link-details{padding:20px}.np-menu-link-details h3{margin-top:0}.np-menu-link-details h3 em{float:right;font-size:13px;font-weight:normal;font-style:normal;color:gray}.np-menu-link-details .original-link{border:1px solid #e5e5e5;font-size:12px;margin-bottom:15px;padding:5px;font-style:oblique}.np-menu-link-details .fields{background-color:#f9f9f9;padding:15px}.np-menu-link-details p{margin-top:0}.np-menu-link-details .checkbox{margin-bottom:10px}.np-menu-link-details label{display:block}.np-menu-link-details input[type="text"]{width:100%}.nestedpages .nestedpages-bulk-edit{display:none;background-color:#fff;margin:0;border:1px solid #e1e1e1;border-bottom:0}.nestedpages .nestedpages-bulk-edit h3{padding:1em;margin:0}.nestedpages .nestedpages-bulk-edit .np-bulk-edit-link-info{padding:0 1em}.nestedpages .nestedpages-bulk-edit .fields{padding:1em;margin:0}.nestedpages .nestedpages-bulk-edit .np-taxonomies{margin:0}.nestedpages .nestedpages-bulk-edit .np-bulk-titles{list-style-type:none;margin:0;padding:0;background-color:#f9f9f9;border:1px solid #e5e5e5;border-left:0;border-right:0;padding:.5em}.nestedpages .nestedpages-bulk-edit .np-bulk-titles li{padding:0;margin:.5em 0 0 0}.nestedpages .nestedpages-bulk-edit .np-bulk-titles li:first-child{margin:0}.nestedpages .nestedpages-bulk-edit .np-bulk-titles .np-remove{display:inline-block;background-color:#333;width:22px;height:22px;-webkit-border-radius:50%;border-radius:50%;text-align:center;text-decoration:none;color:#fff;line-height:18px;font-size:1.5em;margin-right:.3em}.nestedpages .nestedpages-bulk-edit .np-bulk-titles .np-remove:hover{background-color:gray}.nestedpages .nestedpages-bulk-edit .np-taxonomies{display:block;padding:1em}.nestedpages .nestedpages-bulk-edit .np-bulk-footer{padding:10px;text-align:right;background-color:#404040;zoom:1}.nestedpages .nestedpages-bulk-edit .np-bulk-footer:before,.nestedpages .nestedpages-bulk-edit .np-bulk-footer:after{content:" ";display:table}.nestedpages .nestedpages-bulk-edit .np-bulk-footer:after{clear:both}.nestedpages .nestedpages-bulk-edit .np-bulk-footer .pull-left{float:left}.nestedpages-columns-header{display:table;border-collapse:collapse;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#f0f0f0;border:1px solid #e1e1e1;border-bottom:0}.nestedpages-columns-header .cell{font-weight:bold;text-align:left;display:table-cell;padding:1em .5em 1em 0;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:middle}.nestedpages-columns-header .toggle-spacer span{display:block;width:50px}.nestedpages-columns-header .bulk-spacer span{display:block;width:33px}.nestedpages-columns-header .thumbnail-spacer span{display:block;width:100%}.nestedpages-columns-header .title{width:30%;padding:0 5px}.nestedpages-row-columns{display:table;width:100%;border-collapse:collapse;-webkit-box-sizing:border-box;box-sizing:border-box}.nestedpages-row-columns .cell{text-align:left;display:table-cell;padding:1em .5em 1em 0;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:middle}.nestedpages-row-columns .title-cell{width:30%;position:relative}.nestedpages-row-columns .title-cell-spacer{position:absolute;display:block;width:100%}@media (max-width: 767px){.nestedpages-row-columns .custom-column,.nestedpages-columns-header{display:none}.nestedpages-row-columns .title-cell.cell{width:100%}}.np-wpml-translations-modal .np-qe-loading{margin:1em 0;text-align:center;float:left}.np-wpml-translations-modal .np-qe-loading svg path{fill:#999}.np-wpml-translations-modal.loading .np-translations-table{display:none}.np-wpml-translations-modal.loading .np-qe-loading{display:block}.np-wpml-translations-modal .np-translations-table{display:table;border-collapse:collapse;width:100%}.np-wpml-translations-modal .np-translations-table tr td{padding:10px;border:1px solid #e1e1e1}.np-wpml-translations-modal .np-translations-table tr td:first-child{border-left:0;padding-left:0}.np-wpml-translations-modal .np-translations-table tr td:last-child{border-right:0}.np-wpml-translations-modal .np-translations-table tr:last-child td{border-bottom:0}.nestedpages-settings-table{border:1px solid #d9d9d9;border-collapse:collapse}.nestedpages-settings-table thead th{background-color:#d9d9d9;padding:5px}.nestedpages-settings-table tbody tr td{padding:5px;border-left:1px solid #e0e0e0}.nestedpages-settings-table tbody tr td:first-child{border:0}.nestedpages-settings-table tbody tr:nth-child(odd) td{background-color:#fff}.nestedpages-settings-table i{font-size:20px}.nestedpages-settings-table .np-btn{cursor:pointer;text-decoration:none;color:#555;display:inline-block;background-color:#f7f7f7;border:1px solid #e1e1e1;padding:5px 8px;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.nestedpages-settings-table .np-btn:hover{background-color:#0074a2;color:#fff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;border-color:#0074a2}.nestedpages-settings-table .np-btn:disabled,.nestedpages-settings-table .np-btn.disabled{opacity:.6;cursor:not-allowed}.nestedpages-settings-table .np-btn-trash{background-color:#e14d43;border-color:#e14d43;color:#fff}.nestedpages-settings-table .np-btn-trash:hover{background-color:#ba281e;border-color:#ba281e}.nestedpages-settings-general-wrapper{padding-top:1em;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.nestedpages-settings-general-wrapper .nestedpages-settings-table{width:67%;border:0}.nestedpages-settings-general-wrapper .nestedpages-settings-table .row{border-left:1px solid #e1e1e1;border-right:1px solid #e1e1e1}.nestedpages-settings-general-wrapper .nestedpages-settings-table .row.submit{border:0}.nestedpages-settings-general-wrapper .nestedpages-settings-support{width:30%;background-color:#fff;text-align:center;border:1px solid #e5e5e5;-webkit-border-radius:3px;border-radius:3px}.nestedpages-settings-general-wrapper .nestedpages-settings-support .inner{padding:2em}.nestedpages-settings-general-wrapper .nestedpages-settings-support .or{margin:2em 0}.nestedpages-settings-general-wrapper h3{color:#ff2d20;margin:0 0 3px 0;font-size:20px}.nestedpages-settings-general-wrapper h4{margin:0}.nestedpages-settings-general-wrapper .support-button{display:block;background-color:rgba(255,45,32,0.1);border:1px solid rgba(255,45,32,0.15);text-align:center;color:#333;text-decoration:none;padding:1em;-webkit-border-radius:4px;border-radius:4px;font-weight:bold;font-size:16px;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.nestedpages-settings-general-wrapper .support-button svg{display:inline-block;vertical-align:middle;margin-right:8px}.nestedpages-settings-general-wrapper .support-button svg .heart{fill:#ff2d20}.nestedpages-settings-general-wrapper .support-button:hover{background-color:#ff2d20;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;color:#fff}.nestedpages-settings-general-wrapper .support-button:hover svg .heart{fill:#fff}@media (max-width: 768px){.nestedpages-settings-general-wrapper{display:block}.nestedpages-settings-general-wrapper .nestedpages-settings-table,.nestedpages-settings-general-wrapper .nestedpages-settings-support{width:100%}}.nestedpages-settings-table{border:1px solid #e5e5e5;-webkit-border-radius:3px;border-radius:3px}.nestedpages-settings-table .row-container{border-bottom:1px solid #e1e1e1}.nestedpages-settings-table .row-container:last-child{border:0}.nestedpages-settings-table .row-container .head{zoom:1;line-height:46px;background-color:#fff;padding-right:10px}.nestedpages-settings-table .row-container .head:before,.nestedpages-settings-table .row-container .head:after{content:" ";display:table}.nestedpages-settings-table .row-container .head:after{clear:both}.nestedpages-settings-table .row-container .head .checkbox{float:left;width:46px;height:46px;background-color:rgba(51,51,51,0.06);text-align:center;line-height:46px;margin-right:10px}.nestedpages-settings-table .row-container .head label{float:left;line-height:46px;margin:0}.nestedpages-settings-table .row-container .head label em{color:#999}.nestedpages-settings-table .row-container .head .button{float:right;margin-top:10px}.nestedpages-settings-table .row-container.active .head{background-color:#0074a2;color:#fff}.nestedpages-settings-table .row-container .row{display:table;width:100%}.nestedpages-settings-table .row-container .row.submit{display:block}.nestedpages-settings-table .row-container .row.submit p{margin:0}.nestedpages-settings-table .row-container .row .description{display:table-cell;vertical-align:top;width:25%;border-bottom:1px solid #e1e1e1;background-color:#f9f9f9;padding:1em}.nestedpages-settings-table .row-container .row .description p{color:gray;font-size:.9em}.nestedpages-settings-table .row-container .row .description strong{color:#333;font-size:1.2em}.nestedpages-settings-table .row-container .row .field{display:table-cell;vertical-align:top;width:75%;background-color:#fff;border-bottom:1px solid #e1e1e1;border-left:1px solid #e1e1e1;padding:1em}.nestedpages-settings-table .row-container .row .field.padded-sides{padding:1em 2em}.nestedpages-settings-table .row-container .row .field.extra-padding{padding:2em}.nestedpages-settings-table .row-container .row .field label.block{display:block}.nestedpages-settings-table .row-container .row .field input[type="text"],.nestedpages-settings-table .row-container .row .field input[type="tel"],.nestedpages-settings-table .row-container .row .field select{width:100%}.nestedpages-settings-table .row-container .body{display:none}.nestedpages-settings-table .row-container .body h4{margin:0;padding:10px 0 0 10px}.nestedpages-settings-table .row-container .body .settings-details{margin:0}.nestedpages-settings-table .row-container .body li{margin:0}.nestedpages-settings-table .row-container .settings-details li:last-child .field,.nestedpages-settings-table .row-container .settings-details li:last-child .description{border-bottom:0}.nestedpages-settings-table .row-container .custom-fields,.nestedpages-settings-table .row-container .standard-fields,.nestedpages-settings-table .row-container .columns{display:none;padding-top:20px}.nestedpages-settings-table .row-container .custom-fields .custom-field-group,.nestedpages-settings-table .row-container .standard-fields .custom-field-group,.nestedpages-settings-table .row-container .columns .custom-field-group{height:150px;overflow:auto;background-color:#f9f9f9;padding:10px;border:1px solid #e1e1e1}.nestedpages-settings-table .row-container .custom-fields h5,.nestedpages-settings-table .row-container .standard-fields h5,.nestedpages-settings-table .row-container .columns h5{padding:0;font-weight:normal;font-style:oblique;margin:0;color:#999;margin-bottom:6px}.nestedpages-settings-table .row-container .custom-fields p,.nestedpages-settings-table .row-container .standard-fields p,.nestedpages-settings-table .row-container .columns p{margin:0 0 6px 0;font-weight:bold}.nestedpages-settings-table .row-container .custom-fields ul,.nestedpages-settings-table .row-container .standard-fields ul,.nestedpages-settings-table .row-container .columns ul{margin:0}.nestedpages-settings-table .row-container .custom-fields ul.indented,.nestedpages-settings-table .row-container .standard-fields ul.indented,.nestedpages-settings-table .row-container .columns ul.indented{padding-left:15px}.nestedpages-settings-table .row-container .custom-fields ul li,.nestedpages-settings-table .row-container .standard-fields ul li,.nestedpages-settings-table .row-container .columns ul li{margin:3px 0 0 0}.nestedpages-settings-table .row-container .thumbnail-options{background-color:#f9f9f9;padding:10px;border:1px solid #e1e1e1;margin-top:1em}.nestedpages-settings-table .row-container .thumbnail-options label{display:block}.nestedpages-settings-table .row-container .thumbnail-options select{margin-bottom:1em}.nestedpages-page-pt-assignment{background-color:#f9f9f9;padding:10px;border:1px solid #e1e1e1;margin-top:1em}.nestedpages-page-pt-assignment input[type="search"]{width:100%;margin-bottom:1em}.nestedpages-page-pt-assignment .np-quickedit-info{background-color:#fff;border-right:1px solid #e5e5e5;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5}.nestedpages-page-pt-assignment .nestedpages-page-search-results{height:100px;overflow:auto}.nestedpages-page-pt-assignment .nestedpages-page-search-results ul{list-style-type:none;margin:0;padding:0}.nestedpages-page-pt-assignment .nestedpages-page-search-results a{display:block;text-decoration:none;border-top:1px solid #dcdcdc;padding:3px 0;color:#333;background-color:#f9f9f9}.nestedpages-page-pt-assignment .nestedpages-page-search-results a:hover{background-color:#0074a2;color:#fff;padding-left:5px}.nestedpages-page-pt-assignment .nestedpages-page-search-results li:first-child a{border:0;padding-top:0}.nestedpages-page-pt-assignment-selection{background-color:#f9f9f9;border:1px solid #e1e1e1;margin-top:1em;padding:.5em}.nestedpages-sort-options-selection,.nestedpages-checklist-field{background-color:#f9f9f9;border:1px solid #e1e1e1;margin-top:1em;padding:.5em}.nestedpages-sort-options-selection label,.nestedpages-checklist-field label{display:block;margin-top:3px}.nestedpages-sort-options-selection label:first-child,.nestedpages-checklist-field label:first-child{margin:0}.nestedpages-sort-options-selection .sort-options-default,.nestedpages-checklist-field .sort-options-default{display:none;background-color:#fff;margin:.5em 0 1.5em 0;padding:.75em;border:1px solid #e1e1e1}.nestedpages-sort-options-selection .sort-options-default label,.nestedpages-checklist-field .sort-options-default label{display:inline-block}.nestedpages-sort-options-selection .sort-options-default select,.nestedpages-checklist-field .sort-options-default select{width:auto !important}.np-menu-customization{display:none;padding:.5em 1em 1em 1em}.np-menu-customization .np-menu-customization-header{background-color:#f9f9f9;border:1px solid #e1e1e1;border-bottom:0;height:60px;position:relative;padding:15px 180px 0 10px;-webkit-box-sizing:border-box;box-sizing:border-box;zoom:1}.np-menu-customization .np-menu-customization-header:before,.np-menu-customization .np-menu-customization-header:after{content:" ";display:table}.np-menu-customization .np-menu-customization-header:after{clear:both}.np-menu-customization .np-menu-customization-header .hide,.np-menu-customization .np-menu-customization-header .new{position:absolute;right:0;top:0;height:60px;width:80px;text-align:center;line-height:60px;border-left:1px solid #e1e1e1;background-color:#ececec;font-size:.9em}.np-menu-customization .np-menu-customization-header .role-select{float:left;width:100%}.np-menu-customization .np-menu-customization-header .new{right:80px;background-color:#fff}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-toggle{display:block;height:60px;width:80px;text-decoration:none;color:#333}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-toggle .np-caret{display:inline-block;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #333;vertical-align:middle;margin-left:3px}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-toggle:active,.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-toggle:focus{outline:none;-webkit-box-shadow:none;box-shadow:none}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-content{width:150px;font-size:1.1em}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-content ul li{border-top:1px solid #e1e1e1}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-content ul li a{display:block;padding:1em .5em;background-color:#fff}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-content ul li a:hover{background-color:#333;color:#fff}.np-menu-customization .np-menu-customization-header .nestedpages-dropdown-content ul li:first-child{border:0}.np-nav-menu-settings li{border:1px solid #e1e1e1;position:relative;border-top:0}.np-nav-menu-settings li.disabled{text-decoration:line-through}.np-nav-menu-settings li.disabled:hover{background-color:inherit !important}.np-nav-menu-settings li.disabled .menu-item .title{opacity:.2}.np-nav-menu-settings li.disabled .menu-item .title:hover .details-button{display:none}.np-nav-menu-settings li.disabled .submenu-toggle a{display:none}.np-nav-menu-settings li.disabled.submenu-open .submenu-listing{display:none}.np-nav-menu-settings li:first-child{border-top:1px solid #e1e1e1}.np-nav-menu-settings li:first-child .hide-checkbox{border-top:0}.np-nav-menu-settings .update-count{display:none}.np-nav-menu-settings .ui-sortable-helper{border:1px solid #e1e1e1;-webkit-box-shadow:1px 1px 1px 0px rgba(0,0,0,0.3);box-shadow:1px 1px 1px 0px rgba(0,0,0,0.3)}.np-nav-menu-settings .menu-item{height:50px;zoom:1;padding:0 80px 0 100px;background-color:#fff}.np-nav-menu-settings .menu-item:before,.np-nav-menu-settings .menu-item:after{content:" ";display:table}.np-nav-menu-settings .menu-item:after{clear:both}.np-nav-menu-settings .menu-item .title{zoom:1;position:relative;padding-right:120px;height:50px}.np-nav-menu-settings .menu-item .title:before,.np-nav-menu-settings .menu-item .title:after{content:" ";display:table}.np-nav-menu-settings .menu-item .title:after{clear:both}.np-nav-menu-settings .menu-item .title.separator{padding-left:40px}.np-nav-menu-settings .menu-item .title p{margin:0;font-size:1em;line-height:50px}.np-nav-menu-settings .menu-item .title .menu-icon{position:absolute;left:0;top:0;height:50px;width:40px;text-align:center}.np-nav-menu-settings .menu-item .title .menu-icon:before{font-size:1.6em;line-height:50px}.np-nav-menu-settings .menu-item .title .details-button{display:none;position:absolute;right:0;top:0;margin:12px 10px 0 0}.np-nav-menu-settings .menu-item .title:hover .details-button{display:block}.np-nav-menu-settings .menu-item .menu-title-field{float:left;margin:0 0 0 40px;position:relative;padding:0;line-height:50px;border:0;-webkit-box-shadow:none;box-shadow:none}.np-nav-menu-settings .menu-item .menu-title-field::-webkit-input-placeholder{color:#333}.np-nav-menu-settings .menu-item .menu-title-field::-moz-placeholder{color:#333}.np-nav-menu-settings .menu-item .menu-title-field::-ms-input-placeholder{color:#333}.np-nav-menu-settings .menu-item .menu-title-field::placeholder{color:#333}.np-nav-menu-settings li.separator .menu-item{background-color:#f9f9f9;padding-right:10px}.np-nav-menu-settings li.separator .menu-item .menu-icon{display:none}.np-nav-menu-settings li.separator .menu-item .details-button{margin-right:0}.np-nav-menu-settings li.separator .menu-item .title{padding-left:10px;padding-right:0;color:#999}.np-nav-menu-settings .ui-sortable-placeholder{background-color:#f9f9f9;border:1px dashed #0074a2 !important;display:block;visibility:visible !important}.np-nav-menu-settings .submenu-toggle{width:50px;height:50px;left:0;border-right:1px solid #e1e1e1;background-color:#f9f9f9;position:absolute}.np-nav-menu-settings .submenu-toggle a{margin:0;display:block;text-decoration:none;width:26px;height:26px;background-color:#fff;border:1px solid #e1e1e1;-webkit-border-radius:50%;border-radius:50%;text-align:center;color:#333;position:relative;top:10px;left:10px;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease}.np-nav-menu-settings .submenu-toggle a span{margin:0;position:absolute;left:11px;top:8px;display:block;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:6px solid #333}.np-nav-menu-settings .submenu-toggle a.active{background-color:#333;color:#fff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);border-color:#333}.np-nav-menu-settings .submenu-toggle a.active span{border-left-color:#fff}.np-nav-menu-settings .submenu-toggle a:focus,.np-nav-menu-settings .submenu-toggle a:active{outline:none;-webkit-box-shadow:none;box-shadow:none}.np-nav-menu-settings .handle{position:absolute;width:50px;height:50px;left:51px;background-color:#f9f9f9;border-right:1px solid #e5e5e5;text-align:center;line-height:40px;cursor:move}.np-nav-menu-settings .handle .bars{fill:#b3b3b3}.np-nav-menu-settings .handle svg{position:relative;top:10px;width:20px;width:20px}.np-nav-menu-settings .handle:hover{color:#333}.np-nav-menu-settings .hide-checkbox{position:absolute;width:80px;height:50px;top:0;text-align:center;right:0;background-color:#ececec;border-left:1px solid #e1e1e1}.np-nav-menu-settings .hide-checkbox input[type="checkbox"]{position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);margin-top:-5px;left:2px}.np-nav-menu-settings .np-extra-options{display:none;border-top:1px solid #e1e1e1;padding:1em;zoom:1;background-color:#f9f9f9}.np-nav-menu-settings .np-extra-options:before,.np-nav-menu-settings .np-extra-options:after{content:" ";display:table}.np-nav-menu-settings .np-extra-options:after{clear:both}.np-nav-menu-settings .np-extra-options .half{float:left;width:48%;clear:both}.np-nav-menu-settings .np-extra-options .half.right{clear:none;float:right}.np-nav-menu-settings .options-open .np-extra-options{display:block}.np-nav-menu-settings .options-open .menu-item .title .details-button{display:block}.np-nav-menu-settings .options-open.disabled .np-extra-options{display:none}.np-nav-menu-settings .options-open.disabled .menu-item .title .details-button{display:none}.np-nav-menu-settings .submenu-listing{display:none;padding-left:50px;background-color:#f9f9f9;border-top:1px solid #e1e1e1;border-bottom:3px solid #e1e1e1}.np-nav-menu-settings li.submenu-open .submenu-listing{display:block}.np-nav-menu-settings .submenu-item{border:0;border-left:1px solid #e1e1e1;border-top:1px solid #e1e1e1;background-color:#f9f9f9}.np-nav-menu-settings .submenu-item .menu-item{padding-left:50px}.np-nav-menu-settings .submenu-item .title{padding-left:1em}.np-nav-menu-settings .submenu-item:first-child{border-top:0}.np-nav-menu-settings .submenu-item .handle{left:0}.nestedpages.np-dark-mode ol,.np-dark-mode ol{border:0;-webkit-border-radius:0;border-radius:0}.nestedpages.np-dark-mode ol .np-page-type,.np-dark-mode ol .np-page-type{color:#bbc8d4}.nestedpages.np-dark-mode ol .locked,.np-dark-mode ol .locked{color:#fff}.nestedpages.np-dark-mode ol .row-status-icon .icon,.np-dark-mode ol .row-status-icon .icon{fill:#50626f}.nestedpages.np-dark-mode ol .status,.nestedpages.np-dark-mode ol .sticky,.nestedpages.np-dark-mode ol .np-icon-eye-blocked,.nestedpages.np-dark-mode ol .nav-status,.np-dark-mode ol .status,.np-dark-mode ol .sticky,.np-dark-mode ol .np-icon-eye-blocked,.np-dark-mode ol .nav-status{color:#50626f}.nestedpages.np-dark-mode ol .np-assigned-pt-actions li a,.np-dark-mode ol .np-assigned-pt-actions li a{color:#fff;border-color:rgba(0,0,0,0.2)}.nestedpages.np-dark-mode ol .np-seo-indicator,.np-dark-mode ol .np-seo-indicator{background-color:#50626f}.nestedpages.np-dark-mode ol .np-seo-indicator.good,.np-dark-mode ol .np-seo-indicator.good{background-color:#7ad03a}.nestedpages.np-dark-mode ol .np-seo-indicator.ok,.np-dark-mode ol .np-seo-indicator.ok{background-color:#ffba00}.nestedpages.np-dark-mode ol .np-seo-indicator.poor,.np-dark-mode ol .np-seo-indicator.poor{background-color:#ee7c1b}.nestedpages.np-dark-mode ol .np-seo-indicator.bad,.np-dark-mode ol .np-seo-indicator.bad{background-color:#dd3d36}.nestedpages.np-dark-mode ol .np-seo-indicator.warn,.np-dark-mode ol .np-seo-indicator.warn{background-color:maroon}.nestedpages.np-dark-mode ol .np-seo-indicator.wrong,.np-dark-mode ol .np-seo-indicator.wrong{background-color:red}.nestedpages.np-dark-mode ol .np-seo-indicator.noindex,.np-dark-mode ol .np-seo-indicator.noindex{background-color:#1e8cbe}.nestedpages.np-dark-mode ol li,.np-dark-mode ol li{border-top-color:#32373c;background:transparent}.nestedpages.np-dark-mode ol ol,.np-dark-mode ol ol{border-top:1px solid #32373c}.nestedpages.np-dark-mode .np-icon-arrow,.np-dark-mode .np-icon-arrow{border-left-color:#fff}.nestedpages.np-dark-mode .child-toggle a:active,.nestedpages.np-dark-mode .child-toggle a:focus,.np-dark-mode .child-toggle a:active,.np-dark-mode .child-toggle a:focus{-webkit-box-shadow:none;box-shadow:none}.nestedpages.np-dark-mode .non-indent .child-toggle,.np-dark-mode .non-indent .child-toggle{background-color:rgba(0,0,0,0.15)}.nestedpages.np-dark-mode .non-indent .child-toggle a,.np-dark-mode .non-indent .child-toggle a{background-color:#50626f;border:0;color:#fff}.nestedpages.np-dark-mode .non-indent .child-toggle a .np-icon-arrow,.np-dark-mode .non-indent .child-toggle a .np-icon-arrow{border-left-color:#fff}.nestedpages.np-dark-mode .non-indent .child-toggle a:hover,.np-dark-mode .non-indent .child-toggle a:hover{background-color:rgba(0,0,0,0.5)}.nestedpages.np-dark-mode .non-indent .child-toggle a:hover .np-icon-arrow,.np-dark-mode .non-indent .child-toggle a:hover .np-icon-arrow{border-left-color:#fff}.nestedpages.np-dark-mode .handle,.np-dark-mode .handle{color:#50626f}.nestedpages.np-dark-mode .handle .bars,.np-dark-mode .handle .bars{fill:#50626f}.nestedpages.np-dark-mode .np-icon-sub-menu .arrow,.np-dark-mode .np-icon-sub-menu .arrow{fill:#50626f}.nestedpages.np-dark-mode .page-title .link-icon .icon,.np-dark-mode .page-title .link-icon .icon{fill:#50626f}.nestedpages.np-dark-mode .np-bulk-checkbox,.np-dark-mode .np-bulk-checkbox{background:transparent}.nestedpages.np-dark-mode .row,.np-dark-mode .row{background:transparent}.nestedpages.np-dark-mode .row:hover,.nestedpages.np-dark-mode .row.active,.np-dark-mode .row:hover,.np-dark-mode .row.active{background-color:#32373c}.nestedpages.np-dark-mode .row.np-updated,.np-dark-mode .row.np-updated{background-color:#32373c}.nestedpages.np-dark-mode .row.np-updated-show,.np-dark-mode .row.np-updated-show{background-color:#32373c}.nestedpages.np-dark-mode .np-post-columns ul li,.np-dark-mode .np-post-columns ul li{color:#fff;border-left:1px solid rgba(0,0,0,0.4)}.nestedpages.np-dark-mode .np-post-columns ul li:first-child,.np-dark-mode .np-post-columns ul li:first-child{border:0}.nestedpages.np-dark-mode .action-buttons .nestedpages-dropdown .np-btn.toggle svg path.circles,.np-dark-mode .action-buttons .nestedpages-dropdown .np-btn.toggle svg path.circles{fill:#fff}.nestedpages.np-dark-mode .action-buttons .nestedpages-dropdown ul li,.np-dark-mode .action-buttons .nestedpages-dropdown ul li{background-color:#50626f}.nestedpages.np-dark-mode .action-buttons .nestedpages-dropdown ul li a,.np-dark-mode .action-buttons .nestedpages-dropdown ul li a{color:#fff}.nestedpages.np-dark-mode .action-buttons .nestedpages-dropdown ul li a svg path.primary,.np-dark-mode .action-buttons .nestedpages-dropdown ul li a svg path.primary{fill:#fff}.nestedpages.np-dark-mode .nestedpages-list-header,.np-dark-mode .nestedpages-list-header{background-color:#32373c;border:0}.nestedpages.np-dark-mode .nestedpages-list-header .np-check-all,.np-dark-mode .nestedpages-list-header .np-check-all{background:transparent}.nestedpages.np-dark-mode .np-btn,.np-dark-mode .np-btn{color:#fff;display:inline-block;background-color:#50626f;border:1px solid #444}.nestedpages.np-dark-mode .np-btn:hover,.np-dark-mode .np-btn:hover{background-color:#32373c;border-color:#32373c}.nestedpages.np-dark-mode .np-inline-modal,.np-dark-mode .np-inline-modal{background-color:#32373c}.nestedpages.np-dark-mode .quick-edit h3,.nestedpages.np-dark-mode .new-child h3,.np-dark-mode .quick-edit h3,.np-dark-mode .new-child h3{color:#fff}.nestedpages.np-dark-mode .quick-edit h3 span em,.nestedpages.np-dark-mode .new-child h3 span em,.np-dark-mode .quick-edit h3 span em,.np-dark-mode .new-child h3 span em{color:#50626f}.nestedpages.np-dark-mode .quick-edit .fields,.nestedpages.np-dark-mode .new-child .fields,.np-dark-mode .quick-edit .fields,.np-dark-mode .new-child .fields{background:transparent}.nestedpages.np-dark-mode .quick-edit .buttons,.nestedpages.np-dark-mode .new-child .buttons,.np-dark-mode .quick-edit .buttons,.np-dark-mode .new-child .buttons{background-color:rgba(0,0,0,0.15)}.nestedpages.np-dark-mode .quick-edit .form-control.original-link,.nestedpages.np-dark-mode .new-child .form-control.original-link,.np-dark-mode .quick-edit .form-control.original-link,.np-dark-mode .new-child .form-control.original-link{background-color:rgba(0,0,0,0.15);border:0}.nestedpages.np-dark-mode .quick-edit .np-toggle-options,.nestedpages.np-dark-mode .new-child .np-toggle-options,.np-dark-mode .quick-edit .np-toggle-options,.np-dark-mode .new-child .np-toggle-options{background-color:rgba(0,0,0,0.1)}.nestedpages.np-dark-mode .quick-edit .np-taxonomies,.nestedpages.np-dark-mode .quick-edit .np-menuoptions,.nestedpages.np-dark-mode .new-child .np-taxonomies,.nestedpages.np-dark-mode .new-child .np-menuoptions,.np-dark-mode .quick-edit .np-taxonomies,.np-dark-mode .quick-edit .np-menuoptions,.np-dark-mode .new-child .np-taxonomies,.np-dark-mode .new-child .np-menuoptions{background:transparent}.nestedpages.np-dark-mode .quick-edit .np-taxonomy li,.nestedpages.np-dark-mode .new-child .np-taxonomy li,.np-dark-mode .quick-edit .np-taxonomy li,.np-dark-mode .new-child .np-taxonomy li{background:transparent}.nestedpages.np-dark-mode .nestedpages-bulk-edit,.np-dark-mode .nestedpages-bulk-edit{background-color:#32373c;border:0}.nestedpages.np-dark-mode .nestedpages-bulk-edit .np-bulk-titles,.np-dark-mode .nestedpages-bulk-edit .np-bulk-titles{background-color:rgba(0,0,0,0.15);border:0}.nestedpages.np-dark-mode .nestedpages-bulk-edit .np-bulk-titles .np-remove,.np-dark-mode .nestedpages-bulk-edit .np-bulk-titles .np-remove{background-color:#50626f}.nestedpages.np-dark-mode .nestedpages-bulk-edit .np-bulk-footer,.np-dark-mode .nestedpages-bulk-edit .np-bulk-footer{background-color:rgba(0,0,0,0.15)}.nestedpages.np-dark-mode .np-quickedit-error,.np-dark-mode .np-quickedit-error{background-color:#e14d43;color:#fff}.np-modal-form.np-dark-mode .form-interior{background:transparent}.nestedpages-modal-content.np-dark-mode{background-color:#32373c}.nestedpages-modal-content.np-dark-mode h3,.nestedpages-modal-content.np-dark-mode .new-child h3{color:#fff}.nestedpages-modal-content.np-dark-mode .modal-content{background-color:#32373c}.nestedpages-modal-content.np-dark-mode .modal-footer{background-color:rgba(0,0,0,0.15)}.nestedpages-modal-content.np-dark-mode .clone-modal h3{background:transparent}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection{background-color:#32373c;border:0}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li{border:1px solid #32373c;border-top:0}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li a{background-color:#50626f;color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li a:after{color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li a:active,.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li a:focus{-webkit-box-shadow:none;box-shadow:none}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li:first-child{border-top:0}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li ul{padding:0;background:transparent}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li ul li{border-color:#32373c}.nestedpages-modal-content.np-dark-mode .np-menu-type-selection ul li ul li a{background-color:rgba(0,0,0,0.15)}.nestedpages-modal-content.np-dark-mode .np-menu-search{background-color:rgba(0,0,0,0.15)}.nestedpages-modal-content.np-dark-mode .np-menu-search input[type="text"]::-webkit-input-placeholder{color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-search input[type="text"]::-moz-placeholder{color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-search input[type="text"]::-ms-input-placeholder{color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-search input[type="text"]::placeholder{color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-link-details h3 em{color:#fff}.nestedpages-modal-content.np-dark-mode .np-menu-link-details .original-link{border:0;background-color:rgba(0,0,0,0.15)}.nestedpages-modal-content.np-dark-mode .np-menu-link-details .fields{background:transparent;padding:0}
|
assets/js/nestedpages.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(NestedPages=NestedPages||{}).Formatter=function(){var s=this,i=jQuery;s.updateSubMenuToggle=function(){for(var e=i(NestedPages.selectors.childToggle),t=0;t<e.length;t++){var a=e[t],s=i(a).parent(".row").parent("li");if(0<i(s).children("ol").length){if(i(s).children("ol").find("li.page-row").length<1){i(s).children("ol").hide();continue}var n='<div class="child-toggle-spacer"></div>';n+='<a href="#"',0<i(s).children("ol:visible").length&&(n+=' class="open"'),n+='><span class="np-icon-arrow"></span></a>',i(a).html(n),0<i(s).children("ol").children(".np-hide").length&&0===i(s).children("ol").children(".np-hide.shown").length?i(a).find("a").hide():0<i(s).children("ol").children(".np-hide").length&&0<i(s).children("ol").children(".np-hide.shown").length&&i(a).find("a").show()}else i(a).empty().html('<div class="child-toggle-spacer"></div>')}},s.setBorders=function(){i(NestedPages.selectors.rows).removeClass(NestedPages.cssClasses.noborder),i.each(i(NestedPages.selectors.lists),function(){i(this).find(".page-row:visible:first").addClass(NestedPages.cssClasses.noborder)})},s.setNestedMargins=function(){s.setIndent()},s.setIndent=function(){var n="1"===nestedpages.non_indent?20:30,o="1"===nestedpages.non_indent?".row-inner":".child-toggle";i.each(i(NestedPages.selectors.lists),function(e,t){var a=i(this).parents(NestedPages.selectors.lists).length,s=0;if(NestedPages.jsData.sortable||(s=10),0<a){s=a*n+s;i(this).find(o).css("padding-left",s+"px")}else NestedPages.jsData.sortable&&!i(this).hasClass("no-sort")?i(this).find(".row-inner").css("padding-left","0px"):i(this).find(".row-inner").css("padding-left","10px")})},s.setClassicIndent=function(){i.each(i(NestedPages.selectors.lists),function(e,t){var a=i(this).parents(NestedPages.selectors.lists).length,s=0;if(NestedPages.jsData.sortable||(s=10),0<a){s=20*a+s;i(this).find(".row-inner").css("padding-left",s+"px")}else NestedPages.jsData.sortable&&!i(this).hasClass("no-sort")?i(this).find(".row-inner").css("padding-left","0px"):i(this).find(".row-inner").css("padding-left","10px")})},s.updatePlaceholderWidth=function(e){if(NestedPages.jsData.nestable){var t=40*i(e.placeholder).parents("ol").length-40,a=i(NestedPages.selectors.sortable).width()-t;i(e.placeholder).width(a).css("margin-left",t+"px")}s.updateListVisibility(e)},s.updateListVisibility=function(e){var t=i(e.placeholder).parent("ol");i(t).is(":visible")||(i(t).addClass("nplist"),i(t).show())},s.removeQuickEdit=function(){i(NestedPages.selectors.quickEditOverlay).removeClass("active").remove(),i(".sortable .quick-edit").remove(),i(".row").show()},s.showQuickEdit=function(){i("body").append('<div class="np-inline-overlay"></div>'),setTimeout(function(){i(".np-inline-overlay").addClass("active")},50)},s.flashRow=function(e){i(e).addClass("np-updated"),s.setBorders(),setTimeout(function(){i(e).addClass("np-updated-show")},1500)},s.showAjaxError=function(e){i(NestedPages.selectors.ajaxError).find("p").text(e),i(NestedPages.selectors.ajaxError).show()},s.hideAjaxError=function(e){i(NestedPages.selectors.ajaxError).hide()},s.sizeLinkThumbnails=function(){var e=i(NestedPages.selectors.thumbnailContainer).not(NestedPages.selectors.thumbnailContainerLink).first().find("img"),t=i(e).width(),a=i(e).height();i.each(i(NestedPages.selectors.thumbnailContainerLink),function(){i(this).width(t),i(this).height(a)})}},(NestedPages=NestedPages||{}).Dropdowns=function(){var t=this,a=jQuery;return t.dropdown="",t.activeBtn="",t.activeContent="",t.toggleBtn="[data-dropdown-toggle]",t.dropdownContainer="[data-dropdown]",t.dropdownContent="[data-dropdown-content]",t.selectors={caret_up:"icon-arrow_drop_up",caret_down:"icon-arrow_drop_down"},t.bindEvents=function(){a(document).on("click",t.toggleBtn,function(e){e.preventDefault(),t.activeBtn=a(this),t.dropdown=a(this).parents(t.dropdownContainer),t.toggleDropdown()}),a(document).on("click",function(e){t.closeDropdowns(e.target)}),a(document).on("dropdown-opened",function(e,t){0<a(t).parents(NestedPages.selectors.row).length&&a(t).parents(NestedPages.selectors.row).addClass("active")}),a(document).on("dropdown-closed",function(){a(NestedPages.selectors.row).removeClass("active")})},t.toggleDropdown=function(){a("."+t.selectors.caret_up).attr("class",t.selectors.caret_down);var e=a(t.dropdown).find(t.dropdownContent);if(t.activeContent=e,a(e).hasClass("active"))return a(e).removeClass("active"),a(t.activeBtn).removeClass("active"),a(t.activeBtn).find("."+t.selectors.caret_up).attr("class",t.selectors.caret_down),void a(document).trigger("dropdown-closed",e);t.setPositioning(),a(t.toggleBtn).removeClass("active"),a(t.dropdownContent).removeClass("active"),a(e).addClass("active"),a(t.activeBtn).find("."+t.selectors.caret_down).attr("class",t.selectors.caret_up),a(t.activeBtn).addClass("active"),a(document).trigger("dropdown-opened",e)},t.setPositioning=function(){var e=a(t.activeBtn).outerHeight();a(t.activeContent).css("top",e+"px")},t.closeDropdowns=function(e){0===a(e).parents(t.dropdownContainer).length&&(a(t.dropdownContent).removeClass("active"),a(t.toggleBtn).removeClass("active"),a(t.activeBtn).find("."+t.selectors.caret_up).attr("class",t.selectors.caret_down),a(document).trigger("dropdown-closed",void 0))},t.bindEvents()},(NestedPages=NestedPages||{}).Modals=function(){var a=this,s=jQuery;return a.activeBtn="",a.activeModal="",a.modalOpen=!1,a.selectors={toggleBtn:"[data-nestedpages-modal-toggle]",backdrop:"[data-nestedpages-modal-backdrop]",closeBtn:"[data-nestedpages-modal-close]",title:"data-nestedpages-modal-title",content:"data-nestedpages-modal-content"},a.bindEvents=function(){s(document).on("click",a.selectors.toggleBtn,function(e){e.preventDefault(),a.activeBtn=s(this),a.openModal()}),s(document).on("click",a.selectors.closeBtn,function(e){e.preventDefault(),a.closeModals()}),s(document).on("open-modal-manual",function(e,t){a.activeModal=s('[data-nestedpages-modal="'+t+'"]'),a.openModal()}),s(document).on("close-modal-manual",function(e){a.closeModals()}),s(document).on("click",a.selectors.backdrop,function(e){a.closeModals()}),s(document).ready(function(){a.checkHash()})},a.openModal=function(){if(a.modalOpen)a.closeModals();else{if(0<s(a.activeBtn).length){var e=s(a.activeBtn).attr("data-nestedpages-modal-toggle");a.activeModal=s('*[data-nestedpages-modal="'+e+'"]')}s(a.activeModal).addClass("active"),a.modalOpen=!0,a.populateModal(),s(document).trigger("open-modal",[a.activeBtn,a.activeModal])}},a.closeModals=function(){a.modalOpen=!1,s("[data-nestedpages-modal]").removeClass("active"),a.activeModal="",a.activeBtn=""},a.populateModal=function(){var e=s(a.activeBtn).attr(a.selectors.title);void 0!==e&&""!==e&&s(a.activeModal).find("[data-nestedpages-modal-title]").text(e);var t=s(a.activeBtn).attr(a.selectors.content);void 0!==t&&""!==t&&s(a.activeModal).find("[data-nestedpages-modal-content]").html(t)},a.checkHash=function(){if(window.location.hash&&"#modal"===window.location.hash.substring(0,6)){var e=window.location.hash.substring(7);a.activeModal=s('*[data-nestedpages-modal="'+e+'"]'),a.openModal()}},a.bindEvents()},(NestedPages=NestedPages||{}).CheckAll=function(){var s=this,n=jQuery;return s.activeCheckbox="",s.selectors={checkbox:"[data-np-check-all]"},s.bindEvents=function(){n(document).on("change",s.selectors.checkbox,function(){s.activeCheckbox=n(this),s.toggleCheckboxes()}),n(document).on("change","input[type=checkbox]",function(){s.checkAllStatus(n(this))})},s.init=function(){s.bindEvents()},s.toggleCheckboxes=function(){var t=!!n(s.activeCheckbox).is(":checked"),e=n(s.activeCheckbox).attr("data-np-check-all"),a=n('*[name="'+e+'"]');n.each(a,function(){var e=n(this).parents(NestedPages.selectors.rows);n(this).prop("checked",t),n(e).hasClass("np-hide")&&!n(e).is(":visible")&&n(e).find(NestedPages.selectors.bulkActionsCheckbox).prop("checked",!1)}),s.toggleCheckAll()},s.toggleCheckAll=function(){var e=n(s.activeCheckbox).attr("data-np-check-all"),t=n('*[name="'+e+'"]').length;t=t-n(".np-hide").find(NestedPages.selectors.bulkActionsCheckbox).length+n(".np-hide:visible").find(NestedPages.selectors.bulkActionsCheckbox).length;var a=n('*[name="'+e+'"]:checked').length;if(t==a)return n(s.activeCheckbox).prop("checked",!0),void n(s.activeCheckbox).removeClass("check-all-partial");0<a?n(s.activeCheckbox).addClass("check-all-partial"):(n(s.activeCheckbox).attr("checked",!1),n(s.activeCheckbox).removeClass("check-all-partial"))},s.checkAllStatus=function(e){var t=n(e).attr("name"),a=n('*[data-np-check-all="'+t+'"]');0!==a.length&&(s.activeCheckbox=n(a)[0],s.toggleCheckAll())},s.init()},(NestedPages=NestedPages||{}).BulkActions=function(){var o=this,i=jQuery;return o.selectedNumber=0,o.selectedLinks=[],o.selectedPosts=[],o.init=function(){o.bindEvents()},o.bindEvents=function(){i(document).on("change",NestedPages.selectors.bulkActionsCheckbox,function(){o.toggleBulkForm()}),i(document).on("submit",NestedPages.selectors.bulkActionsForm,function(e){"edit"===i("select[name=np_bulk_action]").val()&&(e.preventDefault(),o.toggleBulkEdit(!0))}),i(document).on("click",NestedPages.selectors.bulkEditRemoveItem,function(e){e.preventDefault();var t=i(this).siblings("input[type=hidden]").val();o.uncheckBulkItem(t)}),i(document).on("click",NestedPages.selectors.bulkEditCancel,function(e){e.preventDefault(),o.uncheckAllBulkItems()})},o.toggleBulkForm=function(){var a=!1,s="",n="";if(o.selectedPosts=[],o.selectedLinks=[],i.each(i(NestedPages.selectors.bulkActionsCheckbox),function(){if(i(this).is(":checked")){var e=i(this).parents(NestedPages.selectors.rows);if(a=!0,i(this).parent("div").hasClass("np-check-all")||i(e).hasClass("post-type-np-redirect")||(s+=i(this).val()+","),i(e).hasClass("post-type-np-redirect")&&(n+=i(this).val()+",",o.selectedLinks.push(i(this).val())),"np-redirect"!==i(this).attr("data-np-post-type")&&!i(this).parent("div").hasClass("np-check-all")){var t=[];t.title=i(this).attr("data-np-bulk-checkbox"),t.id=i(this).val(),o.selectedPosts.push(t)}}}),o.setBulkEditPosts(),o.toggleEditOption(),o.toggleLinkCountAlert(),a)return i(NestedPages.selectors.bulkActionsForm).show(),i(NestedPages.selectors.bulkActionsIds).val(s),i(NestedPages.selectors.bulkActionRedirectIds).val(n),void o.setSelectedNumber();i(NestedPages.selectors.bulkActionsIds).val(""),i(NestedPages.selectors.bulkActionsForm).hide()},o.setBulkEditPosts=function(){for(var e="",t=0;t<o.selectedPosts.length;t++)e+='<li><a href="#" class="np-remove" data-np-remove-bulk-item>×</a>',e+=o.selectedPosts[t].title,e+='<input type="hidden" name="post_ids[]" value="'+o.selectedPosts[t].id+'"></li>';i(NestedPages.selectors.bulkEditTitles).html(e)},o.uncheckBulkItem=function(e){i.each(i(NestedPages.selectors.bulkActionsCheckbox),function(){i(this).val()==e&&i(this).prop("checked",!1).change()}),0===i(NestedPages.selectors.bulkEditRemoveItem).length&&o.toggleBulkEdit(!1)},o.uncheckAllBulkItems=function(){i.each(i(NestedPages.selectors.bulkActionsCheckbox),function(){i(this).prop("checked",!1).change()}),o.toggleBulkEdit(!1)},o.setSelectedNumber=function(){var e=i(NestedPages.selectors.bulkActionsCheckbox+":checked").not(".np-check-all input").length,t=i(NestedPages.selectors.bulkActionsForm).find("select option").first();i(t).text(nestedpages.bulk_actions+" ("+e+")")},o.toggleEditOption=function(){var e=i(NestedPages.selectors.bulkActionsCheckbox+":checked").not(".np-check-all input").not(".np-redirect-bulk").length,t=i(NestedPages.selectors.bulkActionsForm).find("select option[value=edit]");if(0===e)return i(t).prop("disabled",!0),i(NestedPages.selectors.bulkActionsForm).find("select option").first().prop("selected",!0),void o.toggleBulkEdit(!1);i(t).prop("disabled",!1)},o.toggleBulkEdit=function(e){if(o.toggleLinkCountAlert(),e)return o.disableParentOptions(),i(NestedPages.selectors.bulkEditForm).show(),i(NestedPages.selectors.bulkActionsForm).hide(),void o.setWPSuggest();i(NestedPages.selectors.bulkEditForm).hide(),i(NestedPages.selectors.bulkActionsForm).show(),i(NestedPages.selectors.bulkEditLinkCount).parent("div").hide(),i(NestedPages.selectors.bulkActionsForm).find("select option").first().text(nestedpages.bulk_actions),o.resetBulkEditFields()},o.toggleLinkCountAlert=function(){0!==o.selectedLinks.length?i(NestedPages.selectors.bulkEditLinkCount).parent("div").show():i(NestedPages.selectors.bulkEditLinkCount).parent("div").hide()},o.disableParentOptions=function(){for(var e=i(NestedPages.selectors.bulkEditForm).find("select[name=post_parent]"),t=0;t<o.selectedPosts.length;t++)i(e).find("option[value="+o.selectedPosts[t].id+"]").attr("disabled",!0)},o.setWPSuggest=function(){var e=i(NestedPages.selectors.bulkEditForm).find("[data-autotag]");i.each(e,function(e,t){var a=i(this).attr("data-taxonomy");i(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+a,{multiple:!0,multipleSep:","})})},o.resetBulkEditFields=function(){var e=i(NestedPages.selectors.bulkEditForm).find("select");i.each(e,function(){i(this).find("option").first().prop("selected",!0),i(this).find("option").removeAttr("disabled")});var t=i(NestedPages.selectors.bulkEditForm).find(".cat-checklist");i.each(t,function(){i(this).find("input[type=checkbox]").prop("checked",!1)})},o.init()},(NestedPages=NestedPages||{}).HiddenItemCount=function(){var e=this,a=jQuery;return e.init=function(){e.bindEvents()},e.bindEvents=function(){a(document).on("change",NestedPages.selectors.bulkActionsCheckbox,function(){e.toggleHiddenCount()}),a(document).on("click",NestedPages.selectors.toggleAll,function(){e.toggleHiddenCount()}),a(document).on("click",NestedPages.selectors.pageToggle,function(){e.toggleHiddenCount()})},e.toggleHiddenCount=function(){var t=0;a.each(a(NestedPages.selectors.bulkActionsCheckbox),function(){if(a(this).is(":checked")){if(a(this).parent("div").hasClass("np-check-all"))return;var e=a(this).closest(".page-row");a(e).is(":visible")||t++}}),t<1?a(NestedPages.selectors.hiddenItemCountParent).hide():(a(NestedPages.selectors.hiddenItemCount).text(t),a(NestedPages.selectors.hiddenItemCountParent).show())},e.init()},(NestedPages=NestedPages||{}).MenuToggle=function(){var a=this,n=jQuery;return a.formatter=new NestedPages.Formatter,a.bindEvents=function(){n(document).on("click",NestedPages.selectors.childToggleLink,function(e){e.preventDefault(),a.toggleSingleMenu(n(this))}),n(document).on("click",NestedPages.selectors.toggleAll,function(e){e.preventDefault(),a.toggleAllMenus()})},a.toggleSingleMenu=function(e){var t=n(e).parent(NestedPages.selectors.childToggle).parent(NestedPages.selectors.row).siblings("ol");n(e).toggleClass("open"),n(t).toggle(),a.formatter.setBorders(),a.formatter.setNestedMargins(),a.syncUserToggles()},a.toggleAllMenus=function(){var e=NestedPages.selectors.toggleAll;if("closed"===n(e).attr("data-toggle"))return n(NestedPages.selectors.lists).show(),n(e).attr("data-toggle","opened").text(NestedPages.jsData.collapseText),n(NestedPages.selectors.childToggle+" a").addClass("open"),a.formatter.setBorders(),void a.syncUserToggles();n(NestedPages.selectors.lists).not(n(NestedPages.selectors.lists)[0]).hide(),n(e).attr("data-toggle","closed").text(NestedPages.jsData.expandText),n(NestedPages.selectors.childToggle+" a").removeClass("open"),a.formatter.setBorders(),a.syncUserToggles()},a.visibleRowIDs=function(){var s=[],e=n(NestedPages.selectors.rows+":visible");return n.each(e,function(e,t){var a=n(this).attr("id");s.push(a.replace("menuItem_",""))}),s},a.syncUserToggles=function(){n.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.syncToggles,nonce:NestedPages.jsData.nonce,ids:a.visibleRowIDs(),posttype:NestedPages.jsData.posttype},success:function(e){"success"!==e.status&&console.log("There was an error saving toggled pages.")}})},a.bindEvents()},(NestedPages=NestedPages||{}).PageToggle=function(){var a=this,s=jQuery;return a.activeButton="",a.formatter=new NestedPages.Formatter,a.init=function(){a.bindEvents()},a.bindEvents=function(){s(document).on("click",NestedPages.selectors.toggleHidden,function(e){e.preventDefault(),a.activeButton=s(this),a.toggleHidden()}),s(document).on("click",NestedPages.selectors.toggleStatus,function(e){e.preventDefault(),a.toggleStatus(s(this))})},a.toggleHidden=function(){var e=s(a.activeButton),t=s(e).attr("href");if("#show"==t)return s(e).attr("href","#hide").text(NestedPages.jsData.showHiddenText),s(NestedPages.selectors.hiddenRows).removeClass("shown").hide(),a.formatter.updateSubMenuToggle(),void a.formatter.setBorders();"#hide"==t&&(s(e).attr("href","#show").text(NestedPages.jsData.hideHiddenText),s(NestedPages.selectors.hiddenRows).addClass("shown").show(),a.formatter.updateSubMenuToggle(),a.formatter.setBorders())},a.toggleStatus=function(e){var t=s(e).attr("href");t=t.substring(1),s(NestedPages.selectors.syncCheckbox).attr("disabled",!1),s(NestedPages.selectors.toggleStatus).removeClass("active"),s(e).addClass("active"),"draft"==t&&(s(NestedPages.selectors.syncCheckbox).attr("disabled",!0),s("."+t).addClass("nested-visible")),"all"!=t?(s(NestedPages.selectors.rows).hide(),s("."+t).show()):s(NestedPages.selectors.rows).show()},a.init()},(NestedPages=NestedPages||{}).Nesting=function(){var n=this,o=jQuery;n.formatter=new NestedPages.Formatter,n.initializeSortable=function(){if(!NestedPages.jsData.nestable)return n.initializeSortableFlat();o(NestedPages.selectors.sortable).not(NestedPages.selectors.notSortable).nestedSortable({items:NestedPages.selectors.rows,toleranceElement:"> .row",handle:NestedPages.selectors.handle,placeholder:"ui-sortable-placeholder",tabSize:56,isAllowed:function(e,t,a){return!(o(t).hasClass("post-type-np-redirect")&&!o(a).hasClass("post-type-np-redirect"))},start:function(e,t){t.placeholder.height(t.item.height())},sort:function(e,t){n.formatter.updatePlaceholderWidth(t)},stop:function(e,t){setTimeout(function(){n.formatter.updateSubMenuToggle(),n.formatter.setBorders(),n.formatter.setNestedMargins()},100),n.syncNesting()}})},n.initializeSortableFlat=function(){var e=o(NestedPages.selectors.lists).not(NestedPages.selectors.notSortable);o.each(e,function(){o(this).sortable({items:">"+NestedPages.selectors.rows,handle:NestedPages.selectors.handle,placeholder:"ui-sortable-placeholder",forcePlaceholderSize:!0,start:function(e,t){t.placeholder.height(t.item.height())},sort:function(e,t){n.formatter.updatePlaceholderWidth(t)},stop:function(e,t){setTimeout(function(){n.formatter.updateSubMenuToggle(),n.formatter.setBorders(),n.formatter.setNestedMargins()},100),n.syncNesting()}})})},n.disableNesting=function(){o(NestedPages.selectors.sortable).sortable("destroy")},n.syncNesting=function(e,t){var a;if("1"!==nestedpages.manual_order_sync||e){o(NestedPages.selectors.errorDiv).hide(),o(NestedPages.selectors.loadingIndicator).show(),a=NestedPages.jsData.nestable?o(NestedPages.selectors.sortable).nestedSortable("toHierarchy",{startDepthCount:0}):n.setNestingArray(),n.disableNesting();var s=NestedPages.jsData.syncmenu;"1"===nestedpages.manual_menu_sync&&(s="nosync"),o.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.syncNesting,nonce:NestedPages.jsData.nonce,list:a,post_type:NestedPages.jsData.posttype,syncmenu:s},success:function(e,t){if(n.initializeSortable(),"error"===e.status)o(NestedPages.selectors.errorDiv).text(e.message).show(),o(NestedPages.selectors.loadingIndicator).hide();else{if(t&&"function"==typeof t)return void t();o(NestedPages.selectors.loadingIndicator).hide()}}})}},n.setNestingArray=function(e){return ret=[],o(NestedPages.selectors.lists).first().children("li.page-row").each(function(){var e=n.recursiveNesting(this);ret.push(e)}),ret},n.recursiveNesting=function(e){var t,a=o(e).attr("id");if(a)return a=a.replace("menuItem_",""),t={id:a},0<o(e).children(NestedPages.selectors.lists).children(NestedPages.selectors.rows).length&&(t.children=[],o(e).children(NestedPages.selectors.lists).children(NestedPages.selectors.rows).each(function(){var e=n.recursiveNesting(this);t.children.push(e)})),t}},(NestedPages=NestedPages||{}).SyncMenuSetting=function(){var t=this,e=jQuery;return t.formatter=new NestedPages.Formatter,t.init=function(){t.bindEvents()},t.bindEvents=function(){e(document).ready(function(){"1"!==nestedpages.manual_menu_sync&&"1"===nestedpages.syncmenu&&t.syncSetting()}),e(document).on("change",NestedPages.selectors.syncCheckbox,function(){t.syncSetting()})},t.syncSetting=function(){"page"===NestedPages.jsData.posttype&&0!==e(NestedPages.selectors.syncCheckbox).length&&(NestedPages.jsData.syncmenu=e(NestedPages.selectors.syncCheckbox).is(":checked")?"sync":"nosync",e.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.syncMenu,nonce:NestedPages.jsData.nonce,post_type:NestedPages.jsData.posttype,syncmenu:NestedPages.jsData.syncmenu},success:function(e){"error"===e.status&&t.formatter.showAjaxError(e.message)},error:function(e){console.log(e)}}))},t.bindEvents()},(NestedPages=NestedPages||{}).NewPost=function(){var r=this,d=jQuery;return r.formatter=new NestedPages.Formatter,r.parent_id=0,r.posts="",r.form="",r.bindEvents=function(){d(document).on("open-modal",function(e,t,a){var s=d(t).attr("data-nestedpages-modal-toggle");void 0!==s&&"np-bulk-modal"==s&&r.openModal()}),d(document).on("submit",NestedPages.selectors.newPageForm,function(e){e.preventDefault()}),d(document).on("click",NestedPages.selectors.newPageSubmitButton,function(e){e.preventDefault(),r.submitForm(d(this))}),d(document).on("click",NestedPages.selectors.newPageTitle,function(e){e.preventDefault(),r.addTitleField(d(this))}),d(document).on("click",NestedPages.selectors.newPageRemoveTitle,function(e){e.preventDefault(),r.removeTitleField(d(this))}),d(document).on("click",NestedPages.selectors.addChildButton,function(e){e.preventDefault(),r.openQuickEdit(d(this))}),d(document).on("click",NestedPages.selectors.cancelNewChildButton,function(e){e.preventDefault(),r.cancelNewPage()}),d(document).on("click","["+NestedPages.selectors.newBeforeButton+"]",function(e){e.preventDefault(),r.openQuickEdit(d(this))}),d(document).on("click","["+NestedPages.selectors.newAfterButton+"]",function(e){e.preventDefault(),r.openQuickEdit(d(this))}),d(document).on("keydown",function(e){27===e.keyCode&&(r.cancelNewPage(),d(document).click())})},r.openModal=function(){var e=d(NestedPages.selectors.newPageFormContainer).clone().find(NestedPages.selectors.newPageForm);d(e).addClass("in-modal"),d(NestedPages.selectors.newPageModal).find(".modal-body").html(e),d(NestedPages.selectors.newPageModal).find("h3").text(nestedpages.add_multiple),d(NestedPages.selectors.newPageModal).find(".page_parent_id").val(r.parent_id),d(e).find(".np_title").first().focus(),d(e).find(NestedPages.selectors.newPageTitle).first().prop("tabindex","2")},r.openQuickEdit=function(e){var t=d(e).attr(NestedPages.selectors.newBeforeButton);t=void 0!==t&&""!==t&&t;var a=d(e).attr(NestedPages.selectors.newAfterButton);a=void 0!==a&&""!==a&&a;var s=d(e).closest(NestedPages.selectors.row).parent("li"),n=d(NestedPages.selectors.newPageFormContainer).clone();if(0<d(s).children("ol").length){var o=d(s).children("ol");d(n).insertBefore(o)}else d(n).appendTo(s);d(n).siblings(NestedPages.selectors.row).hide(),r.formatter.showQuickEdit(),d(n).find(".parent_name").html("<em>Parent:</em> "+d(e).attr("data-parentname")),t||a||d(n).find(".page_parent_id").val(d(e).attr("data-id")),t&&(d(n).find(".page_before_id").val(t),d(n).find("[data-new-post-relation-title]").text(nestedpages.insert_before+": "+d(e).attr("data-parentname"))),a&&(d(n).find(".page_after_id").val(a),d(n).find("[data-new-post-relation-title]").text(nestedpages.insert_after+": "+d(e).attr("data-parentname"))),d(n).show(),d(n).find(".np_title").focus(),d(n).find(NestedPages.selectors.newPageTitle).prop("tabindex","2")},r.cancelNewPage=function(){r.formatter.removeQuickEdit(),d(NestedPages.selectors.newChildError).hide(),d(NestedPages.selectors.newPageModal).find(".modal-body").empty(),d(NestedPages.selectors.sortable).find(".new-child").remove(),d(NestedPages.selectors.row).show()},r.addTitleField=function(e){var t=d(e).parents("form"),a=d(e).siblings(".new-page-titles").children("li").length+1,s='<li><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="handle np-icon-menu"><path d="M0 0h24v24H0z" fill="none" /><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" class="bars" /></svg><div class="form-control new-child-row"><label>'+NestedPages.jsData.titleText+'</label><div><input type="text" name="post_title[]" class="np_title" placeholder="'+NestedPages.jsData.titleText+'" value="" tabindex="'+a+'" /><a href="#" class="button-secondary np-remove-child">-</a></div></div></li>';d(e).siblings(".new-page-titles").append(s);d(t).find(".np_title").last().focus(),d(t).find(NestedPages.selectors.newPageTitle).prop("tabindex",a++),d(".new-page-titles").sortable({items:"li",handle:".handle"}),r.toggleAddEditButton(t)},r.removeTitleField=function(e){var t=d(e).parents("form");d(e).parents(".new-child-row").parent("li").remove(),r.toggleAddEditButton(t)},r.submitForm=function(e){r.toggleLoading(!0),r.form=d(e).parents("form");var a=!!d(e).hasClass("add-edit"),t=NestedPages.formActions.newPage;""!==d(r.form).find(".page_before_id").val()&&(t=NestedPages.formActions.newBeforeAfter),""!==d(r.form).find(".page_after_id").val()&&(t=NestedPages.formActions.newBeforeAfter),d.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:d(r.form).serialize()+"&action="+t+"&nonce="+NestedPages.jsData.nonce+"&syncmenu="+NestedPages.jsData.syncmenu+"&post_type="+NestedPages.jsData.posttype,success:function(e){if("error"===e.status)return r.toggleLoading(!1),void d(r.form).find(NestedPages.selectors.quickEditErrorDiv).text(e.message).show();if(!0===a){var t=e.new_pages[0].edit_link;return t=t.replace(/&/g,"&"),void window.location.replace(t)}r.toggleLoading(!1),r.posts=e.new_pages,r.addPosts()},error:function(e){console.log(e),r.toggleLoading(!1),d(r.form).find(NestedPages.selectors.quickEditErrorDiv).text("The form could not be saved at this time.").show()}})},r.addPosts=function(){var e=d(r.form).find(".page_before_id").val();e=""!==e&&e;var t=d(r.form).find(".page_after_id").val();t=""!==t&&t;var a=d(r.form).parent(".new-child").parent(".page-row");if(0!==d(a).children("ol").length||e||t||d(a).append('<ol class="nplist"></ol>'),d(r.form).hasClass("in-modal"))var s=d(".nplist.sortable li.page-row:first");else s=d(a).children("ol");for(i=0;i<r.posts.length;i++)r.appendRows(s,r.posts[i],e,t);e||t||d(s).show(),r.formatter.updateSubMenuToggle(),r.formatter.setNestedMargins(),r.cancelNewPage(),d(document).trigger("close-modal-manual")},r.appendRows=function(e,t,a,s){var n='<li id="menuItem_'+t.id+'" class="page-row';if("publish"===t.status&&(n+=" published"),n+='">',NestedPages.jsData.hierarchical?(n+='<div class="row">',n+='<div class="child-toggle"></div>'):(n+='<div class="row non-hierarchical">',n+='<div class="non-hierarchical-spacer"></div>'),n+='<div class="row-inner">',n+='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="np-icon-sub-menu"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z" class="arrow" /></svg>',n+='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="handle np-icon-menu"><path d="M0 0h24v24H0z" fill="none" /><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" class="bars" /></svg>',n+='<a href="'+t.edit_link+'" class="page-link page-title">',n+='<span class="title">'+t.title+"</span>","Publish"!==t.status?n+='<span class="status">('+t.status+")</span>":n+='<span class="status"></span>',n+='<span class="nav-status">',"hide"===t.np_nav_status&&(n+=" "+nestedpages.hidden),n+="</span>",n+='<span class="edit-indicator">Edit</span>',n+="</a>",NestedPages.jsData.hierarchical||(n+='<div class="np-post-columns">',n+='<ul class="np-post-info">',n+='<li><span class="np-author-display">'+t.author_formatted+"</span></li>",n+="<li>"+t.date_formatted+"</li>",n+="</ul>",n+="</div>"),d(".nplist").first().hasClass("has-yoast")&&(n+='<span class="np-seo-indicator na"></span>'),n+='<div class="action-buttons">',n+='<div class="nestedpages-dropdown" data-dropdown><a href="#" class="np-btn has-icon toggle" data-dropdown-toggle><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg></a><ul class="nestedpages-dropdown-content" data-dropdown-content>',n+='<li><a href="#" class="open-redirect-modal" data-parentid="'+t.id+'"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>'+nestedpages.add_link+"</a></li>",n+='<li><a href="#" class="add-new-child" data-id="'+t.id+'" data-parentname="'+t.title+'"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'+nestedpages.add_child_short+"</a></li>",n+="</ul></div>",n+='<a href="#" class="np-btn np-quick-edit" data-id="'+t.id+'" data-template="'+t.page_template+'" data-title="'+t.title+'" data-slug="'+t.slug+'" data-commentstatus="closed" data-status="'+t.status.toLowerCase()+'" data-np-status="show"\tdata-navstatus="show" data-author="'+t.author+'" data-template="'+t.template+'" data-month="'+t.month+'" data-day="'+t.day+'" data-year="'+t.year+'" data-hour="'+t.hour+'" data-minute="'+t.minute+'" data-datepicker="'+t.datepicker+'" data-time="'+t.time+'" data-formattedtime="'+t.formattedtime+'" data-ampm="'+t.ampm+'">'+nestedpages.quick_edit+"</a>",n+='<a href="'+t.view_link+'" class="np-btn" target="_blank">'+nestedpages.view+"</a>",n+='<a href="'+t.delete_link+'" class="np-btn np-btn-trash"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="np-icon-remove"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" class="icon"/><path d="M0 0h24v24H0z" fill="none"/></svg></a>',n+="</div>\x3c!-- .action-buttons --\x3e",n+="</div>\x3c!-- .row-inner --\x3e</div>\x3c!-- .row --\x3e",n+="</li>",a){var o=r.findRowById(a);d(n).insertBefore(o)}else if(s){o=r.findRowById(s);d(n).insertAfter(o)}else d(e).append(n)},r.findRowById=function(e){return d(NestedPages.selectors.rows+"#menuItem_"+e)},r.toggleAddEditButton=function(e){var t=d(e).find(".np_title").length;t<1?d(NestedPages.selectors.newPageSubmitButton).hide():(d(NestedPages.selectors.newPageSubmitButton).show(),1<t?d(NestedPages.selectors.newPageSubmitButton+".add-edit").hide():d(NestedPages.selectors.newPageSubmitButton+".add-edit").show())},r.toggleLoading=function(e){if(e)return d(NestedPages.selectors.quickEditErrorDiv).hide(),d(NestedPages.selectors.newPageSubmitButton).attr("disabled","disabled"),void d(NestedPages.selectors.quickEditLoadingIndicator).show();d(NestedPages.selectors.newPageSubmitButton).attr("disabled",!1),d(NestedPages.selectors.quickEditLoadingIndicator).hide()},r.bindEvents()},(NestedPages=NestedPages||{}).QuickEditPost=function(){var l=this,c=jQuery;return l.formatter=new NestedPages.Formatter,l.button="",l.initialData="",l.parent_li="",l.form="",l.flatTerms="",l.termNames="",l.saveButton="",l.newData="",l.row="",l.bindEvents=function(){c(document).on("click",NestedPages.selectors.quickEditOpen,function(e){e.preventDefault(),l.button=c(this),l.openForm()}),c(document).on("click",NestedPages.selectors.quickEditCancel,function(e){e.preventDefault(),l.formatter.removeQuickEdit()}),c(document).on("change",".keep_private",function(){this.checked?c(".post_password").val("").prop("readonly",!0):c(".post_password").prop("readonly",!1)}),c(document).on("click",NestedPages.selectors.quickEditSaveButton,function(e){e.preventDefault(),l.saveButton=c(this),l.save()}),c(document).on("keydown",function(e){27===e.keyCode&&l.formatter.removeQuickEdit()})},l.openForm=function(){l.setInitialData(),l.createForm(),l.populateForm(),l.populateFlatTaxonomies()},l.setInitialData=function(){l.initialData={id:c(l.button).attr("data-id"),title:c(l.button).attr("data-title"),slug:c(l.button).attr("data-slug"),author:c(l.button).attr("data-author"),cs:c(l.button).attr("data-commentstatus"),status:c(l.button).attr("data-status"),template:c(l.button).attr("data-template"),month:c(l.button).attr("data-month"),day:c(l.button).attr("data-day"),year:c(l.button).attr("data-year"),hour:c(l.button).attr("data-hour"),minute:c(l.button).attr("data-minute"),navstatus:c(l.button).attr("data-navstatus"),npstatus:c(l.button).attr("data-np-status"),navtitle:c(l.button).attr("data-navtitle"),navtitleattr:c(l.button).attr("data-navtitleattr"),navcss:c(l.button).attr("data-navcss"),linktarget:c(l.button).attr("data-linktarget"),password:c(l.button).attr("data-password"),datepicker:c(l.button).attr("data-datepicker"),time:c(l.button).attr("data-formattedtime"),timeTwentyFour:c(l.button).attr("data-time"),ampm:c(l.button).attr("data-ampm"),timeFormat:c(l.button).attr("data-timeformat"),sticky:c(l.button).attr("data-sticky")};var e=c(l.button)[0].attributes;c.each(e,function(e,t){t.name.includes("data-npcustom")&&(l.initialData[t.name]=t.value)}),l.initialData.h_taxonomies=[],l.initialData.f_taxonomies=[],l.parent_li=c(l.button).closest(NestedPages.selectors.row).parent("li");var t=c(l.parent_li).attr("class").split(/\s+/);for(i=0;i<t.length;i++)"in-"===t[i].substring(0,3)&&l.initialData.h_taxonomies.push(t[i]),"inf-"===t[i].substring(0,4)&&l.initialData.f_taxonomies.push(t[i])},l.createForm=function(){if(l.form=c(NestedPages.selectors.quickEditPostForm).clone(),0<c(l.parent_li).children("ol").length){var e=c(l.parent_li).children("ol");c(l.form).insertBefore(e)}else c(l.form).appendTo(l.parent_li);c(l.form).siblings(NestedPages.selectors.row).hide(),c(l.form).show()},l.populateForm=function(){for(var e in c(l.form).find(".page_id").html("<em>ID:</em> "+l.initialData.id),c(l.form).find(".np_id").val(l.initialData.id),c(l.form).find(".np_title").val(l.initialData.title),c(l.form).find(".np_slug").val(l.initialData.slug),c(l.form).find(".np_author select").val(l.initialData.author),c(l.form).find(".np_status").val(l.initialData.status),c(l.form).find(".np_nav_title").val(l.initialData.navtitle),c(l.form).find(".np_title_attribute").val(l.initialData.navtitleattr),c(l.form).find(".np_nav_css_classes").val(l.initialData.navcss),c(l.form).find(".post_password").val(l.initialData.password),c(l.form).find(".np_publish_date").val(l.initialData.datepicker),"open"===l.initialData.cs&&c(l.form).find(".np_cs").attr("checked","checked"),""!==l.initialData.template?c(l.form).find(".np_template").val(l.initialData.template):c(l.form).find(".np_template").val("default"),"private"===l.initialData.status&&(c(l.form).find(".post_password").attr("readonly",!0),c(l.form).find(".keep_private").attr("checked",!0)),"hide"===l.initialData.npstatus?c(l.form).find(".nested_pages_status").attr("checked","checked"):c(l.form).find(".nested_pages_status").removeAttr("checked"),"hide"===l.initialData.navstatus?c(l.form).find(".np_nav_status").attr("checked","checked"):c(l.form).find(".np_nav_status").attr("checked",!1),"_blank"===l.initialData.linktarget?c(l.form).find(".link_target").attr("checked","checked"):c(l.form).find(".link_target").attr("checked",!1),"private"===l.initialData.status&&c(l.form).find(".np_status").val("publish"),"sticky"===l.initialData.sticky?c(l.form).find(".np-sticky").attr("checked","checked"):c(l.form).find(".np-sticky").removeAttr("checked"),"H:i"===l.initialData.timeFormat?c(l.form).find(".np_time").val(l.initialData.timeTwentyFour):(c(l.form).find(".np_time").val(l.initialData.time),c(l.form).find(".np_ampm").val(l.initialData.ampm),c(l.form).find('select[name="mm"]').val(l.initialData.month),c(l.form).find('input[name="jj"]').val(l.initialData.day),c(l.form).find('input[name="aa"]').val(l.initialData.year),c(l.form).find('input[name="hh"]').val(l.initialData.hour),c(l.form).find('input[name="mn"]').val(l.initialData.minute)),l.initialData)if(e.includes("npcustom")&&l.initialData.hasOwnProperty(e)){var t=e.replace("data-npcustom-","");t=t.toLowerCase(),c(l.form).find('[data-np-custom-field="'+t+'"]').val(l.initialData[e])}if(l.populateFlatTaxonomies(),l.initialData.hasOwnProperty("h_taxonomies")){var a=l.initialData.h_taxonomies;for(i=0;i<a.length;i++){var s="#"+a[i];c(l.form).find(s).attr("checked","checked")}}var n=c(l.form).find(".np_datepicker");c.each(n,function(){var e=c(this);e.datepicker({dateFormat:e.attr("data-datepicker-format"),beforeShow:function(e,t){c("#ui-datepicker-div").addClass("nestedpages-datepicker")}})}),l.formatter.showQuickEdit(),c(l.form).show()},l.populateFlatTaxonomies=function(){l.initialData.hasOwnProperty("f_taxonomies")&&(l.createTaxonomyObject(),l.getTermNames(),l.setWPSuggest())},l.createTaxonomyObject=function(){var e={};for(i=0;i<l.initialData.f_taxonomies.length;i++){var t=l.initialData.f_taxonomies[i],a=t.split("-"),s=a.indexOf("nps"),n=a.splice(s+1);n=n.join("-");var o=t.split("-").splice(0,s);o.shift("inf");var r=o.join("-");r in e||(e[r]=[]),e[r].push(n)}l.flatTerms=e},l.getTermNames=function(){c.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.getTaxonomies,nonce:NestedPages.jsData.nonce,terms:l.flatTerms},success:function(e){l.termNames=e.terms,l.populateFlatTaxonomyFields()}})},l.populateFlatTaxonomyFields=function(){l.termNames&&c.each(l.termNames,function(e,t){var a=c("#"+e+"-quickedit");c(a).val(t.join(","))})},l.setWPSuggest=function(){var e=c(l.form).find("[data-autotag]");c.each(e,function(e,t){var a=c(this).attr("data-taxonomy");c(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+a,{multiple:!0,multipleSep:","})})},l.save=function(){l.toggleLoading(!0),c.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:c(l.form).find("form").serialize()+"&action="+NestedPages.formActions.quickEditPost+"&nonce="+NestedPages.jsData.nonce+"&syncmenu="+NestedPages.jsData.syncmenu+"&post_type="+NestedPages.jsData.posttype,success:function(e){"error"===e.status?(l.toggleLoading(!1),c(l.form).find(NestedPages.selectors.quickEditErrorDiv).text(e.message).show()):(l.toggleLoading(!1),l.newData=e.post_data,l.updatePostRow())},error:function(e){console.log(e)}})},l.updatePostRow=function(){l.row=c(l.button).parents(".row-inner"),c(l.row).find(".title").text(l.newData.post_title),c(l.row).find(".np-view-button").attr("href",l.newData.permalink);var e=c(l.row).find(".status");if("publish"!==l.newData._status&&"future"!==l.newData._status){var t=nestedpages.post_statuses[l.newData._status].label;c(e).text("("+t+")")}else c(e).text("");if("private"===l.newData.keep_private&&c(e).text(nestedpages.private),""!==l.newData.post_password&&void 0!==l.newData.post_password){var a=c(e).text();a+=' <span class="locked">',a+='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></svg>',a+="</span>",c(e).html(a)}var s=c(l.row).find(".nav-status");"hide"==l.newData.nav_status?c(s).text("(Hidden)"):c(s).text("");var n=c(l.row).parent("li");"hide"==l.newData.np_status?(c(n).addClass("np-hide"),c(l.row).find(".status").after('<svg class="row-status-icon status-np-hidden" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z" fill="none"/><path class="icon" d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>')):(c(n).removeClass("np-hide"),c(l.row).find(".status-np-hidden").remove());var o=c(l.row).find(".sticky");"sticky"==l.newData.sticky?c(o).show():c(o).hide(),NestedPages.jsData.hierarchical||c(l.row).find(".np-author-display").text(l.newData.author_name);var i=c(l.row).find(NestedPages.selectors.quickEditOpen);for(var r in c(i).attr("data-id",l.newData.post_id),c(i).attr("data-template",l.newData.page_template),c(i).attr("data-title",l.newData.post_title),c(i).attr("data-slug",l.newData.post_name),c(i).attr("data-commentstatus",l.newData.comment_status),c(i).attr("data-status",l.newData._status),c(i).attr("data-sticky",l.newData.sticky),"private"===l.newData.keep_private&&c(i).attr("data-status","private"),c(i).attr("data-author",l.newData.post_author),c(i).attr("data-np-status",l.newData.np_status),c(i).attr("data-password",l.newData.post_password),c(i).attr("data-navstatus",l.newData.nav_status),c(i).attr("data-navtitle",l.newData.np_nav_title),c(i).attr("data-linktarget",l.newData.link_target),c(i).attr("data-navtitleattr",l.newData.np_title_attribute),c(i).attr("data-navcss",l.newData.np_nav_css_classes),c(i).attr("data-month",l.newData.mm),c(i).attr("data-day",l.newData.jj),c(i).attr("data-year",l.newData.aa),c(i).attr("data-hour",l.newData.hh),c(i).attr("data-minute",l.newData.mn),c(i).attr("data-datepicker",l.newData.np_date),c(i).attr("data-time",l.newData.np_time),c(i).attr("data-formattedtime",l.newData.np_time),c(i).attr("data-ampm",l.newData.np_ampm),l.newData)if(r.includes("np_custom")&&l.newData.hasOwnProperty(r)){var d=r.replace("np_custom_","data-npcustom-");c(i).attr(d,l.newData[r])}l.removeTaxonomyClasses(),l.addCategoryClasses(),l.addHierarchicalClasses(),l.addFlatClasses(),l.addStatusClass(),l.formatter.removeQuickEdit(),l.formatter.flashRow(l.row)},l.addStatusClass=function(){var e=["published","draft","pending","future"];for(i=0;i<e.length;i++)c(l.row).removeClass(e[i]);c(l.row).addClass(l.newData._status)},l.removeTaxonomyClasses=function(){taxonomies=[];var e=c(l.row).attr("class").split(/\s+/);for(i=0;i<e.length;i++)"in-"===e[i].substring(0,3)&&c(l.row).removeClass(e[i]),"inf-"===e[i].substring(0,4)&&c(l.row).removeClass(e[i])},l.addCategoryClasses=function(){if(l.newData.hasOwnProperty("post_category")){var e=l.newData.post_category;for(i=0;i<e.length;i++){var t="in-category-"+e[i];c(l.row).addClass(t)}}},l.addHierarchicalClasses=function(){if(l.newData.hasOwnProperty("tax_input")){var e=l.newData.tax_input;c.each(e,function(e,t){for(i=0;i<t.length;i++){var a="in-"+e+"-"+t[i];c(l.row).addClass(a)}})}},l.addFlatClasses=function(){if(l.newData.hasOwnProperty("flat_tax")){var e=l.newData.flat_tax;c.each(e,function(e,t){for(i=0;i<t.length;i++){var a="inf-"+e+"-nps-"+t[i];c(l.row).addClass(a)}})}},l.toggleLoading=function(e){if(e)return c(NestedPages.selectors.quickEditErrorDiv).hide(),c(l.saveButton).attr("disabled","disabled"),void c(NestedPages.selectors.quickEditLoadingIndicator).show();c(l.saveButton).attr("disabled",!1),c(NestedPages.selectors.quickEditLoadingIndicator).hide()},l.bindEvents()},(NestedPages=NestedPages||{}).QuickEditLink=function(){var o=this,i=jQuery;return o.formatter=new NestedPages.Formatter,o.button="",o.postData="",o.newPostData="",o.form="",o.bindEvents=function(){i(document).on("click",NestedPages.selectors.quickEditButtonLink,function(e){e.preventDefault(),o.formatter.removeQuickEdit(),o.button=i(this),o.openQuickEdit()}),i(document).on("click",NestedPages.selectors.quickEditLinkSaveButton,function(e){e.preventDefault(),o.submitForm()}),i(document).on("keydown",function(e){27===e.keyCode&&o.formatter.removeQuickEdit()})},o.openQuickEdit=function(){o.setData(),o.createForm(),o.populateForm()},o.setData=function(){o.postData={id:i(o.button).attr("data-id"),url:i(o.button).attr("data-url"),title:i(o.button).attr("data-title"),status:i(o.button).attr("data-status"),navstatus:i(o.button).attr("data-navstatus"),npstatus:i(o.button).attr("data-np-status"),linktarget:i(o.button).attr("data-linktarget"),parentid:i(o.button).attr("data-parentid"),navtitleattr:i(o.button).attr("data-navtitleattr"),navcss:i(o.button).attr("data-navcss"),navtype:i(o.button).attr("data-nav-type"),navobject:i(o.button).attr("data-nav-object"),navobjectid:i(o.button).attr("data-nav-object-id"),navoriginallink:i(o.button).attr("data-nav-original-link"),navoriginaltitle:i(o.button).attr("data-nav-original-title")}},o.createForm=function(){var e=i(o.button).closest(NestedPages.selectors.row).parent("li");if(o.form=i(NestedPages.selectors.quickEditLinkForm).clone(),0<i(e).children("ol").length){var t=i(e).children("ol");i(o.form).insertBefore(t)}else i(o.form).appendTo(e);i(o.form).siblings(NestedPages.selectors.row).hide()},o.populateForm=function(){if(i(o.form).find(".np_id").val(o.postData.id),i(o.form).find(".np_title").val(o.postData.title),i(o.form).find(".np_author select").val(o.postData.author),i(o.form).find(".np_status").val(o.postData.status),i(o.form).find(".np_content").val(o.postData.url),i(o.form).find(".np_parent_id").val(o.postData.parentid),i(o.form).find(".np_title_attribute").val(o.postData.navtitleattr),i(o.form).find(".np_nav_css_classes").val(o.postData.navcss),"hide"===o.postData.npstatus?i(o.form).find(".np_status").prop("checked","checked"):i(o.form).find(".np_status").removeAttr("checked"),"hide"===o.postData.navstatus?i(o.form).find(".np_nav_status").prop("checked","checked"):i(o.form).find(".np_nav_status").removeAttr("checked"),"_blank"===o.postData.linktarget?i(o.form).find(".link_target").prop("checked","checked"):i(o.form).find(".link_target").removeAttr("checked"),"custom"!==o.postData.navobject&&""!==o.postData.navobject){var e='<div class="form-control original-link">Original: <a href="'+o.postData.navoriginallink+'" target="_blank">'+o.postData.navoriginaltitle+"</a></div>";i(o.form).find("[data-url-field]").remove(),i(e).insertAfter(i(o.form).find("h3")),i(o.form).find("[data-np-menu-object-input]").val(o.postData.navobject),i(o.form).find("[data-np-menu-objectid-input]").val(o.postData.navobjectid),i(o.form).find("[data-np-menu-type-input]").val(o.postData.navtype),i(o.form).find("h3").text("Link: "+o.postData.navoriginaltitle)}else i(o.form).find("h3").text("Link"),i(o.form).find("[data-np-menu-object-input]").val("custom"),i(o.form).find("[data-np-menu-type-input]").val("custom");o.formatter.showQuickEdit(),i(o.form).show()},o.submitForm=function(){o.toggleLoading(!0),i.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:i(o.form).find("form").serialize()+"&action="+NestedPages.formActions.quickEditLink+"&nonce="+NestedPages.jsData.nonce+"&syncmenu="+NestedPages.jsData.syncmenu+"&post_type="+NestedPages.jsData.posttype,success:function(e){"error"===e.status?(o.toggleLoading(!1),i(o.form).find(NestedPages.selectors.quickEditErrorDiv).text(e.message).show()):(o.toggleLoading(!1),o.newPostData=e.post_data,o.updateRow())},error:function(e){o.toggleLoading(!1),i(o.form).find(NestedPages.selectors.quickEditErrorDiv).text("The form could not be saved at this time.").show()}})},o.updateRow=function(){var e=i(o.form).siblings(".row");i(e).find(".title").html(o.newPostData.post_title+' <svg class="link-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path class="icon" d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>');var t=i(e).find(".status");"publish"!==o.newPostData._status&&"future"!==o.newPostData._status?i(t).text("("+o.newPostData._status+")"):i(t).text("");var a=i(e).find(".nav-status");"hide"==o.newPostData.nav_status?i(a).text("("+NestedPages.jsData.hiddenText+")"):i(a).text("");var s=i(e).parent("li");"hide"==o.newPostData.np_status?(i(s).addClass("np-hide"),i(e).find(".status").after('<svg class="row-status-icon status-np-hidden" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z" fill="none"/><path class="icon" d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>')):(i(s).removeClass("np-hide"),i(e).find(".status-np-hidden").remove());var n=i(e).find(NestedPages.selectors.quickEditButtonLink);i(n).attr("data-id",o.newPostData.post_id),i(n).attr("data-title",o.newPostData.post_title),i(n).attr("data-url",o.newPostData.post_content),i(n).attr("data-status",o.newPostData._status),i(n).attr("data-navstatus",o.newPostData.nav_status),i(n).attr("data-np-status",o.newPostData.np_status),i(n).attr("data-linkTarget",o.newPostData.linkTarget),i(n).attr("data-navtitleattr",o.newPostData.titleAttribute),i(n).attr("data-navcss",o.newPostData.cssClasses),o.formatter.removeQuickEdit(),o.formatter.flashRow(e)},o.toggleLoading=function(e){if(i(".row").removeClass("np-updated").removeClass("np-updated-show"),e)return i(NestedPages.selectors.quickEditErrorDiv).hide(),i(NestedPages.selectors.quickEditLinkSaveButton).attr("disabled","disabled"),void i(NestedPages.selectors.quickEditLoadingIndicator).show();i(NestedPages.selectors.quickEditLinkSaveButton).attr("disabled",!1),i(NestedPages.selectors.quickEditLoadingIndicator).hide()},o.bindEvents()},(NestedPages=NestedPages||{}).Clone=function(){var t=this,a=jQuery;return t.parent_id="",t.parent_title="",t.parentLi=null,t.formatter=new NestedPages.Formatter,t.bindEvents=function(){a(document).on("click",NestedPages.selectors.cloneButton,function(e){e.preventDefault(),t.parent_id=a(this).attr("data-id"),t.parent_title=a(this).attr("data-parentname"),t.parentLi=a(this).parent(".row").parent(".page-row").parent(".npList"),t.openModal()}),a(document).on("click",NestedPages.selectors.confirmClone,function(e){e.preventDefault(),t.clone()})},t.openModal=function(){a("#"+NestedPages.selectors.cloneModal).find("[data-clone-parent]").text(t.parent_title),a(document).trigger("open-modal-manual",NestedPages.selectors.cloneModal)},t.clone=function(){t.toggleLoading(!0),a.ajax({url:NestedPages.jsData.ajaxurl,type:"post",data:{action:NestedPages.formActions.clonePost,parent_id:t.parent_id,quantity:a(NestedPages.selectors.cloneQuantity).val(),status:a(NestedPages.selectors.cloneStatus).val(),author:a(NestedPages.selectors.cloneAuthor).find("select").val(),nonce:NestedPages.jsData.nonce,posttype:NestedPages.jsData.posttype},success:function(e){t.toggleLoading(!1),a(document).trigger("close-modal-manual"),location.reload()}})},t.toggleLoading=function(e){if(e)return a("#"+NestedPages.selectors.cloneModal).find("[data-clone-loading]").show(),void a(NestedPages.selectors.confirmClone).attr("disabled","disabled");a("#"+NestedPages.selectors.cloneModal).find("[data-clone-loading]").hide(),a(NestedPages.selectors.confirmClone).attr("disabled",!1)},t.bindEvents()},(NestedPages=NestedPages||{}).Tabs=function(){var r=this,d=jQuery;return r.selectors={tabToggle:"data-np-tab-toggle",tabPane:"data-np-tab-pane",tabGroup:"data-np-tab-group"},r.bindEvents=function(){d(document).on("click","["+r.selectors.tabToggle+"]",function(e){e.preventDefault(),r.toggleTabs(d(this))})},r.toggleTabs=function(e){for(var t=d(e).attr(r.selectors.tabGroup),a=d("*["+r.selectors.tabGroup+"="+t+"]["+r.selectors.tabPane+"]"),s=d(e).attr(r.selectors.tabToggle),n=d("*["+r.selectors.tabGroup+"="+t+"]["+r.selectors.tabToggle+"]"),o=[],i=0;i<n.length;i++)o[i]=d(n[i]).parent("li")[0];d(a).hide(),d(n).removeClass("active"),d(o).removeClass("active"),d.each(a,function(){d(this).attr(r.selectors.tabPane)==s&&d(this).show()}),d.each(n,function(){d(this).attr(r.selectors.tabToggle)==s&&(d(this).addClass("active"),d(this).parent("li").addClass("active"))}),d(document).trigger("tabs-changed",[s,t,e])},r.bindEvents()},jQuery(document).ready(function(){new NestedPages.Factory}),(NestedPages=NestedPages||{}).selectors={childToggle:".child-toggle",childToggleLink:".child-toggle a",toggleAll:".nestedpages-toggleall",toggleHidden:".np-toggle-hidden",toggleStatus:".np-toggle-publish",lists:".nplist",rows:".page-row",row:".row",sortable:".sortable",notSortable:".no-sort",handle:".handle",published:".published",hiddenRows:".np-hide",errorDiv:"#np-error",loadingIndicator:"#nested-loading",syncCheckbox:".np-sync-menu",syncForm:".np-sync-menu-cont",ajaxError:"[data-nestedpages-error]",trashWithChildrenButton:"[data-nestedpages-trash-children]",toggleEditButtons:".np-toggle-edit",bulkActionsHeader:".nestedpages-list-header",bulkActionsForm:"[data-np-bulk-form]",bulkActionsCheckbox:"[data-np-bulk-checkbox]",bulkActionsIds:"[data-np-bulk-ids]",bulkActionRedirectIds:"[data-np-bulk-redirect-ids]",hiddenItemCount:"[data-np-hidden-count]",hiddenItemCountParent:"[data-np-hidden-count-parent]",bulkEditForm:"[data-np-bulk-edit-form]",bulkEditTitles:"[data-np-bulk-titles]",bulkEditRemoveItem:"[data-np-remove-bulk-item]",bulkEditCancel:"[data-np-cancel-bulk-edit]",bulkEditLinkCount:"[data-bulk-edit-link-count]",quickEditOverlay:".np-inline-overlay",quickEditLoadingIndicator:".np-qe-loading",quickEditErrorDiv:".np-quickedit-error",quickEditCancel:".np-cancel-quickedit",quickEditButtonLink:".np-quick-edit-redirect",quickEditLinkForm:".quick-edit-form-redirect",quickEditLinkSaveButton:".np-save-quickedit-redirect",quickEditOpen:".np-quick-edit",quickEditPostForm:".quick-edit-form",quickEditSaveButton:".np-save-quickedit",openLinkModal:".open-redirect-modal",linkModal:"np-link-modal",saveLink:".np-save-link",linkLoadingIndicator:".np-link-loading",linkErrorDiv:".np-new-link-error",linkForm:".np-new-link-form",linkDeleteButton:"[data-np-confirm-delete]",linkDeleteConfirmationButton:"[data-delete-confirmation]",linkDeleteConfirmationModal:"np-delete-confirmation-modal",linkDeleteConfirmationModalText:"[data-np-link-delete-text]",openPageModal:".open-bulk-modal",newPageModal:"#np-bulk-modal",newPageFormContainer:".new-child-form",newPageForm:".np-new-child-form",newPageSubmitButton:".np-save-newchild",newPageTitle:".add-new-child-row",newPageRemoveTitle:".np-remove-child",addChildButton:".add-new-child",newChildError:".np-newchild-error",cancelNewChildButton:".np-cancel-newchild",newBeforeButton:"data-insert-before",newAfterButton:"data-insert-after",cloneButton:".clone-post",confirmClone:"[data-confirm-clone]",cloneModal:"np-clone-modal",cloneQuantity:"[data-clone-quantity]",cloneStatus:"[data-clone-status]",cloneAuthor:"[data-clone-author]",tabButtonParent:"[data-np-tabs]",tabButton:"[data-np-tab]",tabContent:"[data-np-tab-pane]",thumbnailContainer:".np-thumbnail",thumbnailContainerLink:".np-thumbnail.link",manualMenuSync:"[data-np-manual-menu-sync]",manualOrderSync:"[data-np-manual-order-sync]"},NestedPages.cssClasses={noborder:"no-border"},NestedPages.jsData={ajaxurl:ajaxurl,nonce:nestedpages.np_nonce,allPostTypes:nestedpages.post_types,syncmenu:"nosync",posttype:"",nestable:!0,sortable:!0,hierarchical:!0,expandText:nestedpages.expand_text,collapseText:nestedpages.collapse_text,showHiddenText:nestedpages.show_hidden,hideHiddenText:nestedpages.hide_hidden,quickEditText:nestedpages.quick_edit,hiddenText:nestedpages.hidden,titleText:nestedpages.title},NestedPages.formActions={syncToggles:"npnestToggle",syncNesting:"npsort",syncMenu:"npsyncMenu",newPage:"npnewChild",newBeforeAfter:"npnewBeforeAfter",quickEditLink:"npquickEditLink",getTaxonomies:"npgetTaxonomies",quickEditPost:"npquickEdit",clonePost:"npclonePost",search:"npmenuSearch",newMenuItem:"npnewMenuItem",manualMenuSync:"npmanualMenuSync",postSearch:"nppostSearch",wpmlTranslations:"npWpmlTranslations",resetSettings:"npresetSettings",resetUserPrefs:"npresetUserPreferences",resetAdminMenuSettings:"npresetAdminMenuSettings",trashWithChildren:"nptrashWithChildren"},NestedPages.Factory=function(){var t=this,e=jQuery;return t.formatter=new NestedPages.Formatter,t.dropdowns=new NestedPages.Dropdowns,t.modals=new NestedPages.Modals,t.checkAll=new NestedPages.CheckAll,t.bulkActions=new NestedPages.BulkActions,t.menuToggle=new NestedPages.MenuToggle,t.pageToggle=new NestedPages.PageToggle,t.nesting=new NestedPages.Nesting,t.syncMenuSetting=new NestedPages.SyncMenuSetting,t.newPage=new NestedPages.NewPost,t.quickEditLink=new NestedPages.QuickEditLink,t.quickEditPost=new NestedPages.QuickEditPost,t.clone=new NestedPages.Clone,t.tabs=new NestedPages.Tabs,t.menuLinks=new NestedPages.MenuLinks,t.hiddenItemCount=new NestedPages.HiddenItemCount,t.confirmDelete=new NestedPages.ConfirmDelete,t.manualSync=new NestedPages.ManualSync,t.postSearch=new NestedPages.PostSearch,t.postMove=new NestedPages.MovePost,t.wpml=new NestedPages.Wpml,t.trashWithChildren=new NestedPages.TrashWithChildren,t.init=function(){nestedpages.settings_page||(t.bindEvents(),t.setPostType(),t.setMenuSync(),t.setNestable(),t.setSortable(),t.formatter.updateSubMenuToggle(),t.formatter.setBorders(),t.formatter.setNestedMargins(),t.nesting.initializeSortable())},t.bindEvents=function(){e(document).on("click",NestedPages.selectors.quickEditOverlay,function(e){t.formatter.removeQuickEdit(),t.newPage.cancelNewPage()}),e(document).ready(function(){t.formatter.hideAjaxError(),t.formatter.sizeLinkThumbnails()})},t.setNestable=function(){var a=!1;e.each(NestedPages.jsData.allPostTypes,function(e,t){t.name===NestedPages.jsData.posttype&&(!0===t.hierarchical&&(a=!0),!0===t.disable_nesting&&(a=!1))}),NestedPages.jsData.nestable=a},t.setSortable=function(){var a=!0;e.each(NestedPages.jsData.allPostTypes,function(e,t){t.name===NestedPages.jsData.posttype&&void 0!==t.disable_sorting&&""!==t.disable_sorting&&"true"===t.disable_sorting&&(a=!1)}),NestedPages.jsData.sortable=a},t.setPostType=function(){NestedPages.jsData.posttype=nestedpages.current_post_type,void 0!==NestedPages.jsData.posttype&&""!==NestedPages.jsData.posttype||(NestedPages.jsData.posttype=e(NestedPages.selectors.sortable).attr("id").substring(3)),NestedPages.jsData.hierarchical=NestedPages.jsData.allPostTypes[NestedPages.jsData.posttype].hierarchical},t.setMenuSync=function(){NestedPages.jsData.syncmenu="1"===nestedpages.syncmenu?"sync":"nosync"},t.init()},(NestedPages=NestedPages||{}).MenuLinks=function(){var a=this,s=jQuery;return a.typeButton="",a.post="",a.formatter=new NestedPages.Formatter,a.selectors={form:"[data-np-menu-item-form]",typeSelect:"[data-np-menu-selection]",accordion:"[data-np-menu-accordion]",accordionItem:"[data-np-menu-accordion-item]",formPlaceholder:".np-menu-link-object-placeholder",formDetails:".np-menu-link-details",searchResults:"[data-np-search-result]",defaultResults:"[data-default-result]",originalLink:"[data-np-original-link]",saveButton:"[data-np-save-link]",urlInputCont:"[data-np-menu-url-cont]",errorDiv:"[data-np-error]"},a.fields={object:"[data-np-menu-object-input]",objectid:"[data-np-menu-objectid-input]",itemType:"[data-np-menu-type-input]",url:"[data-np-menu-url]",navigationLabel:"[data-np-menu-navigation-label]",titleAttribute:"[data-np-menu-title-attr]",cssClasses:"[data-np-menu-css-classes]",npStatus:"[data-np-menu-np-status]",linkTarget:"[data-np-menu-link-target]",menuTitle:"[data-np-menu-title]",parentPostType:"[data-np-menu-parent-post-type]"},a.search=new NestedPages.MenuSearch,a.bindEvents=function(){s(document).on("click",NestedPages.selectors.openLinkModal,function(e){e.preventDefault(),a.postParent=s(this).attr("data-parentid"),s(a.selectors.form).find(".parent_id").val(s(this).attr("data-parentid")),a.openModal()}),s(document).on("click",a.selectors.accordionItem,function(e){e.preventDefault(),a.accordion(s(this))}),s(document).on("click",a.selectors.typeSelect,function(e){e.preventDefault(),a.typeButton=s(this),a.setLinkType()}),s(document).on("keyup",a.fields.navigationLabel,function(){a.updateTitle()}),s(document).on("click",a.selectors.saveButton,function(e){e.preventDefault(),a.submitForm()}),s(document).on("keydown",function(e){27===e.keyCode&&s(document).trigger("close-modal-manual")})},a.openModal=function(){s(NestedPages.selectors.linkErrorDiv).hide(),s(NestedPages.selectors.linkModal).find("input").val(""),s(NestedPages.selectors.linkModal).find(".parent_id").val(a.postParent),a.clearForm(),s(a.selectors.accordion).find("ul").hide(),s(a.selectors.typeSelect).removeClass("active"),s(document).trigger("open-modal-manual",NestedPages.selectors.linkModal)},a.accordion=function(e){a.clearForm();var t=s(e).siblings("ul");if(s(t).is(":visible"))return s(e).removeClass("active"),void s(t).slideUp("fast");s(a.selectors.accordionItem).removeClass("active"),s(e).addClass("active"),s(e).parents(a.selectors.accordion).find("ul").slideUp("fast"),s(t).slideDown("fast")},a.setLinkType=function(){s(a.typeButton).hasClass("active")?a.clearForm():(s(a.typeButton).hasClass("np-custom-link")&&(s(a.selectors.accordionItem).removeClass("active"),s(a.selectors.accordion).find("ul").slideUp("fast")),s(a.selectors.formPlaceholder).hide(),a.populateForm())},a.populateForm=function(){s(a.selectors.saveButton).show(),s(a.selectors.typeSelect).removeClass("active"),s(a.typeButton).addClass("active"),s(a.fields.menuTitle).text(s(a.typeButton).text()).val(s(a.typeButton).text()),s(a.selectors.form).find("h3").find("em").text(s(a.typeButton).attr("data-np-object-name")),""!==s(a.typeButton).attr("data-np-permalink")?(s(a.selectors.form).find(a.selectors.urlInputCont).hide(),s(a.selectors.form).find(a.selectors.originalLink).html('<a href="'+s(a.typeButton).attr("data-np-permalink")+'">'+s(a.typeButton).text()+"</a>"),s(a.selectors.form).find(a.selectors.originalLink).parent(".original-link").show()):(s(a.selectors.form).find(a.selectors.urlInputCont).show(),s(a.selectors.form).find(a.selectors.originalLink).parent(".original-link").hide()),s(a.fields.object).val(s(a.typeButton).attr("data-np-menu-object")),s(a.fields.objectid).val(s(a.typeButton).attr("data-np-menu-objectid")),s(a.fields.itemType).val(s(a.typeButton).attr("data-np-menu-type")),s(a.selectors.formDetails).show()},a.clearForm=function(){s(a.selectors.form).find(a.selectors.errorDiv).hide(),s(a.selectors.saveButton).hide(),s(a.selectors.formDetails).hide(),s(a.selectors.formPlaceholder).show(),s(a.selectors.form).find("input").not(".parent_id").not(".parent-post-type").val(""),s(a.selectors.form).find(a.fields.linkTarget).val("_blank"),s(a.selectors.form).find('input[type="checkbox"]').attr("checked",!1),s(a.selectors.typeSelect).removeClass("active"),a.search.toggleLoading(!1),s(a.selectors.searchResults).remove(),s(a.selectors.defaultResults).show()},a.updateTitle=function(){var e=s(a.fields.navigationLabel).val(),t=s(a.selectors.form).find("h3").find("span");""!==e?(s(a.fields.menuTitle).val(e),s(t).text(e)):(s(a.fields.menuTitle).val(s(a.typeButton).text()),s(t).text(s(a.typeButton).text()))},a.submitForm=function(){a.toggleLoading(!0),s.ajax({url:NestedPages.jsData.ajaxurl,type:"post",data:s(a.selectors.form).serialize()+"&action="+NestedPages.formActions.newMenuItem+"&nonce="+NestedPages.jsData.nonce+"&post_type="+NestedPages.jsData.posttype+"&syncmenu="+NestedPages.jsData.syncmenu,success:function(e){a.toggleLoading(!1),"error"!==e.status?(a.post=e.post_data,a.createRow()):s(a.selectors.form).find(a.selectors.errorDiv).text(e.message).show()},error:function(e){console.log(e)}})},a.createRow=function(){var e='<li id="menuItem_'+a.post.id+'" class="page-row published';e+='">',e+='<div class="row"><div class="child-toggle"><div class="child-toggle-spacer"></div></div><div class="row-inner">',e+='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="np-icon-sub-menu"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z" class="arrow" /></svg>',e+='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="handle np-icon-menu"><path d="M0 0h24v24H0z" fill="none" /><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" class="bars" /></svg>',e+='<a href="'+a.post.np_link_content+'" class="page-link page-title" target="_blank"><span class="title">'+a.post.menuTitle+' <svg class="link-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path class="icon" d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg></span>',e+='</a><div class="action-buttons"><a href="#" class="np-btn np-quick-edit-redirect" ',e+='data-id="'+a.post.id+'"',e+='data-parentid="'+a.post.parent_id+'"',e+='data-title="'+a.post.menuTitle+'" ',e+='data-url="'+a.post.url+'" ',e+='data-status="publish" ',e+='data-np-status="show" ',e+='data-navstatus="show" ',e+='data-navcss="'+a.post.cssClasses+'" ',e+='data-navtitleattr="'+a.post.titleAttribute+'" ',e+='data-nav-type="'+a.post.menuType+'" ',e+='data-nav-object="'+a.post.objectType+'" ',e+='data-nav-object-id="'+a.post.objectId+'" ',e+='data-nav-original-link="'+a.post.original_link+'" ',e+='data-nav-original-title="'+a.post.original_title+'" ',e+='data-linktarget="'+a.post.link_target+'">',e+=NestedPages.jsData.quickEditText,e+="</a>",e+='<a href="'+a.post.delete_link+'" class="np-btn np-btn-trash"><i class="np-icon-remove"></i></a>',e+="</div></div></div></li>","0"===a.post.parent_id?s(".nplist:first li:first").after(e):a.appendChildRow(e),s(document).trigger("close-modal-manual"),a.row=s("#menuItem_"+a.post.id).find(".row"),a.formatter.flashRow(a.row)},a.appendChildRow=function(e){var t=s("#menuItem_"+a.post.parent_id);0===s(t).children("ol").length?(e='<ol class="sortable nplist" style="display:block;">'+e+"</ol>",s(t).append(e)):s(t).find("ol:first").prepend(e),a.formatter.updateSubMenuToggle()},a.toggleLoading=function(e){if(e)return s(a.selectors.form).find(a.selectors.errorDiv).hide(),s(a.selectors.form).find(NestedPages.selectors.quickEditLoadingIndicator).show(),void s(a.selectors.saveButton).attr("disabled","disabled");s(a.selectors.form).find(NestedPages.selectors.quickEditLoadingIndicator).hide(),s(a.selectors.saveButton).attr("disabled",!1)},a.bindEvents()},(NestedPages=NestedPages||{}).MenuSearch=function(){var s=this,n=jQuery;return s.selectors={searchForms:"*[data-np-menu-search]",defaultResults:"[data-default-result]",loadingIndicator:".np-menu-search-loading",noResults:".np-menu-search-noresults",searchType:"data-search-type",searchObject:"data-search-object",searchResults:"[data-np-search-result]"},s.activeForm="",s.results="",s.defaultResults="",s.searchType="",s.searchObject="",s.init=function(){s.bindEvents()},s.bindEvents=function(){n(document).on("keyup",s.selectors.searchForms,function(){s.activeForm=n(this),n(s.selectors.searchResults).remove(),s.performSearch()})},s.performSearch=function(){if(s.defaultResults=n(s.activeForm).parent("li").siblings(s.selectors.defaultResults),2<n(s.activeForm).val().length)return n(s.defaultResults).hide(),s.toggleLoading(!0),void s.query();s.toggleLoading(!1),n(s.defaultResults).show()},s.query=function(){s.searchType=n(s.activeForm).attr(s.selectors.searchType),s.searchObject=n(s.activeForm).attr(s.selectors.searchObject),n.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.search,nonce:NestedPages.jsData.nonce,term:n(s.activeForm).val(),searchType:s.searchType,searchObject:s.searchObject},success:function(e){console.log(e),e.results?(s.results=e.results,s.toggleLoading(!1),"post_type"===s.searchType?s.appendPosts():s.appendTaxonomies()):(s.toggleLoading(!1),n(s.activeForm).siblings(s.selectors.noResults).show())}})},s.appendPosts=function(){var a="";n.each(s.results,function(e,t){a+='<li data-np-search-result><a href="#" data-np-menu-object="'+s.searchObject+'" data-np-menu-type="post_type" data-np-menu-objectid="'+t.ID+'" data-np-permalink="'+t.permalink+'" data-np-object-name="'+t.singular_name+'" data-np-menu-selection>'+t.post_title+"</a></li>"}),n(a).insertAfter(n(s.activeForm).parent("li")),s.toggleLoading(!1)},s.appendTaxonomies=function(){var a="";n.each(s.results,function(e,t){a+='<li data-np-search-result><a href="#" data-np-menu-object="'+s.searchObject+'" data-np-menu-type="post_type" data-np-menu-objectid="'+t.term_id+'" data-np-permalink="'+t.permalink+'" data-np-object-name="'+t.taxonomy+'" data-np-menu-selection>'+t.name+"</a></li>"}),n(a).insertAfter(n(s.activeForm).parent("li")),s.toggleLoading(!1)},s.toggleLoading=function(e){var t=n(s.activeForm).siblings(s.selectors.loadingIndicator);n(s.selectors.noResults).hide(),e?n(t).show():n(t).hide()},s.init()},jQuery(document).ready(function(){new NestedPagesTrash});var NestedPages,NestedPagesTrash=function(){var t=this,a=jQuery;return t.trashButton=".np-empty-trash",t.confirmButton=".np-trash-confirm",t.warningModal="#np-trash-modal",t.errorAlert="#np-error",t.loadingIndicator="#nested-loading",t.trashLinks=".np-trash-links",t.postType=a("#np-trash-posttype").val(),t.nonce=nestedpages.np_nonce,t.formAction="npEmptyTrash",t.bindEvents=function(){a(document).on("click",t.confirmButton,function(e){e.preventDefault(),t.confirmEmpty()})},t.confirmEmpty=function(){t.loading(!0),a(document).trigger("close-modal-manual"),a(t.errorAlert).hide(),t.emptyTrash()},t.emptyTrash=function(){a.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:t.formAction,nonce:t.nonce,posttype:t.postType},success:function(e){t.loading(!1),"error"===e.status?a(t.errorAlert).text(e.message).show():(a(t.trashLinks).hide(),a(".notice-dismiss").click())}})},t.loading=function(e){e?a(t.loadingIndicator).show():a(t.loadingIndicator).hide()},t.bindEvents()};(NestedPages=NestedPages||{}).ConfirmDelete=function(){var t=this,a=jQuery;return t.deleteLink="",t.bindEvents=function(){a(document).on("click",NestedPages.selectors.linkDeleteButton,function(e){e.preventDefault(),t.confirmSingle(a(this))}),a(document).on("click",NestedPages.selectors.linkDeleteConfirmationButton,function(e){e.preventDefault(),a(this).hasClass("bulk")?t.deleteMultiple():t.deleteSingle()}),a(document).on("submit",NestedPages.selectors.bulkActionsForm,function(e){t.confirmMultiple(e)})},t.confirmSingle=function(e){t.deleteLink=a(e).attr("href"),a(NestedPages.selectors.linkDeleteConfirmationModalText).text(nestedpages.link_delete_confirmation_singular),a(NestedPages.selectors.linkDeleteConfirmationButton).text(nestedpages.delete).removeClass("bulk"),a(document).trigger("open-modal-manual",NestedPages.selectors.linkDeleteConfirmationModal)},t.confirmMultiple=function(e){"trash"===a('select[name="np_bulk_action"]').val()&&(""!==a(NestedPages.selectors.bulkActionRedirectIds).val()&&(e.preventDefault(),a(NestedPages.selectors.linkDeleteConfirmationModalText).text(nestedpages.link_delete_confirmation),a(NestedPages.selectors.linkDeleteConfirmationButton).text(nestedpages.trash_delete_links).addClass("bulk"),a(document).trigger("open-modal-manual",[NestedPages.selectors.linkDeleteConfirmationModal])))},t.deleteMultiple=function(){a(NestedPages.selectors.bulkActionsForm)[0].submit()},t.deleteSingle=function(){window.location.replace(t.deleteLink)},t.bindEvents()},(NestedPages=NestedPages||{}).ManualSync=function(){var t=this,a=jQuery;return t.activeBtn="",t.bindEvents=function(){a(document).on("click",NestedPages.selectors.manualMenuSync,function(e){e.preventDefault(),t.activeBtn=a(this),t.syncMenu()}),a(document).on("click",NestedPages.selectors.manualOrderSync,function(e){e.preventDefault(),t.activeBtn=a(this),t.syncOrder()})},t.syncMenu=function(){t.loading(!0),a.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.manualMenuSync,nonce:NestedPages.jsData.nonce,post_type:NestedPages.jsData.posttype,syncmenu:"sync"},success:function(e){"error"===e.status?(a(NestedPages.selectors.errorDiv).text(e.message).show(),a(NestedPages.selectors.loadingIndicator).hide()):t.loading(!1)}})},t.syncOrder=function(){t.loading(!0),(new NestedPages.Nesting).syncNesting(!0,t.loading(!1))},t.loading=function(e){if(e)return a(t.activeBtn).addClass("disabled"),void a(NestedPages.selectors.loadingIndicator).show();a(t.activeBtn).removeClass("disabled"),a(NestedPages.selectors.loadingIndicator).hide()},t.bindEvents()},(NestedPages=NestedPages||{}).PostSearch=function(){var s=this,n=jQuery;return s.selectors={input:"data-nestedpages-post-search",form:"data-nestedpages-post-search-form",loadingIndicator:"data-nestedpages-loading",noResults:"data-nestedpages-no-results",results:"data-nestedpages-search-results"},s.changed=!1,s.activeInput="",s.results="",s.defaultResults="",s.postType="",s.activeForm="",s.bindEvents=function(){n("["+s.selectors.input+"]").on("input",function(){if(s.activeInput=n(this),s.setOptions(),s.changed||s.setDefaultResults(),""===n(this).val())return n(s.activeForm).find("["+s.selectors.noResults+"]").hide(),void s.showDefaultResults();s.query()})},s.setDefaultResults=function(){s.defaultResults=n(s.activeForm).find("["+s.selectors.results+"]").html(),s.changed=!0},s.showDefaultResults=function(){n(s.activeForm).find("["+s.selectors.results+"]").html(s.defaultResults)},s.setOptions=function(){s.postType=n(s.activeInput).attr(s.selectors.input),s.activeForm=n(s.activeInput).parents("["+s.selectors.form+"]")},s.performSearch=function(){if(s.defaultResults=n(s.activeForm).parent("li").siblings(s.selectors.defaultResults),2<n(s.activeForm).val().length)return n(s.defaultResults).hide(),s.toggleLoading(!0),void s.query();s.toggleLoading(!1),n(s.defaultResults).show()},s.query=function(){n(s.activeForm).find("["+s.selectors.results+"]").empty(),s.toggleLoading(!0),n.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.postSearch,nonce:NestedPages.jsData.nonce,term:n(s.activeInput).val(),postType:s.postType},success:function(e){e.results?(s.results=e.results,s.loadResults(),s.toggleLoading(!1)):(s.toggleLoading(!1),n(s.activeForm).find("["+s.selectors.noResults+"]").show())}})},s.loadResults=function(){var a="<ul>";n.each(s.results,function(e,t){a+='<li><a href="#" data-assignment-page-id="'+t.ID+'" data-assignment-page-title="'+t.post_title+'">'+t.post_title+"</a></li>"}),a+="</ul>",n(s.activeForm).find("["+s.selectors.results+"]").html(a),s.toggleLoading(!1)},s.toggleLoading=function(e){var t=n(s.activeForm).find("["+s.selectors.loadingIndicator+"]"),a=n(s.activeForm).find("["+s.selectors.noResults+"]");n(a).hide(),e?n(t).show():n(t).hide()},s.bindEvents()},(NestedPages=NestedPages||{}).MovePost=function(){var a=this,s=jQuery;return a.formatter=new NestedPages.Formatter,a.nesting=new NestedPages.Nesting,a.activeRow,a.selectors={moveToTop:"data-push-to-top",moveToBottom:"data-push-to-bottom"},a.bindEvents=function(){s(document).ready(function(){a.disableTopOnFirst(),a.disableBottomOnLast()}),s(document).on("click","["+a.selectors.moveToTop+"]",function(e){e.preventDefault(),s(this).hasClass("disabled")||(a.activeRow=s(this).closest(NestedPages.selectors.rows),a.moveToTop())}),s(document).on("click","["+a.selectors.moveToBottom+"]",function(e){e.preventDefault(),s(this).hasClass("disabled")||(a.activeRow=s(this).closest(NestedPages.selectors.rows),a.moveToBottom())})},a.moveToTop=function(){var e=s(a.activeRow).parent(NestedPages.selectors.lists),t=s(e).find(NestedPages.selectors.rows).first();s(a.activeRow).insertBefore(t),a.formatter.setBorders(),s(document).click(),a.nesting.syncNesting(),a.disableTopOnFirst(),a.disableBottomOnLast()},a.moveToBottom=function(){var e=s(a.activeRow).parent(NestedPages.selectors.lists),t=s(e).children(NestedPages.selectors.rows).last();s(a.activeRow).insertAfter(t),a.formatter.setBorders(),s(document).click(),a.nesting.syncNesting(),a.disableTopOnFirst(),a.disableBottomOnLast()},a.disableTopOnFirst=function(){var e=s(NestedPages.selectors.lists);s.each(e,function(){s(this).find("["+a.selectors.moveToTop+"]").removeClass("disabled");var e=s(this).find(NestedPages.selectors.rows).first();s(e).find("["+a.selectors.moveToTop+"]").addClass("disabled")})},a.disableBottomOnLast=function(){var e=s(NestedPages.selectors.lists);s.each(e,function(){s(this).find("["+a.selectors.moveToBottom+"]").removeClass("disabled");var e=s(this).find(NestedPages.selectors.rows).last();s(e).find("["+a.selectors.moveToBottom+"]").addClass("disabled")})},a.bindEvents()},(NestedPages=NestedPages||{}).TrashWithChildren=function(){var t=this,a=jQuery;return t.post_id="",t.bindEvents=function(){a(document).on("click",NestedPages.selectors.trashWithChildrenButton,function(e){e.preventDefault(),t.post_id=a(this).attr("data-post-id"),t.trash()})},t.trash=function(){a.ajax({url:NestedPages.jsData.ajaxurl,type:"post",data:{action:NestedPages.formActions.trashWithChildren,nonce:NestedPages.jsData.nonce,post_id:t.post_id,screen:nestedpages.current_page},success:function(e){window.location.replace(e.redirect)},error:function(e){console.log(e)}})},t.bindEvents()},(NestedPages=NestedPages||{}).Wpml=function(){var a=this,o=jQuery;return a.button=null,a.postData=null,a.modal=null,a.parent_li=null,a.formatter=new NestedPages.Formatter,a.selectors={translationsBtn:"data-nestedpages-translations",modal:"data-np-wpml-translations-modal",title:"data-wmpl-translation-title",table:"data-np-wpml-translations-modal-table"},a.bindEvents=function(){nestedpages.wpml&&o(document).on("click","["+a.selectors.translationsBtn+"]",function(e){e.preventDefault(),a.createTranslationsModal(o(this))})},a.createTranslationsModal=function(e){if(a.parent_li=o(e).parents(".action-buttons").closest(NestedPages.selectors.row).parent("li"),a.button=o(a.parent_li).find(NestedPages.selectors.quickEditOpen),a.postData={id:o(a.button).attr("data-id"),title:o(a.button).attr("data-title"),slug:o(a.button).attr("data-slug")},a.modal=o("["+a.selectors.modal+"]").clone(),0<o(a.parent_li).children("ol").length){var t=o(a.parent_li).children("ol");o(a.modal).insertBefore(t)}else o(a.modal).appendTo(a.parent_li);o(a.modal).find("["+a.selectors.title+"]").text(a.postData.title),a.formatter.showQuickEdit(),o(a.modal).show(),a.getTranslationData()},a.getTranslationData=function(){o.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.wpmlTranslations,post_id:a.postData.id,nonce:NestedPages.jsData.nonce},success:function(e){console.log(e),console.log(a.postData.id),"success"===e.status?a.populateModal(e.translations):(o(a.modal).find(NestedPages.selectors.quickEditErrorDiv).text(e.message).show(),a.toggleLoading(!1))}})},a.populateModal=function(s){var n="<tbody>";o.each(s,function(e,t){var a=s[e];n+="<tr>",n+='<td><img src="'+a.country_flag_url+'" alt="'+a.translated_name+'" /> '+a.translated_name+"</td>",n+="<td>",a.has_translation&&a.edit_link?n+='<a href="'+a.edit_link+'">'+a.translation.post_title+" ("+nestedpages.edit+")</a>":n+='<a href="'+a.add_link+'" class="np-btn">+ '+nestedpages.add_translation+"</a>",n+="</td>",n+="</tr>"}),n+="</tbody>",o(a.modal).find("["+a.selectors.table+"]").html(n),a.toggleLoading(!1)},a.toggleLoading=function(e){e?o(a.modal).addClass("loading"):o(a.modal).removeClass("loading")},a.bindEvents()};
|
1 |
+
(NestedPages=NestedPages||{}).Formatter=function(){var s=this,i=jQuery;s.updateSubMenuToggle=function(){for(var e=i(NestedPages.selectors.childToggle),t=0;t<e.length;t++){var a=e[t],s=i(a).parent(".row").parent("li");if(0<i(s).children("ol").length){if(i(s).children("ol").find("li.page-row").length<1){i(s).children("ol").hide();continue}var n='<div class="child-toggle-spacer"></div>';n+='<a href="#"',0<i(s).children("ol:visible").length&&(n+=' class="open"'),n+='><span class="np-icon-arrow"></span></a>',i(a).html(n),0<i(s).children("ol").children(".np-hide").length&&0===i(s).children("ol").children(".np-hide.shown").length?i(a).find("a").hide():0<i(s).children("ol").children(".np-hide").length&&0<i(s).children("ol").children(".np-hide.shown").length&&i(a).find("a").show()}else i(a).empty().html('<div class="child-toggle-spacer"></div>')}},s.setBorders=function(){i(NestedPages.selectors.rows).removeClass(NestedPages.cssClasses.noborder),i.each(i(NestedPages.selectors.lists),function(){i(this).find(".page-row:visible:first").addClass(NestedPages.cssClasses.noborder)})},s.setNestedMargins=function(){s.setIndent()},s.setIndent=function(){var n="1"===nestedpages.non_indent?20:30,o="1"===nestedpages.non_indent?".row-inner":".child-toggle";i.each(i(NestedPages.selectors.lists),function(e,t){var a=i(this).parents(NestedPages.selectors.lists).length,s=0;if(NestedPages.jsData.sortable||(s=10),0<a){s=a*n+s;i(this).find(o).css("padding-left",s+"px")}else NestedPages.jsData.sortable&&!i(this).hasClass("no-sort")?i(this).find(".row-inner").css("padding-left","0px"):i(this).find(".row-inner").css("padding-left","10px")})},s.setClassicIndent=function(){i.each(i(NestedPages.selectors.lists),function(e,t){var a=i(this).parents(NestedPages.selectors.lists).length,s=0;if(NestedPages.jsData.sortable||(s=10),0<a){s=20*a+s;i(this).find(".row-inner").css("padding-left",s+"px")}else NestedPages.jsData.sortable&&!i(this).hasClass("no-sort")?i(this).find(".row-inner").css("padding-left","0px"):i(this).find(".row-inner").css("padding-left","10px")})},s.updatePlaceholderWidth=function(e){if(NestedPages.jsData.nestable){var t=40*i(e.placeholder).parents("ol").length-40,a=i(NestedPages.selectors.sortable).width()-t;i(e.placeholder).width(a).css("margin-left",t+"px")}s.updateListVisibility(e)},s.updateListVisibility=function(e){var t=i(e.placeholder).parent("ol");i(t).is(":visible")||(i(t).addClass("nplist"),i(t).show())},s.removeQuickEdit=function(){i(NestedPages.selectors.quickEditOverlay).removeClass("active").remove(),i(".sortable .quick-edit").remove(),i(".row").show()},s.showQuickEdit=function(){i("body").append('<div class="np-inline-overlay"></div>'),setTimeout(function(){i(".np-inline-overlay").addClass("active")},50)},s.flashRow=function(e){i(e).addClass("np-updated"),s.setBorders(),setTimeout(function(){i(e).addClass("np-updated-show")},1500)},s.showAjaxError=function(e){i(NestedPages.selectors.ajaxError).find("p").text(e),i(NestedPages.selectors.ajaxError).show()},s.hideAjaxError=function(e){i(NestedPages.selectors.ajaxError).hide()},s.sizeLinkThumbnails=function(){var e=i(NestedPages.selectors.thumbnailContainer).not(NestedPages.selectors.thumbnailContainerLink).first().find("img"),t=i(e).width(),a=i(e).height();i.each(i(NestedPages.selectors.thumbnailContainerLink),function(){i(this).width(t),i(this).height(a)})}},(NestedPages=NestedPages||{}).Dropdowns=function(){var t=this,a=jQuery;return t.dropdown="",t.activeBtn="",t.activeContent="",t.toggleBtn="[data-dropdown-toggle]",t.dropdownContainer="[data-dropdown]",t.dropdownContent="[data-dropdown-content]",t.selectors={caret_up:"icon-arrow_drop_up",caret_down:"icon-arrow_drop_down"},t.bindEvents=function(){a(document).on("click",t.toggleBtn,function(e){e.preventDefault(),t.activeBtn=a(this),t.dropdown=a(this).parents(t.dropdownContainer),t.toggleDropdown()}),a(document).on("click",function(e){t.closeDropdowns(e.target)}),a(document).on("dropdown-opened",function(e,t){0<a(t).parents(NestedPages.selectors.row).length&&a(t).parents(NestedPages.selectors.row).addClass("active")}),a(document).on("dropdown-closed",function(){a(NestedPages.selectors.row).removeClass("active")})},t.toggleDropdown=function(){a("."+t.selectors.caret_up).attr("class",t.selectors.caret_down);var e=a(t.dropdown).find(t.dropdownContent);if(t.activeContent=e,a(e).hasClass("active"))return a(e).removeClass("active"),a(t.activeBtn).removeClass("active"),a(t.activeBtn).find("."+t.selectors.caret_up).attr("class",t.selectors.caret_down),void a(document).trigger("dropdown-closed",e);t.setPositioning(),a(t.toggleBtn).removeClass("active"),a(t.dropdownContent).removeClass("active"),a(e).addClass("active"),a(t.activeBtn).find("."+t.selectors.caret_down).attr("class",t.selectors.caret_up),a(t.activeBtn).addClass("active"),a(document).trigger("dropdown-opened",e)},t.setPositioning=function(){var e=a(t.activeBtn).outerHeight();a(t.activeContent).css("top",e+"px")},t.closeDropdowns=function(e){0===a(e).parents(t.dropdownContainer).length&&(a(t.dropdownContent).removeClass("active"),a(t.toggleBtn).removeClass("active"),a(t.activeBtn).find("."+t.selectors.caret_up).attr("class",t.selectors.caret_down),a(document).trigger("dropdown-closed",void 0))},t.bindEvents()},(NestedPages=NestedPages||{}).Modals=function(){var a=this,s=jQuery;return a.activeBtn="",a.activeModal="",a.modalOpen=!1,a.selectors={toggleBtn:"[data-nestedpages-modal-toggle]",backdrop:"[data-nestedpages-modal-backdrop]",closeBtn:"[data-nestedpages-modal-close]",title:"data-nestedpages-modal-title",content:"data-nestedpages-modal-content"},a.bindEvents=function(){s(document).on("click",a.selectors.toggleBtn,function(e){e.preventDefault(),a.activeBtn=s(this),a.openModal()}),s(document).on("click",a.selectors.closeBtn,function(e){e.preventDefault(),a.closeModals()}),s(document).on("open-modal-manual",function(e,t){a.activeModal=s('[data-nestedpages-modal="'+t+'"]'),a.openModal()}),s(document).on("close-modal-manual",function(e){a.closeModals()}),s(document).on("click",a.selectors.backdrop,function(e){a.closeModals()}),s(document).ready(function(){a.checkHash()})},a.openModal=function(){if(a.modalOpen)a.closeModals();else{if(0<s(a.activeBtn).length){var e=s(a.activeBtn).attr("data-nestedpages-modal-toggle");a.activeModal=s('*[data-nestedpages-modal="'+e+'"]')}s(a.activeModal).addClass("active"),a.modalOpen=!0,a.populateModal(),s(document).trigger("open-modal",[a.activeBtn,a.activeModal])}},a.closeModals=function(){a.modalOpen=!1,s("[data-nestedpages-modal]").removeClass("active"),a.activeModal="",a.activeBtn=""},a.populateModal=function(){var e=s(a.activeBtn).attr(a.selectors.title);void 0!==e&&""!==e&&s(a.activeModal).find("[data-nestedpages-modal-title]").text(e);var t=s(a.activeBtn).attr(a.selectors.content);void 0!==t&&""!==t&&s(a.activeModal).find("[data-nestedpages-modal-content]").html(t)},a.checkHash=function(){if(window.location.hash&&"#modal"===window.location.hash.substring(0,6)){var e=window.location.hash.substring(7);a.activeModal=s('*[data-nestedpages-modal="'+e+'"]'),a.openModal()}},a.bindEvents()},(NestedPages=NestedPages||{}).CheckAll=function(){var s=this,n=jQuery;return s.activeCheckbox="",s.selectors={checkbox:"[data-np-check-all]"},s.bindEvents=function(){n(document).on("change",s.selectors.checkbox,function(){s.activeCheckbox=n(this),s.toggleCheckboxes()}),n(document).on("change","input[type=checkbox]",function(){s.checkAllStatus(n(this))})},s.init=function(){s.bindEvents()},s.toggleCheckboxes=function(){var t=!!n(s.activeCheckbox).is(":checked"),e=n(s.activeCheckbox).attr("data-np-check-all"),a=n('*[name="'+e+'"]');n.each(a,function(){var e=n(this).parents(NestedPages.selectors.rows);n(this).prop("checked",t),n(e).hasClass("np-hide")&&!n(e).is(":visible")&&n(e).find(NestedPages.selectors.bulkActionsCheckbox).prop("checked",!1)}),s.toggleCheckAll()},s.toggleCheckAll=function(){var e=n(s.activeCheckbox).attr("data-np-check-all"),t=n('*[name="'+e+'"]').length;t=t-n(".np-hide").find(NestedPages.selectors.bulkActionsCheckbox).length+n(".np-hide:visible").find(NestedPages.selectors.bulkActionsCheckbox).length;var a=n('*[name="'+e+'"]:checked').length;if(t==a)return n(s.activeCheckbox).prop("checked",!0),void n(s.activeCheckbox).removeClass("check-all-partial");0<a?n(s.activeCheckbox).addClass("check-all-partial"):(n(s.activeCheckbox).attr("checked",!1),n(s.activeCheckbox).removeClass("check-all-partial"))},s.checkAllStatus=function(e){var t=n(e).attr("name"),a=n('*[data-np-check-all="'+t+'"]');0!==a.length&&(s.activeCheckbox=n(a)[0],s.toggleCheckAll())},s.init()},(NestedPages=NestedPages||{}).BulkActions=function(){var o=this,i=jQuery;return o.selectedNumber=0,o.selectedLinks=[],o.selectedPosts=[],o.init=function(){o.bindEvents()},o.bindEvents=function(){i(document).on("change",NestedPages.selectors.bulkActionsCheckbox,function(){o.toggleBulkForm()}),i(document).on("submit",NestedPages.selectors.bulkActionsForm,function(e){"edit"===i("select[name=np_bulk_action]").val()&&(e.preventDefault(),o.toggleBulkEdit(!0))}),i(document).on("click",NestedPages.selectors.bulkEditRemoveItem,function(e){e.preventDefault();var t=i(this).siblings("input[type=hidden]").val();o.uncheckBulkItem(t)}),i(document).on("click",NestedPages.selectors.bulkEditCancel,function(e){e.preventDefault(),o.uncheckAllBulkItems()})},o.toggleBulkForm=function(){var a=!1,s="",n="";if(o.selectedPosts=[],o.selectedLinks=[],i.each(i(NestedPages.selectors.bulkActionsCheckbox),function(){if(i(this).is(":checked")){var e=i(this).parents(NestedPages.selectors.rows);if(a=!0,i(this).parent("div").hasClass("np-check-all")||i(e).hasClass("post-type-np-redirect")||(s+=i(this).val()+","),i(e).hasClass("post-type-np-redirect")&&(n+=i(this).val()+",",o.selectedLinks.push(i(this).val())),"np-redirect"!==i(this).attr("data-np-post-type")&&!i(this).parent("div").hasClass("np-check-all")){var t=[];t.title=i(this).attr("data-np-bulk-checkbox"),t.id=i(this).val(),o.selectedPosts.push(t)}}}),o.setBulkEditPosts(),o.toggleEditOption(),o.toggleLinkCountAlert(),a)return i(NestedPages.selectors.bulkActionsForm).show(),i(NestedPages.selectors.bulkActionsIds).val(s),i(NestedPages.selectors.bulkActionRedirectIds).val(n),void o.setSelectedNumber();i(NestedPages.selectors.bulkActionsIds).val(""),i(NestedPages.selectors.bulkActionsForm).hide()},o.setBulkEditPosts=function(){for(var e="",t=0;t<o.selectedPosts.length;t++)e+='<li><a href="#" class="np-remove" data-np-remove-bulk-item>×</a>',e+=o.selectedPosts[t].title,e+='<input type="hidden" name="post_ids[]" value="'+o.selectedPosts[t].id+'"></li>';i(NestedPages.selectors.bulkEditTitles).html(e)},o.uncheckBulkItem=function(e){i.each(i(NestedPages.selectors.bulkActionsCheckbox),function(){i(this).val()==e&&i(this).prop("checked",!1).change()}),0===i(NestedPages.selectors.bulkEditRemoveItem).length&&o.toggleBulkEdit(!1)},o.uncheckAllBulkItems=function(){i.each(i(NestedPages.selectors.bulkActionsCheckbox),function(){i(this).prop("checked",!1).change()}),o.toggleBulkEdit(!1)},o.setSelectedNumber=function(){var e=i(NestedPages.selectors.bulkActionsCheckbox+":checked").not(".np-check-all input").length,t=i(NestedPages.selectors.bulkActionsForm).find("select option").first();i(t).text(nestedpages.bulk_actions+" ("+e+")")},o.toggleEditOption=function(){var e=i(NestedPages.selectors.bulkActionsCheckbox+":checked").not(".np-check-all input").not(".np-redirect-bulk").length,t=i(NestedPages.selectors.bulkActionsForm).find("select option[value=edit]");if(0===e)return i(t).prop("disabled",!0),i(NestedPages.selectors.bulkActionsForm).find("select option").first().prop("selected",!0),void o.toggleBulkEdit(!1);i(t).prop("disabled",!1)},o.toggleBulkEdit=function(e){if(o.toggleLinkCountAlert(),e)return o.disableParentOptions(),i(NestedPages.selectors.bulkEditForm).show(),i(NestedPages.selectors.bulkActionsForm).hide(),void o.setWPSuggest();i(NestedPages.selectors.bulkEditForm).hide(),i(NestedPages.selectors.bulkActionsForm).show(),i(NestedPages.selectors.bulkEditLinkCount).parent("div").hide(),i(NestedPages.selectors.bulkActionsForm).find("select option").first().text(nestedpages.bulk_actions),o.resetBulkEditFields()},o.toggleLinkCountAlert=function(){0!==o.selectedLinks.length?i(NestedPages.selectors.bulkEditLinkCount).parent("div").show():i(NestedPages.selectors.bulkEditLinkCount).parent("div").hide()},o.disableParentOptions=function(){for(var e=i(NestedPages.selectors.bulkEditForm).find("select[name=post_parent]"),t=0;t<o.selectedPosts.length;t++)i(e).find("option[value="+o.selectedPosts[t].id+"]").attr("disabled",!0)},o.setWPSuggest=function(){var e=i(NestedPages.selectors.bulkEditForm).find("[data-autotag]");i.each(e,function(e,t){var a=i(this).attr("data-taxonomy");i(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+a,{multiple:!0,multipleSep:","})})},o.resetBulkEditFields=function(){var e=i(NestedPages.selectors.bulkEditForm).find("select");i.each(e,function(){i(this).find("option").first().prop("selected",!0),i(this).find("option").removeAttr("disabled")});var t=i(NestedPages.selectors.bulkEditForm).find(".cat-checklist");i.each(t,function(){i(this).find("input[type=checkbox]").prop("checked",!1)})},o.init()},(NestedPages=NestedPages||{}).HiddenItemCount=function(){var e=this,a=jQuery;return e.init=function(){e.bindEvents()},e.bindEvents=function(){a(document).on("change",NestedPages.selectors.bulkActionsCheckbox,function(){e.toggleHiddenCount()}),a(document).on("click",NestedPages.selectors.toggleAll,function(){e.toggleHiddenCount()}),a(document).on("click",NestedPages.selectors.pageToggle,function(){e.toggleHiddenCount()})},e.toggleHiddenCount=function(){var t=0;a.each(a(NestedPages.selectors.bulkActionsCheckbox),function(){if(a(this).is(":checked")){if(a(this).parent("div").hasClass("np-check-all"))return;var e=a(this).closest(".page-row");a(e).is(":visible")||t++}}),t<1?a(NestedPages.selectors.hiddenItemCountParent).hide():(a(NestedPages.selectors.hiddenItemCount).text(t),a(NestedPages.selectors.hiddenItemCountParent).show())},e.init()},(NestedPages=NestedPages||{}).MenuToggle=function(){var a=this,n=jQuery;return a.formatter=new NestedPages.Formatter,a.bindEvents=function(){n(document).on("click",NestedPages.selectors.childToggleLink,function(e){e.preventDefault(),a.toggleSingleMenu(n(this))}),n(document).on("click",NestedPages.selectors.toggleAll,function(e){e.preventDefault(),a.toggleAllMenus()})},a.toggleSingleMenu=function(e){var t=n(e).parent(NestedPages.selectors.childToggle).parent(NestedPages.selectors.row).siblings("ol");n(e).toggleClass("open"),n(t).toggle(),a.formatter.setBorders(),a.formatter.setNestedMargins(),a.syncUserToggles()},a.toggleAllMenus=function(){var e=NestedPages.selectors.toggleAll;if("closed"===n(e).attr("data-toggle"))return n(NestedPages.selectors.lists).show(),n(e).attr("data-toggle","opened").text(NestedPages.jsData.collapseText),n(NestedPages.selectors.childToggle+" a").addClass("open"),a.formatter.setBorders(),void a.syncUserToggles();n(NestedPages.selectors.lists).not(n(NestedPages.selectors.lists)[0]).hide(),n(e).attr("data-toggle","closed").text(NestedPages.jsData.expandText),n(NestedPages.selectors.childToggle+" a").removeClass("open"),a.formatter.setBorders(),a.syncUserToggles()},a.visibleRowIDs=function(){var s=[],e=n(NestedPages.selectors.rows+":visible");return n.each(e,function(e,t){var a=n(this).attr("id");s.push(a.replace("menuItem_",""))}),s},a.syncUserToggles=function(){n.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.syncToggles,nonce:NestedPages.jsData.nonce,ids:a.visibleRowIDs(),posttype:NestedPages.jsData.posttype},success:function(e){"success"!==e.status&&console.log("There was an error saving toggled pages.")}})},a.bindEvents()},(NestedPages=NestedPages||{}).PageToggle=function(){var a=this,s=jQuery;return a.activeButton="",a.formatter=new NestedPages.Formatter,a.init=function(){a.bindEvents()},a.bindEvents=function(){s(document).on("click",NestedPages.selectors.toggleHidden,function(e){e.preventDefault(),a.activeButton=s(this),a.toggleHidden()}),s(document).on("click",NestedPages.selectors.toggleStatus,function(e){e.preventDefault(),a.toggleStatus(s(this))})},a.toggleHidden=function(){var e=s(a.activeButton),t=s(e).attr("href");if("#show"==t)return s(e).attr("href","#hide").text(NestedPages.jsData.showHiddenText),s(NestedPages.selectors.hiddenRows).removeClass("shown").hide(),a.formatter.updateSubMenuToggle(),void a.formatter.setBorders();"#hide"==t&&(s(e).attr("href","#show").text(NestedPages.jsData.hideHiddenText),s(NestedPages.selectors.hiddenRows).addClass("shown").show(),a.formatter.updateSubMenuToggle(),a.formatter.setBorders())},a.toggleStatus=function(e){var t=s(e).attr("href");t=t.substring(1),s(NestedPages.selectors.syncCheckbox).attr("disabled",!1),s(NestedPages.selectors.toggleStatus).removeClass("active"),s(e).addClass("active"),"draft"==t&&(s(NestedPages.selectors.syncCheckbox).attr("disabled",!0),s("."+t).addClass("nested-visible")),"all"!=t?(s(NestedPages.selectors.rows).hide(),s("."+t).show()):s(NestedPages.selectors.rows).show()},a.init()},(NestedPages=NestedPages||{}).Nesting=function(){var n=this,o=jQuery;n.formatter=new NestedPages.Formatter,n.initializeSortable=function(){if(!NestedPages.jsData.nestable)return n.initializeSortableFlat();o(NestedPages.selectors.sortable).not(NestedPages.selectors.notSortable).nestedSortable({items:NestedPages.selectors.rows,toleranceElement:"> .row",handle:NestedPages.selectors.handle,placeholder:"ui-sortable-placeholder",tabSize:56,isAllowed:function(e,t,a){return!(o(t).hasClass("post-type-np-redirect")&&!o(a).hasClass("post-type-np-redirect"))},start:function(e,t){t.placeholder.height(t.item.height())},sort:function(e,t){n.formatter.updatePlaceholderWidth(t)},stop:function(e,t){setTimeout(function(){n.formatter.updateSubMenuToggle(),n.formatter.setBorders(),n.formatter.setNestedMargins()},100),n.syncNesting()}})},n.initializeSortableFlat=function(){var e=o(NestedPages.selectors.lists).not(NestedPages.selectors.notSortable);o.each(e,function(){o(this).sortable({items:">"+NestedPages.selectors.rows,handle:NestedPages.selectors.handle,placeholder:"ui-sortable-placeholder",forcePlaceholderSize:!0,start:function(e,t){t.placeholder.height(t.item.height())},sort:function(e,t){n.formatter.updatePlaceholderWidth(t)},stop:function(e,t){setTimeout(function(){n.formatter.updateSubMenuToggle(),n.formatter.setBorders(),n.formatter.setNestedMargins()},100),n.syncNesting()}})})},n.disableNesting=function(){o(NestedPages.selectors.sortable).sortable("destroy")},n.syncNesting=function(e,t){var a;if("1"!==nestedpages.manual_order_sync||e){o(NestedPages.selectors.errorDiv).hide(),o(NestedPages.selectors.loadingIndicator).show(),a=NestedPages.jsData.nestable?o(NestedPages.selectors.sortable).nestedSortable("toHierarchy",{startDepthCount:0}):n.setNestingArray(),n.disableNesting();var s=NestedPages.jsData.syncmenu;"1"===nestedpages.manual_menu_sync&&(s="nosync"),o.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.syncNesting,nonce:NestedPages.jsData.nonce,list:a,post_type:NestedPages.jsData.posttype,syncmenu:s},success:function(e,t){if(n.initializeSortable(),"error"===e.status)o(NestedPages.selectors.errorDiv).text(e.message).show(),o(NestedPages.selectors.loadingIndicator).hide();else{if(t&&"function"==typeof t)return void t();o(NestedPages.selectors.loadingIndicator).hide()}}})}},n.setNestingArray=function(e){return ret=[],o(NestedPages.selectors.lists).first().children("li.page-row").each(function(){var e=n.recursiveNesting(this);ret.push(e)}),ret},n.recursiveNesting=function(e){var t,a=o(e).attr("id");if(a)return a=a.replace("menuItem_",""),t={id:a},0<o(e).children(NestedPages.selectors.lists).children(NestedPages.selectors.rows).length&&(t.children=[],o(e).children(NestedPages.selectors.lists).children(NestedPages.selectors.rows).each(function(){var e=n.recursiveNesting(this);t.children.push(e)})),t}},(NestedPages=NestedPages||{}).SyncMenuSetting=function(){var t=this,e=jQuery;return t.formatter=new NestedPages.Formatter,t.init=function(){t.bindEvents()},t.bindEvents=function(){e(document).ready(function(){"1"!==nestedpages.manual_menu_sync&&"1"===nestedpages.syncmenu&&t.syncSetting()}),e(document).on("change",NestedPages.selectors.syncCheckbox,function(){t.syncSetting()})},t.syncSetting=function(){"page"===NestedPages.jsData.posttype&&0!==e(NestedPages.selectors.syncCheckbox).length&&(NestedPages.jsData.syncmenu=e(NestedPages.selectors.syncCheckbox).is(":checked")?"sync":"nosync",e.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.syncMenu,nonce:NestedPages.jsData.nonce,post_type:NestedPages.jsData.posttype,syncmenu:NestedPages.jsData.syncmenu},success:function(e){"error"===e.status&&t.formatter.showAjaxError(e.message)},error:function(e){console.log(e)}}))},t.bindEvents()},(NestedPages=NestedPages||{}).NewPost=function(){var r=this,d=jQuery;return r.formatter=new NestedPages.Formatter,r.parent_id=0,r.posts="",r.form="",r.bindEvents=function(){d(document).on("open-modal",function(e,t,a){var s=d(t).attr("data-nestedpages-modal-toggle");void 0!==s&&"np-bulk-modal"==s&&r.openModal()}),d(document).on("submit",NestedPages.selectors.newPageForm,function(e){e.preventDefault()}),d(document).on("click",NestedPages.selectors.newPageSubmitButton,function(e){e.preventDefault(),r.submitForm(d(this))}),d(document).on("click",NestedPages.selectors.newPageTitle,function(e){e.preventDefault(),r.addTitleField(d(this))}),d(document).on("click",NestedPages.selectors.newPageRemoveTitle,function(e){e.preventDefault(),r.removeTitleField(d(this))}),d(document).on("click",NestedPages.selectors.addChildButton,function(e){e.preventDefault(),r.openQuickEdit(d(this))}),d(document).on("click",NestedPages.selectors.cancelNewChildButton,function(e){e.preventDefault(),r.cancelNewPage()}),d(document).on("click","["+NestedPages.selectors.newBeforeButton+"]",function(e){e.preventDefault(),r.openQuickEdit(d(this))}),d(document).on("click","["+NestedPages.selectors.newAfterButton+"]",function(e){e.preventDefault(),r.openQuickEdit(d(this))}),d(document).on("keydown",function(e){27===e.keyCode&&(r.cancelNewPage(),d(document).click())})},r.openModal=function(){var e=d(NestedPages.selectors.newPageFormContainer).clone().find(NestedPages.selectors.newPageForm);d(e).addClass("in-modal"),d(NestedPages.selectors.newPageModal).find(".modal-body").html(e),d(NestedPages.selectors.newPageModal).find("h3").text(nestedpages.add_multiple),d(NestedPages.selectors.newPageModal).find(".page_parent_id").val(r.parent_id),d(e).find(".np_title").first().focus(),d(e).find(NestedPages.selectors.newPageTitle).first().prop("tabindex","2")},r.openQuickEdit=function(e){var t=d(e).attr(NestedPages.selectors.newBeforeButton);t=void 0!==t&&""!==t&&t;var a=d(e).attr(NestedPages.selectors.newAfterButton);a=void 0!==a&&""!==a&&a;var s=d(e).closest(NestedPages.selectors.row).parent("li"),n=d(NestedPages.selectors.newPageFormContainer).clone();if(0<d(s).children("ol").length){var o=d(s).children("ol");d(n).insertBefore(o)}else d(n).appendTo(s);d(n).siblings(NestedPages.selectors.row).hide(),r.formatter.showQuickEdit(),d(n).find(".parent_name").html("<em>Parent:</em> "+d(e).attr("data-parentname")),t||a||d(n).find(".page_parent_id").val(d(e).attr("data-id")),t&&(d(n).find(".page_before_id").val(t),d(n).find("[data-new-post-relation-title]").text(nestedpages.insert_before+": "+d(e).attr("data-parentname"))),a&&(d(n).find(".page_after_id").val(a),d(n).find("[data-new-post-relation-title]").text(nestedpages.insert_after+": "+d(e).attr("data-parentname"))),d(n).show(),d(n).find(".np_title").focus(),d(n).find(NestedPages.selectors.newPageTitle).prop("tabindex","2")},r.cancelNewPage=function(){r.formatter.removeQuickEdit(),d(NestedPages.selectors.newChildError).hide(),d(NestedPages.selectors.newPageModal).find(".modal-body").empty(),d(NestedPages.selectors.sortable).find(".new-child").remove(),d(NestedPages.selectors.row).show()},r.addTitleField=function(e){var t=d(e).parents("form"),a=d(e).siblings(".new-page-titles").children("li").length+1,s='<li><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="handle np-icon-menu"><path d="M0 0h24v24H0z" fill="none" /><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" class="bars" /></svg><div class="form-control new-child-row"><label>'+NestedPages.jsData.titleText+'</label><div><input type="text" name="post_title[]" class="np_title" placeholder="'+NestedPages.jsData.titleText+'" value="" tabindex="'+a+'" /><a href="#" class="button-secondary np-remove-child">-</a></div></div></li>';d(e).siblings(".new-page-titles").append(s);d(t).find(".np_title").last().focus(),d(t).find(NestedPages.selectors.newPageTitle).prop("tabindex",a++),d(".new-page-titles").sortable({items:"li",handle:".handle"}),r.toggleAddEditButton(t)},r.removeTitleField=function(e){var t=d(e).parents("form");d(e).parents(".new-child-row").parent("li").remove(),r.toggleAddEditButton(t)},r.submitForm=function(e){r.toggleLoading(!0),r.form=d(e).parents("form");var a=!!d(e).hasClass("add-edit"),t=NestedPages.formActions.newPage;""!==d(r.form).find(".page_before_id").val()&&(t=NestedPages.formActions.newBeforeAfter),""!==d(r.form).find(".page_after_id").val()&&(t=NestedPages.formActions.newBeforeAfter),d.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:d(r.form).serialize()+"&action="+t+"&nonce="+NestedPages.jsData.nonce+"&syncmenu="+NestedPages.jsData.syncmenu+"&post_type="+NestedPages.jsData.posttype,success:function(e){if("error"===e.status)return r.toggleLoading(!1),void d(r.form).find(NestedPages.selectors.quickEditErrorDiv).text(e.message).show();if(!0==a){var t=e.new_pages[0].edit_link;return t=t.replace(/&/g,"&"),void window.location.replace(t)}r.toggleLoading(!1),r.posts=e.new_pages,r.addPosts()},error:function(e){console.log(e),r.toggleLoading(!1),d(r.form).find(NestedPages.selectors.quickEditErrorDiv).text("The form could not be saved at this time.").show()}})},r.addPosts=function(){var e=d(r.form).find(".page_before_id").val();e=""!==e&&e;var t=d(r.form).find(".page_after_id").val();t=""!==t&&t;var a=d(r.form).parent(".new-child").parent(".page-row");if(0!==d(a).children("ol").length||e||t||d(a).append('<ol class="nplist"></ol>'),d(r.form).hasClass("in-modal"))var s=d(".nplist.sortable li.page-row:first");else s=d(a).children("ol");for(i=0;i<r.posts.length;i++)r.appendRows(s,r.posts[i],e,t);e||t||d(s).show(),r.formatter.updateSubMenuToggle(),r.formatter.setNestedMargins(),r.cancelNewPage(),d(document).trigger("close-modal-manual")},r.appendRows=function(e,t,a,s){var n='<li id="menuItem_'+t.id+'" class="page-row';if("publish"===t.status&&(n+=" published"),n+='">',NestedPages.jsData.hierarchical?(n+='<div class="row">',n+='<div class="child-toggle"></div>'):(n+='<div class="row non-hierarchical">',n+='<div class="non-hierarchical-spacer"></div>'),n+='<div class="row-inner">',n+='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="np-icon-sub-menu"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z" class="arrow" /></svg>',n+='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="handle np-icon-menu"><path d="M0 0h24v24H0z" fill="none" /><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" class="bars" /></svg>',n+='<a href="'+t.edit_link+'" class="page-link page-title">',n+='<span class="title">'+t.title+"</span>","Publish"!==t.status?n+='<span class="status">('+t.status+")</span>":n+='<span class="status"></span>',n+='<span class="nav-status">',"hide"===t.np_nav_status&&(n+=" "+nestedpages.hidden),n+="</span>",n+='<span class="edit-indicator">Edit</span>',n+="</a>",NestedPages.jsData.hierarchical||(n+='<div class="np-post-columns">',n+='<ul class="np-post-info">',n+='<li><span class="np-author-display">'+t.author_formatted+"</span></li>",n+="<li>"+t.date_formatted+"</li>",n+="</ul>",n+="</div>"),d(".nplist").first().hasClass("has-yoast")&&(n+='<span class="np-seo-indicator na"></span>'),n+='<div class="action-buttons">',n+='<div class="nestedpages-dropdown" data-dropdown><a href="#" class="np-btn has-icon toggle" data-dropdown-toggle><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg></a><ul class="nestedpages-dropdown-content" data-dropdown-content>',n+='<li><a href="#" class="open-redirect-modal" data-parentid="'+t.id+'"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>'+nestedpages.add_link+"</a></li>",n+='<li><a href="#" class="add-new-child" data-id="'+t.id+'" data-parentname="'+t.title+'"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'+nestedpages.add_child_short+"</a></li>",n+="</ul></div>",n+='<a href="#" class="np-btn np-quick-edit" data-id="'+t.id+'" data-template="'+t.page_template+'" data-title="'+t.title+'" data-slug="'+t.slug+'" data-commentstatus="closed" data-status="'+t.status.toLowerCase()+'" data-np-status="show"\tdata-navstatus="show" data-author="'+t.author+'" data-template="'+t.template+'" data-month="'+t.month+'" data-day="'+t.day+'" data-year="'+t.year+'" data-hour="'+t.hour+'" data-minute="'+t.minute+'" data-datepicker="'+t.datepicker+'" data-time="'+t.time+'" data-formattedtime="'+t.formattedtime+'" data-ampm="'+t.ampm+'">'+nestedpages.quick_edit+"</a>",n+='<a href="'+t.view_link+'" class="np-btn" target="_blank">'+nestedpages.view+"</a>",n+='<a href="'+t.delete_link+'" class="np-btn np-btn-trash"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="np-icon-remove"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" class="icon"/><path d="M0 0h24v24H0z" fill="none"/></svg></a>',n+="</div>\x3c!-- .action-buttons --\x3e",n+="</div>\x3c!-- .row-inner --\x3e</div>\x3c!-- .row --\x3e",n+="</li>",a){var o=r.findRowById(a);d(n).insertBefore(o)}else if(s){o=r.findRowById(s);d(n).insertAfter(o)}else d(e).append(n)},r.findRowById=function(e){return d(NestedPages.selectors.rows+"#menuItem_"+e)},r.toggleAddEditButton=function(e){var t=d(e).find(".np_title").length;t<1?d(NestedPages.selectors.newPageSubmitButton).hide():(d(NestedPages.selectors.newPageSubmitButton).show(),1<t?d(NestedPages.selectors.newPageSubmitButton+".add-edit").hide():d(NestedPages.selectors.newPageSubmitButton+".add-edit").show())},r.toggleLoading=function(e){if(e)return d(NestedPages.selectors.quickEditErrorDiv).hide(),d(NestedPages.selectors.newPageSubmitButton).attr("disabled","disabled"),void d(NestedPages.selectors.quickEditLoadingIndicator).show();d(NestedPages.selectors.newPageSubmitButton).attr("disabled",!1),d(NestedPages.selectors.quickEditLoadingIndicator).hide()},r.bindEvents()},(NestedPages=NestedPages||{}).QuickEditPost=function(){var l=this,c=jQuery;return l.formatter=new NestedPages.Formatter,l.button="",l.initialData="",l.parent_li="",l.form="",l.flatTerms="",l.termNames="",l.saveButton="",l.newData="",l.row="",l.bindEvents=function(){c(document).on("click",NestedPages.selectors.quickEditOpen,function(e){e.preventDefault(),l.button=c(this),l.openForm()}),c(document).on("click",NestedPages.selectors.quickEditCancel,function(e){e.preventDefault(),l.formatter.removeQuickEdit()}),c(document).on("change",".keep_private",function(){this.checked?c(".post_password").val("").prop("readonly",!0):c(".post_password").prop("readonly",!1)}),c(document).on("click",NestedPages.selectors.quickEditSaveButton,function(e){e.preventDefault(),l.saveButton=c(this),l.save()}),c(document).on("keydown",function(e){27===e.keyCode&&l.formatter.removeQuickEdit()})},l.openForm=function(){l.setInitialData(),l.createForm(),l.populateForm(),l.populateFlatTaxonomies()},l.setInitialData=function(){l.initialData={id:c(l.button).attr("data-id"),title:c(l.button).attr("data-title"),slug:c(l.button).attr("data-slug"),author:c(l.button).attr("data-author"),cs:c(l.button).attr("data-commentstatus"),status:c(l.button).attr("data-status"),template:c(l.button).attr("data-template"),month:c(l.button).attr("data-month"),day:c(l.button).attr("data-day"),year:c(l.button).attr("data-year"),hour:c(l.button).attr("data-hour"),minute:c(l.button).attr("data-minute"),navstatus:c(l.button).attr("data-navstatus"),npstatus:c(l.button).attr("data-np-status"),navtitle:c(l.button).attr("data-navtitle"),navtitleattr:c(l.button).attr("data-navtitleattr"),navcss:c(l.button).attr("data-navcss"),linktarget:c(l.button).attr("data-linktarget"),password:c(l.button).attr("data-password"),datepicker:c(l.button).attr("data-datepicker"),time:c(l.button).attr("data-formattedtime"),timeTwentyFour:c(l.button).attr("data-time"),ampm:c(l.button).attr("data-ampm"),timeFormat:c(l.button).attr("data-timeformat"),sticky:c(l.button).attr("data-sticky")};var e=c(l.button)[0].attributes;c.each(e,function(e,t){t.name.includes("data-npcustom")&&(l.initialData[t.name]=t.value)}),l.initialData.h_taxonomies=[],l.initialData.f_taxonomies=[],l.parent_li=c(l.button).closest(NestedPages.selectors.row).parent("li");var t=c(l.parent_li).attr("class").split(/\s+/);for(i=0;i<t.length;i++)"in-"===t[i].substring(0,3)&&l.initialData.h_taxonomies.push(t[i]),"inf-"===t[i].substring(0,4)&&l.initialData.f_taxonomies.push(t[i])},l.createForm=function(){if(l.form=c(NestedPages.selectors.quickEditPostForm).clone(),0<c(l.parent_li).children("ol").length){var e=c(l.parent_li).children("ol");c(l.form).insertBefore(e)}else c(l.form).appendTo(l.parent_li);c(l.form).siblings(NestedPages.selectors.row).hide(),c(l.form).show()},l.populateForm=function(){for(var e in c(l.form).find(".page_id").html("<em>ID:</em> "+l.initialData.id),c(l.form).find(".np_id").val(l.initialData.id),c(l.form).find(".np_title").val(l.initialData.title),c(l.form).find(".np_slug").val(l.initialData.slug),c(l.form).find(".np_author select").val(l.initialData.author),c(l.form).find(".np_status").val(l.initialData.status),c(l.form).find(".np_nav_title").val(l.initialData.navtitle),c(l.form).find(".np_title_attribute").val(l.initialData.navtitleattr),c(l.form).find(".np_nav_css_classes").val(l.initialData.navcss),c(l.form).find(".post_password").val(l.initialData.password),c(l.form).find(".np_publish_date").val(l.initialData.datepicker),"open"===l.initialData.cs&&c(l.form).find(".np_cs").attr("checked","checked"),""!==l.initialData.template?c(l.form).find(".np_template").val(l.initialData.template):c(l.form).find(".np_template").val("default"),"private"===l.initialData.status&&(c(l.form).find(".post_password").attr("readonly",!0),c(l.form).find(".keep_private").attr("checked",!0)),"hide"===l.initialData.npstatus?c(l.form).find(".nested_pages_status").attr("checked","checked"):c(l.form).find(".nested_pages_status").removeAttr("checked"),"hide"===l.initialData.navstatus?c(l.form).find(".np_nav_status").attr("checked","checked"):c(l.form).find(".np_nav_status").attr("checked",!1),"_blank"===l.initialData.linktarget?c(l.form).find(".link_target").attr("checked","checked"):c(l.form).find(".link_target").attr("checked",!1),"private"===l.initialData.status&&c(l.form).find(".np_status").val("publish"),"sticky"===l.initialData.sticky?c(l.form).find(".np-sticky").attr("checked","checked"):c(l.form).find(".np-sticky").removeAttr("checked"),"H:i"===l.initialData.timeFormat?c(l.form).find(".np_time").val(l.initialData.timeTwentyFour):(c(l.form).find(".np_time").val(l.initialData.time),c(l.form).find(".np_ampm").val(l.initialData.ampm),c(l.form).find('select[name="mm"]').val(l.initialData.month),c(l.form).find('input[name="jj"]').val(l.initialData.day),c(l.form).find('input[name="aa"]').val(l.initialData.year),c(l.form).find('input[name="hh"]').val(l.initialData.hour),c(l.form).find('input[name="mn"]').val(l.initialData.minute)),l.initialData)if(e.includes("npcustom")&&l.initialData.hasOwnProperty(e)){var t=e.replace("data-npcustom-","");t=t.toLowerCase(),c(l.form).find('[data-np-custom-field="'+t+'"]').val(l.initialData[e])}if(l.populateFlatTaxonomies(),l.initialData.hasOwnProperty("h_taxonomies")){var a=l.initialData.h_taxonomies;for(i=0;i<a.length;i++){var s="#"+a[i];c(l.form).find(s).attr("checked","checked")}}var n=c(l.form).find(".np_datepicker");c.each(n,function(){var e=c(this);e.datepicker({dateFormat:e.attr("data-datepicker-format"),beforeShow:function(e,t){c("#ui-datepicker-div").addClass("nestedpages-datepicker")}})}),l.formatter.showQuickEdit(),c(l.form).show()},l.populateFlatTaxonomies=function(){l.initialData.hasOwnProperty("f_taxonomies")&&(l.createTaxonomyObject(),l.getTermNames(),l.setWPSuggest())},l.createTaxonomyObject=function(){var e={};for(i=0;i<l.initialData.f_taxonomies.length;i++){var t=l.initialData.f_taxonomies[i],a=t.split("-"),s=a.indexOf("nps"),n=a.splice(s+1);n=n.join("-");var o=t.split("-").splice(0,s);o.shift("inf");var r=o.join("-");r in e||(e[r]=[]),e[r].push(n)}l.flatTerms=e},l.getTermNames=function(){c.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.getTaxonomies,nonce:NestedPages.jsData.nonce,terms:l.flatTerms},success:function(e){l.termNames=e.terms,l.populateFlatTaxonomyFields()}})},l.populateFlatTaxonomyFields=function(){l.termNames&&c.each(l.termNames,function(e,t){var a=c("#"+e+"-quickedit");c(a).val(t.join(","))})},l.setWPSuggest=function(){var e=c(l.form).find("[data-autotag]");c.each(e,function(e,t){var a=c(this).attr("data-taxonomy");c(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+a,{multiple:!0,multipleSep:","})})},l.save=function(){l.toggleLoading(!0),c.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:c(l.form).find("form").serialize()+"&action="+NestedPages.formActions.quickEditPost+"&nonce="+NestedPages.jsData.nonce+"&syncmenu="+NestedPages.jsData.syncmenu+"&post_type="+NestedPages.jsData.posttype,success:function(e){"error"===e.status?(l.toggleLoading(!1),c(l.form).find(NestedPages.selectors.quickEditErrorDiv).text(e.message).show()):(l.toggleLoading(!1),l.newData=e.post_data,l.updatePostRow())},error:function(e){console.log(e)}})},l.updatePostRow=function(){l.row=c(l.button).parents(".row-inner"),c(l.row).find(".title").text(l.newData.post_title),c(l.row).find(".np-view-button").attr("href",l.newData.permalink);var e=c(l.row).find(".status");if("publish"!==l.newData._status&&"future"!==l.newData._status){var t=nestedpages.post_statuses[l.newData._status].label;c(e).text("("+t+")")}else c(e).text("");if("private"===l.newData.keep_private&&c(e).text(nestedpages.private),""!==l.newData.post_password&&void 0!==l.newData.post_password){var a=c(e).text();a+=' <span class="locked">',a+='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></svg>',a+="</span>",c(e).html(a)}var s=c(l.row).find(".nav-status");"hide"==l.newData.nav_status?c(s).text("(Hidden)"):c(s).text("");var n=c(l.row).parent("li");"hide"==l.newData.np_status?(c(n).addClass("np-hide"),c(l.row).find(".status").after('<svg class="row-status-icon status-np-hidden" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z" fill="none"/><path class="icon" d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>')):(c(n).removeClass("np-hide"),c(l.row).find(".status-np-hidden").remove());var o=c(l.row).find(".sticky");"sticky"==l.newData.sticky?c(o).show():c(o).hide(),NestedPages.jsData.hierarchical||c(l.row).find(".np-author-display").text(l.newData.author_name);var i=c(l.row).find(NestedPages.selectors.quickEditOpen);for(var r in c(i).attr("data-id",l.newData.post_id),c(i).attr("data-template",l.newData.page_template),c(i).attr("data-title",l.newData.post_title),c(i).attr("data-slug",l.newData.post_name),c(i).attr("data-commentstatus",l.newData.comment_status),c(i).attr("data-status",l.newData._status),c(i).attr("data-sticky",l.newData.sticky),"private"===l.newData.keep_private&&c(i).attr("data-status","private"),c(i).attr("data-author",l.newData.post_author),c(i).attr("data-np-status",l.newData.np_status),c(i).attr("data-password",l.newData.post_password),c(i).attr("data-navstatus",l.newData.nav_status),c(i).attr("data-navtitle",l.newData.np_nav_title),c(i).attr("data-linktarget",l.newData.link_target),c(i).attr("data-navtitleattr",l.newData.np_title_attribute),c(i).attr("data-navcss",l.newData.np_nav_css_classes),c(i).attr("data-month",l.newData.mm),c(i).attr("data-day",l.newData.jj),c(i).attr("data-year",l.newData.aa),c(i).attr("data-hour",l.newData.hh),c(i).attr("data-minute",l.newData.mn),c(i).attr("data-datepicker",l.newData.np_date),c(i).attr("data-time",l.newData.np_time),c(i).attr("data-formattedtime",l.newData.np_time),c(i).attr("data-ampm",l.newData.np_ampm),l.newData)if(r.includes("np_custom")&&l.newData.hasOwnProperty(r)){var d=r.replace("np_custom_","data-npcustom-");c(i).attr(d,l.newData[r])}l.removeTaxonomyClasses(),l.addCategoryClasses(),l.addHierarchicalClasses(),l.addFlatClasses(),l.addStatusClass(),l.formatter.removeQuickEdit(),l.formatter.flashRow(l.row)},l.addStatusClass=function(){var e=["published","draft","pending","future"];for(i=0;i<e.length;i++)c(l.row).removeClass(e[i]);c(l.row).addClass(l.newData._status)},l.removeTaxonomyClasses=function(){taxonomies=[];var e=c(l.row).attr("class").split(/\s+/);for(i=0;i<e.length;i++)"in-"===e[i].substring(0,3)&&c(l.row).removeClass(e[i]),"inf-"===e[i].substring(0,4)&&c(l.row).removeClass(e[i])},l.addCategoryClasses=function(){if(l.newData.hasOwnProperty("post_category")){var e=l.newData.post_category;for(i=0;i<e.length;i++){var t="in-category-"+e[i];c(l.row).addClass(t)}}},l.addHierarchicalClasses=function(){if(l.newData.hasOwnProperty("tax_input")){var e=l.newData.tax_input;c.each(e,function(e,t){for(i=0;i<t.length;i++){var a="in-"+e+"-"+t[i];c(l.row).addClass(a)}})}},l.addFlatClasses=function(){if(l.newData.hasOwnProperty("flat_tax")){var e=l.newData.flat_tax;c.each(e,function(e,t){for(i=0;i<t.length;i++){var a="inf-"+e+"-nps-"+t[i];c(l.row).addClass(a)}})}},l.toggleLoading=function(e){if(e)return c(NestedPages.selectors.quickEditErrorDiv).hide(),c(l.saveButton).attr("disabled","disabled"),void c(NestedPages.selectors.quickEditLoadingIndicator).show();c(l.saveButton).attr("disabled",!1),c(NestedPages.selectors.quickEditLoadingIndicator).hide()},l.bindEvents()},(NestedPages=NestedPages||{}).QuickEditLink=function(){var o=this,i=jQuery;return o.formatter=new NestedPages.Formatter,o.button="",o.postData="",o.newPostData="",o.form="",o.bindEvents=function(){i(document).on("click",NestedPages.selectors.quickEditButtonLink,function(e){e.preventDefault(),o.formatter.removeQuickEdit(),o.button=i(this),o.openQuickEdit()}),i(document).on("click",NestedPages.selectors.quickEditLinkSaveButton,function(e){e.preventDefault(),o.submitForm()}),i(document).on("keydown",function(e){27===e.keyCode&&o.formatter.removeQuickEdit()})},o.openQuickEdit=function(){o.setData(),o.createForm(),o.populateForm()},o.setData=function(){o.postData={id:i(o.button).attr("data-id"),url:i(o.button).attr("data-url"),title:i(o.button).attr("data-title"),status:i(o.button).attr("data-status"),navstatus:i(o.button).attr("data-navstatus"),npstatus:i(o.button).attr("data-np-status"),linktarget:i(o.button).attr("data-linktarget"),parentid:i(o.button).attr("data-parentid"),navtitleattr:i(o.button).attr("data-navtitleattr"),navcss:i(o.button).attr("data-navcss"),navtype:i(o.button).attr("data-nav-type"),navobject:i(o.button).attr("data-nav-object"),navobjectid:i(o.button).attr("data-nav-object-id"),navoriginallink:i(o.button).attr("data-nav-original-link"),navoriginaltitle:i(o.button).attr("data-nav-original-title")}},o.createForm=function(){var e=i(o.button).closest(NestedPages.selectors.row).parent("li");if(o.form=i(NestedPages.selectors.quickEditLinkForm).clone(),0<i(e).children("ol").length){var t=i(e).children("ol");i(o.form).insertBefore(t)}else i(o.form).appendTo(e);i(o.form).siblings(NestedPages.selectors.row).hide()},o.populateForm=function(){if(i(o.form).find(".np_id").val(o.postData.id),i(o.form).find(".np_title").val(o.postData.title),i(o.form).find(".np_author select").val(o.postData.author),i(o.form).find(".np_status").val(o.postData.status),i(o.form).find(".np_content").val(o.postData.url),i(o.form).find(".np_parent_id").val(o.postData.parentid),i(o.form).find(".np_title_attribute").val(o.postData.navtitleattr),i(o.form).find(".np_nav_css_classes").val(o.postData.navcss),"hide"===o.postData.npstatus?i(o.form).find(".np_status").prop("checked","checked"):i(o.form).find(".np_status").removeAttr("checked"),"hide"===o.postData.navstatus?i(o.form).find(".np_nav_status").prop("checked","checked"):i(o.form).find(".np_nav_status").removeAttr("checked"),"_blank"===o.postData.linktarget?i(o.form).find(".link_target").prop("checked","checked"):i(o.form).find(".link_target").removeAttr("checked"),"custom"!==o.postData.navobject&&""!==o.postData.navobject){var e='<div class="form-control original-link">Original: <a href="'+o.postData.navoriginallink+'" target="_blank">'+o.postData.navoriginaltitle+"</a></div>";i(o.form).find("[data-url-field]").remove(),i(e).insertAfter(i(o.form).find("h3")),i(o.form).find("[data-np-menu-object-input]").val(o.postData.navobject),i(o.form).find("[data-np-menu-objectid-input]").val(o.postData.navobjectid),i(o.form).find("[data-np-menu-type-input]").val(o.postData.navtype),i(o.form).find("h3").text("Link: "+o.postData.navoriginaltitle)}else i(o.form).find("h3").text("Link"),i(o.form).find("[data-np-menu-object-input]").val("custom"),i(o.form).find("[data-np-menu-type-input]").val("custom");o.formatter.showQuickEdit(),i(o.form).show()},o.submitForm=function(){o.toggleLoading(!0),i.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:i(o.form).find("form").serialize()+"&action="+NestedPages.formActions.quickEditLink+"&nonce="+NestedPages.jsData.nonce+"&syncmenu="+NestedPages.jsData.syncmenu+"&post_type="+NestedPages.jsData.posttype,success:function(e){"error"===e.status?(o.toggleLoading(!1),i(o.form).find(NestedPages.selectors.quickEditErrorDiv).text(e.message).show()):(o.toggleLoading(!1),o.newPostData=e.post_data,o.updateRow())},error:function(e){o.toggleLoading(!1),i(o.form).find(NestedPages.selectors.quickEditErrorDiv).text("The form could not be saved at this time.").show()}})},o.updateRow=function(){var e=i(o.form).siblings(".row");i(e).find(".title").html(o.newPostData.post_title+' <svg class="link-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path class="icon" d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>');var t=i(e).find(".status");"publish"!==o.newPostData._status&&"future"!==o.newPostData._status?i(t).text("("+o.newPostData._status+")"):i(t).text("");var a=i(e).find(".nav-status");"hide"==o.newPostData.nav_status?i(a).text("("+NestedPages.jsData.hiddenText+")"):i(a).text("");var s=i(e).parent("li");"hide"==o.newPostData.np_status?(i(s).addClass("np-hide"),i(e).find(".status").after('<svg class="row-status-icon status-np-hidden" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z" fill="none"/><path class="icon" d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>')):(i(s).removeClass("np-hide"),i(e).find(".status-np-hidden").remove());var n=i(e).find(NestedPages.selectors.quickEditButtonLink);i(n).attr("data-id",o.newPostData.post_id),i(n).attr("data-title",o.newPostData.post_title),i(n).attr("data-url",o.newPostData.post_content),i(n).attr("data-status",o.newPostData._status),i(n).attr("data-navstatus",o.newPostData.nav_status),i(n).attr("data-np-status",o.newPostData.np_status),i(n).attr("data-linkTarget",o.newPostData.linkTarget),i(n).attr("data-navtitleattr",o.newPostData.titleAttribute),i(n).attr("data-navcss",o.newPostData.cssClasses),o.formatter.removeQuickEdit(),o.formatter.flashRow(e)},o.toggleLoading=function(e){if(i(".row").removeClass("np-updated").removeClass("np-updated-show"),e)return i(NestedPages.selectors.quickEditErrorDiv).hide(),i(NestedPages.selectors.quickEditLinkSaveButton).attr("disabled","disabled"),void i(NestedPages.selectors.quickEditLoadingIndicator).show();i(NestedPages.selectors.quickEditLinkSaveButton).attr("disabled",!1),i(NestedPages.selectors.quickEditLoadingIndicator).hide()},o.bindEvents()},(NestedPages=NestedPages||{}).Clone=function(){var t=this,a=jQuery;return t.parent_id="",t.parent_title="",t.parentLi=null,t.formatter=new NestedPages.Formatter,t.bindEvents=function(){a(document).on("click",NestedPages.selectors.cloneButton,function(e){e.preventDefault(),t.parent_id=a(this).attr("data-id"),t.parent_title=a(this).attr("data-parentname"),t.parentLi=a(this).parent(".row").parent(".page-row").parent(".npList"),t.openModal()}),a(document).on("click",NestedPages.selectors.confirmClone,function(e){e.preventDefault(),t.clone()})},t.openModal=function(){a("#"+NestedPages.selectors.cloneModal).find("[data-clone-parent]").text(t.parent_title),a(document).trigger("open-modal-manual",NestedPages.selectors.cloneModal)},t.clone=function(){t.toggleLoading(!0),a.ajax({url:NestedPages.jsData.ajaxurl,type:"post",data:{action:NestedPages.formActions.clonePost,parent_id:t.parent_id,quantity:a(NestedPages.selectors.cloneQuantity).val(),status:a(NestedPages.selectors.cloneStatus).val(),author:a(NestedPages.selectors.cloneAuthor).find("select").val(),nonce:NestedPages.jsData.nonce,posttype:NestedPages.jsData.posttype},success:function(e){t.toggleLoading(!1),a(document).trigger("close-modal-manual"),location.reload()}})},t.toggleLoading=function(e){if(e)return a("#"+NestedPages.selectors.cloneModal).find("[data-clone-loading]").show(),void a(NestedPages.selectors.confirmClone).attr("disabled","disabled");a("#"+NestedPages.selectors.cloneModal).find("[data-clone-loading]").hide(),a(NestedPages.selectors.confirmClone).attr("disabled",!1)},t.bindEvents()},(NestedPages=NestedPages||{}).Tabs=function(){var r=this,d=jQuery;return r.selectors={tabToggle:"data-np-tab-toggle",tabPane:"data-np-tab-pane",tabGroup:"data-np-tab-group"},r.bindEvents=function(){d(document).on("click","["+r.selectors.tabToggle+"]",function(e){e.preventDefault(),r.toggleTabs(d(this))})},r.toggleTabs=function(e){for(var t=d(e).attr(r.selectors.tabGroup),a=d("*["+r.selectors.tabGroup+"="+t+"]["+r.selectors.tabPane+"]"),s=d(e).attr(r.selectors.tabToggle),n=d("*["+r.selectors.tabGroup+"="+t+"]["+r.selectors.tabToggle+"]"),o=[],i=0;i<n.length;i++)o[i]=d(n[i]).parent("li")[0];d(a).hide(),d(n).removeClass("active"),d(o).removeClass("active"),d.each(a,function(){d(this).attr(r.selectors.tabPane)==s&&d(this).show()}),d.each(n,function(){d(this).attr(r.selectors.tabToggle)==s&&(d(this).addClass("active"),d(this).parent("li").addClass("active"))}),d(document).trigger("tabs-changed",[s,t,e])},r.bindEvents()},jQuery(document).ready(function(){new NestedPages.Factory}),(NestedPages=NestedPages||{}).selectors={childToggle:".child-toggle",childToggleLink:".child-toggle a",toggleAll:".nestedpages-toggleall",toggleHidden:".np-toggle-hidden",toggleStatus:".np-toggle-publish",lists:".nplist",rows:".page-row",row:".row",sortable:".sortable",notSortable:".no-sort",handle:".handle",published:".published",hiddenRows:".np-hide",errorDiv:"#np-error",loadingIndicator:"#nested-loading",syncCheckbox:".np-sync-menu",syncForm:".np-sync-menu-cont",ajaxError:"[data-nestedpages-error]",trashWithChildrenButton:"[data-nestedpages-trash-children]",toggleEditButtons:".np-toggle-edit",bulkActionsHeader:".nestedpages-list-header",bulkActionsForm:"[data-np-bulk-form]",bulkActionsCheckbox:"[data-np-bulk-checkbox]",bulkActionsIds:"[data-np-bulk-ids]",bulkActionRedirectIds:"[data-np-bulk-redirect-ids]",hiddenItemCount:"[data-np-hidden-count]",hiddenItemCountParent:"[data-np-hidden-count-parent]",bulkEditForm:"[data-np-bulk-edit-form]",bulkEditTitles:"[data-np-bulk-titles]",bulkEditRemoveItem:"[data-np-remove-bulk-item]",bulkEditCancel:"[data-np-cancel-bulk-edit]",bulkEditLinkCount:"[data-bulk-edit-link-count]",quickEditOverlay:".np-inline-overlay",quickEditLoadingIndicator:".np-qe-loading",quickEditErrorDiv:".np-quickedit-error",quickEditCancel:".np-cancel-quickedit",quickEditButtonLink:".np-quick-edit-redirect",quickEditLinkForm:".quick-edit-form-redirect",quickEditLinkSaveButton:".np-save-quickedit-redirect",quickEditOpen:".np-quick-edit",quickEditPostForm:".quick-edit-form",quickEditSaveButton:".np-save-quickedit",openLinkModal:".open-redirect-modal",linkModal:"np-link-modal",saveLink:".np-save-link",linkLoadingIndicator:".np-link-loading",linkErrorDiv:".np-new-link-error",linkForm:".np-new-link-form",linkDeleteButton:"[data-np-confirm-delete]",linkDeleteConfirmationButton:"[data-delete-confirmation]",linkDeleteConfirmationModal:"np-delete-confirmation-modal",linkDeleteConfirmationModalText:"[data-np-link-delete-text]",openPageModal:".open-bulk-modal",newPageModal:"#np-bulk-modal",newPageFormContainer:".new-child-form",newPageForm:".np-new-child-form",newPageSubmitButton:".np-save-newchild",newPageTitle:".add-new-child-row",newPageRemoveTitle:".np-remove-child",addChildButton:".add-new-child",newChildError:".np-newchild-error",cancelNewChildButton:".np-cancel-newchild",newBeforeButton:"data-insert-before",newAfterButton:"data-insert-after",cloneButton:".clone-post",confirmClone:"[data-confirm-clone]",cloneModal:"np-clone-modal",cloneQuantity:"[data-clone-quantity]",cloneStatus:"[data-clone-status]",cloneAuthor:"[data-clone-author]",tabButtonParent:"[data-np-tabs]",tabButton:"[data-np-tab]",tabContent:"[data-np-tab-pane]",thumbnailContainer:".np-thumbnail",thumbnailContainerLink:".np-thumbnail.link",manualMenuSync:"[data-np-manual-menu-sync]",manualOrderSync:"[data-np-manual-order-sync]"},NestedPages.cssClasses={noborder:"no-border"},NestedPages.jsData={ajaxurl:ajaxurl,nonce:nestedpages.np_nonce,allPostTypes:nestedpages.post_types,syncmenu:"nosync",posttype:"",nestable:!0,sortable:!0,hierarchical:!0,expandText:nestedpages.expand_text,collapseText:nestedpages.collapse_text,showHiddenText:nestedpages.show_hidden,hideHiddenText:nestedpages.hide_hidden,quickEditText:nestedpages.quick_edit,hiddenText:nestedpages.hidden,titleText:nestedpages.title},NestedPages.formActions={syncToggles:"npnestToggle",syncNesting:"npsort",syncMenu:"npsyncMenu",newPage:"npnewChild",newBeforeAfter:"npnewBeforeAfter",quickEditLink:"npquickEditLink",getTaxonomies:"npgetTaxonomies",quickEditPost:"npquickEdit",clonePost:"npclonePost",search:"npmenuSearch",newMenuItem:"npnewMenuItem",manualMenuSync:"npmanualMenuSync",postSearch:"nppostSearch",wpmlTranslations:"npWpmlTranslations",resetSettings:"npresetSettings",resetUserPrefs:"npresetUserPreferences",resetAdminMenuSettings:"npresetAdminMenuSettings",trashWithChildren:"nptrashWithChildren"},NestedPages.Factory=function(){var t=this,e=jQuery;return t.formatter=new NestedPages.Formatter,t.dropdowns=new NestedPages.Dropdowns,t.modals=new NestedPages.Modals,t.checkAll=new NestedPages.CheckAll,t.bulkActions=new NestedPages.BulkActions,t.menuToggle=new NestedPages.MenuToggle,t.pageToggle=new NestedPages.PageToggle,t.nesting=new NestedPages.Nesting,t.syncMenuSetting=new NestedPages.SyncMenuSetting,t.newPage=new NestedPages.NewPost,t.quickEditLink=new NestedPages.QuickEditLink,t.quickEditPost=new NestedPages.QuickEditPost,t.clone=new NestedPages.Clone,t.tabs=new NestedPages.Tabs,t.menuLinks=new NestedPages.MenuLinks,t.hiddenItemCount=new NestedPages.HiddenItemCount,t.confirmDelete=new NestedPages.ConfirmDelete,t.manualSync=new NestedPages.ManualSync,t.postSearch=new NestedPages.PostSearch,t.postMove=new NestedPages.MovePost,t.wpml=new NestedPages.Wpml,t.trashWithChildren=new NestedPages.TrashWithChildren,t.init=function(){nestedpages.settings_page||(t.bindEvents(),t.setPostType(),t.setMenuSync(),t.setNestable(),t.setSortable(),t.formatter.updateSubMenuToggle(),t.formatter.setBorders(),t.formatter.setNestedMargins(),t.nesting.initializeSortable())},t.bindEvents=function(){e(document).on("click",NestedPages.selectors.quickEditOverlay,function(e){t.formatter.removeQuickEdit(),t.newPage.cancelNewPage()}),e(document).ready(function(){t.formatter.hideAjaxError(),t.formatter.sizeLinkThumbnails()})},t.setNestable=function(){var a=!1;e.each(NestedPages.jsData.allPostTypes,function(e,t){t.name===NestedPages.jsData.posttype&&(!0===t.hierarchical&&(a=!0),!0===t.disable_nesting&&(a=!1))}),NestedPages.jsData.nestable=a},t.setSortable=function(){var a=!0;e.each(NestedPages.jsData.allPostTypes,function(e,t){t.name===NestedPages.jsData.posttype&&void 0!==t.disable_sorting&&""!==t.disable_sorting&&"true"===t.disable_sorting&&(a=!1)}),NestedPages.jsData.sortable=a},t.setPostType=function(){NestedPages.jsData.posttype=nestedpages.current_post_type,void 0!==NestedPages.jsData.posttype&&""!==NestedPages.jsData.posttype||(NestedPages.jsData.posttype=e(NestedPages.selectors.sortable).attr("id").substring(3)),NestedPages.jsData.hierarchical=NestedPages.jsData.allPostTypes[NestedPages.jsData.posttype].hierarchical},t.setMenuSync=function(){NestedPages.jsData.syncmenu="1"===nestedpages.syncmenu?"sync":"nosync"},t.init()},(NestedPages=NestedPages||{}).MenuLinks=function(){var a=this,s=jQuery;return a.typeButton="",a.post="",a.formatter=new NestedPages.Formatter,a.selectors={form:"[data-np-menu-item-form]",typeSelect:"[data-np-menu-selection]",accordion:"[data-np-menu-accordion]",accordionItem:"[data-np-menu-accordion-item]",formPlaceholder:".np-menu-link-object-placeholder",formDetails:".np-menu-link-details",searchResults:"[data-np-search-result]",defaultResults:"[data-default-result]",originalLink:"[data-np-original-link]",saveButton:"[data-np-save-link]",urlInputCont:"[data-np-menu-url-cont]",errorDiv:"[data-np-error]"},a.fields={object:"[data-np-menu-object-input]",objectid:"[data-np-menu-objectid-input]",itemType:"[data-np-menu-type-input]",url:"[data-np-menu-url]",navigationLabel:"[data-np-menu-navigation-label]",titleAttribute:"[data-np-menu-title-attr]",cssClasses:"[data-np-menu-css-classes]",npStatus:"[data-np-menu-np-status]",linkTarget:"[data-np-menu-link-target]",menuTitle:"[data-np-menu-title]",parentPostType:"[data-np-menu-parent-post-type]"},a.search=new NestedPages.MenuSearch,a.bindEvents=function(){s(document).on("click",NestedPages.selectors.openLinkModal,function(e){e.preventDefault(),a.postParent=s(this).attr("data-parentid"),s(a.selectors.form).find(".parent_id").val(s(this).attr("data-parentid")),a.openModal()}),s(document).on("click",a.selectors.accordionItem,function(e){e.preventDefault(),a.accordion(s(this))}),s(document).on("click",a.selectors.typeSelect,function(e){e.preventDefault(),a.typeButton=s(this),a.setLinkType()}),s(document).on("keyup",a.fields.navigationLabel,function(){a.updateTitle()}),s(document).on("click",a.selectors.saveButton,function(e){e.preventDefault(),a.submitForm()}),s(document).on("keydown",function(e){27===e.keyCode&&s(document).trigger("close-modal-manual")})},a.openModal=function(){s(NestedPages.selectors.linkErrorDiv).hide(),s(NestedPages.selectors.linkModal).find("input").val(""),s(NestedPages.selectors.linkModal).find(".parent_id").val(a.postParent),a.clearForm(),s(a.selectors.accordion).find("ul").hide(),s(a.selectors.typeSelect).removeClass("active"),s(document).trigger("open-modal-manual",NestedPages.selectors.linkModal)},a.accordion=function(e){a.clearForm();var t=s(e).siblings("ul");if(s(t).is(":visible"))return s(e).removeClass("active"),void s(t).slideUp("fast");s(a.selectors.accordionItem).removeClass("active"),s(e).addClass("active"),s(e).parents(a.selectors.accordion).find("ul").slideUp("fast"),s(t).slideDown("fast")},a.setLinkType=function(){s(a.typeButton).hasClass("active")?a.clearForm():(s(a.typeButton).hasClass("np-custom-link")&&(s(a.selectors.accordionItem).removeClass("active"),s(a.selectors.accordion).find("ul").slideUp("fast")),s(a.selectors.formPlaceholder).hide(),a.populateForm())},a.populateForm=function(){s(a.selectors.saveButton).show(),s(a.selectors.typeSelect).removeClass("active"),s(a.typeButton).addClass("active"),s(a.fields.menuTitle).text(s(a.typeButton).text()).val(s(a.typeButton).text()),s(a.selectors.form).find("h3").find("em").text(s(a.typeButton).attr("data-np-object-name")),""!==s(a.typeButton).attr("data-np-permalink")?(s(a.selectors.form).find(a.selectors.urlInputCont).hide(),s(a.selectors.form).find(a.selectors.originalLink).html('<a href="'+s(a.typeButton).attr("data-np-permalink")+'">'+s(a.typeButton).text()+"</a>"),s(a.selectors.form).find(a.selectors.originalLink).parent(".original-link").show()):(s(a.selectors.form).find(a.selectors.urlInputCont).show(),s(a.selectors.form).find(a.selectors.originalLink).parent(".original-link").hide()),s(a.fields.object).val(s(a.typeButton).attr("data-np-menu-object")),s(a.fields.objectid).val(s(a.typeButton).attr("data-np-menu-objectid")),s(a.fields.itemType).val(s(a.typeButton).attr("data-np-menu-type")),s(a.selectors.formDetails).show()},a.clearForm=function(){s(a.selectors.form).find(a.selectors.errorDiv).hide(),s(a.selectors.saveButton).hide(),s(a.selectors.formDetails).hide(),s(a.selectors.formPlaceholder).show(),s(a.selectors.form).find("input").not(".parent_id").not(".parent-post-type").val(""),s(a.selectors.form).find(a.fields.linkTarget).val("_blank"),s(a.selectors.form).find('input[type="checkbox"]').attr("checked",!1),s(a.selectors.typeSelect).removeClass("active"),a.search.toggleLoading(!1),s(a.selectors.searchResults).remove(),s(a.selectors.defaultResults).show()},a.updateTitle=function(){var e=s(a.fields.navigationLabel).val(),t=s(a.selectors.form).find("h3").find("span");""!==e?(s(a.fields.menuTitle).val(e),s(t).text(e)):(s(a.fields.menuTitle).val(s(a.typeButton).text()),s(t).text(s(a.typeButton).text()))},a.submitForm=function(){a.toggleLoading(!0),s.ajax({url:NestedPages.jsData.ajaxurl,type:"post",data:s(a.selectors.form).serialize()+"&action="+NestedPages.formActions.newMenuItem+"&nonce="+NestedPages.jsData.nonce+"&post_type="+NestedPages.jsData.posttype+"&syncmenu="+NestedPages.jsData.syncmenu,success:function(e){a.toggleLoading(!1),"error"!==e.status?(a.post=e.post_data,a.createRow()):s(a.selectors.form).find(a.selectors.errorDiv).text(e.message).show()},error:function(e){console.log(e)}})},a.createRow=function(){var e='<li id="menuItem_'+a.post.id+'" class="page-row published';e+='">',e+='<div class="row"><div class="child-toggle"><div class="child-toggle-spacer"></div></div><div class="row-inner">',e+='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="np-icon-sub-menu"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z" class="arrow" /></svg>',e+='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="handle np-icon-menu"><path d="M0 0h24v24H0z" fill="none" /><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" class="bars" /></svg>',e+='<a href="'+a.post.np_link_content+'" class="page-link page-title" target="_blank"><span class="title">'+a.post.menuTitle+' <svg class="link-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path class="icon" d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg></span>',e+='</a><div class="action-buttons"><a href="#" class="np-btn np-quick-edit-redirect" ',e+='data-id="'+a.post.id+'"',e+='data-parentid="'+a.post.parent_id+'"',e+='data-title="'+a.post.menuTitle+'" ',e+='data-url="'+a.post.url+'" ',e+='data-status="publish" ',e+='data-np-status="show" ',e+='data-navstatus="show" ',e+='data-navcss="'+a.post.cssClasses+'" ',e+='data-navtitleattr="'+a.post.titleAttribute+'" ',e+='data-nav-type="'+a.post.menuType+'" ',e+='data-nav-object="'+a.post.objectType+'" ',e+='data-nav-object-id="'+a.post.objectId+'" ',e+='data-nav-original-link="'+a.post.original_link+'" ',e+='data-nav-original-title="'+a.post.original_title+'" ',e+='data-linktarget="'+a.post.link_target+'">',e+=NestedPages.jsData.quickEditText,e+="</a>",e+='<a href="'+a.post.delete_link+'" class="np-btn np-btn-trash"><i class="np-icon-remove"></i></a>',e+="</div></div></div></li>","0"===a.post.parent_id?s(".nplist:first li:first").after(e):a.appendChildRow(e),s(document).trigger("close-modal-manual"),a.row=s("#menuItem_"+a.post.id).find(".row"),a.formatter.flashRow(a.row)},a.appendChildRow=function(e){var t=s("#menuItem_"+a.post.parent_id);0===s(t).children("ol").length?(e='<ol class="sortable nplist" style="display:block;">'+e+"</ol>",s(t).append(e)):s(t).find("ol:first").prepend(e),a.formatter.updateSubMenuToggle()},a.toggleLoading=function(e){if(e)return s(a.selectors.form).find(a.selectors.errorDiv).hide(),s(a.selectors.form).find(NestedPages.selectors.quickEditLoadingIndicator).show(),void s(a.selectors.saveButton).attr("disabled","disabled");s(a.selectors.form).find(NestedPages.selectors.quickEditLoadingIndicator).hide(),s(a.selectors.saveButton).attr("disabled",!1)},a.bindEvents()},(NestedPages=NestedPages||{}).MenuSearch=function(){var s=this,n=jQuery;return s.selectors={searchForms:"*[data-np-menu-search]",defaultResults:"[data-default-result]",loadingIndicator:".np-menu-search-loading",noResults:".np-menu-search-noresults",searchType:"data-search-type",searchObject:"data-search-object",searchResults:"[data-np-search-result]"},s.activeForm="",s.results="",s.defaultResults="",s.searchType="",s.searchObject="",s.init=function(){s.bindEvents()},s.bindEvents=function(){n(document).on("keyup",s.selectors.searchForms,function(){s.activeForm=n(this),n(s.selectors.searchResults).remove(),s.performSearch()})},s.performSearch=function(){if(s.defaultResults=n(s.activeForm).parent("li").siblings(s.selectors.defaultResults),2<n(s.activeForm).val().length)return n(s.defaultResults).hide(),s.toggleLoading(!0),void s.query();s.toggleLoading(!1),n(s.defaultResults).show()},s.query=function(){s.searchType=n(s.activeForm).attr(s.selectors.searchType),s.searchObject=n(s.activeForm).attr(s.selectors.searchObject),n.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.search,nonce:NestedPages.jsData.nonce,term:n(s.activeForm).val(),searchType:s.searchType,searchObject:s.searchObject},success:function(e){console.log(e),e.results?(s.results=e.results,s.toggleLoading(!1),"post_type"===s.searchType?s.appendPosts():s.appendTaxonomies()):(s.toggleLoading(!1),n(s.activeForm).siblings(s.selectors.noResults).show())}})},s.appendPosts=function(){var a="";n.each(s.results,function(e,t){a+='<li data-np-search-result><a href="#" data-np-menu-object="'+s.searchObject+'" data-np-menu-type="post_type" data-np-menu-objectid="'+t.ID+'" data-np-permalink="'+t.permalink+'" data-np-object-name="'+t.singular_name+'" data-np-menu-selection>'+t.post_title+"</a></li>"}),n(a).insertAfter(n(s.activeForm).parent("li")),s.toggleLoading(!1)},s.appendTaxonomies=function(){var a="";n.each(s.results,function(e,t){a+='<li data-np-search-result><a href="#" data-np-menu-object="'+s.searchObject+'" data-np-menu-type="post_type" data-np-menu-objectid="'+t.term_id+'" data-np-permalink="'+t.permalink+'" data-np-object-name="'+t.taxonomy+'" data-np-menu-selection>'+t.name+"</a></li>"}),n(a).insertAfter(n(s.activeForm).parent("li")),s.toggleLoading(!1)},s.toggleLoading=function(e){var t=n(s.activeForm).siblings(s.selectors.loadingIndicator);n(s.selectors.noResults).hide(),e?n(t).show():n(t).hide()},s.init()},jQuery(document).ready(function(){new NestedPagesTrash});var NestedPages,NestedPagesTrash=function(){var t=this,a=jQuery;return t.trashButton=".np-empty-trash",t.confirmButton=".np-trash-confirm",t.warningModal="#np-trash-modal",t.errorAlert="#np-error",t.loadingIndicator="#nested-loading",t.trashLinks=".np-trash-links",t.postType=a("#np-trash-posttype").val(),t.nonce=nestedpages.np_nonce,t.formAction="npEmptyTrash",t.bindEvents=function(){a(document).on("click",t.confirmButton,function(e){e.preventDefault(),t.confirmEmpty()})},t.confirmEmpty=function(){t.loading(!0),a(document).trigger("close-modal-manual"),a(t.errorAlert).hide(),t.emptyTrash()},t.emptyTrash=function(){a.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:t.formAction,nonce:t.nonce,posttype:t.postType},success:function(e){t.loading(!1),"error"===e.status?a(t.errorAlert).text(e.message).show():(a(t.trashLinks).hide(),a(".notice-dismiss").click())}})},t.loading=function(e){e?a(t.loadingIndicator).show():a(t.loadingIndicator).hide()},t.bindEvents()};(NestedPages=NestedPages||{}).ConfirmDelete=function(){var t=this,a=jQuery;return t.deleteLink="",t.bindEvents=function(){a(document).on("click",NestedPages.selectors.linkDeleteButton,function(e){e.preventDefault(),t.confirmSingle(a(this))}),a(document).on("click",NestedPages.selectors.linkDeleteConfirmationButton,function(e){e.preventDefault(),a(this).hasClass("bulk")?t.deleteMultiple():t.deleteSingle()}),a(document).on("submit",NestedPages.selectors.bulkActionsForm,function(e){t.confirmMultiple(e)})},t.confirmSingle=function(e){t.deleteLink=a(e).attr("href"),a(NestedPages.selectors.linkDeleteConfirmationModalText).text(nestedpages.link_delete_confirmation_singular),a(NestedPages.selectors.linkDeleteConfirmationButton).text(nestedpages.delete).removeClass("bulk"),a(document).trigger("open-modal-manual",NestedPages.selectors.linkDeleteConfirmationModal)},t.confirmMultiple=function(e){"trash"===a('select[name="np_bulk_action"]').val()&&""!==a(NestedPages.selectors.bulkActionRedirectIds).val()&&(e.preventDefault(),a(NestedPages.selectors.linkDeleteConfirmationModalText).text(nestedpages.link_delete_confirmation),a(NestedPages.selectors.linkDeleteConfirmationButton).text(nestedpages.trash_delete_links).addClass("bulk"),a(document).trigger("open-modal-manual",[NestedPages.selectors.linkDeleteConfirmationModal]))},t.deleteMultiple=function(){a(NestedPages.selectors.bulkActionsForm)[0].submit()},t.deleteSingle=function(){window.location.replace(t.deleteLink)},t.bindEvents()},(NestedPages=NestedPages||{}).ManualSync=function(){var t=this,a=jQuery;return t.activeBtn="",t.bindEvents=function(){a(document).on("click",NestedPages.selectors.manualMenuSync,function(e){e.preventDefault(),t.activeBtn=a(this),t.syncMenu()}),a(document).on("click",NestedPages.selectors.manualOrderSync,function(e){e.preventDefault(),t.activeBtn=a(this),t.syncOrder()})},t.syncMenu=function(){t.loading(!0),a.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.manualMenuSync,nonce:NestedPages.jsData.nonce,post_type:NestedPages.jsData.posttype,syncmenu:"sync"},success:function(e){"error"===e.status?(a(NestedPages.selectors.errorDiv).text(e.message).show(),a(NestedPages.selectors.loadingIndicator).hide()):t.loading(!1)}})},t.syncOrder=function(){t.loading(!0),(new NestedPages.Nesting).syncNesting(!0,t.loading(!1))},t.loading=function(e){if(e)return a(t.activeBtn).addClass("disabled"),void a(NestedPages.selectors.loadingIndicator).show();a(t.activeBtn).removeClass("disabled"),a(NestedPages.selectors.loadingIndicator).hide()},t.bindEvents()},(NestedPages=NestedPages||{}).PostSearch=function(){var s=this,n=jQuery;return s.selectors={input:"data-nestedpages-post-search",form:"data-nestedpages-post-search-form",loadingIndicator:"data-nestedpages-loading",noResults:"data-nestedpages-no-results",results:"data-nestedpages-search-results"},s.changed=!1,s.activeInput="",s.results="",s.defaultResults="",s.postType="",s.activeForm="",s.bindEvents=function(){n("["+s.selectors.input+"]").on("input",function(){if(s.activeInput=n(this),s.setOptions(),s.changed||s.setDefaultResults(),""===n(this).val())return n(s.activeForm).find("["+s.selectors.noResults+"]").hide(),void s.showDefaultResults();s.query()})},s.setDefaultResults=function(){s.defaultResults=n(s.activeForm).find("["+s.selectors.results+"]").html(),s.changed=!0},s.showDefaultResults=function(){n(s.activeForm).find("["+s.selectors.results+"]").html(s.defaultResults)},s.setOptions=function(){s.postType=n(s.activeInput).attr(s.selectors.input),s.activeForm=n(s.activeInput).parents("["+s.selectors.form+"]")},s.performSearch=function(){if(s.defaultResults=n(s.activeForm).parent("li").siblings(s.selectors.defaultResults),2<n(s.activeForm).val().length)return n(s.defaultResults).hide(),s.toggleLoading(!0),void s.query();s.toggleLoading(!1),n(s.defaultResults).show()},s.query=function(){n(s.activeForm).find("["+s.selectors.results+"]").empty(),s.toggleLoading(!0),n.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.postSearch,nonce:NestedPages.jsData.nonce,term:n(s.activeInput).val(),postType:s.postType},success:function(e){e.results?(s.results=e.results,s.loadResults(),s.toggleLoading(!1)):(s.toggleLoading(!1),n(s.activeForm).find("["+s.selectors.noResults+"]").show())}})},s.loadResults=function(){var a="<ul>";n.each(s.results,function(e,t){a+='<li><a href="#" data-assignment-page-id="'+t.ID+'" data-assignment-page-title="'+t.post_title+'">'+t.post_title+"</a></li>"}),a+="</ul>",n(s.activeForm).find("["+s.selectors.results+"]").html(a),s.toggleLoading(!1)},s.toggleLoading=function(e){var t=n(s.activeForm).find("["+s.selectors.loadingIndicator+"]"),a=n(s.activeForm).find("["+s.selectors.noResults+"]");n(a).hide(),e?n(t).show():n(t).hide()},s.bindEvents()},(NestedPages=NestedPages||{}).MovePost=function(){var a=this,s=jQuery;return a.formatter=new NestedPages.Formatter,a.nesting=new NestedPages.Nesting,a.activeRow,a.selectors={moveToTop:"data-push-to-top",moveToBottom:"data-push-to-bottom"},a.bindEvents=function(){s(document).ready(function(){a.disableTopOnFirst(),a.disableBottomOnLast()}),s(document).on("click","["+a.selectors.moveToTop+"]",function(e){e.preventDefault(),s(this).hasClass("disabled")||(a.activeRow=s(this).closest(NestedPages.selectors.rows),a.moveToTop())}),s(document).on("click","["+a.selectors.moveToBottom+"]",function(e){e.preventDefault(),s(this).hasClass("disabled")||(a.activeRow=s(this).closest(NestedPages.selectors.rows),a.moveToBottom())})},a.moveToTop=function(){var e=s(a.activeRow).parent(NestedPages.selectors.lists),t=s(e).find(NestedPages.selectors.rows).first();s(a.activeRow).insertBefore(t),a.formatter.setBorders(),s(document).click(),a.nesting.syncNesting(),a.disableTopOnFirst(),a.disableBottomOnLast()},a.moveToBottom=function(){var e=s(a.activeRow).parent(NestedPages.selectors.lists),t=s(e).children(NestedPages.selectors.rows).last();s(a.activeRow).insertAfter(t),a.formatter.setBorders(),s(document).click(),a.nesting.syncNesting(),a.disableTopOnFirst(),a.disableBottomOnLast()},a.disableTopOnFirst=function(){var e=s(NestedPages.selectors.lists);s.each(e,function(){s(this).find("["+a.selectors.moveToTop+"]").removeClass("disabled");var e=s(this).find(NestedPages.selectors.rows).first();s(e).find("["+a.selectors.moveToTop+"]").addClass("disabled")})},a.disableBottomOnLast=function(){var e=s(NestedPages.selectors.lists);s.each(e,function(){s(this).find("["+a.selectors.moveToBottom+"]").removeClass("disabled");var e=s(this).find(NestedPages.selectors.rows).last();s(e).find("["+a.selectors.moveToBottom+"]").addClass("disabled")})},a.bindEvents()},(NestedPages=NestedPages||{}).TrashWithChildren=function(){var t=this,a=jQuery;return t.post_id="",t.bindEvents=function(){a(document).on("click",NestedPages.selectors.trashWithChildrenButton,function(e){e.preventDefault(),t.post_id=a(this).attr("data-post-id"),t.trash()})},t.trash=function(){a.ajax({url:NestedPages.jsData.ajaxurl,type:"post",data:{action:NestedPages.formActions.trashWithChildren,nonce:NestedPages.jsData.nonce,post_id:t.post_id,screen:nestedpages.current_page},success:function(e){window.location.replace(e.redirect)},error:function(e){console.log(e)}})},t.bindEvents()},(NestedPages=NestedPages||{}).Wpml=function(){var a=this,o=jQuery;return a.button=null,a.postData=null,a.modal=null,a.parent_li=null,a.formatter=new NestedPages.Formatter,a.selectors={translationsBtn:"data-nestedpages-translations",modal:"data-np-wpml-translations-modal",title:"data-wmpl-translation-title",table:"data-np-wpml-translations-modal-table"},a.bindEvents=function(){nestedpages.wpml&&o(document).on("click","["+a.selectors.translationsBtn+"]",function(e){e.preventDefault(),a.createTranslationsModal(o(this))})},a.createTranslationsModal=function(e){if(a.parent_li=o(e).parents(".action-buttons").closest(NestedPages.selectors.row).parent("li"),a.button=o(a.parent_li).find(NestedPages.selectors.quickEditOpen),a.postData={id:o(a.button).attr("data-id"),title:o(a.button).attr("data-title"),slug:o(a.button).attr("data-slug")},a.modal=o("["+a.selectors.modal+"]").clone(),0<o(a.parent_li).children("ol").length){var t=o(a.parent_li).children("ol");o(a.modal).insertBefore(t)}else o(a.modal).appendTo(a.parent_li);o(a.modal).find("["+a.selectors.title+"]").text(a.postData.title),a.formatter.showQuickEdit(),o(a.modal).show(),a.getTranslationData()},a.getTranslationData=function(){o.ajax({url:NestedPages.jsData.ajaxurl,type:"post",datatype:"json",data:{action:NestedPages.formActions.wpmlTranslations,post_id:a.postData.id,nonce:NestedPages.jsData.nonce},success:function(e){console.log(e),console.log(a.postData.id),"success"===e.status?a.populateModal(e.translations):(o(a.modal).find(NestedPages.selectors.quickEditErrorDiv).text(e.message).show(),a.toggleLoading(!1))}})},a.populateModal=function(s){var n="<tbody>";o.each(s,function(e,t){var a=s[e];n+="<tr>",n+='<td><img src="'+a.country_flag_url+'" alt="'+a.translated_name+'" /> '+a.translated_name+"</td>",n+="<td>",a.has_translation&&a.edit_link?n+='<a href="'+a.edit_link+'">'+a.translation.post_title+" ("+nestedpages.edit+")</a>":n+='<a href="'+a.add_link+'" class="np-btn">+ '+nestedpages.add_translation+"</a>",n+="</td>",n+="</tr>"}),n+="</tbody>",o(a.modal).find("["+a.selectors.table+"]").html(n),a.toggleLoading(!1)},a.toggleLoading=function(e){e?o(a.modal).addClass("loading"):o(a.modal).removeClass("loading")},a.bindEvents()};
|
languages/wp-nested-pages-de_DE.mo
CHANGED
Binary file
|
languages/wp-nested-pages-de_DE.po
CHANGED
@@ -1,616 +1,1171 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
"PO-Revision-Date:
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
#: app/
|
47 |
-
#: app/
|
48 |
-
#: app/Views/
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
#: app/
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
"
|
100 |
-
"
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
#: app/
|
144 |
-
msgid "
|
145 |
-
msgstr "
|
146 |
-
|
147 |
-
#: app/
|
148 |
-
msgid "
|
149 |
-
msgstr "
|
150 |
-
|
151 |
-
#: app/
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
#: app/
|
172 |
-
msgid "
|
173 |
-
msgstr "
|
174 |
-
|
175 |
-
#: app/
|
176 |
-
msgid "
|
177 |
-
msgstr "
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
#: app/
|
201 |
-
msgid "
|
202 |
-
msgstr "
|
203 |
-
|
204 |
-
#: app/
|
205 |
-
msgid "
|
206 |
-
msgstr "
|
207 |
-
|
208 |
-
#: app/
|
209 |
-
msgid "
|
210 |
-
msgstr "
|
211 |
-
|
212 |
-
#: app/
|
213 |
-
msgid "
|
214 |
-
msgstr "
|
215 |
-
|
216 |
-
#: app/
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
msgid "
|
242 |
-
msgstr "
|
243 |
-
|
244 |
-
#: app/
|
245 |
-
msgid "
|
246 |
-
msgstr "
|
247 |
-
|
248 |
-
#: app/
|
249 |
-
|
250 |
-
msgid "
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
#: app/
|
265 |
-
|
266 |
-
msgid "
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
#: app/
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
#: app/
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
#: app/Views/forms/
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
#: app/Views/forms/
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
#: app/Views/
|
313 |
-
msgid "
|
314 |
-
msgstr "
|
315 |
-
|
316 |
-
#: app/
|
317 |
-
msgid "
|
318 |
-
msgstr "
|
319 |
-
|
320 |
-
#: app/
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
#: app/
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
#: app/
|
376 |
-
msgid "
|
377 |
-
msgstr "
|
378 |
-
|
379 |
-
#: app/
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
#: app/
|
414 |
-
msgid "
|
415 |
-
msgstr "
|
416 |
-
|
417 |
-
#: app/
|
418 |
-
msgid "
|
419 |
-
msgstr "
|
420 |
-
|
421 |
-
#: app/
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
#: app/Views/partials/
|
438 |
-
msgid "
|
439 |
-
msgstr "
|
440 |
-
|
441 |
-
#: app/Views/
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
#: app/Views/partials/
|
446 |
-
msgid "
|
447 |
-
msgstr "
|
448 |
-
|
449 |
-
#: app/Views/
|
450 |
-
msgid "
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
#: app/Views/
|
458 |
-
msgid "Empty"
|
459 |
-
msgstr "
|
460 |
-
|
461 |
-
#: app/Views/
|
462 |
-
msgid "
|
463 |
-
msgstr "
|
464 |
-
|
465 |
-
#: app/Views/
|
466 |
-
msgid "
|
467 |
-
msgstr "
|
468 |
-
|
469 |
-
#: app/Views/
|
470 |
-
msgid "
|
471 |
-
msgstr "
|
472 |
-
|
473 |
-
#: app/Views/
|
474 |
-
msgid "
|
475 |
-
msgstr "
|
476 |
-
|
477 |
-
#: app/Views/
|
478 |
-
msgid "
|
479 |
-
msgstr "
|
480 |
-
|
481 |
-
#: app/Views/
|
482 |
-
msgid "
|
483 |
-
msgstr "
|
484 |
-
|
485 |
-
#: app/Views/
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
#: app/Views/
|
510 |
-
msgid "
|
511 |
-
msgstr "
|
512 |
-
|
513 |
-
#: app/Views/
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
#: app/Views/settings/settings-posttypes.php:
|
538 |
-
msgid "
|
539 |
-
msgstr "
|
540 |
-
|
541 |
-
#: app/Views/
|
542 |
-
msgid "
|
543 |
-
msgstr "
|
544 |
-
|
545 |
-
#: app/Views/
|
546 |
-
msgid "
|
547 |
-
msgstr "
|
548 |
-
|
549 |
-
#: app/Views/
|
550 |
-
msgid "
|
551 |
-
msgstr "
|
552 |
-
|
553 |
-
#: app/Views/
|
554 |
-
msgid "
|
555 |
-
msgstr "
|
556 |
-
|
557 |
-
#: app/Views/
|
558 |
-
msgid "
|
559 |
-
msgstr "
|
560 |
-
|
561 |
-
#: app/Views/
|
562 |
-
msgid "
|
563 |
-
msgstr "
|
564 |
-
|
565 |
-
#: app/Views/
|
566 |
-
msgid "
|
567 |
-
msgstr ""
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
"
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
"
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
"
|
588 |
-
|
589 |
-
"
|
590 |
-
"
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
msgid "
|
601 |
-
msgstr "
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of Stable (latest release) in German
|
2 |
+
# This file is distributed under the same license as the Stable (latest release) package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"PO-Revision-Date: 2020-02-12 16:06+0000\n"
|
6 |
+
"MIME-Version: 1.0\n"
|
7 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
+
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: Loco https://localise.biz/\n"
|
11 |
+
"Project-Id-Version: Stable (latest release)\n"
|
12 |
+
"Report-Msgid-Bugs-To: \n"
|
13 |
+
"POT-Creation-Date: 2019-08-20 16:11-0400\n"
|
14 |
+
"Last-Translator: livewelt digital <digital@livewelt.de>\n"
|
15 |
+
"Language-Team: Deutsch\n"
|
16 |
+
"Language: de-DE\n"
|
17 |
+
"X-Loco-Version: 2.3.1; wp-5.3.2"
|
18 |
+
|
19 |
+
#: app/Activation/Dependencies.php:118 app/Views/listing.php:36
|
20 |
+
#: app/Views/partials/list-header.php:19
|
21 |
+
msgid "Expand All"
|
22 |
+
msgstr "Alle ausklappen"
|
23 |
+
|
24 |
+
#: app/Activation/Dependencies.php:119
|
25 |
+
msgid "Collapse All"
|
26 |
+
msgstr "Alle einklappen"
|
27 |
+
|
28 |
+
#: app/Activation/Dependencies.php:120 app/Views/partials/tool-list.php:27
|
29 |
+
msgid "Show Hidden"
|
30 |
+
msgstr "Versteckte einblenden"
|
31 |
+
|
32 |
+
#: app/Activation/Dependencies.php:121 app/Views/partials/tool-list.php:29
|
33 |
+
msgid "Hide Hidden"
|
34 |
+
msgstr "Versteckte ausblenden"
|
35 |
+
|
36 |
+
#: app/Activation/Dependencies.php:122 app/Views/listing.php:29
|
37 |
+
msgid "Add Link"
|
38 |
+
msgstr "Link hinzufügen"
|
39 |
+
|
40 |
+
#: app/Activation/Dependencies.php:123 app/Views/partials/row.php:144
|
41 |
+
msgid "Add Child Link"
|
42 |
+
msgstr "Unterlink hinzufügen"
|
43 |
+
|
44 |
+
#: app/Activation/Dependencies.php:124
|
45 |
+
#: app/Entities/Post/PostUpdateRepository.php:94
|
46 |
+
#: app/Views/forms/new-child.php:19 app/Views/forms/new-child.php:21
|
47 |
+
#: app/Views/forms/quickedit-post.php:24 app/Views/partials/tool-list.php:88
|
48 |
+
#: app/Views/settings/settings-posttypes.php:270
|
49 |
+
msgid "Title"
|
50 |
+
msgstr "Titel"
|
51 |
+
|
52 |
+
#: app/Activation/Dependencies.php:125 app/Views/forms/quickedit-post.php:14
|
53 |
+
#: app/Views/partials/row-link.php:66 app/Views/partials/row.php:254
|
54 |
+
msgid "Quick Edit"
|
55 |
+
msgstr "Quick Edit"
|
56 |
+
|
57 |
+
#: app/Activation/Dependencies.php:126
|
58 |
+
msgid "Page Title"
|
59 |
+
msgstr "Seitentitel"
|
60 |
+
|
61 |
+
#: app/Activation/Dependencies.php:127 app/Views/partials/row.php:260
|
62 |
+
msgid "View"
|
63 |
+
msgstr "Ansehen"
|
64 |
+
|
65 |
+
#: app/Activation/Dependencies.php:128 app/Views/forms/new-child.php:7
|
66 |
+
msgid "Add Child"
|
67 |
+
msgstr "Unterseite hinzufügen"
|
68 |
+
|
69 |
+
#: app/Activation/Dependencies.php:129
|
70 |
+
msgid "Add Child Page"
|
71 |
+
msgstr "Unterseite erstellen"
|
72 |
+
|
73 |
+
#: app/Activation/Dependencies.php:130
|
74 |
+
msgid "Add Child Pages"
|
75 |
+
msgstr "Unterseiten erstellen"
|
76 |
+
|
77 |
+
#: app/Activation/Dependencies.php:131 app/Views/forms/link-form.php:113
|
78 |
+
#: app/Views/forms/new-child.php:105
|
79 |
+
msgid "Add"
|
80 |
+
msgstr "Erstellen"
|
81 |
+
|
82 |
+
#: app/Activation/Dependencies.php:132
|
83 |
+
msgid "Add Page"
|
84 |
+
msgstr "Seite erstellen"
|
85 |
+
|
86 |
+
#: app/Activation/Dependencies.php:133
|
87 |
+
msgid "Add Pages"
|
88 |
+
msgstr "Seiten erstellen"
|
89 |
+
|
90 |
+
#: app/Activation/Dependencies.php:134 app/Views/listing.php:23
|
91 |
+
msgid "Add Multiple"
|
92 |
+
msgstr "Mehrere erstellen"
|
93 |
+
|
94 |
+
#: app/Activation/Dependencies.php:135
|
95 |
+
msgid ""
|
96 |
+
"Are you sure you would like to empty the trash? This action is not "
|
97 |
+
"reversible."
|
98 |
+
msgstr ""
|
99 |
+
"Sind Sie sicher, dass Sie diesen Papierkorb leeren möchten? Diese Aktion ist "
|
100 |
+
"nicht umkehrbar."
|
101 |
+
|
102 |
+
#: app/Activation/Dependencies.php:136 app/Views/partials/row-link.php:41
|
103 |
+
#: app/Views/partials/row.php:56
|
104 |
+
msgid "Hidden"
|
105 |
+
msgstr "Versteckt"
|
106 |
+
|
107 |
+
#: app/Activation/Dependencies.php:137 app/Views/partials/list-header.php:11
|
108 |
+
msgid "Bulk Actions"
|
109 |
+
msgstr "Mehrfachaktionen"
|
110 |
+
|
111 |
+
#: app/Activation/Dependencies.php:138
|
112 |
+
msgid ""
|
113 |
+
"Your selection includes link items, which cannot be recovered after deleting."
|
114 |
+
" Would you like to continue? (Other items are moved to the trash)"
|
115 |
+
msgstr ""
|
116 |
+
"Ihre Auswahl enthält Link-Elemente, die nach dem Löschen nicht mehr "
|
117 |
+
"wiederhergestellt werden können. Möchten Sie fortfahren? (Andere Elemente "
|
118 |
+
"werden in den Papierkorb verschoben)"
|
119 |
+
|
120 |
+
#: app/Activation/Dependencies.php:139
|
121 |
+
msgid ""
|
122 |
+
"Are you sure you would like to delete this item? This action is not "
|
123 |
+
"reversible."
|
124 |
+
msgstr ""
|
125 |
+
"Sind Sie sicher, dass Sie diesen Punkt löschen möchten? Diese Aktion ist "
|
126 |
+
"nicht umkehrbar."
|
127 |
+
|
128 |
+
#: app/Activation/Dependencies.php:140
|
129 |
+
#: app/Views/forms/delete-confirmation-modal.php:11
|
130 |
+
msgid "Delete"
|
131 |
+
msgstr "Löschen"
|
132 |
+
|
133 |
+
#: app/Activation/Dependencies.php:141
|
134 |
+
msgid "Trash Posts and Delete Links"
|
135 |
+
msgstr "Papierkorb-Beiträge und Links löschen"
|
136 |
+
|
137 |
+
#: app/Activation/Dependencies.php:144
|
138 |
+
msgid "Currently assigned to:"
|
139 |
+
msgstr "Momentan zugewiesen:"
|
140 |
+
|
141 |
+
#: app/Activation/Dependencies.php:145
|
142 |
+
#: app/Views/settings/partials/nav-menu-settings.php:44
|
143 |
+
#: app/Views/settings/settings-posttypes.php:87
|
144 |
+
msgid "Remove"
|
145 |
+
msgstr "Entfernen"
|
146 |
+
|
147 |
+
#: app/Activation/Dependencies.php:148
|
148 |
+
msgid "Add Translation"
|
149 |
+
msgstr "Übersetzen"
|
150 |
+
|
151 |
+
#: app/Activation/Dependencies.php:149 app/Views/partials/list-header.php:15
|
152 |
+
#: app/Views/partials/row.php:71
|
153 |
+
msgid "Edit"
|
154 |
+
msgstr "Bearbeiten"
|
155 |
+
|
156 |
+
#: app/Activation/Dependencies.php:150
|
157 |
+
msgid "Insert Before"
|
158 |
+
msgstr "vorher einfügen"
|
159 |
+
|
160 |
+
#: app/Activation/Dependencies.php:151
|
161 |
+
msgid "Insert After"
|
162 |
+
msgstr "Danach einfügen"
|
163 |
+
|
164 |
+
#: app/Bootstrap.php:68 app/Views/settings/settings-admincustom.php:14
|
165 |
+
#: app/Views/settings/settings-posttypes.php:23
|
166 |
+
msgid "Settings"
|
167 |
+
msgstr "Einstellungen"
|
168 |
+
|
169 |
+
#: app/Config/AdminMenuSettings.php:60
|
170 |
+
#: app/Views/settings/partials/nav-menu-settings.php:42
|
171 |
+
#: app/Views/settings/partials/nav-menu-settings/header.php:22
|
172 |
+
msgid "Separator"
|
173 |
+
msgstr "Trenner"
|
174 |
+
|
175 |
+
#: app/Config/Settings.php:83 app/Views/settings/settings.php:2
|
176 |
+
msgid "Nested Pages Settings"
|
177 |
+
msgstr "Einstellungen für Nested Pages"
|
178 |
+
|
179 |
+
#. #-#-#-#-# tmp-wp-nested-pages.pot (Nested Pages 1.5.3) #-#-#-#-#
|
180 |
+
#. Plugin Name of the plugin/theme
|
181 |
+
#: app/Config/Settings.php:84
|
182 |
+
msgid "Nested Pages"
|
183 |
+
msgstr "Nested Pages"
|
184 |
+
|
185 |
+
#: app/Config/SettingsRepository.php:91
|
186 |
+
msgid "Post Title"
|
187 |
+
msgstr "Titel"
|
188 |
+
|
189 |
+
#: app/Config/SettingsRepository.php:92 app/Views/forms/quickedit-post.php:31
|
190 |
+
msgid "Slug"
|
191 |
+
msgstr "Permalink"
|
192 |
+
|
193 |
+
#: app/Config/SettingsRepository.php:93
|
194 |
+
msgid "Post Date"
|
195 |
+
msgstr "Datum"
|
196 |
+
|
197 |
+
#: app/Config/SettingsRepository.php:94 app/Views/forms/clone-form.php:51
|
198 |
+
#: app/Views/forms/new-child.php:62 app/Views/forms/quickedit-post.php:79
|
199 |
+
#: app/Views/partials/bulk-edit.php:35
|
200 |
+
#: app/Views/settings/settings-posttypes.php:257
|
201 |
+
msgid "Author"
|
202 |
+
msgstr "Autor"
|
203 |
+
|
204 |
+
#: app/Config/SettingsRepository.php:95
|
205 |
+
msgid "Post Status"
|
206 |
+
msgstr "Status"
|
207 |
+
|
208 |
+
#: app/Config/SettingsRepository.php:96
|
209 |
+
msgid "Password/Private"
|
210 |
+
msgstr "Passwort/Privat"
|
211 |
+
|
212 |
+
#: app/Config/SettingsRepository.php:97 app/Views/forms/quickedit-post.php:146
|
213 |
+
msgid "Allow Comments"
|
214 |
+
msgstr "Kommentare erlauben"
|
215 |
+
|
216 |
+
#: app/Config/SettingsRepository.php:101 app/Views/forms/new-child.php:72
|
217 |
+
#: app/Views/forms/quickedit-post.php:120 app/Views/partials/bulk-edit.php:58
|
218 |
+
msgid "Template"
|
219 |
+
msgstr "Vorlage"
|
220 |
+
|
221 |
+
#: app/Config/SettingsRepository.php:102 app/Views/forms/quickedit-post.php:171
|
222 |
+
msgid "Menu Options"
|
223 |
+
msgstr "Menü-Optionen"
|
224 |
+
|
225 |
+
#: app/Config/SettingsRepository.php:105 app/Views/forms/quickedit-link.php:60
|
226 |
+
#: app/Views/forms/quickedit-post.php:155
|
227 |
+
msgid "Hide in Nested Pages"
|
228 |
+
msgstr "In verschachtelten Seiten verstecken"
|
229 |
+
|
230 |
+
#: app/Config/SettingsRepository.php:113 app/Views/forms/quickedit-post.php:175
|
231 |
+
msgid "Taxonomies"
|
232 |
+
msgstr "Taxonomien"
|
233 |
+
|
234 |
+
#: app/Entities/AdminCustomization/AdminMenuItems.php:311
|
235 |
+
msgid "Profile"
|
236 |
+
msgstr "Profil"
|
237 |
+
|
238 |
+
#: app/Entities/AdminMenu/AdminSubmenu.php:71
|
239 |
+
#: app/Views/partials/tool-list.php:46
|
240 |
+
#, php-format
|
241 |
+
msgid "Default %s"
|
242 |
+
msgstr "Standard %s"
|
243 |
+
|
244 |
+
#: app/Entities/Confirmation/LinkDeletedConfirmation.php:11
|
245 |
+
msgid "Link successfully deleted."
|
246 |
+
msgstr "Link wurde erfolgreich gelöscht."
|
247 |
+
|
248 |
+
#: app/Entities/Confirmation/TrashConfirmation.php:17
|
249 |
+
#, php-format
|
250 |
+
msgid "%d Link Removed."
|
251 |
+
msgid_plural "%d Links Removed."
|
252 |
+
msgstr[0] ""
|
253 |
+
msgstr[1] "%d Links entfernt."
|
254 |
+
|
255 |
+
#: app/Entities/Confirmation/TrashConfirmation.php:26
|
256 |
+
#, php-format
|
257 |
+
msgid "%d %s moved to the trash."
|
258 |
+
msgstr "%d %s in den Papierkorb gelegt."
|
259 |
+
|
260 |
+
#: app/Entities/Confirmation/TrashConfirmation.php:31
|
261 |
+
msgid "Undo"
|
262 |
+
msgstr "Rückgängig"
|
263 |
+
|
264 |
+
#: app/Entities/Confirmation/TrashRestoredConfirmation.php:12
|
265 |
+
#, php-format
|
266 |
+
msgid "%d item restored from trash."
|
267 |
+
msgid_plural "%d items restored from trash."
|
268 |
+
msgstr[0] "%d Element wiederhergestellt."
|
269 |
+
msgstr[1] "%d Elemente wiederhergestellt."
|
270 |
+
|
271 |
+
#: app/Entities/PluginIntegration/WPML.php:146
|
272 |
+
msgid "Sync WPML Menus"
|
273 |
+
msgstr "WPML Menüs synchronisieren"
|
274 |
+
|
275 |
+
#: app/Entities/PluginIntegration/WPML.php:223
|
276 |
+
msgid "All Languages"
|
277 |
+
msgstr "Alle Sprachen"
|
278 |
+
|
279 |
+
#: app/Entities/Post/PrivatePostParent.php:30
|
280 |
+
msgid "(no parent)"
|
281 |
+
msgstr "(Kein Elternelement)"
|
282 |
+
|
283 |
+
#: app/Entities/PostType/PostTypeRepository.php:412
|
284 |
+
msgid "Nested View"
|
285 |
+
msgstr "Verschachtelte Ansicht"
|
286 |
+
|
287 |
+
#: app/Entities/PostType/PostTypeRepository.php:412
|
288 |
+
msgid "Sort View"
|
289 |
+
msgstr "Sortierungsansicht"
|
290 |
+
|
291 |
+
#: app/Entities/PostType/PostTypeRepository.php:471
|
292 |
+
#: app/Views/forms/clone-form.php:30 app/Views/forms/new-child.php:38
|
293 |
+
#: app/Views/forms/quickedit-link.php:30 app/Views/partials/bulk-edit.php:48
|
294 |
+
#: app/Views/partials/tool-list.php:18
|
295 |
+
msgid "Published"
|
296 |
+
msgstr "Publiziert"
|
297 |
+
|
298 |
+
#: app/Entities/PostType/PostTypeRepository.php:472
|
299 |
+
#: app/Views/forms/quickedit-link.php:31
|
300 |
+
msgid "Scheduled"
|
301 |
+
msgstr "Geplant"
|
302 |
+
|
303 |
+
#: app/Entities/PostType/PostTypeRepository.php:475
|
304 |
+
#: app/Views/forms/clone-form.php:32 app/Views/forms/quickedit-link.php:33
|
305 |
+
#: app/Views/partials/bulk-edit.php:51
|
306 |
+
msgid "Pending Review"
|
307 |
+
msgstr "Überprüfung ausstehend"
|
308 |
+
|
309 |
+
#: app/Entities/PostType/PostTypeRepository.php:476
|
310 |
+
#: app/Views/forms/clone-form.php:33 app/Views/forms/new-child.php:40
|
311 |
+
#: app/Views/forms/quickedit-link.php:34 app/Views/partials/bulk-edit.php:52
|
312 |
+
#: app/Views/partials/tool-list.php:22
|
313 |
+
msgid "Draft"
|
314 |
+
msgstr "Entwurf"
|
315 |
+
|
316 |
+
#: app/Entities/PostType/RegisterPostTypes.php:29
|
317 |
+
msgid "Redirects"
|
318 |
+
msgstr "Umleitungen"
|
319 |
+
|
320 |
+
#: app/Entities/PostType/RegisterPostTypes.php:30
|
321 |
+
msgid "Redirect"
|
322 |
+
msgstr "Umleitung"
|
323 |
+
|
324 |
+
#: app/Form/Listeners/BaseHandler.php:94
|
325 |
+
msgid "Incorrect Form Field"
|
326 |
+
msgstr "Falsches Formularfeld"
|
327 |
+
|
328 |
+
#: app/Form/Listeners/BaseHandler.php:128
|
329 |
+
msgid "There was an error updating the page."
|
330 |
+
msgstr "Beim Aktualisieren der Seite ist ein Fehler aufgetreten."
|
331 |
+
|
332 |
+
#: app/Form/Listeners/ClonePost.php:35
|
333 |
+
#: app/Form/Listeners/WpmlTranslations.php:47
|
334 |
+
msgid "Post Not Found"
|
335 |
+
msgstr "Dieser Beitrag konnte nicht gefunden werden."
|
336 |
+
|
337 |
+
#: app/Form/Listeners/EmptyTrash.php:17
|
338 |
+
msgid "Trash successfully emptied."
|
339 |
+
msgstr "Papierkorb erfolgreich geleert."
|
340 |
+
|
341 |
+
#: app/Form/Listeners/NewMenuItem.php:26
|
342 |
+
msgid "Custom Links must have a label."
|
343 |
+
msgstr "Benutzerdefinierte Links müssen ein Etikett haben."
|
344 |
+
|
345 |
+
#: app/Form/Listeners/NewMenuItem.php:27 app/Form/Validation/Validation.php:150
|
346 |
+
msgid "Please provide a valid URL."
|
347 |
+
msgstr "Bitte eine gültige URL angeben."
|
348 |
+
|
349 |
+
#: app/Form/Listeners/NewMenuItem.php:46
|
350 |
+
#: app/Form/Listeners/QuickEditLink.php:28
|
351 |
+
msgid "Link successfully updated."
|
352 |
+
msgstr "Link erfolgreich aktualisiert"
|
353 |
+
|
354 |
+
#: app/Form/Listeners/QuickEdit.php:26
|
355 |
+
msgid "You do not have sufficient privileges to edit this post."
|
356 |
+
msgstr ""
|
357 |
+
"Sie haben nicht genügend Berechtigungen, um diesen Beitrag zu bearbeiten."
|
358 |
+
|
359 |
+
#: app/Form/Listeners/QuickEdit.php:35
|
360 |
+
msgid "Post successfully updated."
|
361 |
+
msgstr "Beitrag aktualisiert"
|
362 |
+
|
363 |
+
#: app/Form/Listeners/Sort.php:30
|
364 |
+
msgid "Page order successfully updated."
|
365 |
+
msgstr "Seitenreihenfolge erfolgreich aktualisiert."
|
366 |
+
|
367 |
+
#: app/Form/Listeners/Sort.php:32
|
368 |
+
msgid "There was an error updating the page order."
|
369 |
+
msgstr "Beim Aktualisieren der Seitenreihenfolge ist ein Fehler aufgetreten."
|
370 |
+
|
371 |
+
#: app/Form/Listeners/SyncMenu.php:24
|
372 |
+
msgid "Menu sync disabled."
|
373 |
+
msgstr "Menüsynchronisation deaktiviert."
|
374 |
+
|
375 |
+
#: app/Form/Listeners/SyncMenu.php:34
|
376 |
+
msgid "Menu sync enabled."
|
377 |
+
msgstr "Menüsynchronisation aktiviert."
|
378 |
+
|
379 |
+
#: app/Form/Listeners/WpmlTranslations.php:28
|
380 |
+
msgid "WPML is not currently installed."
|
381 |
+
msgstr "WPML ist nicht installiert."
|
382 |
+
|
383 |
+
#: app/Form/Listeners/WpmlTranslations.php:35
|
384 |
+
msgid "There are currently no translations for the selected post."
|
385 |
+
msgstr "Es gibt derzeit keine Übersetzungen für die ausgewählte Stelle."
|
386 |
+
|
387 |
+
#: app/Form/Validation/Validation.php:136
|
388 |
+
msgid "Please provide a valid date."
|
389 |
+
msgstr "Bitte ein gültiges Datum angeben."
|
390 |
+
|
391 |
+
#: app/Form/Validation/Validation.php:147
|
392 |
+
msgid "Please provide a menu title."
|
393 |
+
msgstr "Bitte Menü-Titel angeben."
|
394 |
+
|
395 |
+
#: app/Form/Validation/Validation.php:160
|
396 |
+
msgid "Please provide a "
|
397 |
+
msgstr "Bitte eine"
|
398 |
+
|
399 |
+
#: app/Form/Validation/Validation.php:174
|
400 |
+
msgid "A valid parent page was not provided."
|
401 |
+
msgstr "Es wurde keine gültige Seite angegeben."
|
402 |
+
|
403 |
+
#: app/Form/Validation/Validation.php:181
|
404 |
+
msgid "A valid parent page was not provided to insert before."
|
405 |
+
msgstr ""
|
406 |
+
"Es wurde keine gültige übergeordnete Seite zum Einfügen bereitgestellt."
|
407 |
+
|
408 |
+
#: app/Form/Validation/Validation.php:187
|
409 |
+
msgid "A valid parent page was not provided to insert after."
|
410 |
+
msgstr ""
|
411 |
+
"Es wurde keine gültige übergeordnete Seite zum Einfügen bereitgestellt."
|
412 |
+
|
413 |
+
#: app/Form/Validation/Validation.php:194
|
414 |
+
msgid "Please provide at least one page title."
|
415 |
+
msgstr "Bitte gib mindestens einen Seitentitel an."
|
416 |
+
|
417 |
+
#: app/Form/Validation/Validation.php:202
|
418 |
+
msgid "Page titles cannot be blank."
|
419 |
+
msgstr "Seitentitel dürfen nicht leer sein."
|
420 |
+
|
421 |
+
#: app/Form/Validation/Validation.php:227
|
422 |
+
#, php-format
|
423 |
+
msgid "%s is required."
|
424 |
+
msgstr "%s ist notwendig."
|
425 |
+
|
426 |
+
#: app/Views/forms/clone-form.php:10 app/Views/forms/clone-form.php:66
|
427 |
+
#: app/Views/partials/row.php:208
|
428 |
+
msgid "Clone"
|
429 |
+
msgstr "Klonen"
|
430 |
+
|
431 |
+
#: app/Views/forms/clone-form.php:15
|
432 |
+
msgid "Number of Copies"
|
433 |
+
msgstr "Anzahl der Kopien"
|
434 |
+
|
435 |
+
#: app/Views/forms/clone-form.php:27 app/Views/forms/new-child.php:35
|
436 |
+
#: app/Views/forms/quickedit-link.php:27 app/Views/forms/quickedit-post.php:93
|
437 |
+
#: app/Views/partials/bulk-edit.php:44
|
438 |
+
msgid "Status"
|
439 |
+
msgstr "Status"
|
440 |
+
|
441 |
+
#: app/Views/forms/clone-form.php:63
|
442 |
+
#: app/Views/forms/delete-confirmation-modal.php:10
|
443 |
+
#: app/Views/forms/empty-trash-modal.php:10 app/Views/forms/link-form.php:109
|
444 |
+
#: app/Views/forms/new-child.php:102 app/Views/forms/quickedit-link.php:84
|
445 |
+
#: app/Views/forms/quickedit-post.php:262 app/Views/partials/bulk-edit.php:143
|
446 |
+
msgid "Cancel"
|
447 |
+
msgstr "Abbrechen"
|
448 |
+
|
449 |
+
#: app/Views/forms/empty-trash-modal.php:9
|
450 |
+
msgid ""
|
451 |
+
"Are you sure you would like to empty the trash? This action is not "
|
452 |
+
"reversable."
|
453 |
+
msgstr ""
|
454 |
+
"Papierkorb wirklich leeren? Diese Aktion kann nicht rückgängig gemacht "
|
455 |
+
"werden."
|
456 |
+
|
457 |
+
#: app/Views/forms/empty-trash-modal.php:11
|
458 |
+
msgid "Empty Trash"
|
459 |
+
msgstr "Papierkorb leeren"
|
460 |
+
|
461 |
+
#: app/Views/forms/link-form.php:19
|
462 |
+
msgid "Custom Link"
|
463 |
+
msgstr "Link"
|
464 |
+
|
465 |
+
#: app/Views/forms/link-form.php:28 app/Views/forms/link-form.php:52
|
466 |
+
msgid "Search"
|
467 |
+
msgstr "Suche"
|
468 |
+
|
469 |
+
#: app/Views/forms/link-form.php:35 app/Views/forms/link-form.php:52
|
470 |
+
msgid "No Results"
|
471 |
+
msgstr "Keine Suchergebnisse"
|
472 |
+
|
473 |
+
#: app/Views/forms/link-form.php:66
|
474 |
+
msgid "Select an item"
|
475 |
+
msgstr "Eintrag auswählen"
|
476 |
+
|
477 |
+
#: app/Views/forms/link-form.php:71
|
478 |
+
msgid "Original"
|
479 |
+
msgstr "Original"
|
480 |
+
|
481 |
+
#: app/Views/forms/link-form.php:76 app/Views/forms/quickedit-link.php:22
|
482 |
+
msgid "URL"
|
483 |
+
msgstr "URL"
|
484 |
+
|
485 |
+
#: app/Views/forms/link-form.php:80 app/Views/forms/quickedit-link.php:17
|
486 |
+
#: app/Views/forms/quickedit-post.php:226
|
487 |
+
msgid "Navigation Label"
|
488 |
+
msgstr "Navigationsbeschriftnug"
|
489 |
+
|
490 |
+
#: app/Views/forms/link-form.php:84 app/Views/forms/quickedit-link.php:44
|
491 |
+
#: app/Views/forms/quickedit-post.php:230
|
492 |
+
msgid "Title Attribute"
|
493 |
+
msgstr "Titel-Attribut"
|
494 |
+
|
495 |
+
#: app/Views/forms/link-form.php:88
|
496 |
+
msgid "CSS Classes (optional)"
|
497 |
+
msgstr "CSS-Klasse (optional)"
|
498 |
+
|
499 |
+
#: app/Views/forms/link-form.php:94 app/Views/forms/quickedit-link.php:66
|
500 |
+
#: app/Views/forms/quickedit-post.php:248
|
501 |
+
msgid "Open link in a new window/tab"
|
502 |
+
msgstr "Link in neuem Fenster/Tab öffnen"
|
503 |
+
|
504 |
+
#: app/Views/forms/new-child.php:28
|
505 |
+
msgid "+"
|
506 |
+
msgstr "+"
|
507 |
+
|
508 |
+
#: app/Views/forms/new-child.php:74 app/Views/forms/quickedit-post.php:122
|
509 |
+
#: app/Views/partials/bulk-edit.php:61
|
510 |
+
msgid "Default Template"
|
511 |
+
msgstr "Standard-Vorlage"
|
512 |
+
|
513 |
+
#: app/Views/forms/new-child.php:84 app/Views/forms/quickedit-link.php:54
|
514 |
+
#: app/Views/forms/quickedit-post.php:242 app/Views/partials/bulk-edit.php:108
|
515 |
+
msgid "Hide in Nav Menu"
|
516 |
+
msgstr "Im Menü verstecken"
|
517 |
+
|
518 |
+
#: app/Views/forms/new-child.php:108
|
519 |
+
msgid "Add & Edit"
|
520 |
+
msgstr "Erstellen & bearbeiten"
|
521 |
+
|
522 |
+
#: app/Views/forms/quickedit-link.php:8
|
523 |
+
msgid "Link"
|
524 |
+
msgstr "Link"
|
525 |
+
|
526 |
+
#: app/Views/forms/quickedit-link.php:48 app/Views/forms/quickedit-post.php:234
|
527 |
+
msgid "CSS Classes"
|
528 |
+
msgstr "CSS-Klasse"
|
529 |
+
|
530 |
+
#: app/Views/forms/quickedit-link.php:87
|
531 |
+
#: app/Views/forms/quickedit-post.php:265 app/Views/partials/bulk-edit.php:146
|
532 |
+
msgid "Update"
|
533 |
+
msgstr "Aktualisieren"
|
534 |
+
|
535 |
+
#: app/Views/forms/quickedit-post.php:39 app/Views/forms/quickedit-post.php:56
|
536 |
+
#: app/Views/partials/tool-list.php:87
|
537 |
+
#: app/Views/settings/settings-posttypes.php:269
|
538 |
+
msgid "Date"
|
539 |
+
msgstr "Datum"
|
540 |
+
|
541 |
+
#: app/Views/forms/quickedit-post.php:42
|
542 |
+
msgid "@"
|
543 |
+
msgstr "@"
|
544 |
+
|
545 |
+
#: app/Views/forms/quickedit-post.php:46
|
546 |
+
msgid "am"
|
547 |
+
msgstr "am"
|
548 |
+
|
549 |
+
#: app/Views/forms/quickedit-post.php:47
|
550 |
+
msgid "pm"
|
551 |
+
msgstr "pm"
|
552 |
+
|
553 |
+
#: app/Views/forms/quickedit-post.php:130
|
554 |
+
msgid "Password"
|
555 |
+
msgstr "Passwort"
|
556 |
+
|
557 |
+
#: app/Views/forms/quickedit-post.php:133
|
558 |
+
msgid "–OR–"
|
559 |
+
msgstr "–ODER–"
|
560 |
+
|
561 |
+
#: app/Views/forms/quickedit-post.php:136 app/Views/partials/bulk-edit.php:50
|
562 |
+
msgid "Private"
|
563 |
+
msgstr "Privat"
|
564 |
+
|
565 |
+
#: app/Views/forms/quickedit-post.php:164
|
566 |
+
msgid "Make Sticky"
|
567 |
+
msgstr "Anheften"
|
568 |
+
|
569 |
+
#: app/Views/listing.php:43
|
570 |
+
#, php-format
|
571 |
+
msgid "Sync %s Order"
|
572 |
+
msgstr "%s Reihenfolge sortieren"
|
573 |
+
|
574 |
+
#: app/Views/listing.php:61 app/Views/listing.php:66
|
575 |
+
msgid "Sync Menu"
|
576 |
+
msgstr "Menü synchronisieren"
|
577 |
+
|
578 |
+
#: app/Views/listing.php:85 app/Views/listing.php:88
|
579 |
+
msgid "Dismiss this notice."
|
580 |
+
msgstr "Hinweis deaktivieren."
|
581 |
+
|
582 |
+
#: app/Views/partials/bulk-edit.php:10
|
583 |
+
msgid "Bulk Edit"
|
584 |
+
msgstr "Massenbearbeitung"
|
585 |
+
|
586 |
+
#: app/Views/partials/bulk-edit.php:13
|
587 |
+
msgid "There are links selected. Bulk edit will not apply to links."
|
588 |
+
msgstr ""
|
589 |
+
"Es sind Links ausgewählt. Die Massenverarbeitung wird nicht auf Links "
|
590 |
+
"angewendet."
|
591 |
+
|
592 |
+
#: app/Views/partials/bulk-edit.php:25 app/Views/partials/bulk-edit.php:46
|
593 |
+
#: app/Views/partials/bulk-edit.php:60 app/Views/partials/bulk-edit.php:90
|
594 |
+
#: app/Views/partials/bulk-edit.php:100 app/Views/partials/bulk-edit.php:110
|
595 |
+
msgid "No Change"
|
596 |
+
msgstr "Keine Änderung"
|
597 |
+
|
598 |
+
#: app/Views/partials/bulk-edit.php:69
|
599 |
+
#, php-format
|
600 |
+
msgid "Parent %s"
|
601 |
+
msgstr "Eltern-Element %s"
|
602 |
+
|
603 |
+
#: app/Views/partials/bulk-edit.php:72
|
604 |
+
msgid "— No Change —"
|
605 |
+
msgstr ""
|
606 |
+
|
607 |
+
#: app/Views/partials/bulk-edit.php:88
|
608 |
+
msgid "Comments"
|
609 |
+
msgstr "Kommentare"
|
610 |
+
|
611 |
+
#: app/Views/partials/bulk-edit.php:91
|
612 |
+
msgid "Allow"
|
613 |
+
msgstr "Erlauben"
|
614 |
+
|
615 |
+
#: app/Views/partials/bulk-edit.php:92
|
616 |
+
msgid "Do not allow"
|
617 |
+
msgstr "Verbieten"
|
618 |
+
|
619 |
+
#: app/Views/partials/bulk-edit.php:98
|
620 |
+
msgid "Display in Nested View"
|
621 |
+
msgstr "In verschalteter Ansicht anzeigen"
|
622 |
+
|
623 |
+
#: app/Views/partials/bulk-edit.php:101 app/Views/partials/bulk-edit.php:111
|
624 |
+
#: app/Views/settings/partials/nav-menu-settings/header.php:27
|
625 |
+
msgid "Hide"
|
626 |
+
msgstr "ausblenden"
|
627 |
+
|
628 |
+
#: app/Views/partials/bulk-edit.php:102 app/Views/partials/bulk-edit.php:112
|
629 |
+
msgid "Show"
|
630 |
+
msgstr "Anzeigen"
|
631 |
+
|
632 |
+
#: app/Views/partials/list-header.php:13
|
633 |
+
msgid "Move to Trash"
|
634 |
+
msgstr "In den Papierkorb"
|
635 |
+
|
636 |
+
#: app/Views/partials/list-header.php:17 app/Views/partials/tool-list.php:150
|
637 |
+
msgid "Apply"
|
638 |
+
msgstr "Übernehmen"
|
639 |
+
|
640 |
+
#: app/Views/partials/list-header.php:19
|
641 |
+
msgid "Nested Items Selected"
|
642 |
+
msgstr "Verschachtelte Elemente ausgewählt"
|
643 |
+
|
644 |
+
#: app/Views/partials/row.php:33
|
645 |
+
msgid "Front Page"
|
646 |
+
msgstr "Startseite"
|
647 |
+
|
648 |
+
#: app/Views/partials/row.php:34
|
649 |
+
msgid "Posts Page"
|
650 |
+
msgstr "Beitragsseite"
|
651 |
+
|
652 |
+
#: app/Views/partials/row.php:64
|
653 |
+
#, php-format
|
654 |
+
msgid "%s currently editing"
|
655 |
+
msgstr "%s in Bearbeitung"
|
656 |
+
|
657 |
+
#: app/Views/partials/row.php:77
|
658 |
+
msgid "Sticky"
|
659 |
+
msgstr "Anheften"
|
660 |
+
|
661 |
+
#: app/Views/partials/row.php:120
|
662 |
+
#, php-format
|
663 |
+
msgid "Translations (%s)"
|
664 |
+
msgstr "Übersetzungen (%s)"
|
665 |
+
|
666 |
+
#: app/Views/partials/row.php:131
|
667 |
+
msgid "%i Comments"
|
668 |
+
msgstr "%i Kommentare"
|
669 |
+
|
670 |
+
#: app/Views/partials/row.php:152
|
671 |
+
#, php-format
|
672 |
+
msgid "Add Child %s"
|
673 |
+
msgstr "Kindelement hinzufügen %s"
|
674 |
+
|
675 |
+
#: app/Views/partials/row.php:164
|
676 |
+
#, php-format
|
677 |
+
msgid "Insert %s Before"
|
678 |
+
msgstr "%s einfügen Vor"
|
679 |
+
|
680 |
+
#: app/Views/partials/row.php:172
|
681 |
+
#, php-format
|
682 |
+
msgid "Insert %s After"
|
683 |
+
msgstr "%s danach einfügen"
|
684 |
+
|
685 |
+
#: app/Views/partials/row.php:187
|
686 |
+
msgid "Push to Top"
|
687 |
+
msgstr "Nach oben verschieben"
|
688 |
+
|
689 |
+
#: app/Views/partials/row.php:198
|
690 |
+
msgid "Push to Bottom"
|
691 |
+
msgstr "Nach unten verschieben"
|
692 |
+
|
693 |
+
#: app/Views/partials/tool-list.php:14
|
694 |
+
msgid "All"
|
695 |
+
msgstr "Alle"
|
696 |
+
|
697 |
+
#: app/Views/partials/tool-list.php:37
|
698 |
+
msgid "Trash"
|
699 |
+
msgstr "Papierkorb"
|
700 |
+
|
701 |
+
#: app/Views/partials/tool-list.php:38
|
702 |
+
#, php-format
|
703 |
+
msgid "Empty (%s)"
|
704 |
+
msgstr "Leeren (%s)"
|
705 |
+
|
706 |
+
#: app/Views/partials/tool-list.php:65
|
707 |
+
msgid "All Authors"
|
708 |
+
msgstr "Alle Autoren"
|
709 |
+
|
710 |
+
#: app/Views/partials/tool-list.php:86
|
711 |
+
msgid "Menu Order"
|
712 |
+
msgstr "Menüreihenfolge"
|
713 |
+
|
714 |
+
#: app/Views/partials/tool-list.php:90
|
715 |
+
#: app/Views/settings/settings-posttypes.php:262
|
716 |
+
msgid "Order By"
|
717 |
+
msgstr "Sortieren nach"
|
718 |
+
|
719 |
+
#: app/Views/partials/tool-list.php:111
|
720 |
+
#: app/Views/settings/settings-posttypes.php:292
|
721 |
+
msgid "Ascending"
|
722 |
+
msgstr "Aufsteigend"
|
723 |
+
|
724 |
+
#: app/Views/partials/tool-list.php:112
|
725 |
+
#: app/Views/settings/settings-posttypes.php:293
|
726 |
+
msgid "Descending"
|
727 |
+
msgstr "Absteigend"
|
728 |
+
|
729 |
+
#: app/Views/partials/tool-list.php:164
|
730 |
+
msgid "All "
|
731 |
+
msgstr "Alle Seiten"
|
732 |
+
|
733 |
+
#: app/Views/partials/wpml-translations.php:4
|
734 |
+
msgid "Translations for "
|
735 |
+
msgstr "Übersetzungen für"
|
736 |
+
|
737 |
+
#: app/Views/partials/wpml-translations.php:13
|
738 |
+
msgid "Close"
|
739 |
+
msgstr "Schließen"
|
740 |
+
|
741 |
+
#: app/Views/settings/partials/nav-menu-settings.php:42
|
742 |
+
msgid "Separator (WooCommerce)"
|
743 |
+
msgstr "Trenner (WooCommerce)"
|
744 |
+
|
745 |
+
#: app/Views/settings/partials/nav-menu-settings.php:47
|
746 |
+
msgid "Details"
|
747 |
+
msgstr "Details"
|
748 |
+
|
749 |
+
#: app/Views/settings/partials/nav-menu-settings.php:65
|
750 |
+
msgid "Icon CSS Class"
|
751 |
+
msgstr "Symbol für CSS Klasse"
|
752 |
+
|
753 |
+
#: app/Views/settings/partials/nav-menu-settings.php:65
|
754 |
+
msgid "Reference"
|
755 |
+
msgstr "Referenz"
|
756 |
+
|
757 |
+
#: app/Views/settings/partials/nav-menu-settings/header.php:19
|
758 |
+
msgid "New"
|
759 |
+
msgstr "Neu"
|
760 |
+
|
761 |
+
#: app/Views/settings/settings-admincustom.php:4
|
762 |
+
msgid "Select Items to Customize"
|
763 |
+
msgstr "Elemente zum Anpassen auswählen"
|
764 |
+
|
765 |
+
#: app/Views/settings/settings-admincustom.php:13
|
766 |
+
msgid "Admin Menu"
|
767 |
+
msgstr "Admin Menü"
|
768 |
+
|
769 |
+
#: app/Views/settings/settings-admincustom.php:21
|
770 |
+
msgid "Menu Items"
|
771 |
+
msgstr "Menü Element"
|
772 |
+
|
773 |
+
#: app/Views/settings/settings-admincustom.php:21
|
774 |
+
msgid ""
|
775 |
+
"Reorder, hide and rename admin menu items by user role. These changes do not "
|
776 |
+
"effect actual permissions, only menu appearance."
|
777 |
+
msgstr ""
|
778 |
+
"Ordnen Sie die Admin-Menüpunkte neu an, verbergen und benennen Sie sie nach "
|
779 |
+
"Benutzerrollen um. Diese Änderungen wirken sich nicht auf die tatsächlichen "
|
780 |
+
"Berechtigungen aus, sondern nur auf das Aussehen des Menüs."
|
781 |
+
|
782 |
+
#: app/Views/settings/settings-admincustom.php:22
|
783 |
+
msgid "Important: Plugin Menu Items "
|
784 |
+
msgstr "Wichtig: Punkte-Menü-Plugin"
|
785 |
+
|
786 |
+
#: app/Views/settings/settings-admincustom.php:22
|
787 |
+
msgid ""
|
788 |
+
"Some plugins may add menu items on activation. These new menu items will not "
|
789 |
+
"display until the Nested Pages Admin Menu has been configured with these "
|
790 |
+
"items."
|
791 |
+
msgstr ""
|
792 |
+
"Einige Plugins fügen bei der Aktivierung möglicherweise Menüpunkte hinzu. "
|
793 |
+
"Diese neuen Menüpunkte werden erst angezeigt, wenn das Admin-Menü für "
|
794 |
+
"verschachtelte Seiten mit diesen Elementen konfiguriert wurde."
|
795 |
+
|
796 |
+
#: app/Views/settings/settings-admincustom.php:24
|
797 |
+
msgid "Reset Admin Menu Settings"
|
798 |
+
msgstr "Admin-Menü-Einstellungen zurücksetzen"
|
799 |
+
|
800 |
+
#: app/Views/settings/settings-general.php:4
|
801 |
+
msgid "Currently Enabled"
|
802 |
+
msgstr "Gerade aktiv"
|
803 |
+
|
804 |
+
#: app/Views/settings/settings-general.php:4
|
805 |
+
msgid "Currently Disabled"
|
806 |
+
msgstr "Gerade inaktiv"
|
807 |
+
|
808 |
+
#: app/Views/settings/settings-general.php:9
|
809 |
+
msgid "Nested Pages Version"
|
810 |
+
msgstr "Nested Pages Version"
|
811 |
+
|
812 |
+
#: app/Views/settings/settings-general.php:14
|
813 |
+
msgid "Menu Name"
|
814 |
+
msgstr "Menüname"
|
815 |
+
|
816 |
+
#: app/Views/settings/settings-general.php:17
|
817 |
+
msgid ""
|
818 |
+
"Important: Once the menu name has changed, theme files should be updated to "
|
819 |
+
"reference the new name."
|
820 |
+
msgstr ""
|
821 |
+
"Wichtig: Wird der Menüname verändert, sollten auch die Theme-Dateien "
|
822 |
+
"bearbeitet und die Menü-Referenz angepasst werden."
|
823 |
+
|
824 |
+
#: app/Views/settings/settings-general.php:22
|
825 |
+
msgid "Display Options"
|
826 |
+
msgstr "Anzeigeoptionen"
|
827 |
+
|
828 |
+
#: app/Views/settings/settings-general.php:27
|
829 |
+
msgid "Enable Date Picker in Quick Edit"
|
830 |
+
msgstr "Datumswähler in QuickEdit aktivieren"
|
831 |
+
|
832 |
+
#: app/Views/settings/settings-general.php:33
|
833 |
+
msgid "Use the classic (non-indented) hierarchy display."
|
834 |
+
msgstr ""
|
835 |
+
"Verwenden Sie die klassische (nicht eingerückte) Hierarchiedarstellung."
|
836 |
+
|
837 |
+
#: app/Views/settings/settings-general.php:39
|
838 |
+
msgid "Menu Sync"
|
839 |
+
msgstr "Menü-Synchronisierung"
|
840 |
+
|
841 |
+
#: app/Views/settings/settings-general.php:45
|
842 |
+
#, php-format
|
843 |
+
msgid "Hide Menu Sync Checkbox (%s)"
|
844 |
+
msgstr "Checkbox Menüsynchronisation ausblenden (%s)"
|
845 |
+
|
846 |
+
#: app/Views/settings/settings-general.php:52
|
847 |
+
msgid "Manually sync menu."
|
848 |
+
msgstr "Manuelle Synchronisierung des Menüs."
|
849 |
+
|
850 |
+
#: app/Views/settings/settings-general.php:58
|
851 |
+
msgid "Manually sync page order."
|
852 |
+
msgstr "Manuelle Synchronisierung der Seitenreihenfolge."
|
853 |
+
|
854 |
+
#: app/Views/settings/settings-general.php:64
|
855 |
+
msgid "Disable menu sync completely"
|
856 |
+
msgstr "Deaktiviere Menü-Synchronisation"
|
857 |
+
|
858 |
+
#: app/Views/settings/settings-general.php:70
|
859 |
+
msgid "Allow Page Sorting"
|
860 |
+
msgstr "Seitensortierung erlauben"
|
861 |
+
|
862 |
+
#: app/Views/settings/settings-general.php:80
|
863 |
+
msgid "Admins always have sorting ability."
|
864 |
+
msgstr "Admins dürfen Seiten immer sortieren."
|
865 |
+
|
866 |
+
#: app/Views/settings/settings-general.php:84
|
867 |
+
msgid "Reset Plugin Settings"
|
868 |
+
msgstr "Plugin-Einstellungen zurücksetzen"
|
869 |
+
|
870 |
+
#: app/Views/settings/settings-general.php:88
|
871 |
+
msgid ""
|
872 |
+
"Warning: Resetting plugin settings will remove all menu settings, post type "
|
873 |
+
"customizations, role customizations and any other Nested Pages settings. "
|
874 |
+
"These will be replaced with the default settings. This action cannot be "
|
875 |
+
"undone."
|
876 |
+
msgstr ""
|
877 |
+
"Warnung: Das Zurücksetzen der Plugin-Einstellungen entfernt alle Menü-, "
|
878 |
+
"Posttyp-, Rollenanpassungen und alle andere Einstellungen für verschachtelte "
|
879 |
+
"Seiten. Diese werden durch die Standardeinstellungen ersetzt. Diese Aktion "
|
880 |
+
"kann nicht rückgängig gemacht werden."
|
881 |
+
|
882 |
+
#: app/Views/settings/settings-general.php:91
|
883 |
+
msgid "Reset Nested Pages Settings"
|
884 |
+
msgstr "Einstellungen für verschachtelte Seiten zurücksetzen"
|
885 |
+
|
886 |
+
#: app/Views/settings/settings-general.php:95
|
887 |
+
msgid "Settings have been successfully reset."
|
888 |
+
msgstr "Die Einstellungen wurden erfolgreich zurückgesetzt."
|
889 |
+
|
890 |
+
#: app/Views/settings/settings-general.php:100
|
891 |
+
#: app/Views/settings/settings-general.php:107
|
892 |
+
msgid "Reset User Preferences"
|
893 |
+
msgstr "Plugin-Einstellungen zurücksetzen"
|
894 |
+
|
895 |
+
#: app/Views/settings/settings-general.php:104
|
896 |
+
msgid ""
|
897 |
+
"Toggle states are saved for each user. This action will clear these "
|
898 |
+
"preferences for all users. If PHP errors appear within the nested view after "
|
899 |
+
"an update, this may help clear them."
|
900 |
+
msgstr ""
|
901 |
+
"Die Umschaltzustände werden für jeden Benutzer gespeichert. Durch diese "
|
902 |
+
"Aktion werden diese Einstellungen für alle Benutzer gelöscht. Wenn PHP-"
|
903 |
+
"Fehler nach einer Aktualisierung in der verschachtelten Ansicht erscheinen, "
|
904 |
+
"kann dies helfen, diese zu löschen."
|
905 |
+
|
906 |
+
#: app/Views/settings/settings-general.php:111
|
907 |
+
msgid "User preferences have been successfully reset."
|
908 |
+
msgstr "Die Benutzereinstellungen wurden erfolgreich zurückgesetzt."
|
909 |
+
|
910 |
+
#: app/Views/settings/settings-posttypes.php:7
|
911 |
+
msgid "Enable Post Types:"
|
912 |
+
msgstr "Beitragsarten aktivieren:"
|
913 |
+
|
914 |
+
#: app/Views/settings/settings-posttypes.php:19
|
915 |
+
#, php-format
|
916 |
+
msgid "%s <em>(Hierarchical)</em>"
|
917 |
+
msgstr "%s <em>(Hierarchisch)</em>"
|
918 |
+
|
919 |
+
#: app/Views/settings/settings-posttypes.php:30
|
920 |
+
msgid "Replace Default Menu"
|
921 |
+
msgstr "Standardmenü ersetzen"
|
922 |
+
|
923 |
+
#: app/Views/settings/settings-posttypes.php:31
|
924 |
+
msgid "Replace the default top-level item with the nested view link."
|
925 |
+
msgstr ""
|
926 |
+
"Ersetzen Sie das standardmäßige Element der obersten Ebene durch den Link "
|
927 |
+
"zur verschachtelten Ansicht."
|
928 |
+
|
929 |
+
#: app/Views/settings/settings-posttypes.php:34
|
930 |
+
#, php-format
|
931 |
+
msgid "Replace Default %s Menu"
|
932 |
+
msgstr "%s Standard Menü ersetzen"
|
933 |
+
|
934 |
+
#: app/Views/settings/settings-posttypes.php:41
|
935 |
+
msgid "Remove Default Link"
|
936 |
+
msgstr "Standard Link entfernen"
|
937 |
+
|
938 |
+
#: app/Views/settings/settings-posttypes.php:42
|
939 |
+
msgid ""
|
940 |
+
"If the default menu is replaced, a link to the default view will be added. "
|
941 |
+
"Select this to remove the link"
|
942 |
+
msgstr ""
|
943 |
+
"Wenn das Standardmenü ersetzt wird, wird ein Link zur Standardansicht "
|
944 |
+
"hinzugefügt. Wählen Sie dies, um den Link zu entfernen."
|
945 |
+
|
946 |
+
#: app/Views/settings/settings-posttypes.php:45
|
947 |
+
#, php-format
|
948 |
+
msgid "Hide Default %s Link"
|
949 |
+
msgstr "Standard %s Link ausblenden"
|
950 |
+
|
951 |
+
#: app/Views/settings/settings-posttypes.php:52
|
952 |
+
#: app/Views/settings/settings-posttypes.php:56
|
953 |
+
msgid "Disable Sorting"
|
954 |
+
msgstr "Sortierung deaktivieren"
|
955 |
+
|
956 |
+
#: app/Views/settings/settings-posttypes.php:53
|
957 |
+
msgid "Remove drag and drop sorting from this post type."
|
958 |
+
msgstr "Entfernen Sie die Drag&Drop-Sortierung von diesem Beitragstyp."
|
959 |
+
|
960 |
+
#: app/Views/settings/settings-posttypes.php:64
|
961 |
+
msgid "Disable Nesting"
|
962 |
+
msgstr "Verschachtelung deaktivieren"
|
963 |
+
|
964 |
+
#: app/Views/settings/settings-posttypes.php:65
|
965 |
+
msgid "To disable nesting on hierarchical post types, select this option."
|
966 |
+
msgstr ""
|
967 |
+
"Um die Verschachtelung auf hierarchischen Postentypen zu deaktivieren, "
|
968 |
+
"wählen Sie diese Option."
|
969 |
+
|
970 |
+
#: app/Views/settings/settings-posttypes.php:68
|
971 |
+
#, php-format
|
972 |
+
msgid "Disable Nesting for %s"
|
973 |
+
msgstr "Verschachtelung für %s deaktivieren"
|
974 |
+
|
975 |
+
#: app/Views/settings/settings-posttypes.php:76
|
976 |
+
msgid "Assign Page for Listing"
|
977 |
+
msgstr "Seite für Auflistung zuweisen"
|
978 |
+
|
979 |
+
#: app/Views/settings/settings-posttypes.php:77
|
980 |
+
msgid ""
|
981 |
+
"Adds contextual links and post counts to the page row for the assigned post "
|
982 |
+
"type."
|
983 |
+
msgstr ""
|
984 |
+
"Fügt der Seite mit zugeordnetem Beitragstyp kontextbezogene Links und die "
|
985 |
+
"Anzahl der Beiträge hinzu."
|
986 |
+
|
987 |
+
#: app/Views/settings/settings-posttypes.php:80
|
988 |
+
msgid "Assign Page"
|
989 |
+
msgstr "Seite zuweisen"
|
990 |
+
|
991 |
+
#: app/Views/settings/settings-posttypes.php:87
|
992 |
+
#, php-format
|
993 |
+
msgid "Currently assigned to: %s"
|
994 |
+
msgstr "Momentan zugewiesen: %s"
|
995 |
+
|
996 |
+
#: app/Views/settings/settings-posttypes.php:95
|
997 |
+
msgid "Search Pages"
|
998 |
+
msgstr "Seiten durchsuchen"
|
999 |
+
|
1000 |
+
#: app/Views/settings/settings-posttypes.php:96
|
1001 |
+
msgid "No pages were found."
|
1002 |
+
msgstr "Keine Seiten gefunden."
|
1003 |
+
|
1004 |
+
#: app/Views/settings/settings-posttypes.php:109
|
1005 |
+
msgid "There are currently no pages available."
|
1006 |
+
msgstr "Es sind derzeit keine Seiten verfügbar."
|
1007 |
+
|
1008 |
+
#: app/Views/settings/settings-posttypes.php:125
|
1009 |
+
msgid "Display Thumbnails"
|
1010 |
+
msgstr "Miniaturansichten anzeigen"
|
1011 |
+
|
1012 |
+
#: app/Views/settings/settings-posttypes.php:126
|
1013 |
+
msgid "Display the thumbnail in the list sort view."
|
1014 |
+
msgstr "Zeigen Sie die Miniaturansicht in der Listensortierungsansicht an."
|
1015 |
+
|
1016 |
+
#: app/Views/settings/settings-posttypes.php:127
|
1017 |
+
msgid ""
|
1018 |
+
"Note: Thumbnail width is displayed at a maximum of 80px in the nested pages "
|
1019 |
+
"view. The image is scaled proportionally."
|
1020 |
+
msgstr ""
|
1021 |
+
"Hinweis: Die Breite der Miniaturansicht wird in der Ansicht der "
|
1022 |
+
"verschachtelten Seiten mit maximal 80px angezeigt. Das Bild wird "
|
1023 |
+
"proportional skaliert."
|
1024 |
+
|
1025 |
+
#: app/Views/settings/settings-posttypes.php:130
|
1026 |
+
#, php-format
|
1027 |
+
msgid "Display Thumbnails for %s"
|
1028 |
+
msgstr "Miniaturansichten anzeigen für %s"
|
1029 |
+
|
1030 |
+
#: app/Views/settings/settings-posttypes.php:133
|
1031 |
+
msgid "Thumbnail Source"
|
1032 |
+
msgstr "Quelle der Miniaturansicht"
|
1033 |
+
|
1034 |
+
#: app/Views/settings/settings-posttypes.php:144
|
1035 |
+
msgid "Thumbnail Display Size"
|
1036 |
+
msgstr "Größe der Miniaturansicht"
|
1037 |
+
|
1038 |
+
#: app/Views/settings/settings-posttypes.php:146
|
1039 |
+
msgid "Small"
|
1040 |
+
msgstr "Klein"
|
1041 |
+
|
1042 |
+
#: app/Views/settings/settings-posttypes.php:147
|
1043 |
+
msgid "Medium"
|
1044 |
+
msgstr "Mittel"
|
1045 |
+
|
1046 |
+
#: app/Views/settings/settings-posttypes.php:148
|
1047 |
+
msgid "Large"
|
1048 |
+
msgstr "Groß"
|
1049 |
+
|
1050 |
+
#: app/Views/settings/settings-posttypes.php:157
|
1051 |
+
#: app/Views/settings/settings-posttypes.php:161
|
1052 |
+
msgid "Configure Standard Fields"
|
1053 |
+
msgstr "Konfigurieren Sie Standard Felder"
|
1054 |
+
|
1055 |
+
#: app/Views/settings/settings-posttypes.php:158
|
1056 |
+
msgid "Remove standard fields from the quick edit form."
|
1057 |
+
msgstr "Entfernen Sie Standardfelder aus dem Schnellbearbeitungsformular."
|
1058 |
+
|
1059 |
+
#: app/Views/settings/settings-posttypes.php:164
|
1060 |
+
msgid "Check to remove from Quick Edit."
|
1061 |
+
msgstr ""
|
1062 |
+
"Aktivieren Sie das Kontrollkästchen um die Schnellbearbeitung zu "
|
1063 |
+
"deaktivieren."
|
1064 |
+
|
1065 |
+
#: app/Views/settings/settings-posttypes.php:206
|
1066 |
+
#: app/Views/settings/settings-posttypes.php:210
|
1067 |
+
msgid "Configure Custom Fields"
|
1068 |
+
msgstr "Konfigurieren Sie benutzerdefinierte Felder"
|
1069 |
+
|
1070 |
+
#: app/Views/settings/settings-posttypes.php:207
|
1071 |
+
msgid "Set which custom fields display in the quick edit form."
|
1072 |
+
msgstr ""
|
1073 |
+
"Legen Sie fest, welche benutzerdefinierten Felder im "
|
1074 |
+
"Schnellbearbeitungsformular angezeigt werden."
|
1075 |
+
|
1076 |
+
#: app/Views/settings/settings-posttypes.php:213
|
1077 |
+
msgid "Check to Include in Quick Edit."
|
1078 |
+
msgstr ""
|
1079 |
+
"Aktivieren Sie das Kontrollkästchen zur Aufnahme in die Schnellbearbeitung."
|
1080 |
+
|
1081 |
+
#: app/Views/settings/settings-posttypes.php:219
|
1082 |
+
msgid "Advanced Custom Fields"
|
1083 |
+
msgstr "Advanced Custom Fields"
|
1084 |
+
|
1085 |
+
#: app/Views/settings/settings-posttypes.php:234
|
1086 |
+
msgid "No ACF Fields configured for this post type"
|
1087 |
+
msgstr "Keine ACF-Felder für diesen Beitragstyp konfiguriert"
|
1088 |
+
|
1089 |
+
#: app/Views/settings/settings-posttypes.php:250
|
1090 |
+
msgid "Sort Options"
|
1091 |
+
msgstr "Sortier-Optionen"
|
1092 |
+
|
1093 |
+
#: app/Views/settings/settings-posttypes.php:251
|
1094 |
+
msgid "Add and remove sort options."
|
1095 |
+
msgstr "Sortieroptionen hinzufügen und entfernen."
|
1096 |
+
|
1097 |
+
#: app/Views/settings/settings-posttypes.php:265
|
1098 |
+
msgid "Initial Order By:"
|
1099 |
+
msgstr "Erstbestellung durch:"
|
1100 |
+
|
1101 |
+
#: app/Views/settings/settings-posttypes.php:272
|
1102 |
+
msgid "Default (Menu Order)"
|
1103 |
+
msgstr "Standard (Menüsortierung)"
|
1104 |
+
|
1105 |
+
#: app/Views/settings/settings-posttypes.php:285
|
1106 |
+
msgid "Order"
|
1107 |
+
msgstr "Reihenfolge"
|
1108 |
+
|
1109 |
+
#: app/Views/settings/settings-posttypes.php:288
|
1110 |
+
msgid "Initial Order:"
|
1111 |
+
msgstr "Erstansicht:"
|
1112 |
+
|
1113 |
+
#: app/Views/settings/settings-posttypes.php:325
|
1114 |
+
msgid ""
|
1115 |
+
"If default menu is not replaced, an additional submenu item will be added "
|
1116 |
+
"for \"Nested/Sort View\""
|
1117 |
+
msgstr ""
|
1118 |
+
"Wenn das Standardmenü nicht ersetzt wird, wird dem Menü ein zusätzlicher "
|
1119 |
+
"Untermenüpunkt \"Verschachtelte Ansicht\" hinzugefügt."
|
1120 |
+
|
1121 |
+
#: app/Views/settings/settings-posttypes.php:328
|
1122 |
+
msgid ""
|
1123 |
+
"<strong>Important:</strong> Changing page structures on live sites may "
|
1124 |
+
"effect SEO and existing inbound links. Limit URL structure changes on live "
|
1125 |
+
"sites by disabling nesting. Sorting within the current nesting structure "
|
1126 |
+
"will still be available. If nesting changes are made to a live site, it may "
|
1127 |
+
"help to add a 301 redirect from the old location to the new one."
|
1128 |
+
msgstr ""
|
1129 |
+
"<strong>Wichtig:</strong> Änderungen an der Seitenstruktur können "
|
1130 |
+
"Auswirkungen auf SEO und bestehende eingehende Links haben. Durch das "
|
1131 |
+
"Deaktivieren der Verschachtelungsfunktion können ungewollte URL-Änderungen "
|
1132 |
+
"verhindert werden. Die Sortierungsfunktion innerhalb der bestehenden "
|
1133 |
+
"Seitenstruktur bleibt dabei erhalten. Wenn Änderungen an der Seitenstruktur "
|
1134 |
+
"einer Live-Site vorgenommen werden, kann es hilfreich sein, 301-Umleitungen "
|
1135 |
+
"von den alten auf die neuen Adressen anzulegen."
|
1136 |
+
|
1137 |
+
#: app/Views/settings/settings.php:6
|
1138 |
+
msgid "General"
|
1139 |
+
msgstr "Allgemein"
|
1140 |
+
|
1141 |
+
#: app/Views/settings/settings.php:10
|
1142 |
+
msgid "Post Types"
|
1143 |
+
msgstr "Beitragsarten"
|
1144 |
+
|
1145 |
+
#: app/Views/settings/settings.php:14
|
1146 |
+
msgid "Admin Customization"
|
1147 |
+
msgstr "dmin-Anpassung"
|
1148 |
+
|
1149 |
+
#. Plugin URI of the plugin/theme
|
1150 |
+
msgid "http://nestedpages.com"
|
1151 |
+
msgstr "http://nestedpages.com"
|
1152 |
+
|
1153 |
+
#. Description of the plugin/theme
|
1154 |
+
msgid ""
|
1155 |
+
"Provides an intuitive drag and drop interface for managing pages in the "
|
1156 |
+
"Wordpress admin, while enhancing quick edit. Includes an auto-generated menu "
|
1157 |
+
"to match the nested interface, support for all post types and more."
|
1158 |
+
msgstr ""
|
1159 |
+
"Bietet eine intuitive Drag & Drop-Schnittstelle für die Verwaltung von "
|
1160 |
+
"Seiten in der Wordpress-Administration und verbessert gleichzeitig die "
|
1161 |
+
"schnelle Bearbeitung. Enthält ein automatisch generiertes Menü, das der "
|
1162 |
+
"verschachtelten Oberfläche entspricht, Unterstützung für alle Beitragsarten "
|
1163 |
+
"und mehr."
|
1164 |
+
|
1165 |
+
#. Author of the plugin/theme
|
1166 |
+
msgid "Kyle Phillips"
|
1167 |
+
msgstr "Kyle Phillips"
|
1168 |
+
|
1169 |
+
#. Author URI of the plugin/theme
|
1170 |
+
msgid "https://github.com/kylephillips"
|
1171 |
+
msgstr "https://github.com/kylephillips"
|
nestedpages.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Nested Pages
|
4 |
Plugin URI: http://nestedpages.com
|
5 |
Description: Provides an intuitive drag and drop interface for managing pages in the Wordpress admin, while enhancing quick edit. Includes an auto-generated menu to match the nested interface, support for all post types and more.
|
6 |
-
Version: 3.1.
|
7 |
Author: Kyle Phillips
|
8 |
Author URI: https://github.com/kylephillips
|
9 |
Text Domain: wp-nested-pages
|
3 |
Plugin Name: Nested Pages
|
4 |
Plugin URI: http://nestedpages.com
|
5 |
Description: Provides an intuitive drag and drop interface for managing pages in the Wordpress admin, while enhancing quick edit. Includes an auto-generated menu to match the nested interface, support for all post types and more.
|
6 |
+
Version: 3.1.10
|
7 |
Author: Kyle Phillips
|
8 |
Author URI: https://github.com/kylephillips
|
9 |
Text Domain: wp-nested-pages
|
readme.txt
CHANGED
@@ -105,6 +105,17 @@ No. The menu synchronization currently only works within the pages post type.
|
|
105 |
|
106 |
== Changelog ==
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
= 3.1.9 =
|
109 |
* Adds a custom sorting user capability for each public post type: nestedpages_sort_$type, enabling control of capabilities through 3rd party plugins.
|
110 |
* Adds filter for sorting capability: nestedpages_sort_capability. Filter passes 3 parameters: $grant_capability (boolean), $type (post type name), and $role (user role object)
|
105 |
|
106 |
== Changelog ==
|
107 |
|
108 |
+
= 3.1.10 =
|
109 |
+
* Updates German translations.
|
110 |
+
* Adds support for preview_post_link filter.
|
111 |
+
* Bug fixes in WPML integration (thanks to Timothee Moulin).
|
112 |
+
* Fixes issue where menu options where still available under the quick edit and bulk edit forms if the menu sync was disabled completely.
|
113 |
+
* Fixes issue where "Hide in Nested View" option was still available under the bulk edit form if the field was disabled through the plugin settings.
|
114 |
+
* Links full page editor admin back to nested view if the "replace menu" option is selected for the post type.
|
115 |
+
* Removes trash dropdown selection on posts with no children.
|
116 |
+
* Adds option to include private pages in the generated menu.
|
117 |
+
* Allows users with edit_pages/edit_posts capabilities to see "new" options for submitting non-published content (following core functionality).
|
118 |
+
|
119 |
= 3.1.9 =
|
120 |
* Adds a custom sorting user capability for each public post type: nestedpages_sort_$type, enabling control of capabilities through 3rd party plugins.
|
121 |
* Adds filter for sorting capability: nestedpages_sort_capability. Filter passes 3 parameters: $grant_capability (boolean), $type (post type name), and $role (user role object)
|