NextGEN Gallery – WordPress Gallery Plugin - Version 3.9.2

Version Description

  • 04.07.2021
  • Fixed: call_user_func() warning when rendering shortcodes in widgets (1168)
  • Fixed: do_shortcode and legacy shortcodes (1170)
  • Fixed: Incorrect use of wp_localize_script (1171)
  • Fixed: Tooltips are illegible (1172)
  • Fixed: PHP foreach warning (1173)
Download this release

Release Info

Developer photocrati
Plugin Icon 128x128 NextGEN Gallery – WordPress Gallery Plugin
Version 3.9.2
Comparing to
See all releases

Code changes from version 3.9.1 to 3.9.2

changelog.txt CHANGED
@@ -1,31 +1,38 @@
1
  NextGEN Gallery
2
  by Imagely
3
 
 
 
 
 
 
 
 
4
  = V3.9.1 - 03.29.2020 =
5
  * Fixed: C_Dynamic_Stylesheet_Controller error
6
  * Fixed: Galleries not displaying
7
 
8
- = V3.9.0 - 03.24.2020 =
9
  * Changed: Resource manager disabled by default
10
  * Changed: Remove ngg_load_frontend_logic filter
11
  * Fixed: Refactored to resolve over 300 plugin & theme conflicts
12
  * Fixed: Problem reported with taxonomy controller
13
 
14
- = V3.8.0 - 02.24.2020 =
15
  * NEW: NGG featured image support for custom post types (1076)
16
  * Fixed: Compatibility with Custom Post Type UI plugin (1076)
17
  * Fixed: Compatibility with Advanced Custom Fields plugin (1150)
18
  * Fixed: Compatibility with Photo Station plugin (855)
19
  * Fixed: Compatibility with Stackable (981)
20
 
21
- = V3.7.0 - 02.17.2020 =
22
  * Fixed: Added ellipsis to pagination to show pages skipped (1099) (1157)
23
  * Fixed: Deleted images could still appear in 'random' image galleries (1129)
24
  * Fixed: Galleries with only one page were causing pagination links to appear (1156)
25
  * Fixed: Inability to change gallerypath on multisite networks (1150)
26
  * Fixed: Overriding static resources (CSS & JS) through files in wp-content/ngg/ was not working (1144)
27
 
28
- = V3.6.0 - 02.10.2020 =
29
  * NEW: Added new 'Bulk actions' option to remove EXIF Orientation from existing images (1137)
30
  * NEW: Allow maximum_entity_limit display setting regardless of source (1146)
31
  * NEW: Provide hooks to customize Uppy settings (1139)
1
  NextGEN Gallery
2
  by Imagely
3
 
4
+ = V3.9.2 - 04.07.2021
5
+ * Fixed: call_user_func() warning when rendering shortcodes in widgets (1168)
6
+ * Fixed: do_shortcode and legacy shortcodes (1170)
7
+ * Fixed: Incorrect use of wp_localize_script (1171)
8
+ * Fixed: Tooltips are illegible (1172)
9
+ * Fixed: PHP foreach warning (1173)
10
+
11
  = V3.9.1 - 03.29.2020 =
12
  * Fixed: C_Dynamic_Stylesheet_Controller error
13
  * Fixed: Galleries not displaying
14
 
15
+ = V3.9.0 - 03.24.2021 =
16
  * Changed: Resource manager disabled by default
17
  * Changed: Remove ngg_load_frontend_logic filter
18
  * Fixed: Refactored to resolve over 300 plugin & theme conflicts
19
  * Fixed: Problem reported with taxonomy controller
20
 
21
+ = V3.8.0 - 02.24.2021 =
22
  * NEW: NGG featured image support for custom post types (1076)
23
  * Fixed: Compatibility with Custom Post Type UI plugin (1076)
24
  * Fixed: Compatibility with Advanced Custom Fields plugin (1150)
25
  * Fixed: Compatibility with Photo Station plugin (855)
26
  * Fixed: Compatibility with Stackable (981)
27
 
28
+ = V3.7.0 - 02.17.2021 =
29
  * Fixed: Added ellipsis to pagination to show pages skipped (1099) (1157)
30
  * Fixed: Deleted images could still appear in 'random' image galleries (1129)
31
  * Fixed: Galleries with only one page were causing pagination links to appear (1156)
32
  * Fixed: Inability to change gallerypath on multisite networks (1150)
33
  * Fixed: Overriding static resources (CSS & JS) through files in wp-content/ngg/ was not working (1144)
34
 
35
+ = V3.6.0 - 02.10.2021 =
36
  * NEW: Added new 'Bulk actions' option to remove EXIF Orientation from existing images (1137)
37
  * NEW: Allow maximum_entity_limit display setting regardless of source (1146)
38
  * NEW: Provide hooks to customize Uppy settings (1139)
nggallery.php CHANGED
@@ -4,7 +4,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
4
  /**
5
  * Plugin Name: NextGEN Gallery
6
  * Description: The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 30 million downloads.
7
- * Version: 3.9.1
8
  * Author: Imagely
9
  * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
10
  * Author URI: https://www.imagely.com
@@ -712,7 +712,7 @@ class C_NextGEN_Bootstrap
712
  define('NGG_PRODUCT_URL', path_join(str_replace("\\" , '/', NGG_PLUGIN_URL), 'products'));
713
  define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
714
  define('NGG_PLUGIN_STARTED_AT', microtime());
715
- define('NGG_PLUGIN_VERSION', '3.9.1');
716
 
717
  define(
718
  'NGG_SCRIPT_VERSION',
4
  /**
5
  * Plugin Name: NextGEN Gallery
6
  * Description: The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 30 million downloads.
7
+ * Version: 3.9.2
8
  * Author: Imagely
9
  * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
10
  * Author URI: https://www.imagely.com
712
  define('NGG_PRODUCT_URL', path_join(str_replace("\\" , '/', NGG_PLUGIN_URL), 'products'));
713
  define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
714
  define('NGG_PLUGIN_STARTED_AT', microtime());
715
+ define('NGG_PLUGIN_VERSION', '3.9.2');
716
 
717
  define(
718
  'NGG_SCRIPT_VERSION',
non_pope/class.nextgen_shortcode_manager.php CHANGED
@@ -214,23 +214,13 @@ class C_NextGen_Shortcode_Manager
214
 
215
  function execute_found_shortcode($found_id)
216
  {
217
- $details = $this->_found[$found_id];
218
- if (isset($this->_shortcodes[$details['shortcode']]))
219
- {
220
- $shortcode = $this->_shortcodes[$details['shortcode']];
221
-
222
- if (is_callable($shortcode['transformer']))
223
- $details['params'] = call_user_func($shortcode['transformer'], $details['params']);
224
-
225
- $method = (is_null($shortcode['callback']) && is_callable($shortcode['transformer'])) ? [$this, 'render_legacy_shortcode'] : $shortcode['callback'];
226
-
227
- $retval = call_user_func($method, $details['params'], $details['inner_content']);
228
- }
229
- else {
230
- $retval = "Invalid shortcode";
231
- }
232
-
233
- return $retval;
234
  }
235
 
236
  /**
@@ -283,14 +273,33 @@ class C_NextGen_Shortcode_Manager
283
  }
284
  else {
285
  // For widgets, don't use placeholders
286
- $callback = $this->_shortcodes[$shortcode]['callback'];
287
- $retval = call_user_func($callback, $params, $inner_content);
288
  }
289
 
290
  return $retval;
291
 
292
  }
293
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
294
  function replace_with_placeholder($shortcode, $params=array(), $inner_content='')
295
  {
296
  $id = count($this->_found);
214
 
215
  function execute_found_shortcode($found_id)
216
  {
217
+ return isset($this->_found[$found_id])
218
+ ? $this->render_shortcode(
219
+ $this->_found[$found_id]['shortcode'],
220
+ $this->_found[$found_id]['params'],
221
+ $this->_found[$found_id]['inner_content']
222
+ )
223
+ : "Invalid shortcode";
 
 
 
 
 
 
 
 
 
 
224
  }
225
 
226
  /**
273
  }
274
  else {
275
  // For widgets, don't use placeholders
276
+ return $this->render_shortcode($shortcode, $params, $inner_content);
 
277
  }
278
 
279
  return $retval;
280
 
281
  }
282
 
283
+ function render_shortcode($shortcode, $params=[], $inner_content='')
284
+ {
285
+ if (isset($this->_shortcodes[$shortcode]))
286
+ {
287
+ $shortcode = $this->_shortcodes[$shortcode];
288
+
289
+ if (is_callable($shortcode['transformer']))
290
+ $params = call_user_func($shortcode['transformer'], $params);
291
+
292
+ $method = (is_null($shortcode['callback']) && is_callable($shortcode['transformer'])) ? [$this, 'render_legacy_shortcode'] : $shortcode['callback'];
293
+
294
+ $retval = call_user_func($method, $params, $inner_content);
295
+ }
296
+ else {
297
+ $retval = "Invalid shortcode";
298
+ }
299
+
300
+ return $retval;
301
+ }
302
+
303
  function replace_with_placeholder($shortcode, $params=array(), $inner_content='')
304
  {
305
  $id = count($this->_found);
products/photocrati_nextgen/modules/ajax/module.ajax.php CHANGED
@@ -90,6 +90,18 @@ class M_Ajax extends C_Base_Module
90
  wp_localize_script('photocrati_ajax', 'photocrati_ajax', $vars);
91
  }
92
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  function get_type_list()
94
  {
95
  return array(
90
  wp_localize_script('photocrati_ajax', 'photocrati_ajax', $vars);
91
  }
92
 
93
+ /**
94
+ * Pass PHP object or array to JS, preserving numeric and boolean value
95
+ * @param string $handle
96
+ * @param string $name
97
+ * @param object|array $data
98
+ */
99
+ static function pass_data_to_js($handle, $var_name, $data)
100
+ {
101
+ $var_name = esc_js($var_name);
102
+ return wp_add_inline_script($handle, "let {$var_name} = ".json_encode($data, JSON_NUMERIC_CHECK));
103
+ }
104
+
105
  function get_type_list()
106
  {
107
  return array(
products/photocrati_nextgen/modules/attach_to_post/module.attach_to_post.php CHANGED
@@ -421,11 +421,10 @@ class M_Attach_To_Post extends C_Base_Module
421
  add_editor_style($router->get_static_url('photocrati-attach_to_post#ngg_attach_to_post_tinymce_plugin.css'));
422
  wp_enqueue_script('photocrati_ajax');
423
 
424
- wp_localize_script(
425
- 'media-editor',
426
- 'nextgen_gallery_attach_to_post_url',
427
- C_NextGen_Settings::get_instance()->attach_to_post_url
428
- );
429
 
430
  wp_localize_script(
431
  'photocrati_ajax',
421
  add_editor_style($router->get_static_url('photocrati-attach_to_post#ngg_attach_to_post_tinymce_plugin.css'));
422
  wp_enqueue_script('photocrati_ajax');
423
 
424
+
425
+ wp_localize_script('media-editor', 'igw', [
426
+ 'url' => C_NextGen_Settings::get_instance()->attach_to_post_url
427
+ ]);
 
428
 
429
  wp_localize_script(
430
  'photocrati_ajax',
products/photocrati_nextgen/modules/attach_to_post/static/ngg_attach_to_post_tinymce_plugin.js CHANGED
@@ -1,273 +1,307 @@
1
  // Self-executing function to create and register the TinyMCE plugin
2
- (function(siteurl, $) {
3
- window.id = 'wordpress-post-page';
4
-
5
- tinyMCE.addI18n('en.ngg_attach_to_post', {
6
- title: 'Attach NextGEN Gallery to Post'
7
- });
8
-
9
- // Create the plugin. We'll register it afterwards
10
- tinymce.create('tinymce.plugins.NextGEN_AttachToPost', {
11
-
12
- /**
13
- * The WordPress Site URL
14
- */
15
- siteurl: siteurl,
16
-
17
- /**
18
- * Returns metadata about this plugin
19
- */
20
- getInfo: function() {
21
- return {
22
- longname: 'NextGEN Gallery',
23
- author: 'Imagely',
24
- authorurl: 'https://www.imagely.com',
25
- infourl: 'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/',
26
- version: '0.1'
27
- };
28
- },
29
-
30
- /**
31
- * Initializes the plugin, this will be executed after the plugin has been created.
32
- */
33
- init: function(editor, plugin_url) {
34
- var self = this;
35
-
36
- // TinyMCE 4s events are a bit weird, but this lets us listen to the window-manager close event
37
- editor.windowManager.nggOldOpen = editor.windowManager.open;
38
- editor.windowManager.open = function(one, two) {
39
- var modal = editor.windowManager.nggOldOpen(one, two);
40
- modal.on('close', self.wm_close_event);
41
- return modal;
42
- };
43
-
44
- // Register a new TinyMCE command
45
- editor.addCommand('ngg_attach_to_post', this.render_attach_to_post_interface, {
46
- editor: editor,
47
- plugin: editor.plugins.NextGEN_AttachToPost
48
- });
49
-
50
- // Add a button to trigger the above command
51
- editor.addButton('NextGEN_AttachToPost', {
52
- title: 'ngg_attach_to_post.title',
53
- cmd: 'ngg_attach_to_post',
54
- image: plugin_url+'/igw_button.png'
55
- });
56
-
57
- editor.on('SaveContent', function(event) {
58
- if ($('body').hasClass('block-editor-page')) {
59
- handle_shortcode(event, '[ngg_images ');
60
- handle_shortcode(event, '[ngg ');
61
- }
62
- });
63
-
64
- /**
65
- * Listen for click events to our placeholder
66
- */
67
- editor.on('mouseup touchend', function(e) {
68
-
69
- tinymce.extend(self, {
70
- editor: editor,
71
- plugin: editor.plugins.NextGEN_AttachToPost
72
- });
73
-
74
- // Support for IGW placeholder images. NGG <= 2.1.50
75
- if (e.target.tagName === 'IMG') {
76
- if (self.get_class_name(e.target).indexOf('ngg_displayed_gallery') >= 0) {
77
- editor.dom.events.cancel(e);
78
- var id = e.target.src.match(/\d+$/);
79
- if (id) id = id.pop();
80
- self.render_attach_to_post_interface({
81
- key: 'id',
82
- val: id
83
- });
84
- }
85
- }
86
-
87
- // Support for IGW Visual Shortcodes. NGG >= 2.1.50.1
88
- else {
89
-
90
- var $target = $(e.target);
91
-
92
- if ($target.hasClass('nggPlaceholderButton')) {
93
-
94
- // Remove button
95
- if ($target.hasClass('nggIgwRemove')) {
96
- var $placeholder = $target.parents('.nggPlaceholder')
97
- var shortcode = $placeholder[0].getAttribute('data-shortcode')
98
- editor.fire('ngg-removed', {shortcode: shortcode})
99
- $placeholder.remove();
100
- }
101
-
102
- // Edit button
103
- else {
104
- // Do not use jQuery's .data() here: it will use cached data
105
- window.igw_shortcode = $(e.target).parents('.nggPlaceholder')[0].getAttribute('data-shortcode');
106
-
107
- self.render_attach_to_post_interface({
108
- key: 'shortcode',
109
- val: Base64.encode(window.igw_shortcode),
110
- ref: $(e.target).parents('.nggPlaceholder').attr('id')
111
- });
112
- }
113
-
114
- }
115
-
116
- }
117
-
118
- });
119
-
120
- /**
121
- * Find each shortcode and replace it with the placeholder, rendered using an underscore template
122
- * in templates/tinymce_placeholder.php
123
- */
124
- editor.on('BeforeSetContent', function(event) {
125
- handle_shortcode(event, '[ngg_images ');
126
- handle_shortcode(event, '[ngg ');
127
- });
128
-
129
- /**
130
- * Substitutes the IGW placeholders with the corresponding shortcode
131
- */
132
- editor.on('PostProcess', function(event) {
133
- var $content = $('<div/>').append(event.content);
134
- $content.find('.nggPlaceholder').toArray().forEach(function(placeholder){
135
- var $placeholder = $(placeholder);
136
- var shortcode = $placeholder.data('shortcode');
137
- shortcode = "[" + _.unescape(shortcode) + "]";
138
- $placeholder.replaceWith(shortcode);
139
- });
140
- event.content = $content[0].innerHTML;
141
- });
142
-
143
- function handle_shortcode(event, shortcode_opening_tag) {
144
- while (event.content.indexOf(shortcode_opening_tag) >= 0) {
145
- var start_of_shortcode = event.content.indexOf(shortcode_opening_tag);
146
- var index = start_of_shortcode + shortcode_opening_tag.length;
147
- var found_attribute_assignment = false;
148
- var current_attribute_enclosure = null;
149
- var last_found_char = false;
150
- var content_length = event.content.length;
151
- while (true) {
152
- var char = event.content[index];
153
- if (char == '"' || char == "'" && last_found_char == '=') {
154
- // Is this the closing quote for an already found attribute assignment?
155
- if (found_attribute_assignment && current_attribute_enclosure == char) {
156
- found_attribute_assignment = false;
157
- current_attribute_enclosure = null;
158
- }
159
- else {
160
- found_attribute_assignment = true;
161
- current_attribute_enclosure = char;
162
- }
163
- }
164
- else if (char == ']') {
165
- // we've found a shortcode closing tag. But, we need to ensure
166
- // that this ] isn't within the value of a shortcode attribute
167
- if (!found_attribute_assignment) {
168
- break; //exit loop - we've found the shortcode
169
- }
170
- }
171
-
172
- last_found_char = char;
173
-
174
- if (index == content_length) {
175
- break;
176
- }
177
-
178
- index++;
179
- }
180
-
181
- // Replace the shortcode with a placeholder
182
- var match = event.content.substring(start_of_shortcode, ++index);
183
- var shortcode = match.substring(1, match.length-1);
184
- shortcode = shortcode.replace('[', '&#91;');
185
- shortcode = shortcode.replace(']', '&#93;');
186
-
187
- var template = _.template($('#ngg-igw-placeholder').html());
188
- event.content = event.content.replace(match, template($.extend(ngg_igw_i18n, {
189
- shortcode: shortcode,
190
- ref: _.now()
191
- })));
192
- }
193
- }
194
- },
195
-
196
- get_class_name: function(node) {
197
- var class_name = node.getAttribute('class') ? node.getAttribute('class') : node.className;
198
- if (class_name) {
199
- return class_name;
200
- } else {
201
- return "";
202
  }
203
- },
204
-
205
- wm_close_event: function(e) {
206
- if (e && e.target && e.target._id && e.target._id == 'ngg_attach_to_post_dialog') {
207
- // Restore scrolling for the main content window when the attach to post interface is closed
208
- $('html,body').css('overflow', 'auto');
209
- tinyMCE.activeEditor.selection.select(tinyMCE.activeEditor.dom.select('p')[0]);
210
- tinyMCE.activeEditor.selection.collapse(0);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  }
212
- },
213
-
214
- /**
215
- * Renders the attach to post interface
216
- */
217
- render_attach_to_post_interface: function(params) {
218
- // Determine the attach to post url
219
- var attach_to_post_url = nextgen_gallery_attach_to_post_url;
220
- if (typeof(params) != 'undefined') {
221
- attach_to_post_url += '&' + params.key + '='+encodeURIComponent(params.val);
222
- if (typeof(params['ref']) != 'undefined') {
223
- attach_to_post_url += '&ref='+encodeURIComponent(params.ref);
224
- }
225
- }
226
- attach_to_post_url += "&editor="+this.editor.id;
227
-
228
- var win = window;
229
- while (win.parent != null && win.parent != win) {
230
- win = win.parent;
231
- }
232
-
233
- win = $(win);
234
- var winWidth = win.width();
235
- var winHeight = win.height();
236
- var popupWidth = 1600;
237
- var popupHeight = 1200;
238
- var minWidth = 800;
239
- var minHeight = 600;
240
- var maxWidth = winWidth - (winWidth * 0.05);
241
- var maxHeight = winHeight - (winHeight * 0.1);
242
-
243
- if (maxWidth < minWidth) { maxWidth = winWidth - 20; }
244
- if (maxHeight < minHeight) { maxHeight = winHeight - 40; }
245
- if (popupWidth > maxWidth) { popupWidth = maxWidth; }
246
- if (popupHeight > maxHeight) { popupHeight = maxHeight; }
247
-
248
- // for mobile devices: dismiss the keyboard by blurring any input with focus
249
- document.activeElement.blur();
250
- Array.prototype.forEach.call(document.querySelectorAll('input, textarea'), function(it) {
251
- it.blur();
252
- });
253
 
254
- // Open a window, occupying 90% of the screen real estate
255
- this.editor.windowManager.open({
256
- url: attach_to_post_url,
257
- id: 'ngg_attach_to_post_dialog',
258
- width: popupWidth,
259
- height: popupHeight,
260
- title: "NextGEN Gallery - Attach To Post"
261
- });
262
-
263
- // Ensure that the window cannot be scrolled - XXX actually allow scrolling in the main window and disable it for the inner-windows/frames/elements as to create a single scrollbar
264
- $('html,body').css('overflow', 'hidden');
265
- $('#ngg_attach_to_post_dialog_ifr').css('overflow-y', 'auto');
266
- $('#ngg_attach_to_post_dialog_ifr').css('overflow-x', 'hidden');
267
- }
268
- });
269
-
270
- // Register plugin
271
- tinymce.PluginManager.add('NextGEN_AttachToPost', tinymce.plugins.NextGEN_AttachToPost);
272
-
273
- })(photocrati_ajax.wp_site_url, jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  // Self-executing function to create and register the TinyMCE plugin
2
+ (function (siteurl, $) {
3
+ window.id = "wordpress-post-page";
4
+
5
+ tinyMCE.addI18n("en.ngg_attach_to_post", {
6
+ title: "Attach NextGEN Gallery to Post",
7
+ });
8
+
9
+ // Create the plugin. We'll register it afterwards
10
+ tinymce.create("tinymce.plugins.NextGEN_AttachToPost", {
11
+ /**
12
+ * The WordPress Site URL
13
+ */
14
+ siteurl: siteurl,
15
+
16
+ /**
17
+ * Returns metadata about this plugin
18
+ */
19
+ getInfo: function () {
20
+ return {
21
+ longname: "NextGEN Gallery",
22
+ author: "Imagely",
23
+ authorurl: "https://www.imagely.com",
24
+ infourl:
25
+ "https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/",
26
+ version: "0.1",
27
+ };
28
+ },
29
+
30
+ /**
31
+ * Initializes the plugin, this will be executed after the plugin has been created.
32
+ */
33
+ init: function (editor, plugin_url) {
34
+ var self = this;
35
+
36
+ // TinyMCE 4s events are a bit weird, but this lets us listen to the window-manager close event
37
+ editor.windowManager.nggOldOpen = editor.windowManager.open;
38
+ editor.windowManager.open = function (one, two) {
39
+ var modal = editor.windowManager.nggOldOpen(one, two);
40
+ modal.on("close", self.wm_close_event);
41
+ return modal;
42
+ };
43
+
44
+ // Register a new TinyMCE command
45
+ editor.addCommand(
46
+ "ngg_attach_to_post",
47
+ this.render_attach_to_post_interface,
48
+ {
49
+ editor: editor,
50
+ plugin: editor.plugins.NextGEN_AttachToPost,
51
+ }
52
+ );
53
+
54
+ // Add a button to trigger the above command
55
+ editor.addButton("NextGEN_AttachToPost", {
56
+ title: "ngg_attach_to_post.title",
57
+ cmd: "ngg_attach_to_post",
58
+ image: plugin_url + "/igw_button.png",
59
+ });
60
+
61
+ editor.on("SaveContent", function (event) {
62
+ if ($("body").hasClass("block-editor-page")) {
63
+ handle_shortcode(event, "[ngg_images ");
64
+ handle_shortcode(event, "[ngg ");
65
+ }
66
+ });
67
+
68
+ /**
69
+ * Listen for click events to our placeholder
70
+ */
71
+ editor.on("mouseup touchend", function (e) {
72
+ tinymce.extend(self, {
73
+ editor: editor,
74
+ plugin: editor.plugins.NextGEN_AttachToPost,
75
+ });
76
+
77
+ // Support for IGW placeholder images. NGG <= 2.1.50
78
+ if (e.target.tagName === "IMG") {
79
+ if (
80
+ self.get_class_name(e.target).indexOf("ngg_displayed_gallery") >= 0
81
+ ) {
82
+ editor.dom.events.cancel(e);
83
+ var id = e.target.src.match(/\d+$/);
84
+ if (id) id = id.pop();
85
+ self.render_attach_to_post_interface({
86
+ key: "id",
87
+ val: id,
88
+ });
89
+ }
90
+ }
91
+
92
+ // Support for IGW Visual Shortcodes. NGG >= 2.1.50.1
93
+ else {
94
+ var $target = $(e.target);
95
+
96
+ if ($target.hasClass("nggPlaceholderButton")) {
97
+ // Remove button
98
+ if ($target.hasClass("nggIgwRemove")) {
99
+ var $placeholder = $target.parents(".nggPlaceholder");
100
+ var shortcode = $placeholder[0].getAttribute("data-shortcode");
101
+ editor.fire("ngg-removed", { shortcode: shortcode });
102
+ $placeholder.remove();
103
+ }
104
+
105
+ // Edit button
106
+ else {
107
+ // Do not use jQuery's .data() here: it will use cached data
108
+ window.igw_shortcode = $(e.target)
109
+ .parents(".nggPlaceholder")[0]
110
+ .getAttribute("data-shortcode");
111
+
112
+ self.render_attach_to_post_interface({
113
+ key: "shortcode",
114
+ val: Base64.encode(window.igw_shortcode),
115
+ ref: $(e.target).parents(".nggPlaceholder").attr("id"),
116
+ });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  }
118
+ }
119
+ }
120
+ });
121
+
122
+ /**
123
+ * Find each shortcode and replace it with the placeholder, rendered using an underscore template
124
+ * in templates/tinymce_placeholder.php
125
+ */
126
+ editor.on("BeforeSetContent", function (event) {
127
+ handle_shortcode(event, "[ngg_images ");
128
+ handle_shortcode(event, "[ngg ");
129
+ });
130
+
131
+ /**
132
+ * Substitutes the IGW placeholders with the corresponding shortcode
133
+ */
134
+ editor.on("PostProcess", function (event) {
135
+ var $content = $("<div/>").append(event.content);
136
+ $content
137
+ .find(".nggPlaceholder")
138
+ .toArray()
139
+ .forEach(function (placeholder) {
140
+ var $placeholder = $(placeholder);
141
+ var shortcode = $placeholder.data("shortcode");
142
+ shortcode = "[" + _.unescape(shortcode) + "]";
143
+ $placeholder.replaceWith(shortcode);
144
+ });
145
+ event.content = $content[0].innerHTML;
146
+ });
147
+
148
+ function handle_shortcode(event, shortcode_opening_tag) {
149
+ while (event.content.indexOf(shortcode_opening_tag) >= 0) {
150
+ var start_of_shortcode = event.content.indexOf(shortcode_opening_tag);
151
+ var index = start_of_shortcode + shortcode_opening_tag.length;
152
+ var found_attribute_assignment = false;
153
+ var current_attribute_enclosure = null;
154
+ var last_found_char = false;
155
+ var content_length = event.content.length;
156
+ while (true) {
157
+ var char = event.content[index];
158
+ if (char == '"' || (char == "'" && last_found_char == "=")) {
159
+ // Is this the closing quote for an already found attribute assignment?
160
+ if (
161
+ found_attribute_assignment &&
162
+ current_attribute_enclosure == char
163
+ ) {
164
+ found_attribute_assignment = false;
165
+ current_attribute_enclosure = null;
166
+ } else {
167
+ found_attribute_assignment = true;
168
+ current_attribute_enclosure = char;
169
+ }
170
+ } else if (char == "]") {
171
+ // we've found a shortcode closing tag. But, we need to ensure
172
+ // that this ] isn't within the value of a shortcode attribute
173
+ if (!found_attribute_assignment) {
174
+ break; //exit loop - we've found the shortcode
175
+ }
176
+ }
177
+
178
+ last_found_char = char;
179
+
180
+ if (index == content_length) {
181
+ break;
182
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
 
184
+ index++;
185
+ }
186
+
187
+ // Replace the shortcode with a placeholder
188
+ var match = event.content.substring(start_of_shortcode, ++index);
189
+ var shortcode = match.substring(1, match.length - 1);
190
+ shortcode = shortcode.replace("[", "&#91;");
191
+ shortcode = shortcode.replace("]", "&#93;");
192
+
193
+ var template = _.template($("#ngg-igw-placeholder").html());
194
+ event.content = event.content.replace(
195
+ match,
196
+ template(
197
+ $.extend(ngg_igw_i18n, {
198
+ shortcode: shortcode,
199
+ ref: _.now(),
200
+ })
201
+ )
202
+ );
203
+ }
204
+ }
205
+ },
206
+
207
+ get_class_name: function (node) {
208
+ var class_name = node.getAttribute("class")
209
+ ? node.getAttribute("class")
210
+ : node.className;
211
+ if (class_name) {
212
+ return class_name;
213
+ } else {
214
+ return "";
215
+ }
216
+ },
217
+
218
+ wm_close_event: function (e) {
219
+ if (
220
+ e &&
221
+ e.target &&
222
+ e.target._id &&
223
+ e.target._id == "ngg_attach_to_post_dialog"
224
+ ) {
225
+ // Restore scrolling for the main content window when the attach to post interface is closed
226
+ $("html,body").css("overflow", "auto");
227
+ tinyMCE.activeEditor.selection.select(
228
+ tinyMCE.activeEditor.dom.select("p")[0]
229
+ );
230
+ tinyMCE.activeEditor.selection.collapse(0);
231
+ }
232
+ },
233
+
234
+ /**
235
+ * Renders the attach to post interface
236
+ */
237
+ render_attach_to_post_interface: function (params) {
238
+ // Determine the attach to post url
239
+ var attach_to_post_url = window.igw.url;
240
+ if (typeof params != "undefined") {
241
+ attach_to_post_url +=
242
+ "&" + params.key + "=" + encodeURIComponent(params.val);
243
+ if (typeof params["ref"] != "undefined") {
244
+ attach_to_post_url += "&ref=" + encodeURIComponent(params.ref);
245
+ }
246
+ }
247
+ attach_to_post_url += "&editor=" + this.editor.id;
248
+
249
+ var win = window;
250
+ while (win.parent != null && win.parent != win) {
251
+ win = win.parent;
252
+ }
253
+
254
+ win = $(win);
255
+ var winWidth = win.width();
256
+ var winHeight = win.height();
257
+ var popupWidth = 1600;
258
+ var popupHeight = 1200;
259
+ var minWidth = 800;
260
+ var minHeight = 600;
261
+ var maxWidth = winWidth - winWidth * 0.05;
262
+ var maxHeight = winHeight - winHeight * 0.1;
263
+
264
+ if (maxWidth < minWidth) {
265
+ maxWidth = winWidth - 20;
266
+ }
267
+ if (maxHeight < minHeight) {
268
+ maxHeight = winHeight - 40;
269
+ }
270
+ if (popupWidth > maxWidth) {
271
+ popupWidth = maxWidth;
272
+ }
273
+ if (popupHeight > maxHeight) {
274
+ popupHeight = maxHeight;
275
+ }
276
+
277
+ // for mobile devices: dismiss the keyboard by blurring any input with focus
278
+ document.activeElement.blur();
279
+ Array.prototype.forEach.call(
280
+ document.querySelectorAll("input, textarea"),
281
+ function (it) {
282
+ it.blur();
283
+ }
284
+ );
285
+
286
+ // Open a window, occupying 90% of the screen real estate
287
+ this.editor.windowManager.open({
288
+ url: attach_to_post_url,
289
+ id: "ngg_attach_to_post_dialog",
290
+ width: popupWidth,
291
+ height: popupHeight,
292
+ title: "NextGEN Gallery - Attach To Post",
293
+ });
294
+
295
+ // Ensure that the window cannot be scrolled - XXX actually allow scrolling in the main window and disable it for the inner-windows/frames/elements as to create a single scrollbar
296
+ $("html,body").css("overflow", "hidden");
297
+ $("#ngg_attach_to_post_dialog_ifr").css("overflow-y", "auto");
298
+ $("#ngg_attach_to_post_dialog_ifr").css("overflow-x", "hidden");
299
+ },
300
+ });
301
+
302
+ // Register plugin
303
+ tinymce.PluginManager.add(
304
+ "NextGEN_AttachToPost",
305
+ tinymce.plugins.NextGEN_AttachToPost
306
+ );
307
+ })(photocrati_ajax.wp_site_url, jQuery);
products/photocrati_nextgen/modules/attach_to_post/static/ngg_attach_to_post_tinymce_plugin.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";!function(t,e){window.id="wordpress-post-page",tinyMCE.addI18n("en.ngg_attach_to_post",{title:"Attach NextGEN Gallery to Post"}),tinymce.create("tinymce.plugins.NextGEN_AttachToPost",{siteurl:t,getInfo:function(){return{longname:"NextGEN Gallery",author:"Imagely",authorurl:"https://www.imagely.com",infourl:"https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/",version:"0.1"}},init:function(t,n){function o(t,n){for(;t.content.indexOf(n)>=0;){for(var o=t.content.indexOf(n),a=o+n.length,r=!1,i=null,c=!1,g=t.content.length;;){var l=t.content[a];if('"'==l||"'"==l&&"="==c)r&&i==l?(r=!1,i=null):(r=!0,i=l);else if("]"==l&&!r)break;if(c=l,a==g)break;a++}var s=t.content.substring(o,++a),d=s.substring(1,s.length-1);d=d.replace("[","&#91;"),d=d.replace("]","&#93;");var h=_.template(e("#ngg-igw-placeholder").html());t.content=t.content.replace(s,h(e.extend(ngg_igw_i18n,{shortcode:d,ref:_.now()})))}}var a=this;t.windowManager.nggOldOpen=t.windowManager.open,t.windowManager.open=function(e,n){var o=t.windowManager.nggOldOpen(e,n);return o.on("close",a.wm_close_event),o},t.addCommand("ngg_attach_to_post",this.render_attach_to_post_interface,{editor:t,plugin:t.plugins.NextGEN_AttachToPost}),t.addButton("NextGEN_AttachToPost",{title:"ngg_attach_to_post.title",cmd:"ngg_attach_to_post",image:n+"/igw_button.png"}),t.on("SaveContent",function(t){e("body").hasClass("block-editor-page")&&(o(t,"[ngg_images "),o(t,"[ngg "))}),t.on("mouseup touchend",function(n){if(tinymce.extend(a,{editor:t,plugin:t.plugins.NextGEN_AttachToPost}),"IMG"===n.target.tagName){if(a.get_class_name(n.target).indexOf("ngg_displayed_gallery")>=0){t.dom.events.cancel(n);var o=n.target.src.match(/\d+$/);o&&(o=o.pop()),a.render_attach_to_post_interface({key:"id",val:o})}}else{var r=e(n.target);if(r.hasClass("nggPlaceholderButton"))if(r.hasClass("nggIgwRemove")){var i=r.parents(".nggPlaceholder"),c=i[0].getAttribute("data-shortcode");t.fire("ngg-removed",{shortcode:c}),i.remove()}else window.igw_shortcode=e(n.target).parents(".nggPlaceholder")[0].getAttribute("data-shortcode"),a.render_attach_to_post_interface({key:"shortcode",val:Base64.encode(window.igw_shortcode),ref:e(n.target).parents(".nggPlaceholder").attr("id")})}}),t.on("BeforeSetContent",function(t){o(t,"[ngg_images "),o(t,"[ngg ")}),t.on("PostProcess",function(t){var n=e("<div/>").append(t.content);n.find(".nggPlaceholder").toArray().forEach(function(t){var n=e(t),o=n.data("shortcode");o="["+_.unescape(o)+"]",n.replaceWith(o)}),t.content=n[0].innerHTML})},get_class_name:function(t){var e=t.getAttribute("class")?t.getAttribute("class"):t.className;return e||""},wm_close_event:function(t){t&&t.target&&t.target._id&&"ngg_attach_to_post_dialog"==t.target._id&&(e("html,body").css("overflow","auto"),tinyMCE.activeEditor.selection.select(tinyMCE.activeEditor.dom.select("p")[0]),tinyMCE.activeEditor.selection.collapse(0))},render_attach_to_post_interface:function(t){var n=nextgen_gallery_attach_to_post_url;void 0!==t&&(n+="&"+t.key+"="+encodeURIComponent(t.val),void 0!==t.ref&&(n+="&ref="+encodeURIComponent(t.ref))),n+="&editor="+this.editor.id;for(var o=window;null!=o.parent&&o.parent!=o;)o=o.parent;o=e(o);var a=o.width(),r=o.height(),i=1600,c=1200,g=a-.05*a,l=r-.1*r;g<800&&(g=a-20),l<600&&(l=r-40),i>g&&(i=g),c>l&&(c=l),document.activeElement.blur(),Array.prototype.forEach.call(document.querySelectorAll("input, textarea"),function(t){t.blur()}),this.editor.windowManager.open({url:n,id:"ngg_attach_to_post_dialog",width:i,height:c,title:"NextGEN Gallery - Attach To Post"}),e("html,body").css("overflow","hidden"),e("#ngg_attach_to_post_dialog_ifr").css("overflow-y","auto"),e("#ngg_attach_to_post_dialog_ifr").css("overflow-x","hidden")}}),tinymce.PluginManager.add("NextGEN_AttachToPost",tinymce.plugins.NextGEN_AttachToPost)}(photocrati_ajax.wp_site_url,jQuery);
1
+ "use strict";!function(t,e){window.id="wordpress-post-page",tinyMCE.addI18n("en.ngg_attach_to_post",{title:"Attach NextGEN Gallery to Post"}),tinymce.create("tinymce.plugins.NextGEN_AttachToPost",{siteurl:t,getInfo:function(){return{longname:"NextGEN Gallery",author:"Imagely",authorurl:"https://www.imagely.com",infourl:"https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/",version:"0.1"}},init:function(t,n){function o(t,n){for(;t.content.indexOf(n)>=0;){for(var o=t.content.indexOf(n),a=o+n.length,r=!1,i=null,c=!1,g=t.content.length;;){var l=t.content[a];if('"'==l||"'"==l&&"="==c)r&&i==l?(r=!1,i=null):(r=!0,i=l);else if("]"==l&&!r)break;if(c=l,a==g)break;a++}var s=t.content.substring(o,++a),d=s.substring(1,s.length-1);d=d.replace("[","&#91;"),d=d.replace("]","&#93;");var h=_.template(e("#ngg-igw-placeholder").html());t.content=t.content.replace(s,h(e.extend(ngg_igw_i18n,{shortcode:d,ref:_.now()})))}}var a=this;t.windowManager.nggOldOpen=t.windowManager.open,t.windowManager.open=function(e,n){var o=t.windowManager.nggOldOpen(e,n);return o.on("close",a.wm_close_event),o},t.addCommand("ngg_attach_to_post",this.render_attach_to_post_interface,{editor:t,plugin:t.plugins.NextGEN_AttachToPost}),t.addButton("NextGEN_AttachToPost",{title:"ngg_attach_to_post.title",cmd:"ngg_attach_to_post",image:n+"/igw_button.png"}),t.on("SaveContent",function(t){e("body").hasClass("block-editor-page")&&(o(t,"[ngg_images "),o(t,"[ngg "))}),t.on("mouseup touchend",function(n){if(tinymce.extend(a,{editor:t,plugin:t.plugins.NextGEN_AttachToPost}),"IMG"===n.target.tagName){if(a.get_class_name(n.target).indexOf("ngg_displayed_gallery")>=0){t.dom.events.cancel(n);var o=n.target.src.match(/\d+$/);o&&(o=o.pop()),a.render_attach_to_post_interface({key:"id",val:o})}}else{var r=e(n.target);if(r.hasClass("nggPlaceholderButton"))if(r.hasClass("nggIgwRemove")){var i=r.parents(".nggPlaceholder"),c=i[0].getAttribute("data-shortcode");t.fire("ngg-removed",{shortcode:c}),i.remove()}else window.igw_shortcode=e(n.target).parents(".nggPlaceholder")[0].getAttribute("data-shortcode"),a.render_attach_to_post_interface({key:"shortcode",val:Base64.encode(window.igw_shortcode),ref:e(n.target).parents(".nggPlaceholder").attr("id")})}}),t.on("BeforeSetContent",function(t){o(t,"[ngg_images "),o(t,"[ngg ")}),t.on("PostProcess",function(t){var n=e("<div/>").append(t.content);n.find(".nggPlaceholder").toArray().forEach(function(t){var n=e(t),o=n.data("shortcode");o="["+_.unescape(o)+"]",n.replaceWith(o)}),t.content=n[0].innerHTML})},get_class_name:function(t){var e=t.getAttribute("class")?t.getAttribute("class"):t.className;return e||""},wm_close_event:function(t){t&&t.target&&t.target._id&&"ngg_attach_to_post_dialog"==t.target._id&&(e("html,body").css("overflow","auto"),tinyMCE.activeEditor.selection.select(tinyMCE.activeEditor.dom.select("p")[0]),tinyMCE.activeEditor.selection.collapse(0))},render_attach_to_post_interface:function(t){var n=window.igw.url;void 0!==t&&(n+="&"+t.key+"="+encodeURIComponent(t.val),void 0!==t.ref&&(n+="&ref="+encodeURIComponent(t.ref))),n+="&editor="+this.editor.id;for(var o=window;null!=o.parent&&o.parent!=o;)o=o.parent;o=e(o);var a=o.width(),r=o.height(),i=1600,c=1200,g=a-.05*a,l=r-.1*r;g<800&&(g=a-20),l<600&&(l=r-40),i>g&&(i=g),c>l&&(c=l),document.activeElement.blur(),Array.prototype.forEach.call(document.querySelectorAll("input, textarea"),function(t){t.blur()}),this.editor.windowManager.open({url:n,id:"ngg_attach_to_post_dialog",width:i,height:c,title:"NextGEN Gallery - Attach To Post"}),e("html,body").css("overflow","hidden"),e("#ngg_attach_to_post_dialog_ifr").css("overflow-y","auto"),e("#ngg_attach_to_post_dialog_ifr").css("overflow-x","hidden")}}),tinymce.PluginManager.add("NextGEN_AttachToPost",tinymce.plugins.NextGEN_AttachToPost)}(photocrati_ajax.wp_site_url,jQuery);
products/photocrati_nextgen/modules/nextgen_addgallery_page/package.module.nextgen_addgallery_page.php CHANGED
@@ -400,17 +400,6 @@ class A_Upload_Images_Form extends Mixin
400
  {
401
  return __("Upload Images", 'nggallery');
402
  }
403
- /**
404
- * Pass PHP object or array to JS, preserving numeric and boolean value
405
- * @param string $handle
406
- * @param string $name
407
- * @param object|array $data
408
- */
409
- function pass_data_to_js($handle, $var_name, $data)
410
- {
411
- $var_name = esc_js($var_name);
412
- return wp_add_inline_script($handle, "let {$var_name} = " . json_encode($data, JSON_NUMERIC_CHECK));
413
- }
414
  function enqueue_static_resources()
415
  {
416
  wp_enqueue_script('uppy');
@@ -419,9 +408,9 @@ class A_Upload_Images_Form extends Mixin
419
  wp_enqueue_script('toastify');
420
  wp_enqueue_style('toastify');
421
  wp_localize_script('uppy', 'NggUploadImages_i18n', $this->object->get_i18n_strings());
422
- $this->pass_data_to_js('uppy', 'NggUppyCoreSettings', $this->object->get_uppy_core_settings());
423
- $this->pass_data_to_js('uppy', 'NggUppyDashboardSettings', $this->object->get_uppy_dashboard_settings());
424
- $this->pass_data_to_js('uppy', 'NggXHRSettings', $this->object->get_uppy_xhr_settings());
425
  }
426
  function get_allowed_image_mime_types()
427
  {
400
  {
401
  return __("Upload Images", 'nggallery');
402
  }
 
 
 
 
 
 
 
 
 
 
 
403
  function enqueue_static_resources()
404
  {
405
  wp_enqueue_script('uppy');
408
  wp_enqueue_script('toastify');
409
  wp_enqueue_style('toastify');
410
  wp_localize_script('uppy', 'NggUploadImages_i18n', $this->object->get_i18n_strings());
411
+ M_Ajax::pass_data_to_js('uppy', 'NggUppyCoreSettings', $this->object->get_uppy_core_settings());
412
+ M_Ajax::pass_data_to_js('uppy', 'NggUppyDashboardSettings', $this->object->get_uppy_dashboard_settings());
413
+ M_Ajax::pass_data_to_js('uppy', 'NggXHRSettings', $this->object->get_uppy_xhr_settings());
414
  }
415
  function get_allowed_image_mime_types()
416
  {
products/photocrati_nextgen/modules/nextgen_admin/static/nextgen_admin_page.css CHANGED
@@ -27,733 +27,841 @@
27
  /***** 1) NGG Admin CSS: Original 2.0 CSS *****/
28
 
29
  .ngg-admin .notice,
30
- .ngg-admin div.updated,
31
  .ngg-admin div.error {
32
- margin: 20px 15px 0 0;
33
  }
34
 
35
- .ngg-admin #ngg_page_content .notice,
36
- .ngg-admin #ngg_page_content div.updated,
37
  .ngg-admin #ngg_page_content div.error {
38
- margin: 20px 0 25px 0;
39
  }
40
 
41
  .hidden {
42
- display: none;
43
  }
44
 
45
  .nextgen_advanced_toggle_link {
46
- font-size: 11px;
47
- position: relative;
48
- bottom: 5px;
49
- color: #444444;
50
  }
51
 
52
  .url_field {
53
- width: 400px;
54
- max-width: 100%;
55
  }
56
 
57
  .nextgen_settings_field_colorpicker {
58
- width: 85px !important;
59
- text-align: center;
60
- margin-left: 50px;
61
  }
62
 
63
  /* These three rules are to prevent 'WP Social Widget' from breaking our use of the WP Color Picker */
64
  #ngg_page_content .wp-picker-container {
65
- position: initial !important;
66
  }
67
  #ngg_page_content .wp-picker-holder {
68
- position: initial !important;
69
  }
70
  #ngg_page_content .wp-picker-input-wrap {
71
- position: initial !important;
72
  }
73
 
74
  #nextgen_settings_wmXpos,
75
  #nextgen_settings_wmYpos {
76
- width: 65px !important;
77
  }
78
 
79
  table.nextgen_settings_position {
80
- width: auto !important;
81
  }
82
 
83
-
84
  #ngg_page_content span.tooltip,
85
  #ngg_page_content label.tooltip {
86
- outline: none;
87
- background-image: url('information.png');
88
- background-repeat: no-repeat;
89
- padding-left: 22px;
90
- padding-bottom: 4px;
91
- background-size: 18px;
92
  }
93
 
94
- #poststuff .ui-accordion h3 {
95
- padding-left: 25px;
 
 
 
 
 
 
96
  }
97
 
98
  #lightbox_effects_content table tr td:first-child {
99
- vertical-align: top;
100
- text-align: right;
101
- padding-right: 7px;
102
- padding-top: 5px;
103
  }
