Initial Commit N° : 001 - V.4.3.3

This commit is contained in:
2025-03-28 14:32:57 +01:00
commit 238e5d7999
809 changed files with 371149 additions and 0 deletions
@@ -0,0 +1,24 @@
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
$el_class = (trim($el_class) != '') ? ' ' . $el_class : '';
$el_class .= isset($accordion_hide_first) && $accordion_hide_first ? ' nasa-accodion-first-hide' : '';
$el_class .= isset($accordion_layout) && $accordion_layout ? ' nasa-' . $accordion_layout : ' nasa-has-border';
$el_class .= isset($accordion_icon) && $accordion_icon ? ' nasa-' . $accordion_icon : ' nasa-plus';
if (isset($accordion_show_multi) && $accordion_show_multi) :
$el_class .= ' nasa-no-global';
endif;
$output = $this->getTemplateVariable('title');
$output .= '<div class="nasa-wrap-all nasa-accordions-content' . $el_class . '">';
$output .= $prepareContent;
$output .= '</div>';
echo $output;
@@ -0,0 +1,207 @@
<?php
/**
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
if (!defined('ABSPATH')) :
die('-1');
endif;
$title_top = $this->getTemplateVariable('title');
$content = '';
$title_abs = false;
if (WPBakeryShortCode_VC_Tta_Section::$section_info) :
$alignment_class = $alignment ? ' text-' . $alignment : '';
$el_class = (trim($el_class) != '') ? ' ' . $el_class : '';
$tabs_slide = (isset($tabs_display_type) && $tabs_display_type == 'slide') ? true : false;
$class_tabable = ' margin-bottom-15';
$class_ul_tab = 'nasa-tabs';
$class_a_click = 'nasa-a-tab nasa-flex jc flex-column';
$tab_bg = array();
$class_title = 'nasa-dft nasa-title clearfix';
$style_title = '';
$title_set_size = false;
$tab_color = $tab_color_text = array();
if (isset($title_font_size) && $title_font_size !== '') :
$class_title .= ' nasa-' . $title_font_size;
$title_set_size = true;
endif;
$class_title .= $alignment == 'center' ? ' text-center' : '';
if ($tabs_slide) :
$class_ul_tab .= ' nasa-slide-style';
else :
$tabs_type = !isset($tabs_display_type) ? '2d-no-border' : $tabs_display_type;
switch ($tabs_type) :
case '2d':
$tabs_type_class = ' nasa-classic-2d';
break;
case '3d':
$tabs_type_class = ' nasa-classic-3d';
break;
case '2d-has-bg':
if ($title_top) :
if ($alignment !== 'center') :
$class_title .= ' nasa-title-absolute';
$class_title .= $alignment == 'left' ? ' d-right' : ' d-left';
$title_abs = true;
endif;
endif;
$tabs_type_class = ' nasa-classic-2d nasa-tabs-no-border nasa-tabs-has-bg';
$class_tabable = ' margin-bottom-10';
$class_tabable .= $alignment == 'left' ? ' mobile-text-right' : ' mobile-text-left';
$tabs_bg_color = (!isset($tabs_bg_color) || $tabs_bg_color == '' || $tabs_bg_color == '#00000000') ?
'transparent' : $tabs_bg_color;
$tabs_type_class .= 'transparent' == $tabs_bg_color ? ' nasa-tabs-bg-transparent' : '';
if ($tabs_bg_color != 'transparent') :
$tab_bg[] = 'background-color: ' . $tabs_bg_color;
endif;
if (isset($tabs_text_color) && $tabs_text_color != '') :
$tab_color[] = 'color: ' . $tabs_text_color;
$tab_color_text[] = 'border-color: ' . $tabs_text_color;
$class_a_click .= ' nasa-custom-text-color';
if ($class_title) :
$style_title .= ' style="color: ' . $tabs_text_color . '"';
endif;
endif;
if ($tabs_bg_color !== 'transparent') :
$class_title .= ' nasa-has-padding mobile-text-center';
if (!$title_set_size) :
$class_title .= ' nasa-m';
endif;
else :
$class_title .= ' mobile-margin-bottom-0 mobile-text-center';
if (!$title_set_size) :
$class_title .= ' nasa-l';
endif;
endif;
break;
case '2d-radius':
$tabs_type_class = ' nasa-classic-2d nasa-tabs-no-border nasa-tabs-radius';
break;
case '2d-radius-dashed':
$tabs_type_class = ' nasa-classic-2d nasa-tabs-radius-dashed';
break;
case 'ver':
$el_class .= ' nasa-vertical-tabs';
$tabs_type_class = ' nasa-classic-2d nasa-tabs-no-border';
break;
case '2d-no-border':
default:
$tabs_type_class = ' nasa-classic-2d nasa-tabs-no-border';
break;
endswitch;
$class_ul_tab .= ' nasa-classic-style' . $tabs_type_class;
endif;
if ($title_top) :
$title_top = '<div class="' . esc_attr($class_title) . '"' . $style_title . '>' . $title_top . '</div>';
endif;
$class_tabable .= $alignment_class ? $alignment_class : '';
$content .= '<div class="nasa-wrap-all nasa-tabs-content' . esc_attr($el_class) . '">';
$content .= $title_abs ? $title_top : '';
$content .= '<div class="nasa-tabs-wrap' . esc_attr($class_tabable) . '">';
$content .= '<ul class="' . esc_attr($class_ul_tab) . '"' . (!empty($tab_bg) ? ' style="' . implode(';', $tab_bg) . '"' : '') . '>';
foreach (WPBakeryShortCode_VC_Tta_Section::$section_info as $k => $v) :
$title = esc_html($v['title']);
$custom_icon = isset($v["section_nasa_icon"]) && trim($v["section_nasa_icon"]) !== '' ? true : false;
$vc_icon = !$custom_icon && $v['add_icon'] == 'true' ? true : false;
$img_icon = '';
$i_icon = '';
$before_title = isset($v["before_tab_title"]) && trim($v["before_tab_title"]) !== '' ? '<span class="ns-before_title">' . rawurldecode(base64_decode(wp_strip_all_tags($v["before_tab_title"]))) . '</span>' : '';
$after_title = isset($v["after_tab_title"]) && trim($v["after_tab_title"]) !== '' ? '<span class="ns-after_title">' . rawurldecode(base64_decode(wp_strip_all_tags($v["after_tab_title"]))) . '</span>' : '';
$title = $before_title . $title . $after_title;
if (isset($v["section_nasa_img"]) && absint($v["section_nasa_img"])) :
$img = wp_get_attachment_image_src(absint($v["section_nasa_img"]), 'full');
if ($img) :
$img_icon = '<img src="' . esc_url($img[0]) . '" alt="' . esc_attr($v['title']) . '" width="' . absint($img[1]) . '" height="' . absint($img[2]) . '" />';
endif;
endif;
if ($custom_icon || $img_icon || $vc_icon) :
$icon_class = 'nasa-tab-icon ';
$icon_class .= !$custom_icon ? 'vc_tta-icon ' . $v['i_icon_' . $v['i_type']] : $v["section_nasa_icon"];
switch ($v['i_position']) :
case 'right':
$img_icon = $img_icon != '' ? '<span class="tab-icon-img nasa-block padding-top-10">' . $img_icon . '</span>' : '';
if ($custom_icon || $vc_icon) :
$i_icon = '<i class="' . $icon_class . ' padding-top-10"></i>';
endif;
$title = $title . $i_icon . $img_icon;
break;
case 'left':
default :
$img_icon = $img_icon != '' ? '<span class="tab-icon-img nasa-block padding-bottom-10">' . $img_icon . '</span>' : '';
if ($custom_icon || $vc_icon) :
$i_icon = '<i class="' . $icon_class . ' padding-bottom-10"></i>';
endif;
$title = $i_icon . $img_icon . $title ;
break;
endswitch;
endif;
$class_item = 'nasa-tab text-center';
$class_item .= $k == 0 ? ' active first' : '';
$class_item .= ($k + 1) == WPBakeryShortCode_VC_Tta_Section::$self_count ? ' last' : '';
$nasa_attr = ' class="' . $class_item . '"';
$nasa_attr .= !empty($tab_color) ? ' style="' . implode(';', $tab_color) . '"' : '';
$style = !empty($tab_color_text) ? ' style="' . implode(';', $tab_color_text) . '"' : '';
$content .= '<li' . $nasa_attr . '>';
$content .= '<a href="javascript:void(0);" data-hash="#' . esc_attr($v['tab_id']) . '" data-index="nasa-section-' . esc_attr($v['tab_id']) . '" class="' . esc_attr($class_a_click) . '"' . $style . ' rel="nofollow">' . $title . '</a></li>';
endforeach;
$content .= '</ul>';
$content .= '</div>';
$content .= '<div class="nasa-panels">';
$content .= $prepareContent; // Content
$content .= '</div>';
$content .= '</div>';
endif;
$output = $title_abs ? $content : $title_top . $content;
echo $output;
+118
View File
@@ -0,0 +1,118 @@
<?php
$output = '';
$atts = vc_map_get_attributes($this->getShortcode(), $atts);
extract(shortcode_atts(array(
'font_color' => '',
'width' => '1/1',
'width_side' => '',
'hide_in_mobile' => '0',
'css' => '',
'offset' => '',
'css_animation' => '',
'parallax' => '',
'parallax_speed_bg' => '1',
'parallax_speed_video' => '1',
'parallax_image' => '',
'video_bg' => false,
'video_bg_url' => '',
'video_bg_parallax' => '',
'el_class' => '',
'el_id' => ''
), $atts));
global $nasa_opt;
if ($hide_in_mobile && isset($nasa_opt['nasa_in_mobile']) && $nasa_opt['nasa_in_mobile']) {
echo '<!-- Element Hide in Mobile -->';
}
else {
$wrapper_attributes = array();
if ($el_id != '') {
$wrapper_attributes[] = 'id="' . esc_attr($el_id) . '"';
}
$width = wpb_translateColumnWidthToSpan($width);
$width = vc_column_offset_class_merge($offset, $width);
$css_classes = array(
'wpb_column',
'vc_column_container',
$width,
vc_shortcode_custom_css_class($css)
);
$el_class = $this->getExtraClass($el_class) . $this->getCSSAnimation($css_animation);
if ($el_class != '') {
$css_classes[] = $el_class;
}
if ($hide_in_mobile) {
$css_classes[] = 'hide-for-small';
}
/**
* Add class Full width to side
*/
if ($width_side != '') {
$css_classes[] = 'nasa-full-to-' . esc_attr($width_side);
}
$has_video_bg = ($video_bg && $video_bg_url && vc_extract_youtube_id($video_bg_url)) ? true : false;
$parallax_speed = $parallax_speed_bg;
if ($has_video_bg) {
$parallax = $video_bg_parallax;
$parallax_speed = $parallax_speed_video;
$parallax_image = $video_bg_url;
$css_classes[] = 'vc_video-bg-container nasa-relative';
wp_enqueue_script('vc_youtube_iframe_api_js');
}
// Support js parallax
if (!empty($parallax)) {
wp_enqueue_script('vc_jquery_skrollr_js');
$wrapper_attributes[] = 'data-vc-parallax="' . esc_attr($parallax_speed) . '"'; // parallax speed
$css_classes[] = 'vc_general vc_parallax vc_parallax-' . $parallax;
if (false !== strpos($parallax, 'fade')) {
$css_classes[] = 'js-vc_parallax-o-fade';
$wrapper_attributes[] = 'data-vc-parallax-o-fade="on"';
} elseif (false !== strpos($parallax, 'fixed')) {
$css_classes[] = 'js-vc_parallax-o-fixed';
}
}
if (!empty($parallax_image)) {
if ($has_video_bg) {
$parallax_image_src = $parallax_image;
} else {
$parallax_image_id = preg_replace('/[^\d]/', '', $parallax_image);
$parallax_image_src = wp_get_attachment_image_src($parallax_image_id, 'full');
if (!empty($parallax_image_src[0])) {
$parallax_image_src = $parallax_image_src[0];
}
}
$wrapper_attributes[] = 'data-vc-parallax-image="' . esc_attr($parallax_image_src) . '"';
}
if (!$parallax && $has_video_bg) {
$wrapper_attributes[] = 'data-vc-video-bg="' . esc_attr($video_bg_url) . '"';
}
$css_class = preg_replace(
'/\s+/',
' ',
apply_filters(
VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG,
implode(' ', array_filter(array_unique($css_classes))),
$this->settings('base'),
$atts
)
);
$wrapper_attributes[] = 'class="' . esc_attr(trim($css_class)) . '"';
$output .= '<div ' . implode(' ', $wrapper_attributes) . '>';
$output .= isset($content) && $content ? wpb_js_remove_wpautop($content) : '';
$output .= '</div>';
echo $output;
}
+62
View File
@@ -0,0 +1,62 @@
<?php
if (!defined('ABSPATH')) {
die('-1');
}
/**
* Shortcode attributes
* @var $atts
* @var $el_class
* @var $el_id
* @var $width
* @var $css
* @var $offset
* @var $content - shortcode content
* Shortcode class
* @var WPBakeryShortCode_Vc_Column_Inner $this
*/
$el_class = $width = $el_id = $css = $offset = '';
$output = '';
$atts = vc_map_get_attributes($this->getShortcode(), $atts);
extract($atts);
$width = wpb_translateColumnWidthToSpan($width);
$width = vc_column_offset_class_merge($offset, $width);
$css_classes = array(
$this->getExtraClass($el_class),
'wpb_column',
'vc_column_container',
$width,
);
if (vc_shortcode_custom_css_has_property($css,
array(
'border',
'background',
))) {
$css_classes[] = 'vc_col-has-fill';
}
$wrapper_attributes = array();
$css_class = preg_replace('/\s+/', ' ', apply_filters(VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, implode(' ', array_filter($css_classes)), $this->settings['base'], $atts));
$wrapper_attributes[] = 'class="' . esc_attr(trim($css_class)) . '"';
if (!empty($el_id)) {
$wrapper_attributes[] = 'id="' . esc_attr($el_id) . '"';
}
$output .= '<div ' . implode(' ', $wrapper_attributes) . '>';
if ($css) :
$innerColumnClass = 'vc_column-inner ' . esc_attr(trim(vc_shortcode_custom_css_class($css)));
$output .= '<div class="' . trim($innerColumnClass) . '">';
$output .= wpb_js_remove_wpautop($content);
$output .= '</div>';
else :
$output .= wpb_js_remove_wpautop($content);
endif;
$output .= '</div>';
echo $output;
+34
View File
@@ -0,0 +1,34 @@
<?php
if (!defined('ABSPATH')) {
die('-1');
}
/**
* Shortcode attributes
* @var $atts
* @var $el_class
* @var $el_id
* @var $css_animation
* @var $css
* @var $content - shortcode content
* Shortcode class
* @var WPBakeryShortCode_Vc_Column_text $this
*/
$el_class = $el_id = $css = $css_animation = '';
$atts = vc_map_get_attributes($this->getShortcode(), $atts);
extract($atts);
$class_to_filter = 'wpb_text_column wpb_content_element ' . $this->getCSSAnimation($css_animation);
$class_to_filter .= vc_shortcode_custom_css_class($css, ' ') . $this->getExtraClass($el_class);
$css_class = apply_filters(VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, $class_to_filter, $this->settings['base'], $atts);
$wrapper_attributes = array();
if (!empty($el_id)) {
$wrapper_attributes[] = 'id="' . esc_attr($el_id) . '"';
}
$output =
'<div class="' . esc_attr($css_class) . '" ' . implode(' ', $wrapper_attributes) . '>' .
wpb_js_remove_wpautop($content, true) .
'</div>';
echo $output;
+135
View File
@@ -0,0 +1,135 @@
<?php
$output = '';
$base_row = $this->settings('base');
$atts = vc_map_get_attributes($this->getShortcode(), $atts);
extract(shortcode_atts(array(
'el_class' => '',
'css_animation' => '',
'equal_height' => '',
'content_placement' => '',
'fullwidth' => '0',
'width_side' => '',
'hide_in_mobile' => '0',
'parallax' => '',
'parallax_speed_bg' => '1',
'parallax_speed_video' => '1',
'parallax_image' => '',
'video_bg' => false,
'video_bg_url' => '',
'video_bg_parallax' => '',
'css' => '',
'disable_element' => '',
'el_id' => ''
), $atts));
global $nasa_opt;
if ($hide_in_mobile && isset($nasa_opt['nasa_in_mobile']) && $nasa_opt['nasa_in_mobile']) {
echo '<!-- Element Hide in Mobile -->';
}
else {
$wrapper_attributes = array();
$css_classes = array(
'section-element',
vc_shortcode_custom_css_class($css)
);
if ($el_id != '') {
$wrapper_attributes[] = 'id="' . esc_attr($el_id) . '"';
}
$el_class = $this->getExtraClass($el_class) . $this->getCSSAnimation($css_animation);
if ($el_class != '') {
$css_classes[] = $el_class;
}
if ($hide_in_mobile) {
$css_classes[] = 'hide-for-small';
}
if ($disable_element == 'yes') {
$css_classes[] = 'hidden-tag';
}
if (!empty($equal_height)) {
$css_classes[] = 'nasa-row-cols-equal-height';
}
if (!empty($width_side)) {
$css_classes[] = 'nasa-full-to-side nasa-full-to-' . esc_attr($width_side);
}
$wrapper_attributes[] = !empty($content_placement) ?
'data-content_placement="' . $content_placement . '"' : '';
$has_video_bg = ($video_bg && $video_bg_url && vc_extract_youtube_id($video_bg_url)) ? true : false;
$parallax_speed = $parallax_speed_bg;
if ($has_video_bg) {
$parallax = $video_bg_parallax;
$parallax_speed = $parallax_speed_video;
$parallax_image = $video_bg_url;
$css_classes[] = 'vc_video-bg-container nasa-relative';
wp_enqueue_script('vc_youtube_iframe_api_js');
}
// Support js parallax
if (!empty($parallax)) {
wp_enqueue_script('vc_jquery_skrollr_js');
$wrapper_attributes[] = 'data-vc-parallax="' . esc_attr($parallax_speed) . '"'; // parallax speed
$css_classes[] = 'vc_general vc_parallax vc_parallax-' . $parallax;
if (false !== strpos($parallax, 'fade')) {
$css_classes[] = 'js-vc_parallax-o-fade';
$wrapper_attributes[] = 'data-vc-parallax-o-fade="on"';
} elseif (false !== strpos($parallax, 'fixed')) {
$css_classes[] = 'js-vc_parallax-o-fixed';
}
}
if (!empty($parallax_image)) {
if ($has_video_bg) {
$parallax_image_src = $parallax_image;
} else {
$parallax_image_id = preg_replace('/[^\d]/', '', $parallax_image);
$parallax_image_src = wp_get_attachment_image_src($parallax_image_id, 'full');
if (!empty($parallax_image_src[0])) {
$parallax_image_src = $parallax_image_src[0];
}
}
$wrapper_attributes[] = 'data-vc-parallax-image="' . esc_attr($parallax_image_src) . '"';
}
if (!$parallax && $has_video_bg) {
$wrapper_attributes[] = 'data-vc-video-bg="' . esc_attr($video_bg_url) . '"';
}
$css_class = preg_replace(
'/\s+/',
' ',
apply_filters(
VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG,
implode(' ', array_filter(array_unique($css_classes))),
$base_row,
$atts
)
);
$wrapper_attributes[] = 'class="' . esc_attr(trim($css_class)) . '"';
if ($base_row === 'vc_row'){
$output .= '<div ' . implode(' ', $wrapper_attributes) . '>';
$output .= ($fullwidth == '1') ? '<div class="nasa-row fullwidth clearfix">' : '<div class="row">';
$output .= isset($content) && $content ? wpb_js_remove_wpautop($content) : '';
$output .= '</div>';
$output .= '</div>';
}
else {
$output .= '<div ' . implode(' ', $wrapper_attributes) . '>';
$output .= '<div class="row">';
$output .= isset($content) && $content ? wpb_js_remove_wpautop($content) : '';
$output .= '</div>';
$output .= '</div>';
}
echo $output;
}
+86
View File
@@ -0,0 +1,86 @@
<?php
if (!defined('ABSPATH')) {
die('-1');
}
/**
* Shortcode attributes
* @var $atts
* @var $el_class
* @var $css
* @var $el_id
* @var $equal_height
* @var $content_placement
* @var $content - shortcode content
* Shortcode class
* @var WPBakeryShortCode_Vc_Row_Inner $this
*/
$el_class = $equal_height = $content_placement = $css = $el_id = '';
$disable_element = '';
$output = $after_output = '';
$atts = vc_map_get_attributes($this->getShortcode(), $atts);
extract($atts);
$el_class = $this->getExtraClass($el_class);
$css_classes = array(
'vc_row',
'wpb_row',
// deprecated
'vc_inner',
'vc_row-fluid',
$el_class,
vc_shortcode_custom_css_class($css),
);
if ('yes' === $disable_element) {
if (vc_is_page_editable()) {
$css_classes[] = 'vc_hidden-lg vc_hidden-xs vc_hidden-sm vc_hidden-md';
} else {
return '';
}
}
if (vc_shortcode_custom_css_has_property($css, array(
'border',
'background',
))) {
$css_classes[] = 'vc_row-has-fill';
}
if (!empty($atts['gap'])) {
$css_classes[] = 'vc_column-gap-' . $atts['gap'];
}
if (!empty($equal_height)) {
$flex_row = true;
$css_classes[] = 'vc_row-o-equal-height';
}
if (!empty($atts['rtl_reverse'])) {
$css_classes[] = 'vc_rtl-columns-reverse';
}
if (!empty($content_placement)) {
$flex_row = true;
$css_classes[] = 'vc_row-o-content-' . $content_placement;
}
if (!empty($flex_row)) {
$css_classes[] = 'vc_row-flex';
}
$wrapper_attributes = array();
// build attributes for wrapper
if (!empty($el_id)) {
$wrapper_attributes[] = 'id="' . esc_attr($el_id) . '"';
}
$css_class = preg_replace('/\s+/', ' ', apply_filters(VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, implode(' ', array_filter(array_unique($css_classes))), $this->settings['base'], $atts));
$wrapper_attributes[] = 'class="' . esc_attr(trim($css_class)) . '"';
$output .= '<div ' . implode(' ', $wrapper_attributes) . '>';
$output .= wpb_js_remove_wpautop($content);
$output .= '</div>';
$output .= $after_output;
return $output;
+28
View File
@@ -0,0 +1,28 @@
<?php
/**
* Shortcode attributes
* @var $atts
* @var $content - shortcode content
*/
if (!defined('ABSPATH')) :
die('-1');
endif;
$GLOBALS['nasa_current_layout'] = $this->layout;
$atts = vc_map_get_attributes($this->getShortcode(), $atts);
$this->resetVariables($atts, $content);
extract($atts);
$this->setGlobalTtaInfo();
$prepareContent = $this->getTemplateVariable('content');
ob_start();
$file = ELESSI_CHILD_PATH . '/vc_templates/tta_global_layout/' . $this->layout . '_layout.php';
include is_file($file) ? $file : ELESSI_THEME_PATH . '/vc_templates/tta_global_layout/' . $this->layout . '_layout.php';
unset($GLOBALS['nasa_current_layout']);
return ob_get_clean();
+57
View File
@@ -0,0 +1,57 @@
<?php
/**
* Shortcode attributes
* @var $atts
* @var $content - shortcode content
* @var $this WPBakeryShortCode_VC_Tta_Section
*/
if (!defined('ABSPATH')) {
die('-1');
}
global $nasa_opt, $nasa_current_layout;
$atts = vc_map_get_attributes($this->getShortcode(), $atts);
$class_tab = array('vc_tta-panel nasa-panel hidden-tag');
$class_acc = array('nasa-accordion hidden-tag');
$tmpl = isset($nasa_opt['tmpl_html']) && $nasa_opt['tmpl_html'] ? true : false;
if ((WPBakeryShortCode_VC_Tta_Section::$self_count == 0)) {
$class_tab[] = 'active first';
$class_acc[] = 'active first';
$tmpl = false;
}
if ($atts['el_class'] != '') {
$class_tab[] = $atts['el_class'];
$class_acc[] = $atts['el_class'];
}
$this->resetVariables($atts, $content);
WPBakeryShortCode_VC_Tta_Section::$self_count++;
WPBakeryShortCode_VC_Tta_Section::$section_info[] = $atts;
$isPageEditable = vc_is_page_editable();
$tab_id = $this->getTemplateVariable('tab_id');
$class_tab[] = 'nasa-section-' . esc_attr($tab_id);
$class_tab_str = implode(' ', $class_tab);
$class_acc_str = implode(' ', $class_acc);
$output = '';
if ($nasa_current_layout == 'accordion') :
$output .= '<div class="nasa-accordion-title">';
$output .= '<a class="' . $class_acc_str . '" data-index="nasa-section-' . esc_attr($tab_id) . '" href="javascript:void(0);" rel="nofollow">' . $this->getTemplateVariable('title') . '<svg class="hidden-tag nasa-transition" width="28" height="28" viewBox="0 0 32 32" fill="currentColor"><path d="M15.233 19.175l0.754 0.754 6.035-6.035-0.754-0.754-5.281 5.281-5.256-5.256-0.754 0.754 3.013 3.013z"/></svg></a>';
$output .= '</div>';
endif;
$output .= '<div class="' . $class_tab_str . '">';
$output .= $tmpl ? '<template class="nasa-tmpl">' : '';
$output .= $this->getTemplateVariable('content');
$output .= $tmpl ? '</template>' : '';
$output .= '</div>';
return $output;