Container -> Render * */ if ( ! defined( 'ABSPATH' ) ) exit; $tbkkt_container_block_instance = ( isset( $block ) && $block instanceof WP_Block ) ? $block : null; $tbkkt_container_attrs = isset( $attributes ) && is_array( $attributes ) ? $attributes : array(); $tbkkt_container_content = isset( $content ) ? (string) $content : ''; $tbkkt_container_tag = tbkkt_container_sanitize_tag_name( (string) ( $tbkkt_container_attrs['tagName'] ?? 'div' ) ); $tbkkt_container_outer_classes = array_merge( tbkkt_container_build_outer_class_names( $tbkkt_container_attrs ), tbkkt_min_height_item_build_outer_classes( $tbkkt_container_attrs ) ); $tbkkt_container_inner_classes = array_merge( tbkkt_container_build_inner_class_names( $tbkkt_container_attrs ), tbkkt_layout_build_class_names( $tbkkt_container_attrs ), tbkkt_block_gap_item_build_inner_classes( $tbkkt_container_attrs ) ); $tbkkt_container_wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', array_filter( $tbkkt_container_outer_classes ) ), ), $tbkkt_container_block_instance ); if ( '' === trim( (string) $tbkkt_container_wrapper_attributes ) ) : $tbkkt_container_wrapper_attributes = 'class="' . esc_attr( implode( ' ', array_filter( $tbkkt_container_outer_classes ) ) ) . '"'; endif; $tbkkt_container_wrapper_attributes = tbkkt_block_markup_merge_style_into_wrapper_attributes( (string) $tbkkt_container_wrapper_attributes, tbkkt_container_build_outer_style_declarations( $tbkkt_container_attrs ) . tbkkt_min_height_item_build_outer_style( $tbkkt_container_attrs ) ); $tbkkt_container_wrapper_attributes = tbkkt_block_markup_reorder_root_classes_in_wrapper_attributes( (string) $tbkkt_container_wrapper_attributes, 'container' ); $tbkkt_container_inner_style = tbkkt_container_build_inner_style_declarations( $tbkkt_container_attrs ) . tbkkt_block_gap_item_build_inner_style( $tbkkt_container_attrs ); $tbkkt_container_divider_top = tbkkt_shape_dividers_render_placement( 'top', $tbkkt_container_attrs ); $tbkkt_container_divider_bottom = tbkkt_shape_dividers_render_placement( 'bottom', $tbkkt_container_attrs ); $tbkkt_container_inner_open = '