104
 
105
  #lightbox_effects_content tr {
106
- height: 28px;
107
  }
108
 
109
  /***** 2) NGG Admin CSS: General Styles *****/
110
 
111
  .ngg-admin #screen-meta-links {
112
- padding-bottom: 20px;
113
  }
114
 
115
  .ngg-admin #wpbody {
116
- position: static;
117
  }
118
 
119
  #ngg_page_content {
120
- background: #ffffff;
121
- box-shadow: 0 0 12px 6px rgba(0,0,0,.03);
122
- box-sizing: border-box;
123
- font-family: lato,sans-serif;
124
- float:left;
125
- height: auto;
126
- margin-top: 25px;
127
- padding: 20px 40px;
128
- width: 98%;
129
- color: black;
130
- font-size: 15px;
131
- letter-spacing: .3px;
132
- font-weight: 500;
133
- }
134
-
135
-
136
- #adminmenu .wp-submenu a[href*=ngg_pro_upgrade] {
137
- color: #9fbb1a;
138
- font-weight: 600;
139
  }
140
 
141
  .toplevel_page_nextgen-gallery #ngg_page_content {
142
- margin-top: 20px;
143
  }
144
 
145
  #ngg_page_content.ngg_settings_page {
146
- background: #fff;
147
  }
148
 
149
- .ngg_manage_albums,
150
- .ngg_manage_galleries,
151
  .ngg_manage_images,
152
  .ngg_manage_images,
153
  .ngg_gallery_sort {
154
- background: #ffffff;
155
  }
156
 
157
  #ngg_page_content .wrap {
158
- margin: 0;
159
  }
160
 
161
  #ngg_page_content .about-wrap {
162
- max-width: 100%;
163
- float: left;
164
  }
165
 
166
  .about-wrap [class$="-col"] {
167
- display: flex;
168
- justify-content: space-between;
169
- flex-wrap: wrap;
170
  }
171
 
172
  .about-wrap [class$="-col"] .col {
173
- flex: 1;
174
- align-self: flex-start;
175
  }
176
 
177
- .about-wrap [class$="-col"] .col+.col {
178
- margin-left: 20px;
179
  }
180
 
181
  .about-wrap .two-col img {
182
- margin-bottom: 1.5em;
183
  }
184
 
185
  .about-wrap .headline-feature {
186
- max-width: none;
187
- margin: 0 0 40px 0;
188
  }
189
 
190
  #ngg_page_content a {
191
- color: #9fbb1a;
192
  }
193
 
194
  #ngg_page_content button,
195
  #ngg_page_content .button-primary,
196
  #ngg_page_content .button-secondary {
197
- background-color: #9FBB1A;
198
- background-color: black;
199
- color: #fff !important;
200
- border: none !important;
201
- box-shadow: none !important;
202
- text-shadow: none !important;
203
- outline: none !important;
204
- height: 35px !important;
205
- padding: 0 24px !important;
206
- line-height: 35px;
207
- width: auto !important;
208
- border-radius: 0px;
209
- text-transform: uppercase;
210
- letter-spacing: 1px;
211
- font-size: 11px;
212
- font-weight: bold;
213
- font-family: Lato, sans-serif;
214
- vertical-align: middle;
215
  }
216
 
217
  #ngg_page_content button:hover,
218
  #ngg_page_content .button-primary:hover,
219
  #ngg_page_content .button-secondary:hover {
220
- background-color: #383838;
221
  }
222
 
223
  #ngg_page_content button:hover,
224
  #ngg_page_content .button-primary:hover,
225
  #ngg_page_content .button-secondary:hover {
226
- vertical-align: middle;
227
  }
228
 
229
- #ngg_page_content button:disabled,
230
- #ngg_page_content .button-primary:disabled,
231
  #ngg_page_content .button-secondary:disabled {
232
- background: #bbb !important;
233
  }
234
 
235
  #ngg_page_content .button-secondary {
236
- background-color: #888 !important;
237
  }
238
 
239
- .ngg-admin #ngg_page_content .notice button,
240
- .ngg-admin #ngg_page_content div.updated button,
241
  .ngg-admin #ngg_page_content div.error button {
242
- background-color: transparent !important;
243
- padding: 0;
244
  }
245
 
246
  #ngg_page_content button,
247
- .ngg-admin .notice button,
248
- .ngg-admin div.updated button,
249
  .ngg-admin div.error button {
250
- background: transparent;
251
  }
252
 
253
  #ngg_page_content button.wp-color-result {
254
- height: 100% !important;
255
- padding: 0 0 0 30px!important;
256
- border: 1px solid #ddd !important;
257
  }
258
 
259
  #ngg_page_content button.wp-color-result:hover {
260
- background-color: transparent;
261
  }
262
 
263
  #ngg_page_content input[type="checkbox"] {
264
- height: 16px !important;
265
- width: 16px !important;
266
  }
267
 
268
  #ngg_page_content.ngg_settings_page form > p {
269
- width: 81%;
270
- background: #fff;
271
- margin: 0;
272
- float: right;
273
  }
274
 
275
  #ngg_page_content .ngg_save_settings_button {
276
- position: absolute;
277
- right: 61px;
278
- top: 128px;
279
  }
280
 
281
- .ecommerce_page_ngg-ecommerce-instructions-page #ngg_page_content .ngg_save_settings_button {
282
- display: none;
 
 
283
  }
284
 
285
- #ngg_page_content ::-webkit-input-placeholder { /* Chrome */
 
286
  color: #aaa;
287
  }
288
- #ngg_page_content :-ms-input-placeholder { /* IE 10+ */
 
289
  color: #aaa;
290
  }
291
- #ngg_page_content ::-moz-placeholder { /* Firefox 19+ */
 
292
  color: #aaa;
293
  opacity: 1;
294
  }
295
- #ngg_page_content :-moz-placeholder { /* Firefox 4 - 18 */
 
296
  color: #aaa;
297
  opacity: 1;
298
  }
299
 
300
  .ngg-admin .select2-drop.select2-drop-above .select2-search input {
301
- width: 100%;
302
  }
303
 
304
  /***** 3) NGG Admin CSS: Header and Menu *****/
305
 
306
  #ngg_page_content .ngg_page_content_header {
307
- height: 80px;
308
- margin-top: -23px;
309
- margin-bottom: 24px;
310
- }
311
 
312
  #ngg_page_content .ngg_page_content_header img {
313
- height: 60px;
314
- padding-top: 10px;
315
- padding-right: 20px;
316
- float: left;
317
- width: auto;
318
  }
319
 
320
  #ngg_page_content .ngg_page_content_header h2,
321
  #ngg_page_content .ngg_page_content_header h3 {
322
- line-height: 80px;
323
- color: black;
324
- font-size: 18px;
325
- font-family: 'Lato', sans-serif;
326
- text-transform: uppercase;
327
- letter-spacing: 2px;
328
- text-align: left;
329
- font-weight: 900;
330
  }
331
 
332
  #ngg_page_content .ngg_page_content_header p {
333
- float: right;
334
- margin: -98px 0 0 0;
335
- font-size: 15px;
336
- font-weight: bold;
337
- color: black;
338
- line-height: 80px;
339
- letter-spacing: .3px;
340
  }
341
 
342
  #ngg_page_content .ngg_page_content_header p.ngg-header-promo {
343
- margin: -113px -40px 0 0;
344
- color: black;
345
- line-height: 80px;
346
- padding: 10px 20px;
347
- background: #9ebc1b;
348
- color: white;
349
- line-height: 20px;
350
- padding: 30px 290px 30px 24px;
351
- display: inline-block;
352
- max-width: 720px;
353
- box-sizing: border-box;
354
  }
355
 
356
  #ngg_page_content .ngg_page_content_header .ngg-header-promo a {
357
- margin-left: 16px !important;
358
- position: absolute;
359
- top: 32px;
360
- right: 24px;
361
- height: 38px !important;
362
- line-height: 38px !important;
363
  }
364
 
365
  #ngg_page_content .ngg_page_content_header p.ngg-header-promo.black-friday {
366
- padding: 30px 330px 30px 40px;
367
- font-size: 16px;
368
  }
369
 
370
- #ngg_page_content .ngg_page_content_header p.ngg-header-promo.black-friday span {
371
- text-transform: uppercase;
372
- padding-bottom: 4px;
373
- display: inline-block;
374
- font-size: 20px;
 
 
 
375
  }
376
 
377
  #ngg_page_content .ngg_page_content_header .ngg-header-promo.black-friday a {
378
- right: 40px;
379
  }
380
 
381
  #ngg_page_content .ngg_page_content_header .ngg-header-promo a:after {
382
- content: "\f345";
383
- font: normal 16px dashicons;
384
- color: white !important;
385
- display: inline-block;
386
- position: relative;
387
- top: 4px;
388
- left: 6px;
389
  }
390
 
391
  #ngg_page_content .ngg_page_content_header .ngg_save_settings_button {
392
- margin: 0 !important;;
393
  }
394
 
395
  #ngg_page_content .ngg_page_content_menu {
396
- padding: 20px;
397
- width: 20%;
398
- float: left;
399
- padding: 0;
400
- height: 100%;
401
- background: transparent;
402
- }
403
-
404
- #ngg_page_content .ngg_page_content_menu a {
405
- box-shadow: none !important;
406
- border-left: 5px solid #ffffff;
407
- cursor: pointer;
408
- display: block;
409
- padding: 10px 0 10px 20px;
410
- line-height: 22px;
411
- margin: 10px 0;
412
- text-decoration: none;
413
- color: black;
414
- text-transform: uppercase;
415
- font-size: 13px;
416
- font-weight: 400;
417
- letter-spacing: 1.2px;
418
  }
419
 
420
  .responsive-menu-icon {
421
- cursor: pointer;
422
- display: none;
423
- margin-bottom: 5px;
424
- text-align: left;
425
  }
426
 
427
  .responsive-menu-icon::before {
428
- color: black;
429
- content: '\f0c9';
430
- display: block;
431
- font: normal 20px/1 'Font Awesome 5 Free';
432
- margin: 0 auto;
433
- text-align: center;
434
- font-weight: 900;
435
  }
436
 
437
- #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active,
438
  #ngg_page_content .ngg_page_content_menu a:active {
439
- outline: 0;
440
- outline-width: 0;
441
- outline-color: transparent;
442
- border-left: 5px solid #9dbd1b;
443
- position: relative;
444
- color: black;
445
- margin-right: -1px;
446
- font-weight: 800;
447
  }
448
 
449
- #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after,
450
  #ngg_page_content .ngg_page_content_menu a:active:after {
451
- right: 0;
452
- border: 8px solid transparent;
453
- content: "";
454
- width: 0;
455
- position: absolute;
456
- pointer-events: none;
457
- border-right-color: #fff;
458
- top: 50%;
459
- margin-top: -8px;
460
  }
461
 
462
  /***** 4) NGG Admin CSS: Main Content *****/
463
 
464
  #ngg_page_content .ngg_page_content_main {
465
- padding: 0 20px 20px 30px;
466
- min-height: 600px;
467
- float: left;
468
- box-sizing: border-box;
469
- width: 100%;
470
  }
471
 
472
  #ngg_page_content .ngg_gallery_sort .ngg_page_content_main {
473
- min-height: 0;
474
  }
475
 
476
  .gallery_page_nggallery-manage-gallery #ngg_page_content .ngg_page_content_main,
477
  .gallery_page_nggallery-manage-album #ngg_page_content .ngg_page_content_main {
478
- padding: 0 10px 30px;
479
  }
480
 
481
- #ngg_page_content .ngg_overview .ngg_page_content_main,
482
  #ngg_page_content.ngg_settings_page .ngg_page_content_main {
483
- width: 80%;
484
  }
485
 
486
- .gallery_page_ngg_display_settings #ngg_page_content.ngg_settings_page .ngg_page_content_main {
487
- min-height: 1000px;
 
 
488
  }
489
 
490
- .gallery_page_ngg_other_options #ngg_page_content.ngg_settings_page .ngg_page_content_main {
491
- min-height: 400px;
 
 
492
  }
493
 
494
  #ngg_page_content .ngg_manage_tags .ngg_page_content_main {
495
- padding: 0;
496
  }
497
 
498
  #ngg_page_content.ngg_settings_page .ngg_page_content_main > div,
499
  #ngg_page_content .ngg_overview .ngg_page_content_main > div,
500
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main > div {
501
- display: none;
 
 
 
 
502
  }
503
 
504
  #ngg_page_content.ngg_settings_page .ngg_page_content_main > div:first-of-type,
505
  #ngg_page_content .ngg_overview .ngg_page_content_main > div:first-of-type,
506
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main > div:first-of-type {
507
- display: block;
 
 
 
 
508
  }
509
 
510
  #ngg_page_content.ngg_settings_page .ngg_page_content_main h3 {
511
- color: rgba(29, 36, 42, 0.85);
512
- font-size: 18px;
513
- margin: 20px 0 30px;
514
- text-transform: uppercase;
515
  }
516
 
517
  #ngg_page_content .ngg_page_content_main input,
518
  #ngg_page_content .ngg_page_content_main select {
519
- color: #888;
520
- height: 35px;
521
- border: 1px solid #ddd;
522
- padding-left: 10px;
523
- box-shadow: none;
524
- width: 200px;
525
- -webkit-border-radius: 0px;
526
- border-radius: 0;
527
  }
528
 
529
  #ngg_page_content .ngg_page_content_main select {
530
- -webkit-appearance: none;
531
  }
532
 
533
  #ngg_page_content .ngg_page_content_main select {
534
- background-image: url(dropdown_arrow.png);
535
- background-size: 10px 10px;
536
- background-repeat: no-repeat;
537
- background-position: 95% 55%;
538
  }
539
 
540
  #ngg_page_content .ngg_page_content_main .select2-container {
541
- width: 200px !important;
542
- line-height: 0;
543
  }
544
 
545
  #ngg_page_content .ngg_page_content_main .select2-selection--multiple,
546
  #ngg_page_content .ngg_page_content_main .select2-selection--single {
547
- border: 1px solid #ddd;
548
- border-radius: 0;
549
- height: 35px;
550
- line-height: 35px;
551
- padding-top: 1px;
552
  }
553
 
554
- #ngg_page_content .ngg_page_content_main .thumbnail_options .select2-selection--multiple {
555
- height: auto;
556
- padding-right: 3px;
 
 
 
557
  }
558
 
559
- #ngg_page_content .ngg_page_content_main .thumbnail_options .select2-selection--multiple .select2-search__field {
560
- width: 100% !important;
 
 
 
 
561
  }
562
 
563
- #ngg_page_content .select2-container--default .select2-selection--single .select2-selection__arrow {
564
- top: 4px;
565
- display: none;
 
 
 
566
  }
567
 
568
  #ngg_page_content .ngg_page_content_main .select2-search {
569
- width: 100%;
570
  }
571
 
572
  #ngg_page_content .ngg_page_content_main .select2-search__field {
573
- border-radius: 3px;
574
  }
575
 
576
  #ngg_page_content .ngg_page_content_main .select2-selection__choice {
577
- background: #9fbb1a;
578
- background-image: none;
579
- border: none;
580
- box-shadow: none;
581
- color: #fff;
582
- line-height: 20px;
583
- padding: 7px 10px 7px 8px;
584
- width: 92%;
585
  }
586
 
587
  #ngg_page_content .ngg_page_content_main .select2-selection__choice__remove {
588
- color: #fff;
589
- margin-right: 6px;
590
  }
591
 
