Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/themify-.../js/module-s.../src
File: fancy-heading.mjs
const {BaseStyles} = await import('../../editor/base-styles.mjs');
[0] Fix | Delete
export class Module extends BaseStyles {
[1] Fix | Delete
static get_styles() {
[2] Fix | Delete
[3] Fix | Delete
const general = [
[4] Fix | Delete
// Background
[5] Fix | Delete
this.get_expand('bg', [
[6] Fix | Delete
this.get_tab({
[7] Fix | Delete
n: [
[8] Fix | Delete
this.get_image()
[9] Fix | Delete
],
[10] Fix | Delete
h: [
[11] Fix | Delete
this.get_image('', 'b_i', 'bg_c', 'b_r', 'b_p', 'h')
[12] Fix | Delete
]
[13] Fix | Delete
})
[14] Fix | Delete
]),
[15] Fix | Delete
// Padding
[16] Fix | Delete
this.get_expand('p', [
[17] Fix | Delete
this.get_tab({
[18] Fix | Delete
n: [
[19] Fix | Delete
this.get_padding()
[20] Fix | Delete
],
[21] Fix | Delete
h: [
[22] Fix | Delete
this.get_padding('', 'p', 'h')
[23] Fix | Delete
]
[24] Fix | Delete
})
[25] Fix | Delete
]),
[26] Fix | Delete
// Margin
[27] Fix | Delete
this.get_expand('m', [
[28] Fix | Delete
this.get_tab({
[29] Fix | Delete
n: [
[30] Fix | Delete
this.get_margin()
[31] Fix | Delete
],
[32] Fix | Delete
h: [
[33] Fix | Delete
this.get_margin('', 'm', 'h')
[34] Fix | Delete
]
[35] Fix | Delete
})
[36] Fix | Delete
]),
[37] Fix | Delete
// Border
[38] Fix | Delete
this.get_expand('b', [
[39] Fix | Delete
this.get_tab({
[40] Fix | Delete
n: [
[41] Fix | Delete
this.get_border()
[42] Fix | Delete
],
[43] Fix | Delete
h: [
[44] Fix | Delete
this.get_border('', 'b', 'h')
[45] Fix | Delete
]
[46] Fix | Delete
})
[47] Fix | Delete
]),
[48] Fix | Delete
// Filter
[49] Fix | Delete
this.get_expand('f_l', [
[50] Fix | Delete
this.get_tab({
[51] Fix | Delete
n: [
[52] Fix | Delete
this.get_blend()
[53] Fix | Delete
],
[54] Fix | Delete
h: [
[55] Fix | Delete
this.get_blend('', '', 'h')
[56] Fix | Delete
]
[57] Fix | Delete
})
[58] Fix | Delete
]),
[59] Fix | Delete
// Width
[60] Fix | Delete
this.get_expand('w', [
[61] Fix | Delete
this.get_width('', 'w')
[62] Fix | Delete
]),
[63] Fix | Delete
// Height & Min Height
[64] Fix | Delete
this.get_expand('ht', [
[65] Fix | Delete
this.get_height()
[66] Fix | Delete
]),
[67] Fix | Delete
// Rounded Corners
[68] Fix | Delete
this.get_expand('r_c', [
[69] Fix | Delete
this.get_tab({
[70] Fix | Delete
n: [
[71] Fix | Delete
this.get_border_radius()
[72] Fix | Delete
],
[73] Fix | Delete
h: [
[74] Fix | Delete
this.get_border_radius('', 'r_c', 'h')
[75] Fix | Delete
]
[76] Fix | Delete
})
[77] Fix | Delete
]),
[78] Fix | Delete
// Shadow
[79] Fix | Delete
this.get_expand('sh', [
[80] Fix | Delete
this.get_tab({
[81] Fix | Delete
n: [
[82] Fix | Delete
this.get_box_shadow()
[83] Fix | Delete
],
[84] Fix | Delete
h: [
[85] Fix | Delete
this.get_box_shadow('', 'sh', 'h')
[86] Fix | Delete
]
[87] Fix | Delete
})
[88] Fix | Delete
]),
[89] Fix | Delete
// Position
[90] Fix | Delete
this.get_expand('po', [this.get_css_position()]),
[91] Fix | Delete
//this.get_expand('disp', this.get_self_align()),
[92] Fix | Delete
this.get_expand('zi', [
[93] Fix | Delete
this.get_zindex('', 'custom_parallax_scroll_zindex')
[94] Fix | Delete
]
[95] Fix | Delete
),
[96] Fix | Delete
this.get_expand('tr', [
[97] Fix | Delete
this.get_tab({
[98] Fix | Delete
n: [
[99] Fix | Delete
this.get_transform()
[100] Fix | Delete
],
[101] Fix | Delete
h: [
[102] Fix | Delete
this.get_transform('', 'tr', 'h')
[103] Fix | Delete
]
[104] Fix | Delete
})
[105] Fix | Delete
])
[106] Fix | Delete
],
[107] Fix | Delete
heading = [
[108] Fix | Delete
// Font
[109] Fix | Delete
this.get_expand('f', [
[110] Fix | Delete
this.get_tab({
[111] Fix | Delete
n: [
[112] Fix | Delete
this.get_font_family('.module .main-head'),
[113] Fix | Delete
this.get_color_type(['.module .main-head', '.module .main-head a']),
[114] Fix | Delete
this.get_font_size('.module .main-head'),
[115] Fix | Delete
this.get_line_height('.module .main-head'),
[116] Fix | Delete
this.get_letter_spacing('.module .main-head'),
[117] Fix | Delete
this.get_text_transform('.module .main-head', 'text_transform_maintitle'),
[118] Fix | Delete
this.get_font_style('.module .main-head', 'font_style_maintitle'),
[119] Fix | Delete
this.get_text_shadow('.module .main-head', 't_sh_h'),
[120] Fix | Delete
// Main Heading Margin
[121] Fix | Delete
this.get_margin_top_bottom_opposity('.module .main-head', 'main_margin_top', 'main_margin_bottom')
[122] Fix | Delete
],
[123] Fix | Delete
h: [
[124] Fix | Delete
this.get_font_family('.module:hover .main-head', 'f_f_h'),
[125] Fix | Delete
this.get_color_type(['.module:hover .main-head', '.module:hover .main-head a'], '', 'f_c_t_h', 'f_c_h', 'f_g_c_h'),
[126] Fix | Delete
this.get_font_size('.module:hover .main-head', 'f_s_h'),
[127] Fix | Delete
this.get_font_style('.module:hover .main-head', 'f_st_m_h', 'f_w_h'),
[128] Fix | Delete
this.get_text_shadow('.module:hover .main-head', 't_sh_h_h'),
[129] Fix | Delete
// Main Heading Margin
[130] Fix | Delete
this.get_margin_top_bottom_opposity(':hover .main-head', 'm_h_margin_top', 'm_h_margin_bottom')
[131] Fix | Delete
]
[132] Fix | Delete
})
[133] Fix | Delete
]),
[134] Fix | Delete
// Link
[135] Fix | Delete
this.get_expand('l', [
[136] Fix | Delete
this.get_tab({
[137] Fix | Delete
n: [
[138] Fix | Delete
this.get_color(['.module .main-head a'], 'l_c_mh'),
[139] Fix | Delete
this.get_text_decoration('.module .main-head a', 't_d_mh')
[140] Fix | Delete
],
[141] Fix | Delete
h: [
[142] Fix | Delete
this.get_color(['.module .main-head a:hover'], 'l_c_mh_h', null, null, ''),
[143] Fix | Delete
this.get_text_decoration('.module .main-head a:hover', 't_d_mh_h', 'h')
[144] Fix | Delete
]
[145] Fix | Delete
})
[146] Fix | Delete
])
[147] Fix | Delete
],
[148] Fix | Delete
subheading = [
[149] Fix | Delete
// Font
[150] Fix | Delete
this.get_expand('f', [
[151] Fix | Delete
this.get_tab({
[152] Fix | Delete
n: [
[153] Fix | Delete
this.get_font_family('.module .sub-head', 'font_family_subheading'),
[154] Fix | Delete
this.get_color_type(['.module .sub-head', '.module .sub-head a'], '', 'font_color_type_subheading', 'font_color_subheading', 'font_gradient_color_subheading'),
[155] Fix | Delete
this.get_font_size('.module .sub-head', 'font_size_subheading'),
[156] Fix | Delete
this.get_line_height('.module .sub-head', 'line_height_subheading'),
[157] Fix | Delete
this.get_letter_spacing('.module .sub-head', 'letter_spacing_subheading'),
[158] Fix | Delete
this.get_text_transform('.module .sub-head', 'text_transform_subtitle'),
[159] Fix | Delete
this.get_font_style('.module .sub-head', 'font_style_subtitle'),
[160] Fix | Delete
this.get_text_shadow('.module .sub-head', 't_sh_s_h'),
[161] Fix | Delete
// Sub Heading Margin
[162] Fix | Delete
this.get_margin_top_bottom_opposity(' .sub-head', 'sub_margin_top', 'sub_margin_bottom')
[163] Fix | Delete
],
[164] Fix | Delete
h: [
[165] Fix | Delete
this.get_font_family('.module:hover .sub-head', 'f_f_s_h'),
[166] Fix | Delete
this.get_color_type(['.module:hover .sub-head', '.module:hover .sub-head a'], '', 'f_c_t_s_h', 'f_c_s_h', 'f_g_c_s_h'),
[167] Fix | Delete
this.get_font_size('.module:hover .sub-head', 'f_s_s_h'),
[168] Fix | Delete
this.get_font_style('.module:hover .sub-head', 'f_st_s_h'),
[169] Fix | Delete
this.get_text_shadow('.module:hover .sub-head', 't_sh_s_h_h'),
[170] Fix | Delete
// Sub Heading Margin
[171] Fix | Delete
this.get_margin_top_bottom_opposity(':hover .sub-head', 's_h_margin_top', 's_h_margin_bottom')
[172] Fix | Delete
]
[173] Fix | Delete
})
[174] Fix | Delete
]),
[175] Fix | Delete
// Link
[176] Fix | Delete
this.get_expand('l', [
[177] Fix | Delete
this.get_tab({
[178] Fix | Delete
n: [
[179] Fix | Delete
this.get_color(['.module .sub-head a'], 'l_c_sh'),
[180] Fix | Delete
this.get_text_decoration('.module .sub-head a', 't_d_sh')
[181] Fix | Delete
],
[182] Fix | Delete
h: [
[183] Fix | Delete
this.get_color(['.module .sub-head a:hover'], 'l_c_sh_h', null, null, ''),
[184] Fix | Delete
this.get_text_decoration('.module .sub-head a:hover', 't_d_sh_h', 'h')
[185] Fix | Delete
]
[186] Fix | Delete
})
[187] Fix | Delete
])
[188] Fix | Delete
],
[189] Fix | Delete
fhDivider = [
[190] Fix | Delete
// Divider Top/Bottom Margin
[191] Fix | Delete
this.get_expand('m', [
[192] Fix | Delete
this.get_margin(['.module .sub-head::before', '.module .sub-head::after'], 'md')
[193] Fix | Delete
]),
[194] Fix | Delete
// Divider Border
[195] Fix | Delete
this.get_expand('b', [
[196] Fix | Delete
this.get_border(['.module .sub-head::before', '.module .sub-head::after'], 'd_border')
[197] Fix | Delete
]),
[198] Fix | Delete
// Divider Width
[199] Fix | Delete
this.get_expand('w', [
[200] Fix | Delete
this.get_width(['.module .sub-head::before', '.module .sub-head::after'], 'd_width')
[201] Fix | Delete
])
[202] Fix | Delete
],
[203] Fix | Delete
fhDvdrIcon = [
[204] Fix | Delete
// Divider Icon Background
[205] Fix | Delete
this.get_expand('bg', [
[206] Fix | Delete
this.get_tab({
[207] Fix | Delete
n: [
[208] Fix | Delete
this.get_color(['.module .tb_fancy_heading_icon em', '.module .tb_fancy_heading_icon img'], 'fh_d_i_bg', 'bg_c', 'background-color')
[209] Fix | Delete
],
[210] Fix | Delete
h: [
[211] Fix | Delete
this.get_color(['.module:hover .tb_fancy_heading_icon em', '.module:hover .tb_fancy_heading_icon img'], 'fh_d_i_bg', 'bg_c', 'background-color', 'hover')
[212] Fix | Delete
]
[213] Fix | Delete
})
[214] Fix | Delete
]),
[215] Fix | Delete
// Divider Icon Color
[216] Fix | Delete
this.get_expand('c', [
[217] Fix | Delete
this.get_tab({
[218] Fix | Delete
n: [
[219] Fix | Delete
this.get_color(['.module .tb_fancy_heading_icon em', '.module .tb_fancy_heading_icon img'], 'fh_d_i_c')
[220] Fix | Delete
],
[221] Fix | Delete
h: [
[222] Fix | Delete
this.get_color(['.module:hover .tb_fancy_heading_icon em', '.module:hover .tb_fancy_heading_icon img'], 'fh_d_i_c', null, null, 'hover')
[223] Fix | Delete
]
[224] Fix | Delete
})
[225] Fix | Delete
]),
[226] Fix | Delete
// Divider Icon Font Size
[227] Fix | Delete
this.get_expand('size', [
[228] Fix | Delete
this.get_tab({
[229] Fix | Delete
n: [
[230] Fix | Delete
this.get_font_size(['.module .tb_fancy_heading_icon em', '.module .tb_fancy_heading_icon img'], 'fh_d_s')
[231] Fix | Delete
],
[232] Fix | Delete
h: [
[233] Fix | Delete
this.get_font_size(['.module:hover .tb_fancy_heading_icon em', '.module:hover .tb_fancy_heading_icon img'], 'fh_d_s', '', 'h')
[234] Fix | Delete
]
[235] Fix | Delete
})
[236] Fix | Delete
]),
[237] Fix | Delete
// Divider Icon Padding
[238] Fix | Delete
this.get_expand('p', [
[239] Fix | Delete
this.get_tab({
[240] Fix | Delete
n: [
[241] Fix | Delete
this.get_padding(['.module .tb_fancy_heading_icon em', '.module .tb_fancy_heading_icon img'], 'fh_d_i_p')
[242] Fix | Delete
],
[243] Fix | Delete
h: [
[244] Fix | Delete
this.get_padding(['.module:hover .tb_fancy_heading_icon em', '.module:hover .tb_fancy_heading_icon img'], 'fh_d_i_p_h')
[245] Fix | Delete
]
[246] Fix | Delete
})
[247] Fix | Delete
]),
[248] Fix | Delete
// Divider Icon Margin
[249] Fix | Delete
this.get_expand('m', [
[250] Fix | Delete
this.get_tab({
[251] Fix | Delete
n: [
[252] Fix | Delete
this.get_margin(['.module .tb_fancy_heading_icon', '.module .tb_fancy_heading_icon img'], 'fh_d_i_m')
[253] Fix | Delete
],
[254] Fix | Delete
h: [
[255] Fix | Delete
this.get_margin(['.module:hover .tb_fancy_heading_icon', '.module:hover .tb_fancy_heading_icon img'], 'fh_d_i_m_h')
[256] Fix | Delete
]
[257] Fix | Delete
})
[258] Fix | Delete
]),
[259] Fix | Delete
// Divider Icon Border
[260] Fix | Delete
this.get_expand('b', [
[261] Fix | Delete
this.get_tab({
[262] Fix | Delete
n: [
[263] Fix | Delete
this.get_border(['.module .tb_fancy_heading_icon em', '.module .tb_fancy_heading_icon img'], 'fh_d_i_b')
[264] Fix | Delete
],
[265] Fix | Delete
h: [
[266] Fix | Delete
this.get_border(['.module:hover .tb_fancy_heading_icon em', '.module:hover .tb_fancy_heading_icon img'], 'fh_d_i_b_h')
[267] Fix | Delete
]
[268] Fix | Delete
})
[269] Fix | Delete
]),
[270] Fix | Delete
// Divider Icon Corners
[271] Fix | Delete
this.get_expand('r_c', [
[272] Fix | Delete
this.get_tab({
[273] Fix | Delete
n: [
[274] Fix | Delete
this.get_border_radius(['.module .tb_fancy_heading_icon em', '.module .tb_fancy_heading_icon img'], 'fh_d_i_rc')
[275] Fix | Delete
],
[276] Fix | Delete
h: [
[277] Fix | Delete
this.get_border_radius(['.module:hover .tb_fancy_heading_icon em', '.module:hover .tb_fancy_heading_icon img'], 'fh_d_i_rc_h')
[278] Fix | Delete
]
[279] Fix | Delete
})
[280] Fix | Delete
])
[281] Fix | Delete
],
[282] Fix | Delete
fhDvdrBorder = [
[283] Fix | Delete
// Divider Border Margin
[284] Fix | Delete
this.get_expand('m', [
[285] Fix | Delete
this.get_tab({
[286] Fix | Delete
n: [
[287] Fix | Delete
this.get_margin('.module-fancy-heading .tb_fancy_heading_border:before', 'fh_d_b_m')
[288] Fix | Delete
],
[289] Fix | Delete
h: [
[290] Fix | Delete
this.get_margin('.module:hover .tb_fancy_heading_border:before', 'fh_d_b_m_h')
[291] Fix | Delete
]
[292] Fix | Delete
})
[293] Fix | Delete
]),
[294] Fix | Delete
// Divider Border Border
[295] Fix | Delete
this.get_expand('b', [
[296] Fix | Delete
this.get_tab({
[297] Fix | Delete
n: [
[298] Fix | Delete
this.get_border('.module-fancy-heading .tb_fancy_heading_border:before', 'fh_d_b_b')
[299] Fix | Delete
],
[300] Fix | Delete
h: [
[301] Fix | Delete
this.get_border('.module:hover .tb_fancy_heading_border:before', 'fh_d_b_b_h')
[302] Fix | Delete
]
[303] Fix | Delete
})
[304] Fix | Delete
]),
[305] Fix | Delete
// Divider Border Width
[306] Fix | Delete
this.get_expand('w', [
[307] Fix | Delete
this.get_width('.module-fancy-heading .tb_fancy_heading_border', 'fh_d_b_w')
[308] Fix | Delete
])
[309] Fix | Delete
];
[310] Fix | Delete
[311] Fix | Delete
return {
[312] Fix | Delete
type: 'tabs',
[313] Fix | Delete
options: {
[314] Fix | Delete
g: general,
[315] Fix | Delete
head: heading,
[316] Fix | Delete
shead: subheading,
[317] Fix | Delete
div: fhDivider,
[318] Fix | Delete
divicon: fhDvdrIcon,
[319] Fix | Delete
diviconb: fhDvdrBorder
[320] Fix | Delete
}
[321] Fix | Delete
};
[322] Fix | Delete
}
[323] Fix | Delete
}
[324] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function