| 1 |
<?php |
| 2 |
use \Elementor\Plugin; |
| 3 |
/** |
| 4 |
* The public-facing functionality of the plugin. |
| 5 |
* |
| 6 |
* @link https://wpdeveloper.com |
| 7 |
* @since 1.0.0 |
| 8 |
* |
| 9 |
* @package BetterDocs |
| 10 |
* @subpackage BetterDocs/public |
| 11 |
*/ |
| 12 |
|
| 13 |
/** |
| 14 |
* The public-facing functionality of the plugin. |
| 15 |
* |
| 16 |
* Defines the plugin name, version, and two examples hooks for how to |
| 17 |
* enqueue the public-facing stylesheet and JavaScript. |
| 18 |
* |
| 19 |
* @package BetterDocs |
| 20 |
* @subpackage BetterDocs/public |
| 21 |
* @author WPDeveloper <support@wpdeveloper.com> |
| 22 |
*/ |
| 23 |
class BetterDocs_Public { |
| 24 |
|
| 25 |
/** |
| 26 |
* The ID of this plugin. |
| 27 |
* |
| 28 |
* @since 1.0.0 |
| 29 |
* @access private |
| 30 |
* @var string $plugin_name The ID of this plugin. |
| 31 |
*/ |
| 32 |
private $plugin_name; |
| 33 |
|
| 34 |
/** |
| 35 |
* The version of this plugin. |
| 36 |
* |
| 37 |
* @since 1.0.0 |
| 38 |
* @access private |
| 39 |
* @var string $version The current version of this plugin. |
| 40 |
*/ |
| 41 |
private $version; |
| 42 |
|
| 43 |
/** |
| 44 |
* Initialize the class and set its properties. |
| 45 |
* |
| 46 |
* @since 1.0.0 |
| 47 |
* @param string $plugin_name The name of the plugin. |
| 48 |
* @param string $version The version of this plugin. |
| 49 |
*/ |
| 50 |
public function __construct( $plugin_name, $version ) |
| 51 |
{ |
| 52 |
$this->plugin_name = $plugin_name; |
| 53 |
$this->version = $version; |
| 54 |
add_action( 'init', array( $this, 'public_hooks' ) ); |
| 55 |
add_action('betterdocs_before_shortcode_load', array( $this, 'enqueue_styles')); |
| 56 |
add_action('betterdocs_before_shortcode_load', array( $this, 'enqueue_scripts')); |
| 57 |
add_action('betterdocs_docs_before_social', array($this, 'betterdocs_article_reactions')); |
| 58 |
} |
| 59 |
|
| 60 |
/** |
| 61 |
* Register the stylesheets for the public-facing side of the site. |
| 62 |
* |
| 63 |
* @since 1.0.0 |
| 64 |
*/ |
| 65 |
public function register_styles() |
| 66 |
{ |
| 67 |
/** |
| 68 |
* This function is provided for demonstration purposes only. |
| 69 |
* |
| 70 |
* An instance of this class should be passed to the run() function |
| 71 |
* defined in BetterDocs_Loader as all of the hooks are defined |
| 72 |
* in that particular class. |
| 73 |
* |
| 74 |
* The BetterDocs_Loader will then create the relationship |
| 75 |
* between the defined hooks and the functions defined in this |
| 76 |
* class. |
| 77 |
*/ |
| 78 |
wp_register_style( 'simplebar', plugin_dir_url(__FILE__) . 'css/simplebar.css', array(), $this->version, 'all' ); |
| 79 |
wp_register_style($this->plugin_name, BETTERDOCS_PUBLIC_URL . 'css/betterdocs-public.css', array(), $this->version, 'all'); |
| 80 |
wp_register_style('betterdocs-category-grid', BETTERDOCS_URL . 'includes/elementor/assets/betterdocs-category-grid.css', array(), $this->version, 'all'); |
| 81 |
wp_register_style('betterdocs-category-box', BETTERDOCS_URL . 'includes/elementor/assets/betterdocs-category-box.css', array(), $this->version, 'all'); |
| 82 |
|
| 83 |
} |
| 84 |
|
| 85 |
public function enqueue_styles() { |
| 86 |
wp_enqueue_style($this->plugin_name); |
| 87 |
wp_enqueue_style('simplebar'); |
| 88 |
} |
| 89 |
|
| 90 |
/** |
| 91 |
* Register the JavaScript for the public-facing side of the site. |
| 92 |
* |
| 93 |
* @since 1.0.0 |
| 94 |
*/ |
| 95 |
public function register_scripts() |
| 96 |
{ |
| 97 |
/** |
| 98 |
* This function is provided for demonstration purposes only. |
| 99 |
* |
| 100 |
* An instance of this class should be passed to the run() function |
| 101 |
* defined in BetterDocs_Loader as all of the hooks are defined |
| 102 |
* in that particular class. |
| 103 |
* |
| 104 |
* The BetterDocs_Loader will then create the relationship |
| 105 |
* between the defined hooks and the functions defined in this |
| 106 |
* class. |
| 107 |
*/ |
| 108 |
wp_register_script('simplebar', plugin_dir_url(__FILE__) . 'js/simplebar.js', array( 'jquery' ), $this->version, true); |
| 109 |
wp_register_script('clipboard', BETTERDOCS_PUBLIC_URL . 'js/clipboard.min.js', array( 'jquery' ), $this->version, true); |
| 110 |
wp_register_script($this->plugin_name, BETTERDOCS_PUBLIC_URL . 'js/betterdocs-public.js', array( 'jquery' ), $this->version, true); |
| 111 |
wp_localize_script($this->plugin_name, 'betterdocspublic', array( |
| 112 |
'ajax_url' => admin_url( 'admin-ajax.php' ), |
| 113 |
'post_id' => get_the_ID(), |
| 114 |
'copy_text' => esc_html__('Copied','betterdocs'), |
| 115 |
'sticky_toc_offset' => BetterDocs_DB::get_settings('sticky_toc_offset'), |
| 116 |
'nonce' => wp_create_nonce( 'betterdocs_submit_data' ) |
| 117 |
)); |
| 118 |
wp_register_script('betterdocs-category-grid', BETTERDOCS_URL . 'includes/elementor/assets/betterdocs-category-grid.js', [ 'jquery' ], '1.0.0', true); |
| 119 |
} |
| 120 |
|
| 121 |
public function enqueue_scripts() |
| 122 |
{ |
| 123 |
wp_enqueue_script('simplebar'); |
| 124 |
wp_enqueue_script($this->plugin_name); |
| 125 |
wp_enqueue_script('clipboard'); |
| 126 |
wp_localize_script($this->plugin_name, 'betterdocspublic', array( |
| 127 |
'ajax_url' => admin_url( 'admin-ajax.php' ), |
| 128 |
'post_id' => get_the_ID(), |
| 129 |
'copy_text' => esc_html__('Copied','betterdocs'), |
| 130 |
'sticky_toc_offset' => BetterDocs_DB::get_settings('sticky_toc_offset'), |
| 131 |
'nonce' => wp_create_nonce( 'betterdocs_submit_data' ), |
| 132 |
'search_letter_limit' => BetterDocs_DB::get_settings('search_letter_limit'), |
| 133 |
'FEEDBACK' => array( |
| 134 |
'DISPLAY' => true, |
| 135 |
'TEXT' => esc_html__('How did you feel?', 'betterdocs'), |
| 136 |
'SUCCESS' => esc_html__('Thanks for your feedback', 'betterdocs'), |
| 137 |
'URL' => home_url() . '?rest_route=/betterdocs/feedback', |
| 138 |
), |
| 139 |
)); |
| 140 |
} |
| 141 |
|
| 142 |
/** |
| 143 |
* Load assets only for BetterDocs templates and shortcodes |
| 144 |
* |
| 145 |
*/ |
| 146 |
public function load_assets() |
| 147 |
{ |
| 148 |
$this->register_styles(); |
| 149 |
$this->register_scripts(); |
| 150 |
if (BetterDocs_Helper::is_templates() == true) { |
| 151 |
$this->enqueue_styles(); |
| 152 |
$this->enqueue_scripts(); |
| 153 |
} |
| 154 |
} |
| 155 |
|
| 156 |
public function betterdocs_article_reactions($reactions = '') |
| 157 |
{ |
| 158 |
$post_reactions = get_theme_mod('betterdocs_post_reactions', true); |
| 159 |
|
| 160 |
if ($post_reactions == true) { |
| 161 |
$reactions = do_shortcode('[betterdocs_article_reactions]'); |
| 162 |
} |
| 163 |
|
| 164 |
return $reactions; |
| 165 |
} |
| 166 |
|
| 167 |
/** |
| 168 |
* Register the JavaScript for the public-facing side of the site. |
| 169 |
* |
| 170 |
* @since 1.0.0 |
| 171 |
*/ |
| 172 |
public function public_hooks() |
| 173 |
{ |
| 174 |
add_filter( 'archive_template', array( $this, 'get_docs_archive_template' ), 99 ); |
| 175 |
add_filter( 'single_template', array( $this, 'get_docs_single_template' ), 99); |
| 176 |
add_filter( 'betterdocs_single_post_nav', array( $this, 'singledoc_navigation_ordering' ), 9, 1 ); |
| 177 |
$defaults = betterdocs_generate_defaults(); |
| 178 |
if( is_array( $defaults ) && $defaults['betterdocs_docs_layout_select'] === 'layout-2' ) { |
| 179 |
add_filter( 'betterdocs_doc_page_cat_icon_size2_default', 80 ); |
| 180 |
} |
| 181 |
if( is_admin() ) { |
| 182 |
add_filter('plugin_action_links_' . BETTERDOCS_BASENAME, array($this, 'insert_plugin_links')); |
| 183 |
} |
| 184 |
} |
| 185 |
|
| 186 |
function singledoc_navigation_ordering( $nav_markup ) { |
| 187 |
$doc_ids = array(); |
| 188 |
$docs_orderby = BetterDocs_DB::get_settings('alphabetically_order_post'); |
| 189 |
$docs_order = BetterDocs_DB::get_settings('docs_order'); |
| 190 |
$multiple_kb = BetterDocs_DB::get_settings('multiple_kb'); |
| 191 |
$kb_slug = class_exists('BetterDocs_Multiple_Kb') ? BetterDocs_Multiple_Kb::kb_slug() : ''; |
| 192 |
$current_term_object = isset( get_the_terms( get_the_ID(), 'doc_category' )[0] ) ? get_the_terms( get_the_ID(), 'doc_category' )[0] : '' ; |
| 193 |
$current_term_id = $current_term_object != '' ? $current_term_object->term_id : ''; |
| 194 |
$current_term_slug = $current_term_object != '' ? $current_term_object->slug : ''; |
| 195 |
$list_args = BetterDocs_Helper::list_query_arg('docs', $multiple_kb, $current_term_slug, -1, $docs_orderby, $docs_order, $kb_slug); |
| 196 |
$args = apply_filters('betterdocs_articles_args', $list_args, $current_term_id); |
| 197 |
$query = new WP_Query( $args ); |
| 198 |
|
| 199 |
if( $query->have_posts() ) { |
| 200 |
while( $query->have_posts() ) { |
| 201 |
$query->the_post(); |
| 202 |
array_push( $doc_ids, get_the_ID() ); |
| 203 |
} |
| 204 |
} |
| 205 |
wp_reset_query(); |
| 206 |
|
| 207 |
$doc_id_keys = array_flip( $doc_ids ); |
| 208 |
$current_doc_index = isset( $doc_id_keys[get_the_ID()] ) ? $doc_id_keys[get_the_ID()] : ''; |
| 209 |
|
| 210 |
if( $current_doc_index != '' || $current_doc_index === 0 ) { |
| 211 |
$nav_markup = ''; |
| 212 |
$next_post_index = $current_doc_index + 1; |
| 213 |
$previous_post_index = $current_doc_index - 1; |
| 214 |
|
| 215 |
if( isset( $doc_ids[$previous_post_index] ) ) { |
| 216 |
$nav_markup .= '<a rel="prev" class="next-post" href="' . get_post_permalink( $doc_ids[$previous_post_index] ) . '"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="42px" viewBox="0 0 50 50" version="1.1"><g id="surface1"><path style=" " d="M 11.957031 13.988281 C 11.699219 14.003906 11.457031 14.117188 11.28125 14.308594 L 1.015625 25 L 11.28125 35.691406 C 11.527344 35.953125 11.894531 36.0625 12.242188 35.976563 C 12.589844 35.890625 12.867188 35.625 12.964844 35.28125 C 13.066406 34.933594 12.972656 34.5625 12.71875 34.308594 L 4.746094 26 L 48 26 C 48.359375 26.003906 48.695313 25.816406 48.878906 25.503906 C 49.058594 25.191406 49.058594 24.808594 48.878906 24.496094 C 48.695313 24.183594 48.359375 23.996094 48 24 L 4.746094 24 L 12.71875 15.691406 C 13.011719 15.398438 13.09375 14.957031 12.921875 14.582031 C 12.753906 14.203125 12.371094 13.96875 11.957031 13.988281 Z "></path></g></svg>' . wp_kses( get_the_title( $doc_ids[$previous_post_index] ), BETTERDOCS_KSES_ALLOWED_HTML ) . '</a>'; |
| 217 |
} |
| 218 |
|
| 219 |
if( isset( $doc_ids[$next_post_index] ) ) { |
| 220 |
$nav_markup .= '<a rel="next" class="next-post" href="' . get_post_permalink( $doc_ids[$next_post_index] ) . '">' . wp_kses( get_the_title( $doc_ids[$next_post_index] ), BETTERDOCS_KSES_ALLOWED_HTML ) . '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="42px" viewBox="0 0 50 50" version="1.1"><g id="surface1"><path style=" " d="M 38.035156 13.988281 C 37.628906 13.980469 37.257813 14.222656 37.09375 14.59375 C 36.933594 14.96875 37.015625 15.402344 37.300781 15.691406 L 45.277344 24 L 2.023438 24 C 1.664063 23.996094 1.328125 24.183594 1.148438 24.496094 C 0.964844 24.808594 0.964844 25.191406 1.148438 25.503906 C 1.328125 25.816406 1.664063 26.003906 2.023438 26 L 45.277344 26 L 37.300781 34.308594 C 36.917969 34.707031 36.933594 35.339844 37.332031 35.722656 C 37.730469 36.105469 38.363281 36.09375 38.746094 35.691406 L 49.011719 25 L 38.746094 14.308594 C 38.5625 14.109375 38.304688 13.996094 38.035156 13.988281 Z "></path></g></svg></a>'; |
| 221 |
} |
| 222 |
} |
| 223 |
|
| 224 |
return $nav_markup; |
| 225 |
} |
| 226 |
|
| 227 |
/** |
| 228 |
* Get Archive Template for the docs base directory. |
| 229 |
* |
| 230 |
* @since 1.0.0 |
| 231 |
*/ |
| 232 |
public function get_docs_archive_template($template) |
| 233 |
{ |
| 234 |
$docs_layout = get_theme_mod('betterdocs_docs_layout_select', 'layout-1'); |
| 235 |
$tax = BetterDocs_Helper::get_tax(); |
| 236 |
if (is_post_type_archive('docs')) { |
| 237 |
$docs_layout = get_theme_mod('betterdocs_docs_layout_select', 'layout-1'); |
| 238 |
|
| 239 |
if ( $docs_layout === 'layout-2' ) { |
| 240 |
$template = BETTERDOCS_PUBLIC_PATH . 'partials/archive-template/category-box.php'; |
| 241 |
} else { |
| 242 |
$template = BETTERDOCS_PUBLIC_PATH . 'partials/archive-template/category-list.php'; |
| 243 |
} |
| 244 |
} elseif ($tax === 'doc_category') { |
| 245 |
$template = BETTERDOCS_PUBLIC_PATH . 'partials/doc-category-templates/category-template-1.php'; |
| 246 |
} else if (is_tax('doc_tag')) { |
| 247 |
$template = BETTERDOCS_PUBLIC_PATH . 'betterdocs-tag-template.php'; |
| 248 |
} else if ($tax === 'knowledge_base' && $docs_layout === 'layout-2') { |
| 249 |
$template = BETTERDOCS_PUBLIC_PATH . 'partials/archive-template/category-box.php'; |
| 250 |
} else if ($tax === 'knowledge_base') { |
| 251 |
$template = BETTERDOCS_PUBLIC_PATH . 'partials/archive-template/category-list.php'; |
| 252 |
} |
| 253 |
return apply_filters('betterdocs_archive_template', $template); |
| 254 |
} |
| 255 |
|
| 256 |
/** |
| 257 |
* Get Single Page Template for docs base directory. |
| 258 |
* |
| 259 |
* @param int $single_template Overirde single templates. |
| 260 |
* |
| 261 |
* @since 1.0.0 |
| 262 |
*/ |
| 263 |
public function get_docs_single_template($single_template) |
| 264 |
{ |
| 265 |
if (is_singular('docs')) { |
| 266 |
$layout_select = get_theme_mod('betterdocs_single_layout_select', 'layout-1'); |
| 267 |
if ($layout_select === 'layout-4') { |
| 268 |
$single_template = BETTERDOCS_PUBLIC_PATH . 'partials/template-single/layout-4.php'; |
| 269 |
} elseif ($layout_select === 'layout-5') { |
| 270 |
$single_template = BETTERDOCS_PUBLIC_PATH . 'partials/template-single/layout-5.php'; |
| 271 |
} else { |
| 272 |
$single_template = BETTERDOCS_PUBLIC_PATH . 'partials/template-single/layout-1.php'; |
| 273 |
} |
| 274 |
} |
| 275 |
return apply_filters('betterdocs_single_template', $single_template); |
| 276 |
} |
| 277 |
|
| 278 |
/** |
| 279 |
* Archive Page Sidebar Layout Renderer |
| 280 |
*/ |
| 281 |
public static function archive_sidebar_loader( $layout ) { |
| 282 |
$template_path = BETTERDOCS_PUBLIC_PATH . 'partials/sidebars/sidebar-1.php'; |
| 283 |
if( $layout == 'layout-1' ) { |
| 284 |
$template_path = BETTERDOCS_PUBLIC_PATH . 'partials/sidebars/sidebar-1.php'; |
| 285 |
} else if( $layout == 'layout-4' ) { |
| 286 |
$template_path = BETTERDOCS_PUBLIC_PATH . 'partials/sidebars/sidebar-4.php'; |
| 287 |
} else if( $layout == 'layout-5' ) { |
| 288 |
$template_path = BETTERDOCS_PUBLIC_PATH . 'partials/sidebars/sidebar-5.php'; |
| 289 |
} |
| 290 |
return apply_filters( 'betterdocs_archive_sidebar_template', $template_path ); |
| 291 |
} |
| 292 |
|
| 293 |
/** |
| 294 |
* Get supported heading tag from settings |
| 295 |
* |
| 296 |
* @since 1.0.0 |
| 297 |
*/ |
| 298 |
public static function htag_support() |
| 299 |
{ |
| 300 |
$supported_tag = BetterDocs_DB::get_settings('supported_heading_tag'); |
| 301 |
$tags = ''; |
| 302 |
if( ! empty( $supported_tag ) && $supported_tag !== 'off' ) { |
| 303 |
$tags = implode(',',$supported_tag); |
| 304 |
} |
| 305 |
return $tags; |
| 306 |
} |
| 307 |
|
| 308 |
/** |
| 309 |
* Return table of content list before single post the_content |
| 310 |
* |
| 311 |
* @since 1.0.0 |
| 312 |
*/ |
| 313 |
public static function betterdocs_the_content ($content, $htgs, $enable_toc) { |
| 314 |
if ( $enable_toc == '1' && $htgs != '' ) { |
| 315 |
preg_match_all( '/(<h(['.$htgs.']{1})[^>]*>).*<\/h\2>/msuU', $content, $matches, PREG_SET_ORDER); |
| 316 |
$index = 0; |
| 317 |
$content = preg_replace_callback( '#<(h['.$htgs.'])(.*?)>(.*?)</\1>#si', function ($matches) use (&$index) { |
| 318 |
$tag = $matches[1]; |
| 319 |
//$title = strip_tags($matches[3]); |
| 320 |
// Get The Heading Name & Heading ID using REGEX |
| 321 |
$heading_name = preg_replace('/<[^<]+?>/', '', $matches[0]); |
| 322 |
$heading_name = ! empty( $heading_name ) ? strtolower( str_replace( " ", '-', preg_replace('/<[^>]+>|[^a-zA-Z\s\d]+/', "", html_entity_decode( $heading_name ) ) ) ) : ''; |
| 323 |
preg_match('/id="(.+?)"/', $matches[0], $id_matches); |
| 324 |
$heading_id = isset( $id_matches[1] ) ? strtolower( $id_matches[1] ) : ''; |
| 325 |
$id = ! empty( $heading_id ) ? $heading_id : ( ! empty( $heading_name ) && BetterDocs_DB::get_settings('toc_dynamic_title') != 'off' ? $heading_name : $index . '-toc-title' ); |
| 326 |
$index++; |
| 327 |
|
| 328 |
$title_link_ctc = BetterDocs_DB::get_settings('title_link_ctc'); |
| 329 |
if ($title_link_ctc == 1) { |
| 330 |
$hash_link = '<a href="#'.$id.'" class="batterdocs-anchor" data-clipboard-text="'. get_permalink() .'#'. $id .'" data-title="'.esc_html__('Copy URL','betterdocs').'">#</a>'; |
| 331 |
} else { |
| 332 |
$hash_link = ''; |
| 333 |
} |
| 334 |
|
| 335 |
// Get The Class Names Using REGEX |
| 336 |
preg_match('/class="([^"]*)"/', $matches[2], $class_matches ); |
| 337 |
$classes = isset( $class_matches[1] ) ? strtolower( $class_matches[1] ) : ''; |
| 338 |
|
| 339 |
$class = ! empty( $classes ) ? $classes : 'betterdocs-content-heading'; |
| 340 |
return sprintf('<%s class="%s" id="%s">%s %s</%s>', $tag, $class, $id, $matches[3], $hash_link, $tag); |
| 341 |
}, $content ); |
| 342 |
} |
| 343 |
|
| 344 |
return '<div id="betterdocs-single-content" class="betterdocs-content">'. $content . '</div>'; |
| 345 |
} |
| 346 |
|
| 347 |
public static function get_last_post_id() |
| 348 |
{ |
| 349 |
global $wpdb; |
| 350 |
|
| 351 |
$query = "SELECT ID FROM $wpdb->posts ORDER BY ID DESC LIMIT 0,1"; |
| 352 |
|
| 353 |
$result = $wpdb->get_results($query); |
| 354 |
$row = $result[0]; |
| 355 |
$id = $row->ID; |
| 356 |
|
| 357 |
return $id; |
| 358 |
} |
| 359 |
|
| 360 |
/** |
| 361 |
* Insert quick action link to plugin page |
| 362 |
* |
| 363 |
* @since 1.1.5 |
| 364 |
*/ |
| 365 |
public function insert_plugin_links($links) |
| 366 |
{ |
| 367 |
$links[] = sprintf('<a href="admin.php?page=betterdocs-settings">' . esc_html__('Settings','betterdocs') . '</a>'); |
| 368 |
return $links; |
| 369 |
} |
| 370 |
|
| 371 |
public static function search() |
| 372 |
{ |
| 373 |
$output = betterdocs_generate_output(); |
| 374 |
$live_search = BetterDocs_DB::get_settings('live_search'); |
| 375 |
$search_placeholder = BetterDocs_DB::get_settings('search_placeholder'); |
| 376 |
$search_heading = $search_subheading = $heading_tag = $subheading_tag = ''; |
| 377 |
if ( $output['betterdocs_live_search_heading_switch'] == true ) { |
| 378 |
$search_heading_switch = $output['betterdocs_live_search_heading_switch']; |
| 379 |
$search_heading = $output['betterdocs_live_search_heading']; |
| 380 |
$search_subheading = $output['betterdocs_live_search_subheading']; |
| 381 |
$heading_tag = $output['betterdocs_live_search_heading_tag']; |
| 382 |
$subheading_tag = $output['betterdocs_live_search_subheading_tag']; |
| 383 |
} |
| 384 |
|
| 385 |
if ( $live_search == 1 ) { |
| 386 |
$html = '<div class="betterdocs-search-form-wrap">'. do_shortcode( '[betterdocs_search_form |
| 387 |
placeholder="'.$search_placeholder.'" |
| 388 |
heading="'.$search_heading.'" |
| 389 |
subheading="'.$search_subheading.'" heading_tag="'.$heading_tag.'" subheading_tag="'.$subheading_tag.'"]').'</div>'; |
| 390 |
|
| 391 |
return apply_filters('betterdocs_search_section', $html); |
| 392 |
} |
| 393 |
} |
| 394 |
} |
| 395 |
|