592
- #ngg_page_content .ngg_page_content_main div[data-id="lightbox_effects"] input,
593
  #ngg_page_content .ngg_page_content_main div[data-id="lightbox_effects"] select,
594
- #ngg_page_content .ngg_page_content_main div[data-id="lightbox_effects"] .select2-container {
595
- width: 250px;
 
 
 
596
  }
597
 
598
  #ngg_page_content.ngg_settings_page .ngg_page_content_main input[type="radio"],
599
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main input[type="radio"] {
600
- border-radius: 50% !important;
601
- height: 16px !important;
602
- width: 16px !important;
603
- padding: 0 !important;
604
- vertical-align: middle;
605
- }
606
-
607
- #ngg_page_content.ngg_settings_page .ngg_page_content_main input[type="radio"]:checked:before,
608
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main input[type="radio"]:checked:before {
609
- background-color: #9FBB1A;
610
- border-radius: 50%;
611
- color: transparent;
612
- content: "\2022";
613
- display:block;
614
- height: 17px;
615
- margin: -1px 0 0 -1px;
616
- vertical-align: middle;
617
- width: 17px;
 
 
 
 
 
 
 
 
 
 
618
  }
619
 
620
  /***** 5) NGG Admin CSS: Tables *****/
621
 
622
  #ngg_page_content.ngg_settings_page .ngg_page_content_main table,
623
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table {
624
- color: rgba(29, 36, 42, 0.85);
625
- border-collapse: collapse;
626
- width: 100%;
 
 
 
 
627
  }
628
 
629
  #ngg_page_content table .sorting-indicator:before {
630
- color: #fff !important;
631
  }
632
 
633
  #attach_to_post_tabs #displayed_tab #display_settings_tab_content table tr,
634
  #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr {
635
- border: 1px solid rgb(247, 248, 243);
636
- padding: 5px 0 !important;
637
- height: auto;
638
  }
639
 
640
  #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr td,
641
  #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th,
642
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td {
643
- line-height: 30px;
644
- vertical-align: middle;
645
- padding: 10px 20px;
646
- box-sizing: border-box;
647
- }
648
-
649
- .ngg-admin #ngg_page_content .widefat td,
 
 
 
 
 
 
650
  .ngg-admin #ngg_page_content .widefat th {
651
- padding: 10px;
652
- color: rgba(118, 169, 52, 0.75);
653
- color: #aaa;
654
- vertical-align: middle;
655
  }
656
-
657
  .ngg-admin #ngg_page_content .widefat thead th,
658
  .ngg-admin #ngg_page_content .widefat tfoot th {
659
- padding: 0 10px;
660
- color: #fff;
661
- text-transform: uppercase;
662
  }
663
 
664
  #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th {
665
- font-weight: normal !important;
666
- font-size: 13px !important;
667
- line-height: 1.5 !important;
668
- }
669
-
670
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td:first-of-type {
671
- width: 300px;
672
- text-align: left;
673
- font-weight: 400;
674
- padding-top: 8px;
675
- }
676
-
677
- #ngg_page_content.ngg_settings_page .ngg_page_content_main table table tr td:first-of-type,
678
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table table tr td:first-of-type {
679
- width: auto;
680
- font-weight: 400;
681
- padding: 10px 20px;
682
- }
683
-
684
- #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr:nth-of-type(2n),
685
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr:nth-of-type(2n) {
686
- background-color: #f7f7f7;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
687
  }
688
 
689
  #ngg_page_content.ngg_settings_page .ngg_page_content_main tr.watermark_field {
690
- padding: 10px 0 !important;
691
  }
692
 
693
- #ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table {
694
- border: 1px solid #d3e1c8;
 
 
 
695
  }
696
 
697
- #ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table td {
698
- padding: 5px 15px !important;
 
 
 
 
699
  }
700
 
701
- #ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table td:first-of-type {
702
- width: auto !important;
 
 
 
 
703
  }
704
 
705
- #ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table tr {
706
- border: none;
707
- padding: 0 !important;
 
 
 
 
708
  }
709
 
710
- #ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field img {
711
- max-width: 100%;
 
 
 
712
  }
713
 
714
  #ngg_page_content.ngg_settings_page .ngg_page_content_main label,
715
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main label,
 
 
 
 
716
  #ngg_page_content.ngg_settings_page .ngg_page_content_main p.description {
717
- font-size: 14px;
718
- color: #666;
719
  }
720
 
721
  #ngg_page_content.ngg_settings_page .ngg_page_content_main label {
722
- margin-right: 5px;
723
  }
724
 
725
- #ngg_page_content.ngg_settings_page .ngg_page_content_main label:last-of-type {
726
- margin-right: 15px;
727
  }
728
 
729
- #ngg_page_content.ngg_settings_page .nextgen_settings_position tr:nth-of-type(2n),
 
 
730
  #ngg_page_content.ngg_settings_page .nextgen_settings_position td {
731
- border: none !important;
732
  }
733
 
734
  #ngg_page_content.ngg_settings_page .nextgen_pro_lightbox_admin_header {
735
- background: black !important;
736
- margin-top: 20px;
737
  }
738
 
739
  .nextgen_pro_lightbox_admin_header td {
740
- padding-left: 0 !important;
741
  }
742
 
743
  .nextgen_pro_lightbox_admin_header td {
744
- padding: 10px 0 !important;
745
  }
746
 
747
  .nextgen_pro_lightbox_admin_header td h3 {
748
- color: #fff !important;
749
- margin: 0 0 0 20px !important;
750
- font-size: 13px !important;
751
- letter-spacing: 1.5px;
752
  }
753
 
754
  #tr_photocrati-nextgen_basic_imagebrowser_ngg_triggers_display,
755
  #tr_photocrati-nextgen_basic_slideshow_ngg_triggers_display {
756
- display:none;
757
  }
758
 
759
  /***** 6) NGG Admin CSS: NextGEN Pro Custom Post Types *****/
@@ -761,234 +869,241 @@ table.nextgen_settings_position {
761
  /* First, CSS for post type lists */
762
 
763
  .ngg-post-type #screen-meta .metabox-prefs.view-mode {
764
- display: none;
765
  }
766
 
767
  .ngg-post-type .ngg_page_content_main .button,
768
  .ngg-post-type .ngg_page_content_main .page-title-action {
769
- background-color: black !important;
770
- color: #fff !important;
771
- border: none !important;
772
- box-shadow: none !important;
773
- text-shadow: none !important;
774
- height: 35px !important;
775
- padding: 0 15px !important;
776
- line-height: 35px;
777
- width: auto !important;
778
- text-transform: uppercase;
779
- letter-spacing: 1px;
780
- font-size: 11px;
781
  }
782
 
783
  .ngg-post-type .ngg_page_content_main .button:hover,
784
  .ngg-post-type .ngg_page_content_main .page-title-action:hover {
785
- background-color: #383838 !important;
786
  }
787
 
788
  .ngg-post-type .ngg_page_content_main .page-title-action {
789
- padding: 10px 18px !important;
790
- margin-left: 10px;
791
- top: -4px;
792
  }
793
 
794
  .ngg-post-type .notice,
795
  .ngg-post-type div#setting-error-tgmpa {
796
- display: none;
797
  }
798
 
799
  .ngg-post-type .ngg_page_content_main .tablenav {
800
- margin: 0 0 20px;
801
  }
802
 
803
  .ngg-post-type .ngg_page_content_main .tablenav .actions,
804
  .ngg-post-type .ngg_page_content_main .tablenav .tablenav-pages {
805
- margin: 10px 0;
806
  }
807
 
808
  .ngg-post-type .ngg_page_content_main .tablenav-pages-navspan,
809
  .ngg-post-type .ngg_page_content_main .tablenav .tablenav-pages a {
810
- background: #556472;
811
- border: none;
812
- color: #fff !important;
813
- margin: 0 2px;
814
  }
815
 
816
- .ngg-post-type #ngg_page_content .ngg_page_content_main .tablenav input.current-page {
817
- width: 50px !important;
 
 
 
 
818
  }
819
 
820
  .ngg-post-type .ngg_page_content_main table {
821
- box-shadow: none;
822
- table-layout: auto;
823
- border: 1px solid rgba(159, 187, 26, 0.08)
824
  }
825
 
826
  .ngg-post-type .ngg_page_content_main table thead,
827
  .ngg-post-type .ngg_page_content_main table tfoot {
828
- background-color: black;
829
- text-transform: uppercase;
830
  }
831
 
832
  .ngg-post-type .ngg_page_content_main table tfoot {
833
- background-color: black;
834
  }
835
 
836
  .ngg-post-type .ngg_page_content_main table thead a,
837
  .ngg-post-type .ngg_page_content_main table tfoot a {
838
- padding: 0;
839
  }
840
 
841
  .ngg-post-type .ngg_page_content_main table thead span,
842
  .ngg-post-type .ngg_page_content_main table tfoot span {
843
- color: #fff;
844
- font-size: 15px;
845
  }
846
 
847
- .ngg-post-type .ngg_page_content_main table thead th,
848
  .ngg-post-type .ngg_page_content_main table thead td {
849
- background-color: transparent;
850
- border: none;
851
- color: #fff;
852
  }
853
 
854
  .ngg-post-type .ngg_page_content_main table thead td {
855
- padding: 12px 5px !important;
856
  }
857
 
858
  .ngg-post-type #ngg_page_content .ngg_page_content_main input[type="checkbox"] {
859
- height: 13px !important;
860
- width: 13px !important;
861
- min-width: auto;
862
- margin-top: 2px;
863
  }
864
 
865
- .ngg-post-type #ngg_page_content .ngg_page_content_main input[type=checkbox]:checked:before {
866
- color: #9FBB1A;
867
- margin: -5px 0 0 -5px;
 
 
 
868
  }
869
 
870
  .ngg-post-type #ngg_page_content .sorting-indicator:before {
871
- color: #fff !important;
872
  }
873
 
874
- .ngg-post-type .ngg_page_content_main .striped>tbody>:nth-child(odd) {
875
- background-color: #f7f7f7;
876
- }
877
 
878
  .ngg-post-type .ngg_page_content_main a.row-title {
879
- font-weight: 400;
880
  }
881
 
882
  .ngg-post-type .ngg_page_content_main .row-actions {
883
- left: 0;
884
- padding-top: 0;
885
- }
886
 
887
  .ngg-post-type .ngg_page_content_main .row-actions a {
888
- color: rgba(118, 169, 52, 0.75) !important;
889
- color: #aaa !important;
890
- }
891
 
892
  .ngg-post-type .ngg_page_content_main td.column-title strong {
893
- margin-bottom: 0;
894
- }
895
 
896
  .ngg-post-type #wpbody-content .quick-edit-row-page .inline-edit-col-left {
897
- width: 100%;
898
  }
899
 
900
- .ngg-post-type #ngg_page_content .widefat td,
901
  .ngg-post-type #ngg_page_content .widefat th {
902
- padding: 10px;
903
- color: rgba(118, 169, 52, 0.75);
904
- color: #aaa;
905
- vertical-align: middle;
906
  }
907
-
908
  .ngg-post-type #ngg_page_content .widefat thead th,
909
  .ngg-post-type #ngg_page_content .widefat tfoot th {
910
- padding: 0 10px;
911
- color: #fff;
912
- text-transform: uppercase;
913
  }
914
 
915
  .ngg-post-type .ngg_page_content_main .tablenav.bottom {
916
- margin: 10px 0 0;
917
  }
918
 
919
  /* Second, CSS for individual post type edit pages */
920
 
921
  #ngg_page_content #titlediv input#title {
922
- font-size: 22px;
923
- padding: 24px 12px;
924
- color: #383838;
925
- letter-spacing: .5px;
926
- font-weight: 400;
927
  }
928
 
929
  .ngg-post-type #ngg_page_content h3.accordion_tab,
930
  .ngg-admin #postbox-container-2 h2.ui-sortable-handle {
931
- padding: 10px;
932
- background: black;
933
- margin-bottom: 0;
934
  }
935
 
936
  .ngg-post-type #ngg_page_content h3.accordion_tab a,
937
  .ngg-admin #postbox-container-2 h2.ui-sortable-handle {
938
- color: #fff;
939
- text-decoration: none;
940
- text-transform: uppercase;
941
- font-weight: 400;
942
- font-size: 15px;
943
- letter-spacing: 2px;
944
- margin-left: 6px;
945
  }
946
 
947
  .ngg-post-type .accordion > div,
948
  .ngg-admin #postbox-container-2 .postbox {
949
- border-left: 1px solid #eeeeee;
950
- border-bottom: 1px solid #eeeeee;
951
- border-right: 1px solid #eeeeee;
952
- margin-bottom: 30px;
953
- background-color: #fcfcfc;
954
  }
955
 
956
  .ngg-post-type .accordion > div {
957
- padding: 20px;
958
- margin-bottom: 30px;
959
  }
960
 
961
  .ngg-post-type .accordion > div table {
962
- border: none;
963
  }
964
 
965
  .ngg-admin #postbox-container-2 .postbox .inside {
966
- margin: 0;
967
  }
968
 
969
  .ngg-admin #postbox-container-2 .postbox .inside a {
970
- color: #9fbb1a;
971
  }
972
 
973
  .ngg-admin #postbox-container-2 .postbox .inside th,
974
  .ngg-admin #postbox-container-2 .postbox .inside td {
975
- padding: 5px 10px;
976
  }
977
 
978
  .ngg-post-type .accordion > div .button-primary,
979
  .ngg-admin #postbox-container-2 .postbox .inside .button-primary {
980
- margin: 15px 0 0;
981
  }
982
 
983
- .ngg-post-type table input[type=text] {
984
- margin: 0;
985
  }
986
 
987
  /* Third, overrides for some specific post type pages */
988
 
989
  .post-type-ngg_order #ngg_page_content .ngg_page_content_main,
990
  .post-type-nextgen_proof #ngg_page_content .ngg_page_content_main {
991
- padding-left: 10px;
992
  }
993
 
994
  .post-type-ngg_order.post-php .wp-heading-inline,
@@ -998,277 +1113,306 @@ table.nextgen_settings_position {
998
  .post-type-nextgen_proof.post-php #submitdiv,
999
  .post-type-nextgen_proof #post-body-content .inside,
1000
  .post-type-nextgen_proof.post-php .toggle-indicator {
1001
- display:none;
1002
  }
1003
 
1004
  .post-type-ngg_order.post-php #poststuff #post-body.columns-2,
1005
  .post-type-nextgen_proof.post-php #poststuff #post-body.columns-2 {
1006
- margin-right: 300px;
1007
- margin-right: 100px;
1008
  }
1009
 
1010
  .post-type-ngg_order.post-php #post-body.columns-2 #postbox-container-1,
1011
  .post-type-nextgen_proof.post-php #post-body.columns-2 #postbox-container-1 {
1012
- width: 80px;
1013
- margin-right: -100px;
1014
  }
1015
 
1016
  .post-type-ngg_order.post-php #side-sortables,
1017
  .post-type-nextgen_proof.post-php #side-sortables {
1018
- border:none;
1019
  }
1020
 
1021
  .post-type-ngg_order.post-php #post-body-content {
1022
- margin-bottom: 0;
1023
  }
1024
 
1025
  .post-type-ngg_order.post-php #post-body.columns-2 #postbox-container-2 {
1026
- float: none;
1027
  }
1028
 
1029
  .post-type-ngg_order.post-php #postbox-container-2 .postbox,
1030
  .post-type-nextgen_proof.post-php #postbox-container-2 .postbox {
1031
- background-color: #ffffff;
1032
  }
1033
 
1034
  .post-type-ngg_order.post-php #normal-sortables {
1035
- min-height: 10px !important;
1036
  }
1037
 
1038
  .post-type-ngg_order.post-php #postbox-container-2 h2.ui-sortable-handle,
1039
  .post-type-nextgen_proof.post-php #postbox-container-2 h2.ui-sortable-handle {
1040
- margin-left: 0;
1041
- padding-left: 16px;
1042
  }
1043
 
1044
  .post-type-ngg_order.post-php .inside h4,
1045
  .post-type-nextgen_proof.post-php .inside h4 {
1046
- padding: 5px 10px;
1047
- text-decoration: none !important;
1048
- text-transform: uppercase;
1049
- font-weight: 400;
1050
  }
1051
 
1052
  .post-type-ngg_order.post-php .inside,
1053
  .post-type-nextgen_proof.post-php .inside {
1054
- padding: 30px;
1055
- font-size: 14px;
1056
  }
1057
 
1058
  .post-type-nextgen_proof #normal-sortables .closed .inside {
1059
- display: block !important;
1060
  }
1061
 
1062
  .post-type-ngg_order.post-php th,
1063
  .post-type-nextgen_proof.post-php th {
1064
- text-transform: uppercase;
1065
- font-size: 15px;
1066
- letter-spacing: 1px;
1067
- font-weight: 400;
1068
- padding-bottom: 10px !important;
1069
- color: black !important;
1070
  }
1071
 
1072
- .post-type-ngg_order.post-php table thead,
1073
  .post-type-ngg_order.post-php table tfoot,
1074
- .post-type-nextgen_proof.post-php.post-php table thead,
1075
  .post-type-nextgen_proof.post-php.post-php table tfoot {
1076
- background-color: transparent !important;
1077
  }
1078
 
1079
  .post-type-ngg_order .ngg_pro_order_info > table {
1080
- max-width: 1200px;
1081
- background: #fcfcfc;
1082
- box-shadow: none;
1083
- font-size: 14px;
1084
  }
1085
 
1086
  .post-type-nextgen_proof .row-actions .inline {
1087
- display: none;
1088
  }
1089
 
1090
  /* Extras: Fix for Pro ecom styling when not running updated Pro */
1091
 
1092
  #ngg_page_content .ngg_payment_gateway_enable_row {
1093
- background: black !important;
1094
  }
1095
 
1096
  /* 8) NGG Admin CSS: Media Queries */
1097
 
1098
  @media (max-width: 1240px) {
1099
- #ngg_page_content .ngg_page_content_header p {
1100
- display: none !important;
1101
- }
1102
  }
1103
 
1104
  @media (max-width: 782px) {
1105
- .about-wrap .three-col .col, .about-wrap .two-col .col {
1106
- min-width: 100%! important;
1107
- margin-left: 0;
1108
- margin-top: 1em;
1109
- }
1110
- .ngg-post-type #ngg_page_content button.toggle-row {
1111
- width: 40px !important;
1112
- height: 40px !important;
1113
- background: transparent !important;
1114
- }
1115
- .ngg-post-type tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column) {
1116
- padding: 3px 8px 3px 35%;
1117
- }
1118
- .ngg-post-type #ngg_page_content .ngg_page_content_main input[type=checkbox]:checked:before {
1119
- font: 400 20px/1 dashicons !important;
1120
- }
1121
-
1122
- #ngg_page_content .ngg_page_content_header img {
1123
- padding-right: 10px;
1124
- }
1125
- #ngg_page_content .ngg_page_content_header h3,
1126
- #ngg_page_content .ngg_overview .ngg_page_content_header h3 {
1127
- font-size: 14px;
1128
- }
1129
- #ngg_page_content .ngg_page_content_menu,
1130
- #ngg_page_content .ngg_overview .ngg_page_content_main,
1131
- #ngg_page_content.ngg_settings_page .ngg_page_content_main {
1132
- width: 100%;
1133
- }
1134
- #ngg_page_content .ngg_page_content_main,
1135
- #ngg_page_content.ngg_settings_page .ngg_page_content_main {
1136
- padding: 20px;
1137
- }
1138
- #ngg_page_content.ngg_settings_page .ngg_page_content_main table,
1139
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table,
1140
- #ngg_page_content.ngg_settings_page .ngg_page_content_main tbody,
1141
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main tbody {
1142
- display: block !important;
1143
- max-width: 100%;
1144
- }
1145
- #ngg_page_content.ngg_settings_page .ngg_page_content_main tbody.hidden {
1146
- display: none !important;
1147
- }
1148
- #attach_to_post_tabs #displayed_tab #ngg_page_content #slug_configuration {
1149
- display: none !important;
1150
- }
1151
- #attach_to_post_tabs #displayed_tab #display_settings_tab_content table tr,
1152
- #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr {
1153
- display: block !important;
1154
- padding: 10px 0 20px !important;
1155
- }
1156
- #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr td,
1157
- #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th,
1158
- #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td {
1159
- display: block;
1160
- padding: 2px 10px;
1161
- }
1162
- #ngg_page_content.ngg_settings_page .ngg_page_content_main table.nextgen_settings_position tr td {
1163
- display: table-cell;
1164
- }
1165
- #ngg_page_content.ngg_settings_page .ngg_page_content_main h2,
1166
- #ngg_page_content.ngg_settings_page .ngg_page_content_main h3 {
1167
- text-align: center;
1168
- }
1169
- #ngg_page_content.ngg_settings_page form > p {
1170
- width: 100%;
1171
- padding: 15px;
1172
- box-sizing: border-box;
1173
- }
1174
- #ngg_page_content .ngg_page_content_main input,
1175
- #ngg_page_content .ngg_page_content_main select {
1176
- max-width: 100%;
1177
- margin: 5px 0;
1178
- box-sizing: border-box;
1179
- }
1180
- #ngg_page_content .ngg_page_content_main input[type="text"],
1181
- #ngg_page_content .ngg_page_content_main input[type="number"],
1182
- #ngg_page_content .ngg_page_content_main select,
1183
- #ngg_page_content .ngg_page_content_main .select2-container {
1184
- width: 100% !important;
1185
- }
1186
- #ngg_page_content button.wp-color-result {
1187
- width: auto !important;
1188
- }
1189
- #ngg_page_content button.wp-color-result .wp-color-result-text {
1190
- line-height: 22px;
1191
- }
1192
- .ngg-post-type .ngg_page_content_main .subsubsub {
1193
- width: 100%;
1194
- }
1195
- .ngg-post-type .ngg_page_content_main .tablenav .actions {
1196
- width: 100%;
1197
- }
1198
- .ngg-post-type #ngg_page_content .ngg_page_content_main input,
1199
- .ngg-post-type #ngg_page_content .ngg_page_content_main select {
1200
- width: 100% !important;
1201
- max-width: 100%;
1202
- margin: 5px 0;
1203
- box-sizing: border-box;
1204
- }
1205
- #ngg_page_content input[type=checkbox] {
1206
- width: 16px !important;
1207
- }
1208
- #ngg_page_content button,
1209
- #ngg_page_content .button-primary,
1210
- #ngg_page_content .button-secondary {
1211
- width: 100% !important;
1212
- margin: 4px 0;
1213
- display: block;
1214
- text-align: center;
1215
- }
1216
- #ngg_page_content .ngg_save_settings_button {
1217
- position: static;
1218
- }
1219
- .ngg-post-type .ngg_page_content_main .button,
1220
- .ngg-post-type .ngg_page_content_main .page-title-action {
1221
- width: 80%!important;
1222
- margin: 4px 0;
1223
- display: block;
1224
- text-align: center;
1225
- margin: 10px auto 20px;
1226
- padding: 0 !important;
1227
- }
1228
- .ngg-post-type .ngg_page_content_main .displaying-num {
1229
- display: none;
1230
- }
1231
- #gallery_selection label {
1232
- display: block;
1233
- padding-bottom: 8px;
1234
- }
1235
- .post-type-ngg_pricelist .accordion table {
1236
- width: 100% !important;
1237
- }
1238
- .post-type-ngg_pricelist .accordion #manual_shipping_options td {
1239
- display:block;
1240
- width: 100% !important;
1241
- }
1242
- .post-type-ngg_pricelist #ngg_page_content .accordion table input.shipping_rate {
1243
- width: 100%;
1244
- max-width: 100%;
1245
- }
1246
- .post-type-ngg_pricelist .accordion input[type=checkbox]:checked:before {
1247
- font: 400 21px/1 dashicons;
1248
- }
1249
- .ngg-post-type #ngg_page_content h1 {
1250
- text-align: center;
1251
- display: block;
1252
- }
1253
- /* Responsive Navigation on Mobile */
1254
- #ngg_page_content .responsive-menu-icon {
1255
- display: block;
1256
- padding: 10px 0 15px;
1257
- }
1258
- #ngg_page_content .responsive-menu {
1259
- display: none;
1260
- margin: 0;
1261
- }
1262
- #ngg_page_content .responsive-menu a {
1263
- display: block;
1264
- }
1265
- #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after,
1266
- #ngg_page_content .ngg_page_content_menu a:active:after {
1267
- display:none;
1268
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1269
  }
1270
 
1271
  .ngg_admin_notice.notice-success,
1272
  .ngg_admin_notice.updated {
1273
- border-left-color: #9dbd1b;
1274
  }
27
  /***** 1) NGG Admin CSS: Original 2.0 CSS *****/
28
 
29
  .ngg-admin .notice,
30
+ .ngg-admin div.updated,
31
  .ngg-admin div.error {
32
+ margin: 20px 15px 0 0;
33
  }
34
 
35
+ .ngg-admin #ngg_page_content .notice,
36
+ .ngg-admin #ngg_page_content div.updated,
37
  .ngg-admin #ngg_page_content div.error {
38
+ margin: 20px 0 25px 0;
39
  }
40
 
41
  .hidden {
42
+ display: none;
43
  }
44
 
45
  .nextgen_advanced_toggle_link {
46
+ font-size: 11px;
47
+ position: relative;
48
+ bottom: 5px;
49
+ color: #444444;
50
  }
51
 
52
  .url_field {
53
+ width: 400px;
54
+ max-width: 100%;
55
  }
56
 
57
  .nextgen_settings_field_colorpicker {
58
+ width: 85px !important;
59
+ text-align: center;
60
+ margin-left: 50px;
61
  }
62
 
63
  /* These three rules are to prevent 'WP Social Widget' from breaking our use of the WP Color Picker */
64
  #ngg_page_content .wp-picker-container {
65
+ position: initial !important;
66
  }
67
  #ngg_page_content .wp-picker-holder {
68
+ position: initial !important;
69
  }
70
  #ngg_page_content .wp-picker-input-wrap {
71
+ position: initial !important;
72
  }
73
 
74
  #nextgen_settings_wmXpos,
75
  #nextgen_settings_wmYpos {
76
+ width: 65px !important;
77
  }
78
 
79
  table.nextgen_settings_position {
80
+ width: auto !important;
81
  }
82
 
 
83
  #ngg_page_content span.tooltip,
84
  #ngg_page_content label.tooltip {
85
+ outline: none;
86
+ background-image: url("information.png");
87
+ background-repeat: no-repeat;
88
+ padding-left: 22px;
89
+ padding-bottom: 4px;
90
+ background-size: 18px;
91
  }
92
 
93
+ body div.ui-tooltip {
94
+ opacity: 0.9;
95
+ background: white;
96
+ color: black;
97
+ }
98
+
99
+ #ngg_page_content .ui-tooltip #poststuff .ui-accordion h3 {
100
+ padding-left: 25px;
101
  }
102
 
103
  #lightbox_effects_content table tr td:first-child {
104
+ vertical-align: top;
105
+ text-align: right;
106
+ padding-right: 7px;
107
+ padding-top: 5px;
108
  }
109
 
110
  #lightbox_effects_content tr {
111
+ height: 28px;
112
  }
113
 
114
  /***** 2) NGG Admin CSS: General Styles *****/
115
 
116
  .ngg-admin #screen-meta-links {
117
+ padding-bottom: 20px;
118
  }
119
 
120
  .ngg-admin #wpbody {
121
+ position: static;
122
  }
123
 
124
  #ngg_page_content {
125
+ background: #ffffff;
126
+ box-shadow: 0 0 12px 6px rgba(0, 0, 0, 0.03);
127
+ box-sizing: border-box;
128
+ font-family: lato, sans-serif;
129
+ float: left;
130
+ height: auto;
131
+ margin-top: 25px;
132
+ padding: 20px 40px;
133
+ width: 98%;
134
+ color: black;
135
+ font-size: 15px;
136
+ letter-spacing: 0.3px;
137
+ font-weight: 500;
138
+ }
139
+
140
+ #adminmenu .wp-submenu a[href*="ngg_pro_upgrade"] {
141
+ color: #9fbb1a;
142
+ font-weight: 600;
 
143
  }
144
 
145
  .toplevel_page_nextgen-gallery #ngg_page_content {
146
+ margin-top: 20px;
147
  }
148
 
149
  #ngg_page_content.ngg_settings_page {
150
+ background: #fff;
151
  }
152
 
153
+ .ngg_manage_albums,
154
+ .ngg_manage_galleries,
155
  .ngg_manage_images,
156
  .ngg_manage_images,
157
  .ngg_gallery_sort {
158
+ background: #ffffff;
159
  }
160
 
161
  #ngg_page_content .wrap {
162
+ margin: 0;
163
  }
164
 
165
  #ngg_page_content .about-wrap {
166
+ max-width: 100%;
167
+ float: left;
168
  }
169
 
170
  .about-wrap [class$="-col"] {
171
+ display: flex;
172
+ justify-content: space-between;
173
+ flex-wrap: wrap;
174
  }
175
 
176
  .about-wrap [class$="-col"] .col {
177
+ flex: 1;
178
+ align-self: flex-start;
179
  }
180
 
181
+ .about-wrap [class$="-col"] .col + .col {
182
+ margin-left: 20px;
183
  }
184
 
185
  .about-wrap .two-col img {
186
+ margin-bottom: 1.5em;
187
  }
188
 
189
  .about-wrap .headline-feature {
190
+ max-width: none;
191
+ margin: 0 0 40px 0;
192
  }
193
 
194
  #ngg_page_content a {
195
+ color: #9fbb1a;
196
  }
197
 
198
  #ngg_page_content button,
199
  #ngg_page_content .button-primary,
200
  #ngg_page_content .button-secondary {
201
+ background-color: #9fbb1a;
202
+ background-color: black;
203
+ color: #fff !important;
204
+ border: none !important;
205
+ box-shadow: none !important;
206
+ text-shadow: none !important;
207
+ outline: none !important;
208
+ height: 35px !important;
209
+ padding: 0 24px !important;
210
+ line-height: 35px;
211
+ width: auto !important;
212
+ border-radius: 0px;
213
+ text-transform: uppercase;
214
+ letter-spacing: 1px;
215
+ font-size: 11px;
216
+ font-weight: bold;
217
+ font-family: Lato, sans-serif;
218
+ vertical-align: middle;
219
  }
220
 
221
  #ngg_page_content button:hover,
222
  #ngg_page_content .button-primary:hover,
223
  #ngg_page_content .button-secondary:hover {
224
+ background-color: #383838;
225
  }
226
 
227
  #ngg_page_content button:hover,
228
  #ngg_page_content .button-primary:hover,
229
  #ngg_page_content .button-secondary:hover {
230
+ vertical-align: middle;
231
  }
232
 
233
+ #ngg_page_content button:disabled,
234
+ #ngg_page_content .button-primary:disabled,
235
  #ngg_page_content .button-secondary:disabled {
236
+ background: #bbb !important;
237
  }
238
 
239
  #ngg_page_content .button-secondary {
240
+ background-color: #888 !important;
241
  }
242
 
243
+ .ngg-admin #ngg_page_content .notice button,
244
+ .ngg-admin #ngg_page_content div.updated button,
245
  .ngg-admin #ngg_page_content div.error button {
246
+ background-color: transparent !important;
247
+ padding: 0;
248
  }
249
 
250
  #ngg_page_content button,
251
+ .ngg-admin .notice button,
252
+ .ngg-admin div.updated button,
253
  .ngg-admin div.error button {
254
+ background: transparent;
255
  }
