/**
* Sticky Header - Customizer.
*
* @package Astra Addon
* @since 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if ( ! class_exists( 'Astra_Ext_Transparent_Header_Loader' ) ) {
/**
* Customizer Initialization
*
* @since 1.0.0
*/
class Astra_Ext_Transparent_Header_Loader {
/**
* Member Variable
*
* @var instance
*/
private static $instance;
/**
* Initiator
*/
public static function get_instance() {
if ( ! isset( self::$instance ) ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Constructor
*/
public function __construct() {
add_filter( 'astra_theme_defaults', array( $this, 'theme_defaults' ) );
add_action( 'customize_preview_init', array( $this, 'preview_scripts' ) );
add_action( 'customize_register', array( $this, 'customize_register' ), 2 );
}
/**
* Set Options Default Values
*
* @param array $defaults Astra options default value array.
* @return array
*/
public function theme_defaults( $defaults ) {
// Header - Transparent.
$defaults['transparent-header-logo'] = '';
$defaults['transparent-header-retina-logo'] = '';
$defaults['different-transparent-logo'] = 0;
$defaults['different-transparent-retina-logo'] = 0;
$defaults['transparent-header-logo-width'] = array(
'desktop' => 150,
'tablet' => 120,
'mobile' => 100,
);
$defaults['transparent-header-enable'] = 0;
$defaults['transparent-header-disable-archive'] = 1;
$defaults['transparent-header-disable-latest-posts-index'] = 1;
$defaults['transparent-header-on-devices'] = 'both';
$defaults['transparent-header-main-sep'] = '';
$defaults['transparent-header-main-sep-color'] = '';
/**
* Transparent Header
*/
$defaults['transparent-header-bg-color'] = '';
$defaults['transparent-header-color-site-title'] = '';
$defaults['transparent-header-color-h-site-title'] = '';
$defaults['transparent-menu-bg-color'] = '';
$defaults['transparent-menu-color'] = '';
$defaults['transparent-menu-h-color'] = '';
$defaults['transparent-submenu-bg-color'] = '';
$defaults['transparent-submenu-color'] = '';
$defaults['transparent-submenu-h-color'] = '';
/**
* Transparent Header Responsive Colors
*/
$defaults['transparent-header-bg-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-header-color-site-title-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-header-color-h-site-title-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-menu-bg-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-menu-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-menu-h-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-submenu-bg-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-submenu-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-submenu-h-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-content-section-text-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-content-section-link-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-content-section-link-h-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
return $defaults;
}
/**
* Add postMessage support for site title and description for the Theme Customizer.
*
* @param WP_Customize_Manager $wp_customize Theme Customizer object.
*/
public function customize_register( $wp_customize ) {
// @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
/**
* Register Panel & Sections
*/
require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/class-astra-transparent-header-panels-and-sections.php';
/**
* Sections
*/
require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-colors-transparent-header-configs.php';
// Check Transparent Header is activated.
require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-transparent-header-configs.php';
// @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
}
/**
* Customizer Preview
*/
public function preview_scripts() {
/**
* Load unminified if SCRIPT_DEBUG is true.
*/
/* Directory and Extension */
$dir_name = ( SCRIPT_DEBUG ) ? 'unminified' : 'minified';
$file_prefix = ( SCRIPT_DEBUG ) ? '' : '.min';
wp_enqueue_script( 'astra-transparent-header-customizer-preview-js', ASTRA_THEME_TRANSPARENT_HEADER_URI . 'assets/js/' . $dir_name . '/customizer-preview' . $file_prefix . '.js', array( 'customize-preview', 'astra-customizer-preview-js' ), ASTRA_THEME_VERSION, true );
// Localize variables for further JS.
wp_localize_script(
'astra-transparent-header-customizer-preview-js',
'AstraBuilderTransparentData',
array(
'is_astra_hf_builder_active' => Astra_Builder_Helper::$is_header_footer_builder_active,
'is_flex_based_css' => Astra_Builder_Helper::apply_flex_based_css(),
)
);
}
}
}
/**
* Kicking this off by calling 'get_instance()' method
*/
Astra_Ext_Transparent_Header_Loader::get_instance();
(2) In case in which each other A and you may H insurance policies work with and you can life insurance which have TPD work for coverages are provided can i get a personal loan without a bank account about the a similar indebtedness, the team policyholder should report this new state they the fresh insurer having the appropriate visibility just before or at the conclusion of one relevant removal period, at the mercy of the group policyholder which have obtained compatible claim information off brand new covered debtor.
(c) Commission away from states . In addition to the percentage out-of a declare of the an effective write drawn upon this new insurance company otherwise from the a check of the insurer, states can be paid down from the digital transfer removed of the insurance company for the purchase of claimant in order to exactly who fee regarding the fresh new allege arrives. When your number of the insurance coverage payable exceeds the bill which the brand new debtor are compelled to pay to the collector, the brand new creditor shall afford the excessive directly to brand new beneficiary designated by the borrower or perhaps the house entitled to the other.
(d) Settlement away from states . When the a team policyholder makes arrangements that have an enthusiastic insurer to help you mark drafts or monitors or build electronic transmits having payment off claims because of the classification policyholder, this new people making the brings otherwise electronic transfers may possibly not be really involved in while making fund towards policyholder.
(e) Collector examination . The brand new test shall make certain the accuracy off advanced or any other identifiable insurance costs, premium refunds, allege repayments that happen to be reported on the insurance provider and you can people almost every other related advice essential for the fresh insurance company to choose one debtors are now being afforded correct visibility. The team plan shall have a supply describing the account might be checked out per year.
(g) Record away from examination . The newest insurance company should expose and maintain a written list of any collector examination. That it record can be maintained for at least three years regarding the latest date of examination otherwise before the conclusion of your 2nd succeeding regular test by Company of its domicile, whichever are after.
(h) Number regarding visibility . A keen insurance company otherwise, within option of the brand new insurance carrier, new collector should present and continue maintaining adequate borrowing insurance rates records to have at the least 24 months following termination of people borrower?s insurance policies. The latest suggestions should identify everyone debtor, the total amount covered, the term of insurance policies, the brand new charges toward insurance and you will people refunds away from unearned advanced. The brand new information is going to be provided to have Service comment through to demand.

(1) Having borrowing life insurance coverage and credit coverage having TPD work for, 27% of one’s prima facie superior cost referenced for the (per life insurance coverage rates criteria) or twenty-seven% of your actuarially consistent premium rates for insurance policies wherein prima facie cost commonly wrote on the Pennsylvania Bulletin .
(2) Getting borrowing from the bank A&H insurance rates or involuntary unemployment insurance coverage, 21% of prima-facie superior cost referenced into the and you may (in accordance with A beneficial and you may H insurance rates speed standards; and you can involuntary unemployment insurance conditions) otherwise 21% of one’s actuarially consistent premium rates for insurance in which prima facie costs aren’t penned about Pennsylvania Bulletin .
(b) More settlement . Whenever an authorized manufacturer, general music producer, general service otherwise office at home manufacturer, which have no lead otherwise secondary association or connection with the fresh new creditor, is active in the solicitation regarding a credit insurance, the fresh settlement out of twenty seven% as the considering when you look at the subsection (a) will be risen up to 31% and also the compensation off 21% just like the provided with subsection (b) will be increased to twenty-five% so long as the entire amount or any element of more payment should be put solely given that fee on the authorized music producer, general manufacturer, general service otherwise home business office manufacturer involved in the solicitation. The fresh new collector are banned of receiving ultimately or personally most of the or people portion of the more step 3% otherwise cuatro% percentage.
]]>