KNP,B0B2V7LKNW,B0DZWQCKH7,B0DZ745RCW,B0F4KH123B,B0CY1Y3TSQ,B0F43LL7WX,B0CF8X4H77™¹£Ô™¹£Ô
˜ ˆ€ Õ € activef46813c392656de0540003c10d3408c9bestsellersteckdosen mehrfachstecker€ €B0BNQ6GCG3™¹§œ™¹§œm
ì€ Õ
€ active9f45ed8c12216e6635ca597e42ec2f52bestsellersteckdosen mehrfachstecker€ €B0G8WGQFXK,B002N6ZEFA,B0D1YHXZ9F,B002OJYK5G,B0CXXNDDCK,B002Z7EEDU,B0FLDWKXHQ,B0C3LT1LKX,B09DL14S97,B002MQHSKK™¹§™¹§Û€
¨Y€ Õ € active1a19959e95801b85d272c3c86c7498fcbestsellersteckdosen mehrfachstecker€ €B0BNQ6GCG3,B0CBPC247T,B0FY54C3LT,B0FQ58JDBG,B0DNT22MTK,B0CCYST12X,B000WKHRKE,B00006JCUB,B002OI6N5W,B0888PK57K,B0G8WGQFXK,B002N6ZEFA,B0D1YHXZ9F,B002OJYK5G,B0CXXNDDCK,B002Z7EEDU,B0FLDWKXHQ,B0C3LT1LKX,B09DL14S97,B002MQHSKK”™¹§¤™¹§¤
° {€ Õ € actived2169df31dbd54083c45bff63e9365cebestsellercat 6 cat 6a€ €B00GQV00XY™¹®M™¹®MÛ€
¸L€ Õ
€ active077494177677e6dea2a3b5e4b303605dbestsellercat 6 cat 6a€ €B00GQV00XY,B00GQV4Q98,B075DKH8G9,B00GQUZU5S,B075DKWRD6,B075DK32FH,B0D9YJLHNF,B0B87L85PP,B0076LE0ZC,B08QMZ7W6J,B0CTTXLDSN,B0FQNW58MJ,B01DCACQ4C,B0F62Z9T4X,B0BGNZ8H3V,B007VDQH9M,B01N7R4GV8,B01DPPPW6S,B08YS1T5PZ,B07XKK5VLC™¹®O™¹®OÛ€
ÀK€ Õ € active12cc2505bdbab99996d68d2083e5ba5ebestsellerthunder bolt€ €B0FBJJ5Q6B,B0CM3H84PR,B0DXZCXK2C,B0DZP21RXY,B0BRS1BSX5,B0FH52G887,B0CPT929ZH,B0CM3J7C1S,B0C93G2M83,B0DCNXRH62,B0D8BD88JV,B09F2YMQLN,B0C4DB8MLL,B0DDQDG6GF,B0BXY8RZGQ,B0FZH83BYD,B0D1VJLH86,B0F62NG7K3,B0F8N3N22J,B093KYTJN6™¹³d™¹³d
È {€ Õ € active5a483578761cbbb17008bbf08fed756abestsellerthunder bolt€ €B0FBJJ5Q6B™¹³i™¹³iÛ€
ÐK€ Õ € activefa77dccb8184c4eeefdce115d8f532cebestsellerthunder bolt€ €B0FBJJ5Q6B,B0CM3H84PR,B0DXZCXK2C,B0DZP21RXY,B0BRS1BSX5,B0FH52G887,B0CPT929ZH,B0CM3J7C1S,B0C93G2M83,B0DCNXRH62,B0D8BD88JV,B09F2YMQLN,B0C4DB8MLL,B0DDQDG6GF,B0BXY8RZGQ,B0FZH83BYD,B0D1VJLH86,B0F62NG7K3,B0F8N3N22J,B093KYTJN6”™¹³j™¹³j
Ø Œ€ Õ € activeab6e8aeb0528f44d45d59d7915f2493dbestsellermicro usb verlängerungskabel€ €B07J2TYFSD™¹¶F™¹¶FÛ€
à\€ Õ € active59b3b896b972bb8cb3b2997d2a973b3dbestsellermicro usb verlängerungskabel€ €B07J2TYFSD,B07J37J99X,B01M5B9K64,B07XCGV2QR,B01M4J1UZO,B07J38FY25,B09P1MQM9T,B082CW97PK,B012S0ZQNU,B07CZ6LWX9,B09SCSH8XT,B0DYJGQVZZ,B015PSU5F6,B0F491G5VH,B0D4DVNH9Q,B0053ZQEPM,B0DWKH7JH7,B00SHGBMK6,B07DS6KBJX,B0DQPNVLH7™¹¶H™¹¶Hm
è î€ Õ € activef1dc463b9a443f265fcf2f4053fa9f82bestsellermicro usb verlängerungskabel€ €B07J2TYFSD,B07J37J99X,B01M5B9K64,B07XCGV2QR,B01M4J1UZO,B07J38FY25,B09P1MQM9T,B082CW97PK,B012S0ZQNU,B07CZ6LWX9”™¹¶R™¹¶Rm
ð Þ€ Õ € active0cee289e8104c4af6c785edf5a6c0feebestsellergaming beamer€ €B0FDVFCG62,B092D8W3NB,B09M796P8M,B0FH15NX6B,B0D3T44YZ2,B0G1YZKG4C,B09VNWMGKG,B0GCDNQM1P,B0FJR3PKFH,B08NDQ8BC6”™¹Æé™¹Æé
ø †€ Õ € active9069f988adeb0386eec8f84b973e113bbestsellerlan kabel verlängerung€ €B0BTZ4RQ34™¹Ë™¹ËÛ€
W€ Õ € active5cde69819091d222678b6b6c428684babestsellerlan kabel verlängerung€ €B0BTZ4RQ34,B07TVK1L5Z,B088KBQ5XH,B07TYKVR9Z,B0BKNWJSRK,B07TYNP2RQ,B08DHVV84Z,B08DTQBZS5,B0FNMSNQQ6,B0CXSVDY36,B016ZBCPE6,B0FFSNTHXB,B0FRM73BW5,B0DMF8G398,B0C1CW4GZ1,B0CY2K92BM,B0BTZ74WVC,B07TTJ21RY,B0F1ZKB2WB,B0D97YLXTD™¹Ë™¹ËÛ€
V€ Õ € active950368fe4a592e2a07ebf6fc3a45be68bestsellerlan kabel verlängerung€ €B0BTZ4RQ34,B07TVK1L5Z,B088KBQ5XH,B07TYKVR9Z,B0BKNWJSRK,B07TYNP2RQ,B08DHVV84Z,B08DTQBZS5,B0FNMSNQQ6,B0CXSVDY36,B016ZBCPE6,B0FFSNTHXB,B0FRM73BW5,B0DMF8G398,B0C1CW4GZ1,B0CY2K92BM,B0BTZ74WVC,B07TTJ21RY,B0F1ZKB2WB,B0D97YLXTD”™¹Ë
™¹Ë
‚€ Õ € activeaeb28beec0509348281180143f28d4d8bestsellerhdmi glasfaserkabel€ €B0D5TTDSKJ™¹ÒT™¹ÒTÛ€
S€ Õ € activedfe22cb94027812a6c5746ee82a26700bestsellerhdmi glasfaserkabel€ €B0D5TTDSKJ,B09FNX6BPV,B0BYD8BWP2,B094CFLKDGefix' => 'fa-',
'displayPrefix' => 'fab',
'labelIcon' => 'fab fa-font-awesome-flag',
'ver' => '5.15.3',
'fetchJson' => self::get_fa_asset_url( 'brands', 'js', false ),
'native' => true,
],
];
/**
* Initial icon manager tabs.
*
* Filters the list of initial icon manager tabs.
*
* @param array $icon_manager_tabs Initial icon manager tabs.
*/
$initial_tabs = apply_filters( 'elementor/icons_manager/native', $initial_tabs );
self::$tabs = $initial_tabs;
}
/**
* Get Icon Manager Tabs
* @return array
*/
public static function get_icon_manager_tabs() {
if ( self::is_font_icon_inline_svg() && ! Plugin::$instance->editor->is_edit_mode() && ! Plugin::$instance->preview->is_preview_mode() ) {
self::$tabs = [];
} elseif ( ! self::$tabs ) {
self::init_tabs();
}
$additional_tabs = [];
/**
* Additional icon manager tabs.
*
* Filters additional icon manager tabs.
*
* @param array $additional_tabs Additional icon manager tabs. Default is an empty array.
*/
$additional_tabs = apply_filters( 'elementor/icons_manager/additional_tabs', $additional_tabs );
return array_replace( self::$tabs, $additional_tabs );
}
public static function enqueue_shim() {
//phpcs:ignore WordPress.WP.EnqueuedResourceParameters.NotInFooter
wp_enqueue_script(
'font-awesome-4-shim',
self::get_fa_asset_url( 'v4-shims', 'js' ),
[],
ELEMENTOR_VERSION
);
// Make sure that the CSS in the 'all' file does not override FA Pro's CSS
if ( ! wp_script_is( 'font-awesome-pro' ) ) {
wp_enqueue_style(
'font-awesome-5-all',
self::get_fa_asset_url( 'all' ),
[],
ELEMENTOR_VERSION
);
}
wp_enqueue_style(
'font-awesome-4-shim',
self::get_fa_asset_url( 'v4-shims' ),
[],
ELEMENTOR_VERSION
);
}
private static function get_fa_asset_url( $filename, $ext_type = 'css', $add_suffix = true ) {
static $is_test_mode = null;
if ( null === $is_test_mode ) {
$is_test_mode = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG || defined( 'ELEMENTOR_TESTS' ) && ELEMENTOR_TESTS;
}
$url = ELEMENTOR_ASSETS_URL . 'lib/font-awesome/' . $ext_type . '/' . $filename;
if ( ! $is_test_mode && $add_suffix ) {
$url .= '.min';
}
return $url . '.' . $ext_type;
}
public static function get_icon_manager_tabs_config() {
$tabs = [
'all' => [
'name' => 'all',
'label' => esc_html__( 'All Icons', 'elementor' ),
'labelIcon' => 'eicon-filter',
'native' => true,
],
];
return array_values( array_merge( $tabs, self::get_icon_manager_tabs() ) );
}
/**
* is_font_awesome_inline
*
* @return bool
*/
private static function is_font_icon_inline_svg() {
return Plugin::$instance->experiments->is_feature_active( 'e_font_icon_svg' );
}
/**
* @deprecated 3.8.0
*/
public static function render_svg_symbols() {}
public static function get_icon_svg_data( $icon ) {
return self::$data_manager->get_font_icon_svg_data( $icon );
}
/**
* Get font awesome svg.
* @param $icon array [ 'value' => string, 'library' => string ]
*
* @return bool|mixed|string
*/
public static function get_font_icon_svg( $icon, $attributes = [] ) {
// Load the SVG from the database.
$icon_data = self::get_icon_svg_data( $icon );
if ( ! $icon_data['path'] ) {
return '';
}
if ( ! empty( $attributes['class'] ) && ! is_array( $attributes['class'] ) ) {
$attributes['class'] = [ $attributes['class'] ];
}
$attributes['class'][] = self::FONT_ICON_SVG_CLASS_NAME;
$attributes['class'][] = 'e-' . $icon_data['key'];
$attributes['viewBox'] = '0 0 ' . $icon_data['width'] . ' ' . $icon_data['height'];
$attributes['xmlns'] = 'http://www.w3.org/2000/svg';
return (
''
);
}
public static function render_uploaded_svg_icon( $value ) {
if ( ! isset( $value['id'] ) ) {
return '';
}
return Svg::get_inline_svg( $value['id'] );
}
public static function render_font_icon( $icon, $attributes = [], $tag = 'i' ) {
$icon_types = self::get_icon_manager_tabs();
if ( isset( $icon_types[ $icon['library'] ]['render_callback'] ) && is_callable( $icon_types[ $icon['library'] ]['render_callback'] ) ) {
return call_user_func_array( $icon_types[ $icon['library'] ]['render_callback'], [ $icon, $attributes, $tag ] );
}
$content = '';
$font_icon_svg_family = self::is_font_icon_inline_svg() ? Font_Icon_Svg_Data_Manager::get_font_family( $icon['library'] ) : '';
if ( $font_icon_svg_family ) {
$icon['font_family'] = $font_icon_svg_family;
$content = self::get_font_icon_svg( $icon, $attributes );
if ( $content ) {
return $content;
}
}
if ( ! $content ) {
if ( empty( $attributes['class'] ) ) {
$attributes['class'] = $icon['value'];
} else {
if ( is_array( $attributes['class'] ) ) {
$attributes['class'][] = $icon['value'];
} else {
$attributes['class'] .= ' ' . $icon['value'];
}
}
}
return '<' . $tag . ' ' . Utils::render_html_attributes( $attributes ) . '>' . $content . '' . $tag . '>';
}
/**
* Render Icon
*
* Used to render Icon for \Elementor\Controls_Manager::ICONS
* @param array $icon Icon Type, Icon value
* @param array $attributes Icon HTML Attributes
* @param string $tag Icon HTML tag, defaults to
*
* @return mixed|string
*/
public static function render_icon( $icon, $attributes = [], $tag = 'i' ) {
if ( empty( $icon['library'] ) ) {
return false;
}
$output = static::get_icon_html( $icon, $attributes, $tag );
Utils::print_unescaped_internal_string( $output );
return true;
}
/**
* Font Awesome 4 to font Awesome 5 Value Migration
*
* used to convert string value of Icon control to array value of Icons control
* ex: 'fa fa-star' => [ 'value' => 'fas fa-star', 'library' => 'fa-solid' ]
*
* @param $value
*
* @return array
*/
public static function fa4_to_fa5_value_migration( $value ) {
static $migration_dictionary = false;
if ( '' === $value ) {
return [
'value' => '',
'library' => '',
];
}
if ( false === $migration_dictionary ) {
$migration_dictionary = json_decode( Utils::file_get_contents( ELEMENTOR_ASSETS_PATH . 'lib/font-awesome/migration/mapping.js' ), true );
}
if ( isset( $migration_dictionary[ $value ] ) ) {
return $migration_dictionary[ $value ];
}
return [
'value' => 'fas ' . str_replace( 'fa ', '', $value ),
'library' => 'fa-solid',
];
}
/**
* on_import_migration
* @param array $element settings array
* @param string $old_control old control id
* @param string $new_control new control id
* @param bool $remove_old boolean whether to remove old control or not
*
* @return array
*/
public static function on_import_migration( array $element, $old_control = '', $new_control = '', $remove_old = false ) {
if ( ! isset( $element['settings'][ $old_control ] ) || isset( $element['settings'][ $new_control ] ) ) {
return $element;
}
// Case when old value is saved as empty string
$new_value = [
'value' => '',
'library' => '',
];
// Case when old value needs migration
if ( ! empty( $element['settings'][ $old_control ] ) && ! self::is_migration_allowed() ) {
$new_value = self::fa4_to_fa5_value_migration( $element['settings'][ $old_control ] );
}
$element['settings'][ $new_control ] = $new_value;
//remove old value
if ( $remove_old ) {
unset( $element['settings'][ $old_control ] );
}
return $element;
}
/**
* is_migration_allowed
* @return bool
*/
public static function is_migration_allowed() {
static $migration_allowed = false;
if ( false === $migration_allowed ) {
$migration_allowed = null === self::get_needs_upgrade_option();
/**
* Is icon migration allowed.
*
* Filters whether the icons migration allowed.
*
* @param bool $migration_allowed Is icon migration is allowed.
*/
$migration_allowed = apply_filters( 'elementor/icons_manager/migration_allowed', $migration_allowed );
}
return $migration_allowed;
}
/**
* Register_Admin Settings
*
* adds Font Awesome migration / update admin settings
* @param Settings $settings
*/
public function register_admin_settings( Settings $settings ) {
$settings->add_field(
Settings::TAB_ADVANCED,
Settings::TAB_ADVANCED,
'load_fa4_shim',
[
'label' => esc_html__( 'Load Font Awesome 4 Support', 'elementor' ),
'field_args' => [
'type' => 'select',
'std' => '',
'options' => [
'' => esc_html__( 'No', 'elementor' ),
'yes' => esc_html__( 'Yes', 'elementor' ),
],
'desc' => esc_html__( 'Font Awesome 4 support script (shim.js) is a script that makes sure all previously selected Font Awesome 4 icons are displayed correctly while using Font Awesome 5 library.', 'elementor' ),
],
]
);
}
public function register_admin_tools_settings( Tools $settings ) {
$settings->add_tab( 'fontawesome4_migration', [ 'label' => esc_html__( 'Font Awesome Upgrade', 'elementor' ) ] );
$settings->add_section( 'fontawesome4_migration', 'fontawesome4_migration', [
'callback' => function() {
echo '' . esc_html__( 'Font Awesome Upgrade', 'elementor' ) . '
';
echo '
' . // PHPCS - Plain Text
esc_html__( 'Access 1,500+ amazing Font Awesome 5 icons and enjoy faster performance and design flexibility.', 'elementor' ) . '
' . // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
esc_html__( 'By upgrading, whenever you edit a page containing a Font Awesome 4 icon, Elementor will convert it to the new Font Awesome 5 icon.', 'elementor' ) . // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
'
' . esc_html__( 'Please note that the upgrade process may cause some of the previously used Font Awesome 4 icons to look a bit different due to minor design changes made by Font Awesome.', 'elementor' ) . // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped '
' . esc_html__( 'The upgrade process includes a database update', 'elementor' ) . ' - ' . // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped esc_html__( 'We highly recommend backing up your database before performing this upgrade.', 'elementor' ) . // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped '
' . esc_html__( 'This action is not reversible and cannot be undone by rolling back to previous versions.', 'elementor' ) . // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ''; }, 'fields' => [ [ 'label' => esc_html__( 'Font Awesome Upgrade', 'elementor' ), 'field_args' => [ 'type' => 'raw_html', 'html' => sprintf( '', self::NEEDS_UPDATE_OPTION . '_upgrade', wp_create_nonce( self::NEEDS_UPDATE_OPTION ), esc_url( $this->get_upgrade_redirect_url() ), esc_html__( 'Upgrade To Font Awesome 5', 'elementor' ) ), ], ], ], ] ); } /** * Get redirect URL when upgrading font awesome. * * @return string */ public function get_upgrade_redirect_url() { if ( ! wp_verify_nonce( Utils::get_super_global_value( $_GET, '_wpnonce' ), 'tools-page-from-editor' ) ) { return ''; } $document_id = ! empty( $_GET['redirect_to_document'] ) ? absint( $_GET['redirect_to_document'] ) : null; if ( ! $document_id ) { return ''; } $document = Plugin::$instance->documents->get( $document_id ); if ( ! $document ) { return ''; } return $document->get_edit_url(); } /** * Ajax Upgrade to FontAwesome 5 */ public function ajax_upgrade_to_fa5() { check_ajax_referer( self::NEEDS_UPDATE_OPTION, '_nonce' ); if ( ! current_user_can( 'manage_options' ) ) { wp_send_json_error( 'Permission denied' ); } delete_option( 'elementor_' . self::NEEDS_UPDATE_OPTION ); wp_send_json_success( [ 'message' => esc_html__( 'Hurray! The upgrade process to Font Awesome 5 was completed successfully.', 'elementor' ) ] ); } /** * Add Update Needed Flag * @param array $settings * * @return array; */ public function add_update_needed_flag( $settings ) { $settings['icons_update_needed'] = true; return $settings; } public function enqueue_fontawesome_css() { if ( ! self::is_migration_allowed() ) { wp_enqueue_style( 'font-awesome' ); } else { $current_filter = current_filter(); $load_shim = get_option( self::LOAD_FA4_SHIM_OPTION_KEY, false ); if ( 'elementor/editor/after_enqueue_styles' === $current_filter ) { self::enqueue_shim(); } elseif ( 'yes' === $load_shim ) { self::enqueue_shim(); } } } /** * @deprecated 3.1.0 */ public function add_admin_strings() { Plugin::$instance->modules_manager->get_modules( 'dev-tools' )->deprecation->deprecated_function( __METHOD__, '3.1.0' ); return []; } /** * Icons Manager constructor */ public function __construct() { if ( is_admin() ) { // @todo: remove once we deprecate fa4 add_action( 'elementor/admin/after_create_settings/' . Settings::PAGE_ID, [ $this, 'register_admin_settings' ], 100 ); } if ( self::is_font_icon_inline_svg() ) { self::$data_manager = new Font_Icon_Svg_Data_Manager(); } add_action( 'elementor/frontend/after_enqueue_styles', [ $this, 'enqueue_fontawesome_css' ] ); add_action( 'elementor/frontend/after_register_styles', [ $this, 'register_styles' ] ); if ( ! self::is_migration_allowed() ) { add_filter( 'elementor/editor/localize_settings', [ $this, 'add_update_needed_flag' ] ); add_action( 'elementor/admin/after_create_settings/' . Tools::PAGE_ID, [ $this, 'register_admin_tools_settings' ], 100 ); if ( ! empty( $_POST ) ) { // phpcs:ignore -- nonce validation done in callback add_action( 'wp_ajax_' . self::NEEDS_UPDATE_OPTION . '_upgrade', [ $this, 'ajax_upgrade_to_fa5' ] ); } } } }