256
 
257
  #ngg_page_content button.wp-color-result {
258
+ height: 100% !important;
259
+ padding: 0 0 0 30px !important;
260
+ border: 1px solid #ddd !important;
261
  }
262
 
263
  #ngg_page_content button.wp-color-result:hover {
264
+ background-color: transparent;
265
  }
266
 
267
  #ngg_page_content input[type="checkbox"] {
268
+ height: 16px !important;
269
+ width: 16px !important;
270
  }
271
 
272
  #ngg_page_content.ngg_settings_page form > p {
273
+ width: 81%;
274
+ background: #fff;
275
+ margin: 0;
276
+ float: right;
277
  }
278
 
279
  #ngg_page_content .ngg_save_settings_button {
280
+ position: absolute;
281
+ right: 61px;
282
+ top: 128px;
283
  }
284
 
285
+ .ecommerce_page_ngg-ecommerce-instructions-page
286
+ #ngg_page_content
287
+ .ngg_save_settings_button {
288
+ display: none;
289
  }
290
 
291
+ #ngg_page_content ::-webkit-input-placeholder {
292
+ /* Chrome */
293
  color: #aaa;
294
  }
295
+ #ngg_page_content :-ms-input-placeholder {
296
+ /* IE 10+ */
297
  color: #aaa;
298
  }
299
+ #ngg_page_content ::-moz-placeholder {
300
+ /* Firefox 19+ */
301
  color: #aaa;
302
  opacity: 1;
303
  }
304
+ #ngg_page_content :-moz-placeholder {
305
+ /* Firefox 4 - 18 */
306
  color: #aaa;
307
  opacity: 1;
308
  }
309
 
310
  .ngg-admin .select2-drop.select2-drop-above .select2-search input {
311
+ width: 100%;
312
  }
313
 
314
  /***** 3) NGG Admin CSS: Header and Menu *****/
315
 
316
  #ngg_page_content .ngg_page_content_header {
317
+ height: 80px;
318
+ margin-top: -23px;
319
+ margin-bottom: 24px;
320
+ }
321
 
322
  #ngg_page_content .ngg_page_content_header img {
323
+ height: 60px;
324
+ padding-top: 10px;
325
+ padding-right: 20px;
326
+ float: left;
327
+ width: auto;
328
  }
329
 
330
  #ngg_page_content .ngg_page_content_header h2,
331
  #ngg_page_content .ngg_page_content_header h3 {
332
+ line-height: 80px;
333
+ color: black;
334
+ font-size: 18px;
335
+ font-family: "Lato", sans-serif;
336
+ text-transform: uppercase;
337
+ letter-spacing: 2px;
338
+ text-align: left;
339
+ font-weight: 900;
340
  }
341
 
342
  #ngg_page_content .ngg_page_content_header p {
343
+ float: right;
344
+ margin: -98px 0 0 0;
345
+ font-size: 15px;
346
+ font-weight: bold;
347
+ color: black;
348
+ line-height: 80px;
349
+ letter-spacing: 0.3px;
350
  }
351
 
352
  #ngg_page_content .ngg_page_content_header p.ngg-header-promo {
353
+ margin: -113px -40px 0 0;
354
+ color: black;
355
+ line-height: 80px;
356
+ padding: 10px 20px;
357
+ background: #9ebc1b;
358
+ color: white;
359
+ line-height: 20px;
360
+ padding: 30px 290px 30px 24px;
361
+ display: inline-block;
362
+ max-width: 720px;
363
+ box-sizing: border-box;
364
  }
365
 
366
  #ngg_page_content .ngg_page_content_header .ngg-header-promo a {
367
+ margin-left: 16px !important;
368
+ position: absolute;
369
+ top: 32px;
370
+ right: 24px;
371
+ height: 38px !important;
372
+ line-height: 38px !important;
373
  }
374
 
375
  #ngg_page_content .ngg_page_content_header p.ngg-header-promo.black-friday {
376
+ padding: 30px 330px 30px 40px;
377
+ font-size: 16px;
378
  }
379
 
380
+ #ngg_page_content
381
+ .ngg_page_content_header
382
+ p.ngg-header-promo.black-friday
383
+ span {
384
+ text-transform: uppercase;
385
+ padding-bottom: 4px;
386
+ display: inline-block;
387
+ font-size: 20px;
388
  }
389
 
390
  #ngg_page_content .ngg_page_content_header .ngg-header-promo.black-friday a {
391
+ right: 40px;
392
  }
393
 
394
  #ngg_page_content .ngg_page_content_header .ngg-header-promo a:after {
395
+ content: "\f345";
396
+ font: normal 16px dashicons;
397
+ color: white !important;
398
+ display: inline-block;
399
+ position: relative;
400
+ top: 4px;
401
+ left: 6px;
402
  }
403
 
404
  #ngg_page_content .ngg_page_content_header .ngg_save_settings_button {
405
+ margin: 0 !important;
406
  }
407
 
408
  #ngg_page_content .ngg_page_content_menu {
409
+ padding: 20px;
410
+ width: 20%;
411
+ float: left;
412
+ padding: 0;
413
+ height: 100%;
414
+ background: transparent;
415
+ }
416
+
417
+ #ngg_page_content .ngg_page_content_menu a {
418
+ box-shadow: none !important;
419
+ border-left: 5px solid #ffffff;
420
+ cursor: pointer;
421
+ display: block;
422
+ padding: 10px 0 10px 20px;
423
+ line-height: 22px;
424
+ margin: 10px 0;
425
+ text-decoration: none;
426
+ color: black;
427
+ text-transform: uppercase;
428
+ font-size: 13px;
429
+ font-weight: 400;
430
+ letter-spacing: 1.2px;
431
  }
432
 
433
  .responsive-menu-icon {
434
+ cursor: pointer;
435
+ display: none;
436
+ margin-bottom: 5px;
437
+ text-align: left;
438
  }
439
 
440
  .responsive-menu-icon::before {
441
+ color: black;
442
+ content: "\f0c9";
443
+ display: block;
444
+ font: normal 20px/1 "Font Awesome 5 Free";
445
+ margin: 0 auto;
446
+ text-align: center;
447
+ font-weight: 900;
448
  }
449
 
450
+ #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active,
451
  #ngg_page_content .ngg_page_content_menu a:active {
452
+ outline: 0;
453
+ outline-width: 0;
454
+ outline-color: transparent;
455
+ border-left: 5px solid #9dbd1b;
456
+ position: relative;
457
+ color: black;
458
+ margin-right: -1px;
459
+ font-weight: 800;
460
  }
461
 
462
+ #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after,
463
  #ngg_page_content .ngg_page_content_menu a:active:after {
464
+ right: 0;
465
+ border: 8px solid transparent;
466
+ content: "";
467
+ width: 0;
468
+ position: absolute;
469
+ pointer-events: none;
470
+ border-right-color: #fff;
471
+ top: 50%;
472
+ margin-top: -8px;
473
  }
474
 
475
  /***** 4) NGG Admin CSS: Main Content *****/
476
 
477
  #ngg_page_content .ngg_page_content_main {
478
+ padding: 0 20px 20px 30px;
479
+ min-height: 600px;
480
+ float: left;
481
+ box-sizing: border-box;
482
+ width: 100%;
483
  }
484
 
485
  #ngg_page_content .ngg_gallery_sort .ngg_page_content_main {
486
+ min-height: 0;
487
  }
488
 
489
  .gallery_page_nggallery-manage-gallery #ngg_page_content .ngg_page_content_main,
490
  .gallery_page_nggallery-manage-album #ngg_page_content .ngg_page_content_main {
491
+ padding: 0 10px 30px;
492
  }
493
 
494
+ #ngg_page_content .ngg_overview .ngg_page_content_main,
495
  #ngg_page_content.ngg_settings_page .ngg_page_content_main {
496
+ width: 80%;
497
  }
498
 
499
+ .gallery_page_ngg_display_settings
500
+ #ngg_page_content.ngg_settings_page
501
+ .ngg_page_content_main {
502
+ min-height: 1000px;
503
  }
504
 
505
+ .gallery_page_ngg_other_options
506
+ #ngg_page_content.ngg_settings_page
507
+ .ngg_page_content_main {
508
+ min-height: 400px;
509
  }
510
 
511
  #ngg_page_content .ngg_manage_tags .ngg_page_content_main {
512
+ padding: 0;
513
  }
514
 
515
  #ngg_page_content.ngg_settings_page .ngg_page_content_main > div,
516
  #ngg_page_content .ngg_overview .ngg_page_content_main > div,
517
+ #attach_to_post_tabs
518
+ #displayed_tab
519
+ #ngg_page_content
520
+ .ngg_page_content_main
521
+ > div {
522
+ display: none;
523
  }
524
 
525
  #ngg_page_content.ngg_settings_page .ngg_page_content_main > div:first-of-type,
526
  #ngg_page_content .ngg_overview .ngg_page_content_main > div:first-of-type,
527
+ #attach_to_post_tabs
528
+ #displayed_tab
529
+ #ngg_page_content
530
+ .ngg_page_content_main
531
+ > div:first-of-type {
532
+ display: block;
533
  }
534
 
535
  #ngg_page_content.ngg_settings_page .ngg_page_content_main h3 {
536
+ color: rgba(29, 36, 42, 0.85);
537
+ font-size: 18px;
538
+ margin: 20px 0 30px;
539
+ text-transform: uppercase;
540
  }
541
 
542
  #ngg_page_content .ngg_page_content_main input,
543
  #ngg_page_content .ngg_page_content_main select {
544
+ color: #888;
545
+ height: 35px;
546
+ border: 1px solid #ddd;
547
+ padding-left: 10px;
548
+ box-shadow: none;
549
+ width: 200px;
550
+ -webkit-border-radius: 0px;
551
+ border-radius: 0;
552
  }
553
 
554
  #ngg_page_content .ngg_page_content_main select {
555
+ -webkit-appearance: none;
556
  }
557
 
558
  #ngg_page_content .ngg_page_content_main select {
559
+ background-image: url(dropdown_arrow.png);
560
+ background-size: 10px 10px;
561
+ background-repeat: no-repeat;
562
+ background-position: 95% 55%;
563
  }
564
 
565
  #ngg_page_content .ngg_page_content_main .select2-container {
566
+ width: 200px !important;
567
+ line-height: 0;
568
  }
569
 
570
  #ngg_page_content .ngg_page_content_main .select2-selection--multiple,
571
  #ngg_page_content .ngg_page_content_main .select2-selection--single {
572
+ border: 1px solid #ddd;
573
+ border-radius: 0;
574
+ height: 35px;
575
+ line-height: 35px;
576
+ padding-top: 1px;
577
  }
578
 
579
+ #ngg_page_content
580
+ .ngg_page_content_main
581
+ .thumbnail_options
582
+ .select2-selection--multiple {
583
+ height: auto;
584
+ padding-right: 3px;
585
  }
586
 
587
+ #ngg_page_content
588
+ .ngg_page_content_main
589
+ .thumbnail_options
590
+ .select2-selection--multiple
591
+ .select2-search__field {
592
+ width: 100% !important;
593
  }
594
 
595
+ #ngg_page_content
596
+ .select2-container--default
597
+ .select2-selection--single
598
+ .select2-selection__arrow {
599
+ top: 4px;
600
+ display: none;
601
  }
602
 
603
  #ngg_page_content .ngg_page_content_main .select2-search {
604
+ width: 100%;
605
  }
606
 
607
  #ngg_page_content .ngg_page_content_main .select2-search__field {
608
+ border-radius: 3px;
609
  }
610
 
611
  #ngg_page_content .ngg_page_content_main .select2-selection__choice {
612
+ background: #9fbb1a;
613
+ background-image: none;
614
+ border: none;
615
+ box-shadow: none;
616
+ color: #fff;
617
+ line-height: 20px;
618
+ padding: 7px 10px 7px 8px;
619
+ width: 92%;
620
  }
621
 
622
  #ngg_page_content .ngg_page_content_main .select2-selection__choice__remove {
623
+ color: #fff;
624
+ margin-right: 6px;
625
  }
626
 
627
+ #ngg_page_content .ngg_page_content_main div[data-id="lightbox_effects"] input,
628
  #ngg_page_content .ngg_page_content_main div[data-id="lightbox_effects"] select,
629
+ #ngg_page_content
630
+ .ngg_page_content_main
631
+ div[data-id="lightbox_effects"]
632
+ .select2-container {
633
+ width: 250px;
634
  }
635
 
636
  #ngg_page_content.ngg_settings_page .ngg_page_content_main input[type="radio"],
637
+ #attach_to_post_tabs
638
+ #displayed_tab
639
+ #ngg_page_content
640
+ .ngg_page_content_main
641
+ input[type="radio"] {
642
+ border-radius: 50% !important;
643
+ height: 16px !important;
644
+ width: 16px !important;
645
+ padding: 0 !important;
646
+ vertical-align: middle;
647
+ }
648
+
649
+ #ngg_page_content.ngg_settings_page
650
+ .ngg_page_content_main
651
+ input[type="radio"]:checked:before,
652
+ #attach_to_post_tabs
653
+ #displayed_tab
654
+ #ngg_page_content
655
+ .ngg_page_content_main
656
+ input[type="radio"]:checked:before {
657
+ background-color: #9fbb1a;
658
+ border-radius: 50%;
659
+ color: transparent;
660
+ content: "\2022";
661
+ display: block;
662
+ height: 17px;
663
+ margin: -1px 0 0 -1px;
664
+ vertical-align: middle;
665
+ width: 17px;
666
  }
667
 
668
  /***** 5) NGG Admin CSS: Tables *****/
669
 
670
  #ngg_page_content.ngg_settings_page .ngg_page_content_main table,
671
+ #attach_to_post_tabs
672
+ #displayed_tab
673
+ #ngg_page_content
674
+ .ngg_page_content_main
675
+ table {
676
+ color: rgba(29, 36, 42, 0.85);
677
+ border-collapse: collapse;
678
+ width: 100%;
679
  }
680
 
681
  #ngg_page_content table .sorting-indicator:before {
682
+ color: #fff !important;
683
  }
684
 
685
  #attach_to_post_tabs #displayed_tab #display_settings_tab_content table tr,
686
  #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr {
687
+ border: 1px solid rgb(247, 248, 243);
688
+ padding: 5px 0 !important;
689
+ height: auto;
690
  }
691
 
692
  #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr td,
693
  #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th,
694
+ #attach_to_post_tabs
695
+ #displayed_tab
696
+ #ngg_page_content
697
+ .ngg_page_content_main
698
+ table
699
+ tr
700
+ td {
701
+ line-height: 30px;
702
+ vertical-align: middle;
703
+ padding: 10px 20px;
704
+ box-sizing: border-box;
705
+ }
706
+
707
+ .ngg-admin #ngg_page_content .widefat td,
708
  .ngg-admin #ngg_page_content .widefat th {
709
+ padding: 10px;
710
+ color: rgba(118, 169, 52, 0.75);
711
+ color: #aaa;
712
+ vertical-align: middle;
713
  }
714
+
715
  .ngg-admin #ngg_page_content .widefat thead th,
716
  .ngg-admin #ngg_page_content .widefat tfoot th {
717
+ padding: 0 10px;
718
+ color: #fff;
719
+ text-transform: uppercase;
720
  }
721
 
722
  #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th {
723
+ font-weight: normal !important;
724
+ font-size: 13px !important;
725
+ line-height: 1.5 !important;
726
+ }
727
+
728
+ #attach_to_post_tabs
729
+ #displayed_tab
730
+ #ngg_page_content
731
+ .ngg_page_content_main
732
+ table
733
+ tr
734
+ td:first-of-type {
735
+ width: 300px;
736
+ text-align: left;
737
+ font-weight: 400;
738
+ padding-top: 8px;
739
+ }
740
+
741
+ #ngg_page_content.ngg_settings_page
742
+ .ngg_page_content_main
743
+ table
744
+ table
745
+ tr
746
+ td:first-of-type,
747
+ #attach_to_post_tabs
748
+ #displayed_tab
749
+ #ngg_page_content
750
+ .ngg_page_content_main
751
+ table
752
+ table
753
+ tr
754
+ td:first-of-type {
755
+ width: auto;
756
+ font-weight: 400;
757
+ padding: 10px 20px;
758
+ }
759
+
760
+ #ngg_page_content.ngg_settings_page
761
+ .ngg_page_content_main
762
+ table
763
+ tr:nth-of-type(2n),
764
+ #attach_to_post_tabs
765
+ #displayed_tab
766
+ #ngg_page_content
767
+ .ngg_page_content_main
768
+ table
769
+ tr:nth-of-type(2n) {
770
+ background-color: #f7f7f7;
771
  }
772
 
773
  #ngg_page_content.ngg_settings_page .ngg_page_content_main tr.watermark_field {
774
+ padding: 10px 0 !important;
775
  }
776
 
777
+ #ngg_page_content.ngg_settings_page
778
+ .ngg_page_content_main
779
+ .watermark_field
780
+ table {
781
+ border: 1px solid #d3e1c8;
782
  }
783
 
784
+ #ngg_page_content.ngg_settings_page
785
+ .ngg_page_content_main
786
+ .watermark_field
787
+ table
788
+ td {
789
+ padding: 5px 15px !important;
790
  }
791
 
792
+ #ngg_page_content.ngg_settings_page
793
+ .ngg_page_content_main
794
+ .watermark_field
795
+ table
796
+ td:first-of-type {
797
+ width: auto !important;
798
  }
799
 
800
+ #ngg_page_content.ngg_settings_page
801
+ .ngg_page_content_main
802
+ .watermark_field
803
+ table
804
+ tr {
805
+ border: none;
806
+ padding: 0 !important;
807
  }
808
 
809
+ #ngg_page_content.ngg_settings_page
810
+ .ngg_page_content_main
811
+ .watermark_field
812
+ img {
813
+ max-width: 100%;
814
  }
815
 
816
  #ngg_page_content.ngg_settings_page .ngg_page_content_main label,
817
+ #attach_to_post_tabs
818
+ #displayed_tab
819
+ #ngg_page_content
820
+ .ngg_page_content_main
821
+ label,
822
  #ngg_page_content.ngg_settings_page .ngg_page_content_main p.description {
823
+ font-size: 14px;
824
+ color: #666;
825
  }
826
 
827
  #ngg_page_content.ngg_settings_page .ngg_page_content_main label {
828
+ margin-right: 5px;
829
  }
830
 
831
+ #ngg_page_content.ngg_settings_page .ngg_page_content_main label:last-of-type {
832
+ margin-right: 15px;
833
  }
834
 
835
+ #ngg_page_content.ngg_settings_page
836
+ .nextgen_settings_position
837
+ tr:nth-of-type(2n),
838
  #ngg_page_content.ngg_settings_page .nextgen_settings_position td {
839
+ border: none !important;
840
  }
841
 
842
  #ngg_page_content.ngg_settings_page .nextgen_pro_lightbox_admin_header {
843
+ background: black !important;
844
+ margin-top: 20px;
845
  }
846
 
847
  .nextgen_pro_lightbox_admin_header td {
848
+ padding-left: 0 !important;
849
  }
850
 
851
  .nextgen_pro_lightbox_admin_header td {
852
+ padding: 10px 0 !important;
853
  }
854
 
855
  .nextgen_pro_lightbox_admin_header td h3 {
856
+ color: #fff !important;
857
+ margin: 0 0 0 20px !important;
858
+ font-size: 13px !important;
859
+ letter-spacing: 1.5px;
860
  }
861
 
862
  #tr_photocrati-nextgen_basic_imagebrowser_ngg_triggers_display,
863
  #tr_photocrati-nextgen_basic_slideshow_ngg_triggers_display {
864
+ display: none;
865
  }
866
 
867
  /***** 6) NGG Admin CSS: NextGEN Pro Custom Post Types *****/
869
  /* First, CSS for post type lists */
870
 
871
  .ngg-post-type #screen-meta .metabox-prefs.view-mode {
872
+ display: none;
873
  }
874
 
875
  .ngg-post-type .ngg_page_content_main .button,
876
  .ngg-post-type .ngg_page_content_main .page-title-action {
877
+ background-color: black !important;
878
+ color: #fff !important;
879
+ border: none !important;
880
+ box-shadow: none !important;
881
+ text-shadow: none !important;
882
+ height: 35px !important;
883
+ padding: 0 15px !important;
884
+ line-height: 35px;
885
+ width: auto !important;
886
+ text-transform: uppercase;
887
+ letter-spacing: 1px;
888
+ font-size: 11px;
889
  }
890
 
891
  .ngg-post-type .ngg_page_content_main .button:hover,
892
  .ngg-post-type .ngg_page_content_main .page-title-action:hover {
893
+ background-color: #383838 !important;
894
  }
895
 
896
  .ngg-post-type .ngg_page_content_main .page-title-action {
897
+ padding: 10px 18px !important;
898
+ margin-left: 10px;
899
+ top: -4px;
900
  }
901
 
902
  .ngg-post-type .notice,
903
  .ngg-post-type div#setting-error-tgmpa {
904
+ display: none;
905
  }
906
 
907
  .ngg-post-type .ngg_page_content_main .tablenav {
908
+ margin: 0 0 20px;
909
  }
910
 
911
  .ngg-post-type .ngg_page_content_main .tablenav .actions,
912
  .ngg-post-type .ngg_page_content_main .tablenav .tablenav-pages {
913
+ margin: 10px 0;
914
  }
915
 
916
  .ngg-post-type .ngg_page_content_main .tablenav-pages-navspan,
917
  .ngg-post-type .ngg_page_content_main .tablenav .tablenav-pages a {
918
+ background: #556472;
919
+ border: none;
920
+ color: #fff !important;
921
+ margin: 0 2px;
922
  }
923
 
924
+ .ngg-post-type
925
+ #ngg_page_content
926
+ .ngg_page_content_main
927
+ .tablenav
928
+ input.current-page {
929
+ width: 50px !important;
930
  }
931
 
932
  .ngg-post-type .ngg_page_content_main table {
933
+ box-shadow: none;
934
+ table-layout: auto;
935
+ border: 1px solid rgba(159, 187, 26, 0.08);
936
  }
937
 
938
  .ngg-post-type .ngg_page_content_main table thead,
939
  .ngg-post-type .ngg_page_content_main table tfoot {
940
+ background-color: black;
941
+ text-transform: uppercase;
942
  }
943
 
944
  .ngg-post-type .ngg_page_content_main table tfoot {
945
+ background-color: black;
946
  }
947
 
948
  .ngg-post-type .ngg_page_content_main table thead a,
949
  .ngg-post-type .ngg_page_content_main table tfoot a {
950
+ padding: 0;
951
  }
952
 
953
  .ngg-post-type .ngg_page_content_main table thead span,
954
  .ngg-post-type .ngg_page_content_main table tfoot span {
955
+ color: #fff;
956
+ font-size: 15px;
957
  }
958
 
959
+ .ngg-post-type .ngg_page_content_main table thead th,
960
  .ngg-post-type .ngg_page_content_main table thead td {
961
+ background-color: transparent;
962
+ border: none;
963
+ color: #fff;
964
  }
965
 
966
  .ngg-post-type .ngg_page_content_main table thead td {
967
+ padding: 12px 5px !important;
968
  }
969
 
970
  .ngg-post-type #ngg_page_content .ngg_page_content_main input[type="checkbox"] {
971
+ height: 13px !important;
972
+ width: 13px !important;
973
+ min-width: auto;
974
+ margin-top: 2px;
975
  }
976
 
977
+ .ngg-post-type
978
+ #ngg_page_content
979
+ .ngg_page_content_main
980
+ input[type="checkbox"]:checked:before {
981
+ color: #9fbb1a;
982
+ margin: -5px 0 0 -5px;
983
  }
984
 
985
  .ngg-post-type #ngg_page_content .sorting-indicator:before {
986
+ color: #fff !important;
987
  }
988
 
989
+ .ngg-post-type .ngg_page_content_main .striped > tbody > :nth-child(odd) {
990
+ background-color: #f7f7f7;
991
+ }
992
 
993
  .ngg-post-type .ngg_page_content_main a.row-title {
994
+ font-weight: 400;
995
  }
996
 
997
  .ngg-post-type .ngg_page_content_main .row-actions {
998
+ left: 0;
999
+ padding-top: 0;
1000
+ }
1001
 
1002
  .ngg-post-type .ngg_page_content_main .row-actions a {
1003
+ color: rgba(118, 169, 52, 0.75) !important;
1004
+ color: #aaa !important;
1005
+ }
1006
 
1007
  .ngg-post-type .ngg_page_content_main td.column-title strong {
1008
+ margin-bottom: 0;
1009
+ }
1010
 
1011
  .ngg-post-type #wpbody-content .quick-edit-row-page .inline-edit-col-left {
1012
+ width: 100%;
1013
  }
1014
 
1015
+ .ngg-post-type #ngg_page_content .widefat td,
1016
  .ngg-post-type #ngg_page_content .widefat th {
1017
+ padding: 10px;
1018
+ color: rgba(118, 169, 52, 0.75);
1019
+ color: #aaa;
1020
+ vertical-align: middle;
1021
  }
1022
+
1023
  .ngg-post-type #ngg_page_content .widefat thead th,
1024
  .ngg-post-type #ngg_page_content .widefat tfoot th {
1025
+ padding: 0 10px;
1026
+ color: #fff;
1027
+ text-transform: uppercase;
1028
  }
1029
 
1030
  .ngg-post-type .ngg_page_content_main .tablenav.bottom {
1031
+ margin: 10px 0 0;
1032
  }
1033
 
1034
  /* Second, CSS for individual post type edit pages */
1035
 
1036
  #ngg_page_content #titlediv input#title {
1037
+ font-size: 22px;
1038
+ padding: 24px 12px;
1039
+ color: #383838;
1040
+ letter-spacing: 0.5px;
1041
+ font-weight: 400;
1042
  }
1043
 
1044
  .ngg-post-type #ngg_page_content h3.accordion_tab,
1045
  .ngg-admin #postbox-container-2 h2.ui-sortable-handle {
1046
+ padding: 10px;
1047
+ background: black;
1048
+ margin-bottom: 0;
1049
  }
1050
 
1051
  .ngg-post-type #ngg_page_content h3.accordion_tab a,
1052
  .ngg-admin #postbox-container-2 h2.ui-sortable-handle {
1053
+ color: #fff;
1054
+ text-decoration: none;
1055
+ text-transform: uppercase;
1056
+ font-weight: 400;
1057
+ font-size: 15px;
1058
+ letter-spacing: 2px;
1059
+ margin-left: 6px;
1060
  }
1061
 
1062
  .ngg-post-type .accordion > div,
1063
  .ngg-admin #postbox-container-2 .postbox {
1064
+ border-left: 1px solid #eeeeee;
1065
+ border-bottom: 1px solid #eeeeee;
1066
+ border-right: 1px solid #eeeeee;
1067
+ margin-bottom: 30px;
1068
+ background-color: #fcfcfc;
1069
  }
1070
 
1071
  .ngg-post-type .accordion > div {
1072
+ padding: 20px;
1073
+ margin-bottom: 30px;
1074
  }
1075
 
1076
  .ngg-post-type .accordion > div table {
1077
+ border: none;
1078
  }
1079
 
1080
  .ngg-admin #postbox-container-2 .postbox .inside {
1081
+ margin: 0;
1082
  }
1083
 
1084
  .ngg-admin #postbox-container-2 .postbox .inside a {
1085
+ color: #9fbb1a;
1086
  }
1087
 
1088
  .ngg-admin #postbox-container-2 .postbox .inside th,
1089
  .ngg-admin #postbox-container-2 .postbox .inside td {
1090
+ padding: 5px 10px;
1091
  }
1092
 
1093
  .ngg-post-type .accordion > div .button-primary,
1094
  .ngg-admin #postbox-container-2 .postbox .inside .button-primary {
1095
+ margin: 15px 0 0;
1096
  }
1097
 
1098
+ .ngg-post-type table input[type="text"] {
1099
+ margin: 0;
1100
  }
1101
 
1102
  /* Third, overrides for some specific post type pages */
1103
 
1104
  .post-type-ngg_order #ngg_page_content .ngg_page_content_main,
1105
  .post-type-nextgen_proof #ngg_page_content .ngg_page_content_main {
1106
+ padding-left: 10px;
1107
  }
1108
 
1109
  .post-type-ngg_order.post-php .wp-heading-inline,
1113
  .post-type-nextgen_proof.post-php #submitdiv,
1114
  .post-type-nextgen_proof #post-body-content .inside,
1115
  .post-type-nextgen_proof.post-php .toggle-indicator {
1116
+ display: none;
1117
  }
1118
 
1119
  .post-type-ngg_order.post-php #poststuff #post-body.columns-2,
1120
  .post-type-nextgen_proof.post-php #poststuff #post-body.columns-2 {
1121
+ margin-right: 300px;
1122
+ margin-right: 100px;
1123
  }
1124
 
1125
  .post-type-ngg_order.post-php #post-body.columns-2 #postbox-container-1,
1126
  .post-type-nextgen_proof.post-php #post-body.columns-2 #postbox-container-1 {
1127
+ width: 80px;
1128
+ margin-right: -100px;
1129
  }
1130
 
1131
  .post-type-ngg_order.post-php #side-sortables,
1132
  .post-type-nextgen_proof.post-php #side-sortables {
1133
+ border: none;
1134
  }
1135
 
1136
  .post-type-ngg_order.post-php #post-body-content {
1137
+ margin-bottom: 0;
1138
  }
1139
 
1140
  .post-type-ngg_order.post-php #post-body.columns-2 #postbox-container-2 {
1141
+ float: none;
1142
  }
1143
 
1144
  .post-type-ngg_order.post-php #postbox-container-2 .postbox,
1145
  .post-type-nextgen_proof.post-php #postbox-container-2 .postbox {
1146
+ background-color: #ffffff;
1147
  }
1148
 
1149
  .post-type-ngg_order.post-php #normal-sortables {
1150
+ min-height: 10px !important;
1151
  }
1152
 
1153
  .post-type-ngg_order.post-php #postbox-container-2 h2.ui-sortable-handle,
1154
  .post-type-nextgen_proof.post-php #postbox-container-2 h2.ui-sortable-handle {
1155
+ margin-left: 0;
1156
+ padding-left: 16px;
1157
  }
1158
 
1159
  .post-type-ngg_order.post-php .inside h4,
1160
  .post-type-nextgen_proof.post-php .inside h4 {
1161
+ padding: 5px 10px;
1162
+ text-decoration: none !important;
1163
+ text-transform: uppercase;
1164
+ font-weight: 400;
1165
  }
1166
 
1167
  .post-type-ngg_order.post-php .inside,
1168
  .post-type-nextgen_proof.post-php .inside {
1169
+ padding: 30px;
1170
+ font-size: 14px;
1171
  }
1172
 
1173
  .post-type-nextgen_proof #normal-sortables .closed .inside {
1174
+ display: block !important;
1175
  }
1176
 
1177
  .post-type-ngg_order.post-php th,
1178
  .post-type-nextgen_proof.post-php th {
1179
+ text-transform: uppercase;
1180
+ font-size: 15px;
1181
+ letter-spacing: 1px;
1182
+ font-weight: 400;
1183
+ padding-bottom: 10px !important;
1184
+ color: black !important;
1185
  }
1186
 
