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: text.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
const general = [
[3] Fix | Delete
// Background
[4] Fix | Delete
this.get_expand('bg', [
[5] Fix | Delete
this.get_tab({
[6] Fix | Delete
n: [
[7] Fix | Delete
this.get_image()
[8] Fix | Delete
],
[9] Fix | Delete
h: [
[10] Fix | Delete
this.get_image('', 'b_i', 'bg_c', 'b_r', 'b_p', 'h')
[11] Fix | Delete
]
[12] Fix | Delete
})
[13] Fix | Delete
]),
[14] Fix | Delete
// Font
[15] Fix | Delete
this.get_expand('f', [
[16] Fix | Delete
this.get_tab({
[17] Fix | Delete
n: [
[18] Fix | Delete
this.get_font_family(' .tb_text_wrap'),
[19] Fix | Delete
this.get_color_type(' .tb_text_wrap'),
[20] Fix | Delete
this.get_font_size(),
[21] Fix | Delete
this.get_line_height(),
[22] Fix | Delete
this.get_letter_spacing(),
[23] Fix | Delete
this.get_text_align(),
[24] Fix | Delete
this.get_text_transform(),
[25] Fix | Delete
this.get_font_style(' .tb_text_wrap'),
[26] Fix | Delete
this.get_text_decoration(' .tb_text_wrap', 'text_decoration_regular'),
[27] Fix | Delete
this.get_text_shadow(' .tb_text_wrap')
[28] Fix | Delete
],
[29] Fix | Delete
h: [
[30] Fix | Delete
this.get_font_family(':hover .tb_text_wrap', 'f_f_h'),
[31] Fix | Delete
this.get_color_type(':hover .tb_text_wrap', '', 'f_c_t_h', 'f_c_h', 'f_g_c_h'),
[32] Fix | Delete
this.get_font_size('', 'f_s', '', 'h'),
[33] Fix | Delete
this.get_font_style(':hover .tb_text_wrap', 'f_st', 'f_w', 'h'),
[34] Fix | Delete
this.get_text_decoration(' .tb_text_wrap', 't_d_r', 'h'),
[35] Fix | Delete
this.get_text_shadow(':hover .tb_text_wrap', 't_sh', 'h')
[36] Fix | Delete
]
[37] Fix | Delete
})
[38] Fix | Delete
]),
[39] Fix | Delete
// Paragraph
[40] Fix | Delete
this.get_expand('pa', [
[41] Fix | Delete
this.get_margin_top_bottom_opposity(' p', 'p_margin_top', 'p_margin_bottom')
[42] Fix | Delete
]),
[43] Fix | Delete
// Link
[44] Fix | Delete
this.get_expand('l', [
[45] Fix | Delete
this.get_tab({
[46] Fix | Delete
n: [
[47] Fix | Delete
this.get_color(' a', 'link_color'),
[48] Fix | Delete
this.get_text_decoration(' a')
[49] Fix | Delete
],
[50] Fix | Delete
h: [
[51] Fix | Delete
this.get_color(' a', 'link_color', null, null, 'hover'),
[52] Fix | Delete
this.get_text_decoration(' a', 't_d', 'h')
[53] Fix | Delete
]
[54] Fix | Delete
})
[55] Fix | Delete
]),
[56] Fix | Delete
// Multi-column
[57] Fix | Delete
this.get_expand('col', [
[58] Fix | Delete
this.get_multi_columns_count()
[59] Fix | Delete
]),
[60] Fix | Delete
// Padding
[61] Fix | Delete
this.get_expand('p', [
[62] Fix | Delete
this.get_tab({
[63] Fix | Delete
n: [
[64] Fix | Delete
this.get_padding()
[65] Fix | Delete
],
[66] Fix | Delete
h: [
[67] Fix | Delete
this.get_padding('', 'p', 'h')
[68] Fix | Delete
]
[69] Fix | Delete
})
[70] Fix | Delete
]),
[71] Fix | Delete
// Margin
[72] Fix | Delete
this.get_expand('m', [
[73] Fix | Delete
this.get_tab({
[74] Fix | Delete
n: [
[75] Fix | Delete
this.get_margin()
[76] Fix | Delete
],
[77] Fix | Delete
h: [
[78] Fix | Delete
this.get_margin('', 'm', 'h')
[79] Fix | Delete
]
[80] Fix | Delete
})
[81] Fix | Delete
]),
[82] Fix | Delete
// Border
[83] Fix | Delete
this.get_expand('b', [
[84] Fix | Delete
this.get_tab({
[85] Fix | Delete
n: [
[86] Fix | Delete
this.get_border()
[87] Fix | Delete
],
[88] Fix | Delete
h: [
[89] Fix | Delete
this.get_border('', 'b', 'h')
[90] Fix | Delete
]
[91] Fix | Delete
})
[92] Fix | Delete
]),
[93] Fix | Delete
// Filter
[94] Fix | Delete
this.get_expand('f_l', [
[95] Fix | Delete
this.get_tab({
[96] Fix | Delete
n: [
[97] Fix | Delete
this.get_blend()
[98] Fix | Delete
],
[99] Fix | Delete
h: [
[100] Fix | Delete
this.get_blend('', '', 'h')
[101] Fix | Delete
]
[102] Fix | Delete
})
[103] Fix | Delete
]),
[104] Fix | Delete
// Width
[105] Fix | Delete
this.get_expand('w', [
[106] Fix | Delete
this.get_width('', 'w')
[107] Fix | Delete
]),
[108] Fix | Delete
// Height & Min Height
[109] Fix | Delete
this.get_expand('ht', [
[110] Fix | Delete
this.get_height()
[111] Fix | Delete
]),
[112] Fix | Delete
// Rounded Corners
[113] Fix | Delete
this.get_expand('r_c', [
[114] Fix | Delete
this.get_tab({
[115] Fix | Delete
n: [
[116] Fix | Delete
this.get_border_radius()
[117] Fix | Delete
],
[118] Fix | Delete
h: [
[119] Fix | Delete
this.get_border_radius('', 'r_c', 'h')
[120] Fix | Delete
]
[121] Fix | Delete
})
[122] Fix | Delete
]),
[123] Fix | Delete
// Shadow
[124] Fix | Delete
this.get_expand('sh', [
[125] Fix | Delete
this.get_tab({
[126] Fix | Delete
n: [
[127] Fix | Delete
this.get_box_shadow()
[128] Fix | Delete
],
[129] Fix | Delete
h: [
[130] Fix | Delete
this.get_box_shadow('', 'sh', 'h')
[131] Fix | Delete
]
[132] Fix | Delete
})
[133] Fix | Delete
]),
[134] Fix | Delete
// Position
[135] Fix | Delete
this.get_expand('po', [this.get_css_position()]),
[136] Fix | Delete
//this.get_expand('disp', this.get_self_align()),
[137] Fix | Delete
this.get_expand('zi', [
[138] Fix | Delete
this.get_zindex('', 'custom_parallax_scroll_zindex')
[139] Fix | Delete
]
[140] Fix | Delete
),
[141] Fix | Delete
this.get_expand('tr', [
[142] Fix | Delete
this.get_tab({
[143] Fix | Delete
n: [
[144] Fix | Delete
this.get_transform()
[145] Fix | Delete
],
[146] Fix | Delete
h: [
[147] Fix | Delete
this.get_transform('', 'tr', 'h')
[148] Fix | Delete
]
[149] Fix | Delete
})
[150] Fix | Delete
])
[151] Fix | Delete
],
[152] Fix | Delete
dropcap = [
[153] Fix | Delete
// Background
[154] Fix | Delete
this.get_expand('bg', [
[155] Fix | Delete
this.get_tab({
[156] Fix | Delete
n: [
[157] Fix | Delete
this.get_color('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'dropcap_background_color', 'bg_c', 'background-color')
[158] Fix | Delete
],
[159] Fix | Delete
h: [
[160] Fix | Delete
this.get_color('.tb_text_dropcap .tb_text_wrap:hover > :first-child:first-letter', 'd_b_c', 'bg_c', 'background-color')
[161] Fix | Delete
]
[162] Fix | Delete
})
[163] Fix | Delete
]),
[164] Fix | Delete
// Font
[165] Fix | Delete
this.get_expand('f', [
[166] Fix | Delete
this.get_tab({
[167] Fix | Delete
n: [
[168] Fix | Delete
this.get_font_family('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'font_dropcap_family'),
[169] Fix | Delete
this.get_color('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'dropcap_font_color'),
[170] Fix | Delete
this.get_font_size('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'dropcap_font_size'),
[171] Fix | Delete
this.get_line_height('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'dropcap_line_height'),
[172] Fix | Delete
this.get_text_transform('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'dropcap_letter_transform'),
[173] Fix | Delete
this.get_font_style('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'font_dropcap', 'font_dropcap_bold'),
[174] Fix | Delete
this.get_text_decoration('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'dropcap_decoration_regular'),
[175] Fix | Delete
this.get_text_shadow('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 't_sh_dr')
[176] Fix | Delete
],
[177] Fix | Delete
h: [
[178] Fix | Delete
this.get_font_family('.tb_text_dropcap .tb_text_wrap:hover > :first-child:first-letter', 'f_d_f_h'),
[179] Fix | Delete
this.get_color('.tb_text_dropcap .tb_text_wrap:hover > :first-child:first-letter', 'd_f_c_h'),
[180] Fix | Delete
this.get_font_size('.tb_text_dropcap .tb_text_wrap:hover > :first-child:first-letter', 'd_f_s_h'),
[181] Fix | Delete
this.get_font_style('.tb_text_dropcap .tb_text_wrap:hover > :first-child:first-letter', 'f_d_h', 'f_d_b_h'),
[182] Fix | Delete
this.get_text_decoration('.tb_text_dropcap .tb_text_wrap:hover > :first-child:first-letter', 'd_d_r_h'),
[183] Fix | Delete
this.get_text_shadow('.tb_text_dropcap .tb_text_wrap:hover > :first-child:first-letter', 't_sh_dr_h')
[184] Fix | Delete
]
[185] Fix | Delete
})
[186] Fix | Delete
]),
[187] Fix | Delete
// Padding
[188] Fix | Delete
this.get_expand('p', [
[189] Fix | Delete
this.get_tab({
[190] Fix | Delete
n: [
[191] Fix | Delete
this.get_padding('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'dropcap_padding')
[192] Fix | Delete
],
[193] Fix | Delete
h: [
[194] Fix | Delete
this.get_padding('.tb_text_dropcap .tb_text_wrap:hover > :first-child:first-letter', 'd_p_h')
[195] Fix | Delete
]
[196] Fix | Delete
})
[197] Fix | Delete
]),
[198] Fix | Delete
// Margin
[199] Fix | Delete
this.get_expand('m', [
[200] Fix | Delete
this.get_tab({
[201] Fix | Delete
n: [
[202] Fix | Delete
this.get_margin('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'dropcap_margin')
[203] Fix | Delete
],
[204] Fix | Delete
h: [
[205] Fix | Delete
this.get_margin('.tb_text_dropcap .tb_text_wrap:hover > :first-child:first-letter', 'd_m_h')
[206] Fix | Delete
]
[207] Fix | Delete
})
[208] Fix | Delete
]),
[209] Fix | Delete
// Border
[210] Fix | Delete
this.get_expand('b', [
[211] Fix | Delete
this.get_tab({
[212] Fix | Delete
n: [
[213] Fix | Delete
this.get_border('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'dropcap_border')
[214] Fix | Delete
],
[215] Fix | Delete
h: [
[216] Fix | Delete
this.get_border('.tb_text_dropcap .tb_text_wrap:hover > :first-child:first-letter', 'd_b_h')
[217] Fix | Delete
]
[218] Fix | Delete
})
[219] Fix | Delete
]),
[220] Fix | Delete
// Rounded Corners
[221] Fix | Delete
this.get_expand('r_c', [
[222] Fix | Delete
this.get_tab({
[223] Fix | Delete
n: [
[224] Fix | Delete
this.get_border_radius('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'rc_dp')
[225] Fix | Delete
],
[226] Fix | Delete
h: [
[227] Fix | Delete
this.get_border_radius('.tb_text_dropcap .tb_text_wrap:hover > :first-child:first-letter', 'rc_dp_h')
[228] Fix | Delete
]
[229] Fix | Delete
})
[230] Fix | Delete
]),
[231] Fix | Delete
// Shadow
[232] Fix | Delete
this.get_expand('sh', [
[233] Fix | Delete
this.get_tab({
[234] Fix | Delete
n: [
[235] Fix | Delete
this.get_box_shadow('.tb_text_dropcap .tb_text_wrap > :first-child:first-letter', 'sh_dp')
[236] Fix | Delete
],
[237] Fix | Delete
h: [
[238] Fix | Delete
this.get_box_shadow('.tb_text_dropcap .tb_text_wrap:hover > :first-child:first-letter', 'sh_dp_h')
[239] Fix | Delete
]
[240] Fix | Delete
})
[241] Fix | Delete
])
[242] Fix | Delete
];
[243] Fix | Delete
let heading = [];
[244] Fix | Delete
[245] Fix | Delete
for (let i = 1; i <= 6; ++i) {
[246] Fix | Delete
let h = 'h' + i,
[247] Fix | Delete
selector = h,
[248] Fix | Delete
selH = '.module ' + h;
[249] Fix | Delete
heading = heading.concat([
[250] Fix | Delete
this.get_expand(h + '_f', [
[251] Fix | Delete
this.get_tab({
[252] Fix | Delete
n: [
[253] Fix | Delete
this.get_font_family('.module .tb_text_wrap ' + selector, 'font_family_' + h),
[254] Fix | Delete
this.get_color_type('.module .tb_text_wrap ' + selector, '', 'font_color_type_' + h, 'font_color_' + h, 'font_gradient_color_' + h),
[255] Fix | Delete
this.get_font_size(selH, 'font_size_' + h),
[256] Fix | Delete
this.get_line_height(selH, 'line_height_' + h),
[257] Fix | Delete
this.get_letter_spacing(selH, 'letter_spacing_' + h),
[258] Fix | Delete
this.get_text_transform(selH, 'text_transform_' + h),
[259] Fix | Delete
this.get_font_style('.module .tb_text_wrap ' + selector, 'font_style_' + h, 'font_weight_' + h),
[260] Fix | Delete
this.get_text_shadow('.module .tb_text_wrap ' + selector, 't_sh' + h),
[261] Fix | Delete
// Heading Margin
[262] Fix | Delete
this.get_margin_top_bottom_opposity(selH, h + '_margin_top', h + '_margin_bottom')
[263] Fix | Delete
],
[264] Fix | Delete
h: [
[265] Fix | Delete
this.get_font_family('.module:hover .tb_text_wrap ' + selector, 'f_f_' + h + '_h'),
[266] Fix | Delete
this.get_color_type('.module:hover .tb_text_wrap ' + selector, '', 'f_c_t_' + h + '_h', 'f_c_' + h + '_h', 'f_g_c_' + h + '_h'),
[267] Fix | Delete
this.get_font_size(selH, 'f_s_' + h, '', 'h'),
[268] Fix | Delete
this.get_font_style('.module:hover .tb_text_wrap ' + selector, 'f_st_' + h, 'f_w_' + h, 'h'),
[269] Fix | Delete
this.get_text_shadow('.module:hover .tb_text_wrap ' + selector, 't_sh' + h, 'h'),
[270] Fix | Delete
// Heading Margin
[271] Fix | Delete
this.get_margin_top_bottom_opposity(selH, h + '_margin_top', h + '_margin_bottom', 'h')
[272] Fix | Delete
]
[273] Fix | Delete
})
[274] Fix | Delete
])
[275] Fix | Delete
]);
[276] Fix | Delete
}
[277] Fix | Delete
[278] Fix | Delete
return {
[279] Fix | Delete
type: 'tabs',
[280] Fix | Delete
options: {
[281] Fix | Delete
g: general,
[282] Fix | Delete
m_t: this.module_title_custom_style(),
[283] Fix | Delete
head: heading,
[284] Fix | Delete
dropcap: dropcap
[285] Fix | Delete
}
[286] Fix | Delete
};
[287] Fix | Delete
}
[288] Fix | Delete
}
[289] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function