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: image.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([' .image-content', ' .image-title']),
[19] Fix | Delete
this.get_color_type([' .tb_text_wrap', ' .image-title']),
[20] Fix | Delete
this.get_font_size(' .image-content'),
[21] Fix | Delete
this.get_line_height(' .image-content'),
[22] Fix | Delete
this.get_letter_spacing([' .image-content', ' .image-title']),
[23] Fix | Delete
this.get_text_align(' .image-content'),
[24] Fix | Delete
this.get_text_transform(' .image-content'),
[25] Fix | Delete
this.get_font_style([' .image-content', ' .image-title']),
[26] Fix | Delete
this.get_text_decoration(' .image-content', 'text_decoration_regular'),
[27] Fix | Delete
this.get_text_shadow([' .image-content', ' .image-title'])
[28] Fix | Delete
],
[29] Fix | Delete
h: [
[30] Fix | Delete
this.get_font_family([' .image-content', ' .image-title'], 'f_f', 'h'),
[31] Fix | Delete
this.get_color_type([':hover .tb_text_wrap', ':hover .image-title'], '', 'f_c_t_h', 'f_c_h', 'f_g_c_h'),
[32] Fix | Delete
this.get_font_size(' .image-content', 'f_s', '', 'h'),
[33] Fix | Delete
this.get_font_style([' .image-content', ' .image-title'], 'f_st', 'f_w', 'h'),
[34] Fix | Delete
this.get_text_decoration(' .image-content', 't_d_r', 'h'),
[35] Fix | Delete
this.get_text_shadow([' .image-content', ' .image-title'], 't_sh', 'h')
[36] Fix | Delete
]
[37] Fix | Delete
})
[38] Fix | Delete
]),
[39] Fix | Delete
// Link
[40] Fix | Delete
this.get_expand('l', [
[41] Fix | Delete
this.get_tab({
[42] Fix | Delete
n: [
[43] Fix | Delete
this.get_color(' a', 'link_color'),
[44] Fix | Delete
this.get_text_decoration(' a')
[45] Fix | Delete
],
[46] Fix | Delete
h: [
[47] Fix | Delete
this.get_color(' a', 'link_color', null, null, 'hover'),
[48] Fix | Delete
this.get_text_decoration(' a', 't_d', 'h')
[49] Fix | Delete
]
[50] Fix | Delete
})
[51] Fix | Delete
]),
[52] Fix | Delete
// Padding
[53] Fix | Delete
this.get_expand('p', [
[54] Fix | Delete
this.get_tab({
[55] Fix | Delete
n: [
[56] Fix | Delete
this.get_padding('', '', '', true)
[57] Fix | Delete
],
[58] Fix | Delete
h: [
[59] Fix | Delete
this.get_padding('', 'p', 'h')
[60] Fix | Delete
]
[61] Fix | Delete
})
[62] Fix | Delete
]),
[63] Fix | Delete
// Margin
[64] Fix | Delete
this.get_expand('m', [
[65] Fix | Delete
this.get_tab({
[66] Fix | Delete
n: [
[67] Fix | Delete
this.get_margin('', '', '', true)
[68] Fix | Delete
],
[69] Fix | Delete
h: [
[70] Fix | Delete
this.get_margin('', 'm', 'h')
[71] Fix | Delete
]
[72] Fix | Delete
})
[73] Fix | Delete
]),
[74] Fix | Delete
// Border
[75] Fix | Delete
this.get_expand('b', [
[76] Fix | Delete
this.get_tab({
[77] Fix | Delete
n: [
[78] Fix | Delete
this.get_border()
[79] Fix | Delete
],
[80] Fix | Delete
h: [
[81] Fix | Delete
this.get_border('', 'b', 'h')
[82] Fix | Delete
]
[83] Fix | Delete
})
[84] Fix | Delete
]),
[85] Fix | Delete
// Filter
[86] Fix | Delete
this.get_expand('f_l', [
[87] Fix | Delete
this.get_tab({
[88] Fix | Delete
n: [
[89] Fix | Delete
this.get_blend()
[90] Fix | Delete
],
[91] Fix | Delete
h: [
[92] Fix | Delete
this.get_blend('', '', 'h')
[93] Fix | Delete
]
[94] Fix | Delete
})
[95] Fix | Delete
]),
[96] Fix | Delete
// Width
[97] Fix | Delete
this.get_expand('w', [
[98] Fix | Delete
this.get_width('', 'w')
[99] Fix | Delete
]),
[100] Fix | Delete
// Height & Min Height
[101] Fix | Delete
this.get_expand('ht', [
[102] Fix | Delete
this.get_height()
[103] Fix | Delete
]),
[104] Fix | Delete
// Rounded Corners
[105] Fix | Delete
this.get_expand('r_c', [
[106] Fix | Delete
this.get_tab({
[107] Fix | Delete
n: [
[108] Fix | Delete
this.get_border_radius()
[109] Fix | Delete
],
[110] Fix | Delete
h: [
[111] Fix | Delete
this.get_border_radius('', 'r_c', 'h')
[112] Fix | Delete
]
[113] Fix | Delete
})
[114] Fix | Delete
]),
[115] Fix | Delete
// Shadow
[116] Fix | Delete
this.get_expand('sh', [
[117] Fix | Delete
this.get_tab({
[118] Fix | Delete
n: [
[119] Fix | Delete
this.get_box_shadow()
[120] Fix | Delete
],
[121] Fix | Delete
h: [
[122] Fix | Delete
this.get_box_shadow('', 'sh', 'h')
[123] Fix | Delete
]
[124] Fix | Delete
})
[125] Fix | Delete
]),
[126] Fix | Delete
// this.get_expand('disp', this.get_self_align()),
[127] Fix | Delete
// Position
[128] Fix | Delete
this.get_expand('po', [this.get_css_position()]),
[129] Fix | Delete
this.get_expand('zi', [
[130] Fix | Delete
this.get_zindex('', 'custom_parallax_scroll_zindex')
[131] Fix | Delete
]
[132] Fix | Delete
),
[133] Fix | Delete
this.get_expand('tr', [
[134] Fix | Delete
this.get_tab({
[135] Fix | Delete
n: [
[136] Fix | Delete
this.get_transform()
[137] Fix | Delete
],
[138] Fix | Delete
h: [
[139] Fix | Delete
this.get_transform('', 'tr', 'h')
[140] Fix | Delete
]
[141] Fix | Delete
})
[142] Fix | Delete
])
[143] Fix | Delete
],
[144] Fix | Delete
imageTitle = [
[145] Fix | Delete
// Font
[146] Fix | Delete
this.get_expand('f', [
[147] Fix | Delete
this.get_tab({
[148] Fix | Delete
n: [
[149] Fix | Delete
this.get_font_family(['.module .image-title', '.module .image-title a'], 'font_family_title'),
[150] Fix | Delete
this.get_color(['.module .image-title', '.module .image-title a'], 'font_color_title'),
[151] Fix | Delete
this.get_font_size('.module .image-title', 'font_size_title'),
[152] Fix | Delete
this.get_line_height('.module .image-title', 'line_height_title'),
[153] Fix | Delete
this.get_letter_spacing('.module .image-title', 'letter_spacing_title'),
[154] Fix | Delete
this.get_text_transform('.module .image-title', 'text_transform_title'),
[155] Fix | Delete
this.get_font_style(['.module .image-title', '.module .image-title a'], 'font_style_title'),
[156] Fix | Delete
this.get_text_shadow('.module .image-title', 't_sh_t')
[157] Fix | Delete
],
[158] Fix | Delete
h: [
[159] Fix | Delete
this.get_font_family(['.module .image-title', '.module .image-title a'], 'f_f_t', 'h'),
[160] Fix | Delete
this.get_color(['.module .image-title', '.module .image-title a'], 'f_c_t', null, null, 'h'),
[161] Fix | Delete
this.get_font_size('.module .image-title', 'f_s_t', '', 'h'),
[162] Fix | Delete
this.get_font_style(['.module .image-title', '.module .image-title a'], 'f_st_t', 'f_w_t', 'h'),
[163] Fix | Delete
this.get_text_shadow('.module .image-title', 't_sh_t', 'h')
[164] Fix | Delete
]
[165] Fix | Delete
})
[166] Fix | Delete
]),
[167] Fix | Delete
// Margin
[168] Fix | Delete
this.get_expand('m', [
[169] Fix | Delete
this.get_tab({
[170] Fix | Delete
n: [
[171] Fix | Delete
this.get_margin('.module .image-title', 'title_margin')
[172] Fix | Delete
],
[173] Fix | Delete
h: [
[174] Fix | Delete
this.get_margin('.module .image-title', 't_m', 'h')
[175] Fix | Delete
]
[176] Fix | Delete
})
[177] Fix | Delete
])
[178] Fix | Delete
],
[179] Fix | Delete
imageTab = [
[180] Fix | Delete
// Background
[181] Fix | Delete
this.get_expand('bg', [
[182] Fix | Delete
this.get_tab({
[183] Fix | Delete
n: [
[184] Fix | Delete
this.get_color(' .image-wrap img', 'i_t_b_c', 'bg_c', 'background-color')
[185] Fix | Delete
],
[186] Fix | Delete
h: [
[187] Fix | Delete
this.get_color(' .image-wrap img', 'i_t_b_c', 'bg_c', 'background-color', 'h')
[188] Fix | Delete
]
[189] Fix | Delete
})
[190] Fix | Delete
]),
[191] Fix | Delete
// Padding
[192] Fix | Delete
this.get_expand('p', [
[193] Fix | Delete
this.get_tab({
[194] Fix | Delete
n: [
[195] Fix | Delete
this.get_padding(' .image-wrap img', 'i_t_p')
[196] Fix | Delete
],
[197] Fix | Delete
h: [
[198] Fix | Delete
this.get_padding(' .image-wrap img', 'i_t_p', 'h')
[199] Fix | Delete
]
[200] Fix | Delete
})
[201] Fix | Delete
]),
[202] Fix | Delete
// Margin
[203] Fix | Delete
this.get_expand('m', [
[204] Fix | Delete
this.get_tab({
[205] Fix | Delete
n: [
[206] Fix | Delete
this.get_margin(' .image-wrap img', 'i_t_m', '', true)
[207] Fix | Delete
],
[208] Fix | Delete
h: [
[209] Fix | Delete
this.get_margin(' .image-wrap img', 'i_t_m', 'h')
[210] Fix | Delete
]
[211] Fix | Delete
})
[212] Fix | Delete
]),
[213] Fix | Delete
// Border
[214] Fix | Delete
this.get_expand('b', [
[215] Fix | Delete
this.get_tab({
[216] Fix | Delete
n: [
[217] Fix | Delete
this.get_border(' .image-wrap img', 'i_t_b')
[218] Fix | Delete
],
[219] Fix | Delete
h: [
[220] Fix | Delete
this.get_border(' .image-wrap img', 'i_t_b', 'h')
[221] Fix | Delete
]
[222] Fix | Delete
})
[223] Fix | Delete
]),
[224] Fix | Delete
// Rounded Corners
[225] Fix | Delete
this.get_expand('r_c', [
[226] Fix | Delete
this.get_tab({
[227] Fix | Delete
n: [
[228] Fix | Delete
this.get_border_radius([' .image-wrap img', '.image-full-overlay .image-content'], 'i_t_r_c')
[229] Fix | Delete
],
[230] Fix | Delete
h: [
[231] Fix | Delete
this.get_border_radius([' .image-wrap img', '.image-full-overlay .image-content'], 'i_t_r_c', 'h')
[232] Fix | Delete
]
[233] Fix | Delete
})
[234] Fix | Delete
]),
[235] Fix | Delete
// Shadow
[236] Fix | Delete
this.get_expand('sh', [
[237] Fix | Delete
this.get_tab({
[238] Fix | Delete
n: [
[239] Fix | Delete
this.get_box_shadow(' .image-wrap img', 'i_t_sh')
[240] Fix | Delete
],
[241] Fix | Delete
h: [
[242] Fix | Delete
this.get_box_shadow(' .image-wrap img', 'i_t_sh', 'h')
[243] Fix | Delete
]
[244] Fix | Delete
})
[245] Fix | Delete
])
[246] Fix | Delete
],
[247] Fix | Delete
imageCaption = [
[248] Fix | Delete
// Background
[249] Fix | Delete
this.get_expand('bg', [
[250] Fix | Delete
this.get_tab({
[251] Fix | Delete
n: [
[252] Fix | Delete
this.get_color(' .image-content', 'c_b_c', 'bg_c', 'background-color')
[253] Fix | Delete
],
[254] Fix | Delete
h: [
[255] Fix | Delete
this.get_color(' .image-content', 'c_b_c', 'bg_c', 'background-color', 'h')
[256] Fix | Delete
]
[257] Fix | Delete
})
[258] Fix | Delete
]), // Background
[259] Fix | Delete
this.get_expand('coverlay', [
[260] Fix | Delete
this.get_tab({
[261] Fix | Delete
n: [
[262] Fix | Delete
this.get_color(['.image-overlay .image-content', '.image-full-overlay .image-content::before', '.image-card-layout .image-content'], 'b_c_c', 'overlay', 'background-color')
[263] Fix | Delete
[264] Fix | Delete
],
[265] Fix | Delete
h: [
[266] Fix | Delete
this.get_color(['.image-overlay:hover .image-content', '.image-full-overlay:hover .image-content::before', '.image-card-layout:hover .image-content'], 'b_c_c_h', 'overlay', 'background-color'),
[267] Fix | Delete
this.get_color(['.image-overlay:hover .image-title', '.image-overlay:hover .image-caption', '.image-full-overlay:hover .image-title', '.image-full-overlay:hover .image-caption', '.image-card-layout:hover .image-content', '.image-card-layout:hover .image-title'], 'f_c_c_h', 'ovfc')
[268] Fix | Delete
[269] Fix | Delete
]
[270] Fix | Delete
})
[271] Fix | Delete
]),
[272] Fix | Delete
// Font
[273] Fix | Delete
this.get_expand('f', [
[274] Fix | Delete
this.get_tab({
[275] Fix | Delete
n: [
[276] Fix | Delete
this.get_font_family('.module .image-caption', 'font_family_caption'),
[277] Fix | Delete
this.get_color('.module .image-caption', 'font_color_caption'),
[278] Fix | Delete
this.get_font_size('.module .image-caption', 'font_size_caption'),
[279] Fix | Delete
this.get_font_style('.module .image-caption', 'f_fs_c', 'f_fw_c'),
[280] Fix | Delete
this.get_line_height('.module .image-caption', 'line_height_caption'),
[281] Fix | Delete
this.get_text_shadow('.module .image-caption', 't_sh_c')
[282] Fix | Delete
],
[283] Fix | Delete
h: [
[284] Fix | Delete
this.get_font_family('.module .image-caption', 'f_f_c', 'h'),
[285] Fix | Delete
this.get_color(['.module:hover .image-caption', '.module:hover .image-title'], 'f_c_c_h', null, null, ''),
[286] Fix | Delete
this.get_font_size('.module .image-caption', 'f_s_c', '', 'h'),
[287] Fix | Delete
this.get_font_style('.module .image-caption', 'f_fs_c', 'f_fw_c', 'h'),
[288] Fix | Delete
this.get_text_shadow('.module .image-caption', 't_sh_c', 'h')
[289] Fix | Delete
]
[290] Fix | Delete
})
[291] Fix | Delete
]),
[292] Fix | Delete
// Padding
[293] Fix | Delete
this.get_expand('p', [
[294] Fix | Delete
this.get_tab({
[295] Fix | Delete
n: [
[296] Fix | Delete
this.get_padding(' .image-content', 'c_p')
[297] Fix | Delete
],
[298] Fix | Delete
h: [
[299] Fix | Delete
this.get_padding(' .image-content', 'c_p', 'h')
[300] Fix | Delete
]
[301] Fix | Delete
})
[302] Fix | Delete
]),
[303] Fix | Delete
// Margin
[304] Fix | Delete
this.get_expand('m', [
[305] Fix | Delete
this.get_tab({
[306] Fix | Delete
n: [
[307] Fix | Delete
this.get_margin(' .image-content', 'c_m')
[308] Fix | Delete
],
[309] Fix | Delete
h: [
[310] Fix | Delete
this.get_margin(' .image-content', 'c_m', 'h')
[311] Fix | Delete
]
[312] Fix | Delete
})
[313] Fix | Delete
]),
[314] Fix | Delete
// Rounded Corners
[315] Fix | Delete
this.get_expand('r_c', [
[316] Fix | Delete
this.get_tab({
[317] Fix | Delete
n: [
[318] Fix | Delete
this.get_border_radius([' .image-content', '.module.image-full-overlay .image-content'], 'c_r_c')
[319] Fix | Delete
],
[320] Fix | Delete
h: [
[321] Fix | Delete
this.get_border_radius([' .image-content', '.module.image-full-overlay .image-content'], 'c_r_c', 'h')
[322] Fix | Delete
]
[323] Fix | Delete
})
[324] Fix | Delete
]),
[325] Fix | Delete
// Shadow
[326] Fix | Delete
this.get_expand('sh', [
[327] Fix | Delete
this.get_tab({
[328] Fix | Delete
n: [
[329] Fix | Delete
this.get_box_shadow(' .image-content', 'c_sh')
[330] Fix | Delete
],
[331] Fix | Delete
h: [
[332] Fix | Delete
this.get_box_shadow(' .image-content', 'c_sh', 'h')
[333] Fix | Delete
]
[334] Fix | Delete
})
[335] Fix | Delete
])
[336] Fix | Delete
];
[337] Fix | Delete
[338] Fix | Delete
return {
[339] Fix | Delete
type: 'tabs',
[340] Fix | Delete
options: {
[341] Fix | Delete
g: general,
[342] Fix | Delete
m_t: this.module_title_custom_style(),
[343] Fix | Delete
imgt: imageTitle,
[344] Fix | Delete
image: imageTab,
[345] Fix | Delete
imgc: imageCaption
[346] Fix | Delete
}
[347] Fix | Delete
};
[348] Fix | Delete
}
[349] Fix | Delete
}
[350] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function