1187
+ .post-type-ngg_order.post-php table thead,
1188
  .post-type-ngg_order.post-php table tfoot,
1189
+ .post-type-nextgen_proof.post-php.post-php table thead,
1190
  .post-type-nextgen_proof.post-php.post-php table tfoot {
1191
+ background-color: transparent !important;
1192
  }
1193
 
1194
  .post-type-ngg_order .ngg_pro_order_info > table {
1195
+ max-width: 1200px;
1196
+ background: #fcfcfc;
1197
+ box-shadow: none;
1198
+ font-size: 14px;
1199
  }
1200
 
1201
  .post-type-nextgen_proof .row-actions .inline {
1202
+ display: none;
1203
  }
1204
 
1205
  /* Extras: Fix for Pro ecom styling when not running updated Pro */
1206
 
1207
  #ngg_page_content .ngg_payment_gateway_enable_row {
1208
+ background: black !important;
1209
  }
1210
 
1211
  /* 8) NGG Admin CSS: Media Queries */
1212
 
1213
  @media (max-width: 1240px) {
1214
+ #ngg_page_content .ngg_page_content_header p {
1215
+ display: none !important;
1216
+ }
1217
  }
1218
 
1219
  @media (max-width: 782px) {
1220
+ .about-wrap .three-col .col,
1221
+ .about-wrap .two-col .col {
1222
+ min-width: 100% !important;
1223
+ margin-left: 0;
1224
+ margin-top: 1em;
1225
+ }
1226
+ .ngg-post-type #ngg_page_content button.toggle-row {
1227
+ width: 40px !important;
1228
+ height: 40px !important;
1229
+ background: transparent !important;
1230
+ }
1231
+ .ngg-post-type
1232
+ tr:not(.inline-edit-row):not(.no-items)
1233
+ td.column-primary
1234
+ ~ td:not(.check-column) {
1235
+ padding: 3px 8px 3px 35%;
1236
+ }
1237
+ .ngg-post-type
1238
+ #ngg_page_content
1239
+ .ngg_page_content_main
1240
+ input[type="checkbox"]:checked:before {
1241
+ font: 400 20px/1 dashicons !important;
1242
+ }
1243
+
1244
+ #ngg_page_content .ngg_page_content_header img {
1245
+ padding-right: 10px;
1246
+ }
1247
+ #ngg_page_content .ngg_page_content_header h3,
1248
+ #ngg_page_content .ngg_overview .ngg_page_content_header h3 {
1249
+ font-size: 14px;
1250
+ }
1251
+ #ngg_page_content .ngg_page_content_menu,
1252
+ #ngg_page_content .ngg_overview .ngg_page_content_main,
1253
+ #ngg_page_content.ngg_settings_page .ngg_page_content_main {
1254
+ width: 100%;
1255
+ }
1256
+ #ngg_page_content .ngg_page_content_main,
1257
+ #ngg_page_content.ngg_settings_page .ngg_page_content_main {
1258
+ padding: 20px;
1259
+ }
1260
+ #ngg_page_content.ngg_settings_page .ngg_page_content_main table,
1261
+ #attach_to_post_tabs
1262
+ #displayed_tab
1263
+ #ngg_page_content
1264
+ .ngg_page_content_main
1265
+ table,
1266
+ #ngg_page_content.ngg_settings_page .ngg_page_content_main tbody,
1267
+ #attach_to_post_tabs
1268
+ #displayed_tab
1269
+ #ngg_page_content
1270
+ .ngg_page_content_main
1271
+ tbody {
1272
+ display: block !important;
1273
+ max-width: 100%;
1274
+ }
1275
+ #ngg_page_content.ngg_settings_page .ngg_page_content_main tbody.hidden {
1276
+ display: none !important;
1277
+ }
1278
+ #attach_to_post_tabs #displayed_tab #ngg_page_content #slug_configuration {
1279
+ display: none !important;
1280
+ }
1281
+ #attach_to_post_tabs #displayed_tab #display_settings_tab_content table tr,
1282
+ #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr {
1283
+ display: block !important;
1284
+ padding: 10px 0 20px !important;
1285
+ }
1286
+ #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr td,
1287
+ #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th,
1288
+ #attach_to_post_tabs
1289
+ #displayed_tab
1290
+ #ngg_page_content
1291
+ .ngg_page_content_main
1292
+ table
1293
+ tr
1294
+ td {
1295
+ display: block;
1296
+ padding: 2px 10px;
1297
+ }
1298
+ #ngg_page_content.ngg_settings_page
1299
+ .ngg_page_content_main
1300
+ table.nextgen_settings_position
1301
+ tr
1302
+ td {
1303
+ display: table-cell;
1304
+ }
1305
+ #ngg_page_content.ngg_settings_page .ngg_page_content_main h2,
1306
+ #ngg_page_content.ngg_settings_page .ngg_page_content_main h3 {
1307
+ text-align: center;
1308
+ }
1309
+ #ngg_page_content.ngg_settings_page form > p {
1310
+ width: 100%;
1311
+ padding: 15px;
1312
+ box-sizing: border-box;
1313
+ }
1314
+ #ngg_page_content .ngg_page_content_main input,
1315
+ #ngg_page_content .ngg_page_content_main select {
1316
+ max-width: 100%;
1317
+ margin: 5px 0;
1318
+ box-sizing: border-box;
1319
+ }
1320
+ #ngg_page_content .ngg_page_content_main input[type="text"],
1321
+ #ngg_page_content .ngg_page_content_main input[type="number"],
1322
+ #ngg_page_content .ngg_page_content_main select,
1323
+ #ngg_page_content .ngg_page_content_main .select2-container {
1324
+ width: 100% !important;
1325
+ }
1326
+ #ngg_page_content button.wp-color-result {
1327
+ width: auto !important;
1328
+ }
1329
+ #ngg_page_content button.wp-color-result .wp-color-result-text {
1330
+ line-height: 22px;
1331
+ }
1332
+ .ngg-post-type .ngg_page_content_main .subsubsub {
1333
+ width: 100%;
1334
+ }
1335
+ .ngg-post-type .ngg_page_content_main .tablenav .actions {
1336
+ width: 100%;
1337
+ }
1338
+ .ngg-post-type #ngg_page_content .ngg_page_content_main input,
1339
+ .ngg-post-type #ngg_page_content .ngg_page_content_main select {
1340
+ width: 100% !important;
1341
+ max-width: 100%;
1342
+ margin: 5px 0;
1343
+ box-sizing: border-box;
1344
+ }
1345
+ #ngg_page_content input[type="checkbox"] {
1346
+ width: 16px !important;
1347
+ }
1348
+ #ngg_page_content button,
1349
+ #ngg_page_content .button-primary,
1350
+ #ngg_page_content .button-secondary {
1351
+ width: 100% !important;
1352
+ margin: 4px 0;
1353
+ display: block;
1354
+ text-align: center;
1355
+ }
1356
+ #ngg_page_content .ngg_save_settings_button {
1357
+ position: static;
1358
+ }
1359
+ .ngg-post-type .ngg_page_content_main .button,
1360
+ .ngg-post-type .ngg_page_content_main .page-title-action {
1361
+ width: 80% !important;
1362
+ margin: 4px 0;
1363
+ display: block;
1364
+ text-align: center;
1365
+ margin: 10px auto 20px;
1366
+ padding: 0 !important;
1367
+ }
1368
+ .ngg-post-type .ngg_page_content_main .displaying-num {
1369
+ display: none;
1370
+ }
1371
+ #gallery_selection label {
1372
+ display: block;
1373
+ padding-bottom: 8px;
1374
+ }
1375
+ .post-type-ngg_pricelist .accordion table {
1376
+ width: 100% !important;
1377
+ }
1378
+ .post-type-ngg_pricelist .accordion #manual_shipping_options td {
1379
+ display: block;
1380
+ width: 100% !important;
1381
+ }
1382
+ .post-type-ngg_pricelist
1383
+ #ngg_page_content
1384
+ .accordion
1385
+ table
1386
+ input.shipping_rate {
1387
+ width: 100%;
1388
+ max-width: 100%;
1389
+ }
1390
+ .post-type-ngg_pricelist .accordion input[type="checkbox"]:checked:before {
1391
+ font: 400 21px/1 dashicons;
1392
+ }
1393
+ .ngg-post-type #ngg_page_content h1 {
1394
+ text-align: center;
1395
+ display: block;
1396
+ }
1397
+ /* Responsive Navigation on Mobile */
1398
+ #ngg_page_content .responsive-menu-icon {
1399
+ display: block;
1400
+ padding: 10px 0 15px;
1401
+ }
1402
+ #ngg_page_content .responsive-menu {
1403
+ display: none;
1404
+ margin: 0;
1405
+ }
1406
+ #ngg_page_content .responsive-menu a {
1407
+ display: block;
1408
+ }
1409
+ #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after,
1410
+ #ngg_page_content .ngg_page_content_menu a:active:after {
1411
+ display: none;
1412
+ }
1413
  }
1414
 
1415
  .ngg_admin_notice.notice-success,
1416
  .ngg_admin_notice.updated {
1417
+ border-left-color: #9dbd1b;
1418
  }
products/photocrati_nextgen/modules/nextgen_admin/static/nextgen_admin_page.min.css CHANGED
@@ -1 +1 @@
1
- .ngg-admin .notice,.ngg-admin div.error,.ngg-admin div.updated{margin:20px 15px 0 0}.ngg-admin #ngg_page_content .notice,.ngg-admin #ngg_page_content div.error,.ngg-admin #ngg_page_content div.updated{margin:20px 0 25px}.hidden{display:none}.nextgen_advanced_toggle_link{font-size:11px;position:relative;bottom:5px;color:#444}.url_field{width:400px;max-width:100%}.nextgen_settings_field_colorpicker{width:85px!important;text-align:center;margin-left:50px}#ngg_page_content .wp-picker-container,#ngg_page_content .wp-picker-holder,#ngg_page_content .wp-picker-input-wrap{position:initial!important}#nextgen_settings_wmXpos,#nextgen_settings_wmYpos{width:65px!important}table.nextgen_settings_position{width:auto!important}#ngg_page_content label.tooltip,#ngg_page_content span.tooltip{outline:0;background-image:url(information.png);background-repeat:no-repeat;padding-left:22px;padding-bottom:4px;background-size:18px}#poststuff .ui-accordion h3{padding-left:25px}#lightbox_effects_content table tr td:first-child{vertical-align:top;text-align:right;padding-right:7px;padding-top:5px}#lightbox_effects_content tr{height:28px}.ngg-admin #screen-meta-links{padding-bottom:20px}.ngg-admin #wpbody{position:static}#ngg_page_content{background:#fff;box-shadow:0 0 12px 6px rgba(0,0,0,.03);box-sizing:border-box;font-family:lato,sans-serif;float:left;height:auto;margin-top:25px;padding:20px 40px;width:98%;color:#000;font-size:15px;letter-spacing:.3px;font-weight:500}#adminmenu .wp-submenu a[href*=ngg_pro_upgrade]{color:#9fbb1a;font-weight:600}.toplevel_page_nextgen-gallery #ngg_page_content{margin-top:20px}#ngg_page_content.ngg_settings_page,.ngg_gallery_sort,.ngg_manage_albums,.ngg_manage_galleries,.ngg_manage_images{background:#fff}#ngg_page_content .wrap{margin:0}#ngg_page_content .about-wrap{max-width:100%;float:left}.about-wrap [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.about-wrap [class$="-col"] .col{flex:1;align-self:flex-start}.about-wrap [class$="-col"] .col+.col{margin-left:20px}.about-wrap .two-col img{margin-bottom:1.5em}.about-wrap .headline-feature{max-width:none;margin:0 0 40px}#ngg_page_content a{color:#9fbb1a}#ngg_page_content .button-primary,#ngg_page_content .button-secondary,#ngg_page_content button{background-color:#000;color:#fff!important;border:none!important;box-shadow:none!important;text-shadow:none!important;outline:0!important;height:35px!important;padding:0 24px!important;line-height:35px;width:auto!important;border-radius:0;text-transform:uppercase;letter-spacing:1px;font-size:11px;font-weight:700;font-family:Lato,sans-serif;vertical-align:middle}#ngg_page_content .button-primary:hover,#ngg_page_content .button-secondary:hover,#ngg_page_content button:hover{background-color:#383838;vertical-align:middle}#ngg_page_content .button-primary:disabled,#ngg_page_content .button-secondary:disabled,#ngg_page_content button:disabled{background:#bbb!important}#ngg_page_content .button-secondary{background-color:#888!important}.ngg-admin #ngg_page_content .notice button,.ngg-admin #ngg_page_content div.error button,.ngg-admin #ngg_page_content div.updated button{background-color:transparent!important;padding:0}#ngg_page_content button,.ngg-admin .notice button,.ngg-admin div.error button,.ngg-admin div.updated button{background:0 0}#ngg_page_content button.wp-color-result{height:100%!important;padding:0 0 0 30px!important;border:1px solid #ddd!important}#ngg_page_content button.wp-color-result:hover{background-color:transparent}#ngg_page_content input[type=checkbox]{height:16px!important;width:16px!important}#ngg_page_content.ngg_settings_page form>p{width:81%;background:#fff;margin:0;float:right}#ngg_page_content .ngg_save_settings_button{position:absolute;right:61px;top:128px}.ecommerce_page_ngg-ecommerce-instructions-page #ngg_page_content .ngg_save_settings_button{display:none}#ngg_page_content ::-webkit-input-placeholder{color:#aaa}#ngg_page_content :-ms-input-placeholder{color:#aaa}#ngg_page_content ::-moz-placeholder{color:#aaa;opacity:1}#ngg_page_content :-moz-placeholder{color:#aaa;opacity:1}.ngg-admin .select2-drop.select2-drop-above .select2-search input{width:100%}#ngg_page_content .ngg_page_content_header{height:80px;margin-top:-23px;margin-bottom:24px}#ngg_page_content .ngg_page_content_header img{height:60px;padding-top:10px;padding-right:20px;float:left;width:auto}#ngg_page_content .ngg_page_content_header h2,#ngg_page_content .ngg_page_content_header h3{line-height:80px;color:#000;font-size:18px;font-family:Lato,sans-serif;text-transform:uppercase;letter-spacing:2px;text-align:left;font-weight:900}#ngg_page_content .ngg_page_content_header p{float:right;margin:-98px 0 0;font-size:15px;font-weight:700;color:#000;line-height:80px;letter-spacing:.3px}#ngg_page_content .ngg_page_content_header p.ngg-header-promo{margin:-113px -40px 0 0;background:#9ebc1b;color:#fff;line-height:20px;padding:30px 290px 30px 24px;display:inline-block;max-width:720px;box-sizing:border-box}#ngg_page_content .ngg_page_content_header .ngg-header-promo a{margin-left:16px!important;position:absolute;top:32px;right:24px;height:38px!important;line-height:38px!important}#ngg_page_content .ngg_page_content_header p.ngg-header-promo.black-friday{padding:30px 330px 30px 40px;font-size:16px}#ngg_page_content .ngg_page_content_header p.ngg-header-promo.black-friday span{text-transform:uppercase;padding-bottom:4px;display:inline-block;font-size:20px}#ngg_page_content .ngg_page_content_header .ngg-header-promo.black-friday a{right:40px}#ngg_page_content .ngg_page_content_header .ngg-header-promo a:after{content:"\f345";font:400 16px dashicons;color:#fff!important;display:inline-block;position:relative;top:4px;left:6px}#ngg_page_content .ngg_page_content_header .ngg_save_settings_button{margin:0!important}#ngg_page_content .ngg_page_content_menu{width:20%;float:left;padding:0;height:100%;background:0 0}#ngg_page_content .ngg_page_content_menu a{box-shadow:none!important;border-left:5px solid #fff;cursor:pointer;display:block;padding:10px 0 10px 20px;line-height:22px;margin:10px 0;text-decoration:none;color:#000;text-transform:uppercase;font-size:13px;font-weight:400;letter-spacing:1.2px}.responsive-menu-icon{cursor:pointer;display:none;margin-bottom:5px;text-align:left}.responsive-menu-icon::before{color:#000;content:'\f0c9';display:block;font:400 20px/1 'Font Awesome 5 Free';margin:0 auto;text-align:center;font-weight:900}#ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active,#ngg_page_content .ngg_page_content_menu a:active{outline:transparent 0;border-left:5px solid #9dbd1b;position:relative;color:#000;margin-right:-1px;font-weight:800}#ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after,#ngg_page_content .ngg_page_content_menu a:active:after{right:0;border:8px solid transparent;content:"";width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}#ngg_page_content .ngg_page_content_main{padding:0 20px 20px 30px;min-height:600px;float:left;box-sizing:border-box;width:100%}#ngg_page_content .ngg_gallery_sort .ngg_page_content_main{min-height:0}.gallery_page_nggallery-manage-album #ngg_page_content .ngg_page_content_main,.gallery_page_nggallery-manage-gallery #ngg_page_content .ngg_page_content_main{padding:0 10px 30px}#ngg_page_content .ngg_manage_tags .ngg_page_content_main,.ngg-post-type .ngg_page_content_main table tfoot a,.ngg-post-type .ngg_page_content_main table thead a{padding:0}#ngg_page_content .ngg_overview .ngg_page_content_main,#ngg_page_content.ngg_settings_page .ngg_page_content_main{width:80%}.gallery_page_ngg_display_settings #ngg_page_content.ngg_settings_page .ngg_page_content_main{min-height:1000px}.gallery_page_ngg_other_options #ngg_page_content.ngg_settings_page .ngg_page_content_main{min-height:400px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main>div,#ngg_page_content .ngg_overview .ngg_page_content_main>div,#ngg_page_content.ngg_settings_page .ngg_page_content_main>div{display:none}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main>div:first-of-type,#ngg_page_content .ngg_overview .ngg_page_content_main>div:first-of-type,#ngg_page_content.ngg_settings_page .ngg_page_content_main>div:first-of-type{display:block}#ngg_page_content.ngg_settings_page .ngg_page_content_main h3{color:rgba(29,36,42,.85);font-size:18px;margin:20px 0 30px;text-transform:uppercase}#ngg_page_content .ngg_page_content_main input,#ngg_page_content .ngg_page_content_main select{color:#888;height:35px;border:1px solid #ddd;padding-left:10px;box-shadow:none;width:200px;-webkit-border-radius:0;border-radius:0}#ngg_page_content .ngg_page_content_main select{-webkit-appearance:none;background-image:url(dropdown_arrow.png);background-size:10px 10px;background-repeat:no-repeat;background-position:95% 55%}#ngg_page_content .ngg_page_content_main .select2-container{width:200px!important;line-height:0}#ngg_page_content .ngg_page_content_main .select2-selection--multiple,#ngg_page_content .ngg_page_content_main .select2-selection--single{border:1px solid #ddd;border-radius:0;height:35px;line-height:35px;padding-top:1px}#ngg_page_content .ngg_page_content_main .thumbnail_options .select2-selection--multiple{height:auto;padding-right:3px}#ngg_page_content .ngg_page_content_main .thumbnail_options .select2-selection--multiple .select2-search__field{width:100%!important}#ngg_page_content .select2-container--default .select2-selection--single .select2-selection__arrow{top:4px;display:none}#ngg_page_content .ngg_page_content_main .select2-search{width:100%}#ngg_page_content .ngg_page_content_main .select2-search__field{border-radius:3px}#ngg_page_content .ngg_page_content_main .select2-selection__choice{background:#9fbb1a;border:none;box-shadow:none;color:#fff;line-height:20px;padding:7px 10px 7px 8px;width:92%}#ngg_page_content .ngg_page_content_main .select2-selection__choice__remove{color:#fff;margin-right:6px}#ngg_page_content .ngg_page_content_main div[data-id=lightbox_effects] .select2-container,#ngg_page_content .ngg_page_content_main div[data-id=lightbox_effects] input,#ngg_page_content .ngg_page_content_main div[data-id=lightbox_effects] select{width:250px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main input[type=radio],#ngg_page_content.ngg_settings_page .ngg_page_content_main input[type=radio]{border-radius:50%!important;height:16px!important;width:16px!important;padding:0!important;vertical-align:middle}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main input[type=radio]:checked:before,#ngg_page_content.ngg_settings_page .ngg_page_content_main input[type=radio]:checked:before{background-color:#9FBB1A;border-radius:50%;color:transparent;content:"\2022";display:block;height:17px;margin:-1px 0 0 -1px;vertical-align:middle;width:17px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table,#ngg_page_content.ngg_settings_page .ngg_page_content_main table{color:rgba(29,36,42,.85);border-collapse:collapse;width:100%}#ngg_page_content table .sorting-indicator:before{color:#fff!important}#attach_to_post_tabs #displayed_tab #display_settings_tab_content table tr,#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr{border:1px solid #f7f8f3;padding:5px 0!important;height:auto}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td,#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr td,#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th{line-height:30px;vertical-align:middle;padding:10px 20px;box-sizing:border-box}.ngg-admin #ngg_page_content .widefat td,.ngg-admin #ngg_page_content .widefat th{padding:10px;color:#aaa;vertical-align:middle}.ngg-admin #ngg_page_content .widefat tfoot th,.ngg-admin #ngg_page_content .widefat thead th{padding:0 10px;color:#fff;text-transform:uppercase}#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th{font-weight:400!important;font-size:13px!important;line-height:1.5!important}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td:first-of-type{width:300px;text-align:left;font-weight:400;padding-top:8px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table table tr td:first-of-type,#ngg_page_content.ngg_settings_page .ngg_page_content_main table table tr td:first-of-type{width:auto;font-weight:400;padding:10px 20px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr:nth-of-type(2n),#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr:nth-of-type(2n){background-color:#f7f7f7}#ngg_page_content.ngg_settings_page .ngg_page_content_main tr.watermark_field{padding:10px 0!important}#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table{border:1px solid #d3e1c8}#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table td{padding:5px 15px!important}#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table td:first-of-type{width:auto!important}#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table tr{border:none;padding:0!important}#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field img{max-width:100%}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main label,#ngg_page_content.ngg_settings_page .ngg_page_content_main label,#ngg_page_content.ngg_settings_page .ngg_page_content_main p.description{font-size:14px;color:#666}#ngg_page_content.ngg_settings_page .ngg_page_content_main label{margin-right:5px}#ngg_page_content.ngg_settings_page .ngg_page_content_main label:last-of-type{margin-right:15px}#ngg_page_content.ngg_settings_page .nextgen_settings_position td,#ngg_page_content.ngg_settings_page .nextgen_settings_position tr:nth-of-type(2n){border:none!important}#ngg_page_content.ngg_settings_page .nextgen_pro_lightbox_admin_header{background:#000!important;margin-top:20px}.nextgen_pro_lightbox_admin_header td{padding:10px 0!important}.nextgen_pro_lightbox_admin_header td h3{color:#fff!important;margin:0 0 0 20px!important;font-size:13px!important;letter-spacing:1.5px}#tr_photocrati-nextgen_basic_imagebrowser_ngg_triggers_display,#tr_photocrati-nextgen_basic_slideshow_ngg_triggers_display,.ngg-post-type #screen-meta .metabox-prefs.view-mode{display:none}.ngg-post-type .ngg_page_content_main .button,.ngg-post-type .ngg_page_content_main .page-title-action{background-color:#000!important;color:#fff!important;border:none!important;box-shadow:none!important;text-shadow:none!important;height:35px!important;padding:0 15px!important;line-height:35px;width:auto!important;text-transform:uppercase;letter-spacing:1px;font-size:11px}.ngg-post-type .ngg_page_content_main .button:hover,.ngg-post-type .ngg_page_content_main .page-title-action:hover{background-color:#383838!important}.ngg-post-type .ngg_page_content_main .page-title-action{padding:10px 18px!important;margin-left:10px;top:-4px}.ngg-post-type .notice,.ngg-post-type div#setting-error-tgmpa{display:none}.ngg-post-type .ngg_page_content_main .tablenav{margin:0 0 20px}.ngg-post-type .ngg_page_content_main .tablenav .actions,.ngg-post-type .ngg_page_content_main .tablenav .tablenav-pages{margin:10px 0}.ngg-post-type .ngg_page_content_main .tablenav .tablenav-pages a,.ngg-post-type .ngg_page_content_main .tablenav-pages-navspan{background:#556472;border:none;color:#fff!important;margin:0 2px}.ngg-post-type #ngg_page_content .ngg_page_content_main .tablenav input.current-page{width:50px!important}.ngg-post-type .ngg_page_content_main table{box-shadow:none;table-layout:auto;border:1px solid rgba(159,187,26,.08)}.ngg-post-type .ngg_page_content_main table tfoot,.ngg-post-type .ngg_page_content_main table thead{background-color:#000;text-transform:uppercase}.ngg-post-type .ngg_page_content_main table tfoot{background-color:#000}.ngg-post-type .ngg_page_content_main table tfoot span,.ngg-post-type .ngg_page_content_main table thead span{color:#fff;font-size:15px}.ngg-post-type .ngg_page_content_main table thead td,.ngg-post-type .ngg_page_content_main table thead th{background-color:transparent;border:none;color:#fff}.ngg-post-type .ngg_page_content_main table thead td{padding:12px 5px!important}.ngg-post-type #ngg_page_content .ngg_page_content_main input[type=checkbox]{height:13px!important;width:13px!important;min-width:auto;margin-top:2px}.ngg-post-type #ngg_page_content .ngg_page_content_main input[type=checkbox]:checked:before{color:#9FBB1A;margin:-5px 0 0 -5px}.ngg-post-type #ngg_page_content .sorting-indicator:before{color:#fff!important}.ngg-post-type .ngg_page_content_main .striped>tbody>:nth-child(odd){background-color:#f7f7f7}.ngg-post-type .ngg_page_content_main a.row-title{font-weight:400}.ngg-post-type .ngg_page_content_main .row-actions{left:0;padding-top:0}.ngg-post-type .ngg_page_content_main .row-actions a{color:#aaa!important}.ngg-post-type .ngg_page_content_main td.column-title strong{margin-bottom:0}.ngg-post-type #wpbody-content .quick-edit-row-page .inline-edit-col-left{width:100%}.ngg-post-type #ngg_page_content .widefat td,.ngg-post-type #ngg_page_content .widefat th{padding:10px;color:#aaa;vertical-align:middle}.ngg-post-type #ngg_page_content .widefat tfoot th,.ngg-post-type #ngg_page_content .widefat thead th{padding:0 10px;color:#fff;text-transform:uppercase}.ngg-post-type .ngg_page_content_main .tablenav.bottom{margin:10px 0 0}#ngg_page_content #titlediv input#title{font-size:22px;padding:24px 12px;color:#383838;letter-spacing:.5px;font-weight:400}.ngg-admin #postbox-container-2 h2.ui-sortable-handle,.ngg-post-type #ngg_page_content h3.accordion_tab{padding:10px;background:#000;margin-bottom:0}.ngg-admin #postbox-container-2 h2.ui-sortable-handle,.ngg-post-type #ngg_page_content h3.accordion_tab a{color:#fff;text-decoration:none;text-transform:uppercase;font-weight:400;font-size:15px;letter-spacing:2px;margin-left:6px}.ngg-admin #postbox-container-2 .postbox,.ngg-post-type .accordion>div{border-left:1px solid #eee;border-bottom:1px solid #eee;border-right:1px solid #eee;margin-bottom:30px;background-color:#fcfcfc}.ngg-post-type .accordion>div table,.post-type-nextgen_proof.post-php #side-sortables,.post-type-ngg_order.post-php #side-sortables{border:none}.ngg-post-type .accordion>div{padding:20px;margin-bottom:30px}.ngg-admin #postbox-container-2 .postbox .inside{margin:0}.ngg-admin #postbox-container-2 .postbox .inside a{color:#9fbb1a}.ngg-admin #postbox-container-2 .postbox .inside td,.ngg-admin #postbox-container-2 .postbox .inside th{padding:5px 10px}.ngg-admin #postbox-container-2 .postbox .inside .button-primary,.ngg-post-type .accordion>div .button-primary{margin:15px 0 0}.ngg-post-type table input[type=text]{margin:0}.post-type-nextgen_proof #ngg_page_content .ngg_page_content_main,.post-type-ngg_order #ngg_page_content .ngg_page_content_main{padding-left:10px}.post-type-nextgen_proof #post-body-content .inside,.post-type-nextgen_proof.post-php #submitdiv,.post-type-nextgen_proof.post-php .toggle-indicator,.post-type-nextgen_proof.post-php .wp-heading-inline,.post-type-ngg_order.post-php #submitdiv,.post-type-ngg_order.post-php .toggle-indicator,.post-type-ngg_order.post-php .wp-heading-inline{display:none}.post-type-nextgen_proof.post-php #poststuff #post-body.columns-2,.post-type-ngg_order.post-php #poststuff #post-body.columns-2{margin-right:100px}.post-type-nextgen_proof.post-php #post-body.columns-2 #postbox-container-1,.post-type-ngg_order.post-php #post-body.columns-2 #postbox-container-1{width:80px;margin-right:-100px}.post-type-ngg_order.post-php #post-body-content{margin-bottom:0}.post-type-ngg_order.post-php #post-body.columns-2 #postbox-container-2{float:none}.post-type-nextgen_proof.post-php #postbox-container-2 .postbox,.post-type-ngg_order.post-php #postbox-container-2 .postbox{background-color:#fff}.post-type-ngg_order.post-php #normal-sortables{min-height:10px!important}.post-type-nextgen_proof.post-php #postbox-container-2 h2.ui-sortable-handle,.post-type-ngg_order.post-php #postbox-container-2 h2.ui-sortable-handle{margin-left:0;padding-left:16px}.post-type-nextgen_proof.post-php .inside h4,.post-type-ngg_order.post-php .inside h4{padding:5px 10px;text-decoration:none!important;text-transform:uppercase;font-weight:400}.post-type-nextgen_proof.post-php .inside,.post-type-ngg_order.post-php .inside{padding:30px;font-size:14px}.post-type-nextgen_proof #normal-sortables .closed .inside{display:block!important}.post-type-nextgen_proof.post-php th,.post-type-ngg_order.post-php th{text-transform:uppercase;font-size:15px;letter-spacing:1px;font-weight:400;padding-bottom:10px!important;color:#000!important}.post-type-nextgen_proof.post-php.post-php table tfoot,.post-type-nextgen_proof.post-php.post-php table thead,.post-type-ngg_order.post-php table tfoot,.post-type-ngg_order.post-php table thead{background-color:transparent!important}.post-type-ngg_order .ngg_pro_order_info>table{max-width:1200px;background:#fcfcfc;box-shadow:none;font-size:14px}.post-type-nextgen_proof .row-actions .inline{display:none}#ngg_page_content .ngg_payment_gateway_enable_row{background:#000!important}@media (max-width:1240px){#ngg_page_content .ngg_page_content_header p{display:none!important}}@media (max-width:782px){.about-wrap .three-col .col,.about-wrap .two-col .col{min-width:100%!important;margin-left:0;margin-top:1em}.ngg-post-type #ngg_page_content button.toggle-row{width:40px!important;height:40px!important;background:0 0!important}.ngg-post-type tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){padding:3px 8px 3px 35%}.ngg-post-type #ngg_page_content .ngg_page_content_main input[type=checkbox]:checked:before{font:400 20px/1 dashicons!important}#ngg_page_content .ngg_page_content_header img{padding-right:10px}#ngg_page_content .ngg_overview .ngg_page_content_header h3,#ngg_page_content .ngg_page_content_header h3{font-size:14px}#ngg_page_content .ngg_overview .ngg_page_content_main,#ngg_page_content .ngg_page_content_menu,#ngg_page_content.ngg_settings_page .ngg_page_content_main{width:100%}#ngg_page_content .ngg_page_content_main,#ngg_page_content.ngg_settings_page .ngg_page_content_main{padding:20px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table,#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main tbody,#ngg_page_content.ngg_settings_page .ngg_page_content_main table,#ngg_page_content.ngg_settings_page .ngg_page_content_main tbody{display:block!important;max-width:100%}#attach_to_post_tabs #displayed_tab #ngg_page_content #slug_configuration,#ngg_page_content.ngg_settings_page .ngg_page_content_main tbody.hidden{display:none!important}#attach_to_post_tabs #displayed_tab #display_settings_tab_content table tr,#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr{display:block!important;padding:10px 0 20px!important}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td,#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr td,#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th{display:block;padding:2px 10px}#ngg_page_content.ngg_settings_page .ngg_page_content_main table.nextgen_settings_position tr td{display:table-cell}#ngg_page_content.ngg_settings_page .ngg_page_content_main h2,#ngg_page_content.ngg_settings_page .ngg_page_content_main h3{text-align:center}#ngg_page_content.ngg_settings_page form>p{width:100%;padding:15px;box-sizing:border-box}#ngg_page_content .ngg_page_content_main input,#ngg_page_content .ngg_page_content_main select{max-width:100%;margin:5px 0;box-sizing:border-box}#ngg_page_content .ngg_page_content_main .select2-container,#ngg_page_content .ngg_page_content_main input[type=text],#ngg_page_content .ngg_page_content_main input[type=number],#ngg_page_content .ngg_page_content_main select{width:100%!important}#ngg_page_content button.wp-color-result{width:auto!important}#ngg_page_content button.wp-color-result .wp-color-result-text{line-height:22px}.ngg-post-type .ngg_page_content_main .subsubsub,.ngg-post-type .ngg_page_content_main .tablenav .actions{width:100%}.ngg-post-type #ngg_page_content .ngg_page_content_main input,.ngg-post-type #ngg_page_content .ngg_page_content_main select{width:100%!important;max-width:100%;margin:5px 0;box-sizing:border-box}#ngg_page_content input[type=checkbox]{width:16px!important}#ngg_page_content .button-primary,#ngg_page_content .button-secondary,#ngg_page_content button{width:100%!important;margin:4px 0;display:block;text-align:center}#ngg_page_content .ngg_save_settings_button{position:static}.ngg-post-type .ngg_page_content_main .button,.ngg-post-type .ngg_page_content_main .page-title-action{width:80%!important;display:block;text-align:center;margin:10px auto 20px;padding:0!important}.ngg-post-type .ngg_page_content_main .displaying-num{display:none}#gallery_selection label{display:block;padding-bottom:8px}.post-type-ngg_pricelist .accordion table{width:100%!important}.post-type-ngg_pricelist .accordion #manual_shipping_options td{display:block;width:100%!important}.post-type-ngg_pricelist #ngg_page_content .accordion table input.shipping_rate{width:100%;max-width:100%}.post-type-ngg_pricelist .accordion input[type=checkbox]:checked:before{font:400 21px/1 dashicons}.ngg-post-type #ngg_page_content h1{text-align:center;display:block}#ngg_page_content .responsive-menu-icon{display:block;padding:10px 0 15px}#ngg_page_content .responsive-menu{display:none;margin:0}#ngg_page_content .responsive-menu a{display:block}#ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after,#ngg_page_content .ngg_page_content_menu a:active:after{display:none}}.ngg_admin_notice.notice-success,.ngg_admin_notice.updated{border-left-color:#9dbd1b}
1
+ .ngg-admin .notice,.ngg-admin div.error,.ngg-admin div.updated{margin:20px 15px 0 0}.ngg-admin #ngg_page_content .notice,.ngg-admin #ngg_page_content div.error,.ngg-admin #ngg_page_content div.updated{margin:20px 0 25px}.hidden{display:none}.nextgen_advanced_toggle_link{font-size:11px;position:relative;bottom:5px;color:#444}.url_field{width:400px;max-width:100%}.nextgen_settings_field_colorpicker{width:85px!important;text-align:center;margin-left:50px}#ngg_page_content .wp-picker-container,#ngg_page_content .wp-picker-holder,#ngg_page_content .wp-picker-input-wrap{position:initial!important}#nextgen_settings_wmXpos,#nextgen_settings_wmYpos{width:65px!important}table.nextgen_settings_position{width:auto!important}#ngg_page_content label.tooltip,#ngg_page_content span.tooltip{outline:0;background-image:url(information.png);background-repeat:no-repeat;padding-left:22px;padding-bottom:4px;background-size:18px}body div.ui-tooltip{opacity:.9;background:#fff;color:#000}#ngg_page_content .ui-tooltip #poststuff .ui-accordion h3{padding-left:25px}#lightbox_effects_content table tr td:first-child{vertical-align:top;text-align:right;padding-right:7px;padding-top:5px}#lightbox_effects_content tr{height:28px}.ngg-admin #screen-meta-links{padding-bottom:20px}.ngg-admin #wpbody{position:static}#ngg_page_content{background:#fff;box-shadow:0 0 12px 6px rgba(0,0,0,.03);box-sizing:border-box;font-family:lato,sans-serif;float:left;height:auto;margin-top:25px;padding:20px 40px;width:98%;color:#000;font-size:15px;letter-spacing:.3px;font-weight:500}#adminmenu .wp-submenu a[href*=ngg_pro_upgrade]{color:#9fbb1a;font-weight:600}.toplevel_page_nextgen-gallery #ngg_page_content{margin-top:20px}#ngg_page_content.ngg_settings_page,.ngg_gallery_sort,.ngg_manage_albums,.ngg_manage_galleries,.ngg_manage_images{background:#fff}#ngg_page_content .wrap{margin:0}#ngg_page_content .about-wrap{max-width:100%;float:left}.about-wrap [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.about-wrap [class$="-col"] .col{flex:1;align-self:flex-start}.about-wrap [class$="-col"] .col+.col{margin-left:20px}.about-wrap .two-col img{margin-bottom:1.5em}.about-wrap .headline-feature{max-width:none;margin:0 0 40px}#ngg_page_content a{color:#9fbb1a}#ngg_page_content .button-primary,#ngg_page_content .button-secondary,#ngg_page_content button{background-color:#000;color:#fff!important;border:none!important;box-shadow:none!important;text-shadow:none!important;outline:0!important;height:35px!important;padding:0 24px!important;line-height:35px;width:auto!important;border-radius:0;text-transform:uppercase;letter-spacing:1px;font-size:11px;font-weight:700;font-family:Lato,sans-serif;vertical-align:middle}#ngg_page_content .button-primary:hover,#ngg_page_content .button-secondary:hover,#ngg_page_content button:hover{background-color:#383838;vertical-align:middle}#ngg_page_content .button-primary:disabled,#ngg_page_content .button-secondary:disabled,#ngg_page_content button:disabled{background:#bbb!important}#ngg_page_content .button-secondary{background-color:#888!important}.ngg-admin #ngg_page_content .notice button,.ngg-admin #ngg_page_content div.error button,.ngg-admin #ngg_page_content div.updated button{background-color:transparent!important;padding:0}#ngg_page_content button,.ngg-admin .notice button,.ngg-admin div.error button,.ngg-admin div.updated button{background:0 0}#ngg_page_content button.wp-color-result{height:100%!important;padding:0 0 0 30px!important;border:1px solid #ddd!important}#ngg_page_content button.wp-color-result:hover{background-color:transparent}#ngg_page_content input[type=checkbox]{height:16px!important;width:16px!important}#ngg_page_content.ngg_settings_page form>p{width:81%;background:#fff;margin:0;float:right}#ngg_page_content .ngg_save_settings_button{position:absolute;right:61px;top:128px}.ecommerce_page_ngg-ecommerce-instructions-page #ngg_page_content .ngg_save_settings_button{display:none}#ngg_page_content ::-webkit-input-placeholder{color:#aaa}#ngg_page_content :-ms-input-placeholder{color:#aaa}#ngg_page_content ::-moz-placeholder{color:#aaa;opacity:1}#ngg_page_content :-moz-placeholder{color:#aaa;opacity:1}.ngg-admin .select2-drop.select2-drop-above .select2-search input{width:100%}#ngg_page_content .ngg_page_content_header{height:80px;margin-top:-23px;margin-bottom:24px}#ngg_page_content .ngg_page_content_header img{height:60px;padding-top:10px;padding-right:20px;float:left;width:auto}#ngg_page_content .ngg_page_content_header h2,#ngg_page_content .ngg_page_content_header h3{line-height:80px;color:#000;font-size:18px;font-family:Lato,sans-serif;text-transform:uppercase;letter-spacing:2px;text-align:left;font-weight:900}#ngg_page_content .ngg_page_content_header p{float:right;margin:-98px 0 0;font-size:15px;font-weight:700;color:#000;line-height:80px;letter-spacing:.3px}#ngg_page_content .ngg_page_content_header p.ngg-header-promo{margin:-113px -40px 0 0;background:#9ebc1b;color:#fff;line-height:20px;padding:30px 290px 30px 24px;display:inline-block;max-width:720px;box-sizing:border-box}#ngg_page_content .ngg_page_content_header .ngg-header-promo a{margin-left:16px!important;position:absolute;top:32px;right:24px;height:38px!important;line-height:38px!important}#ngg_page_content .ngg_page_content_header p.ngg-header-promo.black-friday{padding:30px 330px 30px 40px;font-size:16px}#ngg_page_content .ngg_page_content_header p.ngg-header-promo.black-friday span{text-transform:uppercase;padding-bottom:4px;display:inline-block;font-size:20px}#ngg_page_content .ngg_page_content_header .ngg-header-promo.black-friday a{right:40px}#ngg_page_content .ngg_page_content_header .ngg-header-promo a:after{content:"\f345";font:400 16px dashicons;color:#fff!important;display:inline-block;position:relative;top:4px;left:6px}#ngg_page_content .ngg_page_content_header .ngg_save_settings_button{margin:0!important}#ngg_page_content .ngg_page_content_menu{width:20%;float:left;padding:0;height:100%;background:0 0}#ngg_page_content .ngg_page_content_menu a{box-shadow:none!important;border-left:5px solid #fff;cursor:pointer;display:block;padding:10px 0 10px 20px;line-height:22px;margin:10px 0;text-decoration:none;color:#000;text-transform:uppercase;font-size:13px;font-weight:400;letter-spacing:1.2px}.responsive-menu-icon{cursor:pointer;display:none;margin-bottom:5px;text-align:left}.responsive-menu-icon::before{color:#000;content:"\f0c9";display:block;font:400 20px/1 "Font Awesome 5 Free";margin:0 auto;text-align:center;font-weight:900}#ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active,#ngg_page_content .ngg_page_content_menu a:active{outline:transparent 0;border-left:5px solid #9dbd1b;position:relative;color:#000;margin-right:-1px;font-weight:800}#ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after,#ngg_page_content .ngg_page_content_menu a:active:after{right:0;border:8px solid transparent;content:"";width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}#ngg_page_content .ngg_page_content_main{padding:0 20px 20px 30px;min-height:600px;float:left;box-sizing:border-box;width:100%}#ngg_page_content .ngg_gallery_sort .ngg_page_content_main{min-height:0}.gallery_page_nggallery-manage-album #ngg_page_content .ngg_page_content_main,.gallery_page_nggallery-manage-gallery #ngg_page_content .ngg_page_content_main{padding:0 10px 30px}#ngg_page_content .ngg_manage_tags .ngg_page_content_main,.ngg-post-type .ngg_page_content_main table tfoot a,.ngg-post-type .ngg_page_content_main table thead a{padding:0}#ngg_page_content .ngg_overview .ngg_page_content_main,#ngg_page_content.ngg_settings_page .ngg_page_content_main{width:80%}.gallery_page_ngg_display_settings #ngg_page_content.ngg_settings_page .ngg_page_content_main{min-height:1000px}.gallery_page_ngg_other_options #ngg_page_content.ngg_settings_page .ngg_page_content_main{min-height:400px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main>div,#ngg_page_content .ngg_overview .ngg_page_content_main>div,#ngg_page_content.ngg_settings_page .ngg_page_content_main>div{display:none}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main>div:first-of-type,#ngg_page_content .ngg_overview .ngg_page_content_main>div:first-of-type,#ngg_page_content.ngg_settings_page .ngg_page_content_main>div:first-of-type{display:block}#ngg_page_content.ngg_settings_page .ngg_page_content_main h3{color:rgba(29,36,42,.85);font-size:18px;margin:20px 0 30px;text-transform:uppercase}#ngg_page_content .ngg_page_content_main input,#ngg_page_content .ngg_page_content_main select{color:#888;height:35px;border:1px solid #ddd;padding-left:10px;box-shadow:none;width:200px;-webkit-border-radius:0;border-radius:0}#ngg_page_content .ngg_page_content_main select{-webkit-appearance:none;background-image:url(dropdown_arrow.png);background-size:10px 10px;background-repeat:no-repeat;background-position:95% 55%}#ngg_page_content .ngg_page_content_main .select2-container{width:200px!important;line-height:0}#ngg_page_content .ngg_page_content_main .select2-selection--multiple,#ngg_page_content .ngg_page_content_main .select2-selection--single{border:1px solid #ddd;border-radius:0;height:35px;line-height:35px;padding-top:1px}#ngg_page_content .ngg_page_content_main .thumbnail_options .select2-selection--multiple{height:auto;padding-right:3px}#ngg_page_content .ngg_page_content_main .thumbnail_options .select2-selection--multiple .select2-search__field{width:100%!important}#ngg_page_content .select2-container--default .select2-selection--single .select2-selection__arrow{top:4px;display:none}#ngg_page_content .ngg_page_content_main .select2-search{width:100%}#ngg_page_content .ngg_page_content_main .select2-search__field{border-radius:3px}#ngg_page_content .ngg_page_content_main .select2-selection__choice{background:#9fbb1a;border:none;box-shadow:none;color:#fff;line-height:20px;padding:7px 10px 7px 8px;width:92%}#ngg_page_content .ngg_page_content_main .select2-selection__choice__remove{color:#fff;margin-right:6px}#ngg_page_content .ngg_page_content_main div[data-id=lightbox_effects] .select2-container,#ngg_page_content .ngg_page_content_main div[data-id=lightbox_effects] input,#ngg_page_content .ngg_page_content_main div[data-id=lightbox_effects] select{width:250px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main input[type=radio],#ngg_page_content.ngg_settings_page .ngg_page_content_main input[type=radio]{border-radius:50%!important;height:16px!important;width:16px!important;padding:0!important;vertical-align:middle}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main input[type=radio]:checked:before,#ngg_page_content.ngg_settings_page .ngg_page_content_main input[type=radio]:checked:before{background-color:#9fbb1a;border-radius:50%;color:transparent;content:"\2022";display:block;height:17px;margin:-1px 0 0 -1px;vertical-align:middle;width:17px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table,#ngg_page_content.ngg_settings_page .ngg_page_content_main table{color:rgba(29,36,42,.85);border-collapse:collapse;width:100%}#ngg_page_content table .sorting-indicator:before{color:#fff!important}#attach_to_post_tabs #displayed_tab #display_settings_tab_content table tr,#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr{border:1px solid #f7f8f3;padding:5px 0!important;height:auto}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td,#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr td,#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th{line-height:30px;vertical-align:middle;padding:10px 20px;box-sizing:border-box}.ngg-admin #ngg_page_content .widefat td,.ngg-admin #ngg_page_content .widefat th{padding:10px;color:#aaa;vertical-align:middle}.ngg-admin #ngg_page_content .widefat tfoot th,.ngg-admin #ngg_page_content .widefat thead th{padding:0 10px;color:#fff;text-transform:uppercase}#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th{font-weight:400!important;font-size:13px!important;line-height:1.5!important}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td:first-of-type{width:300px;text-align:left;font-weight:400;padding-top:8px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table table tr td:first-of-type,#ngg_page_content.ngg_settings_page .ngg_page_content_main table table tr td:first-of-type{width:auto;font-weight:400;padding:10px 20px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr:nth-of-type(2n),#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr:nth-of-type(2n){background-color:#f7f7f7}#ngg_page_content.ngg_settings_page .ngg_page_content_main tr.watermark_field{padding:10px 0!important}#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table{border:1px solid #d3e1c8}#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table td{padding:5px 15px!important}#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table td:first-of-type{width:auto!important}#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table tr{border:none;padding:0!important}#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field img{max-width:100%}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main label,#ngg_page_content.ngg_settings_page .ngg_page_content_main label,#ngg_page_content.ngg_settings_page .ngg_page_content_main p.description{font-size:14px;color:#666}#ngg_page_content.ngg_settings_page .ngg_page_content_main label{margin-right:5px}#ngg_page_content.ngg_settings_page .ngg_page_content_main label:last-of-type{margin-right:15px}#ngg_page_content.ngg_settings_page .nextgen_settings_position td,#ngg_page_content.ngg_settings_page .nextgen_settings_position tr:nth-of-type(2n){border:none!important}#ngg_page_content.ngg_settings_page .nextgen_pro_lightbox_admin_header{background:#000!important;margin-top:20px}.nextgen_pro_lightbox_admin_header td{padding:10px 0!important}.nextgen_pro_lightbox_admin_header td h3{color:#fff!important;margin:0 0 0 20px!important;font-size:13px!important;letter-spacing:1.5px}#tr_photocrati-nextgen_basic_imagebrowser_ngg_triggers_display,#tr_photocrati-nextgen_basic_slideshow_ngg_triggers_display,.ngg-post-type #screen-meta .metabox-prefs.view-mode{display:none}.ngg-post-type .ngg_page_content_main .button,.ngg-post-type .ngg_page_content_main .page-title-action{background-color:#000!important;color:#fff!important;border:none!important;box-shadow:none!important;text-shadow:none!important;height:35px!important;padding:0 15px!important;line-height:35px;width:auto!important;text-transform:uppercase;letter-spacing:1px;font-size:11px}.ngg-post-type .ngg_page_content_main .button:hover,.ngg-post-type .ngg_page_content_main .page-title-action:hover{background-color:#383838!important}.ngg-post-type .ngg_page_content_main .page-title-action{padding:10px 18px!important;margin-left:10px;top:-4px}.ngg-post-type .notice,.ngg-post-type div#setting-error-tgmpa{display:none}.ngg-post-type .ngg_page_content_main .tablenav{margin:0 0 20px}.ngg-post-type .ngg_page_content_main .tablenav .actions,.ngg-post-type .ngg_page_content_main .tablenav .tablenav-pages{margin:10px 0}.ngg-post-type .ngg_page_content_main .tablenav .tablenav-pages a,.ngg-post-type .ngg_page_content_main .tablenav-pages-navspan{background:#556472;border:none;color:#fff!important;margin:0 2px}.ngg-post-type #ngg_page_content .ngg_page_content_main .tablenav input.current-page{width:50px!important}.ngg-post-type .ngg_page_content_main table{box-shadow:none;table-layout:auto;border:1px solid rgba(159,187,26,.08)}.ngg-post-type .ngg_page_content_main table tfoot,.ngg-post-type .ngg_page_content_main table thead{background-color:#000;text-transform:uppercase}.ngg-post-type .ngg_page_content_main table tfoot{background-color:#000}.ngg-post-type .ngg_page_content_main table tfoot span,.ngg-post-type .ngg_page_content_main table thead span{color:#fff;font-size:15px}.ngg-post-type .ngg_page_content_main table thead td,.ngg-post-type .ngg_page_content_main table thead th{background-color:transparent;border:none;color:#fff}.ngg-post-type .ngg_page_content_main table thead td{padding:12px 5px!important}.ngg-post-type #ngg_page_content .ngg_page_content_main input[type=checkbox]{height:13px!important;width:13px!important;min-width:auto;margin-top:2px}.ngg-post-type #ngg_page_content .ngg_page_content_main input[type=checkbox]:checked:before{color:#9fbb1a;margin:-5px 0 0 -5px}.ngg-post-type #ngg_page_content .sorting-indicator:before{color:#fff!important}.ngg-post-type .ngg_page_content_main .striped>tbody>:nth-child(odd){background-color:#f7f7f7}.ngg-post-type .ngg_page_content_main a.row-title{font-weight:400}.ngg-post-type .ngg_page_content_main .row-actions{left:0;padding-top:0}.ngg-post-type .ngg_page_content_main .row-actions a{color:#aaa!important}.ngg-post-type .ngg_page_content_main td.column-title strong{margin-bottom:0}.ngg-post-type #wpbody-content .quick-edit-row-page .inline-edit-col-left{width:100%}.ngg-post-type #ngg_page_content .widefat td,.ngg-post-type #ngg_page_content .widefat th{padding:10px;color:#aaa;vertical-align:middle}.ngg-post-type #ngg_page_content .widefat tfoot th,.ngg-post-type #ngg_page_content .widefat thead th{padding:0 10px;color:#fff;text-transform:uppercase}.ngg-post-type .ngg_page_content_main .tablenav.bottom{margin:10px 0 0}#ngg_page_content #titlediv input#title{font-size:22px;padding:24px 12px;color:#383838;letter-spacing:.5px;font-weight:400}.ngg-admin #postbox-container-2 h2.ui-sortable-handle,.ngg-post-type #ngg_page_content h3.accordion_tab{padding:10px;background:#000;margin-bottom:0}.ngg-admin #postbox-container-2 h2.ui-sortable-handle,.ngg-post-type #ngg_page_content h3.accordion_tab a{color:#fff;text-decoration:none;text-transform:uppercase;font-weight:400;font-size:15px;letter-spacing:2px;margin-left:6px}.ngg-admin #postbox-container-2 .postbox,.ngg-post-type .accordion>div{border-left:1px solid #eee;border-bottom:1px solid #eee;border-right:1px solid #eee;margin-bottom:30px;background-color:#fcfcfc}.ngg-post-type .accordion>div table,.post-type-nextgen_proof.post-php #side-sortables,.post-type-ngg_order.post-php #side-sortables{border:none}.ngg-post-type .accordion>div{padding:20px;margin-bottom:30px}.ngg-admin #postbox-container-2 .postbox .inside{margin:0}.ngg-admin #postbox-container-2 .postbox .inside a{color:#9fbb1a}.ngg-admin #postbox-container-2 .postbox .inside td,.ngg-admin #postbox-container-2 .postbox .inside th{padding:5px 10px}.ngg-admin #postbox-container-2 .postbox .inside .button-primary,.ngg-post-type .accordion>div .button-primary{margin:15px 0 0}.ngg-post-type table input[type=text]{margin:0}.post-type-nextgen_proof #ngg_page_content .ngg_page_content_main,.post-type-ngg_order #ngg_page_content .ngg_page_content_main{padding-left:10px}.post-type-nextgen_proof #post-body-content .inside,.post-type-nextgen_proof.post-php #submitdiv,.post-type-nextgen_proof.post-php .toggle-indicator,.post-type-nextgen_proof.post-php .wp-heading-inline,.post-type-ngg_order.post-php #submitdiv,.post-type-ngg_order.post-php .toggle-indicator,.post-type-ngg_order.post-php .wp-heading-inline{display:none}.post-type-nextgen_proof.post-php #poststuff #post-body.columns-2,.post-type-ngg_order.post-php #poststuff #post-body.columns-2{margin-right:100px}.post-type-nextgen_proof.post-php #post-body.columns-2 #postbox-container-1,.post-type-ngg_order.post-php #post-body.columns-2 #postbox-container-1{width:80px;margin-right:-100px}.post-type-ngg_order.post-php #post-body-content{margin-bottom:0}.post-type-ngg_order.post-php #post-body.columns-2 #postbox-container-2{float:none}.post-type-nextgen_proof.post-php #postbox-container-2 .postbox,.post-type-ngg_order.post-php #postbox-container-2 .postbox{background-color:#fff}.post-type-ngg_order.post-php #normal-sortables{min-height:10px!important}.post-type-nextgen_proof.post-php #postbox-container-2 h2.ui-sortable-handle,.post-type-ngg_order.post-php #postbox-container-2 h2.ui-sortable-handle{margin-left:0;padding-left:16px}.post-type-nextgen_proof.post-php .inside h4,.post-type-ngg_order.post-php .inside h4{padding:5px 10px;text-decoration:none!important;text-transform:uppercase;font-weight:400}.post-type-nextgen_proof.post-php .inside,.post-type-ngg_order.post-php .inside{padding:30px;font-size:14px}.post-type-nextgen_proof #normal-sortables .closed .inside{display:block!important}.post-type-nextgen_proof.post-php th,.post-type-ngg_order.post-php th{text-transform:uppercase;font-size:15px;letter-spacing:1px;font-weight:400;padding-bottom:10px!important;color:#000!important}.post-type-nextgen_proof.post-php.post-php table tfoot,.post-type-nextgen_proof.post-php.post-php table thead,.post-type-ngg_order.post-php table tfoot,.post-type-ngg_order.post-php table thead{background-color:transparent!important}.post-type-ngg_order .ngg_pro_order_info>table{max-width:1200px;background:#fcfcfc;box-shadow:none;font-size:14px}.post-type-nextgen_proof .row-actions .inline{display:none}#ngg_page_content .ngg_payment_gateway_enable_row{background:#000!important}@media (max-width:1240px){#ngg_page_content .ngg_page_content_header p{display:none!important}}@media (max-width:782px){.about-wrap .three-col .col,.about-wrap .two-col .col{min-width:100%!important;margin-left:0;margin-top:1em}.ngg-post-type #ngg_page_content button.toggle-row{width:40px!important;height:40px!important;background:0 0!important}.ngg-post-type tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){padding:3px 8px 3px 35%}.ngg-post-type #ngg_page_content .ngg_page_content_main input[type=checkbox]:checked:before{font:400 20px/1 dashicons!important}#ngg_page_content .ngg_page_content_header img{padding-right:10px}#ngg_page_content .ngg_overview .ngg_page_content_header h3,#ngg_page_content .ngg_page_content_header h3{font-size:14px}#ngg_page_content .ngg_overview .ngg_page_content_main,#ngg_page_content .ngg_page_content_menu,#ngg_page_content.ngg_settings_page .ngg_page_content_main{width:100%}#ngg_page_content .ngg_page_content_main,#ngg_page_content.ngg_settings_page .ngg_page_content_main{padding:20px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table,#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main tbody,#ngg_page_content.ngg_settings_page .ngg_page_content_main table,#ngg_page_content.ngg_settings_page .ngg_page_content_main tbody{display:block!important;max-width:100%}#attach_to_post_tabs #displayed_tab #ngg_page_content #slug_configuration,#ngg_page_content.ngg_settings_page .ngg_page_content_main tbody.hidden{display:none!important}#attach_to_post_tabs #displayed_tab #display_settings_tab_content table tr,#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr{display:block!important;padding:10px 0 20px!important}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td,#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr td,#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th{display:block;padding:2px 10px}#ngg_page_content.ngg_settings_page .ngg_page_content_main table.nextgen_settings_position tr td{display:table-cell}#ngg_page_content.ngg_settings_page .ngg_page_content_main h2,#ngg_page_content.ngg_settings_page .ngg_page_content_main h3{text-align:center}#ngg_page_content.ngg_settings_page form>p{width:100%;padding:15px;box-sizing:border-box}#ngg_page_content .ngg_page_content_main input,#ngg_page_content .ngg_page_content_main select{max-width:100%;margin:5px 0;box-sizing:border-box}#ngg_page_content .ngg_page_content_main .select2-container,#ngg_page_content .ngg_page_content_main input[type=text],#ngg_page_content .ngg_page_content_main input[type=number],#ngg_page_content .ngg_page_content_main select{width:100%!important}#ngg_page_content button.wp-color-result{width:auto!important}#ngg_page_content button.wp-color-result .wp-color-result-text{line-height:22px}.ngg-post-type .ngg_page_content_main .subsubsub,.ngg-post-type .ngg_page_content_main .tablenav .actions{width:100%}.ngg-post-type #ngg_page_content .ngg_page_content_main input,.ngg-post-type #ngg_page_content .ngg_page_content_main select{width:100%!important;max-width:100%;margin:5px 0;box-sizing:border-box}#ngg_page_content input[type=checkbox]{width:16px!important}#ngg_page_content .button-primary,#ngg_page_content .button-secondary,#ngg_page_content button{width:100%!important;margin:4px 0;display:block;text-align:center}#ngg_page_content .ngg_save_settings_button{position:static}.ngg-post-type .ngg_page_content_main .button,.ngg-post-type .ngg_page_content_main .page-title-action{width:80%!important;display:block;text-align:center;margin:10px auto 20px;padding:0!important}.ngg-post-type .ngg_page_content_main .displaying-num{display:none}#gallery_selection label{display:block;padding-bottom:8px}.post-type-ngg_pricelist .accordion table{width:100%!important}.post-type-ngg_pricelist .accordion #manual_shipping_options td{display:block;width:100%!important}.post-type-ngg_pricelist #ngg_page_content .accordion table input.shipping_rate{width:100%;max-width:100%}.post-type-ngg_pricelist .accordion input[type=checkbox]:checked:before{font:400 21px/1 dashicons}.ngg-post-type #ngg_page_content h1{text-align:center;display:block}#ngg_page_content .responsive-menu-icon{display:block;padding:10px 0 15px}#ngg_page_content .responsive-menu{display:none;margin:0}#ngg_page_content .responsive-menu a{display:block}#ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after,#ngg_page_content .ngg_page_content_menu a:active:after{display:none}}.ngg_admin_notice.notice-success,.ngg_admin_notice.updated{border-left-color:#9dbd1b}
products/photocrati_nextgen/modules/nextgen_block/static/build/block.min.js CHANGED
@@ -11,5 +11,5 @@
11
  object-assign
12
  (c) Sindre Sorhus
13
  @license MIT
14
- */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,c=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var u in n=Object(arguments[i]))o.call(n,u)&&(c[u]=n[u]);if(r){a=r(n);for(var f=0;f<a.length;f++)l.call(n,a[f])&&(c[a[f]]=n[a[f]])}}return c}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r);function l(e){"@babel/helpers - typeof";return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return p(e)}(this,n)}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=document.body,m=function(e){u(n,o.a.Component);var t=s(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).closeModal=r.closeModal.bind(p(r)),r.background_layer=document.createElement("div"),r.background_layer.setAttribute("id","add-ngg-gallery-modal-background"),r}return i(n,[{key:"componentDidMount",value:function(){y.style.overflow="hidden",y.appendChild(this.background_layer);var e=this,t=document.getElementById("add-ngg-gallery-block-iframe");t.addEventListener("NGG_Iframe_Ready",function(){document.getElementById("add-ngg-gallery-modal-spinner").classList.add("add-ngg-gallery-modal-spinner-hidden")}),t.addEventListener("NGG_Insert_Gallery",function(t){e.props.onInsertGallery(t.detail.shortcode)}),t.addEventListener("NGG_Close_Modal",function(){e.props.onCloseModal()})}},{key:"componentWillUnmount",value:function(){y.style.overflow="auto",y.removeChild(this.background_layer)}},{key:"closeModal",value:function(){this.props.onCloseModal()}},{key:"render",value:function(){var e=nextgen_gallery_attach_to_post_url+"&origin=block";if(this.props.content){e+="&shortcode=";var t=this.props.content.replace(/\\"/g,'"');t=(t=(t=t.replace(/^\[ngg_images/,"")).replace(/^\[ngg/,"")).replace(/]$/,""),e+=Base64.encode(t)}return ReactDOM.createPortal(o.a.createElement("div",{id:"add-ngg-gallery-modal"},o.a.createElement("a",{href:"#",id:"add-ngg-gallery-modal-close",onClick:this.closeModal},o.a.createElement("span",{className:"dashicons dashicons-no"})),o.a.createElement("div",{id:"add-ngg-gallery-modal-spinner"},o.a.createElement("i",{className:"fa fa-spin fa-spinner"})),o.a.createElement("iframe",{src:e,tabIndex:"-1",name:"add-ngg-gallery-block-iframe",id:"add-ngg-gallery-block-iframe"})),y)}}]),n}(),b=function(e){u(n,o.a.Component);var t=s(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).state={open:!1},r.openIGW=r.openIGW.bind(p(r)),r.closeIGW=r.closeIGW.bind(p(r)),r.removeGallery=r.removeGallery.bind(p(r)),r}return i(n,[{key:"hasGallery",value:function(){return this.props.content&&this.props.content.length>0}},{key:"removeGallery",value:function(){this.props.onInsertGallery("")}},{key:"closeIGW",value:function(){this.setState({open:!1})}},{key:"openIGW",value:function(){this.setState({open:!0})}},{key:"render",value:function(){return o.a.createElement("div",{className:"add-ngg-gallery-parent"},this.state.open?o.a.createElement(m,{content:this.props.content,onCloseModal:this.closeIGW,onInsertGallery:this.props.onInsertGallery}):"",this.hasGallery()?o.a.createElement("div",{className:"add-ngg-gallery-block"},o.a.createElement("h3",null,add_ngg_gallery_block_i18n.h3),o.a.createElement("button",{className:"add-ngg-gallery-button",onClick:this.openIGW},add_ngg_gallery_block_i18n.edit),o.a.createElement("button",{className:"add-ngg-gallery-button",onClick:this.removeGallery},add_ngg_gallery_block_i18n.delete)):o.a.createElement("div",{className:"add-ngg-gallery-block"},o.a.createElement("div",{className:"add-ngg-gallery-button",onClick:this.openIGW},add_ngg_gallery_block_i18n.create)))}}]),n}(),g={};g.nextgen=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 240 240",width:"240.0pt",height:"240.0pt"},React.createElement("path",{d:"M 0.00 0.00 L 240.00 0.00 L 240.00 240.00 L 0.00 240.00 L 0.00 0.00 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 116.97 3.45 C 155.78 2.17 194.29 21.78 215.90 54.07 C 226.92 70.43 234.08 89.34 236.07 109.00 C 239.08 140.20 228.61 172.42 208.14 196.12 C 191.73 215.41 168.66 228.79 143.97 234.16 C 125.25 238.08 105.37 237.44 87.04 231.86 C 67.00 226.07 48.82 214.65 34.69 199.32 C 14.08 177.26 2.88 147.13 3.50 117.00 C 4.36 95.58 10.72 74.49 22.55 56.55 C 35.03 37.69 52.63 22.36 73.52 13.50 C 87.07 6.87 101.94 3.80 116.97 3.45 Z",fill:"#9fbb1a"}),React.createElement("path",{d:"M 69.17 61.47 C 70.78 61.56 72.37 61.91 73.97 62.05 C 80.30 62.27 86.66 62.04 93.00 62.14 C 96.81 62.23 100.65 61.35 104.18 62.75 C 108.45 64.30 111.62 68.44 111.67 73.03 C 111.78 81.35 111.66 89.68 111.72 98.00 C 111.65 101.03 111.87 104.65 110.30 107.35 C 108.22 110.91 104.17 113.41 100.02 113.40 C 90.68 113.43 81.33 113.42 71.99 113.40 C 65.66 113.41 59.85 108.54 59.66 102.04 C 59.55 92.36 59.70 82.67 59.58 72.99 C 59.41 67.44 63.60 62.15 69.17 61.47 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 138.98 61.27 C 148.33 61.42 157.69 61.22 167.04 61.37 C 173.28 61.31 178.81 66.69 178.70 72.96 C 178.72 82.65 178.75 92.34 178.68 102.02 C 178.48 108.28 173.18 112.96 167.02 113.04 C 157.69 113.25 148.33 113.02 138.99 113.15 C 132.77 113.56 126.76 108.35 126.66 102.04 C 126.55 94.37 126.67 86.68 126.62 79.00 C 126.63 76.33 126.42 73.60 126.72 70.94 C 127.60 65.24 133.25 60.88 138.98 61.27 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 70.97 72.97 C 80.41 72.70 89.87 72.92 99.31 72.86 C 99.39 82.36 99.34 91.87 99.34 101.38 C 89.85 101.36 80.36 101.42 70.87 101.35 C 70.90 91.90 70.70 82.42 70.97 72.97 Z",fill:"#9fbb1a"}),React.createElement("path",{d:"M 138.39 72.91 C 147.80 72.79 157.23 72.85 166.65 72.88 C 166.65 82.41 166.85 91.97 166.55 101.49 C 157.18 101.27 147.79 101.39 138.41 101.42 C 138.30 91.92 138.36 82.41 138.39 72.91 Z",fill:"#9fbb1a"}),React.createElement("path",{d:"M 69.96 128.72 C 77.95 128.35 86.00 128.68 94.00 128.66 C 97.84 128.75 101.40 128.12 104.93 129.93 C 109.12 131.86 111.63 136.43 111.39 141.00 C 111.31 150.34 111.48 159.70 111.31 169.04 C 111.25 175.45 105.33 180.72 99.01 180.44 C 90.00 180.43 81.00 180.42 71.99 180.44 C 67.16 180.64 62.37 177.99 60.28 173.57 C 59.04 171.04 59.32 167.76 59.27 165.00 C 59.38 156.70 59.15 148.39 59.37 140.10 C 59.59 134.25 64.10 129.27 69.96 128.72 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 137.96 128.68 C 146.96 128.36 156.00 128.45 165.00 128.61 C 167.68 128.64 170.26 129.00 172.61 130.36 C 176.44 132.46 178.51 136.68 178.41 140.99 C 178.39 150.33 178.47 159.67 178.37 169.01 C 178.48 174.84 173.95 180.48 167.95 180.68 C 159.31 180.89 150.65 180.67 142.00 180.78 C 139.64 180.74 137.05 180.91 134.76 180.27 C 129.71 178.66 126.48 173.17 126.62 168.01 C 126.61 161.01 126.64 154.00 126.62 147.00 C 126.71 143.40 126.11 139.00 127.75 135.73 C 129.57 131.70 133.51 128.85 137.96 128.68 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 70.98 140.01 C 80.41 139.71 89.87 139.94 99.31 139.89 C 99.40 149.41 99.33 158.93 99.35 168.45 C 89.85 168.43 80.36 168.47 70.86 168.42 C 70.91 158.96 70.69 149.47 70.98 140.01 Z",fill:"#9fbb1a"}),React.createElement("path",{d:"M 138.45 140.41 C 147.84 140.29 157.27 140.44 166.67 140.35 C 166.70 149.82 166.71 159.29 166.67 168.77 C 157.24 168.71 147.81 168.71 138.38 168.77 C 138.39 159.32 138.24 149.85 138.45 140.41 Z",fill:"#9fbb1a"}));var h=g,v=wp.i18n.__,C=wp.element.RawHTML;(0,wp.blocks.registerBlockType)("imagely/nextgen-gallery",{title:v("NextGEN Gallery"),description:v("A block for adding NextGEN Galleries."),icon:h.nextgen,category:"common",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1},edit:function(e){var t=e.attributes,n=e.setAttributes;return o.a.createElement(b,{content:t.content,onInsertGallery:function(e){n({content:e})}})},save:function(e){var t=e.attributes.content;return o.a.createElement(C,null,t)}})}]);
15
  //# sourceMappingURL=block.min.js.map
11
  object-assign
12
  (c) Sindre Sorhus
13
  @license MIT
14
+ */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,c=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var u in n=Object(arguments[i]))o.call(n,u)&&(c[u]=n[u]);if(r){a=r(n);for(var f=0;f<a.length;f++)l.call(n,a[f])&&(c[a[f]]=n[a[f]])}}return c}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r);function l(e){"@babel/helpers - typeof";return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return p(e)}(this,n)}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=document.body,m=function(e){u(n,o.a.Component);var t=s(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).closeModal=r.closeModal.bind(p(r)),r.background_layer=document.createElement("div"),r.background_layer.setAttribute("id","add-ngg-gallery-modal-background"),r}return i(n,[{key:"componentDidMount",value:function(){y.style.overflow="hidden",y.appendChild(this.background_layer);var e=this,t=document.getElementById("add-ngg-gallery-block-iframe");t.addEventListener("NGG_Iframe_Ready",function(){document.getElementById("add-ngg-gallery-modal-spinner").classList.add("add-ngg-gallery-modal-spinner-hidden")}),t.addEventListener("NGG_Insert_Gallery",function(t){e.props.onInsertGallery(t.detail.shortcode)}),t.addEventListener("NGG_Close_Modal",function(){e.props.onCloseModal()})}},{key:"componentWillUnmount",value:function(){y.style.overflow="auto",y.removeChild(this.background_layer)}},{key:"closeModal",value:function(){this.props.onCloseModal()}},{key:"render",value:function(){var e=window.igw.url+"&origin=block";if(this.props.content){e+="&shortcode=";var t=this.props.content.replace(/\\"/g,'"');t=(t=(t=t.replace(/^\[ngg_images/,"")).replace(/^\[ngg/,"")).replace(/]$/,""),e+=Base64.encode(t)}return ReactDOM.createPortal(o.a.createElement("div",{id:"add-ngg-gallery-modal"},o.a.createElement("a",{href:"#",id:"add-ngg-gallery-modal-close",onClick:this.closeModal},o.a.createElement("span",{className:"dashicons dashicons-no"})),o.a.createElement("div",{id:"add-ngg-gallery-modal-spinner"},o.a.createElement("i",{className:"fa fa-spin fa-spinner"})),o.a.createElement("iframe",{src:e,tabIndex:"-1",name:"add-ngg-gallery-block-iframe",id:"add-ngg-gallery-block-iframe"})),y)}}]),n}(),b=function(e){u(n,o.a.Component);var t=s(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).state={open:!1},r.openIGW=r.openIGW.bind(p(r)),r.closeIGW=r.closeIGW.bind(p(r)),r.removeGallery=r.removeGallery.bind(p(r)),r}return i(n,[{key:"hasGallery",value:function(){return this.props.content&&this.props.content.length>0}},{key:"removeGallery",value:function(){this.props.onInsertGallery("")}},{key:"closeIGW",value:function(){this.setState({open:!1})}},{key:"openIGW",value:function(){this.setState({open:!0})}},{key:"render",value:function(){return o.a.createElement("div",{className:"add-ngg-gallery-parent"},this.state.open?o.a.createElement(m,{content:this.props.content,onCloseModal:this.closeIGW,onInsertGallery:this.props.onInsertGallery}):"",this.hasGallery()?o.a.createElement("div",{className:"add-ngg-gallery-block"},o.a.createElement("h3",null,add_ngg_gallery_block_i18n.h3),o.a.createElement("button",{className:"add-ngg-gallery-button",onClick:this.openIGW},add_ngg_gallery_block_i18n.edit),o.a.createElement("button",{className:"add-ngg-gallery-button",onClick:this.removeGallery},add_ngg_gallery_block_i18n.delete)):o.a.createElement("div",{className:"add-ngg-gallery-block"},o.a.createElement("div",{className:"add-ngg-gallery-button",onClick:this.openIGW},add_ngg_gallery_block_i18n.create)))}}]),n}(),g={};g.nextgen=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 240 240",width:"240.0pt",height:"240.0pt"},React.createElement("path",{d:"M 0.00 0.00 L 240.00 0.00 L 240.00 240.00 L 0.00 240.00 L 0.00 0.00 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 116.97 3.45 C 155.78 2.17 194.29 21.78 215.90 54.07 C 226.92 70.43 234.08 89.34 236.07 109.00 C 239.08 140.20 228.61 172.42 208.14 196.12 C 191.73 215.41 168.66 228.79 143.97 234.16 C 125.25 238.08 105.37 237.44 87.04 231.86 C 67.00 226.07 48.82 214.65 34.69 199.32 C 14.08 177.26 2.88 147.13 3.50 117.00 C 4.36 95.58 10.72 74.49 22.55 56.55 C 35.03 37.69 52.63 22.36 73.52 13.50 C 87.07 6.87 101.94 3.80 116.97 3.45 Z",fill:"#9fbb1a"}),React.createElement("path",{d:"M 69.17 61.47 C 70.78 61.56 72.37 61.91 73.97 62.05 C 80.30 62.27 86.66 62.04 93.00 62.14 C 96.81 62.23 100.65 61.35 104.18 62.75 C 108.45 64.30 111.62 68.44 111.67 73.03 C 111.78 81.35 111.66 89.68 111.72 98.00 C 111.65 101.03 111.87 104.65 110.30 107.35 C 108.22 110.91 104.17 113.41 100.02 113.40 C 90.68 113.43 81.33 113.42 71.99 113.40 C 65.66 113.41 59.85 108.54 59.66 102.04 C 59.55 92.36 59.70 82.67 59.58 72.99 C 59.41 67.44 63.60 62.15 69.17 61.47 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 138.98 61.27 C 148.33 61.42 157.69 61.22 167.04 61.37 C 173.28 61.31 178.81 66.69 178.70 72.96 C 178.72 82.65 178.75 92.34 178.68 102.02 C 178.48 108.28 173.18 112.96 167.02 113.04 C 157.69 113.25 148.33 113.02 138.99 113.15 C 132.77 113.56 126.76 108.35 126.66 102.04 C 126.55 94.37 126.67 86.68 126.62 79.00 C 126.63 76.33 126.42 73.60 126.72 70.94 C 127.60 65.24 133.25 60.88 138.98 61.27 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 70.97 72.97 C 80.41 72.70 89.87 72.92 99.31 72.86 C 99.39 82.36 99.34 91.87 99.34 101.38 C 89.85 101.36 80.36 101.42 70.87 101.35 C 70.90 91.90 70.70 82.42 70.97 72.97 Z",fill:"#9fbb1a"}),React.createElement("path",{d:"M 138.39 72.91 C 147.80 72.79 157.23 72.85 166.65 72.88 C 166.65 82.41 166.85 91.97 166.55 101.49 C 157.18 101.27 147.79 101.39 138.41 101.42 C 138.30 91.92 138.36 82.41 138.39 72.91 Z",fill:"#9fbb1a"}),React.createElement("path",{d:"M 69.96 128.72 C 77.95 128.35 86.00 128.68 94.00 128.66 C 97.84 128.75 101.40 128.12 104.93 129.93 C 109.12 131.86 111.63 136.43 111.39 141.00 C 111.31 150.34 111.48 159.70 111.31 169.04 C 111.25 175.45 105.33 180.72 99.01 180.44 C 90.00 180.43 81.00 180.42 71.99 180.44 C 67.16 180.64 62.37 177.99 60.28 173.57 C 59.04 171.04 59.32 167.76 59.27 165.00 C 59.38 156.70 59.15 148.39 59.37 140.10 C 59.59 134.25 64.10 129.27 69.96 128.72 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 137.96 128.68 C 146.96 128.36 156.00 128.45 165.00 128.61 C 167.68 128.64 170.26 129.00 172.61 130.36 C 176.44 132.46 178.51 136.68 178.41 140.99 C 178.39 150.33 178.47 159.67 178.37 169.01 C 178.48 174.84 173.95 180.48 167.95 180.68 C 159.31 180.89 150.65 180.67 142.00 180.78 C 139.64 180.74 137.05 180.91 134.76 180.27 C 129.71 178.66 126.48 173.17 126.62 168.01 C 126.61 161.01 126.64 154.00 126.62 147.00 C 126.71 143.40 126.11 139.00 127.75 135.73 C 129.57 131.70 133.51 128.85 137.96 128.68 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 70.98 140.01 C 80.41 139.71 89.87 139.94 99.31 139.89 C 99.40 149.41 99.33 158.93 99.35 168.45 C 89.85 168.43 80.36 168.47 70.86 168.42 C 70.91 158.96 70.69 149.47 70.98 140.01 Z",fill:"#9fbb1a"}),React.createElement("path",{d:"M 138.45 140.41 C 147.84 140.29 157.27 140.44 166.67 140.35 C 166.70 149.82 166.71 159.29 166.67 168.77 C 157.24 168.71 147.81 168.71 138.38 168.77 C 138.39 159.32 138.24 149.85 138.45 140.41 Z",fill:"#9fbb1a"}));var h=g,v=wp.i18n.__,C=wp.element.RawHTML;(0,wp.blocks.registerBlockType)("imagely/nextgen-gallery",{title:v("NextGEN Gallery"),description:v("A block for adding NextGEN Galleries."),icon:h.nextgen,category:"common",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1},edit:function(e){var t=e.attributes,n=e.setAttributes;return o.a.createElement(b,{content:t.content,onInsertGallery:function(e){n({content:e})}})},save:function(e){var t=e.attributes.content;return o.a.createElement(C,null,t)}})}]);
15
  //# sourceMappingURL=block.min.js.map
products/photocrati_nextgen/modules/nextgen_block/static/build/block.min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/react/index.js","webpack:///./node_modules/react/cjs/react.production.min.js","webpack:///./node_modules/object-assign/index.js","webpack:///./build/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_block/static/src/edit.jsx","webpack:///./build/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_block/static/src/icons.min.js","webpack:///./build/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_block/static/src/block.jsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","require","k","q","u","v","w","x","y","z","A","B","C","iterator","D","a","b","arguments","length","e","encodeURIComponent","g","h","f","Error","replace","framesToPop","aa","E","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","F","G","this","props","context","refs","updater","H","I","isReactComponent","setState","_typeof","forceUpdate","J","constructor","isPureReactComponent","K","current","currentDispatcher","L","M","ref","__self","__source","N","children","Array","defaultProps","$$typeof","type","_owner","O","P","Q","R","pop","result","keyPrefix","func","count","S","push","V","T","U","isArray","next","done","keys","join","=",":","escape","toString","ca","da","W","ba","X","Children","map","forEach","toArray","only","createRef","Component","PureComponent","createContext","_calculateChangedBits","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_context","forwardRef","render","lazy","_ctor","_status","_result","memo","compare","Fragment","StrictMode","Suspense","createElement","cloneElement","createFactory","isValidElement","version","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","assign","unstable_ConcurrentMode","unstable_Profiler","Y","default","Z","getOwnPropertySymbols","propIsEnumerable","propertyIsEnumerable","test1","String","getOwnPropertyNames","test2","fromCharCode","test3","split","letter","err","shouldUseNative","target","source","from","symbols","to","val","undefined","TypeError","toObject","body","document","NGGModal","React","_this","_classCallCheck","_super","closeModal","_assertThisInitialized","background_layer","setAttribute","style","overflow","appendChild","self","iframe","getElementById","addEventListener","classList","add","event","onInsertGallery","detail","shortcode","onCloseModal","removeChild","attach_to_post_url","nextgen_gallery_attach_to_post_url","content","Base64","encode","ReactDOM","createPortal","react_default","id","href","onClick","className","src","tabIndex","NGGEditor","_this2","_super2","state","open","openIGW","closeIGW","removeGallery","edit_NGGModal","hasGallery","add_ngg_gallery_block_i18n","h3","edit","icons","nextgen","xmlns","viewBox","width","height","fill","__","wp","i18n","RawHTML","element","registerBlockType","blocks","title","description","icon","category","attributes","supports","customClassName","_ref","setAttributes","edit_NGGEditor","save","_ref2"],"mappings":"aACA,IAAAA,KAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,IACAG,EAAAH,EACAI,GAAA,EACAH,YAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,GAA0CK,YAAA,EAAAC,IAAAL,KAK1CZ,EAAAkB,EAAA,SAAAhB,GACA,oBAAAiB,eAAAC,aACAN,OAAAC,eAAAb,EAAAiB,OAAAC,aAAwDC,MAAA,WAExDP,OAAAC,eAAAb,EAAA,cAAiDmB,OAAA,KAQjDrB,EAAAsB,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAArB,EAAAqB,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,iBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAX,OAAAY,OAAA,MAGA,GAFA1B,EAAAkB,EAAAO,GACAX,OAAAC,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAArB,EAAAU,EAAAe,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAzB,EAAA6B,EAAA,SAAA1B,GACA,IAAAS,EAAAT,KAAAqB,WACA,WAA2B,OAAArB,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,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,GACdoD,GAAe/C,QAASL,QAIlDsD,KA7ByC,SAAAC,GA6BpB,IACTlD,EADSkD,EAAdP,WACK3C,QACR,OAAOK,EAAA5K,EAAAwG,cAACkG,EAAD,KAAWnC","file":"block.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 3);\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","/** @license React v16.6.1\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var k=require(\"object-assign\"),n=\"function\"===typeof Symbol&&Symbol.for,p=n?Symbol.for(\"react.element\"):60103,q=n?Symbol.for(\"react.portal\"):60106,r=n?Symbol.for(\"react.fragment\"):60107,t=n?Symbol.for(\"react.strict_mode\"):60108,u=n?Symbol.for(\"react.profiler\"):60114,v=n?Symbol.for(\"react.provider\"):60109,w=n?Symbol.for(\"react.context\"):60110,x=n?Symbol.for(\"react.concurrent_mode\"):60111,y=n?Symbol.for(\"react.forward_ref\"):60112,z=n?Symbol.for(\"react.suspense\"):60113,A=n?Symbol.for(\"react.memo\"):\n60115,B=n?Symbol.for(\"react.lazy\"):60116,C=\"function\"===typeof Symbol&&Symbol.iterator;function aa(a,b,e,c,d,g,h,f){if(!a){a=void 0;if(void 0===b)a=Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else{var l=[e,c,d,g,h,f],m=0;a=Error(b.replace(/%s/g,function(){return l[m++]}));a.name=\"Invariant Violation\"}a.framesToPop=1;throw a;}}\nfunction D(a){for(var b=arguments.length-1,e=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=0;c<b;c++)e+=\"&args[]=\"+encodeURIComponent(arguments[c+1]);aa(!1,\"Minified React error #\"+a+\"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. \",e)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F={};\nfunction G(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}G.prototype.isReactComponent={};G.prototype.setState=function(a,b){\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a?D(\"85\"):void 0;this.updater.enqueueSetState(this,a,b,\"setState\")};G.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function H(){}H.prototype=G.prototype;function I(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}var J=I.prototype=new H;\nJ.constructor=I;k(J,G.prototype);J.isPureReactComponent=!0;var K={current:null,currentDispatcher:null},L=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0};\nfunction N(a,b,e){var c=void 0,d={},g=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=\"\"+b.key),b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var l=Array(f),m=0;m<f;m++)l[m]=arguments[m+2];d.children=l}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$$typeof:p,type:a,key:g,ref:h,props:d,_owner:K.current}}\nfunction ba(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\\/+/g,Q=[];function R(a,b,e,c){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}}\nfunction S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a)}\nfunction T(a,b,e,c){var d=typeof a;if(\"undefined\"===d||\"boolean\"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case \"string\":case \"number\":g=!0;break;case \"object\":switch(a.$$typeof){case p:case q:g=!0}}if(g)return e(c,a,\"\"===b?\".\"+U(a,0):b),1;g=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var h=0;h<a.length;h++){d=a[h];var f=b+U(d,h);g+=T(d,f,e,c)}else if(null===a||\"object\"!==typeof a?f=null:(f=C&&a[C]||a[\"@@iterator\"],f=\"function\"===typeof f?f:null),\"function\"===typeof f)for(a=f.call(a),h=\n0;!(d=a.next()).done;)d=d.value,f=b+U(d,h++),g+=T(d,f,e,c);else\"object\"===d&&(e=\"\"+a,D(\"31\",\"[object Object]\"===e?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":e,\"\"));return g}function V(a,b,e){return null==a?0:T(a,\"\",b,e)}function U(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function ca(a,b){a.func.call(a.context,b,a.count++)}\nfunction da(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,c,e,function(a){return a}):null!=a&&(O(a)&&(a=ba(a,d+(!a.key||b&&b.key===a.key?\"\":(\"\"+a.key).replace(P,\"$&/\")+\"/\")+e)),c.push(a))}function W(a,b,e,c,d){var g=\"\";null!=e&&(g=(\"\"+e).replace(P,\"$&/\")+\"/\");b=R(b,g,c,d);V(a,da,b);S(b)}\nvar X={Children:{map:function(a,b,e){if(null==a)return a;var c=[];W(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=R(null,null,b,e);V(a,ca,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){O(a)?void 0:D(\"143\");return a}},createRef:function(){return{current:null}},Component:G,PureComponent:I,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,\n_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:y,render:a}},lazy:function(a){return{$$typeof:B,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:A,type:a,compare:void 0===b?null:b}},Fragment:r,StrictMode:t,Suspense:z,createElement:N,cloneElement:function(a,b,e){null===a||void 0===a?D(\"267\",a):void 0;var c=void 0,d=k({},a.props),g=a.key,h=a.ref,f=a._owner;\nif(null!=b){void 0!==b.ref&&(h=b.ref,f=K.current);void 0!==b.key&&(g=\"\"+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];d.children=l}return{$$typeof:p,type:a.type,key:g,ref:h,props:d,_owner:f}},createFactory:function(a){var b=N.bind(null,a);b.type=a;return b},isValidElement:O,version:\"16.6.3\",\n__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:K,assign:k}};X.unstable_ConcurrentMode=x;X.unstable_Profiler=u;var Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z;\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","import React from 'react';\n\nconst body = document.body;\n\nclass NGGModal extends React.Component {\n\n constructor(props) {\n super(props)\n this.closeModal = this.closeModal.bind(this);\n\n this.background_layer = document.createElement('div');\n this.background_layer.setAttribute('id', 'add-ngg-gallery-modal-background');\n }\n\n componentDidMount() {\n body.style.overflow = 'hidden';\n body.appendChild(this.background_layer);\n\n const self = this;\n\n const iframe = document.getElementById('add-ngg-gallery-block-iframe');\n\n iframe.addEventListener('NGG_Iframe_Ready', function() {\n document.getElementById(\"add-ngg-gallery-modal-spinner\").classList.add(\"add-ngg-gallery-modal-spinner-hidden\");\n });\n\n iframe.addEventListener('NGG_Insert_Gallery', function(event) {\n self.props.onInsertGallery(event.detail.shortcode);\n\n })\n\n iframe.addEventListener('NGG_Close_Modal', function() {\n self.props.onCloseModal();\n })\n }\n\n componentWillUnmount() {\n body.style.overflow = 'auto';\n body.removeChild(this.background_layer);\n }\n\n closeModal() {\n this.props.onCloseModal();\n }\n\n render() {\n let attach_to_post_url = nextgen_gallery_attach_to_post_url + '&origin=block';\n\n if (this.props.content) {\n attach_to_post_url += '&shortcode=';\n let shortcode = this.props.content.replace(/\\\\\"/g, '\"');\n shortcode = shortcode.replace(/^\\[ngg_images/, '');\n shortcode = shortcode.replace(/^\\[ngg/, '');\n shortcode = shortcode.replace(/]$/, '');\n attach_to_post_url += Base64.encode(shortcode);\n }\n\n // use createPortal to insert the modal div as a child of <body> to prevent the WP-Admin sidebar\n // menu from getting in the way and causing annoying z-index issues\n return ReactDOM.createPortal(\n <div id=\"add-ngg-gallery-modal\">\n <a href='#'\n id='add-ngg-gallery-modal-close'\n onClick={this.closeModal}>\n <span className=\"dashicons dashicons-no\"/>\n </a>\n <div id=\"add-ngg-gallery-modal-spinner\">\n <i className=\"fa fa-spin fa-spinner\"/>\n </div>\n <iframe src={attach_to_post_url}\n tabIndex=\"-1\"\n name=\"add-ngg-gallery-block-iframe\"\n id=\"add-ngg-gallery-block-iframe\"/>\n </div>,\n body\n );\n }\n\n}\n\nexport default class NGGEditor extends React.Component {\n\n constructor(props) {\n super(props)\n\n this.state = {\n open: false\n }\n\n this.openIGW = this.openIGW.bind(this);\n this.closeIGW = this.closeIGW.bind(this);\n this.removeGallery = this.removeGallery.bind(this);\n }\n\n hasGallery() {\n return this.props.content && this.props.content.length > 0\n }\n\n removeGallery() {\n this.props.onInsertGallery('');\n }\n\n closeIGW() {\n this.setState({\n open: false\n });\n }\n\n openIGW() {\n this.setState({\n open: true\n });\n }\n\n render() {\n return (\n <div className=\"add-ngg-gallery-parent\">\n {this.state.open ?\n <NGGModal content={this.props.content}\n onCloseModal={this.closeIGW}\n onInsertGallery={this.props.onInsertGallery}/>\n : ''\n }\n {this.hasGallery() ?\n <div className=\"add-ngg-gallery-block\">\n <h3>{add_ngg_gallery_block_i18n.h3}</h3>\n <button className=\"add-ngg-gallery-button\"\n onClick={this.openIGW}>\n {add_ngg_gallery_block_i18n.edit}\n </button>\n <button className=\"add-ngg-gallery-button\"\n onClick={this.removeGallery}>\n {add_ngg_gallery_block_i18n.delete}\n </button>\n </div>\n :\n <div className=\"add-ngg-gallery-block\">\n <div className=\"add-ngg-gallery-button\"\n onClick={this.openIGW}>\n {add_ngg_gallery_block_i18n.create}\n </div>\n </div>\n }\n </div>\n )\n }\n}","const icons = {};\n\nicons.nextgen =\n<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" viewBox=\"0 0 240 240\" width=\"240.0pt\" height=\"240.0pt\">\n<path d=\"M 0.00 0.00 L 240.00 0.00 L 240.00 240.00 L 0.00 240.00 L 0.00 0.00 Z\" fill=\"#ffffff\" />\n<path d=\"M 116.97 3.45 C 155.78 2.17 194.29 21.78 215.90 54.07 C 226.92 70.43 234.08 89.34 236.07 109.00 C 239.08 140.20 228.61 172.42 208.14 196.12 C 191.73 215.41 168.66 228.79 143.97 234.16 C 125.25 238.08 105.37 237.44 87.04 231.86 C 67.00 226.07 48.82 214.65 34.69 199.32 C 14.08 177.26 2.88 147.13 3.50 117.00 C 4.36 95.58 10.72 74.49 22.55 56.55 C 35.03 37.69 52.63 22.36 73.52 13.50 C 87.07 6.87 101.94 3.80 116.97 3.45 Z\" fill=\"#9fbb1a\" />\n<path d=\"M 69.17 61.47 C 70.78 61.56 72.37 61.91 73.97 62.05 C 80.30 62.27 86.66 62.04 93.00 62.14 C 96.81 62.23 100.65 61.35 104.18 62.75 C 108.45 64.30 111.62 68.44 111.67 73.03 C 111.78 81.35 111.66 89.68 111.72 98.00 C 111.65 101.03 111.87 104.65 110.30 107.35 C 108.22 110.91 104.17 113.41 100.02 113.40 C 90.68 113.43 81.33 113.42 71.99 113.40 C 65.66 113.41 59.85 108.54 59.66 102.04 C 59.55 92.36 59.70 82.67 59.58 72.99 C 59.41 67.44 63.60 62.15 69.17 61.47 Z\" fill=\"#ffffff\" />\n<path d=\"M 138.98 61.27 C 148.33 61.42 157.69 61.22 167.04 61.37 C 173.28 61.31 178.81 66.69 178.70 72.96 C 178.72 82.65 178.75 92.34 178.68 102.02 C 178.48 108.28 173.18 112.96 167.02 113.04 C 157.69 113.25 148.33 113.02 138.99 113.15 C 132.77 113.56 126.76 108.35 126.66 102.04 C 126.55 94.37 126.67 86.68 126.62 79.00 C 126.63 76.33 126.42 73.60 126.72 70.94 C 127.60 65.24 133.25 60.88 138.98 61.27 Z\" fill=\"#ffffff\" />\n<path d=\"M 70.97 72.97 C 80.41 72.70 89.87 72.92 99.31 72.86 C 99.39 82.36 99.34 91.87 99.34 101.38 C 89.85 101.36 80.36 101.42 70.87 101.35 C 70.90 91.90 70.70 82.42 70.97 72.97 Z\" fill=\"#9fbb1a\" />\n<path d=\"M 138.39 72.91 C 147.80 72.79 157.23 72.85 166.65 72.88 C 166.65 82.41 166.85 91.97 166.55 101.49 C 157.18 101.27 147.79 101.39 138.41 101.42 C 138.30 91.92 138.36 82.41 138.39 72.91 Z\" fill=\"#9fbb1a\" />\n<path d=\"M 69.96 128.72 C 77.95 128.35 86.00 128.68 94.00 128.66 C 97.84 128.75 101.40 128.12 104.93 129.93 C 109.12 131.86 111.63 136.43 111.39 141.00 C 111.31 150.34 111.48 159.70 111.31 169.04 C 111.25 175.45 105.33 180.72 99.01 180.44 C 90.00 180.43 81.00 180.42 71.99 180.44 C 67.16 180.64 62.37 177.99 60.28 173.57 C 59.04 171.04 59.32 167.76 59.27 165.00 C 59.38 156.70 59.15 148.39 59.37 140.10 C 59.59 134.25 64.10 129.27 69.96 128.72 Z\" fill=\"#ffffff\" />\n<path d=\"M 137.96 128.68 C 146.96 128.36 156.00 128.45 165.00 128.61 C 167.68 128.64 170.26 129.00 172.61 130.36 C 176.44 132.46 178.51 136.68 178.41 140.99 C 178.39 150.33 178.47 159.67 178.37 169.01 C 178.48 174.84 173.95 180.48 167.95 180.68 C 159.31 180.89 150.65 180.67 142.00 180.78 C 139.64 180.74 137.05 180.91 134.76 180.27 C 129.71 178.66 126.48 173.17 126.62 168.01 C 126.61 161.01 126.64 154.00 126.62 147.00 C 126.71 143.40 126.11 139.00 127.75 135.73 C 129.57 131.70 133.51 128.85 137.96 128.68 Z\" fill=\"#ffffff\" />\n<path d=\"M 70.98 140.01 C 80.41 139.71 89.87 139.94 99.31 139.89 C 99.40 149.41 99.33 158.93 99.35 168.45 C 89.85 168.43 80.36 168.47 70.86 168.42 C 70.91 158.96 70.69 149.47 70.98 140.01 Z\" fill=\"#9fbb1a\" />\n<path d=\"M 138.45 140.41 C 147.84 140.29 157.27 140.44 166.67 140.35 C 166.70 149.82 166.71 159.29 166.67 168.77 C 157.24 168.71 147.81 168.71 138.38 168.77 C 138.39 159.32 138.24 149.85 138.45 140.41 Z\" fill=\"#9fbb1a\" />\n</svg>\n\nexport default icons;","import NGGEditor from './edit.jsx'\nimport icons from './icons.min';\nimport React from 'react';\n\nconst { __ } \t\t\t\t= wp.i18n\nconst { RawHTML } \t = wp.element\nconst { registerBlockType } = wp.blocks\n\n// Register our block\nregisterBlockType('imagely/nextgen-gallery', {\n\n title: __('NextGEN Gallery'),\n\n description: __('A block for adding NextGEN Galleries.'),\n\n icon: icons.nextgen,\n\n category: 'common',\n\n attributes: {\n content: {\n type: 'string',\n source: 'html',\n },\n },\n\n supports: {\n className: false,\n customClassName: false,\n },\n\n edit({attributes, setAttributes}) {\n return <NGGEditor content={attributes.content}\n onInsertGallery={(shortcode) => {\n setAttributes({content: shortcode});\n }}/>\n },\n\n save({ attributes }) {\n const { content } = attributes;\n return <RawHTML>{ content }</RawHTML>\n }\n});"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/react/index.js","webpack:///./node_modules/react/cjs/react.production.min.js","webpack:///./node_modules/object-assign/index.js","webpack:///./build/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_block/static/src/edit.jsx","webpack:///./build/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_block/static/src/icons.min.js","webpack:///./build/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_block/static/src/block.jsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","require","k","q","u","v","w","x","y","z","A","B","C","iterator","D","a","b","arguments","length","e","encodeURIComponent","g","h","f","Error","replace","framesToPop","aa","E","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","F","G","this","props","context","refs","updater","H","I","isReactComponent","setState","_typeof","forceUpdate","J","constructor","isPureReactComponent","K","current","currentDispatcher","L","M","ref","__self","__source","N","children","Array","defaultProps","$$typeof","type","_owner","O","P","Q","R","pop","result","keyPrefix","func","count","S","push","V","T","U","isArray","next","done","keys","join","=",":","escape","toString","ca","da","W","ba","X","Children","map","forEach","toArray","only","createRef","Component","PureComponent","createContext","_calculateChangedBits","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_context","forwardRef","render","lazy","_ctor","_status","_result","memo","compare","Fragment","StrictMode","Suspense","createElement","cloneElement","createFactory","isValidElement","version","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","assign","unstable_ConcurrentMode","unstable_Profiler","Y","default","Z","getOwnPropertySymbols","propIsEnumerable","propertyIsEnumerable","test1","String","getOwnPropertyNames","test2","fromCharCode","test3","split","letter","err","shouldUseNative","target","source","from","symbols","to","val","undefined","TypeError","toObject","body","document","NGGModal","React","_this","_classCallCheck","_super","closeModal","_assertThisInitialized","background_layer","setAttribute","style","overflow","appendChild","self","iframe","getElementById","addEventListener","classList","add","event","onInsertGallery","detail","shortcode","onCloseModal","removeChild","attach_to_post_url","window","igw","url","content","Base64","encode","ReactDOM","createPortal","react_default","id","href","onClick","className","src","tabIndex","NGGEditor","_this2","_super2","state","open","openIGW","closeIGW","removeGallery","edit_NGGModal","hasGallery","add_ngg_gallery_block_i18n","h3","edit","icons","nextgen","xmlns","viewBox","width","height","fill","__","wp","i18n","RawHTML","element","registerBlockType","blocks","title","description","icon","category","attributes","supports","customClassName","_ref","setAttributes","edit_NGGEditor","save","_ref2"],"mappings":"aACA,IAAAA,KAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,IACAG,EAAAH,EACAI,GAAA,EACAH,YAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,E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AA,QAAMhJ,EAAE,8YAA8YgP,KAAK,YAC3Z1D,MAAAtC,cAAA,QAAMhJ,EAAE,8KAA8KgP,KAAK,YAC3L1D,MAAAtC,cAAA,QAAMhJ,EAAE,2LAA2LgP,KAAK,YACxM1D,MAAAtC,cAAA,QAAMhJ,EAAE,ubAAubgP,KAAK,YACpc1D,MAAAtC,cAAA,QAAMhJ,EAAE,wfAAwfgP,KAAK,YACrgB1D,MAAAtC,cAAA,QAAMhJ,EAAE,uLAAuLgP,KAAK,YACpM1D,MAAAtC,cAAA,QAAMhJ,EAAE,oMAAoMgP,KAAK,aAGlMN,QCZPO,EAAWC,GAAGC,KAAdF,GACAG,EAAqBF,GAAGG,QAAxBD,SAIRE,EAH8BJ,GAAGK,OAAzBD,mBAGU,2BAEdE,MAAOP,EAAG,mBAEVQ,YAAaR,EAAG,yCAEhBS,KAAMhB,EAAMC,QAEZgB,SAAU,SAEVC,YACI3C,SACI1H,KAAM,SACNoF,OAAQ,SAIhBkF,UACInC,WAAW,EACXoC,iBAAiB,GAGrBrB,KAtByC,SAAAsB,GAsBP,IAA5BH,EAA4BG,EAA5BH,WAAYI,EAAgBD,EAAhBC,cACd,OAAO1C,EAAA9K,EAAAwG,cAACiH,GAAUhD,QAAS2C,EAAW3C,QACpBT,gBAAiB,SAACE,GACdsD,GAAe/C,QAASP,QAIlDwD,KA7ByC,SAAAC,GA6BpB,IACTlD,EADSkD,EAAdP,WACK3C,QACR,OAAOK,EAAA9K,EAAAwG,cAACoG,EAAD,KAAWnC","file":"block.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 3);\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","/** @license React v16.6.1\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var k=require(\"object-assign\"),n=\"function\"===typeof Symbol&&Symbol.for,p=n?Symbol.for(\"react.element\"):60103,q=n?Symbol.for(\"react.portal\"):60106,r=n?Symbol.for(\"react.fragment\"):60107,t=n?Symbol.for(\"react.strict_mode\"):60108,u=n?Symbol.for(\"react.profiler\"):60114,v=n?Symbol.for(\"react.provider\"):60109,w=n?Symbol.for(\"react.context\"):60110,x=n?Symbol.for(\"react.concurrent_mode\"):60111,y=n?Symbol.for(\"react.forward_ref\"):60112,z=n?Symbol.for(\"react.suspense\"):60113,A=n?Symbol.for(\"react.memo\"):\n60115,B=n?Symbol.for(\"react.lazy\"):60116,C=\"function\"===typeof Symbol&&Symbol.iterator;function aa(a,b,e,c,d,g,h,f){if(!a){a=void 0;if(void 0===b)a=Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else{var l=[e,c,d,g,h,f],m=0;a=Error(b.replace(/%s/g,function(){return l[m++]}));a.name=\"Invariant Violation\"}a.framesToPop=1;throw a;}}\nfunction D(a){for(var b=arguments.length-1,e=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=0;c<b;c++)e+=\"&args[]=\"+encodeURIComponent(arguments[c+1]);aa(!1,\"Minified React error #\"+a+\"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. \",e)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F={};\nfunction G(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}G.prototype.isReactComponent={};G.prototype.setState=function(a,b){\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a?D(\"85\"):void 0;this.updater.enqueueSetState(this,a,b,\"setState\")};G.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function H(){}H.prototype=G.prototype;function I(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}var J=I.prototype=new H;\nJ.constructor=I;k(J,G.prototype);J.isPureReactComponent=!0;var K={current:null,currentDispatcher:null},L=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0};\nfunction N(a,b,e){var c=void 0,d={},g=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=\"\"+b.key),b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var l=Array(f),m=0;m<f;m++)l[m]=arguments[m+2];d.children=l}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$$typeof:p,type:a,key:g,ref:h,props:d,_owner:K.current}}\nfunction ba(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\\/+/g,Q=[];function R(a,b,e,c){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}}\nfunction S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a)}\nfunction T(a,b,e,c){var d=typeof a;if(\"undefined\"===d||\"boolean\"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case \"string\":case \"number\":g=!0;break;case \"object\":switch(a.$$typeof){case p:case q:g=!0}}if(g)return e(c,a,\"\"===b?\".\"+U(a,0):b),1;g=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var h=0;h<a.length;h++){d=a[h];var f=b+U(d,h);g+=T(d,f,e,c)}else if(null===a||\"object\"!==typeof a?f=null:(f=C&&a[C]||a[\"@@iterator\"],f=\"function\"===typeof f?f:null),\"function\"===typeof f)for(a=f.call(a),h=\n0;!(d=a.next()).done;)d=d.value,f=b+U(d,h++),g+=T(d,f,e,c);else\"object\"===d&&(e=\"\"+a,D(\"31\",\"[object Object]\"===e?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":e,\"\"));return g}function V(a,b,e){return null==a?0:T(a,\"\",b,e)}function U(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function ca(a,b){a.func.call(a.context,b,a.count++)}\nfunction da(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,c,e,function(a){return a}):null!=a&&(O(a)&&(a=ba(a,d+(!a.key||b&&b.key===a.key?\"\":(\"\"+a.key).replace(P,\"$&/\")+\"/\")+e)),c.push(a))}function W(a,b,e,c,d){var g=\"\";null!=e&&(g=(\"\"+e).replace(P,\"$&/\")+\"/\");b=R(b,g,c,d);V(a,da,b);S(b)}\nvar X={Children:{map:function(a,b,e){if(null==a)return a;var c=[];W(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=R(null,null,b,e);V(a,ca,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){O(a)?void 0:D(\"143\");return a}},createRef:function(){return{current:null}},Component:G,PureComponent:I,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,\n_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:y,render:a}},lazy:function(a){return{$$typeof:B,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:A,type:a,compare:void 0===b?null:b}},Fragment:r,StrictMode:t,Suspense:z,createElement:N,cloneElement:function(a,b,e){null===a||void 0===a?D(\"267\",a):void 0;var c=void 0,d=k({},a.props),g=a.key,h=a.ref,f=a._owner;\nif(null!=b){void 0!==b.ref&&(h=b.ref,f=K.current);void 0!==b.key&&(g=\"\"+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];d.children=l}return{$$typeof:p,type:a.type,key:g,ref:h,props:d,_owner:f}},createFactory:function(a){var b=N.bind(null,a);b.type=a;return b},isValidElement:O,version:\"16.6.3\",\n__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:K,assign:k}};X.unstable_ConcurrentMode=x;X.unstable_Profiler=u;var Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z;\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","import React from 'react';\n\nconst body = document.body;\n\nclass NGGModal extends React.Component {\n\n constructor(props) {\n super(props)\n this.closeModal = this.closeModal.bind(this);\n\n this.background_layer = document.createElement('div');\n this.background_layer.setAttribute('id', 'add-ngg-gallery-modal-background');\n }\n\n componentDidMount() {\n body.style.overflow = 'hidden';\n body.appendChild(this.background_layer);\n\n const self = this;\n\n const iframe = document.getElementById('add-ngg-gallery-block-iframe');\n\n iframe.addEventListener('NGG_Iframe_Ready', function() {\n document.getElementById(\"add-ngg-gallery-modal-spinner\").classList.add(\"add-ngg-gallery-modal-spinner-hidden\");\n });\n\n iframe.addEventListener('NGG_Insert_Gallery', function(event) {\n self.props.onInsertGallery(event.detail.shortcode);\n\n })\n\n iframe.addEventListener('NGG_Close_Modal', function() {\n self.props.onCloseModal();\n })\n }\n\n componentWillUnmount() {\n body.style.overflow = 'auto';\n body.removeChild(this.background_layer);\n }\n\n closeModal() {\n this.props.onCloseModal();\n }\n\n render() {\n let attach_to_post_url = window.igw.url + '&origin=block';\n\n if (this.props.content) {\n attach_to_post_url += '&shortcode=';\n let shortcode = this.props.content.replace(/\\\\\"/g, '\"');\n shortcode = shortcode.replace(/^\\[ngg_images/, '');\n shortcode = shortcode.replace(/^\\[ngg/, '');\n shortcode = shortcode.replace(/]$/, '');\n attach_to_post_url += Base64.encode(shortcode);\n }\n\n // use createPortal to insert the modal div as a child of <body> to prevent the WP-Admin sidebar\n // menu from getting in the way and causing annoying z-index issues\n return ReactDOM.createPortal(\n <div id=\"add-ngg-gallery-modal\">\n <a href='#'\n id='add-ngg-gallery-modal-close'\n onClick={this.closeModal}>\n <span className=\"dashicons dashicons-no\"/>\n </a>\n <div id=\"add-ngg-gallery-modal-spinner\">\n <i className=\"fa fa-spin fa-spinner\"/>\n </div>\n <iframe src={attach_to_post_url}\n tabIndex=\"-1\"\n name=\"add-ngg-gallery-block-iframe\"\n id=\"add-ngg-gallery-block-iframe\"/>\n </div>,\n body\n );\n }\n\n}\n\nexport default class NGGEditor extends React.Component {\n\n constructor(props) {\n super(props)\n\n this.state = {\n open: false\n }\n\n this.openIGW = this.openIGW.bind(this);\n this.closeIGW = this.closeIGW.bind(this);\n this.removeGallery = this.removeGallery.bind(this);\n }\n\n hasGallery() {\n return this.props.content && this.props.content.length > 0\n }\n\n removeGallery() {\n this.props.onInsertGallery('');\n }\n\n closeIGW() {\n this.setState({\n open: false\n });\n }\n\n openIGW() {\n this.setState({\n open: true\n });\n }\n\n render() {\n return (\n <div className=\"add-ngg-gallery-parent\">\n {this.state.open ?\n <NGGModal content={this.props.content}\n onCloseModal={this.closeIGW}\n onInsertGallery={this.props.onInsertGallery}/>\n : ''\n }\n {this.hasGallery() ?\n <div className=\"add-ngg-gallery-block\">\n <h3>{add_ngg_gallery_block_i18n.h3}</h3>\n <button className=\"add-ngg-gallery-button\"\n onClick={this.openIGW}>\n {add_ngg_gallery_block_i18n.edit}\n </button>\n <button className=\"add-ngg-gallery-button\"\n onClick={this.removeGallery}>\n {add_ngg_gallery_block_i18n.delete}\n </button>\n </div>\n :\n <div className=\"add-ngg-gallery-block\">\n <div className=\"add-ngg-gallery-button\"\n onClick={this.openIGW}>\n {add_ngg_gallery_block_i18n.create}\n </div>\n </div>\n }\n </div>\n )\n }\n}","const icons = {};\n\nicons.nextgen =\n<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" viewBox=\"0 0 240 240\" width=\"240.0pt\" height=\"240.0pt\">\n<path d=\"M 0.00 0.00 L 240.00 0.00 L 240.00 240.00 L 0.00 240.00 L 0.00 0.00 Z\" fill=\"#ffffff\" />\n<path d=\"M 116.97 3.45 C 155.78 2.17 194.29 21.78 215.90 54.07 C 226.92 70.43 234.08 89.34 236.07 109.00 C 239.08 140.20 228.61 172.42 208.14 196.12 C 191.73 215.41 168.66 228.79 143.97 234.16 C 125.25 238.08 105.37 237.44 87.04 231.86 C 67.00 226.07 48.82 214.65 34.69 199.32 C 14.08 177.26 2.88 147.13 3.50 117.00 C 4.36 95.58 10.72 74.49 22.55 56.55 C 35.03 37.69 52.63 22.36 73.52 13.50 C 87.07 6.87 101.94 3.80 116.97 3.45 Z\" fill=\"#9fbb1a\" />\n<path d=\"M 69.17 61.47 C 70.78 61.56 72.37 61.91 73.97 62.05 C 80.30 62.27 86.66 62.04 93.00 62.14 C 96.81 62.23 100.65 61.35 104.18 62.75 C 108.45 64.30 111.62 68.44 111.67 73.03 C 111.78 81.35 111.66 89.68 111.72 98.00 C 111.65 101.03 111.87 104.65 110.30 107.35 C 108.22 110.91 104.17 113.41 100.02 113.40 C 90.68 113.43 81.33 113.42 71.99 113.40 C 65.66 113.41 59.85 108.54 59.66 102.04 C 59.55 92.36 59.70 82.67 59.58 72.99 C 59.41 67.44 63.60 62.15 69.17 61.47 Z\" fill=\"#ffffff\" />\n<path d=\"M 138.98 61.27 C 148.33 61.42 157.69 61.22 167.04 61.37 C 173.28 61.31 178.81 66.69 178.70 72.96 C 178.72 82.65 178.75 92.34 178.68 102.02 C 178.48 108.28 173.18 112.96 167.02 113.04 C 157.69 113.25 148.33 113.02 138.99 113.15 C 132.77 113.56 126.76 108.35 126.66 102.04 C 126.55 94.37 126.67 86.68 126.62 79.00 C 126.63 76.33 126.42 73.60 126.72 70.94 C 127.60 65.24 133.25 60.88 138.98 61.27 Z\" fill=\"#ffffff\" />\n<path d=\"M 70.97 72.97 C 80.41 72.70 89.87 72.92 99.31 72.86 C 99.39 82.36 99.34 91.87 99.34 101.38 C 89.85 101.36 80.36 101.42 70.87 101.35 C 70.90 91.90 70.70 82.42 70.97 72.97 Z\" fill=\"#9fbb1a\" />\n<path d=\"M 138.39 72.91 C 147.80 72.79 157.23 72.85 166.65 72.88 C 166.65 82.41 166.85 91.97 166.55 101.49 C 157.18 101.27 147.79 101.39 138.41 101.42 C 138.30 91.92 138.36 82.41 138.39 72.91 Z\" fill=\"#9fbb1a\" />\n<path d=\"M 69.96 128.72 C 77.95 128.35 86.00 128.68 94.00 128.66 C 97.84 128.75 101.40 128.12 104.93 129.93 C 109.12 131.86 111.63 136.43 111.39 141.00 C 111.31 150.34 111.48 159.70 111.31 169.04 C 111.25 175.45 105.33 180.72 99.01 180.44 C 90.00 180.43 81.00 180.42 71.99 180.44 C 67.16 180.64 62.37 177.99 60.28 173.57 C 59.04 171.04 59.32 167.76 59.27 165.00 C 59.38 156.70 59.15 148.39 59.37 140.10 C 59.59 134.25 64.10 129.27 69.96 128.72 Z\" fill=\"#ffffff\" />\n<path d=\"M 137.96 128.68 C 146.96 128.36 156.00 128.45 165.00 128.61 C 167.68 128.64 170.26 129.00 172.61 130.36 C 176.44 132.46 178.51 136.68 178.41 140.99 C 178.39 150.33 178.47 159.67 178.37 169.01 C 178.48 174.84 173.95 180.48 167.95 180.68 C 159.31 180.89 150.65 180.67 142.00 180.78 C 139.64 180.74 137.05 180.91 134.76 180.27 C 129.71 178.66 126.48 173.17 126.62 168.01 C 126.61 161.01 126.64 154.00 126.62 147.00 C 126.71 143.40 126.11 139.00 127.75 135.73 C 129.57 131.70 133.51 128.85 137.96 128.68 Z\" fill=\"#ffffff\" />\n<path d=\"M 70.98 140.01 C 80.41 139.71 89.87 139.94 99.31 139.89 C 99.40 149.41 99.33 158.93 99.35 168.45 C 89.85 168.43 80.36 168.47 70.86 168.42 C 70.91 158.96 70.69 149.47 70.98 140.01 Z\" fill=\"#9fbb1a\" />\n<path d=\"M 138.45 140.41 C 147.84 140.29 157.27 140.44 166.67 140.35 C 166.70 149.82 166.71 159.29 166.67 168.77 C 157.24 168.71 147.81 168.71 138.38 168.77 C 138.39 159.32 138.24 149.85 138.45 140.41 Z\" fill=\"#9fbb1a\" />\n</svg>\n\nexport default icons;","import NGGEditor from './edit.jsx'\nimport icons from './icons.min';\nimport React from 'react';\n\nconst { __ } \t\t\t\t= wp.i18n\nconst { RawHTML } \t = wp.element\nconst { registerBlockType } = wp.blocks\n\n// Register our block\nregisterBlockType('imagely/nextgen-gallery', {\n\n title: __('NextGEN Gallery'),\n\n description: __('A block for adding NextGEN Galleries.'),\n\n icon: icons.nextgen,\n\n category: 'common',\n\n attributes: {\n content: {\n type: 'string',\n source: 'html',\n },\n },\n\n supports: {\n className: false,\n customClassName: false,\n },\n\n edit({attributes, setAttributes}) {\n return <NGGEditor content={attributes.content}\n onInsertGallery={(shortcode) => {\n setAttributes({content: shortcode});\n }}/>\n },\n\n save({ attributes }) {\n const { content } = attributes;\n return <RawHTML>{ content }</RawHTML>\n }\n});"],"sourceRoot":""}
products/photocrati_nextgen/modules/nextgen_block/static/src/edit.jsx CHANGED
@@ -44,7 +44,7 @@ class NGGModal extends React.Component {
44
  }
45
 
46
  render() {
47
- let attach_to_post_url = nextgen_gallery_attach_to_post_url + '&origin=block';
48
 
49
  if (this.props.content) {
50
  attach_to_post_url += '&shortcode=';
44
  }
45
 
46
  render() {
47
+ let attach_to_post_url = window.igw.url + '&origin=block';
48
 
49
  if (this.props.content) {
50
  attach_to_post_url += '&shortcode=';
products/photocrati_nextgen/modules/widget/package.module.widget.php CHANGED
@@ -81,7 +81,7 @@ class C_Widget_Gallery extends WP_Widget
81
  $sidebars = wp_get_sidebars_widgets();
82
  $options = $this->get_settings();
83
  foreach ($sidebars as $sidebar_name => $sidebar) {
84
- if ($sidebar_name === 'wp_inactive_widgets') {
85
  continue;
86
  }
87
  foreach ($sidebar as $widget) {
@@ -311,7 +311,7 @@ class C_Widget_Slideshow extends WP_Widget
311
  $sidebars = wp_get_sidebars_widgets();
312
  $options = $this->get_settings();
313
  foreach ($sidebars as $sidebar_name => $sidebar) {
314
- if ($sidebar_name === 'wp_inactive_widgets') {
315
  continue;
316
  }
317
  foreach ($sidebar as $widget) {
81
  $sidebars = wp_get_sidebars_widgets();
82
  $options = $this->get_settings();
83
  foreach ($sidebars as $sidebar_name => $sidebar) {
84
+ if ($sidebar_name === 'wp_inactive_widgets' || !$sidebar) {
85
  continue;
86
  }
87
  foreach ($sidebar as $widget) {
311
  $sidebars = wp_get_sidebars_widgets();
312
  $options = $this->get_settings();
313
  foreach ($sidebars as $sidebar_name => $sidebar) {
314
+ if ($sidebar_name === 'wp_inactive_widgets' || !$sidebar) {
315
  continue;
316
  }
317
  foreach ($sidebar as $widget) {
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: photocrati, imagely
3
  Tags: wordpress gallery plugin, gallery, nextgen, nextgen gallery, photo gallery, image gallery, photography, slideshow, images, photo, photo album, watermark
4
  Requires at least: 5.5.0
5
- Stable tag: 3.9.1
6
  Tested up to: 5.7.0
7
  License: GPLv3
8
  Requires PHP: 5.6
@@ -179,31 +179,38 @@ For more information, feel free to visit the official website for the NextGEN Ga
179
 
180
  == Changelog ==
181
 
 
 
 
 
 
 
 
182
  = V3.9.1 - 03.29.2020 =
183
  * Fixed: C_Dynamic_Stylesheet_Controller error
184
  * Fixed: Galleries not displaying
185
 
186
- = V3.9.0 - 03.24.2020 =
187
  * Changed: Resource manager disabled by default
188
  * Changed: Remove ngg_load_frontend_logic filter
189
  * Fixed: Refactored to resolve over 300 plugin & theme conflicts
190
  * Fixed: Problem reported with taxonomy controller
191
 
192
- = V3.8.0 - 02.24.2020 =
193
  * NEW: NGG featured image support for custom post types (1076)
194
  * Fixed: Compatibility with Custom Post Type UI plugin (1076)
195
  * Fixed: Compatibility with Advanced Custom Fields plugin (1150)
196
  * Fixed: Compatibility with Photo Station plugin (855)
197
  * Fixed: Compatibility with Stackable (981)
198
 
199
- = V3.7.0 - 02.17.2020 =
200
  * Fixed: Added ellipsis to pagination to show pages skipped (1099) (1157)
201
  * Fixed: Deleted images could still appear in 'random' image galleries (1129)
202
  * Fixed: Galleries with only one page were causing pagination links to appear (1156)
203
  * Fixed: Inability to change gallerypath on multisite networks (1150)
204
  * Fixed: Overriding static resources (CSS & JS) through files in wp-content/ngg/ was not working (1144)
205
 
206
- = V3.6.0 - 02.10.2020 =
207
  * NEW: Added new 'Bulk actions' option to remove EXIF Orientation from existing images (1137)
208
  * NEW: Allow maximum_entity_limit display setting regardless of source (1146)
209
  * NEW: Provide hooks to customize Uppy settings (1139)
2
  Contributors: photocrati, imagely
3
  Tags: wordpress gallery plugin, gallery, nextgen, nextgen gallery, photo gallery, image gallery, photography, slideshow, images, photo, photo album, watermark
4
  Requires at least: 5.5.0
5
+ Stable tag: 3.9.2
6
  Tested up to: 5.7.0
7
  License: GPLv3
8
  Requires PHP: 5.6
179
 
180
  == Changelog ==
181
 
182
+ = V3.9.2 - 04.07.2021
183
+ * Fixed: call_user_func() warning when rendering shortcodes in widgets (1168)
184
+ * Fixed: do_shortcode and legacy shortcodes (1170)
185
+ * Fixed: Incorrect use of wp_localize_script (1171)
186
+ * Fixed: Tooltips are illegible (1172)
187
+ * Fixed: PHP foreach warning (1173)
188
+
189
  = V3.9.1 - 03.29.2020 =
190
  * Fixed: C_Dynamic_Stylesheet_Controller error
191
  * Fixed: Galleries not displaying
192
 
193
+ = V3.9.0 - 03.24.2021 =
194
  * Changed: Resource manager disabled by default
195
  * Changed: Remove ngg_load_frontend_logic filter
196
  * Fixed: Refactored to resolve over 300 plugin & theme conflicts
197
  * Fixed: Problem reported with taxonomy controller
198
 
199
+ = V3.8.0 - 02.24.2021 =
200
  * NEW: NGG featured image support for custom post types (1076)
201
  * Fixed: Compatibility with Custom Post Type UI plugin (1076)
202
  * Fixed: Compatibility with Advanced Custom Fields plugin (1150)
203
  * Fixed: Compatibility with Photo Station plugin (855)
204
  * Fixed: Compatibility with Stackable (981)
205
 
206
+ = V3.7.0 - 02.17.2021 =
207
  * Fixed: Added ellipsis to pagination to show pages skipped (1099) (1157)
208
  * Fixed: Deleted images could still appear in 'random' image galleries (1129)
209
  * Fixed: Galleries with only one page were causing pagination links to appear (1156)
210
  * Fixed: Inability to change gallerypath on multisite networks (1150)
211
  * Fixed: Overriding static resources (CSS & JS) through files in wp-content/ngg/ was not working (1144)
212
 
213
+ = V3.6.0 - 02.10.2021 =
214
  * NEW: Added new 'Bulk actions' option to remove EXIF Orientation from existing images (1137)
215
  * NEW: Allow maximum_entity_limit display setting regardless of source (1146)
216
  * NEW: Provide hooks to customize Uppy settings (1139)