Gutenberg Blocks – Ultimate Addons for Gutenberg - Version 1.12.5

Version Description

  • Fix: Testimonial - Border options not working in editor.
  • Fix: List Icon - Border options not working on frontend.
  • Fix: Advanced Columns - Removed Extra padding from the editor.
  • Fix: Advanced Columns - Block settings not visible in the editor.
Download this release

Release Info

Developer vrundakansara
Plugin Icon Gutenberg Blocks – Ultimate Addons for Gutenberg
Version 1.12.5
Comparing to
See all releases

Code changes from version 1.12.4 to 1.12.5

assets/js/table-of-contents.js DELETED
@@ -1,147 +0,0 @@
1
- ( function( $ ) {
2
-
3
- var scroll = true
4
- var scroll_offset = 30
5
- var scroll_delay = 800
6
- var scroll_to_top = false
7
- var scroll_element = null
8
-
9
- UAGBTableOfContents = {
10
-
11
- init: function() {
12
-
13
- $( document ).delegate( ".uagb-toc__list a", "click", UAGBTableOfContents._scroll )
14
- $( document ).delegate( ".uagb-toc__scroll-top", "click", UAGBTableOfContents._scrollTop )
15
- $( document ).on( "scroll", UAGBTableOfContents._showHideScroll )
16
-
17
- },
18
-
19
- _showHideScroll: function( e ) {
20
-
21
- if ( null != scroll_element ) {
22
-
23
- if ( jQuery( window ).scrollTop() > 300 ) {
24
- if ( scroll_to_top ) {
25
- scroll_element.addClass( "uagb-toc__show-scroll" )
26
- } else {
27
- scroll_element.removeClass( "uagb-toc__show-scroll" )
28
- }
29
- } else {
30
- scroll_element.removeClass( "uagb-toc__show-scroll" )
31
- }
32
- }
33
- },
34
-
35
- /**
36
- * Smooth To Top.
37
- */
38
- _scrollTop: function( e ) {
39
-
40
- $( "html, body" ).animate( {
41
- scrollTop: 0
42
- }, scroll_delay )
43
- },
44
-
45
- /**
46
- * Smooth Scroll.
47
- */
48
- _scroll: function( e ) {
49
-
50
- if ( this.hash !== "" ) {
51
- var hash = this.hash
52
-
53
- if ( scroll ) {
54
-
55
- var offset = $( hash ).offset()
56
-
57
- if ( "undefined" != typeof offset ) {
58
-
59
- $( "html, body" ).animate( {
60
- scrollTop: ( offset.top - scroll_offset )
61
- }, scroll_delay )
62
- }
63
- }
64
-
65
- }
66
- },
67
-
68
- _parseEntity: function( text ) {
69
-
70
- let charEntity = [ "&", ">", "<", """, "'" ]
71
-
72
- for ( var k = 0 ; k < charEntity.length; k++ ) {
73
- text = text.split(charEntity[k]).join("")
74
- }
75
-
76
- text = text.replace(/[&\/\\#,+()$~%.'":*?<>{}]/g, "")
77
-
78
- return text
79
- },
80
-
81
- _parse: function( match ) {
82
-
83
-
84
- let text = match[0]
85
-
86
- text = text.replace( "<h" + match[2] + ">", "" )
87
- text = text.replace( "</h" + match[2] + ">", "" )
88
-
89
- let text_without_chars = UAGBTableOfContents._parseEntity( text )
90
-
91
- let link_text = text_without_chars.replace(/ */g,"_")
92
-
93
- return link_text
94
- },
95
-
96
- /**
97
- * Alter the_content.
98
- */
99
- _run: function( attr, id ) {
100
-
101
- let mapping = attr.mapping
102
-
103
- if ( undefined != mapping ) {
104
- for ( var i = 0; i < mapping.length; i++ ) {
105
-
106
- let text = mapping[i][0]
107
- text = text.replace( "<h" + mapping[i][2] + ">", "" )
108
- text = text.replace( "</h" + mapping[i][2] + ">", "" )
109
-
110
- var parser = new DOMParser
111
- var dom = parser.parseFromString( "<!doctype html><body>" + text, "text/html" )
112
- var decodedString = dom.body.textContent
113
-
114
- let href_link = UAGBTableOfContents._parse( mapping[i] )
115
- let heading_selector = $( "h" + mapping[i][2] + ":contains(\"" + decodedString + "\")" )
116
-
117
- heading_selector.html( "<span class='uagb-toc__heading-link' id='" + href_link + "'>" + text + "</span>" )
118
- }
119
-
120
- scroll = attr.smoothScroll
121
- scroll_offset = attr.smoothScrollOffset
122
- scroll_delay = attr.smoothScrollDelay
123
- scroll_to_top = attr.scrollToTop
124
-
125
- scroll_element = $( ".uagb-toc__scroll-top" )
126
- if ( 0 == scroll_element.length ) {
127
- $( "body" ).append( "<div class=\"uagb-toc__scroll-top dashicons dashicons-arrow-up-alt2\"></div>" )
128
- scroll_element = $( ".uagb-toc__scroll-top" )
129
- }
130
-
131
- if ( scroll_to_top ) {
132
- scroll_element.addClass( "uagb-toc__show-scroll" )
133
- } else {
134
- scroll_element.removeClass( "uagb-toc__show-scroll" )
135
- }
136
-
137
- UAGBTableOfContents._showHideScroll()
138
- }
139
- },
140
- }
141
-
142
- $( document ).ready(function() {
143
- UAGBTableOfContents.init()
144
- })
145
-
146
-
147
- } )( jQuery )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/class-uagb-admin.php CHANGED
@@ -229,7 +229,11 @@ if ( ! class_exists( 'UAGB_Admin' ) ) {
229
 
230
  $uagb_header_wrapper_class = apply_filters( 'uagb_header_wrapper_class', array( $action ) );
231
 
232
- include_once UAGB_DIR . 'admin/uagb-' . $action . '.php';
 
 
 
 
233
  }
234
 
235
  /**
229
 
230
  $uagb_header_wrapper_class = apply_filters( 'uagb_header_wrapper_class', array( $action ) );
231
 
232
+ $base_path = realpath( UAGB_DIR . '/admin' );
233
+ $path = realpath( $base_path . '/uagb-' . $action . '.php' );
234
+ if ( $path && $base_path && strpos( $path, $base_path ) === 0 ) {
235
+ include_once $path;
236
+ }
237
  }
238
 
239
  /**
classes/class-uagb-block-helper.php CHANGED
@@ -1,5112 +1,4963 @@
1
- <?php
2
- /**
3
- * UAGB Block Helper.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
9
-
10
- /**
11
- * Class UAGB_Block_Helper.
12
- */
13
- class UAGB_Block_Helper {
14
-
15
- /**
16
- * Get Section Block CSS
17
- *
18
- * @since 0.0.1
19
- * @param array $attr The block attributes.
20
- * @param string $id The selector ID.
21
- * @return array The Widget List.
22
- */
23
- public static function get_section_css( $attr, $id ) { // @codingStandardsIgnoreStart
24
-
25
- global $content_width;
26
-
27
- $defaults = UAGB_Helper::$block_list['uagb/section']['attributes'];
28
-
29
- $attr = array_merge( $defaults, $attr );
30
-
31
- $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
32
-
33
- $style = array(
34
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], 'px' ),
35
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], 'px' ),
36
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], 'px' ),
37
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], 'px' ),
38
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' )
39
- );
40
-
41
- $m_selectors = array();
42
- $t_selectors = array();
43
-
44
- if ( 'right' == $attr['align'] ) {
45
- $style['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMargin'], 'px' );
46
- $style['margin-left'] = 'auto';
47
- $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], 'px' );
48
- $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], 'px' );
49
- } elseif ( 'left' == $attr['align'] ) {
50
- $style['margin-right'] = 'auto';
51
- $style['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMargin'], 'px' );
52
- $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], 'px' );
53
- $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], 'px' );
54
- } elseif ( 'center' == $attr['align'] ) {
55
- $style['margin-right'] = 'auto';
56
- $style['margin-left'] = 'auto';
57
- $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], 'px' );
58
- $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], 'px' );
59
- } else {
60
- $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], 'px' );
61
- $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], 'px' );
62
- }
63
-
64
- if ( "none" != $attr['borderStyle'] ) {
65
- $style["border-style"] = $attr['borderStyle'];
66
- $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
67
- $style["border-color"] = $attr['borderColor'];
68
- }
69
-
70
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
71
-
72
- $section_width = '100%';
73
-
74
- if ( isset( $attr['contentWidth'] ) ) {
75
-
76
- if ( 'boxed' == $attr['contentWidth'] ) {
77
- if ( isset( $attr['width'] ) ) {
78
- $section_width = UAGB_Helper::get_css_value( $attr['width'], 'px' );
79
- }
80
- }
81
- }
82
-
83
- if ( 'wide' != $attr['align'] && 'full' != $attr['align'] ) {
84
- $style['max-width'] = $section_width;
85
- }
86
-
87
- if ( 'image' === $bg_type ) {
88
-
89
- $style['background-image'] = ( isset( $attr['backgroundImage'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
90
- $style['background-position'] = $position;
91
- $style['background-attachment'] = $attr['backgroundAttachment'];
92
- $style['background-repeat'] = $attr['backgroundRepeat'];
93
- $style['background-size'] = $attr['backgroundSize'];
94
-
95
- }
96
-
97
- $inner_width = '100%';
98
-
99
- if ( isset( $attr['contentWidth'] ) ) {
100
- if ( 'boxed' != $attr['contentWidth'] ) {
101
- if ( isset( $attr['themeWidth'] ) && $attr['themeWidth'] == true ) {
102
- $inner_width = $content_width . 'px';
103
- } else {
104
- if ( isset( $attr['innerWidth'] ) ) {
105
- $inner_width = UAGB_Helper::get_css_value( $attr['innerWidth'], 'px' );
106
- }
107
- }
108
- }
109
- }
110
-
111
- $selectors = array(
112
- '.uagb-section__wrap' => $style,
113
- ' > .uagb-section__video-wrap' => array(
114
- 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
115
- ),
116
- ' > .uagb-section__inner-wrap' => array(
117
- 'max-width' => $inner_width,
118
- ),
119
- );
120
-
121
- if ( 'video' == $bg_type ) {
122
- $selectors[' > .uagb-section__overlay'] = array(
123
- 'opacity' => 1,
124
- 'background-color' => $attr['backgroundVideoColor'],
125
- );
126
- } else if ( 'image' == $bg_type ) {
127
- $selectors[' > .uagb-section__overlay'] = array(
128
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
129
- 'background-color' => $attr['backgroundImageColor'],
130
- );
131
- } else if ( 'color' == $bg_type ) {
132
- $selectors[' > .uagb-section__overlay'] = array(
133
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
134
- 'background-color' => $attr['backgroundColor'],
135
- );
136
- } else if ( 'gradient' === $bg_type ) {
137
- $selectors[' > .uagb-section__overlay']['background-color'] = 'transparent';
138
- $selectors[' > .uagb-section__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
139
-
140
- if ( 'linear' === $attr['gradientType'] ) {
141
-
142
- $selectors[' > .uagb-section__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
143
- } else {
144
-
145
- $selectors[' > .uagb-section__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
146
- }
147
- }
148
-
149
- $selectors[' > .uagb-section__overlay']["border-radius"] = UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' );
150
-
151
- $m_selectors = array(
152
- '.uagb-section__wrap' => array(
153
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], 'px' ),
154
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], 'px' ),
155
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], 'px' ),
156
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], 'px' ),
157
- )
158
- );
159
-
160
- $t_selectors = array(
161
- '.uagb-section__wrap' => array(
162
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], 'px' ),
163
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], 'px' ),
164
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], 'px' ),
165
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], 'px' ),
166
- )
167
- );
168
-
169
- if ( 'right' == $attr['align'] ) {
170
- $t_selectors['.uagb-section__wrap']['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMarginTablet'], 'px' );
171
- $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], 'px' );
172
- $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], 'px' );
173
-
174
- $m_selectors['.uagb-section__wrap']['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMarginMobile'], 'px' );
175
- $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], 'px' );
176
- $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], 'px' );
177
- } elseif ( 'left' == $attr['align'] ) {
178
- $t_selectors['.uagb-section__wrap']['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMarginTablet'], 'px' );
179
- $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], 'px' );
180
- $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], 'px' );
181
-
182
- $m_selectors['.uagb-section__wrap']['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMarginMobile'], 'px' );
183
- $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], 'px' );
184
- $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], 'px' );
185
- } else {
186
- $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], 'px' );
187
- $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], 'px' );
188
-
189
- $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], 'px' );
190
- $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], 'px' );
191
- }
192
-
193
- // @codingStandardsIgnoreEnd
194
-
195
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-section-' . $id );
196
-
197
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-section-' . $id );
198
-
199
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-section-' . $id );
200
-
201
- $generated_css = array(
202
- 'desktop' => $desktop,
203
- 'tablet' => $tablet,
204
- 'mobile' => $mobile,
205
- );
206
-
207
- return $generated_css;
208
- }
209
-
210
- /**
211
- * Get Columns Block CSS
212
- *
213
- * @since 1.8.0
214
- * @param array $attr The block attributes.
215
- * @param string $id The selector ID.
216
- * @return array The Widget List.
217
- */
218
- public static function get_columns_css( $attr, $id ) { // @codingStandardsIgnoreStart
219
-
220
- global $content_width;
221
-
222
- $defaults = UAGB_Helper::$block_list['uagb/columns']['attributes'];
223
-
224
- $attr = array_merge( $defaults, $attr );
225
-
226
- $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
227
-
228
- $m_selectors = array();
229
- $t_selectors = array();
230
-
231
- $style = array(
232
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], 'px' ),
233
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], 'px' ),
234
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], 'px' ),
235
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], 'px' ),
236
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMargin'], 'px' ),
237
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMargin'], 'px' ),
238
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
239
- );
240
-
241
- if ( "none" != $attr['borderStyle'] ) {
242
- $style["border-style"] = $attr['borderStyle'];
243
- $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
244
- $style["border-color"] = $attr['borderColor'];
245
- }
246
-
247
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
248
-
249
- if ( 'image' === $bg_type ) {
250
-
251
- $style['background-image'] = ( isset( $attr['backgroundImage'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
252
- $style['background-position'] = $position;
253
- $style['background-attachment'] = $attr['backgroundAttachment'];
254
- $style['background-repeat'] = $attr['backgroundRepeat'];
255
- $style['background-size'] = $attr['backgroundSize'];
256
-
257
- }
258
-
259
- $inner_width = '100%';
260
-
261
- if ( isset( $attr['contentWidth'] ) ) {
262
- if ( 'theme' == $attr['contentWidth'] ) {
263
- $inner_width = UAGB_Helper::get_css_value( $content_width, 'px' );
264
- } else if ( 'custom' == $attr['contentWidth'] ) {
265
- $inner_width = UAGB_Helper::get_css_value( $attr['width'], 'px' );
266
- }
267
- }
268
-
269
- $selectors = array(
270
- '.uagb-columns__wrap' => $style,
271
- ' .uagb-columns__video-wrap' => array(
272
- 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
273
- ),
274
- ' > .uagb-columns__inner-wrap' => array(
275
- 'max-width' => $inner_width,
276
- ),
277
- ' .uagb-column__inner-wrap' => array(
278
- 'padding' => UAGB_Helper::get_css_value( $attr['columnGap'], 'px' )
279
- ),
280
- ' .uagb-columns__shape-top svg' => array(
281
- 'width' => "calc( " . $attr['topWidth'] . "% + 1.3px )",
282
- 'height' => UAGB_Helper::get_css_value( $attr['topHeight'], 'px' )
283
- ),
284
- ' .uagb-columns__shape-top .uagb-columns__shape-fill' => array(
285
- 'fill' => $attr['topColor'],
286
- 'opacity' => ( isset( $attr['topDividerOpacity'] ) && '' != $attr['topDividerOpacity'] ) ? ( ( $attr['topDividerOpacity'] ) / 100 ) : ""
287
- ),
288
- ' .uagb-columns__shape-bottom svg' => array(
289
- 'width' => "calc( " . $attr['bottomWidth'] . "% + 1.3px )",
290
- 'height' => UAGB_Helper::get_css_value( $attr['bottomHeight'], 'px' )
291
- ),
292
- ' .uagb-columns__shape-bottom .uagb-columns__shape-fill' => array(
293
- 'fill' => $attr['bottomColor'],
294
- 'opacity' => ( isset( $attr['bottomDividerOpacity'] ) && '' != $attr['bottomDividerOpacity'] ) ? ( ( $attr['bottomDividerOpacity'] ) / 100 ) : ""
295
- ),
296
- );
297
-
298
- if ( 'video' == $bg_type ) {
299
- $selectors[' > .uagb-columns__overlay'] = array(
300
- 'opacity' => 1,
301
- 'background-color' => $attr['backgroundVideoColor'],
302
- );
303
- } else if ( 'image' == $bg_type ) {
304
- $selectors[' > .uagb-columns__overlay'] = array(
305
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
306
- 'background-color' => $attr['backgroundImageColor'],
307
- );
308
- } else if ( 'color' == $bg_type ) {
309
- $selectors[' > .uagb-columns__overlay'] = array(
310
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
311
- 'background-color' => $attr['backgroundColor'],
312
- );
313
- } elseif ( 'gradient' === $bg_type ) {
314
- $selectors[' > .uagb-columns__overlay']['background-color'] = 'transparent';
315
- $selectors[' > .uagb-columns__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
316
-
317
- if ( 'linear' === $attr['gradientType'] ) {
318
-
319
- $selectors[' > .uagb-columns__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
320
- } else {
321
-
322
- $selectors[' > .uagb-columns__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
323
- }
324
- }
325
-
326
- $selectors[' > .uagb-columns__overlay']["border-radius"] = UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' );
327
-
328
- $m_selectors = array(
329
- '.uagb-columns__wrap' => array(
330
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], 'px' ),
331
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], 'px' ),
332
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], 'px' ),
333
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], 'px' ),
334
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginMobile'], 'px' ),
335
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], 'px' ),
336
- ),
337
- ' .uagb-columns__shape-bottom svg' => array(
338
- 'height' => UAGB_Helper::get_css_value( $attr['bottomHeightMobile'], 'px' )
339
- ),
340
- ' .uagb-columns__shape-top svg' => array(
341
- 'height' => UAGB_Helper::get_css_value( $attr['topHeightMobile'], 'px' )
342
- ),
343
- );
344
-
345
- $t_selectors = array(
346
- '.uagb-columns__wrap' => array(
347
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], 'px' ),
348
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], 'px' ),
349
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], 'px' ),
350
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], 'px' ),
351
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginTablet'], 'px' ),
352
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], 'px' ),
353
- ),
354
- ' .uagb-columns__shape-bottom svg' => array(
355
- 'height' => UAGB_Helper::get_css_value( $attr['bottomHeightTablet'], 'px' )
356
- ),
357
- ' .uagb-columns__shape-top svg' => array(
358
- 'height' => UAGB_Helper::get_css_value( $attr['topHeightTablet'], 'px' )
359
- ),
360
- );
361
-
362
- // @codingStandardsIgnoreEnd
363
-
364
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-columns-' . $id );
365
-
366
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-columns-' . $id );
367
-
368
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-columns-' . $id );
369
-
370
- $generated_css = array(
371
- 'desktop' => $desktop,
372
- 'tablet' => $tablet,
373
- 'mobile' => $mobile,
374
- );
375
-
376
- return $generated_css;
377
- }
378
-
379
- /**
380
- * Get Single Column Block CSS
381
- *
382
- * @since 1.8.0
383
- * @param array $attr The block attributes.
384
- * @param string $id The selector ID.
385
- * @return array The Widget List.
386
- */
387
- public static function get_column_css( $attr, $id ) { // @codingStandardsIgnoreStart
388
-
389
- global $content_width;
390
-
391
- $defaults = UAGB_Helper::$block_list['uagb/column']['attributes'];
392
-
393
- $attr = array_merge( $defaults, $attr );
394
-
395
- $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
396
-
397
- $style = array(
398
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], 'px' ),
399
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], 'px' ),
400
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], 'px' ),
401
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], 'px' ),
402
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMargin'], 'px' ),
403
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMargin'], 'px' ),
404
- 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMargin'], 'px' ),
405
- 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMargin'], 'px' ),
406
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
407
- );
408
-
409
- $m_selectors = array();
410
- $t_selectors = array();
411
-
412
- if ( "none" != $attr['borderStyle'] ) {
413
- $style["border-style"] = $attr['borderStyle'];
414
- $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
415
- $style["border-color"] = $attr['borderColor'];
416
- }
417
-
418
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
419
-
420
- if ( 'image' === $bg_type ) {
421
-
422
- $style['background-image'] = ( isset( $attr['backgroundImage'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
423
- $style['background-position'] = $position;
424
- $style['background-attachment'] = $attr['backgroundAttachment'];
425
- $style['background-repeat'] = $attr['backgroundRepeat'];
426
- $style['background-size'] = $attr['backgroundSize'];
427
-
428
- }
429
-
430
- $selectors = array(
431
- '.uagb-column__wrap' => $style
432
- );
433
-
434
- if ( 'image' == $bg_type ) {
435
- $selectors[' > .uagb-column__overlay'] = array(
436
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
437
- 'background-color' => $attr['backgroundImageColor'],
438
- );
439
- } else if ( 'color' == $bg_type ) {
440
- $selectors[' > .uagb-column__overlay'] = array(
441
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
442
- 'background-color' => $attr['backgroundColor'],
443
- );
444
- } elseif ( 'gradient' === $bg_type ) {
445
- $selectors[' > .uagb-column__overlay']['background-color'] = 'transparent';
446
- $selectors[' > .uagb-column__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
447
-
448
- if ( 'linear' === $attr['gradientType'] ) {
449
-
450
- $selectors[' > .uagb-column__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
451
- } else {
452
-
453
- $selectors[' > .uagb-column__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
454
- }
455
- }
456
-
457
- if ( '' != $attr['colWidth'] && 0 != $attr['colWidth'] ) {
458
-
459
- $selectors[''] = array(
460
- "width" => UAGB_Helper::get_css_value( $attr['colWidth'], "%" )
461
- );
462
- }
463
-
464
- $m_selectors = array(
465
- '.uagb-column__wrap' => array(
466
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], 'px' ),
467
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], 'px' ),
468
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], 'px' ),
469
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], 'px' ),
470
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginMobile'], 'px' ),
471
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], 'px' ),
472
- 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMarginMobile'], 'px' ),
473
- 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMarginMobile'], 'px' ),
474
- )
475
- );
476
-
477
- $t_selectors = array(
478
- '.uagb-column__wrap' => array(
479
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], 'px' ),
480
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], 'px' ),
481
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], 'px' ),
482
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], 'px' ),
483
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginTablet'], 'px' ),
484
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], 'px' ),
485
- 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMarginTablet'], 'px' ),
486
- 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMarginTablet'], 'px' ),
487
- )
488
- );
489
-
490
- if ( '' != $attr['colWidthTablet'] && 0 != $attr['colWidthTablet'] ) {
491
-
492
- $t_selectors[''] = array(
493
- "width" => UAGB_Helper::get_css_value( $attr['colWidthTablet'], '%' )
494
- );
495
- }
496
-
497
- if ( '' != $attr['colWidthMobile'] && 0 != $attr['colWidthMobile'] ) {
498
-
499
- $m_selectors[''] = array(
500
- "width" => UAGB_Helper::get_css_value( $attr['colWidthMobile'], '%' )
501
- );
502
- }
503
-
504
- // @codingStandardsIgnoreEnd
505
-
506
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-column-' . $id );
507
-
508
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-column-' . $id );
509
-
510
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-column-' . $id );
511
-
512
- $generated_css = array(
513
- 'desktop' => $desktop,
514
- 'tablet' => $tablet,
515
- 'mobile' => $mobile,
516
- );
517
-
518
- return $generated_css;
519
- }
520
-
521
- /**
522
- * Get Advanced Heading Block CSS
523
- *
524
- * @since 0.0.1
525
- * @param array $attr The block attributes.
526
- * @param string $id The selector ID.
527
- * @return array The Widget List.
528
- */
529
- public static function get_adv_heading_css( $attr, $id ) { // @codingStandardsIgnoreStart
530
-
531
- $defaults = UAGB_Helper::$block_list['uagb/advanced-heading']['attributes'];
532
-
533
- $attr = array_merge( $defaults, (array) $attr );
534
-
535
- $m_selectors = array();
536
- $t_selectors = array();
537
-
538
- $selectors = array(
539
- ' .uagb-heading-text' => array(
540
- 'text-align' => $attr['headingAlign'],
541
- 'font-family' => $attr['headFontFamily'],
542
- 'font-weight' => $attr['headFontWeight'],
543
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
544
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
545
- 'color' => $attr['headingColor'],
546
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], "px" ),
547
- ),
548
- ' .uagb-separator-wrap' => array(
549
- 'text-align' => $attr['headingAlign'],
550
- ),
551
- ' .uagb-desc-text' => array(
552
- 'text-align' => $attr['headingAlign'],
553
- 'font-family' => $attr['subHeadFontFamily'],
554
- 'font-weight' => $attr['subHeadFontWeight'],
555
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ),
556
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
557
- 'color' => $attr['subHeadingColor'],
558
- )
559
-
560
- );
561
-
562
- $m_selectors = array(
563
- ' .uagb-heading-text' => array(
564
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
565
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
566
- ),
567
- ' .uagb-desc-text' => array(
568
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
569
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
570
- )
571
-
572
- );
573
-
574
- $t_selectors = array(
575
- ' .uagb-heading-text' => array(
576
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
577
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
578
-
579
- ),
580
- ' .uagb-desc-text' => array(
581
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
582
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
583
- )
584
-
585
- );
586
-
587
- $seperatorStyle = isset( $attr['seperatorStyle'] ) ? $attr['seperatorStyle'] : '';
588
-
589
- if( 'none' !== $seperatorStyle ){
590
- $selectors[' .uagb-separator'] = array (
591
- 'border-top-style' => $attr['seperatorStyle'] ,
592
- 'border-top-width' => UAGB_Helper::get_css_value( $attr['separatorHeight'], "px" ),
593
- 'width' => UAGB_Helper::get_css_value( $attr['separatorWidth'], $attr['separatorWidthType'] ),
594
- 'border-color' => $attr['separatorColor'],
595
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['separatorSpace'], "px" ),
596
- );
597
-
598
- }
599
- // @codingStandardsIgnoreEnd
600
-
601
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-adv-heading-' . $id );
602
-
603
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-adv-heading-' . $id );
604
-
605
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-adv-heading-' . $id );
606
-
607
- $generated_css = array(
608
- 'desktop' => $desktop,
609
- 'tablet' => $tablet,
610
- 'mobile' => $mobile,
611
- );
612
-
613
- return $generated_css;
614
- }
615
-
616
- /**
617
- * Get Multi Buttons Block CSS
618
- *
619
- * @since 0.0.1
620
- * @param array $attr The block attributes.
621
- * @param string $id The selector ID.
622
- * @return array The Widget List.
623
- */
624
- public static function get_buttons_css( $attr, $id ) { // @codingStandardsIgnoreStart
625
-
626
- $defaults = UAGB_Helper::$block_list['uagb/buttons']['attributes'];
627
-
628
- $attr = array_merge( $defaults, (array) $attr );
629
-
630
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
631
-
632
- $m_selectors = array();
633
- $t_selectors = array();
634
-
635
- $selectors = array(
636
- ' .uagb-button__wrapper' => array(
637
- 'margin-left' => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
638
- 'margin-right' => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
639
- ),
640
- ' .uagb-button__wrapper:first-child' => array (
641
- 'margin-left' => 0
642
- ),
643
- ' .uagb-button__wrapper:last-child' => array (
644
- 'margin-right' => 0
645
- ),
646
- ' .uagb-buttons__wrap' => array (
647
- 'justify-content' => $alignment,
648
- '-webkit-box-pack'=> $alignment,
649
- '-ms-flex-pack' => $alignment,
650
- 'justify-content' => $alignment,
651
- '-webkit-box-align' => $alignment,
652
- '-ms-flex-align' => $alignment,
653
- 'align-items' => $alignment,
654
- )
655
- );
656
-
657
- foreach ( $attr['buttons'] as $key => $button ) {
658
-
659
- $button['size'] = ( isset( $button['size'] ) ) ? $button['size'] : '';
660
- $button['borderWidth'] = ( isset( $button['borderWidth'] ) ) ? $button['borderWidth'] : '';
661
- $button['borderStyle'] = ( isset( $button['borderStyle'] ) ) ? $button['borderStyle'] : '';
662
- $button['borderColor'] = ( isset( $button['borderColor'] ) ) ? $button['borderColor'] : '';
663
- $button['borderRadius'] = ( isset( $button['borderRadius'] ) ) ? $button['borderRadius'] : '';
664
- $button['background'] = ( isset( $button['background'] ) ) ? $button['background'] : '';
665
- $button['hBackground'] = ( isset( $button['hBackground'] ) ) ? $button['hBackground'] : '';
666
- $button['borderHColor'] = ( isset( $button['borderHColor'] ) ) ? $button['borderHColor'] : '';
667
- $button['vPadding'] = ( isset( $button['vPadding'] ) ) ? $button['vPadding'] : '';
668
- $button['hPadding'] = ( isset( $button['hPadding'] ) ) ? $button['hPadding'] : '';
669
- $button['color'] = ( isset( $button['color'] ) ) ? $button['color'] : '';
670
- $button['hColor'] = ( isset( $button['hColor'] ) ) ? $button['hColor'] : '';
671
- $button['sizeType'] = ( isset( $button['sizeType'] ) ) ? $button['sizeType'] : 'px';
672
- $button['sizeMobile'] = ( isset( $button['sizeMobile'] ) ) ? $button['sizeMobile'] : '';
673
- $button['sizeTablet'] = ( isset( $button['sizeTablet'] ) ) ? $button['sizeTablet'] : '';
674
- $button['lineHeight'] = ( isset( $button['lineHeight'] ) ) ? $button['lineHeight'] : '';
675
- $button['lineHeightType'] = ( isset( $button['lineHeightType'] ) ) ? $button['lineHeightType'] : '';
676
- $button['lineHeightMobile'] = ( isset( $button['lineHeightMobile'] ) ) ? $button['lineHeightMobile'] : '';
677
- $button['lineHeightTablet'] = ( isset( $button['lineHeightTablet'] ) ) ? $button['lineHeightTablet'] : '';
678
-
679
-
680
- if ( $attr['btn_count'] <= $key ) {
681
- break;
682
- }
683
-
684
- $selectors[' .uagb-buttons-repeater-' . $key] = array (
685
- 'font-size' => $button['size'] . $button['sizeType'],
686
- 'line-height' => $button['lineHeight'] . $button['lineHeightType'],
687
- 'font-family' => $attr['fontFamily'],
688
- 'font-weight' => $attr['fontWeight'],
689
- 'border-width' => UAGB_Helper::get_css_value( $button['borderWidth'], 'px' ),
690
- 'border-color' => $button['borderColor'],
691
- 'border-style' => $button['borderStyle'],
692
- 'border-radius' => UAGB_Helper::get_css_value( $button['borderRadius'], 'px' ),
693
- 'background' => $button['background']
694
- );
695
-
696
- $selectors[' .uagb-buttons-repeater-' . $key . ':hover'] = array (
697
- 'background' => $button['hBackground'],
698
- 'border-width' => UAGB_Helper::get_css_value( $button['borderWidth'], 'px' ),
699
- 'border-color' => $button['borderHColor'],
700
- 'border-style' => $button['borderStyle'],
701
- );
702
-
703
- $selectors[' .uagb-buttons-repeater-' . $key . ' a.uagb-button__link'] = array (
704
- 'padding' => $button['vPadding'] . 'px ' . $button['hPadding'] . 'px',
705
- 'color' => $button['color']
706
- );
707
-
708
- $selectors[' .uagb-buttons-repeater-' . $key . ':hover a.uagb-button__link'] = array (
709
- 'color' => $button['hColor']
710
- );
711
-
712
- $m_selectors[' .uagb-buttons-repeater-' . $key] = array (
713
- 'font-size' => UAGB_Helper::get_css_value( $button['sizeMobile'], $button['sizeType'] ),
714
- 'line-height' => UAGB_Helper::get_css_value( $button['lineHeightMobile'], $button['lineHeightType'] ),
715
- );
716
-
717
- $t_selectors[' .uagb-buttons-repeater-' . $key] = array (
718
- 'font-size' => UAGB_Helper::get_css_value( $button['sizeTablet'], $button['sizeType'] ),
719
- 'line-height' => UAGB_Helper::get_css_value( $button['lineHeightTablet'], $button['lineHeightType'] ),
720
- );
721
- }
722
-
723
- if ( "desktop" == $attr['stack'] ) {
724
-
725
- $selectors[" .uagb-button__wrapper"] = array (
726
- 'margin-left' => 0,
727
- 'margin-right' => 0,
728
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
729
- );
730
-
731
- $selectors[" .uagb-buttons__wrap"] = array (
732
- "flex-direction" => "column"
733
- );
734
-
735
- $selectors[" .uagb-button__wrapper:last-child"] = array (
736
- "margin-bottom" => 0
737
- );
738
-
739
- } else if ( "tablet" == $attr['stack'] ) {
740
-
741
- $t_selectors[" .uagb-button__wrapper"] = array (
742
- 'margin-left' => 0,
743
- 'margin-right' => 0,
744
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
745
- );
746
-
747
- $t_selectors[" .uagb-buttons__wrap"] = array (
748
- "flex-direction" => "column"
749
- );
750
-
751
- $t_selectors[" .uagb-button__wrapper:last-child"] = array (
752
- "margin-bottom" => 0
753
- );
754
-
755
- } else if ( "mobile" == $attr['stack'] ) {
756
-
757
- $m_selectors[" .uagb-button__wrapper"] = array (
758
- 'margin-left' => 0,
759
- 'margin-right' => 0,
760
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
761
- );
762
-
763
- $m_selectors[" .uagb-buttons__wrap"] = array (
764
- "flex-direction" => "column"
765
- );
766
-
767
- $m_selectors[" .uagb-button__wrapper:last-child"] = array (
768
- "margin-bottom" => 0
769
- );
770
- }
771
-
772
- // @codingStandardsIgnoreEnd
773
-
774
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-buttons-' . $id );
775
-
776
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-buttons-' . $id );
777
-
778
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-buttons-' . $id );
779
-
780
- $generated_css = array(
781
- 'desktop' => $desktop,
782
- 'tablet' => $tablet,
783
- 'mobile' => $mobile,
784
- );
785
-
786
- return $generated_css;
787
- }
788
-
789
- /**
790
- * Get Info Box CSS
791
- *
792
- * @since 0.0.1
793
- * @param array $attr The block attributes.
794
- * @param string $id The selector ID.
795
- * @return array The Widget List.
796
- */
797
- public static function get_info_box_css( $attr, $id ) { // @codingStandardsIgnoreStart.
798
- $defaults = UAGB_Helper::$block_list['uagb/info-box']['attributes'];
799
-
800
- $attr = array_merge( $defaults, (array) $attr );
801
-
802
- $m_selectors = array();
803
- $t_selectors = array();
804
-
805
- $selectors = array(
806
- ' .uagb-ifb-icon' => array(
807
- 'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
808
- 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
809
- 'line-height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
810
- ),
811
- ' .uagb-ifb-icon > span' => array(
812
- 'font-size' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
813
- 'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
814
- 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
815
- 'line-height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
816
- 'color' => $attr['iconColor'],
817
- ),
818
- ' .uagb-ifb-icon svg' => array(
819
- 'fill' => $attr['iconColor'],
820
- ),
821
- ' .uagb-ifb-icon:hover > span' => array(
822
- 'color' => $attr['iconHover'] ,
823
- ),
824
- ' .uagb-ifb-icon:hover svg' => array(
825
- 'fill' => $attr['iconHover'] ,
826
- ),
827
-
828
- ' .uagb-infbox__link-to-all:hover ~ .uagb-infobox__content-wrap .uagb-ifb-icon svg' => array(
829
- 'fill' => $attr['iconHover'] ,
830
- ),
831
-
832
- ' .uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap' => array(
833
- 'margin-left' => UAGB_Helper::get_css_value( $attr['iconLeftMargin'], 'px' ),
834
- 'margin-right' => UAGB_Helper::get_css_value( $attr['iconRightMargin'], 'px' ),
835
- 'margin-top' => UAGB_Helper::get_css_value( $attr['iconTopMargin'], 'px' ),
836
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['iconBottomMargin'], 'px' ),
837
- ),
838
- // Image.
839
- ' .uagb-ifb-image-content > img' => array(
840
- 'width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
841
- 'max-width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
842
- ),
843
- ' .uagb-infobox .uagb-ifb-image-content img' => array(
844
- 'border-radius' => UAGB_Helper::get_css_value( $attr['iconimgBorderRadius'], 'px' ),
845
- ),
846
- // CTA style .
847
- ' .uagb-infobox-cta-link' => array(
848
- 'font-size' => $attr['ctaFontSize'].$attr['ctaFontSizeType'],
849
- 'font-family' => $attr['ctaFontFamily'],
850
- 'font-weight' => $attr['ctaFontWeight'],
851
- 'color' => $attr['ctaLinkColor'],
852
- ),
853
- ' .uagb-infobox-cta-link:hover' => array(
854
- 'color' => $attr['ctaLinkHoverColor'],
855
- ),
856
- ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
857
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
858
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
859
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
860
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
861
- ),
862
- ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
863
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
864
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
865
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
866
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
867
- ),
868
- ' .uagb-infobox-cta-link svg' => array(
869
- 'fill' => $attr['ctaLinkColor'],
870
- ),
871
- ' .uagb-infobox-cta-link:hover svg' => array(
872
- 'fill' => $attr['ctaLinkHoverColor'],
873
- ),
874
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link' => array(
875
- 'color' => $attr['ctaBtnLinkColor'],
876
- 'background-color' => $attr['ctaBgColor'],
877
- 'border-style' => $attr['ctaBorderStyle'],
878
- 'border-color' => $attr['ctaBorderColor'],
879
- 'border-radius' => UAGB_Helper::get_css_value( $attr['ctaBorderRadius'], 'px' ),
880
- 'border-width' => UAGB_Helper::get_css_value( $attr['ctaBorderWidth'], 'px' ),
881
- 'padding-top' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
882
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
883
- 'padding-left' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
884
- 'padding-right' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
885
-
886
- ),
887
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link svg' => array(
888
- 'fill' => $attr['ctaBtnLinkColor'],
889
- ),
890
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover' => array(
891
- 'color' => $attr['ctaLinkHoverColor'],
892
- 'background-color' => $attr['ctaBgHoverColor'],
893
- 'border-color' => $attr['ctaBorderhoverColor'],
894
- ),
895
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover svg' => array(
896
- 'fill' => $attr['ctaLinkHoverColor'],
897
- ),
898
- // Prefix Style.
899
- ' .uagb-ifb-title-prefix' => array(
900
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSize'], $attr['prefixFontSizeType'] ),
901
- 'font-family' => $attr['prefixFontFamily'],
902
- 'font-weight' => $attr['prefixFontWeight'],
903
- 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeight'], $attr['prefixLineHeightType'] ),
904
- 'color' => $attr['prefixColor'],
905
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
906
- ),
907
- // Title Style.
908
- ' .uagb-ifb-title' => array(
909
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
910
- 'font-family' => $attr['headFontFamily'],
911
- 'font-weight' => $attr['headFontWeight'],
912
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
913
- 'color' => $attr['headingColor'],
914
- 'margin-bottom' => $attr['headSpace'] . 'px',
915
- ),
916
- // Description Style.
917
- ' .uagb-ifb-desc' => array(
918
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ) ,
919
- 'font-family' => $attr['subHeadFontFamily'],
920
- 'font-weight' => $attr['subHeadFontWeight'],
921
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
922
- 'color' => $attr['subHeadingColor'],
923
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['subHeadSpace'], 'px' ),
924
- ),
925
- // Seperator.
926
- ' .uagb-ifb-separator' => array(
927
- 'width' => UAGB_Helper::get_css_value( $attr['seperatorWidth'], $attr['separatorWidthType'] ),
928
- 'border-top-width' => UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
929
- 'border-top-color' => $attr['seperatorColor'],
930
- 'border-top-style' => $attr['seperatorStyle'],
931
- ),
932
- ' .uagb-ifb-separator-parent' => array(
933
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['seperatorSpace'], 'px' ),
934
- ),
935
- // CTA icon space.
936
- ' .uagb-ifb-align-icon-after' => array(
937
- 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
938
- ),
939
- ' .uagb-ifb-align-icon-before' => array(
940
- 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
941
- ),
942
- );
943
-
944
- if( 'above-title' === $attr['iconimgPosition'] || 'below-title' === $attr['iconimgPosition'] ){
945
- $selectors[' .uagb-infobox__content-wrap'] = array(
946
- 'text-align' => $attr['headingAlign'],
947
- );
948
- }
949
-
950
- $m_selectors = array(
951
- ' .uagb-ifb-title-prefix' => array(
952
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
953
- 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightMobile'], $attr['prefixLineHeightType'] ),
954
- ),
955
- ' .uagb-ifb-title' => array(
956
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
957
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
958
- ),
959
- ' .uagb-ifb-desc' => array(
960
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
961
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
962
- ),
963
- ' .uagb-infobox-cta-link' => array(
964
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
965
- ),
966
- ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
967
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
968
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
969
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
970
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
971
- ),
972
- ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
973
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
974
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
975
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
976
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
977
- ),
978
- );
979
-
980
- $t_selectors = array(
981
- ' .uagb-ifb-title-prefix' => array(
982
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
983
- ),
984
- ' .uagb-ifb-title' => array(
985
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
986
- ),
987
- ' .uagb-ifb-desc' => array(
988
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
989
- ),
990
- ' .uagb-infobox-cta-link' => array(
991
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
992
- ),
993
- ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
994
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
995
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
996
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
997
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
998
- ),
999
- ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
1000
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1001
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1002
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1003
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1004
- ),
1005
- );
1006
-
1007
- // @codingStandardsIgnoreEnd.
1008
-
1009
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-infobox-' . $id );
1010
-
1011
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-infobox-' . $id );
1012
-
1013
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-infobox-' . $id );
1014
-
1015
- $generated_css = array(
1016
- 'desktop' => $desktop,
1017
- 'tablet' => $tablet,
1018
- 'mobile' => $mobile,
1019
- );
1020
-
1021
- return $generated_css;
1022
- }
1023
-
1024
- /**
1025
- * Get CTA CSS
1026
- *
1027
- * @since 1.7.0
1028
- * @param array $attr The block attributes.
1029
- * @param string $id The selector ID.
1030
- * @return array The Widget List.
1031
- */
1032
- public static function get_call_to_action_css( $attr, $id ) { // @codingStandardsIgnoreStart.
1033
- $defaults = UAGB_Helper::$block_list['uagb/call-to-action']['attributes'];
1034
-
1035
- $attr = array_merge( $defaults, (array) $attr );
1036
-
1037
- $t_selectors = array();
1038
- $m_selectors = array();
1039
-
1040
- $selectors = array(
1041
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1042
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1043
- 'font-family' => $attr['ctaFontFamily'],
1044
- 'font-weight' => $attr['ctaFontWeight'],
1045
- 'color' => $attr['ctaBtnLinkColor'],
1046
- ),
1047
- ' .uagb-cta__button-wrapper:hover a.uagb-cta-typeof-text ' => array(
1048
- 'color' => $attr['ctaLinkHoverColor'],
1049
- ),
1050
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1051
- 'font-size' => $attr['ctaFontSize']. $attr['ctaFontSizeType'],
1052
- 'font-family' => $attr['ctaFontFamily'],
1053
- 'font-weight' => $attr['ctaFontWeight'],
1054
- 'color' => $attr['ctaBtnLinkColor'],
1055
- 'background-color' => $attr['ctaBgColor'],
1056
- 'border-style' => $attr['ctaBorderStyle'],
1057
- 'border-color' => $attr['ctaBorderColor'],
1058
- 'border-radius' => UAGB_Helper::get_css_value( $attr['ctaBorderRadius'], 'px' ),
1059
- 'border-width' => UAGB_Helper::get_css_value( $attr['ctaBorderWidth'], 'px' ),
1060
- 'padding-top' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
1061
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
1062
- 'padding-left' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
1063
- 'padding-right' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
1064
- ),
1065
- ' .uagb-cta__button-wrapper:hover a.uagb-cta-typeof-button' => array(
1066
- 'color' => $attr['ctaLinkHoverColor'],
1067
- 'background-color' => $attr['ctaBgHoverColor'],
1068
- 'border-color' => $attr['ctaBorderhoverColor'],
1069
- ),
1070
- ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1071
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1072
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1073
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1074
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1075
- ),
1076
- ' .uagb-cta__button-wrapper .uagb-cta__block-link svg' => array(
1077
- 'fill' => $attr['ctaBtnLinkColor'],
1078
- ),
1079
- ' .uagb-cta__button-wrapper:hover .uagb-cta__block-link svg' => array(
1080
- 'fill' => $attr['ctaLinkHoverColor'],
1081
- ),
1082
- ' .uagb-cta__title' => array(
1083
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
1084
- 'font-family' => $attr['titleFontFamily'],
1085
- 'font-weight' => $attr['titleFontWeight'],
1086
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
1087
- 'color' => $attr['titleColor'],
1088
- 'margin-bottom' => $attr['titleSpace']. "px",
1089
- ),
1090
- ' .uagb-cta__desc' => array(
1091
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1092
- 'font-family' => $attr['descFontFamily'],
1093
- 'font-weight' => $attr['descFontWeight'],
1094
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1095
- 'color' => $attr['descColor'],
1096
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1097
- ),
1098
- ' .uagb-cta__align-button-after' => array(
1099
- 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
1100
- ),
1101
- ' .uagb-cta__align-button-before' => array(
1102
- 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
1103
- ),
1104
- );
1105
-
1106
- $selectors[' .uagb-cta__content-wrap'] = array(
1107
- 'text-align' => $attr['textAlign'],
1108
- );
1109
-
1110
- if( 'left' === $attr['textAlign'] && "right" === $attr['ctaPosition'] ){
1111
- $selectors[' .uagb-cta__left-right-wrap .uagb-cta__content'] = array(
1112
- 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaLeftSpace'], 'px' ),
1113
- 'margin-right' => '0',
1114
- );
1115
- }
1116
-
1117
- if( 'right' === $attr['textAlign'] && 'right' === $attr['ctaPosition'] ){
1118
- $selectors[' .uagb-cta__left-right-wrap .uagb-cta__content'] = array(
1119
- 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaRightSpace'], 'px' ),
1120
- 'margin-left' => '0',
1121
- );
1122
- }
1123
-
1124
- if( $attr['ctaPosition'] === "right" && ( $attr['ctaType'] === 'text' || $attr['ctaType'] === 'button' ) ){
1125
- $selectors[" .uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content"] = array(
1126
- "width" => UAGB_Helper::get_css_value( $attr['contentWidth'], '%' ),
1127
- );
1128
-
1129
- $selectors[" .uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper"] = array(
1130
- "width" => UAGB_Helper::get_css_value( (100 - $attr['contentWidth'] ), '%' ),
1131
- );
1132
- }
1133
-
1134
- $t_selectors = array(
1135
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1136
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1137
- ),
1138
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1139
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1140
- ),
1141
- ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1142
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1143
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1144
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1145
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1146
- ),
1147
- ' .uagb-cta__title' => array(
1148
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
1149
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
1150
- ),
1151
- ' .uagb-cta__desc' => array(
1152
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1153
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
1154
- ),
1155
- );
1156
-
1157
- $m_selectors = array(
1158
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1159
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1160
- ),
1161
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1162
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1163
- ),
1164
- ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1165
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1166
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1167
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1168
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1169
- ),
1170
- ' .uagb-cta__title' => array(
1171
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'],$attr['titleFontSizeType'] ),
1172
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'],$attr['titleLineHeightType'] ),
1173
- ),
1174
- ' .uagb-cta__desc' => array(
1175
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'],$attr['descFontSizeType'] ),
1176
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
1177
- ),
1178
- );
1179
-
1180
- // @codingStandardsIgnoreEnd.
1181
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-cta-block-' . $id );
1182
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-cta-block-' . $id );
1183
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-cta-block-' . $id );
1184
-
1185
- $generated_css = array(
1186
- 'desktop' => $desktop,
1187
- 'tablet' => $tablet,
1188
- 'mobile' => $mobile,
1189
- );
1190
-
1191
- return $generated_css;
1192
- }
1193
-
1194
- /**
1195
- * Get Testimonial CSS
1196
- *
1197
- * @since 0.0.1
1198
- * @param array $attr The block attributes.
1199
- * @param string $id The selector ID.
1200
- * @return array The Widget List.
1201
- */
1202
- public static function get_testimonial_css( $attr, $id ) { // @codingStandardsIgnoreStart.
1203
-
1204
- $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
1205
-
1206
- $attr = array_merge( $defaults, (array) $attr );
1207
-
1208
- $img_align = 'center';
1209
- if( 'left' === $attr['headingAlign']){
1210
- $img_align = 'flex-start';
1211
- }else if( 'right' === $attr['headingAlign']){
1212
- $img_align = 'flex-end';
1213
- }
1214
-
1215
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
1216
-
1217
- $selectors = array(
1218
- ' .uagb-testimonial__wrap' => array(
1219
- 'padding-left' => UAGB_Helper::get_css_value( ( ($attr['columnGap']) /2 ), 'px' ),
1220
- 'padding-right' => UAGB_Helper::get_css_value( ( ($attr['columnGap']) /2 ), 'px' ),
1221
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' ),
1222
- ),
1223
- ' .uagb-testimonial__wrap .uagb-tm__image-content' => array(
1224
- 'padding-left' => UAGB_Helper::get_css_value( $attr['imgHrPadding'], 'px' ),
1225
- 'padding-right' => UAGB_Helper::get_css_value( $attr['imgHrPadding'], 'px' ),
1226
- 'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
1227
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
1228
- ),
1229
- ' .uagb-tm__image img' => array(
1230
- 'width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
1231
- 'max-width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
1232
- ),
1233
- ' .uagb-tm__content' => array(
1234
- 'text-align' => $attr['headingAlign'],
1235
- 'padding' => UAGB_Helper::get_css_value( $attr['contentPadding'], 'px' ),
1236
- ),
1237
- ' .uagb-tm__author-name' => array(
1238
- 'color' => $attr['authorColor'],
1239
- 'font-size' => $attr['nameFontSize'] . $attr['nameFontSizeType'],
1240
- 'font-family' => $attr['nameFontFamily'],
1241
- 'font-weight' => $attr['nameFontWeight'],
1242
- 'line-height' => $attr['nameLineHeight'] . $attr['nameLineHeightType'],
1243
- 'margin-bottom' => $attr['nameSpace'] . 'px',
1244
- ),
1245
- ' .uagb-tm__company' => array(
1246
- 'color' => $attr['companyColor'],
1247
- 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSize'], $attr['companyFontSizeType'] ),
1248
- 'font-family' => $attr['companyFontFamily'],
1249
- 'font-weight' => $attr['companyFontWeight'],
1250
- 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeight'], $attr['companyLineHeightType'] ),
1251
- ),
1252
- ' .uagb-tm__desc' => array(
1253
- 'color' => $attr['descColor'],
1254
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1255
- 'font-family' => $attr['descFontFamily'],
1256
- 'font-weight' => $attr['descFontWeight'],
1257
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1258
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1259
- ),
1260
- ' .uagb-testimonial__wrap.uagb-tm__bg-type-color .uagb-tm__content' => array(
1261
- 'background-color' => $attr['backgroundColor'],
1262
- ),
1263
- ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__content' => array(
1264
- 'background-image' => ( isset( $attr['backgroundImage']['url'] ) ) ? 'url("'.$attr['backgroundImage']['url'].'")' : null,
1265
- 'background-position'=> $position,
1266
- 'background-repeat'=> $attr['backgroundRepeat'],
1267
- 'background-size'=> $attr['backgroundSize'],
1268
- ),
1269
- ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__overlay' => array(
1270
- 'background-color' => $attr['backgroundImageColor'],
1271
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? ( ( 100 - $attr['backgroundOpacity'] ) / 100 ) : '0.5',
1272
- ),
1273
- ' .uagb-testimonial__wrap .uagb-tm__content' => array(
1274
- 'border-color' => $attr['borderColor'],
1275
- 'border-style' => $attr['borderStyle'],
1276
- 'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
1277
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
1278
- ),
1279
- ' ul.slick-dots li button:before' => array(
1280
- 'color' => $attr['arrowColor'],
1281
- ),
1282
- ' ul.slick-dots li.slick-active button:before' => array(
1283
- 'color' => $attr['arrowColor'],
1284
- ),
1285
- ' .uagb-tm__image-position-top .uagb-tm__image-content' => array(
1286
- 'justify-content' => $img_align,
1287
- ),
1288
- );
1289
-
1290
- if( 'dots' === $attr['arrowDots'] ){
1291
- $selectors['.uagb-slick-carousel'] = array(
1292
- 'padding' => '0 0 35px 0',
1293
- );
1294
- }
1295
-
1296
- if( '1' === $attr['test_item_count'] || $attr['test_item_count'] === $attr['columns'] ){
1297
- $selectors['.uagb-slick-carousel'] = array(
1298
- 'padding' => '0',
1299
- );
1300
- }
1301
-
1302
- $t_selectors = array(
1303
- ' .uagb-tm__author-name' => array(
1304
- 'font-size' => UAGB_Helper::get_css_value( $attr['nameFontSizeTablet'], $attr['nameFontSizeType'] ),
1305
- 'line-height' => UAGB_Helper::get_css_value( $attr['nameLineHeightTablet'], $attr['nameLineHeightType'] ),
1306
- ),
1307
- ' .uagb-tm__company' => array(
1308
- 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSizeTablet'], $attr['companyFontSizeType'] ),
1309
- 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeightTablet'], $attr['companyLineHeightType'] ),
1310
- ),
1311
- ' .uagb-tm__desc' => array(
1312
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1313
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
1314
- ),
1315
- );
1316
-
1317
- $m_selectors = array(
1318
- ' .uagb-tm__author-name' => array(
1319
- 'font-size' => UAGB_Helper::get_css_value( $attr['nameFontSizeMobile'], $attr['nameFontSizeType'] ),
1320
- 'line-height' => UAGB_Helper::get_css_value( $attr['nameLineHeightMobile'], $attr['nameLineHeightType'] ),
1321
- ),
1322
- ' .uagb-tm__company' => array(
1323
- 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSizeMobile'], $attr['companyFontSizeType'] ),
1324
- 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeightMobile'], $attr['companyLineHeightType'] ),
1325
- ),
1326
- ' .uagb-tm__desc' => array(
1327
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
1328
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
1329
- ),
1330
- ' .uagb-tm__content' => array(
1331
- 'text-align' => 'center',
1332
- )
1333
- );
1334
-
1335
-
1336
- // @codingStandardsIgnoreEnd.
1337
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-testimonial-' . $id );
1338
-
1339
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-testimonial-' . $id );
1340
-
1341
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-testimonial-' . $id );
1342
-
1343
- $generated_css = array(
1344
- 'desktop' => $desktop,
1345
- 'tablet' => $tablet,
1346
- 'mobile' => $mobile,
1347
- );
1348
-
1349
- return $generated_css;
1350
- }
1351
-
1352
- /**
1353
- * Get Team Block CSS
1354
- *
1355
- * @since 0.0.1
1356
- * @param array $attr The block attributes.
1357
- * @param string $id The selector ID.
1358
- * @return array The Widget List.
1359
- */
1360
- public static function get_team_css( $attr, $id ) { // @codingStandardsIgnoreStart
1361
-
1362
- $defaults = UAGB_Helper::$block_list['uagb/team']['attributes'];
1363
-
1364
- $attr = array_merge( $defaults, (array) $attr );
1365
-
1366
- $m_selectors = array();
1367
- $t_selectors = array();
1368
-
1369
- $selectors = array(
1370
- " p.uagb-team__desc" => array(
1371
- "font-family" => $attr['descFontFamily'],
1372
- "font-weight" => $attr['descFontWeight'],
1373
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1374
- "line-height" => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1375
- "color" => $attr['descColor'],
1376
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1377
- ),
1378
- " .uagb-team__prefix" => array(
1379
- "font-family" => $attr['prefixFontFamily'],
1380
- "font-weight" => $attr['prefixFontWeight'],
1381
- "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSize'], $attr['prefixFontSizeType'] ),
1382
- "line-height" => UAGB_Helper::get_css_value( $attr['prefixLineHeight'], $attr['prefixLineHeightType'] ),
1383
- "color" => $attr['prefixColor'],
1384
- ),
1385
- " .uagb-team__desc-wrap" => array(
1386
- "margin-top" => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
1387
- ),
1388
- " .uagb-team__social-icon a" => array(
1389
- "color" => $attr['socialColor'],
1390
- "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1391
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1392
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1393
- "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1394
- ),
1395
- " .uagb-team__social-icon svg" => array(
1396
- "fill" => $attr['socialColor'],
1397
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1398
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1399
- ),
1400
- " .uagb-team__social-icon:hover a" => array(
1401
- "color" => $attr['socialHoverColor'],
1402
- ),
1403
- " .uagb-team__social-icon:hover svg" => array(
1404
- "fill" => $attr['socialHoverColor'],
1405
- ),
1406
- ".uagb-team__image-position-left .uagb-team__social-icon" => array(
1407
- "margin-right" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1408
- "margin-left" => "0",
1409
- ),
1410
- ".uagb-team__image-position-right .uagb-team__social-icon" => array(
1411
- "margin-left" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1412
- "margin-right" => "0",
1413
- ),
1414
- ".uagb-team__image-position-above.uagb-team__align-center .uagb-team__social-icon" => array(
1415
- "margin-right" => UAGB_Helper::get_css_value( ( $attr['socialSpace'] / 2 ), 'px' ),
1416
- "margin-left" => UAGB_Helper::get_css_value( ( $attr['socialSpace'] / 2 ), 'px' ),
1417
- ),
1418
- ".uagb-team__image-position-above.uagb-team__align-left .uagb-team__social-icon" => array(
1419
- "margin-right" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1420
- "margin-left" => "0",
1421
- ),
1422
- ".uagb-team__image-position-above.uagb-team__align-right .uagb-team__social-icon" => array(
1423
- "margin-left" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1424
- "margin-right" => "0",
1425
- ),
1426
- " .uagb-team__image-wrap" => array(
1427
- "margin-top" => UAGB_Helper::get_css_value( $attr['imgTopMargin'], 'px' ),
1428
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['imgBottomMargin'], 'px' ),
1429
- "margin-left" => UAGB_Helper::get_css_value( $attr['imgLeftMargin'], 'px' ),
1430
- "margin-right" => UAGB_Helper::get_css_value( $attr['imgRightMargin'], 'px' ),
1431
- "width" => UAGB_Helper::get_css_value( $attr['imgWidth'], 'px' )
1432
- ),
1433
- );
1434
-
1435
- if( 'above' == $attr['imgPosition'] ) {
1436
- if ( 'center' == $attr['align'] ) {
1437
- $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
1438
- $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
1439
- } else if ( 'left' == $attr['align'] ) {
1440
- $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
1441
- } else if ( 'right' == $attr['align'] ) {
1442
- $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
1443
- }
1444
- }
1445
-
1446
- if ( "above" != $attr['imgPosition'] ) {
1447
- if ( "middle" == $attr['imgAlign'] ) {
1448
- $selectors[" .uagb-team__image-wrap"]["align-self"] = "center";
1449
- }
1450
- }
1451
-
1452
- $selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1453
- "font-family" => $attr['titleFontFamily'],
1454
- "font-weight" => $attr['titleFontWeight'],
1455
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
1456
- "line-height" => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
1457
- "color" => $attr['titleColor'],
1458
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
1459
- );
1460
-
1461
- $m_selectors = array(
1462
- " p.uagb-team__desc" => array(
1463
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
1464
- ),
1465
- " .uagb-team__prefix" => array(
1466
- "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
1467
- ),
1468
- " .uagb-team__social-icon a" => array(
1469
- "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1470
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1471
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1472
- "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1473
- ),
1474
- " .uagb-team__social-icon svg" => array(
1475
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1476
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1477
- ),
1478
- );
1479
-
1480
- $t_selectors = array(
1481
- " p.uagb-team__desc" => array(
1482
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1483
- ),
1484
- " .uagb-team__prefix" => array(
1485
- "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
1486
- ),
1487
- " .uagb-team__social-icon a" => array(
1488
- "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1489
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1490
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1491
- "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1492
- ),
1493
- " .uagb-team__social-icon svg" => array(
1494
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1495
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1496
- ),
1497
- );
1498
-
1499
- $m_selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1500
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
1501
- );
1502
-
1503
- $t_selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1504
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
1505
- );
1506
-
1507
- // @codingStandardsIgnoreEnd
1508
-
1509
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-team-' . $id );
1510
-
1511
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-team-' . $id );
1512
-
1513
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-team-' . $id );
1514
-
1515
- $generated_css = array(
1516
- 'desktop' => $desktop,
1517
- 'tablet' => $tablet,
1518
- 'mobile' => $mobile,
1519
- );
1520
-
1521
- return $generated_css;
1522
- }
1523
-
1524
- /**
1525
- * Get Social Share Block CSS
1526
- *
1527
- * @since 0.0.1
1528
- * @param array $attr The block attributes.
1529
- * @param string $id The selector ID.
1530
- * @return array The Widget List.
1531
- */
1532
- public static function get_social_share_css( $attr, $id ) { // @codingStandardsIgnoreStart
1533
-
1534
- $defaults = UAGB_Helper::$block_list['uagb/social-share']['attributes'];
1535
-
1536
- $attr = array_merge( $defaults, (array) $attr );
1537
-
1538
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
1539
-
1540
- $m_selectors = array();
1541
- $t_selectors = array();
1542
-
1543
- $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper"] = array(
1544
- "margin-left" => 0,
1545
- "margin-right" => 0,
1546
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1547
- );
1548
-
1549
- $selectors[".uagb-social-share__layout-vertical .uagb-social-share__wrap"] = array(
1550
- "flex-direction" => "column"
1551
- );
1552
-
1553
- $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper:last-child"] = array(
1554
- "margin-bottom" => 0
1555
- );
1556
-
1557
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1558
- "margin-left" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
1559
- "margin-right" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
1560
- );
1561
-
1562
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:first-child"] = array(
1563
- "margin-left" => 0
1564
- );
1565
-
1566
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:last-child"] = array(
1567
- "margin-right" => 0
1568
- );
1569
-
1570
- $selectors[" .uagb-ss__wrapper"] = array(
1571
- "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' )
1572
- );
1573
-
1574
- $selectors[" .uagb-ss__source-wrap"] = array(
1575
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1576
- );
1577
-
1578
- $selectors[" .uagb-ss__source-wrap svg"] = array(
1579
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1580
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1581
- );
1582
-
1583
- $selectors[" .uagb-ss__source-image"] = array(
1584
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1585
- );
1586
-
1587
- $selectors[" .uagb-ss__source-icon"] = array(
1588
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1589
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1590
- "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1591
- "line-height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1592
- );
1593
-
1594
-
1595
- $t_selectors[" .uagb-ss__source-wrap"] = array(
1596
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1597
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1598
- "line-height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1599
- );
1600
-
1601
- $t_selectors[" .uagb-ss__source-wrap svg"] = array(
1602
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1603
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1604
- );
1605
-
1606
- $t_selectors[" .uagb-ss__source-image"] = array(
1607
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1608
- );
1609
-
1610
- $t_selectors[" .uagb-ss__source-icon"] = array(
1611
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1612
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1613
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1614
- "line-height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1615
- );
1616
- $t_selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1617
- "margin-left" => 0,
1618
- "margin-right" => 0
1619
- );
1620
-
1621
-
1622
- $m_selectors[" .uagb-ss__source-wrap"] = array(
1623
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1624
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1625
- "line-height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1626
- );
1627
-
1628
- $m_selectors[" .uagb-ss__source-wrap svg"] = array(
1629
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1630
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1631
- );
1632
-
1633
- $m_selectors[" .uagb-ss__source-image"] = array(
1634
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1635
- );
1636
-
1637
- $m_selectors[" .uagb-ss__source-icon"] = array(
1638
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1639
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1640
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1641
- "line-height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1642
- );
1643
- $m_selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1644
- "margin-left" => 0,
1645
- "margin-right" => 0
1646
- );
1647
-
1648
-
1649
- foreach ( $attr['socials'] as $key => $social ) {
1650
-
1651
- $social['icon_color'] = ( isset( $social['icon_color'] ) ) ? $social['icon_color'] : '';
1652
- $social['icon_hover_color'] = ( isset( $social['icon_hover_color'] ) ) ? $social['icon_hover_color'] : '';
1653
-
1654
- if ( $attr['social_count'] <= $key ) {
1655
- break;
1656
- }
1657
-
1658
- $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1659
- "color" => $social['icon_color'],
1660
- "padding" => UAGB_Helper::get_css_value( $attr['bgSize'], $attr['bgSizeType'] )
1661
- );
1662
-
1663
- $m_selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1664
- "padding" => UAGB_Helper::get_css_value( $attr['bgSizeMobile'], $attr['bgSizeType'] )
1665
- );
1666
-
1667
- $t_selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1668
- "padding" => UAGB_Helper::get_css_value( $attr['bgSizeTablet'], $attr['bgSizeType'] )
1669
- );
1670
-
1671
- $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link svg"] = array (
1672
- "fill" => $social['icon_color'],
1673
- );
1674
-
1675
- $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link"] = array (
1676
- "color" => $social['icon_hover_color']
1677
- );
1678
-
1679
- $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link svg"] = array (
1680
- "fill" => $social['icon_hover_color']
1681
- );
1682
-
1683
- $selectors[" .uagb-ss-repeater-" . $key] = array (
1684
- "background" => $social['icon_bg_color']
1685
- );
1686
-
1687
- $selectors[" .uagb-ss-repeater-" . $key . ":hover"] = array (
1688
- "background" => $social['icon_bg_hover_color']
1689
- );
1690
- }
1691
-
1692
- $selectors[" .uagb-social-share__wrap"] = array(
1693
- "justify-content" => $alignment,
1694
- "-webkit-box-pack" => $alignment,
1695
- "-ms-flex-pack" => $alignment,
1696
- "justify-content" => $alignment,
1697
- "-webkit-box-align" => $alignment,
1698
- "-ms-flex-align" => $alignment,
1699
- "align-items" => $alignment,
1700
- );
1701
-
1702
- if ( 'horizontal' == $attr['social_layout'] ) {
1703
-
1704
- if ( "desktop" == $attr['stack'] ) {
1705
-
1706
- $selectors[" .uagb-ss__wrapper"] = array (
1707
- "margin-left" => 0,
1708
- "margin-right" => 0,
1709
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1710
- );
1711
-
1712
- $selectors[" .uagb-social-share__wrap"] = array (
1713
- "flex-direction" => "column"
1714
- );
1715
-
1716
- $selectors[" .uagb-ss__wrapper:last-child"] = array (
1717
- "margin-bottom" => 0
1718
- );
1719
-
1720
- } else if ( "tablet" == $attr['stack'] ) {
1721
-
1722
- $t_selectors[" .uagb-ss__wrapper"] = array (
1723
- "margin-left" => 0,
1724
- "margin-right" => 0,
1725
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1726
- );
1727
-
1728
- $t_selectors[" .uagb-social-share__wrap"] = array (
1729
- "flex-direction" => "column"
1730
- );
1731
-
1732
- $t_selectors[" .uagb-ss__wrapper:last-child"] = array (
1733
- "margin-bottom" => 0
1734
- );
1735
-
1736
- } else if ( "mobile" == $attr['stack'] ) {
1737
-
1738
- $m_selectors[" .uagb-ss__wrapper"] = array (
1739
- "margin-left" => 0,
1740
- "margin-right" => 0,
1741
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1742
- );
1743
-
1744
- $m_selectors[" .uagb-social-share__wrap"] = array (
1745
- "flex-direction" => "column"
1746
- );
1747
-
1748
- $m_selectors[" .uagb-ss__wrapper:last-child"] = array (
1749
- "margin-bottom" => 0
1750
- );
1751
- }
1752
- }
1753
-
1754
- // @codingStandardsIgnoreEnd
1755
-
1756
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-social-share-' . $id );
1757
-
1758
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-social-share-' . $id );
1759
-
1760
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-social-share-' . $id );
1761
-
1762
- $generated_css = array(
1763
- 'desktop' => $desktop,
1764
- 'tablet' => $tablet,
1765
- 'mobile' => $mobile,
1766
- );
1767
-
1768
- return $generated_css;
1769
- }
1770
-
1771
- /**
1772
- * Get Icon List Block CSS
1773
- *
1774
- * @since 0.0.1
1775
- * @param array $attr The block attributes.
1776
- * @param string $id The selector ID.
1777
- * @return array The Widget List.
1778
- */
1779
- public static function get_icon_list_css( $attr, $id ) { // @codingStandardsIgnoreStart
1780
-
1781
- $defaults = UAGB_Helper::$block_list['uagb/icon-list']['attributes'];
1782
-
1783
- $attr = array_merge( $defaults, (array) $attr );
1784
-
1785
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
1786
-
1787
- $m_selectors = array();
1788
- $t_selectors = array();
1789
-
1790
- $selectors = array(
1791
- ".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper" => array(
1792
- "margin-left" => 0,
1793
- "margin-right" => 0,
1794
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1795
- ),
1796
- ".uagb-icon-list__layout-vertical .uagb-icon-list__wrap" => array(
1797
- "flex-direction" => "column"
1798
- ),
1799
- ".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper:last-child" => array(
1800
- "margin-bottom" => 0
1801
- ),
1802
- ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper" => array(
1803
- "margin-left" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
1804
- "margin-right" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
1805
- ),
1806
- ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:first-child" => array(
1807
- "margin-left" => 0
1808
- ),
1809
- ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:last-child" => array(
1810
- "margin-right" => 0
1811
- ),
1812
- // Desktop Icon Size CSS starts.
1813
- " .uagb-icon-list__source-image" => array(
1814
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1815
- ),
1816
- " .uagb-icon-list__source-icon" => array(
1817
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1818
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1819
- "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1820
- ),
1821
- " .uagb-icon-list__source-icon svg" => array(
1822
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1823
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1824
- ),
1825
- " .uagb-icon-list__source-icon:before"=> array(
1826
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1827
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1828
- "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1829
- ),
1830
- " .uagb-icon-list__label-wrap"=> array(
1831
- "text-align" => $attr['align']
1832
- ),
1833
-
1834
- " .uagb-icon-list__source-wrap"=> array(
1835
- "padding" => UAGB_Helper::get_css_value( $attr['bgSize'], 'px' ),
1836
- "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
1837
- "border-style" => "solid",
1838
- "border-width" => UAGB_Helper::get_css_value( $attr['border'], 'px' )
1839
- ),
1840
- " .uagb-icon-list__wrap"=> array(
1841
- "justify-content" => $alignment,
1842
- "-webkit-box-pack" => $alignment,
1843
- "-ms-flex-pack" => $alignment,
1844
- "justify-content" => $alignment,
1845
- "-webkit-box-align" => $alignment,
1846
- "-ms-flex-align" => $alignment,
1847
- "align-items" => $alignment,
1848
- )
1849
- );
1850
-
1851
- if ( 'right' == $attr['align'] ) {
1852
- $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
1853
- "margin-left" => UAGB_Helper::get_css_value( $attr['inner_gap'], 'px' )
1854
- );
1855
- $selectors[" .uagb-icon-list__content-wrap"] = array(
1856
- "flex-direction" => "row-reverse"
1857
- );
1858
- } else {
1859
- $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
1860
- "margin-right" => UAGB_Helper::get_css_value( $attr['inner_gap'], 'px' )
1861
- );
1862
- }
1863
- // Desktop Icon Size CSS ends.
1864
-
1865
- // Mobile Icon Size CSS starts.
1866
- $m_selectors = array(
1867
- " .uagb-icon-list__source-image" => array(
1868
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1869
- ),
1870
- " .uagb-icon-list__source-icon" => array(
1871
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1872
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1873
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1874
- ),
1875
- " .uagb-icon-list__source-icon svg" => array(
1876
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1877
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1878
- ),
1879
- " .uagb-icon-list__source-icon:before" => array(
1880
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1881
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1882
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1883
- ),
1884
- );
1885
- // Mobile Icon Size CSS ends.
1886
-
1887
- // Tablet Icon Size CSS starts.
1888
- $t_selectors = array(
1889
- " .uagb-icon-list__source-image" => array(
1890
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1891
- ),
1892
- " .uagb-icon-list__source-icon" => array(
1893
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1894
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1895
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1896
- ),
1897
- " .uagb-icon-list__source-icon svg" => array(
1898
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1899
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1900
- ),
1901
- " .uagb-icon-list__source-icon:before" => array(
1902
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1903
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1904
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1905
- ),
1906
- );
1907
- // Tablet Icon Size CSS ends.
1908
-
1909
- foreach ( $attr['icons'] as $key => $icon ) {
1910
-
1911
- $icon['icon_color'] = ( isset( $icon['icon_color'] ) ) ? $icon['icon_color'] : '';
1912
- $icon['icon_hover_color'] = ( isset( $icon['icon_hover_color'] ) ) ? $icon['icon_hover_color'] : '';
1913
- $icon['icon_bg_color'] = ( isset( $icon['icon_bg_color'] ) ) ? $icon['icon_bg_color'] : '';
1914
- $icon['icon_bg_hover_color'] = ( isset( $icon['icon_bg_hover_color'] ) ) ? $icon['icon_bg_hover_color'] : '';
1915
- $icon['icon_border_color'] = ( isset( $icon['icon_border_color'] ) ) ? $icon['icon_border_color'] : '';
1916
- $icon['icon_border_hover_color'] = ( isset( $icon['icon_border_hover_color'] ) ) ? $icon['icon_border_hover_color'] : '';
1917
- $icon['label_color'] = ( isset( $icon['label_color'] ) ) ? $icon['label_color'] : '';
1918
- $icon['label_hover_color'] = ( isset( $icon['label_hover_color'] ) ) ? $icon['label_hover_color'] : '';
1919
-
1920
- if ( $attr['icon_count'] <= $key ) {
1921
- break;
1922
- }
1923
-
1924
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon"] = array (
1925
- "color" => $icon['icon_color']
1926
- );
1927
-
1928
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon svg"] = array (
1929
- "fill" => $icon['icon_color']
1930
- );
1931
-
1932
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon"] = array (
1933
- "color" => $icon['icon_hover_color']
1934
- );
1935
-
1936
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon svg"] = array (
1937
- "fill" => $icon['icon_hover_color']
1938
- );
1939
-
1940
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
1941
- "color" => $icon['label_color'],
1942
- "font-size" => UAGB_Helper::get_css_value( $attr['fontSize'], $attr['fontSizeType'] ),
1943
- 'font-family' => $attr['fontFamily'],
1944
- 'font-weight' => $attr['fontWeight'],
1945
- 'line-height' => $attr['lineHeight'] . $attr['lineHeightType'],
1946
- );
1947
-
1948
- $m_selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
1949
- "font-size" => UAGB_Helper::get_css_value( $attr['fontSizeMobile'], $attr['fontSizeType'] ),
1950
- 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightMobile'], $attr['lineHeightType'] ),
1951
- );
1952
-
1953
- $t_selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
1954
- "font-size" => UAGB_Helper::get_css_value( $attr['fontSizeTablet'], $attr['fontSizeType'] ),
1955
- 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightTablet'], $attr['lineHeightType'] ),
1956
- );
1957
-
1958
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__label"] = array (
1959
- "color" => $icon['label_hover_color']
1960
- );
1961
-
1962
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-wrap"] = array(
1963
- "background" => $icon['icon_bg_color'],
1964
- "border-color" => $icon['icon_border_color'],
1965
- );
1966
-
1967
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-wrap"] = array(
1968
- "background" => $icon['icon_bg_hover_color'],
1969
- "border-color" => $icon['icon_border_hover_color']
1970
- );
1971
- }
1972
-
1973
- if ( 'horizontal' == $attr['icon_layout'] ) {
1974
-
1975
- if ( "tablet" == $attr['stack'] ) {
1976
-
1977
- $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
1978
- "margin-left" => 0,
1979
- "margin-right" => 0,
1980
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1981
- );
1982
-
1983
- $t_selectors[" .uagb-icon-list__wrap"] = array (
1984
- "flex-direction" => "column"
1985
- );
1986
-
1987
- $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
1988
- "margin-bottom" => 0
1989
- );
1990
-
1991
- } else if ( "mobile" == $attr['stack'] ) {
1992
-
1993
- $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
1994
- "margin-left" => 0,
1995
- "margin-right" => 0,
1996
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1997
- );
1998
-
1999
- $m_selectors[" .uagb-icon-list__wrap"] = array (
2000
- "flex-direction" => "column"
2001
- );
2002
-
2003
- $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
2004
- "margin-bottom" => 0
2005
- );
2006
- }
2007
- }
2008
-
2009
- // @codingStandardsIgnoreEnd
2010
-
2011
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-icon-list-' . $id );
2012
-
2013
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-icon-list-' . $id );
2014
-
2015
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-icon-list-' . $id );
2016
-
2017
- $generated_css = array(
2018
- 'desktop' => $desktop,
2019
- 'tablet' => $tablet,
2020
- 'mobile' => $mobile,
2021
- );
2022
-
2023
- return $generated_css;
2024
- }
2025
-
2026
- /**
2027
- * Get Content Timeline Block CSS
2028
- *
2029
- * @since 0.0.1
2030
- * @param array $attr The block attributes.
2031
- * @param string $id The selector ID.
2032
- * @return array The Widget List.
2033
- */
2034
- public static function get_content_timeline_css( $attr, $id ) { // @codingStandardsIgnoreStart
2035
-
2036
- $defaults = UAGB_Helper::$block_list['uagb/content-timeline']['attributes'];
2037
-
2038
- $attr = array_merge( $defaults, (array) $attr );
2039
-
2040
- $selectors = array();
2041
- $t_selectors = array();
2042
- $m_selectors = array();
2043
-
2044
- $selectors = array(
2045
- " .uagb-timeline__heading" => array(
2046
- "text-align" => $attr['align'],
2047
- "color" => $attr['headingColor'],
2048
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2049
- 'font-family' => $attr['headFontFamily'],
2050
- 'font-weight' => $attr['headFontWeight'],
2051
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2052
- ),
2053
- " .uagb-timeline__heading-text" => array(
2054
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
2055
- ),
2056
- ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
2057
- 'color'=> $attr['iconFocus'],
2058
- ),
2059
- );
2060
-
2061
- $desktop_selectors = self::get_timeline_selectors( $attr );
2062
- $selectors = array_merge( $selectors, $desktop_selectors );
2063
-
2064
- $t_selectors = array(
2065
- " .uagb-timeline__date-hide.uagb-timeline__date-inner" => array(
2066
- "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2067
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2068
- ),
2069
- " .uagb-timeline__date-new" => array(
2070
- "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2071
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2072
- ),
2073
- " .uagb-timeline__heading" => array(
2074
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2075
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2076
- ),
2077
- " .uagb-timeline-desc-content" => array(
2078
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
2079
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
2080
- ),
2081
- );
2082
-
2083
- $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2084
- $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2085
-
2086
- $m_selectors = array(
2087
- " .uagb-timeline__date-hide.uagb-timeline__date-inner" => array(
2088
- "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2089
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
2090
- ),
2091
- " .uagb-timeline__date-new" => array(
2092
- "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2093
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
2094
- ),
2095
- " .uagb-timeline__heading" => array(
2096
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2097
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2098
- ),
2099
- " .uagb-timeline-desc-content" => array(
2100
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
2101
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
2102
- ),
2103
- );
2104
-
2105
- $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2106
-
2107
- $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2108
-
2109
- // @codingStandardsIgnoreEnd
2110
-
2111
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
2112
-
2113
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-ctm-' . $id );
2114
-
2115
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-ctm-' . $id );
2116
-
2117
- $generated_css = array(
2118
- 'desktop' => $desktop,
2119
- 'tablet' => $tablet,
2120
- 'mobile' => $mobile,
2121
- );
2122
-
2123
- return $generated_css;
2124
- }
2125
-
2126
- /**
2127
- * Get Content Timeline Block CSS
2128
- *
2129
- * @since 0.0.1
2130
- * @param array $attr The block attributes.
2131
- * @param string $id The selector ID.
2132
- * @return array The Widget List.
2133
- */
2134
- public static function get_post_timeline_css( $attr, $id ) { // @codingStandardsIgnoreStart
2135
-
2136
- $defaults = UAGB_Helper::$block_list['uagb/post-timeline']['attributes'];
2137
-
2138
- $attr = array_merge( $defaults, (array) $attr );
2139
- $t_selectors = array();
2140
-
2141
- $selectors = array(
2142
- " .uagb-timeline__heading" => array(
2143
- "text-align" => $attr['align'],
2144
- ),
2145
- " .uagb-timeline__author" => array(
2146
- "text-align" => $attr['align'],
2147
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['authorSpace'], 'px' )
2148
- ),
2149
- " .uagb-timeline__link_parent" => array(
2150
- "text-align" => $attr['align'],
2151
- ),
2152
- " .uagb-timeline__image a" => array(
2153
- "text-align" => $attr['align'],
2154
- ),
2155
- " .uagb-timeline__author-link" => array(
2156
- "color" => $attr['authorColor'],
2157
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2158
- 'font-family' => $attr['authorFontFamily'],
2159
- 'font-weight' => $attr['authorFontWeight'],
2160
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2161
- ),
2162
- " .dashicons-admin-users" => array(
2163
- "color" => $attr['authorColor'],
2164
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2165
- 'font-weight' => $attr['authorFontWeight'],
2166
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2167
- ),
2168
- " .uagb-timeline__link" => array(
2169
- "color" => $attr['ctaColor'],
2170
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2171
- 'font-family' => $attr['ctaFontFamily'],
2172
- 'font-weight' => $attr['ctaFontWeight'],
2173
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2174
- "background-color" => $attr['ctaBackground'],
2175
- ),
2176
- " .uagb-timeline__heading a" => array(
2177
- "text-align" => $attr['align'],
2178
- "color" => $attr['headingColor'],
2179
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2180
- 'font-family' => $attr['headFontFamily'],
2181
- 'font-weight' => $attr['headFontWeight'],
2182
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2183
- ),
2184
- " .uagb-timeline__heading-text" => array(
2185
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
2186
- ),
2187
- " .uagb_timeline__cta-enable .uagb-timeline-desc-content" => array(
2188
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['contentSpace'], 'px' ),
2189
- ),
2190
- ' .uagb-content' => array(
2191
- 'padding'=> UAGB_Helper::get_css_value( $attr['contentPadding'], 'px' ),
2192
- ),
2193
- );
2194
-
2195
-
2196
-
2197
- $desktop_selectors = self::get_timeline_selectors( $attr );
2198
- $selectors = array_merge( $selectors, $desktop_selectors );
2199
-
2200
- $t_selectors = array(
2201
- " .uagb-timeline__author-link" => array(
2202
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2203
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2204
- ),
2205
- " .dashicons-admin-users" => array(
2206
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2207
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2208
- ),
2209
- " .uagb-timeline__link" => array(
2210
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2211
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2212
- ),
2213
- " .uagb-timeline__heading a" => array(
2214
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2215
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2216
- ),
2217
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author" => array(
2218
- "text-align" => 'left',
2219
- ),
2220
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent" => array(
2221
- "text-align" => 'left',
2222
- ),
2223
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__image a" => array(
2224
- 'text-align' => 'left',
2225
- ),
2226
- );
2227
-
2228
- $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2229
- $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2230
-
2231
- // Mobile responsive CSS.
2232
- $m_selectors = array(
2233
- " .uagb-timeline__author-link" => array(
2234
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
2235
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
2236
- ),
2237
- " .dashicons-admin-users" => array(
2238
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
2239
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
2240
- ),
2241
- " .uagb-timeline__link" => array(
2242
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2243
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2244
- ),
2245
- " .uagb-timeline__heading a" => array(
2246
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2247
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2248
- ),
2249
- " .uagb-timeline__heading" => array(
2250
- "text-align" => $attr['align'],
2251
- ),
2252
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author" => array(
2253
- "text-align" => 'left',
2254
- ),
2255
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent" => array(
2256
- "text-align" => 'left',
2257
- ),
2258
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__image a" => array(
2259
- 'text-align' => 'left',
2260
- ),
2261
- );
2262
-
2263
- $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2264
- $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2265
-
2266
- // @codingStandardsIgnoreEnd
2267
-
2268
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
2269
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-ctm-' . $id );
2270
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-ctm-' . $id );
2271
-
2272
- $generated_css = array(
2273
- 'desktop' => $desktop,
2274
- 'tablet' => $tablet,
2275
- 'mobile' => $mobile,
2276
- );
2277
-
2278
- return $generated_css;
2279
- }
2280
-
2281
- /**
2282
- * Get Restaurant Menu Block CSS
2283
- *
2284
- * @since 1.0.2
2285
- * @param array $attr The block attributes.
2286
- * @param string $id The selector ID.
2287
- * @return array The Widget List.
2288
- */
2289
- public static function get_restaurant_menu_css( $attr, $id ) { // @codingStandardsIgnoreStart
2290
-
2291
- $defaults = UAGB_Helper::$block_list['uagb/restaurant-menu']['attributes'];
2292
-
2293
- $attr = array_merge( $defaults, (array) $attr );
2294
-
2295
- $m_selectors = array();
2296
- $t_selectors = array();
2297
-
2298
- $align = $attr['headingAlign'];
2299
- if( 'left' === $align ){
2300
- $align = 'flex-start';
2301
- }else if( 'right' === $align ){
2302
- $align = 'flex-end';
2303
- }
2304
-
2305
- $selectors = array(
2306
- " .uagb-rest_menu__wrap" => array(
2307
- 'padding-left' => UAGB_Helper::get_css_value( ( $attr['columnGap']/2 ), 'px' ),
2308
- 'padding-right' => UAGB_Helper::get_css_value( ( $attr['columnGap']/2 ), 'px' ),
2309
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' )
2310
- ),
2311
- " .uagb-rest_menu__wrap .uagb-rm__image-content" => array(
2312
- 'padding-left' => UAGB_Helper::get_css_value( $attr['imgHrPadding'],'px' ),
2313
- 'padding-right' => UAGB_Helper::get_css_value( $attr['imgHrPadding'],'px' ),
2314
- 'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'],'px' ),
2315
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'],'px' ),
2316
- ),
2317
- " .uagb-rm__image img" => array(
2318
- 'width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
2319
- 'max-width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
2320
- ),
2321
- " .uagb-rm__separator-parent" => array(
2322
- 'justify-content' => $align,
2323
- ),
2324
- " .uagb-rm__content" => array(
2325
- 'text-align' => $attr['headingAlign'] ,
2326
- 'padding-left' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
2327
- 'padding-right' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
2328
- 'padding-top' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
2329
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
2330
- ),
2331
- " .uagb-rm__title" => array(
2332
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2333
- 'color' => $attr['titleColor'] ,
2334
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
2335
- 'font-family' => $attr['titleFontFamily'],
2336
- 'font-weight' => $attr['titleFontWeight'],
2337
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2338
- ),
2339
- " .uagb-rm__price" => array(
2340
- 'font-size' => UAGB_Helper::get_css_value( $attr['priceFontSize'], $attr['priceFontSizeType'] ),
2341
- 'font-family' => $attr['priceFontFamily'],
2342
- 'font-weight' => $attr['priceFontWeight'],
2343
- 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeight'], $attr['priceLineHeightType'] ),
2344
- 'color' => $attr['priceColor'],
2345
- ),
2346
- " .uagb-rm__desc" => array(
2347
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
2348
- 'font-family' => $attr['descFontFamily'],
2349
- 'font-weight' => $attr['descFontWeight'],
2350
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
2351
- 'color'=> $attr['descColor'],
2352
- 'margin-bottom'=> UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
2353
- ),
2354
- );
2355
-
2356
- if ( $attr["seperatorStyle"] != "none" ) {
2357
- $selectors[" .uagb-rest_menu__wrap .uagb-rm__separator"] = array(
2358
- 'border-top-color'=> $attr['seperatorColor'],
2359
- 'border-top-style'=> $attr['seperatorStyle'],
2360
- 'border-top-width'=> UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
2361
- 'width'=> UAGB_Helper::get_css_value( $attr['seperatorWidth'], '%' ),
2362
- );
2363
- }
2364
-
2365
- $selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)'] = array(
2366
- 'margin-left'=> '0',
2367
- 'clear'=> 'left',
2368
- );
2369
-
2370
- $t_selectors = array(
2371
- ' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)' => array(
2372
- 'margin-left'=> 'unset',
2373
- 'clear'=> 'unset',
2374
- ),
2375
- ' .uagb-rest_menu__wrap.uagb-rm__tablet-column-'.$attr['tcolumns'].':nth-child('.$attr['tcolumns'].'n+1)' => array(
2376
- 'margin-left'=> '0',
2377
- 'clear'=> 'left',
2378
- ),
2379
- " .uagb-rm__title" => array(
2380
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2381
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2382
- ),
2383
- " .uagb-rm__desc" => array(
2384
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
2385
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
2386
- ),
2387
- " .uagb-rm__price" => array(
2388
- "font-size" => UAGB_Helper::get_css_value( $attr['priceFontSizeTablet'], $attr['priceFontSizeType'] ),
2389
- 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeightTablet'], $attr['priceLineHeightType'] ),
2390
- )
2391
- );
2392
-
2393
- $m_selectors = array(
2394
- ' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)' => array(
2395
- 'margin-left'=> 'unset',
2396
- 'clear'=> 'unset',
2397
- ),
2398
- ' .uagb-rest_menu__wrap.uagb-rm__mobile-column-'.$attr['mcolumns'].':nth-child('.$attr['mcolumns'].'n+1)' => array(
2399
- 'margin-left'=> '0',
2400
- 'clear'=> 'left',
2401
- ),
2402
- " .uagb-rm__title" => array(
2403
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2404
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2405
- ),
2406
- " .uagb-rm__desc" => array(
2407
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
2408
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
2409
- ),
2410
- " .uagb-rm__price" => array(
2411
- "font-size" => UAGB_Helper::get_css_value( $attr['priceFontSizeMobile'], $attr['priceFontSizeType'] ),
2412
- 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeightMobile'], $attr['priceLineHeightType'] ),
2413
- )
2414
- );
2415
-
2416
- // @codingStandardsIgnoreEnd
2417
-
2418
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-rm-' . $id );
2419
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-rm-' . $id );
2420
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-rm-' . $id );
2421
-
2422
- $generated_css = array(
2423
- 'desktop' => $desktop,
2424
- 'tablet' => $tablet,
2425
- 'mobile' => $mobile,
2426
- );
2427
-
2428
- return $generated_css;
2429
- }
2430
-
2431
- /**
2432
- * Get Post Grid Block CSS
2433
- *
2434
- * @since 1.4.0
2435
- * @param array $attr The block attributes.
2436
- * @param string $id The selector ID.
2437
- * @return array The Widget List.
2438
- */
2439
- public static function get_post_grid_css( $attr, $id ) { // @codingStandardsIgnoreStart
2440
-
2441
- $defaults = UAGB_Helper::$block_list['uagb/post-grid']['attributes'];
2442
-
2443
- $attr = array_merge( $defaults, (array) $attr );
2444
-
2445
- $selectors = self::get_post_selectors( $attr );
2446
-
2447
- $m_selectors = self::get_post_mobile_selectors( $attr );
2448
-
2449
- $t_selectors = self::get_post_tablet_selectors( $attr );
2450
-
2451
- // @codingStandardsIgnoreEnd
2452
-
2453
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__grid-' . $id );
2454
-
2455
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__grid-' . $id );
2456
-
2457
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__grid-' . $id );
2458
-
2459
- $generated_css = array(
2460
- 'desktop' => $desktop,
2461
- 'tablet' => $tablet,
2462
- 'mobile' => $mobile,
2463
- );
2464
-
2465
- return $generated_css;
2466
- }
2467
-
2468
- /**
2469
- * Get Post Carousel Block CSS
2470
- *
2471
- * @since 1.4.0
2472
- * @param array $attr The block attributes.
2473
- * @param string $id The selector ID.
2474
- * @return array The Widget List.
2475
- */
2476
- public static function get_post_carousel_css( $attr, $id ) { // @codingStandardsIgnoreStart
2477
-
2478
- $defaults = UAGB_Helper::$block_list['uagb/post-carousel']['attributes'];
2479
-
2480
- $attr = array_merge( $defaults, (array) $attr );
2481
-
2482
- $selectors = self::get_post_selectors( $attr );
2483
-
2484
- $m_selectors = self::get_post_mobile_selectors( $attr );
2485
-
2486
- $t_selectors = self::get_post_tablet_selectors( $attr );
2487
-
2488
- $selectors[" .slick-arrow"] = array(
2489
- "border-color" => $attr['arrowColor']
2490
- );
2491
-
2492
- $selectors[" .slick-arrow span"] = array(
2493
- "color" => $attr['arrowColor'],
2494
- "font-size" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2495
- "width" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2496
- "height" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' )
2497
- );
2498
-
2499
- $selectors[" .slick-arrow svg"] = array(
2500
- "fill" => $attr['arrowColor'],
2501
- "width" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2502
- "height" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' )
2503
- );
2504
-
2505
- $selectors[" .slick-arrow"] = array(
2506
- "border-color" => $attr['arrowColor'],
2507
- "border-width" => UAGB_Helper::get_css_value( $attr['arrowBorderSize'], 'px' ),
2508
- "border-radius" => UAGB_Helper::get_css_value( $attr['arrowBorderRadius'], 'px' )
2509
- );
2510
-
2511
- $selectors[".uagb-post-grid ul.slick-dots li.slick-active button:before"] = array(
2512
- "color" => $attr['arrowColor']
2513
- );
2514
-
2515
- $selectors[".uagb-slick-carousel ul.slick-dots li button:before"] = array(
2516
- "color" => $attr['arrowColor']
2517
- );
2518
-
2519
- if ( isset( $attr['arrowDots'] ) && 'dots' == $attr['arrowDots'] ) {
2520
-
2521
- $selectors[".uagb-slick-carousel"] = array(
2522
- "padding" => "0 0 35px 0"
2523
- );
2524
- }
2525
-
2526
- // @codingStandardsIgnoreEnd
2527
-
2528
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__carousel-' . $id );
2529
-
2530
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__carousel-' . $id );
2531
-
2532
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__carousel-' . $id );
2533
-
2534
- $generated_css = array(
2535
- 'desktop' => $desktop,
2536
- 'tablet' => $tablet,
2537
- 'mobile' => $mobile,
2538
- );
2539
-
2540
- return $generated_css;
2541
- }
2542
-
2543
- /**
2544
- * Get Post Masonry Block CSS
2545
- *
2546
- * @since 1.4.0
2547
- * @param array $attr The block attributes.
2548
- * @param string $id The selector ID.
2549
- * @return array The Widget List.
2550
- */
2551
- public static function get_post_masonry_css( $attr, $id ) { // @codingStandardsIgnoreStart
2552
-
2553
- $defaults = UAGB_Helper::$block_list['uagb/post-masonry']['attributes'];
2554
-
2555
- $attr = array_merge( $defaults, (array) $attr );
2556
-
2557
- $selectors = self::get_post_selectors( $attr );
2558
-
2559
- $m_selectors = self::get_post_mobile_selectors( $attr );
2560
-
2561
- $t_selectors = self::get_post_tablet_selectors( $attr );
2562
-
2563
- // @codingStandardsIgnoreEnd
2564
-
2565
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__masonry-' . $id );
2566
-
2567
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__masonry-' . $id );
2568
-
2569
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__masonry-' . $id );
2570
-
2571
- $generated_css = array(
2572
- 'desktop' => $desktop,
2573
- 'tablet' => $tablet,
2574
- 'mobile' => $mobile,
2575
- );
2576
-
2577
- return $generated_css;
2578
- }
2579
-
2580
- /**
2581
- * Get Post Block Selectors CSS
2582
- *
2583
- * @param array $attr The block attributes.
2584
- * @since 1.4.0
2585
- */
2586
- public static function get_post_selectors( $attr ) { // @codingStandardsIgnoreStart
2587
- return array(
2588
- " .uagb-post__items" => array(
2589
- "margin-right" => UAGB_Helper::get_css_value( ( -$attr['rowGap']/2 ), 'px' ),
2590
- "margin-left" => UAGB_Helper::get_css_value( ( -$attr['rowGap']/2 ), 'px' ),
2591
- ),
2592
- " .uagb-post__items article" => array(
2593
- "padding-right" => UAGB_Helper::get_css_value( ( $attr['rowGap']/2 ), 'px' ),
2594
- "padding-left" => UAGB_Helper::get_css_value( ( $attr['rowGap']/2 ), 'px' ),
2595
- "margin-bottom" => UAGB_Helper::get_css_value( ( $attr['columnGap'] ), 'px' )
2596
- ),
2597
- " .uagb-post__inner-wrap" => array(
2598
- "background" => $attr['bgColor']
2599
- ),
2600
- " .uagb-post__text" => array(
2601
- "padding" => UAGB_Helper::get_css_value( ( $attr['contentPadding'] ), 'px' ),
2602
- "text-align" => $attr['align']
2603
- ),
2604
- " .uagb-post__text .uagb-post__title" => array(
2605
- "color"=> $attr['titleColor'],
2606
- "font-size"=> UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2607
- 'font-family' => $attr['titleFontFamily'],
2608
- 'font-weight' => $attr['titleFontWeight'],
2609
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2610
- "margin-bottom"=> UAGB_Helper::get_css_value( $attr['titleBottomSpace'], 'px' )
2611
- ),
2612
- " .uagb-post__text .uagb-post__title a" => array(
2613
- "color" => $attr['titleColor'],
2614
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2615
- 'font-family' => $attr['titleFontFamily'],
2616
- 'font-weight' => $attr['titleFontWeight'],
2617
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2618
- ),
2619
- " .uagb-post__text .uagb-post-grid-byline" => array(
2620
- "color"=> $attr['metaColor'],
2621
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2622
- 'font-family' => $attr['metaFontFamily'],
2623
- 'font-weight' => $attr['metaFontWeight'],
2624
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2625
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['metaBottomSpace'], 'px' )
2626
- ),
2627
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2628
- "color" => $attr['metaColor'],
2629
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2630
- 'font-family' => $attr['metaFontFamily'],
2631
- 'font-weight' => $attr['metaFontWeight'],
2632
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2633
- ),
2634
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2635
- "color" => $attr['metaColor'],
2636
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2637
- 'font-family' => $attr['metaFontFamily'],
2638
- 'font-weight' => $attr['metaFontWeight'],
2639
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2640
- ),
2641
- " .uagb-post__text .uagb-post__excerpt" => array(
2642
- "color" => $attr['excerptColor'],
2643
- "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSize'], $attr['excerptFontSizeType'] ),
2644
- 'font-family' => $attr['excerptFontFamily'],
2645
- 'font-weight' => $attr['excerptFontWeight'],
2646
- 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeight'], $attr['excerptLineHeightType'] ),
2647
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['excerptBottomSpace'], 'px' )
2648
- ),
2649
- " .uagb-post__text .uagb-post__cta" => array(
2650
- "color" => $attr['ctaColor'],
2651
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2652
- 'font-family' => $attr['ctaFontFamily'],
2653
- 'font-weight' => $attr['ctaFontWeight'],
2654
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2655
- "background" => $attr['ctaBgColor'],
2656
- "border-color" => $attr['borderColor'],
2657
- "border-width" => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
2658
- "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
2659
- "border-style" => $attr['borderStyle'],
2660
- ),
2661
- " .uagb-post__text .uagb-post__cta:hover" => array(
2662
- "border-color"=> $attr['borderHColor']
2663
- ),
2664
- " .uagb-post__text .uagb-post__cta a" => array(
2665
- "color"=> $attr['ctaColor'],
2666
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2667
- 'font-family' => $attr['ctaFontFamily'],
2668
- 'font-weight' => $attr['ctaFontWeight'],
2669
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2670
- "padding" => ( $attr['btnVPadding'] ) . "px " . ( $attr['btnHPadding'] ) . "px",
2671
- ),
2672
- " .uagb-post__text .uagb-post__cta:hover" => array(
2673
- "color"=> $attr['ctaHColor'],
2674
- "background"=> $attr['ctaBgHColor']
2675
- ),
2676
- " .uagb-post__text .uagb-post__cta:hover a" => array(
2677
- "color"=> $attr['ctaHColor']
2678
- ),
2679
- " .uagb-post__image:before" => array(
2680
- "background-color" => $attr['bgOverlayColor'],
2681
- "opacity" => ( $attr['overlayOpacity'] / 100 )
2682
- ),
2683
- );
2684
- // @codingStandardsIgnoreEnd
2685
- }
2686
-
2687
- /**
2688
- * Get Post Block Selectors CSS for Mobile devices
2689
- *
2690
- * @param array $attr The block attributes.
2691
- * @since 1.6.1
2692
- */
2693
- public static function get_post_mobile_selectors( $attr ) { // @codingStandardsIgnoreStart
2694
-
2695
- return array(
2696
- " .uagb-post__text .uagb-post__title" => array(
2697
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2698
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2699
- ),
2700
- " .uagb-post__text .uagb-post__title a" => array(
2701
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2702
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2703
- ),
2704
- " .uagb-post__text .uagb-post-grid-byline" => array(
2705
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2706
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2707
- ),
2708
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2709
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2710
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2711
- ),
2712
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2713
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2714
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2715
- ),
2716
- " .uagb-post__text .uagb-post__excerpt" => array(
2717
- "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSizeMobile'], $attr['excerptFontSizeType'] ),
2718
- 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeightMobile'], $attr['excerptLineHeightType'] ),
2719
- ),
2720
- " .uagb-post__text .uagb-post__cta" => array(
2721
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2722
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2723
- ),
2724
- " .uagb-post__text .uagb-post__cta a" => array(
2725
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2726
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2727
- ),
2728
- " .uagb-post__text" => array(
2729
- "padding" => ( $attr['contentPaddingMobile'] ) . "px",
2730
- ),
2731
- );
2732
- // @codingStandardsIgnoreEnd
2733
- }
2734
-
2735
- /**
2736
- * Get Post Block Selectors CSS for Tablet devices
2737
- *
2738
- * @param array $attr The block attributes.
2739
- * @since 1.8.2
2740
- */
2741
- public static function get_post_tablet_selectors( $attr ) { // @codingStandardsIgnoreStart
2742
- return array(
2743
- " .uagb-post__text .uagb-post__title" => array(
2744
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2745
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2746
- ),
2747
- " .uagb-post__text .uagb-post__title a" => array(
2748
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2749
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2750
- ),
2751
- " .uagb-post__text .uagb-post-grid-byline" => array(
2752
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2753
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2754
- ),
2755
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2756
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2757
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2758
- ),
2759
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2760
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2761
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2762
- ),
2763
- " .uagb-post__text .uagb-post__excerpt" => array(
2764
- "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSizeTablet'], $attr['excerptFontSizeType'] ),
2765
- 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeightTablet'], $attr['excerptLineHeightType'] ),
2766
- ),
2767
- " .uagb-post__text .uagb-post__cta" => array(
2768
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2769
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2770
- ),
2771
- " .uagb-post__text .uagb-post__cta a" => array(
2772
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2773
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2774
- ),
2775
- );
2776
- // @codingStandardsIgnoreEnd
2777
- }
2778
-
2779
- /**
2780
- * Get Blockquote CSS
2781
- *
2782
- * @since 1.8.2
2783
- * @param array $attr The block attributes.
2784
- * @param string $id The selector ID.
2785
- * @return array The Widget List.
2786
- */
2787
- public static function get_blockquote_css( $attr, $id ) {
2788
- // @codingStandardsIgnoreStart
2789
-
2790
- $defaults = UAGB_Helper::$block_list['uagb/blockquote']['attributes'];
2791
-
2792
- $attr = array_merge( $defaults, (array) $attr );
2793
-
2794
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
2795
-
2796
- $content_align ="center";
2797
-
2798
- if( 'left' === $attr['align'] ){
2799
- $content_align =" flex-start";
2800
- }
2801
- if( 'right' === $attr['align'] ){
2802
- $content_align =" flex-end";
2803
- }
2804
-
2805
- $author_space = $attr['authorSpace'];
2806
-
2807
- if( 'center' !== $attr['align'] || $attr['skinStyle'] == "border" ){
2808
- $author_space = 0;
2809
- }
2810
-
2811
- //Set align to left for border style.
2812
- $text_align = $attr['align'];
2813
-
2814
- if( 'border' === $attr['skinStyle'] ){
2815
- $text_align = 'left';
2816
- }
2817
-
2818
- $selectors = array(
2819
- " .uagb-blockquote__content" => array(
2820
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
2821
- 'font-family' => $attr['descFontFamily'],
2822
- 'font-weight' => $attr['descFontWeight'],
2823
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
2824
- "color" => $attr['descColor'],
2825
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
2826
- "text-align" => $text_align,
2827
- ),
2828
- " cite.uagb-blockquote__author" => array(
2829
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2830
- 'font-family' => $attr['authorFontFamily'],
2831
- 'font-weight' => $attr['authorFontWeight'],
2832
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2833
- "color" => $attr['authorColor'],
2834
- "text-align" => $text_align,
2835
- ),
2836
- " .uagb-blockquote__skin-border blockquote.uagb-blockquote" => array(
2837
- "border-color" => $attr['borderColor'],
2838
- "border-left-style" => $attr['borderStyle'],
2839
- "border-left-width" => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
2840
- "padding-left" => UAGB_Helper::get_css_value( $attr['borderGap'], 'px' ),
2841
- "padding-top" => UAGB_Helper::get_css_value( $attr['verticalPadding'], 'px' ),
2842
- "padding-bottom" => UAGB_Helper::get_css_value( $attr['verticalPadding'], 'px' ),
2843
- ),
2844
-
2845
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
2846
- "background" => $attr['quoteBgColor'],
2847
- "border-radius" => UAGB_Helper::get_css_value( $attr['quoteBorderRadius'],'%' ),
2848
- "margin-top" => UAGB_Helper::get_css_value( $attr['quoteTopMargin'], 'px' ),
2849
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['quoteBottomMargin'], 'px' ),
2850
- "margin-left" => UAGB_Helper::get_css_value( $attr['quoteLeftMargin'], 'px' ),
2851
- "margin-right" => UAGB_Helper::get_css_value( $attr['quoteRightMargin'], 'px' ),
2852
- "padding" => UAGB_Helper::get_css_value( $attr['quotePadding'], $attr['quotePaddingType'] ),
2853
- ),
2854
-
2855
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
2856
- "width" => UAGB_Helper::get_css_value( $attr['quoteSize'], $attr['quoteSizeType'] ),
2857
- "height" => UAGB_Helper::get_css_value( $attr['quoteSize'], $attr['quoteSizeType'] ),
2858
- ),
2859
-
2860
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon svg" => array(
2861
- "fill" => $attr['quoteColor'],
2862
- ),
2863
-
2864
- " .uagb-blockquote__style-style_1 .uagb-blockquote" => array(
2865
- "text-align" => $attr['align'],
2866
- ),
2867
-
2868
- " .uagb-blockquote__author-wrap" => array(
2869
- "margin-bottom" => UAGB_Helper::get_css_value( $author_space, 'px' ),
2870
- ),
2871
- " .uagb-blockquote__author-image img" => array(
2872
- "width" => UAGB_Helper::get_css_value( $attr['authorImageWidth'], 'px' ),
2873
- "height" => UAGB_Helper::get_css_value( $attr['authorImageWidth'], 'px' ),
2874
- "border-radius" => UAGB_Helper::get_css_value( $attr['authorImgBorderRadius'], '%' )
2875
- ),
2876
-
2877
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon:hover svg" => array(
2878
- "fill" => $attr['quoteHoverColor'],
2879
- ),
2880
-
2881
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap:hover" => array(
2882
- "background" => $attr['quoteBgHoverColor'],
2883
- ),
2884
-
2885
- " .uagb-blockquote__skin-border blockquote.uagb-blockquote:hover" => array(
2886
- "border-left-color" => $attr['borderHoverColor'],
2887
- ),
2888
- );
2889
-
2890
- if( $attr['enableTweet'] ){
2891
- $selectors[" a.uagb-blockquote__tweet-button"] = array(
2892
- "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2893
- 'font-family' => $attr['tweetBtnFontFamily'],
2894
- 'font-weight' => $attr['tweetBtnFontWeight'],
2895
- 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeight'], $attr['tweetBtnLineHeightType'] ),
2896
- );
2897
-
2898
- $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button"] = array(
2899
- "color" => $attr['tweetLinkColor'],
2900
- );
2901
-
2902
- $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button svg"] = array(
2903
- "fill" => $attr['tweetLinkColor'],
2904
- );
2905
-
2906
- $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button"] = array(
2907
- "color" => $attr['tweetBtnColor'],
2908
- "background-color" => $attr['tweetBtnBgColor'],
2909
- "padding-left" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2910
- "padding-right" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2911
- "padding-top" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2912
- "padding-bottom" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2913
- );
2914
-
2915
- $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button svg"] = array(
2916
- "fill" => $attr['tweetBtnColor'],
2917
- );
2918
-
2919
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button"] = array(
2920
- "color" => $attr['tweetBtnColor'],
2921
- "background-color" => $attr['tweetBtnBgColor'],
2922
- "padding-left" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2923
- "padding-right" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2924
- "padding-top" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2925
- "padding-bottom" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2926
- );
2927
-
2928
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button svg"] = array(
2929
- "fill" => $attr['tweetBtnColor'],
2930
- );
2931
-
2932
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before"] = array(
2933
- "border-right-color" => $attr['tweetBtnBgColor'],
2934
- );
2935
-
2936
- $selectors[" a.uagb-blockquote__tweet-button svg"] = array(
2937
- "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2938
- "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2939
- );
2940
-
2941
- $selectors[" .uagb-blockquote__tweet-icon_text a.uagb-blockquote__tweet-button svg"] = array(
2942
- "margin-right" => UAGB_Helper::get_css_value( $attr['tweetIconSpacing'], 'px' ),
2943
- );
2944
-
2945
- // Hover CSS.
2946
- $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button:hover"] = array(
2947
- "color" => $attr['tweetBtnHoverColor'],
2948
- );
2949
-
2950
- $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button:hover svg"] = array(
2951
- "fill" => $attr['tweetBtnHoverColor'],
2952
- );
2953
-
2954
- $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button:hover"] = array(
2955
- "color" => $attr['tweetBtnHoverColor'],
2956
- "background-color" => $attr['tweetBtnBgHoverColor'],
2957
- );
2958
-
2959
- $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button:hover svg"] = array(
2960
- "fill" => $attr['tweetBtnHoverColor'],
2961
- );
2962
-
2963
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover"] = array(
2964
- "color" => $attr['tweetBtnHoverColor'],
2965
- "background-color" => $attr['tweetBtnBgHoverColor'],
2966
- );
2967
-
2968
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover svg"] = array(
2969
- "fill" => $attr['tweetBtnHoverColor'],
2970
- );
2971
-
2972
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover:before"] = array(
2973
- "border-right-color" => $attr['tweetBtnBgHoverColor'],
2974
- );
2975
- }
2976
-
2977
- $t_selectors = array(
2978
- " .uagb-blockquote__content" => array(
2979
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
2980
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
2981
- ),
2982
- " cite.uagb-blockquote__author" =>array(
2983
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2984
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2985
- ),
2986
- " a.uagb-blockquote__tweet-button" => array(
2987
- "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
2988
- 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeightTablet'], $attr['tweetBtnLineHeightType'] ),
2989
- ),
2990
- " a.uagb-blockquote__tweet-button svg" => array(
2991
- "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
2992
- "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
2993
- ),
2994
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
2995
- "padding" => UAGB_Helper::get_css_value( $attr['quotePaddingTablet'], $attr['quotePaddingType'] ),
2996
- ),
2997
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
2998
- "width" => UAGB_Helper::get_css_value( $attr['quoteSizeTablet'], $attr['quoteSizeType'] ),
2999
- "height" => UAGB_Helper::get_css_value( $attr['quoteSizeTablet'], $attr['quoteSizeType'] ),
3000
- ),
3001
- );
3002
-
3003
- $m_selectors = array(
3004
- " .uagb-blockquote__content" => array(
3005
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
3006
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
3007
- ),
3008
- " cite.uagb-blockquote__author" => array(
3009
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
3010
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
3011
- ),
3012
- " a.uagb-blockquote__tweet-button" => array(
3013
- "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3014
- 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeightMobile'], $attr['tweetBtnLineHeightType'] ),
3015
- ),
3016
- " a.uagb-blockquote__tweet-button svg" => array(
3017
- "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3018
- "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3019
- ),
3020
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
3021
- "padding" => UAGB_Helper::get_css_value( $attr['quotePaddingMobile'], $attr['quotePaddingType'] ),
3022
- ),
3023
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
3024
- "width" => UAGB_Helper::get_css_value( $attr['quoteSizeMobile'], $attr['quoteSizeType'] ),
3025
- "height" => UAGB_Helper::get_css_value( $attr['quoteSizeMobile'], $attr['quoteSizeType'] ),
3026
- ),
3027
- );
3028
-
3029
- // @codingStandardsIgnoreEnd
3030
-
3031
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-blockquote-' . $id );
3032
-
3033
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-blockquote-' . $id );
3034
-
3035
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-blockquote-' . $id );
3036
-
3037
- $generated_css = array(
3038
- 'desktop' => $desktop,
3039
- 'tablet' => $tablet,
3040
- 'mobile' => $mobile,
3041
- );
3042
-
3043
- return $generated_css;
3044
- }
3045
-
3046
- /**
3047
- * Get Timeline Block Desktop Selectors CSS
3048
- *
3049
- * @param array $attr The block attributes.
3050
- * @since 1.8.2
3051
- */
3052
- public static function get_timeline_selectors( $attr ) { // @codingStandardsIgnoreStart
3053
- $selectors = array(
3054
- " .uagb-timeline__heading-text" => array(
3055
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
3056
- ),
3057
- " .uagb-timeline-desc-content" => array(
3058
- "text-align" => $attr['align'],
3059
- "color" => $attr['subHeadingColor'],
3060
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ),
3061
- 'font-family' => $attr['subHeadFontFamily'],
3062
- 'font-weight' => $attr['subHeadFontWeight'],
3063
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
3064
- ),
3065
- ' .uagb-timeline__events-new' => array(
3066
- 'text-align' => $attr['align']
3067
- ),
3068
- ' .uagb-timeline__date-inner' => array(
3069
- 'text-align' => $attr['align']
3070
- ),
3071
- ' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3072
- 'border-left-color' => $attr['backgroundColor']
3073
- ),
3074
- ' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3075
- 'border-left-color' => $attr['backgroundColor']
3076
- ),
3077
- ' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3078
- 'border-right-color' => $attr['backgroundColor']
3079
- ),
3080
- ' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3081
- 'border-right-color' => $attr['backgroundColor']
3082
- ),
3083
- ' .uagb-timeline__line__inner' => array(
3084
- 'background-color' => $attr['separatorFillColor']
3085
- ),
3086
- ' .uagb-timeline__line' => array(
3087
- 'background-color' => $attr['separatorColor'],
3088
- 'width' => UAGB_Helper::get_css_value( $attr['separatorwidth'], 'px' )
3089
- ),
3090
- ' .uagb-timeline__right-block .uagb-timeline__line' => array(
3091
- 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3092
- ),
3093
- ' .uagb-timeline__left-block .uagb-timeline__line' => array(
3094
- 'left' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3095
- ),
3096
- ' .uagb-timeline__center-block .uagb-timeline__line' => array(
3097
- 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3098
- ),
3099
- ' .uagb-timeline__marker' => array(
3100
- 'background-color' => $attr['separatorBg'],
3101
- 'min-height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3102
- 'min-width' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3103
- 'line-height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3104
- 'border' => $attr['borderwidth'].'px solid'.$attr['separatorBorder'],
3105
- ),
3106
- ' .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow' => array(
3107
- 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3108
- ),
3109
- ' .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow' => array(
3110
- 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3111
- ),
3112
- ' .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow' => array(
3113
- 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3114
- ),
3115
- ' .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow' => array(
3116
- 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3117
- ),
3118
- ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3119
- 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3120
- 'margin-right'=> UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3121
- ),
3122
- ' .uagb-timeline__field:not(:last-child)' => array(
3123
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['verticalSpace'], 'px' ),
3124
- ),
3125
- ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3126
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['dateBottomspace'], 'px' ),
3127
- 'color' => $attr['dateColor'],
3128
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
3129
- 'font-family' => $attr['dateFontFamily'],
3130
- 'font-weight' => $attr['dateFontWeight'],
3131
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeight'], $attr['dateLineHeightType'] ),
3132
- 'text-align' => $attr['align'],
3133
- ),
3134
- ' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
3135
- 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3136
- ),
3137
- ' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
3138
- 'margin-right' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3139
- ),
3140
- ' .uagb-timeline__date-new' => array(
3141
- 'color' => $attr['dateColor'],
3142
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
3143
- 'font-family' => $attr['dateFontFamily'],
3144
- 'font-weight' => $attr['dateFontWeight'],
3145
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeight'], $attr['dateLineHeightType'] ),
3146
- ),
3147
- ' .uagb-timeline__events-inner-new' => array(
3148
- 'background-color' => $attr['backgroundColor'],
3149
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
3150
- 'padding'=> UAGB_Helper::get_css_value( $attr['bgPadding'], 'px' ),
3151
- ),
3152
- ' .uagb-timeline__main .uagb-timeline__icon-new' => array(
3153
- 'color' => $attr['iconColor'],
3154
- 'font-size' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
3155
- 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
3156
- ),
3157
- ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new svg' => array(
3158
- 'fill'=> $attr['iconFocus'],
3159
- ),
3160
- ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
3161
- 'color'=> $attr['iconFocus'],
3162
- ),
3163
- ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon' => array(
3164
- 'background' => $attr['iconBgFocus'],
3165
- 'border-color'=> $attr['borderFocus'],
3166
- ),
3167
- ' .uagb-timeline__main .uagb-timeline__icon-new svg' => array(
3168
- 'fill'=> $attr['iconColor'],
3169
- ),
3170
- );
3171
-
3172
- return $selectors;
3173
- // @codingStandardsIgnoreEnd
3174
- }
3175
-
3176
- /**
3177
- * Get Timeline Block Tablet Selectors CSS.
3178
- *
3179
- * @param array $attr The block attributes.
3180
- * @since 1.8.2
3181
- */
3182
- public static function get_timeline_tablet_selectors( $attr ) { // @codingStandardsIgnoreStart
3183
- $tablet_selector = array(
3184
- " .uagb-timeline-desc-content" => array(
3185
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
3186
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
3187
- ),
3188
- ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3189
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
3190
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
3191
- ),
3192
- ' .uagb-timeline__date-new' => array(
3193
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
3194
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
3195
- ),
3196
- ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3197
- 'margin-left' => 0,
3198
- 'margin-right' => 0,
3199
- ),
3200
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading" => array(
3201
- "text-align" => 'left',
3202
- ),
3203
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content" => array(
3204
- "text-align" => 'left',
3205
- ),
3206
- ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new' => array(
3207
- 'text-align' => 'left'
3208
- ),
3209
- ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner' => array(
3210
- 'text-align' => 'left'
3211
- ),
3212
- ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3213
- 'text-align'=> 'left',
3214
- ),
3215
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after" => array(
3216
- "border-right-color" => $attr['backgroundColor'],
3217
- ),
3218
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line" => array(
3219
- 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
3220
- ),
3221
- );
3222
-
3223
- return $tablet_selector;
3224
- // @codingStandardsIgnoreEnd
3225
- }
3226
-
3227
- /**
3228
- * Get Timeline Block Mobile Selectors CSS.
3229
- *
3230
- * @param array $attr The block attributes.
3231
- * @since 1.8.2
3232
- */
3233
- public static function get_timeline_mobile_selectors( $attr ) { // @codingStandardsIgnoreStart
3234
- $m_selectors = array(
3235
- " .uagb-timeline-desc-content" => array(
3236
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
3237
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
3238
- ),
3239
- ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3240
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
3241
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
3242
- ),
3243
- ' .uagb-timeline__date-new' => array(
3244
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
3245
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
3246
- ),
3247
- ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3248
- 'margin-left' => 0,
3249
- 'margin-right' => 0,
3250
- ),
3251
- ' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
3252
- 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3253
- ),
3254
- ' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
3255
- 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3256
- ),
3257
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading" => array(
3258
- "text-align" => 'left',
3259
- ),
3260
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content" => array(
3261
- "text-align" => 'left',
3262
- ),
3263
- ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new' => array(
3264
- 'text-align' => 'left'
3265
- ),
3266
- ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner' => array(
3267
- 'text-align' => 'left'
3268
- ),
3269
- ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3270
- 'text-align'=> 'left',
3271
- ),
3272
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after" => array(
3273
- "border-right-color" => $attr['backgroundColor'],
3274
- ),
3275
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line" => array(
3276
- 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
3277
- ),
3278
- );
3279
- return $m_selectors;
3280
- // @codingStandardsIgnoreEnd
3281
- }
3282
-
3283
- /**
3284
- * Get Contact Form 7 CSS
3285
- *
3286
- * @param array $attr The block attributes.
3287
- * @param string $id The selector ID.
3288
- * @since 1.10.0
3289
- */
3290
- public static function get_cf7_styler_css( $attr, $id ) {
3291
- $defaults = UAGB_Helper::$block_list['uagb/cf7-styler']['attributes'];
3292
-
3293
- $attr = array_merge( $defaults, (array) $attr );
3294
-
3295
- $selectors = array(
3296
- ' .wpcf7 .wpcf7-form' => array(
3297
- 'text-align' => $attr['align'],
3298
- ),
3299
- ' .wpcf7 form.wpcf7-form:not(input)' => array(
3300
- 'color' => $attr['fieldLabelColor'],
3301
- ),
3302
- ' .wpcf7 input:not([type=submit])' => array(
3303
- 'background-color' => $attr['fieldBgColor'],
3304
- 'color' => $attr['fieldInputColor'],
3305
- 'border-style' => $attr['fieldBorderStyle'],
3306
- 'border-color' => $attr['fieldBorderColor'],
3307
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3308
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3309
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3310
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3311
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3312
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3313
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3314
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3315
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3316
- 'font-family' => $attr['inputFontFamily'],
3317
- 'font-weight' => $attr['inputFontWeight'],
3318
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3319
- 'text-align' => $attr['align'],
3320
- ),
3321
- ' .wpcf7 select' => array(
3322
- 'background-color' => $attr['fieldBgColor'],
3323
- 'color' => $attr['fieldLabelColor'],
3324
- 'border-style' => $attr['fieldBorderStyle'],
3325
- 'border-color' => $attr['fieldBorderColor'],
3326
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3327
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3328
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3329
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3330
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3331
- 'font-family' => $attr['inputFontFamily'],
3332
- 'font-weight' => $attr['inputFontWeight'],
3333
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3334
- 'text-align' => $attr['align'],
3335
- ),
3336
- ' .wpcf7 select.wpcf7-form-control.wpcf7-select:not([multiple="multiple"])' => array(
3337
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3338
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3339
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3340
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3341
- ),
3342
- ' .wpcf7 select.wpcf7-select[multiple="multiple"] option' => array(
3343
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3344
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3345
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3346
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3347
- ),
3348
- ' .wpcf7 textarea' => array(
3349
- 'background-color' => $attr['fieldBgColor'],
3350
- 'color' => $attr['fieldInputColor'],
3351
- 'border-color' => $attr['fieldBorderColor'],
3352
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3353
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3354
- 'border-style' => $attr['fieldBorderStyle'],
3355
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3356
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3357
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3358
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3359
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3360
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3361
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3362
- 'font-family' => $attr['inputFontFamily'],
3363
- 'font-weight' => $attr['inputFontWeight'],
3364
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3365
- 'text-align' => $attr['align'],
3366
- ),
3367
- ' .wpcf7 textarea::placeholder' => array(
3368
- 'color' => $attr['fieldInputColor'],
3369
- 'text-align' => $attr['align'],
3370
- ),
3371
- ' .wpcf7 input::placeholder' => array(
3372
- 'color' => $attr['fieldInputColor'],
3373
- 'text-align' => $attr['align'],
3374
- ),
3375
- ' .wpcf7 form label' => array(
3376
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3377
- 'font-family' => $attr['labelFontFamily'],
3378
- 'font-weight' => $attr['labelFontWeight'],
3379
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3380
- ),
3381
- ' .wpcf7 form .wpcf7-list-item-label' => array(
3382
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3383
- 'font-family' => $attr['labelFontFamily'],
3384
- 'font-weight' => $attr['labelFontWeight'],
3385
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3386
- ),
3387
-
3388
- // Focus.
3389
- ' .wpcf7 form input:not([type=submit]):focus' => array(
3390
- 'border-color' => $attr['fieldBorderFocusColor'],
3391
- ),
3392
- ' .wpcf7 form select:focus' => array(
3393
- 'border-color' => $attr['fieldBorderFocusColor'],
3394
- ),
3395
- ' .wpcf7 textarea:focus' => array(
3396
- 'border-color' => $attr['fieldBorderFocusColor'],
3397
- ),
3398
-
3399
- // Submit button.
3400
- ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3401
- 'color' => $attr['buttonTextColor'],
3402
- 'background-color' => $attr['buttonBgColor'],
3403
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSize'], $attr['buttonFontSizeType'] ),
3404
- 'font-family' => $attr['buttonFontFamily'],
3405
- 'font-weight' => $attr['buttonFontWeight'],
3406
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeight'], $attr['buttonLineHeightType'] ),
3407
- 'border-color' => $attr['buttonBorderColor'],
3408
- 'border-style' => $attr['buttonBorderStyle'],
3409
- 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3410
- 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3411
- 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3412
- 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3413
- 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3414
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3415
- ),
3416
- ' .wpcf7 input.wpcf7-form-control.wpcf7-submit:hover' => array(
3417
- 'color' => $attr['buttonTextHoverColor'],
3418
- 'background-color' => $attr['buttonBgHoverColor'],
3419
- 'border-color' => $attr['buttonBorderHoverColor'],
3420
- ),
3421
-
3422
- // Check box Radio.
3423
- ' .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3424
- 'background-color' => $attr['fieldBgColor'],
3425
- 'color' => $attr['fieldInputColor'],
3426
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3427
- 'border-color' => $attr['fieldBorderFocusColor'],
3428
- ),
3429
- ' .wpcf7 .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3430
- 'background-color' => $attr['fieldBgColor'],
3431
- 'color' => $attr['fieldInputColor'],
3432
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3433
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3434
- 'border-style' => $attr['fieldBorderStyle'],
3435
- 'border-color' => $attr['fieldBorderColor'],
3436
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3437
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3438
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3439
- ),
3440
- ' .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3441
- 'background-color' => $attr['fieldBgColor'],
3442
- 'color' => $attr['fieldInputColor'],
3443
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3444
- 'border-color' => $attr['fieldBorderFocusColor'],
3445
- ),
3446
- ' .wpcf7 .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3447
- 'background-color' => $attr['fieldBgColor'],
3448
- 'color' => $attr['fieldInputColor'],
3449
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3450
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3451
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3452
- 'border-color' => $attr['fieldBorderColor'],
3453
- 'border-style' => $attr['fieldBorderStyle'],
3454
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3455
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3456
- ),
3457
- ' .wpcf7 .wpcf7-radio input[type="radio"] + span:before' => array(
3458
- 'background-color' => $attr['fieldBgColor'],
3459
- 'color' => $attr['fieldInputColor'],
3460
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3461
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3462
- 'border-style' => $attr['fieldBorderStyle'],
3463
- 'border-color' => $attr['fieldBorderColor'],
3464
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3465
- ),
3466
- ' .wpcf7 .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3467
- 'border-color' => $attr['fieldBorderFocusColor'],
3468
- ),
3469
-
3470
- // Underline border.
3471
- ' .uagb-cf7-styler__field-style-underline .wpcf7 input:not([type=submit])' => array(
3472
- 'border-style' => 'none',
3473
- 'border-bottom-color' => $attr['fieldBorderColor'],
3474
- 'border-bottom-style' => 'solid',
3475
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3476
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3477
- ),
3478
- ' .uagb-cf7-styler__field-style-underline textarea' => array(
3479
- 'border-style' => 'none',
3480
- 'border-bottom-color' => $attr['fieldBorderColor'],
3481
- 'border-bottom-style' => 'solid',
3482
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3483
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3484
- ),
3485
- ' .uagb-cf7-styler__field-style-underline select' => array(
3486
- 'border-style' => 'none',
3487
- 'border-bottom-color' => $attr['fieldBorderColor'],
3488
- 'border-bottom-style' => 'solid',
3489
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3490
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3491
- ),
3492
- ' .uagb-cf7-styler__field-style-underline textarea' => array(
3493
- 'border-style' => 'none',
3494
- 'border-bottom-color' => $attr['fieldBorderColor'],
3495
- 'border-bottom-style' => 'solid',
3496
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3497
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3498
- ),
3499
- ' .uagb-cf7-styler__field-style-underline .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3500
- 'border-style' => 'solid',
3501
- ),
3502
- ' .uagb-cf7-styler__field-style-underline .wpcf7 input[type="radio"] + span:before' => array(
3503
- 'border-style' => 'solid',
3504
- ),
3505
- ' .uagb-cf7-styler__field-style-underline .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3506
- 'border-style' => 'solid',
3507
- ),
3508
- ' .uagb-cf7-styler__field-style-box .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3509
- 'border-style' => $attr['fieldBorderStyle'],
3510
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3511
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3512
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3513
- ),
3514
- ' .uagb-cf7-styler__field-style-box .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3515
- 'border-style' => $attr['fieldBorderStyle'],
3516
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3517
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3518
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3519
- ),
3520
- ' .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3521
- 'background-color' => $attr['fieldInputColor'],
3522
- ),
3523
-
3524
- // Override check box.
3525
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3526
- 'background-color' => $attr['radioCheckBgColor'],
3527
- 'color' => $attr['radioCheckSelectColor'],
3528
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3529
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3530
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3531
- 'border-color' => $attr['radioCheckBorderColor'],
3532
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3533
- 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
3534
- ),
3535
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3536
- 'border-color' => $attr['fieldBorderFocusColor'],
3537
- ),
3538
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3539
- 'background-color' => $attr['radioCheckBgColor'],
3540
- 'color' => $attr['radioCheckSelectColor'],
3541
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3542
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3543
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3544
- 'border-color' => $attr['radioCheckBorderColor'],
3545
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3546
- 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
3547
- ),
3548
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3549
- 'border-color' => $attr['fieldBorderFocusColor'],
3550
- ),
3551
-
3552
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 input[type="radio"] + span:before' => array(
3553
- 'background-color' => $attr['radioCheckBgColor'],
3554
- 'color' => $attr['radioCheckSelectColor'],
3555
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3556
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3557
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3558
- 'border-color' => $attr['radioCheckBorderColor'],
3559
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3560
- ),
3561
- ' .uagb-cf7-styler__check-style-enabled .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3562
- 'background-color' => $attr['radioCheckSelectColor'],
3563
- ),
3564
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3565
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
3566
- 'font-family' => $attr['radioCheckFontFamily'],
3567
- 'font-weight' => $attr['radioCheckFontWeight'],
3568
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
3569
- 'color' => $attr['radioCheckLableColor'],
3570
- ),
3571
- ' span.wpcf7-not-valid-tip' => array(
3572
- 'color' => $attr['validationMsgColor'],
3573
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSize'], $attr['validationMsgFontSizeType'] ),
3574
- 'font-family' => $attr['validationMsgFontFamily'],
3575
- 'font-weight' => $attr['validationMsgFontWeight'],
3576
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeight'], $attr['validationMsgLineHeightType'] ),
3577
- ),
3578
- ' .uagb-cf7-styler__highlight-border input.wpcf7-form-control.wpcf7-not-valid' => array(
3579
- 'border-color' => $attr['highlightBorderColor'],
3580
- ),
3581
- ' .uagb-cf7-styler__highlight-border .wpcf7-form-control.wpcf7-not-valid .wpcf7-list-item-label:before' => array(
3582
- 'border-color' => $attr['highlightBorderColor'] . '!important',
3583
- ),
3584
- ' .uagb-cf7-styler__highlight-style-bottom_right .wpcf7-not-valid-tip' => array(
3585
- 'background-color' => $attr['validationMsgBgColor'],
3586
- ),
3587
- ' .wpcf7-response-output' => array(
3588
- 'border-width' => UAGB_Helper::get_css_value( $attr['msgBorderSize'], 'px' ),
3589
- 'border-radius' => UAGB_Helper::get_css_value( $attr['msgBorderRadius'], $attr['msgBorderRadiusType'] ),
3590
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSize'], $attr['msgFontSizeType'] ),
3591
- 'font-family' => $attr['msgFontFamily'],
3592
- 'font-weight' => $attr['msgFontWeight'],
3593
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeight'], $attr['msgLineHeightType'] ),
3594
- 'padding-top' => UAGB_Helper::get_css_value( $attr['msgVrPadding'], 'px' ),
3595
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['msgVrPadding'], 'px' ),
3596
- 'padding-left' => UAGB_Helper::get_css_value( $attr['msgHrPadding'], 'px' ),
3597
- 'padding-right' => UAGB_Helper::get_css_value( $attr['msgHrPadding'], 'px' ),
3598
- ),
3599
- ' .wpcf7-response-output.wpcf7-validation-errors' => array(
3600
- 'background-color' => $attr['errorMsgBgColor'],
3601
- 'border-color' => $attr['errorMsgBorderColor'],
3602
- 'color' => $attr['errorMsgColor'],
3603
- ),
3604
- ' .wpcf7-response-output.wpcf7-validation- success' => array(
3605
- 'background-color' => $attr['successMsgBgColor'],
3606
- 'border-color' => $attr['successMsgBorderColor'],
3607
- 'color' => $attr['successMsgColor'],
3608
- ),
3609
-
3610
- );
3611
-
3612
- $t_selectors = array(
3613
- ' .wpcf7 form.wpcf7-form:not(input)' => array(
3614
- 'color' => $attr['fieldLabelColor'],
3615
- ),
3616
- ' .wpcf7 input:not([type=submit])' => array(
3617
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
3618
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
3619
- ),
3620
- ' .wpcf7 select' => array(
3621
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3622
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3623
- ),
3624
- ' .wpcf7 textarea' => array(
3625
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
3626
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
3627
- ),
3628
- ' .wpcf7 form label' => array(
3629
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3630
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3631
- ),
3632
-
3633
- ' .wpcf7 form .wpcf7-list-item-label' => array(
3634
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3635
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3636
- ),
3637
- ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3638
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeTablet'], $attr['buttonFontSizeType'] ),
3639
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightTablet'], $attr['buttonLineHeightType'] ),
3640
- ),
3641
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3642
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
3643
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
3644
- ),
3645
- ' span.wpcf7-not-valid-tip' => array(
3646
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
3647
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
3648
- ),
3649
- ' .wpcf7-response-output' => array(
3650
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
3651
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
3652
- ),
3653
- );
3654
-
3655
- $m_selectors = array(
3656
- ' .wpcf7 input:not([type=submit])' => array(
3657
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
3658
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
3659
- ),
3660
- ' .wpcf7 select' => array(
3661
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3662
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3663
- ),
3664
- ' .wpcf7 textarea' => array(
3665
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
3666
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
3667
- ),
3668
- ' .wpcf7 form label' => array(
3669
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3670
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3671
- ),
3672
-
3673
- ' .wpcf7 form .wpcf7-list-item-label' => array(
3674
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3675
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3676
- ),
3677
- ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3678
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeMobile'], $attr['buttonFontSizeType'] ),
3679
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightMobile'], $attr['buttonLineHeightType'] ),
3680
- ),
3681
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3682
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
3683
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
3684
- ),
3685
- ' span.wpcf7-not-valid-tip' => array(
3686
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
3687
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
3688
- ),
3689
- ' .wpcf7-response-output' => array(
3690
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
3691
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
3692
- ),
3693
- );
3694
-
3695
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-cf7-styler-' . $id );
3696
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-cf7-styler-' . $id );
3697
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-cf7-styler-' . $id );
3698
-
3699
- $generated_css = array(
3700
- 'desktop' => $desktop,
3701
- 'tablet' => $tablet,
3702
- 'mobile' => $mobile,
3703
- );
3704
-
3705
- return $generated_css;
3706
- }
3707
-
3708
-
3709
-
3710
- /**
3711
- * Get Gravity Form Styler CSS
3712
- *
3713
- * @param array $attr The block attributes.
3714
- * @param string $id The selector ID.
3715
- * @since 1.12.0
3716
- */
3717
- public static function get_gf_styler_css( $attr, $id ) {
3718
- $defaults = UAGB_Helper::$block_list['uagb/gf-styler']['attributes'];
3719
-
3720
- $attr = array_merge( $defaults, (array) $attr );
3721
-
3722
- $attr['msgVrPadding'] = ( '' === $attr['msgVrPadding'] ) ? '0' : $attr['msgVrPadding'];
3723
- $attr['msgHrPadding'] = ( '' === $attr['msgHrPadding'] ) ? '0' : $attr['msgHrPadding'];
3724
- $attr['textAreaHeight'] = ( 'auto' === $attr['msgHrPadding'] ) ? $attr['textAreaHeight'] : $attr['textAreaHeight'] . 'px';
3725
-
3726
- $selectors = array(
3727
- ' .gform_wrapper form' => array(
3728
- 'text-align' => $attr['align'],
3729
- ),
3730
- ' .wp-block-uagb-gf-styler form:not(input)' => array(
3731
- 'color' => $attr['fieldLabelColor'],
3732
- ),
3733
- ' .gform_heading' => array(
3734
- 'text-align' => $attr['titleDescAlignment'],
3735
- ),
3736
- ' input:not([type=submit])' => array(
3737
- 'background-color' => $attr['fieldBgColor'],
3738
- 'color' => $attr['fieldInputColor'],
3739
- 'border-style' => $attr['fieldBorderStyle'],
3740
- 'border-color' => $attr['fieldBorderColor'],
3741
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3742
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3743
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3744
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3745
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3746
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3747
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3748
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3749
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3750
- 'font-family' => $attr['inputFontFamily'],
3751
- 'font-weight' => $attr['inputFontWeight'],
3752
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3753
- 'text-align' => $attr['align'],
3754
- ),
3755
- ' select' => array(
3756
- 'background-color' => $attr['fieldBgColor'],
3757
- 'border-style' => $attr['fieldBorderStyle'],
3758
- 'border-color' => $attr['fieldBorderColor'],
3759
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3760
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3761
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3762
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3763
- 'color' => $attr['fieldInputColor'],
3764
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3765
- 'font-family' => $attr['inputFontFamily'],
3766
- 'font-weight' => $attr['inputFontWeight'],
3767
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3768
- 'text-align' => $attr['align'],
3769
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3770
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3771
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3772
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3773
- ),
3774
- ' .chosen-container-single span' => array(
3775
- 'background-color' => $attr['fieldBgColor'],
3776
- 'border-style' => $attr['fieldBorderStyle'],
3777
- 'border-color' => $attr['fieldBorderColor'],
3778
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3779
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3780
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3781
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3782
- 'color' => $attr['fieldInputColor'],
3783
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3784
- 'font-family' => $attr['inputFontFamily'],
3785
- 'font-weight' => $attr['inputFontWeight'],
3786
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3787
- 'text-align' => $attr['align'],
3788
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3789
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3790
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3791
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3792
- ),
3793
- ' .chosen-container-single.chosen-container-active .chosen-single span' => array(
3794
- 'margin-bottom' => 0,
3795
- ),
3796
- ' select.wpgf-form-control.wpgf-select:not([multiple="multiple"])' => array(
3797
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3798
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3799
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3800
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3801
- ),
3802
- ' select.wpgf-select[multiple="multiple"] option' => array(
3803
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3804
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3805
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3806
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3807
- ),
3808
- ' textarea' => array(
3809
- 'background-color' => $attr['fieldBgColor'],
3810
- 'color' => $attr['fieldInputColor'],
3811
- 'border-color' => $attr['fieldBorderColor'],
3812
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3813
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3814
- 'border-style' => $attr['fieldBorderStyle'],
3815
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3816
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3817
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3818
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3819
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3820
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3821
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3822
- 'font-family' => $attr['inputFontFamily'],
3823
- 'font-weight' => $attr['inputFontWeight'],
3824
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3825
- 'text-align' => $attr['align'],
3826
- 'height' => $attr['textAreaHeight'],
3827
- ),
3828
- ' textarea::placeholder' => array(
3829
- 'color' => $attr['fieldInputColor'],
3830
- 'text-align' => $attr['align'],
3831
- ),
3832
- ' input::placeholder' => array(
3833
- 'color' => $attr['fieldInputColor'],
3834
- 'text-align' => $attr['align'],
3835
- ),
3836
- ' form label' => array(
3837
- 'color' => $attr['fieldLabelColor'],
3838
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3839
- 'font-family' => $attr['labelFontFamily'],
3840
- 'font-weight' => $attr['labelFontWeight'],
3841
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3842
- ),
3843
- ' form .gfield_radio label' => array(
3844
- 'color' => $attr['fieldLabelColor'],
3845
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3846
- 'font-family' => $attr['labelFontFamily'],
3847
- 'font-weight' => $attr['labelFontWeight'],
3848
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3849
- ),
3850
- ' form .gfield_checkbox label' => array(
3851
- 'color' => $attr['fieldLabelColor'],
3852
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3853
- 'font-family' => $attr['labelFontFamily'],
3854
- 'font-weight' => $attr['labelFontWeight'],
3855
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3856
- ),
3857
- ' .wpgf .gfield_checkbox input[type="checkbox"] + label, .wpgf .gfield_checkbox input[type="checkbox"] + label' => array(
3858
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3859
- ),
3860
-
3861
- // Focus.
3862
- ' form input:not([type=submit]):focus' => array(
3863
- 'border-color' => $attr['fieldBorderFocusColor'],
3864
- ),
3865
- ' form select:focus' => array(
3866
- 'border-color' => $attr['fieldBorderFocusColor'],
3867
- ),
3868
- ' textarea:focus' => array(
3869
- 'border-color' => $attr['fieldBorderFocusColor'],
3870
- ),
3871
-
3872
- // Submit button.
3873
- ' input.gform_button' => array(
3874
- 'color' => $attr['buttonTextColor'],
3875
- 'background-color' => $attr['buttonBgColor'],
3876
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSize'], $attr['buttonFontSizeType'] ),
3877
- 'font-family' => $attr['buttonFontFamily'],
3878
- 'font-weight' => $attr['buttonFontWeight'],
3879
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeight'], $attr['buttonLineHeightType'] ),
3880
- 'border-color' => $attr['buttonBorderColor'],
3881
- 'border-style' => $attr['buttonBorderStyle'],
3882
- 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3883
- 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3884
- 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3885
- 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3886
- 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3887
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3888
- ),
3889
- ' input.gform_button:hover' => array(
3890
- 'color' => $attr['buttonTextHoverColor'],
3891
- 'background-color' => $attr['buttonBgHoverColor'],
3892
- 'border-color' => $attr['buttonBorderHoverColor'],
3893
- ),
3894
-
3895
- // Check box Radio.
3896
- ' .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
3897
- 'background-color' => $attr['fieldBgColor'],
3898
- 'color' => $attr['fieldInputColor'],
3899
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3900
- 'border-color' => $attr['fieldBorderFocusColor'],
3901
- ),
3902
- ' .gfield_checkbox input[type="checkbox"] + label:before' => array(
3903
- 'background-color' => $attr['fieldBgColor'],
3904
- 'color' => $attr['fieldInputColor'],
3905
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3906
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3907
- 'border-style' => $attr['fieldBorderStyle'],
3908
- 'border-color' => $attr['fieldBorderColor'],
3909
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3910
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3911
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3912
- ),
3913
- ' input[type="checkbox"]:checked + label:before' => array(
3914
- 'background-color' => $attr['fieldBgColor'],
3915
- 'color' => $attr['fieldInputColor'],
3916
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3917
- 'border-color' => $attr['fieldBorderFocusColor'],
3918
- ),
3919
- ' input[type="checkbox"] + label:before' => array(
3920
- 'background-color' => $attr['fieldBgColor'],
3921
- 'color' => $attr['fieldInputColor'],
3922
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3923
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3924
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3925
- 'border-color' => $attr['fieldBorderColor'],
3926
- 'border-style' => $attr['fieldBorderStyle'],
3927
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3928
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3929
- ),
3930
- ' .gfield_radio input[type="radio"] + label:before' => array(
3931
- 'background-color' => $attr['fieldBgColor'],
3932
- 'color' => $attr['fieldInputColor'],
3933
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3934
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3935
- 'border-style' => $attr['fieldBorderStyle'],
3936
- 'border-color' => $attr['fieldBorderColor'],
3937
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3938
- ),
3939
- ' .gfield_radio input[type="radio"]:checked + label:before' => array(
3940
- 'border-color' => $attr['fieldBorderFocusColor'],
3941
- ),
3942
-
3943
- // Underline border.
3944
- ' .uagb-gf-styler__field-style-underline input:not([type=submit])' => array(
3945
- 'border-style' => 'none',
3946
- 'border-bottom-color' => $attr['fieldBorderColor'],
3947
- 'border-bottom-style' => 'solid',
3948
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3949
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3950
- ),
3951
- ' .uagb-gf-styler__field-style-underline textarea' => array(
3952
- 'border-style' => 'none',
3953
- 'border-bottom-color' => $attr['fieldBorderColor'],
3954
- 'border-bottom-style' => 'solid',
3955
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3956
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3957
- ),
3958
- ' .uagb-gf-styler__field-style-underline select' => array(
3959
- 'border-style' => 'none',
3960
- 'border-bottom-color' => $attr['fieldBorderColor'],
3961
- 'border-bottom-style' => 'solid',
3962
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3963
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3964
- ),
3965
- ' .uagb-gf-styler__field-style-underline textarea' => array(
3966
- 'border-style' => 'none',
3967
- 'border-bottom-color' => $attr['fieldBorderColor'],
3968
- 'border-bottom-style' => 'solid',
3969
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3970
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3971
- ),
3972
- ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"] + label:before' => array(
3973
- 'border-style' => 'solid',
3974
- ),
3975
- ' .uagb-gf-styler__check-style-enabled input[type="radio"] + label:before' => array(
3976
- 'border-style' => 'solid',
3977
- ),
3978
- ' .uagb-gf-styler__field-style-box .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
3979
- 'border-style' => 'solid',
3980
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3981
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3982
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3983
- ),
3984
- ' .uagb-gf-styler__field-style-box input[type="checkbox"]:checked + label:before' => array(
3985
- 'border-style' => 'solid',
3986
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3987
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3988
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3989
- ),
3990
- ' .gfield_radio input[type="radio"]:checked + label:before' => array(
3991
- 'background-color' => $attr['fieldInputColor'],
3992
- ),
3993
-
3994
- // Override check box.
3995
- ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"] + label:before' => array(
3996
- 'background-color' => $attr['radioCheckBgColor'],
3997
- 'color' => $attr['radioCheckSelectColor'],
3998
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3999
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4000
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px * 1.8 )',
4001
- 'border-color' => $attr['radioCheckBorderColor'],
4002
- 'border-style' => 'solid',
4003
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4004
- 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
4005
- ),
4006
- ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
4007
- 'border-color' => $attr['fieldBorderFocusColor'],
4008
- ),
4009
- ' .uagb-gf-styler__check-style-enabled input[type="checkbox"] + label:before' => array(
4010
- 'background-color' => $attr['radioCheckBgColor'],
4011
- 'color' => $attr['radioCheckSelectColor'],
4012
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4013
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4014
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px * 1.8 )',
4015
- 'border-color' => $attr['radioCheckBorderColor'],
4016
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4017
- 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
4018
- ),
4019
- ' .uagb-gf-styler__check-style-enabled input[type="checkbox"]:checked + label:before' => array(
4020
- 'border-color' => $attr['fieldBorderFocusColor'],
4021
- ),
4022
-
4023
- ' .uagb-gf-styler__check-style-enabled input[type="radio"] + label:before' => array(
4024
- 'background-color' => $attr['radioCheckBgColor'],
4025
- 'color' => $attr['radioCheckSelectColor'],
4026
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4027
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4028
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
4029
- 'border-color' => $attr['radioCheckBorderColor'],
4030
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4031
- ),
4032
- ' .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]:checked + label:before' => array(
4033
- 'background-color' => $attr['radioCheckSelectColor'],
4034
- ),
4035
- ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4036
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
4037
- 'font-family' => $attr['radioCheckFontFamily'],
4038
- 'font-weight' => $attr['radioCheckFontWeight'],
4039
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
4040
- 'color' => $attr['radioCheckLableColor'],
4041
- ),
4042
- ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4043
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
4044
- 'font-family' => $attr['radioCheckFontFamily'],
4045
- 'font-weight' => $attr['radioCheckFontWeight'],
4046
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
4047
- 'color' => $attr['radioCheckLableColor'],
4048
- ),
4049
- // Validation Errors.
4050
- ' .gform_wrapper .gfield_description.validation_message' => array(
4051
- 'color' => $attr['validationMsgColor'],
4052
- ),
4053
- ' .gform_wrapper .validation_message' => array(
4054
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSize'], $attr['validationMsgFontSizeType'] ),
4055
- 'font-family' => $attr['validationMsgFontFamily'],
4056
- 'font-weight' => $attr['validationMsgFontWeight'],
4057
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeight'], $attr['validationMsgLineHeightType'] ),
4058
- ),
4059
- ' .uagb-gf-styler__error-yes .gform_wrapper .gfield.gfield_error' => array(
4060
- 'background-color' => $attr['validationMsgBgColor'],
4061
- ),
4062
-
4063
- ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input:not([type="submit"]):not([type="button"]):not([type="image"])' => array(
4064
- 'border-color' => $attr['highlightBorderColor'],
4065
- ),
4066
-
4067
- ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container select' => array(
4068
- 'border-color' => $attr['highlightBorderColor'],
4069
- ),
4070
-
4071
- ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container .chosen-single' => array(
4072
- 'border-color' => $attr['highlightBorderColor'],
4073
- ),
4074
-
4075
- ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container textarea' => array(
4076
- 'border-color' => $attr['highlightBorderColor'],
4077
- ),
4078
-
4079
- ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield.gfield_error' => array(
4080
- 'border-color' => $attr['highlightBorderColor'],
4081
- ),
4082
-
4083
- ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning' => array(
4084
- 'border-color' => $attr['highlightBorderColor'],
4085
- ),
4086
-
4087
- ' .uagb-gf-styler__error-yes li.gfield_error .gfield_checkbox input[type="checkbox"] + label:before' => array(
4088
- 'border-color' => $attr['highlightBorderColor'],
4089
- ),
4090
-
4091
- ' .uagb-gf-styler__error-yes li.gfield_error .ginput_container_consent input[type="checkbox"] + label:before' => array(
4092
- 'border-color' => $attr['highlightBorderColor'],
4093
- ),
4094
-
4095
- ' .uagb-gf-styler__error-yes li.gfield_error .gfield_radio input[type="radio"] + label:before' => array(
4096
- 'border-color' => $attr['highlightBorderColor'],
4097
- ),
4098
-
4099
- ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input[type="text"]' => array(
4100
- 'border' => $attr['fieldBorderWidth'] . 'px ' . $attr['fieldBorderStyle'] . ' ' . $attr['fieldBorderColor'] . '!important',
4101
- ),
4102
-
4103
- ' .uael-gf-style-underline.uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input[type="text"]' => array(
4104
- 'border-width' => $attr['fieldBorderWidth'] . 'px' . '!important',
4105
- 'border-style' => 'solid' . '!important',
4106
- 'border-color' => $attr['fieldBorderColor'] . '!important',
4107
- ),
4108
-
4109
- ' .gform_wrapper div.validation_error' => array(
4110
- 'color' => $attr['errorMsgColor'],
4111
- 'background-color' => $attr['errorMsgBgColor'],
4112
- 'border-color' => $attr['errorMsgBorderColor'],
4113
- 'border-style' => 'solid',
4114
- 'border-width' => UAGB_Helper::get_css_value( $attr['msgBorderSize'], 'px' ),
4115
- 'border-radius' => UAGB_Helper::get_css_value( $attr['msgBorderRadius'], $attr['msgBorderRadiusType'] ),
4116
- 'padding' => $attr['msgVrPadding'] . 'px ' . $attr['msgHrPadding'] . 'px',
4117
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSize'], $attr['msgFontSizeType'] ),
4118
- 'font-family' => $attr['msgFontFamily'],
4119
- 'font-weight' => $attr['msgFontWeight'],
4120
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeight'], $attr['msgLineHeightType'] ),
4121
- ),
4122
-
4123
- ' .gform_confirmation_message' => array(
4124
- 'color' => $attr['successMsgColor'],
4125
- 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSize'], $attr['successMsgFontSizeType'] ),
4126
- 'font-family' => $attr['successMsgFontFamily'],
4127
- 'font-weight' => $attr['successMsgFontWeight'],
4128
- 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeight'], $attr['successMsgLineHeightType'] ),
4129
- ),
4130
- );
4131
-
4132
- $t_selectors = array(
4133
- ' form.wpgf-form:not(input)' => array(
4134
- 'color' => $attr['fieldLabelColor'],
4135
- ),
4136
- ' input:not([type=submit])' => array(
4137
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
4138
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
4139
- ),
4140
- ' textarea' => array(
4141
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
4142
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
4143
- ),
4144
- ' form label' => array(
4145
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4146
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4147
- ),
4148
-
4149
- ' form .gfield_radio label' => array(
4150
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4151
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4152
- ),
4153
- ' form .gfield_checkbox label' => array(
4154
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4155
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4156
- ),
4157
- ' input.gform_button' => array(
4158
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeTablet'], $attr['buttonFontSizeType'] ),
4159
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightTablet'], $attr['buttonLineHeightType'] ),
4160
- ),
4161
- ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4162
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
4163
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
4164
- ),
4165
- ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4166
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
4167
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
4168
- ),
4169
- ' span.wpgf-not-valid-tip' => array(
4170
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
4171
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
4172
- ),
4173
- ' .wpgf-response-output' => array(
4174
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
4175
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
4176
- ),
4177
- ' .gform_wrapper .validation_message' => array(
4178
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
4179
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
4180
- ),
4181
- ' .gform_wrapper div.validation_error' => array(
4182
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
4183
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
4184
- ),
4185
- ' .gform_confirmation_message' => array(
4186
- 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSizeTablet'], $attr['successMsgFontSizeType'] ),
4187
- 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeightTablet'], $attr['successMsgLineHeightType'] ),
4188
- 'color' => $attr['successMsgColor'],
4189
- ),
4190
- );
4191
-
4192
- $m_selectors = array(
4193
- ' input:not([type=submit])' => array(
4194
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
4195
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
4196
- ),
4197
- ' textarea' => array(
4198
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
4199
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
4200
- ),
4201
- ' form label' => array(
4202
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4203
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4204
- ),
4205
-
4206
- ' form .gfield_radio label' => array(
4207
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4208
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4209
- ),
4210
- ' form .gfield_checkbox label' => array(
4211
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4212
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4213
- ),
4214
- ' input.gform_button' => array(
4215
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeMobile'], $attr['buttonFontSizeType'] ),
4216
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightMobile'], $attr['buttonLineHeightType'] ),
4217
- ),
4218
- ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4219
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
4220
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
4221
- ),
4222
- ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4223
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
4224
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
4225
- ),
4226
- ' span.wpgf-not-valid-tip' => array(
4227
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
4228
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
4229
- ),
4230
- ' .wpgf-response-output' => array(
4231
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
4232
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
4233
- ),
4234
- ' .gform_wrapper .validation_message' => array(
4235
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
4236
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
4237
- ),
4238
- ' .gform_wrapper div.validation_error' => array(
4239
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
4240
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
4241
- ),
4242
- ' .gform_confirmation_message' => array(
4243
- 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSizeMobile'], $attr['successMsgFontSizeType'] ),
4244
- 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeightMobile'], $attr['successMsgLineHeightType'] ),
4245
- 'color' => $attr['successMsgColor'],
4246
- ),
4247
- );
4248
-
4249
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-gf-styler-' . $id );
4250
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-gf-styler-' . $id );
4251
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-gf-styler-' . $id );
4252
- $generated_css = array(
4253
- 'desktop' => $desktop,
4254
- 'tablet' => $tablet,
4255
- 'mobile' => $mobile,
4256
- );
4257
-
4258
- return $generated_css;
4259
- }
4260
-
4261
- /*
4262
- * Get Marketing Button Block CSS
4263
- *
4264
- * @since 1.11.0
4265
- * @param array $attr The block attributes.
4266
- * @param string $id The selector ID.
4267
- * @return array The Widget List.
4268
- */
4269
- public static function get_marketing_btn_css( $attr, $id ) { // @codingStandardsIgnoreStart
4270
-
4271
- $defaults = UAGB_Helper::$block_list['uagb/marketing-button']['attributes'];
4272
-
4273
- $attr = array_merge( $defaults, (array) $attr );
4274
-
4275
- $m_selectors = array();
4276
- $t_selectors = array();
4277
-
4278
- $icon_color = ( "" == $attr["iconColor"] ) ? $attr["titleColor"] : $attr["iconColor"];
4279
- $icon_hover_color = ( "" == $attr["iconHoverColor"] ) ? $attr["titleHoverColor"] : $attr["iconHoverColor"];
4280
-
4281
- $selectors = array(
4282
- " .uagb-marketing-btn__title-wrap" => array(
4283
- "margin-bottom" => UAGB_Helper::get_css_value( $attr["titleSpace"], 'px' )
4284
- ),
4285
- " .uagb-marketing-btn__title" => array(
4286
- "font-size" => UAGB_Helper::get_css_value( $attr["titleFontSize"], $attr["titleFontSizeType"] ),
4287
- "line-height" => UAGB_Helper::get_css_value( $attr["titleLineHeight"], $attr["titleLineHeightType"] ),
4288
- "font-family" => $attr["titleFontFamily"],
4289
- "font-weight" => $attr["titleFontWeight"],
4290
- "color" => $attr["titleColor"],
4291
- ),
4292
- " .uagb-marketing-btn__icon-wrap" => array(
4293
- "width" => UAGB_Helper::get_css_value( $attr["iconFontSize"], $attr["iconFontSizeType"] ),
4294
- "height" => UAGB_Helper::get_css_value( $attr["iconFontSize"], $attr["iconFontSizeType"] ),
4295
- ),
4296
- " .uagb-marketing-btn__icon-wrap svg" => array(
4297
- "fill" => $icon_color
4298
- ),
4299
- " .uagb-marketing-btn__prefix" => array(
4300
- "font-size" => UAGB_Helper::get_css_value( $attr["prefixFontSize"], $attr["prefixFontSizeType"] ),
4301
- "line-height" => UAGB_Helper::get_css_value( $attr["prefixLineHeight"], $attr["prefixLineHeightType"] ),
4302
- "font-family" => $attr["prefixFontFamily"],
4303
- "font-weight" => $attr["prefixFontWeight"],
4304
- "color" => $attr["prefixColor"],
4305
- ),
4306
- " .uagb-marketing-btn__link:hover .uagb-marketing-btn__title" => array(
4307
- "color" => $attr["titleHoverColor"],
4308
- ),
4309
- " .uagb-marketing-btn__link:hover .uagb-marketing-btn__prefix" => array(
4310
- "color" => $attr["prefixHoverColor"],
4311
- ),
4312
- " .uagb-marketing-btn__link:hover .uagb-marketing-btn__icon-wrap svg" => array(
4313
- "fill" => $icon_hover_color
4314
- ),
4315
- " .uagb-marketing-btn__link" => array(
4316
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPadding"], 'px' ),
4317
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPadding"], 'px' ),
4318
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPadding"], 'px' ),
4319
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPadding"], 'px' ),
4320
- "border-style" => $attr["borderStyle"],
4321
- "border-width" => UAGB_Helper::get_css_value( $attr["borderWidth"], 'px' ),
4322
- "border-color" => $attr["borderColor"],
4323
- "border-radius" => UAGB_Helper::get_css_value( $attr["borderRadius"], 'px' ),
4324
- ),
4325
- " .uagb-marketing-btn__link:hover" => array(
4326
- "border-color" => $attr["borderHoverColor"]
4327
- ),
4328
- );
4329
-
4330
- if ( "transparent" == $attr["backgroundType"] ) {
4331
-
4332
- $selectors[" .uagb-marketing-btn__link"]["background"] = "transparent";
4333
-
4334
- } else if ( "color" == $attr["backgroundType"] ) {
4335
-
4336
- $selectors[" .uagb-marketing-btn__link"]["background"] = UAGB_Helper::hex2rgba( $attr["backgroundColor"], $attr['backgroundOpacity'] );
4337
-
4338
- // Hover Background
4339
- $selectors[" .uagb-marketing-btn__link:hover"] = array(
4340
- "background" => UAGB_Helper::hex2rgba( $attr["backgroundHoverColor"], $attr['backgroundHoverOpacity'] ),
4341
- );
4342
-
4343
- } else if ( "gradient" == $attr["backgroundType"] ) {
4344
-
4345
- $selectors[' .uagb-marketing-btn__link']['background-color'] = 'transparent';
4346
-
4347
- if ( 'linear' === $attr['gradientType'] ) {
4348
-
4349
- $selectors[' .uagb-marketing-btn__link']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . UAGB_Helper::hex2rgba( $attr['gradientColor1'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation1'] . '%, ' . UAGB_Helper::hex2rgba( $attr['gradientColor2'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation2'] . '%)';
4350
- } else {
4351
-
4352
- $selectors[' .uagb-marketing-btn__link']['background-image'] = 'radial-gradient( at center center, ' . UAGB_Helper::hex2rgba( $attr['gradientColor1'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation1'] . '%, ' . UAGB_Helper::hex2rgba( $attr['gradientColor2'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation2'] . '%)';
4353
- }
4354
- }
4355
-
4356
- $margin_type = ( "after" == $attr["iconPosition"] ) ? "margin-left" : "margin-right";
4357
-
4358
- $selectors[" .uagb-marketing-btn__icon-wrap"][$margin_type] = UAGB_Helper::get_css_value( $attr["iconSpace"], "px" );
4359
-
4360
- $m_selectors = array(
4361
- ' .uagb-marketing-btn__title' => array(
4362
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
4363
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
4364
- ),
4365
- ' .uagb-marketing-btn__prefix' => array(
4366
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
4367
- 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightMobile'], $attr['prefixLineHeightType'] ),
4368
- ),
4369
- ' .uagb-marketing-btn__icon-wrap' => array(
4370
- "width" => UAGB_Helper::get_css_value( $attr["iconFontSizeMobile"], $attr["iconFontSizeType"] ),
4371
- "height" => UAGB_Helper::get_css_value( $attr["iconFontSizeMobile"], $attr["iconFontSizeType"] ),
4372
- ),
4373
-
4374
- );
4375
-
4376
- $t_selectors = array(
4377
- ' .uagb-marketing-btn__title' => array(
4378
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
4379
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
4380
- ),
4381
- ' .uagb-marketing-btn__prefix' => array(
4382
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
4383
- 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightTablet'], $attr['prefixLineHeightType'] ),
4384
- ),
4385
- ' .uagb-marketing-btn__icon-wrap' => array(
4386
- "width" => UAGB_Helper::get_css_value( $attr["iconFontSizeTablet"], $attr["iconFontSizeType"] ),
4387
- "height" => UAGB_Helper::get_css_value( $attr["iconFontSizeTablet"], $attr["iconFontSizeType"] ),
4388
- ),
4389
-
4390
- );
4391
-
4392
- // @codingStandardsIgnoreEnd
4393
-
4394
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-marketing-btn-' . $id );
4395
-
4396
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-marketing-btn-' . $id );
4397
-
4398
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-marketing-btn-' . $id );
4399
-
4400
- $generated_css = array(
4401
- 'desktop' => $desktop,
4402
- 'tablet' => $tablet,
4403
- 'mobile' => $mobile,
4404
- );
4405
-
4406
- return $generated_css;
4407
- }
4408
-
4409
- /**
4410
- * Get Table of Contents Block CSS
4411
- *
4412
- * @since x.x.x
4413
- * @param array $attr The block attributes.
4414
- * @param string $id The selector ID.
4415
- * @return array The Widget List.
4416
- */
4417
- public static function get_table_of_contents_css( $attr, $id ) { // @codingStandardsIgnoreStart
4418
-
4419
- $defaults = UAGB_Helper::$block_list['uagb/table-of-contents']['attributes'];
4420
-
4421
- $attr = array_merge( $defaults, (array) $attr );
4422
- $m_selectors = array();
4423
- $t_selectors = array();
4424
-
4425
- $selectors = array(
4426
- " .uagb-toc__list-wrap ul li a:hover" => array(
4427
- "color" => $attr["linkHoverColor"],
4428
- ),
4429
- " .uagb-toc__list-wrap ul li a" => array(
4430
- "font-size" => UAGB_Helper::get_css_value( $attr["fontSize"], $attr["fontSizeType"] ),
4431
- "line-height" => UAGB_Helper::get_css_value( $attr["lineHeight"], $attr["lineHeightType"] ),
4432
- "font-family" => $attr["fontFamily"],
4433
- "font-weight" => $attr["fontWeight"],
4434
- "color" => $attr["linkColor"],
4435
- ),
4436
- " .uagb-toc__title" => array(
4437
- "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSize"], $attr["headingFontSizeType"] ),
4438
- "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeight"], $attr["headingLineHeightType"] ),
4439
- "font-family" => $attr["headingFontFamily"],
4440
- "font-weight" => $attr["headingFontWeight"],
4441
- "color" => $attr["headingColor"],
4442
- "margin-bottom" => UAGB_Helper::get_css_value( $attr["headingBottom"], "px"),
4443
- ),
4444
- " .uagb-toc__wrap" => array(
4445
- "border-style" => $attr["borderStyle"],
4446
- "border-width" => UAGB_Helper::get_css_value( $attr["borderWidth"], "px" ),
4447
- "border-color" => $attr["borderColor"],
4448
- "border-radius" => UAGB_Helper::get_css_value( $attr["borderRadius"], "px" ),
4449
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPadding"], "px" ),
4450
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPadding"], "px" ),
4451
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPadding"], "px" ),
4452
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPadding"], "px" ),
4453
- "background" => $attr["backgroundColor"],
4454
- ),
4455
- );
4456
-
4457
- if ( $attr["customWidth"] ) {
4458
- $selectors[" .uagb-toc__wrap"]["width"] = UAGB_Helper::get_css_value( $attr["width"], $attr["widthType"] );
4459
- }
4460
-
4461
-
4462
- $m_selectors = array(
4463
- ' .uagb-toc__list-wrap ul li a' => array(
4464
- 'font-size' => UAGB_Helper::get_css_value( $attr['fontSizeMobile'], $attr['fontSizeType'] ),
4465
- 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightMobile'], $attr['lineHeightType'] ),
4466
- ),
4467
- " .uagb-toc__title" => array(
4468
- "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSizeMobile"], $attr["headingFontSizeType"] ),
4469
- "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeightMobile"], $attr["headingLineHeightType"] ),
4470
- ),
4471
-
4472
- );
4473
-
4474
- $t_selectors = array(
4475
- ' .uagb-toc__list-wrap ul li a' => array(
4476
- 'font-size' => UAGB_Helper::get_css_value( $attr['fontSizeTablet'], $attr['fontSizeType'] ),
4477
- 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightTablet'], $attr['lineHeightType'] ),
4478
- ),
4479
- " .uagb-toc__title" => array(
4480
- "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSizeTablet"], $attr["headingFontSizeType"] ),
4481
- "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeightTablet"], $attr["headingLineHeightType"] ),
4482
- ),
4483
-
4484
- );
4485
-
4486
- // @codingStandardsIgnoreEnd
4487
-
4488
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-toc-' . $id );
4489
-
4490
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-toc-' . $id );
4491
-
4492
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-toc-' . $id );
4493
-
4494
- if ( '' != $attr['scrollToTopColor'] ) {
4495
- $desktop .= '.uagb-toc__scroll-top { color: ' . $attr['scrollToTopColor'] . '; }';
4496
- }
4497
-
4498
- if ( '' != $attr['scrollToTopBgColor'] ) {
4499
- $desktop .= '.uagb-toc__scroll-top { background: ' . $attr['scrollToTopBgColor'] . '; }';
4500
- }
4501
-
4502
- $generated_css = array(
4503
- 'desktop' => $desktop,
4504
- 'tablet' => $tablet,
4505
- 'mobile' => $mobile,
4506
- );
4507
-
4508
- return $generated_css;
4509
- }
4510
-
4511
-
4512
- /**
4513
- * Get Testimonial Js
4514
- *
4515
- * @since 1.6.0
4516
- * @param array $attr The block attributes.
4517
- * @param string $id The selector ID.
4518
- */
4519
- public static function get_testimonial_js( $attr, $id ) { // @codingStandardsIgnoreStart.
4520
-
4521
- $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
4522
-
4523
- $attr = array_merge( $defaults, (array) $attr );
4524
-
4525
- $dots = ( "dots" == $attr['arrowDots'] || "arrowDots" == $attr['arrowDots'] ) ? true : false;
4526
- $arrows = ( "arrows" == $attr['arrowDots'] || "arrowDots" == $attr['arrowDots'] ) ? true : false;
4527
-
4528
- $slick_options = [
4529
- 'slidesToShow' => $attr['columns'],
4530
- 'slidesToScroll' => 1,
4531
- 'autoplaySpeed' => $attr['autoplaySpeed'],
4532
- 'autoplay' => $attr['autoplay'],
4533
- 'infinite' => $attr['infiniteLoop'],
4534
- 'pauseOnHover' => $attr['pauseOnHover'],
4535
- 'speed' => $attr['transitionSpeed'],
4536
- 'arrows' => $arrows,
4537
- 'dots' => $dots,
4538
- 'rtl' => false,
4539
- 'prevArrow' => '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button" style="border-color: '.$attr["arrowColor"].';border-radius:'.$attr["arrowBorderRadius"].'px;border-width:'.$attr["arrowBorderSize"].'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="'.$attr["arrowSize"].'" width = "'.$attr["arrowSize"].'" fill ="'.$attr["arrowColor"].'" ><path d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></button>',
4540
- 'nextArrow' => '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button" style="border-color: '.$attr["arrowColor"].';border-radius:'.$attr["arrowBorderRadius"].'px;border-width:'.$attr["arrowBorderSize"].'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="'.$attr["arrowSize"].'" width = "'.$attr["arrowSize"].'" fill ="'.$attr["arrowColor"].'" ><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></button>',
4541
- 'responsive' => [
4542
- [
4543
- 'breakpoint' => 1024,
4544
- 'settings' => [
4545
- 'slidesToShow' => $attr['tcolumns'],
4546
- 'slidesToScroll' => 1,
4547
- ],
4548
- ],
4549
- [
4550
- 'breakpoint' => 767,
4551
- 'settings' => [
4552
- 'slidesToShow' => $attr['mcolumns'],
4553
- 'slidesToScroll' => 1,
4554
- ],
4555
- ]
4556
- ]
4557
- ];
4558
-
4559
- $settings = json_encode($slick_options);
4560
- $selector = '#uagb-testimonial-'. $id;
4561
- ?>
4562
- if( jQuery( ".wp-block-uagb-testimonial" ).length > 0 ){
4563
- return true
4564
- } else {
4565
- jQuery( "<?php echo $selector ?>" ).find( ".is-carousel" ).slick( <?php echo $settings ?> );
4566
- }
4567
- <?php
4568
- // @codingStandardsIgnoreEnd.
4569
- }
4570
-
4571
- /**
4572
- * Get Blockquote Js
4573
- *
4574
- * @since 1.8.2
4575
- * @param array $attr The block attributes.
4576
- * @param string $id The selector ID.
4577
- */
4578
- public static function get_blockquote_js( $attr, $id ) {
4579
- // @codingStandardsIgnoreStart.
4580
-
4581
- $defaults = UAGB_Helper::$block_list['uagb/blockquote']['attributes'];
4582
-
4583
- $attr = array_merge( $defaults, (array) $attr );
4584
-
4585
- $target = $attr['iconTargetUrl'];
4586
-
4587
- $url = " " ;
4588
-
4589
- if( $target == 'current' ){
4590
- global $wp;
4591
- $url = home_url(add_query_arg(array(),$wp->request));
4592
- }else{
4593
- $url = $attr['customUrl'];
4594
- }
4595
-
4596
- $via = isset( $attr['iconShareVia'] ) ? $attr['iconShareVia'] : '';
4597
-
4598
- $selector = '#uagb-blockquote-'. $id;
4599
-
4600
- ?>
4601
- jQuery( "<?php echo $selector ?>" ).find( ".uagb-blockquote__tweet-button" ).click(function(){
4602
- var content = jQuery("<?php echo $selector ?>").find(".uagb-blockquote__content").text();
4603
- var request_url = "https://twitter.com/share?url="+ encodeURIComponent("<?php echo $url ?>")+"&text="+content+"&via="+("<?php echo $via;?>");
4604
- window.open( request_url );
4605
- });
4606
- <?php
4607
-
4608
- // @codingStandardsIgnoreEnd.
4609
- }
4610
-
4611
- /**
4612
- * Get Social Share JS
4613
- *
4614
- * @since 1.8.1
4615
- * @param string $id The selector ID.
4616
- */
4617
- public static function get_social_share_js( $id ) {
4618
- $selector = '#uagb-social-share-' . $id;
4619
- ?>
4620
- jQuery( "<?php echo $selector; ?>" ).find( ".uagb-ss__link" ).click(function(){
4621
- var social_url = jQuery( this ).data( "href" );
4622
- var target = "";
4623
- if( social_url == "mailto:?body=" ){
4624
- target = "_self";
4625
- }
4626
- var request_url = social_url + window.location.href ;
4627
- window.open( request_url,target );
4628
- });
4629
- <?php
4630
- }
4631
-
4632
- /**
4633
- * Get Table of Contents Js
4634
- *
4635
- * @since x.x.x
4636
- * @param array $attr The block attributes.
4637
- * @param string $id The selector ID.
4638
- */
4639
- public static function get_table_of_contents_js( $attr, $id ) {
4640
- // @codingStandardsIgnoreStart.
4641
-
4642
- $defaults = UAGB_Helper::$block_list['uagb/table-of-contents']['attributes'];
4643
-
4644
- $attr = array_merge( $defaults, (array) $attr );
4645
-
4646
- $selector = '#uagb-toc-'. $id;
4647
- ?>
4648
- jQuery( document ).ready(function() {
4649
- UAGBTableOfContents._run( <?php echo json_encode( $attr ); ?>, '<?php echo $selector; ?>' );
4650
- })
4651
- <?php
4652
-
4653
- // @codingStandardsIgnoreEnd.
4654
- }
4655
-
4656
- /**
4657
- * Adds Google fonts for Advanced Heading block.
4658
- *
4659
- * @since 1.9.1
4660
- * @param array $attr the blocks attr.
4661
- */
4662
- public static function blocks_advanced_heading_gfont( $attr ) {
4663
-
4664
- $head_load_google_font = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
4665
- $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
4666
- $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
4667
- $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
4668
-
4669
- $subhead_load_google_font = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
4670
- $subhead_font_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
4671
- $subhead_font_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
4672
- $subhead_font_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
4673
-
4674
- UAGB_Helper::blocks_google_font( $head_load_google_font, $head_font_family, $head_font_weight, $head_font_subset );
4675
- UAGB_Helper::blocks_google_font( $subhead_load_google_font, $subhead_font_family, $subhead_font_weight, $subhead_font_subset );
4676
- }
4677
-
4678
-
4679
- /**
4680
- * Adds Google fonts for CF7 Styler block.
4681
- *
4682
- * @since 1.10.0
4683
- * @param array $attr the blocks attr.
4684
- */
4685
- public static function blocks_cf7_styler_gfont( $attr ) {
4686
-
4687
- $label_load_google_font = isset( $attr['labelLoadGoogleFonts'] ) ? $attr['labelLoadGoogleFonts'] : '';
4688
- $label_font_family = isset( $attr['labelFontFamily'] ) ? $attr['labelFontFamily'] : '';
4689
- $label_font_weight = isset( $attr['labelFontWeight'] ) ? $attr['labelFontWeight'] : '';
4690
- $label_font_subset = isset( $attr['labelFontSubset'] ) ? $attr['labelFontSubset'] : '';
4691
-
4692
- $input_load_google_font = isset( $attr['inputLoadGoogleFonts'] ) ? $attr['inputLoadGoogleFonts'] : '';
4693
- $input_font_family = isset( $attr['inputFontFamily'] ) ? $attr['inputFontFamily'] : '';
4694
- $input_font_weight = isset( $attr['inputFontWeight'] ) ? $attr['inputFontWeight'] : '';
4695
- $input_font_subset = isset( $attr['inputFontSubset'] ) ? $attr['inputFontSubset'] : '';
4696
-
4697
- $radio_check_load_google_font = isset( $attr['radioCheckLoadGoogleFonts'] ) ? $attr['radioCheckLoadGoogleFonts'] : '';
4698
- $radio_check_font_family = isset( $attr['radioCheckFontFamily'] ) ? $attr['radioCheckFontFamily'] : '';
4699
- $radio_check_font_weight = isset( $attr['radioCheckFontWeight'] ) ? $attr['radioCheckFontWeight'] : '';
4700
- $radio_check_font_subset = isset( $attr['radioCheckFontSubset'] ) ? $attr['radioCheckFontSubset'] : '';
4701
-
4702
- $button_load_google_font = isset( $attr['buttonLoadGoogleFonts'] ) ? $attr['buttonLoadGoogleFonts'] : '';
4703
- $button_font_family = isset( $attr['buttonFontFamily'] ) ? $attr['buttonFontFamily'] : '';
4704
- $button_font_weight = isset( $attr['buttonFontWeight'] ) ? $attr['buttonFontWeight'] : '';
4705
- $button_font_subset = isset( $attr['buttonFontSubset'] ) ? $attr['buttonFontSubset'] : '';
4706
-
4707
- $msg_font_load_google_font = isset( $attr['msgLoadGoogleFonts'] ) ? $attr['msgLoadGoogleFonts'] : '';
4708
- $msg_font_family = isset( $attr['msgFontFamily'] ) ? $attr['msgFontFamily'] : '';
4709
- $msg_font_weight = isset( $attr['msgFontWeight'] ) ? $attr['msgFontWeight'] : '';
4710
- $msg_font_subset = isset( $attr['msgFontSubset'] ) ? $attr['msgFontSubset'] : '';
4711
-
4712
- $validation_msg_load_google_font = isset( $attr['validationMsgLoadGoogleFonts'] ) ? $attr['validationMsgLoadGoogleFonts'] : '';
4713
- $validation_msg_font_family = isset( $attr['validationMsgFontFamily'] ) ? $attr['validationMsgFontFamily'] : '';
4714
- $validation_msg_font_weight = isset( $attr['validationMsgFontWeight'] ) ? $attr['validationMsgFontWeight'] : '';
4715
- $validation_msg_font_subset = isset( $attr['validationMsgFontSubset'] ) ? $attr['validationMsgFontSubset'] : '';
4716
-
4717
- UAGB_Helper::blocks_google_font( $msg_font_load_google_font, $msg_font_family, $msg_font_weight, $msg_font_subset );
4718
- UAGB_Helper::blocks_google_font( $validation_msg_load_google_font, $validation_msg_font_family, $validation_msg_font_weight, $validation_msg_font_subset );
4719
-
4720
- UAGB_Helper::blocks_google_font( $radio_check_load_google_font, $radio_check_font_family, $radio_check_font_weight, $radio_check_font_subset );
4721
- UAGB_Helper::blocks_google_font( $button_load_google_font, $button_font_family, $button_font_weight, $button_font_subset );
4722
-
4723
- UAGB_Helper::blocks_google_font( $label_load_google_font, $label_font_family, $label_font_weight, $label_font_subset );
4724
- UAGB_Helper::blocks_google_font( $input_load_google_font, $input_font_family, $input_font_weight, $input_font_subset );
4725
- }
4726
-
4727
-
4728
- /**
4729
- * Adds Google fonts for Gravity Form Styler block.
4730
- *
4731
- * @since 1.12.0
4732
- * @param array $attr the blocks attr.
4733
- */
4734
- public static function blocks_gf_styler_gfont( $attr ) {
4735
-
4736
- $label_load_google_font = isset( $attr['labelLoadGoogleFonts'] ) ? $attr['labelLoadGoogleFonts'] : '';
4737
- $label_font_family = isset( $attr['labelFontFamily'] ) ? $attr['labelFontFamily'] : '';
4738
- $label_font_weight = isset( $attr['labelFontWeight'] ) ? $attr['labelFontWeight'] : '';
4739
- $label_font_subset = isset( $attr['labelFontSubset'] ) ? $attr['labelFontSubset'] : '';
4740
-
4741
- $input_load_google_font = isset( $attr['inputLoadGoogleFonts'] ) ? $attr['inputLoadGoogleFonts'] : '';
4742
- $input_font_family = isset( $attr['inputFontFamily'] ) ? $attr['inputFontFamily'] : '';
4743
- $input_font_weight = isset( $attr['inputFontWeight'] ) ? $attr['inputFontWeight'] : '';
4744
- $input_font_subset = isset( $attr['inputFontSubset'] ) ? $attr['inputFontSubset'] : '';
4745
-
4746
- $radio_check_load_google_font = isset( $attr['radioCheckLoadGoogleFonts'] ) ? $attr['radioCheckLoadGoogleFonts'] : '';
4747
- $radio_check_font_family = isset( $attr['radioCheckFontFamily'] ) ? $attr['radioCheckFontFamily'] : '';
4748
- $radio_check_font_weight = isset( $attr['radioCheckFontWeight'] ) ? $attr['radioCheckFontWeight'] : '';
4749
- $radio_check_font_subset = isset( $attr['radioCheckFontSubset'] ) ? $attr['radioCheckFontSubset'] : '';
4750
-
4751
- $button_load_google_font = isset( $attr['buttonLoadGoogleFonts'] ) ? $attr['buttonLoadGoogleFonts'] : '';
4752
- $button_font_family = isset( $attr['buttonFontFamily'] ) ? $attr['buttonFontFamily'] : '';
4753
- $button_font_weight = isset( $attr['buttonFontWeight'] ) ? $attr['buttonFontWeight'] : '';
4754
- $button_font_subset = isset( $attr['buttonFontSubset'] ) ? $attr['buttonFontSubset'] : '';
4755
-
4756
- $msg_font_load_google_font = isset( $attr['msgLoadGoogleFonts'] ) ? $attr['msgLoadGoogleFonts'] : '';
4757
- $msg_font_family = isset( $attr['msgFontFamily'] ) ? $attr['msgFontFamily'] : '';
4758
- $msg_font_weight = isset( $attr['msgFontWeight'] ) ? $attr['msgFontWeight'] : '';
4759
- $msg_font_subset = isset( $attr['msgFontSubset'] ) ? $attr['msgFontSubset'] : '';
4760
-
4761
- $validation_msg_load_google_font = isset( $attr['validationMsgLoadGoogleFonts'] ) ? $attr['validationMsgLoadGoogleFonts'] : '';
4762
- $validation_msg_font_family = isset( $attr['validationMsgFontFamily'] ) ? $attr['validationMsgFontFamily'] : '';
4763
- $validation_msg_font_weight = isset( $attr['validationMsgFontWeight'] ) ? $attr['validationMsgFontWeight'] : '';
4764
- $validation_msg_font_subset = isset( $attr['validationMsgFontSubset'] ) ? $attr['validationMsgFontSubset'] : '';
4765
-
4766
- UAGB_Helper::blocks_google_font( $msg_font_load_google_font, $msg_font_family, $msg_font_weight, $msg_font_subset );
4767
- UAGB_Helper::blocks_google_font( $validation_msg_load_google_font, $validation_msg_font_family, $validation_msg_font_weight, $validation_msg_font_subset );
4768
-
4769
- UAGB_Helper::blocks_google_font( $radio_check_load_google_font, $radio_check_font_family, $radio_check_font_weight, $radio_check_font_subset );
4770
- UAGB_Helper::blocks_google_font( $button_load_google_font, $button_font_family, $button_font_weight, $button_font_subset );
4771
-
4772
- UAGB_Helper::blocks_google_font( $label_load_google_font, $label_font_family, $label_font_weight, $label_font_subset );
4773
- UAGB_Helper::blocks_google_font( $input_load_google_font, $input_font_family, $input_font_weight, $input_font_subset );
4774
- }
4775
-
4776
- /**
4777
- * Adds Google fonts for Marketing Button block.
4778
- *
4779
- * @since 1.11.0
4780
- * @param array $attr the blocks attr.
4781
- */
4782
- public static function blocks_marketing_btn_gfont( $attr ) {
4783
-
4784
- $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
4785
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
4786
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
4787
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
4788
-
4789
- $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
4790
- $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
4791
- $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
4792
- $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
4793
-
4794
- UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
4795
- UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
4796
- }
4797
-
4798
- /**
4799
- * Adds Google fonts for Table Of Contents block.
4800
- *
4801
- * @since x.x.x
4802
- * @param array $attr the blocks attr.
4803
- */
4804
- public static function blocks_table_of_contents_gfont( $attr ) {
4805
-
4806
- $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
4807
- $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
4808
- $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
4809
- $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
4810
-
4811
- $heading_load_google_font = isset( $attr['headingLoadGoogleFonts'] ) ? $attr['headingLoadGoogleFonts'] : '';
4812
- $heading_font_family = isset( $attr['headingFontFamily'] ) ? $attr['headingFontFamily'] : '';
4813
- $heading_font_weight = isset( $attr['headingFontWeight'] ) ? $attr['headingFontWeight'] : '';
4814
- $heading_font_subset = isset( $attr['headingFontSubset'] ) ? $attr['headingFontSubset'] : '';
4815
-
4816
- UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
4817
- UAGB_Helper::blocks_google_font( $heading_load_google_font, $heading_font_family, $heading_font_weight, $heading_font_subset );
4818
- }
4819
-
4820
- /**
4821
- * Adds Google fonts for Blockquote.
4822
- *
4823
- * @since 1.9.1
4824
- * @param array $attr the blocks attr.
4825
- */
4826
- public static function blocks_blockquote_gfont( $attr ) {
4827
-
4828
- $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4829
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4830
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4831
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4832
-
4833
- $author_load_google_font = isset( $attr['authorLoadGoogleFonts'] ) ? $attr['authorLoadGoogleFonts'] : '';
4834
- $author_font_family = isset( $attr['authorFontFamily'] ) ? $attr['authorFontFamily'] : '';
4835
- $author_font_weight = isset( $attr['authorFontWeight'] ) ? $attr['authorFontWeight'] : '';
4836
- $author_font_subset = isset( $attr['authorFontSubset'] ) ? $attr['authorFontSubset'] : '';
4837
-
4838
- $tweet_btn_load_google_font = isset( $attr['tweetBtnLoadGoogleFonts'] ) ? $attr['tweetBtnLoadGoogleFonts'] : '';
4839
- $tweet_btn_font_family = isset( $attr['tweetBtnFontFamily'] ) ? $attr['tweetBtnFontFamily'] : '';
4840
- $tweet_btn_font_weight = isset( $attr['tweetBtnFontWeight'] ) ? $attr['tweetBtnFontWeight'] : '';
4841
- $tweet_btn_font_subset = isset( $attr['tweetBtnFontSubset'] ) ? $attr['tweetBtnFontSubset'] : '';
4842
-
4843
- UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
4844
- UAGB_Helper::blocks_google_font( $author_load_google_font, $author_font_family, $author_font_weight, $author_font_subset );
4845
- UAGB_Helper::blocks_google_font( $tweet_btn_load_google_font, $tweet_btn_font_family, $tweet_btn_font_weight, $tweet_btn_font_subset );
4846
- }
4847
-
4848
- /**
4849
- * Adds Google fonts for Testimonial block.
4850
- *
4851
- * @since 1.9.1
4852
- * @param array $attr the blocks attr.
4853
- */
4854
- public static function blocks_testimonial_gfont( $attr ) {
4855
- $desc_load_google_fonts = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4856
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4857
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4858
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4859
-
4860
- $name_load_google_fonts = isset( $attr['nameLoadGoogleFonts'] ) ? $attr['nameLoadGoogleFonts'] : '';
4861
- $name_font_family = isset( $attr['nameFontFamily'] ) ? $attr['nameFontFamily'] : '';
4862
- $name_font_weight = isset( $attr['nameFontWeight'] ) ? $attr['nameFontWeight'] : '';
4863
- $name_font_subset = isset( $attr['nameFontSubset'] ) ? $attr['nameFontSubset'] : '';
4864
-
4865
- $company_load_google_fonts = isset( $attr['companyLoadGoogleFonts'] ) ? $attr['companyLoadGoogleFonts'] : '';
4866
- $company_font_family = isset( $attr['companyFontFamily'] ) ? $attr['companyFontFamily'] : '';
4867
- $company_font_weight = isset( $attr['companyFontWeight'] ) ? $attr['companyFontWeight'] : '';
4868
- $company_font_subset = isset( $attr['companyFontSubset'] ) ? $attr['companyFontSubset'] : '';
4869
-
4870
- UAGB_Helper::blocks_google_font( $desc_load_google_fonts, $desc_font_family, $desc_font_weight, $desc_font_subset );
4871
- UAGB_Helper::blocks_google_font( $name_load_google_fonts, $name_font_family, $name_font_family, $name_font_subset );
4872
- UAGB_Helper::blocks_google_font( $company_load_google_fonts, $company_font_family, $company_font_family, $company_font_subset );
4873
- }
4874
-
4875
- /**
4876
- * Adds Google fonts for Advanced Heading block.
4877
- *
4878
- * @since 1.9.1
4879
- * @param array $attr the blocks attr.
4880
- */
4881
- public static function blocks_team_gfont( $attr ) {
4882
-
4883
- $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
4884
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
4885
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
4886
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
4887
-
4888
- $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
4889
- $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
4890
- $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
4891
- $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
4892
-
4893
- $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4894
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4895
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4896
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4897
-
4898
- UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
4899
- UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
4900
- UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
4901
- }
4902
-
4903
- /**
4904
- *
4905
- * Adds Google fonts for Restaurant Menu block.
4906
- *
4907
- * @since 1.9.1
4908
- * @param array $attr the blocks attr.
4909
- */
4910
- public static function blocks_restaurant_menu_gfont( $attr ) {
4911
- $title_load_google_fonts = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
4912
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
4913
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
4914
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
4915
-
4916
- $price_load_google_fonts = isset( $attr['priceLoadGoogleFonts'] ) ? $attr['priceLoadGoogleFonts'] : '';
4917
- $price_font_family = isset( $attr['priceFontFamily'] ) ? $attr['priceFontFamily'] : '';
4918
- $price_font_weight = isset( $attr['priceFontWeight'] ) ? $attr['priceFontWeight'] : '';
4919
- $price_font_subset = isset( $attr['priceFontSubset'] ) ? $attr['priceFontSubset'] : '';
4920
-
4921
- $desc_load_google_fonts = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4922
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4923
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4924
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4925
-
4926
- UAGB_Helper::blocks_google_font( $title_load_google_fonts, $title_font_family, $title_font_weight, $title_font_subset );
4927
- UAGB_Helper::blocks_google_font( $price_load_google_fonts, $price_font_family, $price_font_weight, $price_font_subset );
4928
- UAGB_Helper::blocks_google_font( $desc_load_google_fonts, $desc_font_family, $desc_font_weight, $desc_font_subset );
4929
- }
4930
-
4931
- /**
4932
- * Adds Google fonts for Content Timeline block.
4933
- *
4934
- * @since 1.9.1
4935
- * @param array $attr the blocks attr.
4936
- */
4937
- public static function blocks_content_timeline_gfont( $attr ) {
4938
- $head_load_google_fonts = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
4939
- $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
4940
- $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
4941
- $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
4942
-
4943
- $subheadload_google_fonts = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
4944
- $subheadfont_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
4945
- $subheadfont_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
4946
- $subheadfont_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
4947
-
4948
- $date_load_google_fonts = isset( $attr['dateLoadGoogleFonts'] ) ? $attr['dateLoadGoogleFonts'] : '';
4949
- $date_font_family = isset( $attr['dateFontFamily'] ) ? $attr['dateFontFamily'] : '';
4950
- $date_font_weight = isset( $attr['dateFontWeight'] ) ? $attr['dateFontWeight'] : '';
4951
- $date_font_subset = isset( $attr['dateFontSubset'] ) ? $attr['dateFontSubset'] : '';
4952
-
4953
- UAGB_Helper::blocks_google_font( $head_load_google_fonts, $head_font_family, $head_font_weight, $head_font_subset );
4954
- UAGB_Helper::blocks_google_font( $subheadload_google_fonts, $subheadfont_family, $subheadfont_weight, $subheadfont_subset );
4955
- UAGB_Helper::blocks_google_font( $date_load_google_fonts, $date_font_family, $date_font_weight, $date_font_subset );
4956
- }
4957
-
4958
- /**
4959
- * Adds Google fonts for Post Timeline block.
4960
- *
4961
- * @since 1.9.1
4962
- * @param array $attr the blocks attr.
4963
- */
4964
- public static function blocks_post_timeline_gfont( $attr ) {
4965
- self::blocks_content_timeline_gfont( $attr );
4966
-
4967
- $author_load_google_fonts = isset( $attr['authorLoadGoogleFonts'] ) ? $attr['authorLoadGoogleFonts'] : '';
4968
- $author_font_family = isset( $attr['authorFontFamily'] ) ? $attr['authorFontFamily'] : '';
4969
- $author_font_weight = isset( $attr['authorFontWeight'] ) ? $attr['authorFontWeight'] : '';
4970
- $author_font_subset = isset( $attr['authorFontSubset'] ) ? $attr['authorFontSubset'] : '';
4971
-
4972
- $cta_load_google_fonts = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
4973
- $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
4974
- $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
4975
- $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
4976
-
4977
- UAGB_Helper::blocks_google_font( $author_load_google_fonts, $author_font_family, $author_font_weight, $author_font_subset );
4978
- UAGB_Helper::blocks_google_font( $cta_load_google_fonts, $cta_font_family, $cta_font_weight, $cta_font_subset );
4979
- }
4980
-
4981
- /**
4982
- * Adds Google fonts for Mulit Button's block.
4983
- *
4984
- * @since 1.9.1
4985
- * @param array $attr the blocks attr.
4986
- */
4987
- public static function blocks_buttons_gfont( $attr ) {
4988
-
4989
- $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
4990
- $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
4991
- $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
4992
- $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
4993
-
4994
- UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
4995
- }
4996
-
4997
- /**
4998
- * Adds Google fonts for Icon List block
4999
- *
5000
- * @since 1.9.1
5001
- * @param array $attr the blocks attr.
5002
- */
5003
- public static function blocks_icon_list_gfont( $attr ) {
5004
-
5005
- $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
5006
- $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
5007
- $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
5008
- $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
5009
-
5010
- UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
5011
- }
5012
-
5013
- /**
5014
- * Adds Google fonts for Post block.
5015
- *
5016
- * @since 1.9.1
5017
- * @param array $attr the blocks attr.
5018
- */
5019
- public static function blocks_post_gfont( $attr ) {
5020
-
5021
- $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5022
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5023
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5024
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5025
-
5026
- $meta_load_google_font = isset( $attr['metaLoadGoogleFonts'] ) ? $attr['metaLoadGoogleFonts'] : '';
5027
- $meta_font_family = isset( $attr['metaFontFamily'] ) ? $attr['metaFontFamily'] : '';
5028
- $meta_font_weight = isset( $attr['metaFontWeight'] ) ? $attr['metaFontWeight'] : '';
5029
- $meta_font_subset = isset( $attr['metaFontSubset'] ) ? $attr['metaFontSubset'] : '';
5030
-
5031
- $excerpt_load_google_font = isset( $attr['excerptLoadGoogleFonts'] ) ? $attr['excerptLoadGoogleFonts'] : '';
5032
- $excerpt_font_family = isset( $attr['excerptFontFamily'] ) ? $attr['excerptFontFamily'] : '';
5033
- $excerpt_font_weight = isset( $attr['excerptFontWeight'] ) ? $attr['excerptFontWeight'] : '';
5034
- $excerpt_font_subset = isset( $attr['excerptFontSubset'] ) ? $attr['excerptFontSubset'] : '';
5035
-
5036
- $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5037
- $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5038
- $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5039
- $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5040
-
5041
- UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5042
-
5043
- UAGB_Helper::blocks_google_font( $meta_load_google_font, $meta_font_family, $meta_font_weight, $meta_font_subset );
5044
-
5045
- UAGB_Helper::blocks_google_font( $excerpt_load_google_font, $excerpt_font_family, $excerpt_font_weight, $excerpt_font_subset );
5046
-
5047
- UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5048
- }
5049
-
5050
- /**
5051
- * Adds Google fonts for Advanced Heading block.
5052
- *
5053
- * @since 1.9.1
5054
- * @param array $attr the blocks attr.
5055
- */
5056
- public static function blocks_info_box_gfont( $attr ) {
5057
-
5058
- $head_load_google_font = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
5059
- $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
5060
- $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
5061
- $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
5062
-
5063
- $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
5064
- $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
5065
- $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
5066
- $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
5067
-
5068
- $subhead_load_google_font = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
5069
- $subhead_font_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
5070
- $subhead_font_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
5071
- $subhead_font_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
5072
-
5073
- $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5074
- $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5075
- $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5076
- $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5077
-
5078
- UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5079
- UAGB_Helper::blocks_google_font( $head_load_google_font, $head_font_family, $head_font_weight, $head_font_subset );
5080
- UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
5081
- UAGB_Helper::blocks_google_font( $subhead_load_google_font, $subhead_font_family, $subhead_font_weight, $subhead_font_subset );
5082
- }
5083
-
5084
- /**
5085
- * Adds Google fonts for Call To Action block.
5086
- *
5087
- * @since 1.9.1
5088
- * @param array $attr the blocks attr.
5089
- */
5090
- public static function blocks_call_to_action_gfont( $attr ) {
5091
-
5092
- $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5093
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5094
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5095
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5096
-
5097
- $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5098
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5099
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5100
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5101
-
5102
- $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5103
- $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5104
- $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5105
- $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5106
-
5107
- UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5108
- UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5109
- UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
5110
- }
5111
- }
5112
- }
1
+ <?php
2
+ /**
3
+ * UAGB Block Helper.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
9
+
10
+ /**
11
+ * Class UAGB_Block_Helper.
12
+ */
13
+ class UAGB_Block_Helper {
14
+
15
+ /**
16
+ * Get Section Block CSS
17
+ *
18
+ * @since 0.0.1
19
+ * @param array $attr The block attributes.
20
+ * @param string $id The selector ID.
21
+ * @return array The Widget List.
22
+ */
23
+ public static function get_section_css( $attr, $id ) { // @codingStandardsIgnoreStart
24
+
25
+ global $content_width;
26
+
27
+ $defaults = UAGB_Helper::$block_list['uagb/section']['attributes'];
28
+
29
+ $attr = array_merge( $defaults, $attr );
30
+
31
+ $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
32
+
33
+ $style = array(
34
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], 'px' ),
35
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], 'px' ),
36
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], 'px' ),
37
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], 'px' ),
38
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' )
39
+ );
40
+
41
+ $m_selectors = array();
42
+ $t_selectors = array();
43
+
44
+ if ( 'right' == $attr['align'] ) {
45
+ $style['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMargin'], 'px' );
46
+ $style['margin-left'] = 'auto';
47
+ $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], 'px' );
48
+ $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], 'px' );
49
+ } elseif ( 'left' == $attr['align'] ) {
50
+ $style['margin-right'] = 'auto';
51
+ $style['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMargin'], 'px' );
52
+ $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], 'px' );
53
+ $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], 'px' );
54
+ } elseif ( 'center' == $attr['align'] ) {
55
+ $style['margin-right'] = 'auto';
56
+ $style['margin-left'] = 'auto';
57
+ $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], 'px' );
58
+ $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], 'px' );
59
+ } else {
60
+ $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], 'px' );
61
+ $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], 'px' );
62
+ }
63
+
64
+ if ( "none" != $attr['borderStyle'] ) {
65
+ $style["border-style"] = $attr['borderStyle'];
66
+ $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
67
+ $style["border-color"] = $attr['borderColor'];
68
+ }
69
+
70
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
71
+
72
+ $section_width = '100%';
73
+
74
+ if ( isset( $attr['contentWidth'] ) ) {
75
+
76
+ if ( 'boxed' == $attr['contentWidth'] ) {
77
+ if ( isset( $attr['width'] ) ) {
78
+ $section_width = UAGB_Helper::get_css_value( $attr['width'], 'px' );
79
+ }
80
+ }
81
+ }
82
+
83
+ if ( 'wide' != $attr['align'] && 'full' != $attr['align'] ) {
84
+ $style['max-width'] = $section_width;
85
+ }
86
+
87
+ if ( 'image' === $bg_type ) {
88
+
89
+ $style['background-image'] = ( isset( $attr['backgroundImage'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
90
+ $style['background-position'] = $position;
91
+ $style['background-attachment'] = $attr['backgroundAttachment'];
92
+ $style['background-repeat'] = $attr['backgroundRepeat'];
93
+ $style['background-size'] = $attr['backgroundSize'];
94
+
95
+ }
96
+
97
+ $inner_width = '100%';
98
+
99
+ if ( isset( $attr['contentWidth'] ) ) {
100
+ if ( 'boxed' != $attr['contentWidth'] ) {
101
+ if ( isset( $attr['themeWidth'] ) && $attr['themeWidth'] == true ) {
102
+ $inner_width = $content_width . 'px';
103
+ } else {
104
+ if ( isset( $attr['innerWidth'] ) ) {
105
+ $inner_width = UAGB_Helper::get_css_value( $attr['innerWidth'], 'px' );
106
+ }
107
+ }
108
+ }
109
+ }
110
+
111
+ $selectors = array(
112
+ '.uagb-section__wrap' => $style,
113
+ ' > .uagb-section__video-wrap' => array(
114
+ 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
115
+ ),
116
+ ' > .uagb-section__inner-wrap' => array(
117
+ 'max-width' => $inner_width,
118
+ ),
119
+ );
120
+
121
+ if ( 'video' == $bg_type ) {
122
+ $selectors[' > .uagb-section__overlay'] = array(
123
+ 'opacity' => 1,
124
+ 'background-color' => $attr['backgroundVideoColor'],
125
+ );
126
+ } else if ( 'image' == $bg_type ) {
127
+ $selectors[' > .uagb-section__overlay'] = array(
128
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
129
+ 'background-color' => $attr['backgroundImageColor'],
130
+ );
131
+ } else if ( 'color' == $bg_type ) {
132
+ $selectors[' > .uagb-section__overlay'] = array(
133
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
134
+ 'background-color' => $attr['backgroundColor'],
135
+ );
136
+ } else if ( 'gradient' === $bg_type ) {
137
+ $selectors[' > .uagb-section__overlay']['background-color'] = 'transparent';
138
+ $selectors[' > .uagb-section__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
139
+
140
+ if ( 'linear' === $attr['gradientType'] ) {
141
+
142
+ $selectors[' > .uagb-section__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
143
+ } else {
144
+
145
+ $selectors[' > .uagb-section__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
146
+ }
147
+ }
148
+
149
+ $selectors[' > .uagb-section__overlay']["border-radius"] = UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' );
150
+
151
+ $m_selectors = array(
152
+ '.uagb-section__wrap' => array(
153
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], 'px' ),
154
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], 'px' ),
155
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], 'px' ),
156
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], 'px' ),
157
+ )
158
+ );
159
+
160
+ $t_selectors = array(
161
+ '.uagb-section__wrap' => array(
162
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], 'px' ),
163
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], 'px' ),
164
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], 'px' ),
165
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], 'px' ),
166
+ )
167
+ );
168
+
169
+ if ( 'right' == $attr['align'] ) {
170
+ $t_selectors['.uagb-section__wrap']['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMarginTablet'], 'px' );
171
+ $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], 'px' );
172
+ $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], 'px' );
173
+
174
+ $m_selectors['.uagb-section__wrap']['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMarginMobile'], 'px' );
175
+ $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], 'px' );
176
+ $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], 'px' );
177
+ } elseif ( 'left' == $attr['align'] ) {
178
+ $t_selectors['.uagb-section__wrap']['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMarginTablet'], 'px' );
179
+ $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], 'px' );
180
+ $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], 'px' );
181
+
182
+ $m_selectors['.uagb-section__wrap']['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMarginMobile'], 'px' );
183
+ $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], 'px' );
184
+ $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], 'px' );
185
+ } else {
186
+ $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], 'px' );
187
+ $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], 'px' );
188
+
189
+ $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], 'px' );
190
+ $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], 'px' );
191
+ }
192
+
193
+ // @codingStandardsIgnoreEnd
194
+
195
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-section-' . $id );
196
+
197
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-section-' . $id );
198
+
199
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-section-' . $id );
200
+
201
+ $generated_css = array(
202
+ 'desktop' => $desktop,
203
+ 'tablet' => $tablet,
204
+ 'mobile' => $mobile,
205
+ );
206
+
207
+ return $generated_css;
208
+ }
209
+
210
+ /**
211
+ * Get Columns Block CSS
212
+ *
213
+ * @since 1.8.0
214
+ * @param array $attr The block attributes.
215
+ * @param string $id The selector ID.
216
+ * @return array The Widget List.
217
+ */
218
+ public static function get_columns_css( $attr, $id ) { // @codingStandardsIgnoreStart
219
+
220
+ global $content_width;
221
+
222
+ $defaults = UAGB_Helper::$block_list['uagb/columns']['attributes'];
223
+
224
+ $attr = array_merge( $defaults, $attr );
225
+
226
+ $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
227
+
228
+ $m_selectors = array();
229
+ $t_selectors = array();
230
+
231
+ $style = array(
232
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], 'px' ),
233
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], 'px' ),
234
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], 'px' ),
235
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], 'px' ),
236
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMargin'], 'px' ),
237
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMargin'], 'px' ),
238
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
239
+ );
240
+
241
+ if ( "none" != $attr['borderStyle'] ) {
242
+ $style["border-style"] = $attr['borderStyle'];
243
+ $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
244
+ $style["border-color"] = $attr['borderColor'];
245
+ }
246
+
247
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
248
+
249
+ if ( 'image' === $bg_type ) {
250
+
251
+ $style['background-image'] = ( isset( $attr['backgroundImage'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
252
+ $style['background-position'] = $position;
253
+ $style['background-attachment'] = $attr['backgroundAttachment'];
254
+ $style['background-repeat'] = $attr['backgroundRepeat'];
255
+ $style['background-size'] = $attr['backgroundSize'];
256
+
257
+ }
258
+
259
+ $inner_width = '100%';
260
+
261
+ if ( isset( $attr['contentWidth'] ) ) {
262
+ if ( 'theme' == $attr['contentWidth'] ) {
263
+ $inner_width = UAGB_Helper::get_css_value( $content_width, 'px' );
264
+ } else if ( 'custom' == $attr['contentWidth'] ) {
265
+ $inner_width = UAGB_Helper::get_css_value( $attr['width'], 'px' );
266
+ }
267
+ }
268
+
269
+ $selectors = array(
270
+ '.uagb-columns__wrap' => $style,
271
+ ' .uagb-columns__video-wrap' => array(
272
+ 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
273
+ ),
274
+ ' > .uagb-columns__inner-wrap' => array(
275
+ 'max-width' => $inner_width,
276
+ ),
277
+ ' .uagb-column__inner-wrap' => array(
278
+ 'padding' => UAGB_Helper::get_css_value( $attr['columnGap'], 'px' )
279
+ ),
280
+ ' .uagb-columns__shape-top svg' => array(
281
+ 'width' => "calc( " . $attr['topWidth'] . "% + 1.3px )",
282
+ 'height' => UAGB_Helper::get_css_value( $attr['topHeight'], 'px' )
283
+ ),
284
+ ' .uagb-columns__shape-top .uagb-columns__shape-fill' => array(
285
+ 'fill' => $attr['topColor'],
286
+ 'opacity' => ( isset( $attr['topDividerOpacity'] ) && '' != $attr['topDividerOpacity'] ) ? ( ( $attr['topDividerOpacity'] ) / 100 ) : ""
287
+ ),
288
+ ' .uagb-columns__shape-bottom svg' => array(
289
+ 'width' => "calc( " . $attr['bottomWidth'] . "% + 1.3px )",
290
+ 'height' => UAGB_Helper::get_css_value( $attr['bottomHeight'], 'px' )
291
+ ),
292
+ ' .uagb-columns__shape-bottom .uagb-columns__shape-fill' => array(
293
+ 'fill' => $attr['bottomColor'],
294
+ 'opacity' => ( isset( $attr['bottomDividerOpacity'] ) && '' != $attr['bottomDividerOpacity'] ) ? ( ( $attr['bottomDividerOpacity'] ) / 100 ) : ""
295
+ ),
296
+ );
297
+
298
+ if ( 'video' == $bg_type ) {
299
+ $selectors[' > .uagb-columns__overlay'] = array(
300
+ 'opacity' => 1,
301
+ 'background-color' => $attr['backgroundVideoColor'],
302
+ );
303
+ } else if ( 'image' == $bg_type ) {
304
+ $selectors[' > .uagb-columns__overlay'] = array(
305
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
306
+ 'background-color' => $attr['backgroundImageColor'],
307
+ );
308
+ } else if ( 'color' == $bg_type ) {
309
+ $selectors[' > .uagb-columns__overlay'] = array(
310
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
311
+ 'background-color' => $attr['backgroundColor'],
312
+ );
313
+ } elseif ( 'gradient' === $bg_type ) {
314
+ $selectors[' > .uagb-columns__overlay']['background-color'] = 'transparent';
315
+ $selectors[' > .uagb-columns__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
316
+
317
+ if ( 'linear' === $attr['gradientType'] ) {
318
+
319
+ $selectors[' > .uagb-columns__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
320
+ } else {
321
+
322
+ $selectors[' > .uagb-columns__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
323
+ }
324
+ }
325
+
326
+ $selectors[' > .uagb-columns__overlay']["border-radius"] = UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' );
327
+
328
+ $m_selectors = array(
329
+ '.uagb-columns__wrap' => array(
330
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], 'px' ),
331
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], 'px' ),
332
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], 'px' ),
333
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], 'px' ),
334
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginMobile'], 'px' ),
335
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], 'px' ),
336
+ ),
337
+ ' .uagb-columns__shape-bottom svg' => array(
338
+ 'height' => UAGB_Helper::get_css_value( $attr['bottomHeightMobile'], 'px' )
339
+ ),
340
+ ' .uagb-columns__shape-top svg' => array(
341
+ 'height' => UAGB_Helper::get_css_value( $attr['topHeightMobile'], 'px' )
342
+ ),
343
+ );
344
+
345
+ $t_selectors = array(
346
+ '.uagb-columns__wrap' => array(
347
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], 'px' ),
348
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], 'px' ),
349
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], 'px' ),
350
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], 'px' ),
351
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginTablet'], 'px' ),
352
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], 'px' ),
353
+ ),
354
+ ' .uagb-columns__shape-bottom svg' => array(
355
+ 'height' => UAGB_Helper::get_css_value( $attr['bottomHeightTablet'], 'px' )
356
+ ),
357
+ ' .uagb-columns__shape-top svg' => array(
358
+ 'height' => UAGB_Helper::get_css_value( $attr['topHeightTablet'], 'px' )
359
+ ),
360
+ );
361
+
362
+ // @codingStandardsIgnoreEnd
363
+
364
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-columns-' . $id );
365
+
366
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-columns-' . $id );
367
+
368
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-columns-' . $id );
369
+
370
+ $generated_css = array(
371
+ 'desktop' => $desktop,
372
+ 'tablet' => $tablet,
373
+ 'mobile' => $mobile,
374
+ );
375
+
376
+ return $generated_css;
377
+ }
378
+
379
+ /**
380
+ * Get Single Column Block CSS
381
+ *
382
+ * @since 1.8.0
383
+ * @param array $attr The block attributes.
384
+ * @param string $id The selector ID.
385
+ * @return array The Widget List.
386
+ */
387
+ public static function get_column_css( $attr, $id ) { // @codingStandardsIgnoreStart
388
+
389
+ global $content_width;
390
+
391
+ $defaults = UAGB_Helper::$block_list['uagb/column']['attributes'];
392
+
393
+ $attr = array_merge( $defaults, $attr );
394
+
395
+ $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
396
+
397
+ $style = array(
398
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], 'px' ),
399
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], 'px' ),
400
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], 'px' ),
401
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], 'px' ),
402
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMargin'], 'px' ),
403
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMargin'], 'px' ),
404
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMargin'], 'px' ),
405
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMargin'], 'px' ),
406
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
407
+ );
408
+
409
+ $m_selectors = array();
410
+ $t_selectors = array();
411
+
412
+ if ( "none" != $attr['borderStyle'] ) {
413
+ $style["border-style"] = $attr['borderStyle'];
414
+ $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
415
+ $style["border-color"] = $attr['borderColor'];
416
+ }
417
+
418
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
419
+
420
+ if ( 'image' === $bg_type ) {
421
+
422
+ $style['background-image'] = ( isset( $attr['backgroundImage'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
423
+ $style['background-position'] = $position;
424
+ $style['background-attachment'] = $attr['backgroundAttachment'];
425
+ $style['background-repeat'] = $attr['backgroundRepeat'];
426
+ $style['background-size'] = $attr['backgroundSize'];
427
+
428
+ }
429
+
430
+ $selectors = array(
431
+ '.uagb-column__wrap' => $style
432
+ );
433
+
434
+ if ( 'image' == $bg_type ) {
435
+ $selectors[' > .uagb-column__overlay'] = array(
436
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
437
+ 'background-color' => $attr['backgroundImageColor'],
438
+ );
439
+ } else if ( 'color' == $bg_type ) {
440
+ $selectors[' > .uagb-column__overlay'] = array(
441
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
442
+ 'background-color' => $attr['backgroundColor'],
443
+ );
444
+ } elseif ( 'gradient' === $bg_type ) {
445
+ $selectors[' > .uagb-column__overlay']['background-color'] = 'transparent';
446
+ $selectors[' > .uagb-column__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
447
+
448
+ if ( 'linear' === $attr['gradientType'] ) {
449
+
450
+ $selectors[' > .uagb-column__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
451
+ } else {
452
+
453
+ $selectors[' > .uagb-column__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
454
+ }
455
+ }
456
+
457
+ if ( '' != $attr['colWidth'] && 0 != $attr['colWidth'] ) {
458
+
459
+ $selectors[''] = array(
460
+ "width" => UAGB_Helper::get_css_value( $attr['colWidth'], "%" )
461
+ );
462
+ }
463
+
464
+ $m_selectors = array(
465
+ '.uagb-column__wrap' => array(
466
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], 'px' ),
467
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], 'px' ),
468
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], 'px' ),
469
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], 'px' ),
470
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginMobile'], 'px' ),
471
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], 'px' ),
472
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMarginMobile'], 'px' ),
473
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMarginMobile'], 'px' ),
474
+ )
475
+ );
476
+
477
+ $t_selectors = array(
478
+ '.uagb-column__wrap' => array(
479
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], 'px' ),
480
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], 'px' ),
481
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], 'px' ),
482
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], 'px' ),
483
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginTablet'], 'px' ),
484
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], 'px' ),
485
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMarginTablet'], 'px' ),
486
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMarginTablet'], 'px' ),
487
+ )
488
+ );
489
+
490
+ if ( '' != $attr['colWidthTablet'] && 0 != $attr['colWidthTablet'] ) {
491
+
492
+ $t_selectors[''] = array(
493
+ "width" => UAGB_Helper::get_css_value( $attr['colWidthTablet'], '%' )
494
+ );
495
+ }
496
+
497
+ if ( '' != $attr['colWidthMobile'] && 0 != $attr['colWidthMobile'] ) {
498
+
499
+ $m_selectors[''] = array(
500
+ "width" => UAGB_Helper::get_css_value( $attr['colWidthMobile'], '%' )
501
+ );
502
+ }
503
+
504
+ // @codingStandardsIgnoreEnd
505
+
506
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-column-' . $id );
507
+
508
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-column-' . $id );
509
+
510
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-column-' . $id );
511
+
512
+ $generated_css = array(
513
+ 'desktop' => $desktop,
514
+ 'tablet' => $tablet,
515
+ 'mobile' => $mobile,
516
+ );
517
+
518
+ return $generated_css;
519
+ }
520
+
521
+ /**
522
+ * Get Advanced Heading Block CSS
523
+ *
524
+ * @since 0.0.1
525
+ * @param array $attr The block attributes.
526
+ * @param string $id The selector ID.
527
+ * @return array The Widget List.
528
+ */
529
+ public static function get_adv_heading_css( $attr, $id ) { // @codingStandardsIgnoreStart
530
+
531
+ $defaults = UAGB_Helper::$block_list['uagb/advanced-heading']['attributes'];
532
+
533
+ $attr = array_merge( $defaults, (array) $attr );
534
+
535
+ $m_selectors = array();
536
+ $t_selectors = array();
537
+
538
+ $selectors = array(
539
+ ' .uagb-heading-text' => array(
540
+ 'text-align' => $attr['headingAlign'],
541
+ 'font-family' => $attr['headFontFamily'],
542
+ 'font-weight' => $attr['headFontWeight'],
543
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
544
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
545
+ 'color' => $attr['headingColor'],
546
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], "px" ),
547
+ ),
548
+ ' .uagb-separator-wrap' => array(
549
+ 'text-align' => $attr['headingAlign'],
550
+ ),
551
+ ' .uagb-desc-text' => array(
552
+ 'text-align' => $attr['headingAlign'],
553
+ 'font-family' => $attr['subHeadFontFamily'],
554
+ 'font-weight' => $attr['subHeadFontWeight'],
555
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ),
556
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
557
+ 'color' => $attr['subHeadingColor'],
558
+ )
559
+
560
+ );
561
+
562
+ $m_selectors = array(
563
+ ' .uagb-heading-text' => array(
564
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
565
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
566
+ ),
567
+ ' .uagb-desc-text' => array(
568
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
569
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
570
+ )
571
+
572
+ );
573
+
574
+ $t_selectors = array(
575
+ ' .uagb-heading-text' => array(
576
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
577
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
578
+
579
+ ),
580
+ ' .uagb-desc-text' => array(
581
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
582
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
583
+ )
584
+
585
+ );
586
+
587
+ $seperatorStyle = isset( $attr['seperatorStyle'] ) ? $attr['seperatorStyle'] : '';
588
+
589
+ if( 'none' !== $seperatorStyle ){
590
+ $selectors[' .uagb-separator'] = array (
591
+ 'border-top-style' => $attr['seperatorStyle'] ,
592
+ 'border-top-width' => UAGB_Helper::get_css_value( $attr['separatorHeight'], "px" ),
593
+ 'width' => UAGB_Helper::get_css_value( $attr['separatorWidth'], $attr['separatorWidthType'] ),
594
+ 'border-color' => $attr['separatorColor'],
595
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['separatorSpace'], "px" ),
596
+ );
597
+
598
+ }
599
+ // @codingStandardsIgnoreEnd
600
+
601
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-adv-heading-' . $id );
602
+
603
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-adv-heading-' . $id );
604
+
605
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-adv-heading-' . $id );
606
+
607
+ $generated_css = array(
608
+ 'desktop' => $desktop,
609
+ 'tablet' => $tablet,
610
+ 'mobile' => $mobile,
611
+ );
612
+
613
+ return $generated_css;
614
+ }
615
+
616
+ /**
617
+ * Get Multi Buttons Block CSS
618
+ *
619
+ * @since 0.0.1
620
+ * @param array $attr The block attributes.
621
+ * @param string $id The selector ID.
622
+ * @return array The Widget List.
623
+ */
624
+ public static function get_buttons_css( $attr, $id ) { // @codingStandardsIgnoreStart
625
+
626
+ $defaults = UAGB_Helper::$block_list['uagb/buttons']['attributes'];
627
+
628
+ $attr = array_merge( $defaults, (array) $attr );
629
+
630
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
631
+
632
+ $m_selectors = array();
633
+ $t_selectors = array();
634
+
635
+ $selectors = array(
636
+ ' .uagb-button__wrapper' => array(
637
+ 'margin-left' => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
638
+ 'margin-right' => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
639
+ ),
640
+ ' .uagb-button__wrapper:first-child' => array (
641
+ 'margin-left' => 0
642
+ ),
643
+ ' .uagb-button__wrapper:last-child' => array (
644
+ 'margin-right' => 0
645
+ ),
646
+ ' .uagb-buttons__wrap' => array (
647
+ 'justify-content' => $alignment,
648
+ '-webkit-box-pack'=> $alignment,
649
+ '-ms-flex-pack' => $alignment,
650
+ 'justify-content' => $alignment,
651
+ '-webkit-box-align' => $alignment,
652
+ '-ms-flex-align' => $alignment,
653
+ 'align-items' => $alignment,
654
+ )
655
+ );
656
+
657
+ foreach ( $attr['buttons'] as $key => $button ) {
658
+
659
+ $button['size'] = ( isset( $button['size'] ) ) ? $button['size'] : '';
660
+ $button['borderWidth'] = ( isset( $button['borderWidth'] ) ) ? $button['borderWidth'] : '';
661
+ $button['borderStyle'] = ( isset( $button['borderStyle'] ) ) ? $button['borderStyle'] : '';
662
+ $button['borderColor'] = ( isset( $button['borderColor'] ) ) ? $button['borderColor'] : '';
663
+ $button['borderRadius'] = ( isset( $button['borderRadius'] ) ) ? $button['borderRadius'] : '';
664
+ $button['background'] = ( isset( $button['background'] ) ) ? $button['background'] : '';
665
+ $button['hBackground'] = ( isset( $button['hBackground'] ) ) ? $button['hBackground'] : '';
666
+ $button['borderHColor'] = ( isset( $button['borderHColor'] ) ) ? $button['borderHColor'] : '';
667
+ $button['vPadding'] = ( isset( $button['vPadding'] ) ) ? $button['vPadding'] : '';
668
+ $button['hPadding'] = ( isset( $button['hPadding'] ) ) ? $button['hPadding'] : '';
669
+ $button['color'] = ( isset( $button['color'] ) ) ? $button['color'] : '';
670
+ $button['hColor'] = ( isset( $button['hColor'] ) ) ? $button['hColor'] : '';
671
+ $button['sizeType'] = ( isset( $button['sizeType'] ) ) ? $button['sizeType'] : 'px';
672
+ $button['sizeMobile'] = ( isset( $button['sizeMobile'] ) ) ? $button['sizeMobile'] : '';
673
+ $button['sizeTablet'] = ( isset( $button['sizeTablet'] ) ) ? $button['sizeTablet'] : '';
674
+ $button['lineHeight'] = ( isset( $button['lineHeight'] ) ) ? $button['lineHeight'] : '';
675
+ $button['lineHeightType'] = ( isset( $button['lineHeightType'] ) ) ? $button['lineHeightType'] : '';
676
+ $button['lineHeightMobile'] = ( isset( $button['lineHeightMobile'] ) ) ? $button['lineHeightMobile'] : '';
677
+ $button['lineHeightTablet'] = ( isset( $button['lineHeightTablet'] ) ) ? $button['lineHeightTablet'] : '';
678
+
679
+
680
+ if ( $attr['btn_count'] <= $key ) {
681
+ break;
682
+ }
683
+
684
+ $selectors[' .uagb-buttons-repeater-' . $key] = array (
685
+ 'font-size' => $button['size'] . $button['sizeType'],
686
+ 'line-height' => $button['lineHeight'] . $button['lineHeightType'],
687
+ 'font-family' => $attr['fontFamily'],
688
+ 'font-weight' => $attr['fontWeight'],
689
+ 'border-width' => UAGB_Helper::get_css_value( $button['borderWidth'], 'px' ),
690
+ 'border-color' => $button['borderColor'],
691
+ 'border-style' => $button['borderStyle'],
692
+ 'border-radius' => UAGB_Helper::get_css_value( $button['borderRadius'], 'px' ),
693
+ 'background' => $button['background']
694
+ );
695
+
696
+ $selectors[' .uagb-buttons-repeater-' . $key . ':hover'] = array (
697
+ 'background' => $button['hBackground'],
698
+ 'border-width' => UAGB_Helper::get_css_value( $button['borderWidth'], 'px' ),
699
+ 'border-color' => $button['borderHColor'],
700
+ 'border-style' => $button['borderStyle'],
701
+ );
702
+
703
+ $selectors[' .uagb-buttons-repeater-' . $key . ' a.uagb-button__link'] = array (
704
+ 'padding' => $button['vPadding'] . 'px ' . $button['hPadding'] . 'px',
705
+ 'color' => $button['color']
706
+ );
707
+
708
+ $selectors[' .uagb-buttons-repeater-' . $key . ':hover a.uagb-button__link'] = array (
709
+ 'color' => $button['hColor']
710
+ );
711
+
712
+ $m_selectors[' .uagb-buttons-repeater-' . $key] = array (
713
+ 'font-size' => UAGB_Helper::get_css_value( $button['sizeMobile'], $button['sizeType'] ),
714
+ 'line-height' => UAGB_Helper::get_css_value( $button['lineHeightMobile'], $button['lineHeightType'] ),
715
+ );
716
+
717
+ $t_selectors[' .uagb-buttons-repeater-' . $key] = array (
718
+ 'font-size' => UAGB_Helper::get_css_value( $button['sizeTablet'], $button['sizeType'] ),
719
+ 'line-height' => UAGB_Helper::get_css_value( $button['lineHeightTablet'], $button['lineHeightType'] ),
720
+ );
721
+ }
722
+
723
+ if ( "desktop" == $attr['stack'] ) {
724
+
725
+ $selectors[" .uagb-button__wrapper"] = array (
726
+ 'margin-left' => 0,
727
+ 'margin-right' => 0,
728
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
729
+ );
730
+
731
+ $selectors[" .uagb-buttons__wrap"] = array (
732
+ "flex-direction" => "column"
733
+ );
734
+
735
+ $selectors[" .uagb-button__wrapper:last-child"] = array (
736
+ "margin-bottom" => 0
737
+ );
738
+
739
+ } else if ( "tablet" == $attr['stack'] ) {
740
+
741
+ $t_selectors[" .uagb-button__wrapper"] = array (
742
+ 'margin-left' => 0,
743
+ 'margin-right' => 0,
744
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
745
+ );
746
+
747
+ $t_selectors[" .uagb-buttons__wrap"] = array (
748
+ "flex-direction" => "column"
749
+ );
750
+
751
+ $t_selectors[" .uagb-button__wrapper:last-child"] = array (
752
+ "margin-bottom" => 0
753
+ );
754
+
755
+ } else if ( "mobile" == $attr['stack'] ) {
756
+
757
+ $m_selectors[" .uagb-button__wrapper"] = array (
758
+ 'margin-left' => 0,
759
+ 'margin-right' => 0,
760
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
761
+ );
762
+
763
+ $m_selectors[" .uagb-buttons__wrap"] = array (
764
+ "flex-direction" => "column"
765
+ );
766
+
767
+ $m_selectors[" .uagb-button__wrapper:last-child"] = array (
768
+ "margin-bottom" => 0
769
+ );
770
+ }
771
+
772
+ // @codingStandardsIgnoreEnd
773
+
774
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-buttons-' . $id );
775
+
776
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-buttons-' . $id );
777
+
778
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-buttons-' . $id );
779
+
780
+ $generated_css = array(
781
+ 'desktop' => $desktop,
782
+ 'tablet' => $tablet,
783
+ 'mobile' => $mobile,
784
+ );
785
+
786
+ return $generated_css;
787
+ }
788
+
789
+ /**
790
+ * Get Info Box CSS
791
+ *
792
+ * @since 0.0.1
793
+ * @param array $attr The block attributes.
794
+ * @param string $id The selector ID.
795
+ * @return array The Widget List.
796
+ */
797
+ public static function get_info_box_css( $attr, $id ) { // @codingStandardsIgnoreStart.
798
+ $defaults = UAGB_Helper::$block_list['uagb/info-box']['attributes'];
799
+
800
+ $attr = array_merge( $defaults, (array) $attr );
801
+
802
+ $m_selectors = array();
803
+ $t_selectors = array();
804
+
805
+ $selectors = array(
806
+ ' .uagb-ifb-icon' => array(
807
+ 'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
808
+ 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
809
+ 'line-height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
810
+ ),
811
+ ' .uagb-ifb-icon > span' => array(
812
+ 'font-size' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
813
+ 'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
814
+ 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
815
+ 'line-height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
816
+ 'color' => $attr['iconColor'],
817
+ ),
818
+ ' .uagb-ifb-icon svg' => array(
819
+ 'fill' => $attr['iconColor'],
820
+ ),
821
+ ' .uagb-ifb-icon:hover > span' => array(
822
+ 'color' => $attr['iconHover'] ,
823
+ ),
824
+ ' .uagb-ifb-icon:hover svg' => array(
825
+ 'fill' => $attr['iconHover'] ,
826
+ ),
827
+
828
+ ' .uagb-infbox__link-to-all:hover ~ .uagb-infobox__content-wrap .uagb-ifb-icon svg' => array(
829
+ 'fill' => $attr['iconHover'] ,
830
+ ),
831
+
832
+ ' .uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap' => array(
833
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['iconLeftMargin'], 'px' ),
834
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['iconRightMargin'], 'px' ),
835
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['iconTopMargin'], 'px' ),
836
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['iconBottomMargin'], 'px' ),
837
+ ),
838
+ // Image.
839
+ ' .uagb-ifb-image-content > img' => array(
840
+ 'width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
841
+ 'max-width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
842
+ ),
843
+ ' .uagb-infobox .uagb-ifb-image-content img' => array(
844
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['iconimgBorderRadius'], 'px' ),
845
+ ),
846
+ // CTA style .
847
+ ' .uagb-infobox-cta-link' => array(
848
+ 'font-size' => $attr['ctaFontSize'].$attr['ctaFontSizeType'],
849
+ 'font-family' => $attr['ctaFontFamily'],
850
+ 'font-weight' => $attr['ctaFontWeight'],
851
+ 'color' => $attr['ctaLinkColor'],
852
+ ),
853
+ ' .uagb-infobox-cta-link:hover' => array(
854
+ 'color' => $attr['ctaLinkHoverColor'],
855
+ ),
856
+ ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
857
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
858
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
859
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
860
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
861
+ ),
862
+ ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
863
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
864
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
865
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
866
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
867
+ ),
868
+ ' .uagb-infobox-cta-link svg' => array(
869
+ 'fill' => $attr['ctaLinkColor'],
870
+ ),
871
+ ' .uagb-infobox-cta-link:hover svg' => array(
872
+ 'fill' => $attr['ctaLinkHoverColor'],
873
+ ),
874
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link' => array(
875
+ 'color' => $attr['ctaBtnLinkColor'],
876
+ 'background-color' => $attr['ctaBgColor'],
877
+ 'border-style' => $attr['ctaBorderStyle'],
878
+ 'border-color' => $attr['ctaBorderColor'],
879
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['ctaBorderRadius'], 'px' ),
880
+ 'border-width' => UAGB_Helper::get_css_value( $attr['ctaBorderWidth'], 'px' ),
881
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
882
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
883
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
884
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
885
+
886
+ ),
887
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link svg' => array(
888
+ 'fill' => $attr['ctaBtnLinkColor'],
889
+ ),
890
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover' => array(
891
+ 'color' => $attr['ctaLinkHoverColor'],
892
+ 'background-color' => $attr['ctaBgHoverColor'],
893
+ 'border-color' => $attr['ctaBorderhoverColor'],
894
+ ),
895
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover svg' => array(
896
+ 'fill' => $attr['ctaLinkHoverColor'],
897
+ ),
898
+ // Prefix Style.
899
+ ' .uagb-ifb-title-prefix' => array(
900
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSize'], $attr['prefixFontSizeType'] ),
901
+ 'font-family' => $attr['prefixFontFamily'],
902
+ 'font-weight' => $attr['prefixFontWeight'],
903
+ 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeight'], $attr['prefixLineHeightType'] ),
904
+ 'color' => $attr['prefixColor'],
905
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
906
+ ),
907
+ // Title Style.
908
+ ' .uagb-ifb-title' => array(
909
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
910
+ 'font-family' => $attr['headFontFamily'],
911
+ 'font-weight' => $attr['headFontWeight'],
912
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
913
+ 'color' => $attr['headingColor'],
914
+ 'margin-bottom' => $attr['headSpace'] . 'px',
915
+ ),
916
+ // Description Style.
917
+ ' .uagb-ifb-desc' => array(
918
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ) ,
919
+ 'font-family' => $attr['subHeadFontFamily'],
920
+ 'font-weight' => $attr['subHeadFontWeight'],
921
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
922
+ 'color' => $attr['subHeadingColor'],
923
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['subHeadSpace'], 'px' ),
924
+ ),
925
+ // Seperator.
926
+ ' .uagb-ifb-separator' => array(
927
+ 'width' => UAGB_Helper::get_css_value( $attr['seperatorWidth'], $attr['separatorWidthType'] ),
928
+ 'border-top-width' => UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
929
+ 'border-top-color' => $attr['seperatorColor'],
930
+ 'border-top-style' => $attr['seperatorStyle'],
931
+ ),
932
+ ' .uagb-ifb-separator-parent' => array(
933
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['seperatorSpace'], 'px' ),
934
+ ),
935
+ // CTA icon space.
936
+ ' .uagb-ifb-align-icon-after' => array(
937
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
938
+ ),
939
+ ' .uagb-ifb-align-icon-before' => array(
940
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
941
+ ),
942
+ );
943
+
944
+ if( 'above-title' === $attr['iconimgPosition'] || 'below-title' === $attr['iconimgPosition'] ){
945
+ $selectors[' .uagb-infobox__content-wrap'] = array(
946
+ 'text-align' => $attr['headingAlign'],
947
+ );
948
+ }
949
+
950
+ $m_selectors = array(
951
+ ' .uagb-ifb-title-prefix' => array(
952
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
953
+ 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightMobile'], $attr['prefixLineHeightType'] ),
954
+ ),
955
+ ' .uagb-ifb-title' => array(
956
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
957
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
958
+ ),
959
+ ' .uagb-ifb-desc' => array(
960
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
961
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
962
+ ),
963
+ ' .uagb-infobox-cta-link' => array(
964
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
965
+ ),
966
+ ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
967
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
968
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
969
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
970
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
971
+ ),
972
+ ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
973
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
974
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
975
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
976
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
977
+ ),
978
+ );
979
+
980
+ $t_selectors = array(
981
+ ' .uagb-ifb-title-prefix' => array(
982
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
983
+ ),
984
+ ' .uagb-ifb-title' => array(
985
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
986
+ ),
987
+ ' .uagb-ifb-desc' => array(
988
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
989
+ ),
990
+ ' .uagb-infobox-cta-link' => array(
991
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
992
+ ),
993
+ ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
994
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
995
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
996
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
997
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
998
+ ),
999
+ ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
1000
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1001
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1002
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1003
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1004
+ ),
1005
+ );
1006
+
1007
+ // @codingStandardsIgnoreEnd.
1008
+
1009
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-infobox-' . $id );
1010
+
1011
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-infobox-' . $id );
1012
+
1013
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-infobox-' . $id );
1014
+
1015
+ $generated_css = array(
1016
+ 'desktop' => $desktop,
1017
+ 'tablet' => $tablet,
1018
+ 'mobile' => $mobile,
1019
+ );
1020
+
1021
+ return $generated_css;
1022
+ }
1023
+
1024
+ /**
1025
+ * Get CTA CSS
1026
+ *
1027
+ * @since 1.7.0
1028
+ * @param array $attr The block attributes.
1029
+ * @param string $id The selector ID.
1030
+ * @return array The Widget List.
1031
+ */
1032
+ public static function get_call_to_action_css( $attr, $id ) { // @codingStandardsIgnoreStart.
1033
+ $defaults = UAGB_Helper::$block_list['uagb/call-to-action']['attributes'];
1034
+
1035
+ $attr = array_merge( $defaults, (array) $attr );
1036
+
1037
+ $t_selectors = array();
1038
+ $m_selectors = array();
1039
+
1040
+ $selectors = array(
1041
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1042
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1043
+ 'font-family' => $attr['ctaFontFamily'],
1044
+ 'font-weight' => $attr['ctaFontWeight'],
1045
+ 'color' => $attr['ctaBtnLinkColor'],
1046
+ ),
1047
+ ' .uagb-cta__button-wrapper:hover a.uagb-cta-typeof-text ' => array(
1048
+ 'color' => $attr['ctaLinkHoverColor'],
1049
+ ),
1050
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1051
+ 'font-size' => $attr['ctaFontSize']. $attr['ctaFontSizeType'],
1052
+ 'font-family' => $attr['ctaFontFamily'],
1053
+ 'font-weight' => $attr['ctaFontWeight'],
1054
+ 'color' => $attr['ctaBtnLinkColor'],
1055
+ 'background-color' => $attr['ctaBgColor'],
1056
+ 'border-style' => $attr['ctaBorderStyle'],
1057
+ 'border-color' => $attr['ctaBorderColor'],
1058
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['ctaBorderRadius'], 'px' ),
1059
+ 'border-width' => UAGB_Helper::get_css_value( $attr['ctaBorderWidth'], 'px' ),
1060
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
1061
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
1062
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
1063
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
1064
+ ),
1065
+ ' .uagb-cta__button-wrapper:hover a.uagb-cta-typeof-button' => array(
1066
+ 'color' => $attr['ctaLinkHoverColor'],
1067
+ 'background-color' => $attr['ctaBgHoverColor'],
1068
+ 'border-color' => $attr['ctaBorderhoverColor'],
1069
+ ),
1070
+ ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1071
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1072
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1073
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1074
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1075
+ ),
1076
+ ' .uagb-cta__button-wrapper .uagb-cta__block-link svg' => array(
1077
+ 'fill' => $attr['ctaBtnLinkColor'],
1078
+ ),
1079
+ ' .uagb-cta__button-wrapper:hover .uagb-cta__block-link svg' => array(
1080
+ 'fill' => $attr['ctaLinkHoverColor'],
1081
+ ),
1082
+ ' .uagb-cta__title' => array(
1083
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
1084
+ 'font-family' => $attr['titleFontFamily'],
1085
+ 'font-weight' => $attr['titleFontWeight'],
1086
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
1087
+ 'color' => $attr['titleColor'],
1088
+ 'margin-bottom' => $attr['titleSpace']. "px",
1089
+ ),
1090
+ ' .uagb-cta__desc' => array(
1091
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1092
+ 'font-family' => $attr['descFontFamily'],
1093
+ 'font-weight' => $attr['descFontWeight'],
1094
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1095
+ 'color' => $attr['descColor'],
1096
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1097
+ ),
1098
+ ' .uagb-cta__align-button-after' => array(
1099
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
1100
+ ),
1101
+ ' .uagb-cta__align-button-before' => array(
1102
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
1103
+ ),
1104
+ );
1105
+
1106
+ $selectors[' .uagb-cta__content-wrap'] = array(
1107
+ 'text-align' => $attr['textAlign'],
1108
+ );
1109
+
1110
+ if( 'left' === $attr['textAlign'] && "right" === $attr['ctaPosition'] ){
1111
+ $selectors[' .uagb-cta__left-right-wrap .uagb-cta__content'] = array(
1112
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaLeftSpace'], 'px' ),
1113
+ 'margin-right' => '0',
1114
+ );
1115
+ }
1116
+
1117
+ if( 'right' === $attr['textAlign'] && 'right' === $attr['ctaPosition'] ){
1118
+ $selectors[' .uagb-cta__left-right-wrap .uagb-cta__content'] = array(
1119
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaRightSpace'], 'px' ),
1120
+ 'margin-left' => '0',
1121
+ );
1122
+ }
1123
+
1124
+ if( $attr['ctaPosition'] === "right" && ( $attr['ctaType'] === 'text' || $attr['ctaType'] === 'button' ) ){
1125
+ $selectors[" .uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content"] = array(
1126
+ "width" => UAGB_Helper::get_css_value( $attr['contentWidth'], '%' ),
1127
+ );
1128
+
1129
+ $selectors[" .uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper"] = array(
1130
+ "width" => UAGB_Helper::get_css_value( (100 - $attr['contentWidth'] ), '%' ),
1131
+ );
1132
+ }
1133
+
1134
+ $t_selectors = array(
1135
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1136
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1137
+ ),
1138
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1139
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1140
+ ),
1141
+ ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1142
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1143
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1144
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1145
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1146
+ ),
1147
+ ' .uagb-cta__title' => array(
1148
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
1149
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
1150
+ ),
1151
+ ' .uagb-cta__desc' => array(
1152
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1153
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
1154
+ ),
1155
+ );
1156
+
1157
+ $m_selectors = array(
1158
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1159
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1160
+ ),
1161
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1162
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1163
+ ),
1164
+ ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1165
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1166
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1167
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1168
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1169
+ ),
1170
+ ' .uagb-cta__title' => array(
1171
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'],$attr['titleFontSizeType'] ),
1172
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'],$attr['titleLineHeightType'] ),
1173
+ ),
1174
+ ' .uagb-cta__desc' => array(
1175
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'],$attr['descFontSizeType'] ),
1176
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
1177
+ ),
1178
+ );
1179
+
1180
+ // @codingStandardsIgnoreEnd.
1181
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-cta-block-' . $id );
1182
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-cta-block-' . $id );
1183
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-cta-block-' . $id );
1184
+
1185
+ $generated_css = array(
1186
+ 'desktop' => $desktop,
1187
+ 'tablet' => $tablet,
1188
+ 'mobile' => $mobile,
1189
+ );
1190
+
1191
+ return $generated_css;
1192
+ }
1193
+
1194
+ /**
1195
+ * Get Testimonial CSS
1196
+ *
1197
+ * @since 0.0.1
1198
+ * @param array $attr The block attributes.
1199
+ * @param string $id The selector ID.
1200
+ * @return array The Widget List.
1201
+ */
1202
+ public static function get_testimonial_css( $attr, $id ) { // @codingStandardsIgnoreStart.
1203
+
1204
+ $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
1205
+
1206
+ $attr = array_merge( $defaults, (array) $attr );
1207
+
1208
+ $img_align = 'center';
1209
+ if( 'left' === $attr['headingAlign']){
1210
+ $img_align = 'flex-start';
1211
+ }else if( 'right' === $attr['headingAlign']){
1212
+ $img_align = 'flex-end';
1213
+ }
1214
+
1215
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
1216
+
1217
+ $selectors = array(
1218
+ ' .uagb-testimonial__wrap' => array(
1219
+ 'padding-left' => UAGB_Helper::get_css_value( ( ($attr['columnGap']) /2 ), 'px' ),
1220
+ 'padding-right' => UAGB_Helper::get_css_value( ( ($attr['columnGap']) /2 ), 'px' ),
1221
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' ),
1222
+ ),
1223
+ ' .uagb-testimonial__wrap .uagb-tm__image-content' => array(
1224
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['imgHrPadding'], 'px' ),
1225
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['imgHrPadding'], 'px' ),
1226
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
1227
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
1228
+ ),
1229
+ ' .uagb-tm__image img' => array(
1230
+ 'width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
1231
+ 'max-width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
1232
+ ),
1233
+ ' .uagb-tm__content' => array(
1234
+ 'text-align' => $attr['headingAlign'],
1235
+ 'padding' => UAGB_Helper::get_css_value( $attr['contentPadding'], 'px' ),
1236
+ ),
1237
+ ' .uagb-tm__author-name' => array(
1238
+ 'color' => $attr['authorColor'],
1239
+ 'font-size' => $attr['nameFontSize'] . $attr['nameFontSizeType'],
1240
+ 'font-family' => $attr['nameFontFamily'],
1241
+ 'font-weight' => $attr['nameFontWeight'],
1242
+ 'line-height' => $attr['nameLineHeight'] . $attr['nameLineHeightType'],
1243
+ 'margin-bottom' => $attr['nameSpace'] . 'px',
1244
+ ),
1245
+ ' .uagb-tm__company' => array(
1246
+ 'color' => $attr['companyColor'],
1247
+ 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSize'], $attr['companyFontSizeType'] ),
1248
+ 'font-family' => $attr['companyFontFamily'],
1249
+ 'font-weight' => $attr['companyFontWeight'],
1250
+ 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeight'], $attr['companyLineHeightType'] ),
1251
+ ),
1252
+ ' .uagb-tm__desc' => array(
1253
+ 'color' => $attr['descColor'],
1254
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1255
+ 'font-family' => $attr['descFontFamily'],
1256
+ 'font-weight' => $attr['descFontWeight'],
1257
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1258
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1259
+ ),
1260
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-color .uagb-tm__content' => array(
1261
+ 'background-color' => $attr['backgroundColor'],
1262
+ ),
1263
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__content' => array(
1264
+ 'background-image' => ( isset( $attr['backgroundImage']['url'] ) ) ? 'url("'.$attr['backgroundImage']['url'].'")' : null,
1265
+ 'background-position'=> $position,
1266
+ 'background-repeat'=> $attr['backgroundRepeat'],
1267
+ 'background-size'=> $attr['backgroundSize'],
1268
+ ),
1269
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__overlay' => array(
1270
+ 'background-color' => $attr['backgroundImageColor'],
1271
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? ( ( 100 - $attr['backgroundOpacity'] ) / 100 ) : '0.5',
1272
+ ),
1273
+ ' .uagb-testimonial__wrap .uagb-tm__content' => array(
1274
+ 'border-color' => $attr['borderColor'],
1275
+ 'border-style' => $attr['borderStyle'],
1276
+ 'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
1277
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
1278
+ ),
1279
+ ' ul.slick-dots li button:before' => array(
1280
+ 'color' => $attr['arrowColor'],
1281
+ ),
1282
+ ' ul.slick-dots li.slick-active button:before' => array(
1283
+ 'color' => $attr['arrowColor'],
1284
+ ),
1285
+ ' .uagb-tm__image-position-top .uagb-tm__image-content' => array(
1286
+ 'justify-content' => $img_align,
1287
+ ),
1288
+ );
1289
+
1290
+ if( 'dots' === $attr['arrowDots'] ){
1291
+ $selectors['.uagb-slick-carousel'] = array(
1292
+ 'padding' => '0 0 35px 0',
1293
+ );
1294
+ }
1295
+
1296
+ if( '1' === $attr['test_item_count'] || $attr['test_item_count'] === $attr['columns'] ){
1297
+ $selectors['.uagb-slick-carousel'] = array(
1298
+ 'padding' => '0',
1299
+ );
1300
+ }
1301
+
1302
+ $t_selectors = array(
1303
+ ' .uagb-tm__author-name' => array(
1304
+ 'font-size' => UAGB_Helper::get_css_value( $attr['nameFontSizeTablet'], $attr['nameFontSizeType'] ),
1305
+ 'line-height' => UAGB_Helper::get_css_value( $attr['nameLineHeightTablet'], $attr['nameLineHeightType'] ),
1306
+ ),
1307
+ ' .uagb-tm__company' => array(
1308
+ 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSizeTablet'], $attr['companyFontSizeType'] ),
1309
+ 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeightTablet'], $attr['companyLineHeightType'] ),
1310
+ ),
1311
+ ' .uagb-tm__desc' => array(
1312
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1313
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
1314
+ ),
1315
+ );
1316
+
1317
+ $m_selectors = array(
1318
+ ' .uagb-tm__author-name' => array(
1319
+ 'font-size' => UAGB_Helper::get_css_value( $attr['nameFontSizeMobile'], $attr['nameFontSizeType'] ),
1320
+ 'line-height' => UAGB_Helper::get_css_value( $attr['nameLineHeightMobile'], $attr['nameLineHeightType'] ),
1321
+ ),
1322
+ ' .uagb-tm__company' => array(
1323
+ 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSizeMobile'], $attr['companyFontSizeType'] ),
1324
+ 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeightMobile'], $attr['companyLineHeightType'] ),
1325
+ ),
1326
+ ' .uagb-tm__desc' => array(
1327
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
1328
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
1329
+ ),
1330
+ ' .uagb-tm__content' => array(
1331
+ 'text-align' => 'center',
1332
+ )
1333
+ );
1334
+
1335
+
1336
+ // @codingStandardsIgnoreEnd.
1337
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-testimonial-' . $id );
1338
+
1339
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-testimonial-' . $id );
1340
+
1341
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-testimonial-' . $id );
1342
+
1343
+ $generated_css = array(
1344
+ 'desktop' => $desktop,
1345
+ 'tablet' => $tablet,
1346
+ 'mobile' => $mobile,
1347
+ );
1348
+
1349
+ return $generated_css;
1350
+ }
1351
+
1352
+ /**
1353
+ * Get Team Block CSS
1354
+ *
1355
+ * @since 0.0.1
1356
+ * @param array $attr The block attributes.
1357
+ * @param string $id The selector ID.
1358
+ * @return array The Widget List.
1359
+ */
1360
+ public static function get_team_css( $attr, $id ) { // @codingStandardsIgnoreStart
1361
+
1362
+ $defaults = UAGB_Helper::$block_list['uagb/team']['attributes'];
1363
+
1364
+ $attr = array_merge( $defaults, (array) $attr );
1365
+
1366
+ $m_selectors = array();
1367
+ $t_selectors = array();
1368
+
1369
+ $selectors = array(
1370
+ " p.uagb-team__desc" => array(
1371
+ "font-family" => $attr['descFontFamily'],
1372
+ "font-weight" => $attr['descFontWeight'],
1373
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1374
+ "line-height" => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1375
+ "color" => $attr['descColor'],
1376
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1377
+ ),
1378
+ " .uagb-team__prefix" => array(
1379
+ "font-family" => $attr['prefixFontFamily'],
1380
+ "font-weight" => $attr['prefixFontWeight'],
1381
+ "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSize'], $attr['prefixFontSizeType'] ),
1382
+ "line-height" => UAGB_Helper::get_css_value( $attr['prefixLineHeight'], $attr['prefixLineHeightType'] ),
1383
+ "color" => $attr['prefixColor'],
1384
+ ),
1385
+ " .uagb-team__desc-wrap" => array(
1386
+ "margin-top" => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
1387
+ ),
1388
+ " .uagb-team__social-icon a" => array(
1389
+ "color" => $attr['socialColor'],
1390
+ "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1391
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1392
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1393
+ "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1394
+ ),
1395
+ " .uagb-team__social-icon svg" => array(
1396
+ "fill" => $attr['socialColor'],
1397
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1398
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1399
+ ),
1400
+ " .uagb-team__social-icon:hover a" => array(
1401
+ "color" => $attr['socialHoverColor'],
1402
+ ),
1403
+ " .uagb-team__social-icon:hover svg" => array(
1404
+ "fill" => $attr['socialHoverColor'],
1405
+ ),
1406
+ ".uagb-team__image-position-left .uagb-team__social-icon" => array(
1407
+ "margin-right" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1408
+ "margin-left" => "0",
1409
+ ),
1410
+ ".uagb-team__image-position-right .uagb-team__social-icon" => array(
1411
+ "margin-left" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1412
+ "margin-right" => "0",
1413
+ ),
1414
+ ".uagb-team__image-position-above.uagb-team__align-center .uagb-team__social-icon" => array(
1415
+ "margin-right" => UAGB_Helper::get_css_value( ( $attr['socialSpace'] / 2 ), 'px' ),
1416
+ "margin-left" => UAGB_Helper::get_css_value( ( $attr['socialSpace'] / 2 ), 'px' ),
1417
+ ),
1418
+ ".uagb-team__image-position-above.uagb-team__align-left .uagb-team__social-icon" => array(
1419
+ "margin-right" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1420
+ "margin-left" => "0",
1421
+ ),
1422
+ ".uagb-team__image-position-above.uagb-team__align-right .uagb-team__social-icon" => array(
1423
+ "margin-left" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1424
+ "margin-right" => "0",
1425
+ ),
1426
+ " .uagb-team__image-wrap" => array(
1427
+ "margin-top" => UAGB_Helper::get_css_value( $attr['imgTopMargin'], 'px' ),
1428
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['imgBottomMargin'], 'px' ),
1429
+ "margin-left" => UAGB_Helper::get_css_value( $attr['imgLeftMargin'], 'px' ),
1430
+ "margin-right" => UAGB_Helper::get_css_value( $attr['imgRightMargin'], 'px' ),
1431
+ "width" => UAGB_Helper::get_css_value( $attr['imgWidth'], 'px' )
1432
+ ),
1433
+ );
1434
+
1435
+ if( 'above' == $attr['imgPosition'] ) {
1436
+ if ( 'center' == $attr['align'] ) {
1437
+ $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
1438
+ $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
1439
+ } else if ( 'left' == $attr['align'] ) {
1440
+ $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
1441
+ } else if ( 'right' == $attr['align'] ) {
1442
+ $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
1443
+ }
1444
+ }
1445
+
1446
+ if ( "above" != $attr['imgPosition'] ) {
1447
+ if ( "middle" == $attr['imgAlign'] ) {
1448
+ $selectors[" .uagb-team__image-wrap"]["align-self"] = "center";
1449
+ }
1450
+ }
1451
+
1452
+ $selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1453
+ "font-family" => $attr['titleFontFamily'],
1454
+ "font-weight" => $attr['titleFontWeight'],
1455
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
1456
+ "line-height" => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
1457
+ "color" => $attr['titleColor'],
1458
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
1459
+ );
1460
+
1461
+ $m_selectors = array(
1462
+ " p.uagb-team__desc" => array(
1463
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
1464
+ ),
1465
+ " .uagb-team__prefix" => array(
1466
+ "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
1467
+ ),
1468
+ " .uagb-team__social-icon a" => array(
1469
+ "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1470
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1471
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1472
+ "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1473
+ ),
1474
+ " .uagb-team__social-icon svg" => array(
1475
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1476
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1477
+ ),
1478
+ );
1479
+
1480
+ $t_selectors = array(
1481
+ " p.uagb-team__desc" => array(
1482
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1483
+ ),
1484
+ " .uagb-team__prefix" => array(
1485
+ "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
1486
+ ),
1487
+ " .uagb-team__social-icon a" => array(
1488
+ "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1489
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1490
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1491
+ "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1492
+ ),
1493
+ " .uagb-team__social-icon svg" => array(
1494
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1495
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1496
+ ),
1497
+ );
1498
+
1499
+ $m_selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1500
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
1501
+ );
1502
+
1503
+ $t_selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1504
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
1505
+ );
1506
+
1507
+ // @codingStandardsIgnoreEnd
1508
+
1509
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-team-' . $id );
1510
+
1511
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-team-' . $id );
1512
+
1513
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-team-' . $id );
1514
+
1515
+ $generated_css = array(
1516
+ 'desktop' => $desktop,
1517
+ 'tablet' => $tablet,
1518
+ 'mobile' => $mobile,
1519
+ );
1520
+
1521
+ return $generated_css;
1522
+ }
1523
+
1524
+ /**
1525
+ * Get Social Share Block CSS
1526
+ *
1527
+ * @since 0.0.1
1528
+ * @param array $attr The block attributes.
1529
+ * @param string $id The selector ID.
1530
+ * @return array The Widget List.
1531
+ */
1532
+ public static function get_social_share_css( $attr, $id ) { // @codingStandardsIgnoreStart
1533
+
1534
+ $defaults = UAGB_Helper::$block_list['uagb/social-share']['attributes'];
1535
+
1536
+ $attr = array_merge( $defaults, (array) $attr );
1537
+
1538
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
1539
+
1540
+ $m_selectors = array();
1541
+ $t_selectors = array();
1542
+
1543
+ $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper"] = array(
1544
+ "margin-left" => 0,
1545
+ "margin-right" => 0,
1546
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1547
+ );
1548
+
1549
+ $selectors[".uagb-social-share__layout-vertical .uagb-social-share__wrap"] = array(
1550
+ "flex-direction" => "column"
1551
+ );
1552
+
1553
+ $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper:last-child"] = array(
1554
+ "margin-bottom" => 0
1555
+ );
1556
+
1557
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1558
+ "margin-left" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
1559
+ "margin-right" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
1560
+ );
1561
+
1562
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:first-child"] = array(
1563
+ "margin-left" => 0
1564
+ );
1565
+
1566
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:last-child"] = array(
1567
+ "margin-right" => 0
1568
+ );
1569
+
1570
+ $selectors[" .uagb-ss__wrapper"] = array(
1571
+ "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' )
1572
+ );
1573
+
1574
+ $selectors[" .uagb-ss__source-wrap"] = array(
1575
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1576
+ );
1577
+
1578
+ $selectors[" .uagb-ss__source-wrap svg"] = array(
1579
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1580
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1581
+ );
1582
+
1583
+ $selectors[" .uagb-ss__source-image"] = array(
1584
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1585
+ );
1586
+
1587
+ $selectors[" .uagb-ss__source-icon"] = array(
1588
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1589
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1590
+ "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1591
+ "line-height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1592
+ );
1593
+
1594
+
1595
+ $t_selectors[" .uagb-ss__source-wrap"] = array(
1596
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1597
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1598
+ "line-height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1599
+ );
1600
+
1601
+ $t_selectors[" .uagb-ss__source-wrap svg"] = array(
1602
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1603
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1604
+ );
1605
+
1606
+ $t_selectors[" .uagb-ss__source-image"] = array(
1607
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1608
+ );
1609
+
1610
+ $t_selectors[" .uagb-ss__source-icon"] = array(
1611
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1612
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1613
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1614
+ "line-height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1615
+ );
1616
+ $t_selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1617
+ "margin-left" => 0,
1618
+ "margin-right" => 0
1619
+ );
1620
+
1621
+
1622
+ $m_selectors[" .uagb-ss__source-wrap"] = array(
1623
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1624
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1625
+ "line-height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1626
+ );
1627
+
1628
+ $m_selectors[" .uagb-ss__source-wrap svg"] = array(
1629
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1630
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1631
+ );
1632
+
1633
+ $m_selectors[" .uagb-ss__source-image"] = array(
1634
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1635
+ );
1636
+
1637
+ $m_selectors[" .uagb-ss__source-icon"] = array(
1638
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1639
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1640
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1641
+ "line-height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1642
+ );
1643
+ $m_selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1644
+ "margin-left" => 0,
1645
+ "margin-right" => 0
1646
+ );
1647
+
1648
+
1649
+ foreach ( $attr['socials'] as $key => $social ) {
1650
+
1651
+ $social['icon_color'] = ( isset( $social['icon_color'] ) ) ? $social['icon_color'] : '';
1652
+ $social['icon_hover_color'] = ( isset( $social['icon_hover_color'] ) ) ? $social['icon_hover_color'] : '';
1653
+
1654
+ if ( $attr['social_count'] <= $key ) {
1655
+ break;
1656
+ }
1657
+
1658
+ $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1659
+ "color" => $social['icon_color'],
1660
+ "padding" => UAGB_Helper::get_css_value( $attr['bgSize'], $attr['bgSizeType'] )
1661
+ );
1662
+
1663
+ $m_selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1664
+ "padding" => UAGB_Helper::get_css_value( $attr['bgSizeMobile'], $attr['bgSizeType'] )
1665
+ );
1666
+
1667
+ $t_selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1668
+ "padding" => UAGB_Helper::get_css_value( $attr['bgSizeTablet'], $attr['bgSizeType'] )
1669
+ );
1670
+
1671
+ $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link svg"] = array (
1672
+ "fill" => $social['icon_color'],
1673
+ );
1674
+
1675
+ $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link"] = array (
1676
+ "color" => $social['icon_hover_color']
1677
+ );
1678
+
1679
+ $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link svg"] = array (
1680
+ "fill" => $social['icon_hover_color']
1681
+ );
1682
+
1683
+ $selectors[" .uagb-ss-repeater-" . $key] = array (
1684
+ "background" => $social['icon_bg_color']
1685
+ );
1686
+
1687
+ $selectors[" .uagb-ss-repeater-" . $key . ":hover"] = array (
1688
+ "background" => $social['icon_bg_hover_color']
1689
+ );
1690
+ }
1691
+
1692
+ $selectors[" .uagb-social-share__wrap"] = array(
1693
+ "justify-content" => $alignment,
1694
+ "-webkit-box-pack" => $alignment,
1695
+ "-ms-flex-pack" => $alignment,
1696
+ "justify-content" => $alignment,
1697
+ "-webkit-box-align" => $alignment,
1698
+ "-ms-flex-align" => $alignment,
1699
+ "align-items" => $alignment,
1700
+ );
1701
+
1702
+ if ( 'horizontal' == $attr['social_layout'] ) {
1703
+
1704
+ if ( "desktop" == $attr['stack'] ) {
1705
+
1706
+ $selectors[" .uagb-ss__wrapper"] = array (
1707
+ "margin-left" => 0,
1708
+ "margin-right" => 0,
1709
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1710
+ );
1711
+
1712
+ $selectors[" .uagb-social-share__wrap"] = array (
1713
+ "flex-direction" => "column"
1714
+ );
1715
+
1716
+ $selectors[" .uagb-ss__wrapper:last-child"] = array (
1717
+ "margin-bottom" => 0
1718
+ );
1719
+
1720
+ } else if ( "tablet" == $attr['stack'] ) {
1721
+
1722
+ $t_selectors[" .uagb-ss__wrapper"] = array (
1723
+ "margin-left" => 0,
1724
+ "margin-right" => 0,
1725
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1726
+ );
1727
+
1728
+ $t_selectors[" .uagb-social-share__wrap"] = array (
1729
+ "flex-direction" => "column"
1730
+ );
1731
+
1732
+ $t_selectors[" .uagb-ss__wrapper:last-child"] = array (
1733
+ "margin-bottom" => 0
1734
+ );
1735
+
1736
+ } else if ( "mobile" == $attr['stack'] ) {
1737
+
1738
+ $m_selectors[" .uagb-ss__wrapper"] = array (
1739
+ "margin-left" => 0,
1740
+ "margin-right" => 0,
1741
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1742
+ );
1743
+
1744
+ $m_selectors[" .uagb-social-share__wrap"] = array (
1745
+ "flex-direction" => "column"
1746
+ );
1747
+
1748
+ $m_selectors[" .uagb-ss__wrapper:last-child"] = array (
1749
+ "margin-bottom" => 0
1750
+ );
1751
+ }
1752
+ }
1753
+
1754
+ // @codingStandardsIgnoreEnd
1755
+
1756
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-social-share-' . $id );
1757
+
1758
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-social-share-' . $id );
1759
+
1760
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-social-share-' . $id );
1761
+
1762
+ $generated_css = array(
1763
+ 'desktop' => $desktop,
1764
+ 'tablet' => $tablet,
1765
+ 'mobile' => $mobile,
1766
+ );
1767
+
1768
+ return $generated_css;
1769
+ }
1770
+
1771
+ /**
1772
+ * Get Icon List Block CSS
1773
+ *
1774
+ * @since 0.0.1
1775
+ * @param array $attr The block attributes.
1776
+ * @param string $id The selector ID.
1777
+ * @return array The Widget List.
1778
+ */
1779
+ public static function get_icon_list_css( $attr, $id ) { // @codingStandardsIgnoreStart
1780
+
1781
+ $defaults = UAGB_Helper::$block_list['uagb/icon-list']['attributes'];
1782
+
1783
+ $attr = array_merge( $defaults, (array) $attr );
1784
+
1785
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
1786
+
1787
+ $m_selectors = array();
1788
+ $t_selectors = array();
1789
+
1790
+ $selectors = array(
1791
+ ".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper" => array(
1792
+ "margin-left" => 0,
1793
+ "margin-right" => 0,
1794
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1795
+ ),
1796
+ ".uagb-icon-list__layout-vertical .uagb-icon-list__wrap" => array(
1797
+ "flex-direction" => "column"
1798
+ ),
1799
+ ".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper:last-child" => array(
1800
+ "margin-bottom" => 0
1801
+ ),
1802
+ ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper" => array(
1803
+ "margin-left" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
1804
+ "margin-right" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
1805
+ ),
1806
+ ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:first-child" => array(
1807
+ "margin-left" => 0
1808
+ ),
1809
+ ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:last-child" => array(
1810
+ "margin-right" => 0
1811
+ ),
1812
+ // Desktop Icon Size CSS starts.
1813
+ " .uagb-icon-list__source-image" => array(
1814
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1815
+ ),
1816
+ " .uagb-icon-list__source-icon" => array(
1817
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1818
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1819
+ "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1820
+ ),
1821
+ " .uagb-icon-list__source-icon svg" => array(
1822
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1823
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1824
+ ),
1825
+ " .uagb-icon-list__source-icon:before"=> array(
1826
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1827
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1828
+ "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1829
+ ),
1830
+ " .uagb-icon-list__label-wrap"=> array(
1831
+ "text-align" => $attr['align']
1832
+ ),
1833
+
1834
+ " .uagb-icon-list__source-wrap"=> array(
1835
+ "padding" => UAGB_Helper::get_css_value( $attr['bgSize'], 'px' ),
1836
+ "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
1837
+ "border-style" => ( $attr['border'] > 0 ) ? 'solid' : '',
1838
+ "border-width" => UAGB_Helper::get_css_value( $attr['border'], 'px' )
1839
+ ),
1840
+ " .uagb-icon-list__wrap"=> array(
1841
+ "justify-content" => $alignment,
1842
+ "-webkit-box-pack" => $alignment,
1843
+ "-ms-flex-pack" => $alignment,
1844
+ "justify-content" => $alignment,
1845
+ "-webkit-box-align" => $alignment,
1846
+ "-ms-flex-align" => $alignment,
1847
+ "align-items" => $alignment,
1848
+ )
1849
+ );
1850
+
1851
+ if ( 'right' == $attr['align'] ) {
1852
+ $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
1853
+ "margin-left" => UAGB_Helper::get_css_value( $attr['inner_gap'], 'px' )
1854
+ );
1855
+ $selectors[" .uagb-icon-list__content-wrap"] = array(
1856
+ "flex-direction" => "row-reverse"
1857
+ );
1858
+ } else {
1859
+ $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
1860
+ "margin-right" => UAGB_Helper::get_css_value( $attr['inner_gap'], 'px' )
1861
+ );
1862
+ }
1863
+ // Desktop Icon Size CSS ends.
1864
+
1865
+ // Mobile Icon Size CSS starts.
1866
+ $m_selectors = array(
1867
+ " .uagb-icon-list__source-image" => array(
1868
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1869
+ ),
1870
+ " .uagb-icon-list__source-icon" => array(
1871
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1872
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1873
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1874
+ ),
1875
+ " .uagb-icon-list__source-icon svg" => array(
1876
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1877
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1878
+ ),
1879
+ " .uagb-icon-list__source-icon:before" => array(
1880
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1881
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1882
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1883
+ ),
1884
+ );
1885
+ // Mobile Icon Size CSS ends.
1886
+
1887
+ // Tablet Icon Size CSS starts.
1888
+ $t_selectors = array(
1889
+ " .uagb-icon-list__source-image" => array(
1890
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1891
+ ),
1892
+ " .uagb-icon-list__source-icon" => array(
1893
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1894
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1895
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1896
+ ),
1897
+ " .uagb-icon-list__source-icon svg" => array(
1898
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1899
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1900
+ ),
1901
+ " .uagb-icon-list__source-icon:before" => array(
1902
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1903
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1904
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1905
+ ),
1906
+ );
1907
+ // Tablet Icon Size CSS ends.
1908
+
1909
+ foreach ( $attr['icons'] as $key => $icon ) {
1910
+
1911
+ $icon['icon_color'] = ( isset( $icon['icon_color'] ) ) ? $icon['icon_color'] : '';
1912
+ $icon['icon_hover_color'] = ( isset( $icon['icon_hover_color'] ) ) ? $icon['icon_hover_color'] : '';
1913
+ $icon['icon_bg_color'] = ( isset( $icon['icon_bg_color'] ) ) ? $icon['icon_bg_color'] : '';
1914
+ $icon['icon_bg_hover_color'] = ( isset( $icon['icon_bg_hover_color'] ) ) ? $icon['icon_bg_hover_color'] : '';
1915
+ $icon['icon_border_color'] = ( isset( $icon['icon_border_color'] ) ) ? $icon['icon_border_color'] : '';
1916
+ $icon['icon_border_hover_color'] = ( isset( $icon['icon_border_hover_color'] ) ) ? $icon['icon_border_hover_color'] : '';
1917
+ $icon['label_color'] = ( isset( $icon['label_color'] ) ) ? $icon['label_color'] : '';
1918
+ $icon['label_hover_color'] = ( isset( $icon['label_hover_color'] ) ) ? $icon['label_hover_color'] : '';
1919
+
1920
+ if ( $attr['icon_count'] <= $key ) {
1921
+ break;
1922
+ }
1923
+
1924
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon"] = array (
1925
+ "color" => $icon['icon_color']
1926
+ );
1927
+
1928
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon svg"] = array (
1929
+ "fill" => $icon['icon_color']
1930
+ );
1931
+
1932
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon"] = array (
1933
+ "color" => $icon['icon_hover_color']
1934
+ );
1935
+
1936
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon svg"] = array (
1937
+ "fill" => $icon['icon_hover_color']
1938
+ );
1939
+
1940
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
1941
+ "color" => $icon['label_color'],
1942
+ "font-size" => UAGB_Helper::get_css_value( $attr['fontSize'], $attr['fontSizeType'] ),
1943
+ 'font-family' => $attr['fontFamily'],
1944
+ 'font-weight' => $attr['fontWeight'],
1945
+ 'line-height' => $attr['lineHeight'] . $attr['lineHeightType'],
1946
+ );
1947
+
1948
+ $m_selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
1949
+ "font-size" => UAGB_Helper::get_css_value( $attr['fontSizeMobile'], $attr['fontSizeType'] ),
1950
+ 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightMobile'], $attr['lineHeightType'] ),
1951
+ );
1952
+
1953
+ $t_selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
1954
+ "font-size" => UAGB_Helper::get_css_value( $attr['fontSizeTablet'], $attr['fontSizeType'] ),
1955
+ 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightTablet'], $attr['lineHeightType'] ),
1956
+ );
1957
+
1958
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__label"] = array (
1959
+ "color" => $icon['label_hover_color']
1960
+ );
1961
+
1962
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-wrap"] = array(
1963
+ "background" => $icon['icon_bg_color'],
1964
+ "border-color" => $icon['icon_border_color'],
1965
+ );
1966
+
1967
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-wrap"] = array(
1968
+ "background" => $icon['icon_bg_hover_color'],
1969
+ "border-color" => $icon['icon_border_hover_color']
1970
+ );
1971
+ }
1972
+
1973
+ if ( 'horizontal' == $attr['icon_layout'] ) {
1974
+
1975
+ if ( "tablet" == $attr['stack'] ) {
1976
+
1977
+ $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
1978
+ "margin-left" => 0,
1979
+ "margin-right" => 0,
1980
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1981
+ );
1982
+
1983
+ $t_selectors[" .uagb-icon-list__wrap"] = array (
1984
+ "flex-direction" => "column"
1985
+ );
1986
+
1987
+ $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
1988
+ "margin-bottom" => 0
1989
+ );
1990
+
1991
+ } else if ( "mobile" == $attr['stack'] ) {
1992
+
1993
+ $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
1994
+ "margin-left" => 0,
1995
+ "margin-right" => 0,
1996
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1997
+ );
1998
+
1999
+ $m_selectors[" .uagb-icon-list__wrap"] = array (
2000
+ "flex-direction" => "column"
2001
+ );
2002
+
2003
+ $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
2004
+ "margin-bottom" => 0
2005
+ );
2006
+ }
2007
+ }
2008
+
2009
+ // @codingStandardsIgnoreEnd
2010
+
2011
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-icon-list-' . $id );
2012
+
2013
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-icon-list-' . $id );
2014
+
2015
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-icon-list-' . $id );
2016
+
2017
+ $generated_css = array(
2018
+ 'desktop' => $desktop,
2019
+ 'tablet' => $tablet,
2020
+ 'mobile' => $mobile,
2021
+ );
2022
+
2023
+ return $generated_css;
2024
+ }
2025
+
2026
+ /**
2027
+ * Get Content Timeline Block CSS
2028
+ *
2029
+ * @since 0.0.1
2030
+ * @param array $attr The block attributes.
2031
+ * @param string $id The selector ID.
2032
+ * @return array The Widget List.
2033
+ */
2034
+ public static function get_content_timeline_css( $attr, $id ) { // @codingStandardsIgnoreStart
2035
+
2036
+ $defaults = UAGB_Helper::$block_list['uagb/content-timeline']['attributes'];
2037
+
2038
+ $attr = array_merge( $defaults, (array) $attr );
2039
+
2040
+ $selectors = array();
2041
+ $t_selectors = array();
2042
+ $m_selectors = array();
2043
+
2044
+ $selectors = array(
2045
+ " .uagb-timeline__heading" => array(
2046
+ "text-align" => $attr['align'],
2047
+ "color" => $attr['headingColor'],
2048
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2049
+ 'font-family' => $attr['headFontFamily'],
2050
+ 'font-weight' => $attr['headFontWeight'],
2051
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2052
+ ),
2053
+ " .uagb-timeline__heading-text" => array(
2054
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
2055
+ ),
2056
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
2057
+ 'color'=> $attr['iconFocus'],
2058
+ ),
2059
+ );
2060
+
2061
+ $desktop_selectors = self::get_timeline_selectors( $attr );
2062
+ $selectors = array_merge( $selectors, $desktop_selectors );
2063
+
2064
+ $t_selectors = array(
2065
+ " .uagb-timeline__date-hide.uagb-timeline__date-inner" => array(
2066
+ "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2067
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2068
+ ),
2069
+ " .uagb-timeline__date-new" => array(
2070
+ "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2071
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2072
+ ),
2073
+ " .uagb-timeline__heading" => array(
2074
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2075
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2076
+ ),
2077
+ " .uagb-timeline-desc-content" => array(
2078
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
2079
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
2080
+ ),
2081
+ );
2082
+
2083
+ $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2084
+ $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2085
+
2086
+ $m_selectors = array(
2087
+ " .uagb-timeline__date-hide.uagb-timeline__date-inner" => array(
2088
+ "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2089
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
2090
+ ),
2091
+ " .uagb-timeline__date-new" => array(
2092
+ "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2093
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
2094
+ ),
2095
+ " .uagb-timeline__heading" => array(
2096
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2097
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2098
+ ),
2099
+ " .uagb-timeline-desc-content" => array(
2100
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
2101
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
2102
+ ),
2103
+ );
2104
+
2105
+ $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2106
+
2107
+ $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2108
+
2109
+ // @codingStandardsIgnoreEnd
2110
+
2111
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
2112
+
2113
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-ctm-' . $id );
2114
+
2115
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-ctm-' . $id );
2116
+
2117
+ $generated_css = array(
2118
+ 'desktop' => $desktop,
2119
+ 'tablet' => $tablet,
2120
+ 'mobile' => $mobile,
2121
+ );
2122
+
2123
+ return $generated_css;
2124
+ }
2125
+
2126
+ /**
2127
+ * Get Content Timeline Block CSS
2128
+ *
2129
+ * @since 0.0.1
2130
+ * @param array $attr The block attributes.
2131
+ * @param string $id The selector ID.
2132
+ * @return array The Widget List.
2133
+ */
2134
+ public static function get_post_timeline_css( $attr, $id ) { // @codingStandardsIgnoreStart
2135
+
2136
+ $defaults = UAGB_Helper::$block_list['uagb/post-timeline']['attributes'];
2137
+
2138
+ $attr = array_merge( $defaults, (array) $attr );
2139
+ $t_selectors = array();
2140
+
2141
+ $selectors = array(
2142
+ " .uagb-timeline__heading" => array(
2143
+ "text-align" => $attr['align'],
2144
+ ),
2145
+ " .uagb-timeline__author" => array(
2146
+ "text-align" => $attr['align'],
2147
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['authorSpace'], 'px' )
2148
+ ),
2149
+ " .uagb-timeline__link_parent" => array(
2150
+ "text-align" => $attr['align'],
2151
+ ),
2152
+ " .uagb-timeline__image a" => array(
2153
+ "text-align" => $attr['align'],
2154
+ ),
2155
+ " .uagb-timeline__author-link" => array(
2156
+ "color" => $attr['authorColor'],
2157
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2158
+ 'font-family' => $attr['authorFontFamily'],
2159
+ 'font-weight' => $attr['authorFontWeight'],
2160
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2161
+ ),
2162
+ " .dashicons-admin-users" => array(
2163
+ "color" => $attr['authorColor'],
2164
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2165
+ 'font-weight' => $attr['authorFontWeight'],
2166
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2167
+ ),
2168
+ " .uagb-timeline__link" => array(
2169
+ "color" => $attr['ctaColor'],
2170
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2171
+ 'font-family' => $attr['ctaFontFamily'],
2172
+ 'font-weight' => $attr['ctaFontWeight'],
2173
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2174
+ "background-color" => $attr['ctaBackground'],
2175
+ ),
2176
+ " .uagb-timeline__heading a" => array(
2177
+ "text-align" => $attr['align'],
2178
+ "color" => $attr['headingColor'],
2179
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2180
+ 'font-family' => $attr['headFontFamily'],
2181
+ 'font-weight' => $attr['headFontWeight'],
2182
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2183
+ ),
2184
+ " .uagb-timeline__heading-text" => array(
2185
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
2186
+ ),
2187
+ " .uagb_timeline__cta-enable .uagb-timeline-desc-content" => array(
2188
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['contentSpace'], 'px' ),
2189
+ ),
2190
+ ' .uagb-content' => array(
2191
+ 'padding'=> UAGB_Helper::get_css_value( $attr['contentPadding'], 'px' ),
2192
+ ),
2193
+ );
2194
+
2195
+
2196
+
2197
+ $desktop_selectors = self::get_timeline_selectors( $attr );
2198
+ $selectors = array_merge( $selectors, $desktop_selectors );
2199
+
2200
+ $t_selectors = array(
2201
+ " .uagb-timeline__author-link" => array(
2202
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2203
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2204
+ ),
2205
+ " .dashicons-admin-users" => array(
2206
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2207
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2208
+ ),
2209
+ " .uagb-timeline__link" => array(
2210
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2211
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2212
+ ),
2213
+ " .uagb-timeline__heading a" => array(
2214
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2215
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2216
+ ),
2217
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author" => array(
2218
+ "text-align" => 'left',
2219
+ ),
2220
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent" => array(
2221
+ "text-align" => 'left',
2222
+ ),
2223
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__image a" => array(
2224
+ 'text-align' => 'left',
2225
+ ),
2226
+ );
2227
+
2228
+ $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2229
+ $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2230
+
2231
+ // Mobile responsive CSS.
2232
+ $m_selectors = array(
2233
+ " .uagb-timeline__author-link" => array(
2234
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
2235
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
2236
+ ),
2237
+ " .dashicons-admin-users" => array(
2238
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
2239
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
2240
+ ),
2241
+ " .uagb-timeline__link" => array(
2242
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2243
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2244
+ ),
2245
+ " .uagb-timeline__heading a" => array(
2246
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2247
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2248
+ ),
2249
+ " .uagb-timeline__heading" => array(
2250
+ "text-align" => $attr['align'],
2251
+ ),
2252
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author" => array(
2253
+ "text-align" => 'left',
2254
+ ),
2255
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent" => array(
2256
+ "text-align" => 'left',
2257
+ ),
2258
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__image a" => array(
2259
+ 'text-align' => 'left',
2260
+ ),
2261
+ );
2262
+
2263
+ $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2264
+ $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2265
+
2266
+ // @codingStandardsIgnoreEnd
2267
+
2268
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
2269
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-ctm-' . $id );
2270
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-ctm-' . $id );
2271
+
2272
+ $generated_css = array(
2273
+ 'desktop' => $desktop,
2274
+ 'tablet' => $tablet,
2275
+ 'mobile' => $mobile,
2276
+ );
2277
+
2278
+ return $generated_css;
2279
+ }
2280
+
2281
+ /**
2282
+ * Get Restaurant Menu Block CSS
2283
+ *
2284
+ * @since 1.0.2
2285
+ * @param array $attr The block attributes.
2286
+ * @param string $id The selector ID.
2287
+ * @return array The Widget List.
2288
+ */
2289
+ public static function get_restaurant_menu_css( $attr, $id ) { // @codingStandardsIgnoreStart
2290
+
2291
+ $defaults = UAGB_Helper::$block_list['uagb/restaurant-menu']['attributes'];
2292
+
2293
+ $attr = array_merge( $defaults, (array) $attr );
2294
+
2295
+ $m_selectors = array();
2296
+ $t_selectors = array();
2297
+
2298
+ $align = $attr['headingAlign'];
2299
+ if( 'left' === $align ){
2300
+ $align = 'flex-start';
2301
+ }else if( 'right' === $align ){
2302
+ $align = 'flex-end';
2303
+ }
2304
+
2305
+ $selectors = array(
2306
+ " .uagb-rest_menu__wrap" => array(
2307
+ 'padding-left' => UAGB_Helper::get_css_value( ( $attr['columnGap']/2 ), 'px' ),
2308
+ 'padding-right' => UAGB_Helper::get_css_value( ( $attr['columnGap']/2 ), 'px' ),
2309
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' )
2310
+ ),
2311
+ " .uagb-rest_menu__wrap .uagb-rm__image-content" => array(
2312
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['imgHrPadding'],'px' ),
2313
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['imgHrPadding'],'px' ),
2314
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'],'px' ),
2315
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'],'px' ),
2316
+ ),
2317
+ " .uagb-rm__image img" => array(
2318
+ 'width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
2319
+ 'max-width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
2320
+ ),
2321
+ " .uagb-rm__separator-parent" => array(
2322
+ 'justify-content' => $align,
2323
+ ),
2324
+ " .uagb-rm__content" => array(
2325
+ 'text-align' => $attr['headingAlign'] ,
2326
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
2327
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
2328
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
2329
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
2330
+ ),
2331
+ " .uagb-rm__title" => array(
2332
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2333
+ 'color' => $attr['titleColor'] ,
2334
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
2335
+ 'font-family' => $attr['titleFontFamily'],
2336
+ 'font-weight' => $attr['titleFontWeight'],
2337
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2338
+ ),
2339
+ " .uagb-rm__price" => array(
2340
+ 'font-size' => UAGB_Helper::get_css_value( $attr['priceFontSize'], $attr['priceFontSizeType'] ),
2341
+ 'font-family' => $attr['priceFontFamily'],
2342
+ 'font-weight' => $attr['priceFontWeight'],
2343
+ 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeight'], $attr['priceLineHeightType'] ),
2344
+ 'color' => $attr['priceColor'],
2345
+ ),
2346
+ " .uagb-rm__desc" => array(
2347
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
2348
+ 'font-family' => $attr['descFontFamily'],
2349
+ 'font-weight' => $attr['descFontWeight'],
2350
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
2351
+ 'color'=> $attr['descColor'],
2352
+ 'margin-bottom'=> UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
2353
+ ),
2354
+ );
2355
+
2356
+ if ( $attr["seperatorStyle"] != "none" ) {
2357
+ $selectors[" .uagb-rest_menu__wrap .uagb-rm__separator"] = array(
2358
+ 'border-top-color'=> $attr['seperatorColor'],
2359
+ 'border-top-style'=> $attr['seperatorStyle'],
2360
+ 'border-top-width'=> UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
2361
+ 'width'=> UAGB_Helper::get_css_value( $attr['seperatorWidth'], '%' ),
2362
+ );
2363
+ }
2364
+
2365
+ $selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)'] = array(
2366
+ 'margin-left'=> '0',
2367
+ 'clear'=> 'left',
2368
+ );
2369
+
2370
+ $t_selectors = array(
2371
+ ' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)' => array(
2372
+ 'margin-left'=> 'unset',
2373
+ 'clear'=> 'unset',
2374
+ ),
2375
+ ' .uagb-rest_menu__wrap.uagb-rm__tablet-column-'.$attr['tcolumns'].':nth-child('.$attr['tcolumns'].'n+1)' => array(
2376
+ 'margin-left'=> '0',
2377
+ 'clear'=> 'left',
2378
+ ),
2379
+ " .uagb-rm__title" => array(
2380
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2381
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2382
+ ),
2383
+ " .uagb-rm__desc" => array(
2384
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
2385
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
2386
+ ),
2387
+ " .uagb-rm__price" => array(
2388
+ "font-size" => UAGB_Helper::get_css_value( $attr['priceFontSizeTablet'], $attr['priceFontSizeType'] ),
2389
+ 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeightTablet'], $attr['priceLineHeightType'] ),
2390
+ )
2391
+ );
2392
+
2393
+ $m_selectors = array(
2394
+ ' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)' => array(
2395
+ 'margin-left'=> 'unset',
2396
+ 'clear'=> 'unset',
2397
+ ),
2398
+ ' .uagb-rest_menu__wrap.uagb-rm__mobile-column-'.$attr['mcolumns'].':nth-child('.$attr['mcolumns'].'n+1)' => array(
2399
+ 'margin-left'=> '0',
2400
+ 'clear'=> 'left',
2401
+ ),
2402
+ " .uagb-rm__title" => array(
2403
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2404
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2405
+ ),
2406
+ " .uagb-rm__desc" => array(
2407
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
2408
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
2409
+ ),
2410
+ " .uagb-rm__price" => array(
2411
+ "font-size" => UAGB_Helper::get_css_value( $attr['priceFontSizeMobile'], $attr['priceFontSizeType'] ),
2412
+ 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeightMobile'], $attr['priceLineHeightType'] ),
2413
+ )
2414
+ );
2415
+
2416
+ // @codingStandardsIgnoreEnd
2417
+
2418
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-rm-' . $id );
2419
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-rm-' . $id );
2420
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-rm-' . $id );
2421
+
2422
+ $generated_css = array(
2423
+ 'desktop' => $desktop,
2424
+ 'tablet' => $tablet,
2425
+ 'mobile' => $mobile,
2426
+ );
2427
+
2428
+ return $generated_css;
2429
+ }
2430
+
2431
+ /**
2432
+ * Get Post Grid Block CSS
2433
+ *
2434
+ * @since 1.4.0
2435
+ * @param array $attr The block attributes.
2436
+ * @param string $id The selector ID.
2437
+ * @return array The Widget List.
2438
+ */
2439
+ public static function get_post_grid_css( $attr, $id ) { // @codingStandardsIgnoreStart
2440
+
2441
+ $defaults = UAGB_Helper::$block_list['uagb/post-grid']['attributes'];
2442
+
2443
+ $attr = array_merge( $defaults, (array) $attr );
2444
+
2445
+ $selectors = self::get_post_selectors( $attr );
2446
+
2447
+ $m_selectors = self::get_post_mobile_selectors( $attr );
2448
+
2449
+ $t_selectors = self::get_post_tablet_selectors( $attr );
2450
+
2451
+ // @codingStandardsIgnoreEnd
2452
+
2453
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__grid-' . $id );
2454
+
2455
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__grid-' . $id );
2456
+
2457
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__grid-' . $id );
2458
+
2459
+ $generated_css = array(
2460
+ 'desktop' => $desktop,
2461
+ 'tablet' => $tablet,
2462
+ 'mobile' => $mobile,
2463
+ );
2464
+
2465
+ return $generated_css;
2466
+ }
2467
+
2468
+ /**
2469
+ * Get Post Carousel Block CSS
2470
+ *
2471
+ * @since 1.4.0
2472
+ * @param array $attr The block attributes.
2473
+ * @param string $id The selector ID.
2474
+ * @return array The Widget List.
2475
+ */
2476
+ public static function get_post_carousel_css( $attr, $id ) { // @codingStandardsIgnoreStart
2477
+
2478
+ $defaults = UAGB_Helper::$block_list['uagb/post-carousel']['attributes'];
2479
+
2480
+ $attr = array_merge( $defaults, (array) $attr );
2481
+
2482
+ $selectors = self::get_post_selectors( $attr );
2483
+
2484
+ $m_selectors = self::get_post_mobile_selectors( $attr );
2485
+
2486
+ $t_selectors = self::get_post_tablet_selectors( $attr );
2487
+
2488
+ $selectors[" .slick-arrow"] = array(
2489
+ "border-color" => $attr['arrowColor']
2490
+ );
2491
+
2492
+ $selectors[" .slick-arrow span"] = array(
2493
+ "color" => $attr['arrowColor'],
2494
+ "font-size" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2495
+ "width" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2496
+ "height" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' )
2497
+ );
2498
+
2499
+ $selectors[" .slick-arrow svg"] = array(
2500
+ "fill" => $attr['arrowColor'],
2501
+ "width" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2502
+ "height" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' )
2503
+ );
2504
+
2505
+ $selectors[" .slick-arrow"] = array(
2506
+ "border-color" => $attr['arrowColor'],
2507
+ "border-width" => UAGB_Helper::get_css_value( $attr['arrowBorderSize'], 'px' ),
2508
+ "border-radius" => UAGB_Helper::get_css_value( $attr['arrowBorderRadius'], 'px' )
2509
+ );
2510
+
2511
+ $selectors[".uagb-post-grid ul.slick-dots li.slick-active button:before"] = array(
2512
+ "color" => $attr['arrowColor']
2513
+ );
2514
+
2515
+ $selectors[".uagb-slick-carousel ul.slick-dots li button:before"] = array(
2516
+ "color" => $attr['arrowColor']
2517
+ );
2518
+
2519
+ if ( isset( $attr['arrowDots'] ) && 'dots' == $attr['arrowDots'] ) {
2520
+
2521
+ $selectors[".uagb-slick-carousel"] = array(
2522
+ "padding" => "0 0 35px 0"
2523
+ );
2524
+ }
2525
+
2526
+ // @codingStandardsIgnoreEnd
2527
+
2528
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__carousel-' . $id );
2529
+
2530
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__carousel-' . $id );
2531
+
2532
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__carousel-' . $id );
2533
+
2534
+ $generated_css = array(
2535
+ 'desktop' => $desktop,
2536
+ 'tablet' => $tablet,
2537
+ 'mobile' => $mobile,
2538
+ );
2539
+
2540
+ return $generated_css;
2541
+ }
2542
+
2543
+ /**
2544
+ * Get Post Masonry Block CSS
2545
+ *
2546
+ * @since 1.4.0
2547
+ * @param array $attr The block attributes.
2548
+ * @param string $id The selector ID.
2549
+ * @return array The Widget List.
2550
+ */
2551
+ public static function get_post_masonry_css( $attr, $id ) { // @codingStandardsIgnoreStart
2552
+
2553
+ $defaults = UAGB_Helper::$block_list['uagb/post-masonry']['attributes'];
2554
+
2555
+ $attr = array_merge( $defaults, (array) $attr );
2556
+
2557
+ $selectors = self::get_post_selectors( $attr );
2558
+
2559
+ $m_selectors = self::get_post_mobile_selectors( $attr );
2560
+
2561
+ $t_selectors = self::get_post_tablet_selectors( $attr );
2562
+
2563
+ // @codingStandardsIgnoreEnd
2564
+
2565
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__masonry-' . $id );
2566
+
2567
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__masonry-' . $id );
2568
+
2569
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__masonry-' . $id );
2570
+
2571
+ $generated_css = array(
2572
+ 'desktop' => $desktop,
2573
+ 'tablet' => $tablet,
2574
+ 'mobile' => $mobile,
2575
+ );
2576
+
2577
+ return $generated_css;
2578
+ }
2579
+
2580
+ /**
2581
+ * Get Post Block Selectors CSS
2582
+ *
2583
+ * @param array $attr The block attributes.
2584
+ * @since 1.4.0
2585
+ */
2586
+ public static function get_post_selectors( $attr ) { // @codingStandardsIgnoreStart
2587
+ return array(
2588
+ " .uagb-post__items" => array(
2589
+ "margin-right" => UAGB_Helper::get_css_value( ( -$attr['rowGap']/2 ), 'px' ),
2590
+ "margin-left" => UAGB_Helper::get_css_value( ( -$attr['rowGap']/2 ), 'px' ),
2591
+ ),
2592
+ " .uagb-post__items article" => array(
2593
+ "padding-right" => UAGB_Helper::get_css_value( ( $attr['rowGap']/2 ), 'px' ),
2594
+ "padding-left" => UAGB_Helper::get_css_value( ( $attr['rowGap']/2 ), 'px' ),
2595
+ "margin-bottom" => UAGB_Helper::get_css_value( ( $attr['columnGap'] ), 'px' )
2596
+ ),
2597
+ " .uagb-post__inner-wrap" => array(
2598
+ "background" => $attr['bgColor']
2599
+ ),
2600
+ " .uagb-post__text" => array(
2601
+ "padding" => UAGB_Helper::get_css_value( ( $attr['contentPadding'] ), 'px' ),
2602
+ "text-align" => $attr['align']
2603
+ ),
2604
+ " .uagb-post__text .uagb-post__title" => array(
2605
+ "color"=> $attr['titleColor'],
2606
+ "font-size"=> UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2607
+ 'font-family' => $attr['titleFontFamily'],
2608
+ 'font-weight' => $attr['titleFontWeight'],
2609
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2610
+ "margin-bottom"=> UAGB_Helper::get_css_value( $attr['titleBottomSpace'], 'px' )
2611
+ ),
2612
+ " .uagb-post__text .uagb-post__title a" => array(
2613
+ "color" => $attr['titleColor'],
2614
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2615
+ 'font-family' => $attr['titleFontFamily'],
2616
+ 'font-weight' => $attr['titleFontWeight'],
2617
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2618
+ ),
2619
+ " .uagb-post__text .uagb-post-grid-byline" => array(
2620
+ "color"=> $attr['metaColor'],
2621
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2622
+ 'font-family' => $attr['metaFontFamily'],
2623
+ 'font-weight' => $attr['metaFontWeight'],
2624
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2625
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['metaBottomSpace'], 'px' )
2626
+ ),
2627
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2628
+ "color" => $attr['metaColor'],
2629
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2630
+ 'font-family' => $attr['metaFontFamily'],
2631
+ 'font-weight' => $attr['metaFontWeight'],
2632
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2633
+ ),
2634
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2635
+ "color" => $attr['metaColor'],
2636
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2637
+ 'font-family' => $attr['metaFontFamily'],
2638
+ 'font-weight' => $attr['metaFontWeight'],
2639
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2640
+ ),
2641
+ " .uagb-post__text .uagb-post__excerpt" => array(
2642
+ "color" => $attr['excerptColor'],
2643
+ "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSize'], $attr['excerptFontSizeType'] ),
2644
+ 'font-family' => $attr['excerptFontFamily'],
2645
+ 'font-weight' => $attr['excerptFontWeight'],
2646
+ 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeight'], $attr['excerptLineHeightType'] ),
2647
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['excerptBottomSpace'], 'px' )
2648
+ ),
2649
+ " .uagb-post__text .uagb-post__cta" => array(
2650
+ "color" => $attr['ctaColor'],
2651
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2652
+ 'font-family' => $attr['ctaFontFamily'],
2653
+ 'font-weight' => $attr['ctaFontWeight'],
2654
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2655
+ "background" => $attr['ctaBgColor'],
2656
+ "border-color" => $attr['borderColor'],
2657
+ "border-width" => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
2658
+ "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
2659
+ "border-style" => $attr['borderStyle'],
2660
+ ),
2661
+ " .uagb-post__text .uagb-post__cta:hover" => array(
2662
+ "border-color"=> $attr['borderHColor']
2663
+ ),
2664
+ " .uagb-post__text .uagb-post__cta a" => array(
2665
+ "color"=> $attr['ctaColor'],
2666
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2667
+ 'font-family' => $attr['ctaFontFamily'],
2668
+ 'font-weight' => $attr['ctaFontWeight'],
2669
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2670
+ "padding" => ( $attr['btnVPadding'] ) . "px " . ( $attr['btnHPadding'] ) . "px",
2671
+ ),
2672
+ " .uagb-post__text .uagb-post__cta:hover" => array(
2673
+ "color"=> $attr['ctaHColor'],
2674
+ "background"=> $attr['ctaBgHColor']
2675
+ ),
2676
+ " .uagb-post__text .uagb-post__cta:hover a" => array(
2677
+ "color"=> $attr['ctaHColor']
2678
+ ),
2679
+ " .uagb-post__image:before" => array(
2680
+ "background-color" => $attr['bgOverlayColor'],
2681
+ "opacity" => ( $attr['overlayOpacity'] / 100 )
2682
+ ),
2683
+ );
2684
+ // @codingStandardsIgnoreEnd
2685
+ }
2686
+
2687
+ /**
2688
+ * Get Post Block Selectors CSS for Mobile devices
2689
+ *
2690
+ * @param array $attr The block attributes.
2691
+ * @since 1.6.1
2692
+ */
2693
+ public static function get_post_mobile_selectors( $attr ) { // @codingStandardsIgnoreStart
2694
+
2695
+ return array(
2696
+ " .uagb-post__text .uagb-post__title" => array(
2697
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2698
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2699
+ ),
2700
+ " .uagb-post__text .uagb-post__title a" => array(
2701
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2702
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2703
+ ),
2704
+ " .uagb-post__text .uagb-post-grid-byline" => array(
2705
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2706
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2707
+ ),
2708
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2709
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2710
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2711
+ ),
2712
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2713
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2714
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2715
+ ),
2716
+ " .uagb-post__text .uagb-post__excerpt" => array(
2717
+ "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSizeMobile'], $attr['excerptFontSizeType'] ),
2718
+ 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeightMobile'], $attr['excerptLineHeightType'] ),
2719
+ ),
2720
+ " .uagb-post__text .uagb-post__cta" => array(
2721
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2722
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2723
+ ),
2724
+ " .uagb-post__text .uagb-post__cta a" => array(
2725
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2726
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2727
+ ),
2728
+ " .uagb-post__text" => array(
2729
+ "padding" => ( $attr['contentPaddingMobile'] ) . "px",
2730
+ ),
2731
+ );
2732
+ // @codingStandardsIgnoreEnd
2733
+ }
2734
+
2735
+ /**
2736
+ * Get Post Block Selectors CSS for Tablet devices
2737
+ *
2738
+ * @param array $attr The block attributes.
2739
+ * @since 1.8.2
2740
+ */
2741
+ public static function get_post_tablet_selectors( $attr ) { // @codingStandardsIgnoreStart
2742
+ return array(
2743
+ " .uagb-post__text .uagb-post__title" => array(
2744
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2745
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2746
+ ),
2747
+ " .uagb-post__text .uagb-post__title a" => array(
2748
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2749
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2750
+ ),
2751
+ " .uagb-post__text .uagb-post-grid-byline" => array(
2752
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2753
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2754
+ ),
2755
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2756
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2757
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2758
+ ),
2759
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2760
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2761
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2762
+ ),
2763
+ " .uagb-post__text .uagb-post__excerpt" => array(
2764
+ "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSizeTablet'], $attr['excerptFontSizeType'] ),
2765
+ 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeightTablet'], $attr['excerptLineHeightType'] ),
2766
+ ),
2767
+ " .uagb-post__text .uagb-post__cta" => array(
2768
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2769
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2770
+ ),
2771
+ " .uagb-post__text .uagb-post__cta a" => array(
2772
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2773
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2774
+ ),
2775
+ );
2776
+ // @codingStandardsIgnoreEnd
2777
+ }
2778
+
2779
+ /**
2780
+ * Get Blockquote CSS
2781
+ *
2782
+ * @since 1.8.2
2783
+ * @param array $attr The block attributes.
2784
+ * @param string $id The selector ID.
2785
+ * @return array The Widget List.
2786
+ */
2787
+ public static function get_blockquote_css( $attr, $id ) {
2788
+ // @codingStandardsIgnoreStart
2789
+
2790
+ $defaults = UAGB_Helper::$block_list['uagb/blockquote']['attributes'];
2791
+
2792
+ $attr = array_merge( $defaults, (array) $attr );
2793
+
2794
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
2795
+
2796
+ $content_align ="center";
2797
+
2798
+ if( 'left' === $attr['align'] ){
2799
+ $content_align =" flex-start";
2800
+ }
2801
+ if( 'right' === $attr['align'] ){
2802
+ $content_align =" flex-end";
2803
+ }
2804
+
2805
+ $author_space = $attr['authorSpace'];
2806
+
2807
+ if( 'center' !== $attr['align'] || $attr['skinStyle'] == "border" ){
2808
+ $author_space = 0;
2809
+ }
2810
+
2811
+ //Set align to left for border style.
2812
+ $text_align = $attr['align'];
2813
+
2814
+ if( 'border' === $attr['skinStyle'] ){
2815
+ $text_align = 'left';
2816
+ }
2817
+
2818
+ $selectors = array(
2819
+ " .uagb-blockquote__content" => array(
2820
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
2821
+ 'font-family' => $attr['descFontFamily'],
2822
+ 'font-weight' => $attr['descFontWeight'],
2823
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
2824
+ "color" => $attr['descColor'],
2825
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
2826
+ "text-align" => $text_align,
2827
+ ),
2828
+ " cite.uagb-blockquote__author" => array(
2829
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2830
+ 'font-family' => $attr['authorFontFamily'],
2831
+ 'font-weight' => $attr['authorFontWeight'],
2832
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2833
+ "color" => $attr['authorColor'],
2834
+ "text-align" => $text_align,
2835
+ ),
2836
+ " .uagb-blockquote__skin-border blockquote.uagb-blockquote" => array(
2837
+ "border-color" => $attr['borderColor'],
2838
+ "border-left-style" => $attr['borderStyle'],
2839
+ "border-left-width" => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
2840
+ "padding-left" => UAGB_Helper::get_css_value( $attr['borderGap'], 'px' ),
2841
+ "padding-top" => UAGB_Helper::get_css_value( $attr['verticalPadding'], 'px' ),
2842
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr['verticalPadding'], 'px' ),
2843
+ ),
2844
+
2845
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
2846
+ "background" => $attr['quoteBgColor'],
2847
+ "border-radius" => UAGB_Helper::get_css_value( $attr['quoteBorderRadius'],'%' ),
2848
+ "margin-top" => UAGB_Helper::get_css_value( $attr['quoteTopMargin'], 'px' ),
2849
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['quoteBottomMargin'], 'px' ),
2850
+ "margin-left" => UAGB_Helper::get_css_value( $attr['quoteLeftMargin'], 'px' ),
2851
+ "margin-right" => UAGB_Helper::get_css_value( $attr['quoteRightMargin'], 'px' ),
2852
+ "padding" => UAGB_Helper::get_css_value( $attr['quotePadding'], $attr['quotePaddingType'] ),
2853
+ ),
2854
+
2855
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
2856
+ "width" => UAGB_Helper::get_css_value( $attr['quoteSize'], $attr['quoteSizeType'] ),
2857
+ "height" => UAGB_Helper::get_css_value( $attr['quoteSize'], $attr['quoteSizeType'] ),
2858
+ ),
2859
+
2860
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon svg" => array(
2861
+ "fill" => $attr['quoteColor'],
2862
+ ),
2863
+
2864
+ " .uagb-blockquote__style-style_1 .uagb-blockquote" => array(
2865
+ "text-align" => $attr['align'],
2866
+ ),
2867
+
2868
+ " .uagb-blockquote__author-wrap" => array(
2869
+ "margin-bottom" => UAGB_Helper::get_css_value( $author_space, 'px' ),
2870
+ ),
2871
+ " .uagb-blockquote__author-image img" => array(
2872
+ "width" => UAGB_Helper::get_css_value( $attr['authorImageWidth'], 'px' ),
2873
+ "height" => UAGB_Helper::get_css_value( $attr['authorImageWidth'], 'px' ),
2874
+ "border-radius" => UAGB_Helper::get_css_value( $attr['authorImgBorderRadius'], '%' )
2875
+ ),
2876
+
2877
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon:hover svg" => array(
2878
+ "fill" => $attr['quoteHoverColor'],
2879
+ ),
2880
+
2881
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap:hover" => array(
2882
+ "background" => $attr['quoteBgHoverColor'],
2883
+ ),
2884
+
2885
+ " .uagb-blockquote__skin-border blockquote.uagb-blockquote:hover" => array(
2886
+ "border-left-color" => $attr['borderHoverColor'],
2887
+ ),
2888
+ );
2889
+
2890
+ if( $attr['enableTweet'] ){
2891
+ $selectors[" a.uagb-blockquote__tweet-button"] = array(
2892
+ "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2893
+ 'font-family' => $attr['tweetBtnFontFamily'],
2894
+ 'font-weight' => $attr['tweetBtnFontWeight'],
2895
+ 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeight'], $attr['tweetBtnLineHeightType'] ),
2896
+ );
2897
+
2898
+ $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button"] = array(
2899
+ "color" => $attr['tweetLinkColor'],
2900
+ );
2901
+
2902
+ $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button svg"] = array(
2903
+ "fill" => $attr['tweetLinkColor'],
2904
+ );
2905
+
2906
+ $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button"] = array(
2907
+ "color" => $attr['tweetBtnColor'],
2908
+ "background-color" => $attr['tweetBtnBgColor'],
2909
+ "padding-left" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2910
+ "padding-right" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2911
+ "padding-top" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2912
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2913
+ );
2914
+
2915
+ $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button svg"] = array(
2916
+ "fill" => $attr['tweetBtnColor'],
2917
+ );
2918
+
2919
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button"] = array(
2920
+ "color" => $attr['tweetBtnColor'],
2921
+ "background-color" => $attr['tweetBtnBgColor'],
2922
+ "padding-left" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2923
+ "padding-right" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2924
+ "padding-top" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2925
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2926
+ );
2927
+
2928
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button svg"] = array(
2929
+ "fill" => $attr['tweetBtnColor'],
2930
+ );
2931
+
2932
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before"] = array(
2933
+ "border-right-color" => $attr['tweetBtnBgColor'],
2934
+ );
2935
+
2936
+ $selectors[" a.uagb-blockquote__tweet-button svg"] = array(
2937
+ "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2938
+ "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2939
+ );
2940
+
2941
+ $selectors[" .uagb-blockquote__tweet-icon_text a.uagb-blockquote__tweet-button svg"] = array(
2942
+ "margin-right" => UAGB_Helper::get_css_value( $attr['tweetIconSpacing'], 'px' ),
2943
+ );
2944
+
2945
+ // Hover CSS.
2946
+ $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button:hover"] = array(
2947
+ "color" => $attr['tweetBtnHoverColor'],
2948
+ );
2949
+
2950
+ $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button:hover svg"] = array(
2951
+ "fill" => $attr['tweetBtnHoverColor'],
2952
+ );
2953
+
2954
+ $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button:hover"] = array(
2955
+ "color" => $attr['tweetBtnHoverColor'],
2956
+ "background-color" => $attr['tweetBtnBgHoverColor'],
2957
+ );
2958
+
2959
+ $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button:hover svg"] = array(
2960
+ "fill" => $attr['tweetBtnHoverColor'],
2961
+ );
2962
+
2963
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover"] = array(
2964
+ "color" => $attr['tweetBtnHoverColor'],
2965
+ "background-color" => $attr['tweetBtnBgHoverColor'],
2966
+ );
2967
+
2968
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover svg"] = array(
2969
+ "fill" => $attr['tweetBtnHoverColor'],
2970
+ );
2971
+
2972
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover:before"] = array(
2973
+ "border-right-color" => $attr['tweetBtnBgHoverColor'],
2974
+ );
2975
+ }
2976
+
2977
+ $t_selectors = array(
2978
+ " .uagb-blockquote__content" => array(
2979
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
2980
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
2981
+ ),
2982
+ " cite.uagb-blockquote__author" =>array(
2983
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2984
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2985
+ ),
2986
+ " a.uagb-blockquote__tweet-button" => array(
2987
+ "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
2988
+ 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeightTablet'], $attr['tweetBtnLineHeightType'] ),
2989
+ ),
2990
+ " a.uagb-blockquote__tweet-button svg" => array(
2991
+ "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
2992
+ "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
2993
+ ),
2994
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
2995
+ "padding" => UAGB_Helper::get_css_value( $attr['quotePaddingTablet'], $attr['quotePaddingType'] ),
2996
+ ),
2997
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
2998
+ "width" => UAGB_Helper::get_css_value( $attr['quoteSizeTablet'], $attr['quoteSizeType'] ),
2999
+ "height" => UAGB_Helper::get_css_value( $attr['quoteSizeTablet'], $attr['quoteSizeType'] ),
3000
+ ),
3001
+ );
3002
+
3003
+ $m_selectors = array(
3004
+ " .uagb-blockquote__content" => array(
3005
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
3006
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
3007
+ ),
3008
+ " cite.uagb-blockquote__author" => array(
3009
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
3010
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
3011
+ ),
3012
+ " a.uagb-blockquote__tweet-button" => array(
3013
+ "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3014
+ 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeightMobile'], $attr['tweetBtnLineHeightType'] ),
3015
+ ),
3016
+ " a.uagb-blockquote__tweet-button svg" => array(
3017
+ "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3018
+ "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3019
+ ),
3020
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
3021
+ "padding" => UAGB_Helper::get_css_value( $attr['quotePaddingMobile'], $attr['quotePaddingType'] ),
3022
+ ),
3023
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
3024
+ "width" => UAGB_Helper::get_css_value( $attr['quoteSizeMobile'], $attr['quoteSizeType'] ),
3025
+ "height" => UAGB_Helper::get_css_value( $attr['quoteSizeMobile'], $attr['quoteSizeType'] ),
3026
+ ),
3027
+ );
3028
+
3029
+ // @codingStandardsIgnoreEnd
3030
+
3031
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-blockquote-' . $id );
3032
+
3033
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-blockquote-' . $id );
3034
+
3035
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-blockquote-' . $id );
3036
+
3037
+ $generated_css = array(
3038
+ 'desktop' => $desktop,
3039
+ 'tablet' => $tablet,
3040
+ 'mobile' => $mobile,
3041
+ );
3042
+
3043
+ return $generated_css;
3044
+ }
3045
+
3046
+ /**
3047
+ * Get Timeline Block Desktop Selectors CSS
3048
+ *
3049
+ * @param array $attr The block attributes.
3050
+ * @since 1.8.2
3051
+ */
3052
+ public static function get_timeline_selectors( $attr ) { // @codingStandardsIgnoreStart
3053
+ $selectors = array(
3054
+ " .uagb-timeline__heading-text" => array(
3055
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
3056
+ ),
3057
+ " .uagb-timeline-desc-content" => array(
3058
+ "text-align" => $attr['align'],
3059
+ "color" => $attr['subHeadingColor'],
3060
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ),
3061
+ 'font-family' => $attr['subHeadFontFamily'],
3062
+ 'font-weight' => $attr['subHeadFontWeight'],
3063
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
3064
+ ),
3065
+ ' .uagb-timeline__events-new' => array(
3066
+ 'text-align' => $attr['align']
3067
+ ),
3068
+ ' .uagb-timeline__date-inner' => array(
3069
+ 'text-align' => $attr['align']
3070
+ ),
3071
+ ' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3072
+ 'border-left-color' => $attr['backgroundColor']
3073
+ ),
3074
+ ' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3075
+ 'border-left-color' => $attr['backgroundColor']
3076
+ ),
3077
+ ' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3078
+ 'border-right-color' => $attr['backgroundColor']
3079
+ ),
3080
+ ' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3081
+ 'border-right-color' => $attr['backgroundColor']
3082
+ ),
3083
+ ' .uagb-timeline__line__inner' => array(
3084
+ 'background-color' => $attr['separatorFillColor']
3085
+ ),
3086
+ ' .uagb-timeline__line' => array(
3087
+ 'background-color' => $attr['separatorColor'],
3088
+ 'width' => UAGB_Helper::get_css_value( $attr['separatorwidth'], 'px' )
3089
+ ),
3090
+ ' .uagb-timeline__right-block .uagb-timeline__line' => array(
3091
+ 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3092
+ ),
3093
+ ' .uagb-timeline__left-block .uagb-timeline__line' => array(
3094
+ 'left' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3095
+ ),
3096
+ ' .uagb-timeline__center-block .uagb-timeline__line' => array(
3097
+ 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3098
+ ),
3099
+ ' .uagb-timeline__marker' => array(
3100
+ 'background-color' => $attr['separatorBg'],
3101
+ 'min-height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3102
+ 'min-width' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3103
+ 'line-height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3104
+ 'border' => $attr['borderwidth'].'px solid'.$attr['separatorBorder'],
3105
+ ),
3106
+ ' .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow' => array(
3107
+ 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3108
+ ),
3109
+ ' .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow' => array(
3110
+ 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3111
+ ),
3112
+ ' .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow' => array(
3113
+ 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3114
+ ),
3115
+ ' .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow' => array(
3116
+ 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3117
+ ),
3118
+ ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3119
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3120
+ 'margin-right'=> UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3121
+ ),
3122
+ ' .uagb-timeline__field:not(:last-child)' => array(
3123
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['verticalSpace'], 'px' ),
3124
+ ),
3125
+ ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3126
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['dateBottomspace'], 'px' ),
3127
+ 'color' => $attr['dateColor'],
3128
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
3129
+ 'font-family' => $attr['dateFontFamily'],
3130
+ 'font-weight' => $attr['dateFontWeight'],
3131
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeight'], $attr['dateLineHeightType'] ),
3132
+ 'text-align' => $attr['align'],
3133
+ ),
3134
+ ' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
3135
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3136
+ ),
3137
+ ' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
3138
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3139
+ ),
3140
+ ' .uagb-timeline__date-new' => array(
3141
+ 'color' => $attr['dateColor'],
3142
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
3143
+ 'font-family' => $attr['dateFontFamily'],
3144
+ 'font-weight' => $attr['dateFontWeight'],
3145
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeight'], $attr['dateLineHeightType'] ),
3146
+ ),
3147
+ ' .uagb-timeline__events-inner-new' => array(
3148
+ 'background-color' => $attr['backgroundColor'],
3149
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
3150
+ 'padding'=> UAGB_Helper::get_css_value( $attr['bgPadding'], 'px' ),
3151
+ ),
3152
+ ' .uagb-timeline__main .uagb-timeline__icon-new' => array(
3153
+ 'color' => $attr['iconColor'],
3154
+ 'font-size' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
3155
+ 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
3156
+ ),
3157
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new svg' => array(
3158
+ 'fill'=> $attr['iconFocus'],
3159
+ ),
3160
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
3161
+ 'color'=> $attr['iconFocus'],
3162
+ ),
3163
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon' => array(
3164
+ 'background' => $attr['iconBgFocus'],
3165
+ 'border-color'=> $attr['borderFocus'],
3166
+ ),
3167
+ ' .uagb-timeline__main .uagb-timeline__icon-new svg' => array(
3168
+ 'fill'=> $attr['iconColor'],
3169
+ ),
3170
+ );
3171
+
3172
+ return $selectors;
3173
+ // @codingStandardsIgnoreEnd
3174
+ }
3175
+
3176
+ /**
3177
+ * Get Timeline Block Tablet Selectors CSS.
3178
+ *
3179
+ * @param array $attr The block attributes.
3180
+ * @since 1.8.2
3181
+ */
3182
+ public static function get_timeline_tablet_selectors( $attr ) { // @codingStandardsIgnoreStart
3183
+ $tablet_selector = array(
3184
+ " .uagb-timeline-desc-content" => array(
3185
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
3186
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
3187
+ ),
3188
+ ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3189
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
3190
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
3191
+ ),
3192
+ ' .uagb-timeline__date-new' => array(
3193
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
3194
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
3195
+ ),
3196
+ ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3197
+ 'margin-left' => 0,
3198
+ 'margin-right' => 0,
3199
+ ),
3200
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading" => array(
3201
+ "text-align" => 'left',
3202
+ ),
3203
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content" => array(
3204
+ "text-align" => 'left',
3205
+ ),
3206
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new' => array(
3207
+ 'text-align' => 'left'
3208
+ ),
3209
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner' => array(
3210
+ 'text-align' => 'left'
3211
+ ),
3212
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3213
+ 'text-align'=> 'left',
3214
+ ),
3215
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after" => array(
3216
+ "border-right-color" => $attr['backgroundColor'],
3217
+ ),
3218
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line" => array(
3219
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
3220
+ ),
3221
+ );
3222
+
3223
+ return $tablet_selector;
3224
+ // @codingStandardsIgnoreEnd
3225
+ }
3226
+
3227
+ /**
3228
+ * Get Timeline Block Mobile Selectors CSS.
3229
+ *
3230
+ * @param array $attr The block attributes.
3231
+ * @since 1.8.2
3232
+ */
3233
+ public static function get_timeline_mobile_selectors( $attr ) { // @codingStandardsIgnoreStart
3234
+ $m_selectors = array(
3235
+ " .uagb-timeline-desc-content" => array(
3236
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
3237
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
3238
+ ),
3239
+ ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3240
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
3241
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
3242
+ ),
3243
+ ' .uagb-timeline__date-new' => array(
3244
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
3245
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
3246
+ ),
3247
+ ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3248
+ 'margin-left' => 0,
3249
+ 'margin-right' => 0,
3250
+ ),
3251
+ ' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
3252
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3253
+ ),
3254
+ ' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
3255
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3256
+ ),
3257
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading" => array(
3258
+ "text-align" => 'left',
3259
+ ),
3260
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content" => array(
3261
+ "text-align" => 'left',
3262
+ ),
3263
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new' => array(
3264
+ 'text-align' => 'left'
3265
+ ),
3266
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner' => array(
3267
+ 'text-align' => 'left'
3268
+ ),
3269
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3270
+ 'text-align'=> 'left',
3271
+ ),
3272
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after" => array(
3273
+ "border-right-color" => $attr['backgroundColor'],
3274
+ ),
3275
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line" => array(
3276
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
3277
+ ),
3278
+ );
3279
+ return $m_selectors;
3280
+ // @codingStandardsIgnoreEnd
3281
+ }
3282
+
3283
+ /**
3284
+ * Get Contact Form 7 CSS
3285
+ *
3286
+ * @param array $attr The block attributes.
3287
+ * @param string $id The selector ID.
3288
+ * @since 1.10.0
3289
+ */
3290
+ public static function get_cf7_styler_css( $attr, $id ) {
3291
+ $defaults = UAGB_Helper::$block_list['uagb/cf7-styler']['attributes'];
3292
+
3293
+ $attr = array_merge( $defaults, (array) $attr );
3294
+
3295
+ $selectors = array(
3296
+ ' .wpcf7 .wpcf7-form' => array(
3297
+ 'text-align' => $attr['align'],
3298
+ ),
3299
+ ' .wpcf7 form.wpcf7-form:not(input)' => array(
3300
+ 'color' => $attr['fieldLabelColor'],
3301
+ ),
3302
+ ' .wpcf7 input:not([type=submit])' => array(
3303
+ 'background-color' => $attr['fieldBgColor'],
3304
+ 'color' => $attr['fieldInputColor'],
3305
+ 'border-style' => $attr['fieldBorderStyle'],
3306
+ 'border-color' => $attr['fieldBorderColor'],
3307
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3308
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3309
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3310
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3311
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3312
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3313
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3314
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3315
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3316
+ 'font-family' => $attr['inputFontFamily'],
3317
+ 'font-weight' => $attr['inputFontWeight'],
3318
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3319
+ 'text-align' => $attr['align'],
3320
+ ),
3321
+ ' .wpcf7 select' => array(
3322
+ 'background-color' => $attr['fieldBgColor'],
3323
+ 'color' => $attr['fieldLabelColor'],
3324
+ 'border-style' => $attr['fieldBorderStyle'],
3325
+ 'border-color' => $attr['fieldBorderColor'],
3326
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3327
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3328
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3329
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3330
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3331
+ 'font-family' => $attr['inputFontFamily'],
3332
+ 'font-weight' => $attr['inputFontWeight'],
3333
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3334
+ 'text-align' => $attr['align'],
3335
+ ),
3336
+ ' .wpcf7 select.wpcf7-form-control.wpcf7-select:not([multiple="multiple"])' => array(
3337
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3338
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3339
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3340
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3341
+ ),
3342
+ ' .wpcf7 select.wpcf7-select[multiple="multiple"] option' => array(
3343
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3344
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3345
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3346
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3347
+ ),
3348
+ ' .wpcf7 textarea' => array(
3349
+ 'background-color' => $attr['fieldBgColor'],
3350
+ 'color' => $attr['fieldInputColor'],
3351
+ 'border-color' => $attr['fieldBorderColor'],
3352
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3353
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3354
+ 'border-style' => $attr['fieldBorderStyle'],
3355
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3356
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3357
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3358
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3359
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3360
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3361
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3362
+ 'font-family' => $attr['inputFontFamily'],
3363
+ 'font-weight' => $attr['inputFontWeight'],
3364
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3365
+ 'text-align' => $attr['align'],
3366
+ ),
3367
+ ' .wpcf7 textarea::placeholder' => array(
3368
+ 'color' => $attr['fieldInputColor'],
3369
+ 'text-align' => $attr['align'],
3370
+ ),
3371
+ ' .wpcf7 input::placeholder' => array(
3372
+ 'color' => $attr['fieldInputColor'],
3373
+ 'text-align' => $attr['align'],
3374
+ ),
3375
+ ' .wpcf7 form label' => array(
3376
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3377
+ 'font-family' => $attr['labelFontFamily'],
3378
+ 'font-weight' => $attr['labelFontWeight'],
3379
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3380
+ ),
3381
+ ' .wpcf7 form .wpcf7-list-item-label' => array(
3382
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3383
+ 'font-family' => $attr['labelFontFamily'],
3384
+ 'font-weight' => $attr['labelFontWeight'],
3385
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3386
+ ),
3387
+
3388
+ // Focus.
3389
+ ' .wpcf7 form input:not([type=submit]):focus' => array(
3390
+ 'border-color' => $attr['fieldBorderFocusColor'],
3391
+ ),
3392
+ ' .wpcf7 form select:focus' => array(
3393
+ 'border-color' => $attr['fieldBorderFocusColor'],
3394
+ ),
3395
+ ' .wpcf7 textarea:focus' => array(
3396
+ 'border-color' => $attr['fieldBorderFocusColor'],
3397
+ ),
3398
+
3399
+ // Submit button.
3400
+ ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3401
+ 'color' => $attr['buttonTextColor'],
3402
+ 'background-color' => $attr['buttonBgColor'],
3403
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSize'], $attr['buttonFontSizeType'] ),
3404
+ 'font-family' => $attr['buttonFontFamily'],
3405
+ 'font-weight' => $attr['buttonFontWeight'],
3406
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeight'], $attr['buttonLineHeightType'] ),
3407
+ 'border-color' => $attr['buttonBorderColor'],
3408
+ 'border-style' => $attr['buttonBorderStyle'],
3409
+ 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3410
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3411
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3412
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3413
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3414
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3415
+ ),
3416
+ ' .wpcf7 input.wpcf7-form-control.wpcf7-submit:hover' => array(
3417
+ 'color' => $attr['buttonTextHoverColor'],
3418
+ 'background-color' => $attr['buttonBgHoverColor'],
3419
+ 'border-color' => $attr['buttonBorderHoverColor'],
3420
+ ),
3421
+
3422
+ // Check box Radio.
3423
+ ' .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3424
+ 'background-color' => $attr['fieldBgColor'],
3425
+ 'color' => $attr['fieldInputColor'],
3426
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3427
+ 'border-color' => $attr['fieldBorderFocusColor'],
3428
+ ),
3429
+ ' .wpcf7 .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3430
+ 'background-color' => $attr['fieldBgColor'],
3431
+ 'color' => $attr['fieldInputColor'],
3432
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3433
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3434
+ 'border-style' => $attr['fieldBorderStyle'],
3435
+ 'border-color' => $attr['fieldBorderColor'],
3436
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3437
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3438
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3439
+ ),
3440
+ ' .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3441
+ 'background-color' => $attr['fieldBgColor'],
3442
+ 'color' => $attr['fieldInputColor'],
3443
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3444
+ 'border-color' => $attr['fieldBorderFocusColor'],
3445
+ ),
3446
+ ' .wpcf7 .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3447
+ 'background-color' => $attr['fieldBgColor'],
3448
+ 'color' => $attr['fieldInputColor'],
3449
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3450
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3451
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3452
+ 'border-color' => $attr['fieldBorderColor'],
3453
+ 'border-style' => $attr['fieldBorderStyle'],
3454
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3455
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3456
+ ),
3457
+ ' .wpcf7 .wpcf7-radio input[type="radio"] + span:before' => array(
3458
+ 'background-color' => $attr['fieldBgColor'],
3459
+ 'color' => $attr['fieldInputColor'],
3460
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3461
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3462
+ 'border-style' => $attr['fieldBorderStyle'],
3463
+ 'border-color' => $attr['fieldBorderColor'],
3464
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3465
+ ),
3466
+ ' .wpcf7 .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3467
+ 'border-color' => $attr['fieldBorderFocusColor'],
3468
+ ),
3469
+
3470
+ // Underline border.
3471
+ ' .uagb-cf7-styler__field-style-underline .wpcf7 input:not([type=submit])' => array(
3472
+ 'border-style' => 'none',
3473
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3474
+ 'border-bottom-style' => 'solid',
3475
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3476
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3477
+ ),
3478
+ ' .uagb-cf7-styler__field-style-underline textarea' => array(
3479
+ 'border-style' => 'none',
3480
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3481
+ 'border-bottom-style' => 'solid',
3482
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3483
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3484
+ ),
3485
+ ' .uagb-cf7-styler__field-style-underline select' => array(
3486
+ 'border-style' => 'none',
3487
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3488
+ 'border-bottom-style' => 'solid',
3489
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3490
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3491
+ ),
3492
+ ' .uagb-cf7-styler__field-style-underline textarea' => array(
3493
+ 'border-style' => 'none',
3494
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3495
+ 'border-bottom-style' => 'solid',
3496
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3497
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3498
+ ),
3499
+ ' .uagb-cf7-styler__field-style-underline .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3500
+ 'border-style' => 'solid',
3501
+ ),
3502
+ ' .uagb-cf7-styler__field-style-underline .wpcf7 input[type="radio"] + span:before' => array(
3503
+ 'border-style' => 'solid',
3504
+ ),
3505
+ ' .uagb-cf7-styler__field-style-underline .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3506
+ 'border-style' => 'solid',
3507
+ ),
3508
+ ' .uagb-cf7-styler__field-style-box .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3509
+ 'border-style' => $attr['fieldBorderStyle'],
3510
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3511
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3512
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3513
+ ),
3514
+ ' .uagb-cf7-styler__field-style-box .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3515
+ 'border-style' => $attr['fieldBorderStyle'],
3516
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3517
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3518
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3519
+ ),
3520
+ ' .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3521
+ 'background-color' => $attr['fieldInputColor'],
3522
+ ),
3523
+
3524
+ // Override check box.
3525
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3526
+ 'background-color' => $attr['radioCheckBgColor'],
3527
+ 'color' => $attr['radioCheckSelectColor'],
3528
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3529
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3530
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3531
+ 'border-color' => $attr['radioCheckBorderColor'],
3532
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3533
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
3534
+ ),
3535
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3536
+ 'border-color' => $attr['fieldBorderFocusColor'],
3537
+ ),
3538
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3539
+ 'background-color' => $attr['radioCheckBgColor'],
3540
+ 'color' => $attr['radioCheckSelectColor'],
3541
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3542
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3543
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3544
+ 'border-color' => $attr['radioCheckBorderColor'],
3545
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3546
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
3547
+ ),
3548
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3549
+ 'border-color' => $attr['fieldBorderFocusColor'],
3550
+ ),
3551
+
3552
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 input[type="radio"] + span:before' => array(
3553
+ 'background-color' => $attr['radioCheckBgColor'],
3554
+ 'color' => $attr['radioCheckSelectColor'],
3555
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3556
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3557
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3558
+ 'border-color' => $attr['radioCheckBorderColor'],
3559
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3560
+ ),
3561
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3562
+ 'background-color' => $attr['radioCheckSelectColor'],
3563
+ ),
3564
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3565
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
3566
+ 'font-family' => $attr['radioCheckFontFamily'],
3567
+ 'font-weight' => $attr['radioCheckFontWeight'],
3568
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
3569
+ 'color' => $attr['radioCheckLableColor'],
3570
+ ),
3571
+ ' span.wpcf7-not-valid-tip' => array(
3572
+ 'color' => $attr['validationMsgColor'],
3573
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSize'], $attr['validationMsgFontSizeType'] ),
3574
+ 'font-family' => $attr['validationMsgFontFamily'],
3575
+ 'font-weight' => $attr['validationMsgFontWeight'],
3576
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeight'], $attr['validationMsgLineHeightType'] ),
3577
+ ),
3578
+ ' .uagb-cf7-styler__highlight-border input.wpcf7-form-control.wpcf7-not-valid' => array(
3579
+ 'border-color' => $attr['highlightBorderColor'],
3580
+ ),
3581
+ ' .uagb-cf7-styler__highlight-border .wpcf7-form-control.wpcf7-not-valid .wpcf7-list-item-label:before' => array(
3582
+ 'border-color' => $attr['highlightBorderColor'] . '!important',
3583
+ ),
3584
+ ' .uagb-cf7-styler__highlight-style-bottom_right .wpcf7-not-valid-tip' => array(
3585
+ 'background-color' => $attr['validationMsgBgColor'],
3586
+ ),
3587
+ ' .wpcf7-response-output' => array(
3588
+ 'border-width' => UAGB_Helper::get_css_value( $attr['msgBorderSize'], 'px' ),
3589
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['msgBorderRadius'], $attr['msgBorderRadiusType'] ),
3590
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSize'], $attr['msgFontSizeType'] ),
3591
+ 'font-family' => $attr['msgFontFamily'],
3592
+ 'font-weight' => $attr['msgFontWeight'],
3593
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeight'], $attr['msgLineHeightType'] ),
3594
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['msgVrPadding'], 'px' ),
3595
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['msgVrPadding'], 'px' ),
3596
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['msgHrPadding'], 'px' ),
3597
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['msgHrPadding'], 'px' ),
3598
+ ),
3599
+ ' .wpcf7-response-output.wpcf7-validation-errors' => array(
3600
+ 'background-color' => $attr['errorMsgBgColor'],
3601
+ 'border-color' => $attr['errorMsgBorderColor'],
3602
+ 'color' => $attr['errorMsgColor'],
3603
+ ),
3604
+ ' .wpcf7-response-output.wpcf7-validation- success' => array(
3605
+ 'background-color' => $attr['successMsgBgColor'],
3606
+ 'border-color' => $attr['successMsgBorderColor'],
3607
+ 'color' => $attr['successMsgColor'],
3608
+ ),
3609
+
3610
+ );
3611
+
3612
+ $t_selectors = array(
3613
+ ' .wpcf7 form.wpcf7-form:not(input)' => array(
3614
+ 'color' => $attr['fieldLabelColor'],
3615
+ ),
3616
+ ' .wpcf7 input:not([type=submit])' => array(
3617
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
3618
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
3619
+ ),
3620
+ ' .wpcf7 select' => array(
3621
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3622
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3623
+ ),
3624
+ ' .wpcf7 textarea' => array(
3625
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
3626
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
3627
+ ),
3628
+ ' .wpcf7 form label' => array(
3629
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3630
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3631
+ ),
3632
+
3633
+ ' .wpcf7 form .wpcf7-list-item-label' => array(
3634
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3635
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3636
+ ),
3637
+ ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3638
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeTablet'], $attr['buttonFontSizeType'] ),
3639
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightTablet'], $attr['buttonLineHeightType'] ),
3640
+ ),
3641
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3642
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
3643
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
3644
+ ),
3645
+ ' span.wpcf7-not-valid-tip' => array(
3646
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
3647
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
3648
+ ),
3649
+ ' .wpcf7-response-output' => array(
3650
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
3651
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
3652
+ ),
3653
+ );
3654
+
3655
+ $m_selectors = array(
3656
+ ' .wpcf7 input:not([type=submit])' => array(
3657
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
3658
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
3659
+ ),
3660
+ ' .wpcf7 select' => array(
3661
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3662
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3663
+ ),
3664
+ ' .wpcf7 textarea' => array(
3665
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
3666
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
3667
+ ),
3668
+ ' .wpcf7 form label' => array(
3669
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3670
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3671
+ ),
3672
+
3673
+ ' .wpcf7 form .wpcf7-list-item-label' => array(
3674
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3675
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3676
+ ),
3677
+ ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3678
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeMobile'], $attr['buttonFontSizeType'] ),
3679
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightMobile'], $attr['buttonLineHeightType'] ),
3680
+ ),
3681
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3682
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
3683
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
3684
+ ),
3685
+ ' span.wpcf7-not-valid-tip' => array(
3686
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
3687
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
3688
+ ),
3689
+ ' .wpcf7-response-output' => array(
3690
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
3691
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
3692
+ ),
3693
+ );
3694
+
3695
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-cf7-styler-' . $id );
3696
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-cf7-styler-' . $id );
3697
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-cf7-styler-' . $id );
3698
+
3699
+ $generated_css = array(
3700
+ 'desktop' => $desktop,
3701
+ 'tablet' => $tablet,
3702
+ 'mobile' => $mobile,
3703
+ );
3704
+
3705
+ return $generated_css;
3706
+ }
3707
+
3708
+
3709
+
3710
+ /**
3711
+ * Get Gravity Form Styler CSS
3712
+ *
3713
+ * @param array $attr The block attributes.
3714
+ * @param string $id The selector ID.
3715
+ * @since 1.12.0
3716
+ */
3717
+ public static function get_gf_styler_css( $attr, $id ) {
3718
+ $defaults = UAGB_Helper::$block_list['uagb/gf-styler']['attributes'];
3719
+
3720
+ $attr = array_merge( $defaults, (array) $attr );
3721
+
3722
+ $attr['msgVrPadding'] = ( '' === $attr['msgVrPadding'] ) ? '0' : $attr['msgVrPadding'];
3723
+ $attr['msgHrPadding'] = ( '' === $attr['msgHrPadding'] ) ? '0' : $attr['msgHrPadding'];
3724
+ $attr['textAreaHeight'] = ( 'auto' === $attr['msgHrPadding'] ) ? $attr['textAreaHeight'] : $attr['textAreaHeight'] . 'px';
3725
+
3726
+ $selectors = array(
3727
+ ' .gform_wrapper form' => array(
3728
+ 'text-align' => $attr['align'],
3729
+ ),
3730
+ ' .wp-block-uagb-gf-styler form:not(input)' => array(
3731
+ 'color' => $attr['fieldLabelColor'],
3732
+ ),
3733
+ ' .gform_heading' => array(
3734
+ 'text-align' => $attr['titleDescAlignment'],
3735
+ ),
3736
+ ' input:not([type=submit])' => array(
3737
+ 'background-color' => $attr['fieldBgColor'],
3738
+ 'color' => $attr['fieldInputColor'],
3739
+ 'border-style' => $attr['fieldBorderStyle'],
3740
+ 'border-color' => $attr['fieldBorderColor'],
3741
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3742
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3743
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3744
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3745
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3746
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3747
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3748
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3749
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3750
+ 'font-family' => $attr['inputFontFamily'],
3751
+ 'font-weight' => $attr['inputFontWeight'],
3752
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3753
+ 'text-align' => $attr['align'],
3754
+ ),
3755
+ ' select' => array(
3756
+ 'background-color' => $attr['fieldBgColor'],
3757
+ 'border-style' => $attr['fieldBorderStyle'],
3758
+ 'border-color' => $attr['fieldBorderColor'],
3759
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3760
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3761
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3762
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3763
+ 'color' => $attr['fieldInputColor'],
3764
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3765
+ 'font-family' => $attr['inputFontFamily'],
3766
+ 'font-weight' => $attr['inputFontWeight'],
3767
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3768
+ 'text-align' => $attr['align'],
3769
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3770
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3771
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3772
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3773
+ ),
3774
+ ' .chosen-container-single span' => array(
3775
+ 'background-color' => $attr['fieldBgColor'],
3776
+ 'border-style' => $attr['fieldBorderStyle'],
3777
+ 'border-color' => $attr['fieldBorderColor'],
3778
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3779
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3780
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3781
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3782
+ 'color' => $attr['fieldInputColor'],
3783
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3784
+ 'font-family' => $attr['inputFontFamily'],
3785
+ 'font-weight' => $attr['inputFontWeight'],
3786
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3787
+ 'text-align' => $attr['align'],
3788
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3789
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3790
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3791
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3792
+ ),
3793
+ ' .chosen-container-single.chosen-container-active .chosen-single span' => array(
3794
+ 'margin-bottom' => 0,
3795
+ ),
3796
+ ' select.wpgf-form-control.wpgf-select:not([multiple="multiple"])' => array(
3797
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3798
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3799
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3800
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3801
+ ),
3802
+ ' select.wpgf-select[multiple="multiple"] option' => array(
3803
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3804
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3805
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3806
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3807
+ ),
3808
+ ' textarea' => array(
3809
+ 'background-color' => $attr['fieldBgColor'],
3810
+ 'color' => $attr['fieldInputColor'],
3811
+ 'border-color' => $attr['fieldBorderColor'],
3812
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3813
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3814
+ 'border-style' => $attr['fieldBorderStyle'],
3815
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3816
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3817
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3818
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3819
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3820
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3821
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3822
+ 'font-family' => $attr['inputFontFamily'],
3823
+ 'font-weight' => $attr['inputFontWeight'],
3824
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3825
+ 'text-align' => $attr['align'],
3826
+ 'height' => $attr['textAreaHeight'],
3827
+ ),
3828
+ ' textarea::placeholder' => array(
3829
+ 'color' => $attr['fieldInputColor'],
3830
+ 'text-align' => $attr['align'],
3831
+ ),
3832
+ ' input::placeholder' => array(
3833
+ 'color' => $attr['fieldInputColor'],
3834
+ 'text-align' => $attr['align'],
3835
+ ),
3836
+ ' form label' => array(
3837
+ 'color' => $attr['fieldLabelColor'],
3838
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3839
+ 'font-family' => $attr['labelFontFamily'],
3840
+ 'font-weight' => $attr['labelFontWeight'],
3841
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3842
+ ),
3843
+ ' form .gfield_radio label' => array(
3844
+ 'color' => $attr['fieldLabelColor'],
3845
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3846
+ 'font-family' => $attr['labelFontFamily'],
3847
+ 'font-weight' => $attr['labelFontWeight'],
3848
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3849
+ ),
3850
+ ' form .gfield_checkbox label' => array(
3851
+ 'color' => $attr['fieldLabelColor'],
3852
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3853
+ 'font-family' => $attr['labelFontFamily'],
3854
+ 'font-weight' => $attr['labelFontWeight'],
3855
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3856
+ ),
3857
+ ' .wpgf .gfield_checkbox input[type="checkbox"] + label, .wpgf .gfield_checkbox input[type="checkbox"] + label' => array(
3858
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3859
+ ),
3860
+
3861
+ // Focus.
3862
+ ' form input:not([type=submit]):focus' => array(
3863
+ 'border-color' => $attr['fieldBorderFocusColor'],
3864
+ ),
3865
+ ' form select:focus' => array(
3866
+ 'border-color' => $attr['fieldBorderFocusColor'],
3867
+ ),
3868
+ ' textarea:focus' => array(
3869
+ 'border-color' => $attr['fieldBorderFocusColor'],
3870
+ ),
3871
+
3872
+ // Submit button.
3873
+ ' input.gform_button' => array(
3874
+ 'color' => $attr['buttonTextColor'],
3875
+ 'background-color' => $attr['buttonBgColor'],
3876
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSize'], $attr['buttonFontSizeType'] ),
3877
+ 'font-family' => $attr['buttonFontFamily'],
3878
+ 'font-weight' => $attr['buttonFontWeight'],
3879
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeight'], $attr['buttonLineHeightType'] ),
3880
+ 'border-color' => $attr['buttonBorderColor'],
3881
+ 'border-style' => $attr['buttonBorderStyle'],
3882
+ 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3883
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3884
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3885
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3886
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3887
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3888
+ ),
3889
+ ' input.gform_button:hover' => array(
3890
+ 'color' => $attr['buttonTextHoverColor'],
3891
+ 'background-color' => $attr['buttonBgHoverColor'],
3892
+ 'border-color' => $attr['buttonBorderHoverColor'],
3893
+ ),
3894
+
3895
+ // Check box Radio.
3896
+ ' .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
3897
+ 'background-color' => $attr['fieldBgColor'],
3898
+ 'color' => $attr['fieldInputColor'],
3899
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3900
+ 'border-color' => $attr['fieldBorderFocusColor'],
3901
+ ),
3902
+ ' .gfield_checkbox input[type="checkbox"] + label:before' => array(
3903
+ 'background-color' => $attr['fieldBgColor'],
3904
+ 'color' => $attr['fieldInputColor'],
3905
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3906
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3907
+ 'border-style' => $attr['fieldBorderStyle'],
3908
+ 'border-color' => $attr['fieldBorderColor'],
3909
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3910
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3911
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3912
+ ),
3913
+ ' input[type="checkbox"]:checked + label:before' => array(
3914
+ 'background-color' => $attr['fieldBgColor'],
3915
+ 'color' => $attr['fieldInputColor'],
3916
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3917
+ 'border-color' => $attr['fieldBorderFocusColor'],
3918
+ ),
3919
+ ' input[type="checkbox"] + label:before' => array(
3920
+ 'background-color' => $attr['fieldBgColor'],
3921
+ 'color' => $attr['fieldInputColor'],
3922
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3923
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3924
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3925
+ 'border-color' => $attr['fieldBorderColor'],
3926
+ 'border-style' => $attr['fieldBorderStyle'],
3927
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3928
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3929
+ ),
3930
+ ' .gfield_radio input[type="radio"] + label:before' => array(
3931
+ 'background-color' => $attr['fieldBgColor'],
3932
+ 'color' => $attr['fieldInputColor'],
3933
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3934
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3935
+ 'border-style' => $attr['fieldBorderStyle'],
3936
+ 'border-color' => $attr['fieldBorderColor'],
3937
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3938
+ ),
3939
+ ' .gfield_radio input[type="radio"]:checked + label:before' => array(
3940
+ 'border-color' => $attr['fieldBorderFocusColor'],
3941
+ ),
3942
+
3943
+ // Underline border.
3944
+ ' .uagb-gf-styler__field-style-underline input:not([type=submit])' => array(
3945
+ 'border-style' => 'none',
3946
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3947
+ 'border-bottom-style' => 'solid',
3948
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3949
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3950
+ ),
3951
+ ' .uagb-gf-styler__field-style-underline textarea' => array(
3952
+ 'border-style' => 'none',
3953
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3954
+ 'border-bottom-style' => 'solid',
3955
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3956
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3957
+ ),
3958
+ ' .uagb-gf-styler__field-style-underline select' => array(
3959
+ 'border-style' => 'none',
3960
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3961
+ 'border-bottom-style' => 'solid',
3962
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3963
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3964
+ ),
3965
+ ' .uagb-gf-styler__field-style-underline textarea' => array(
3966
+ 'border-style' => 'none',
3967
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3968
+ 'border-bottom-style' => 'solid',
3969
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3970
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3971
+ ),
3972
+ ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"] + label:before' => array(
3973
+ 'border-style' => 'solid',
3974
+ ),
3975
+ ' .uagb-gf-styler__check-style-enabled input[type="radio"] + label:before' => array(
3976
+ 'border-style' => 'solid',
3977
+ ),
3978
+ ' .uagb-gf-styler__field-style-box .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
3979
+ 'border-style' => 'solid',
3980
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3981
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3982
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3983
+ ),
3984
+ ' .uagb-gf-styler__field-style-box input[type="checkbox"]:checked + label:before' => array(
3985
+ 'border-style' => 'solid',
3986
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3987
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3988
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3989
+ ),
3990
+ ' .gfield_radio input[type="radio"]:checked + label:before' => array(
3991
+ 'background-color' => $attr['fieldInputColor'],
3992
+ ),
3993
+
3994
+ // Override check box.
3995
+ ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"] + label:before' => array(
3996
+ 'background-color' => $attr['radioCheckBgColor'],
3997
+ 'color' => $attr['radioCheckSelectColor'],
3998
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3999
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4000
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px * 1.8 )',
4001
+ 'border-color' => $attr['radioCheckBorderColor'],
4002
+ 'border-style' => 'solid',
4003
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4004
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
4005
+ ),
4006
+ ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
4007
+ 'border-color' => $attr['fieldBorderFocusColor'],
4008
+ ),
4009
+ ' .uagb-gf-styler__check-style-enabled input[type="checkbox"] + label:before' => array(
4010
+ 'background-color' => $attr['radioCheckBgColor'],
4011
+ 'color' => $attr['radioCheckSelectColor'],
4012
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4013
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4014
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px * 1.8 )',
4015
+ 'border-color' => $attr['radioCheckBorderColor'],
4016
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4017
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
4018
+ ),
4019
+ ' .uagb-gf-styler__check-style-enabled input[type="checkbox"]:checked + label:before' => array(
4020
+ 'border-color' => $attr['fieldBorderFocusColor'],
4021
+ ),
4022
+
4023
+ ' .uagb-gf-styler__check-style-enabled input[type="radio"] + label:before' => array(
4024
+ 'background-color' => $attr['radioCheckBgColor'],
4025
+ 'color' => $attr['radioCheckSelectColor'],
4026
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4027
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4028
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
4029
+ 'border-color' => $attr['radioCheckBorderColor'],
4030
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4031
+ ),
4032
+ ' .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]:checked + label:before' => array(
4033
+ 'background-color' => $attr['radioCheckSelectColor'],
4034
+ ),
4035
+ ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4036
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
4037
+ 'font-family' => $attr['radioCheckFontFamily'],
4038
+ 'font-weight' => $attr['radioCheckFontWeight'],
4039
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
4040
+ 'color' => $attr['radioCheckLableColor'],
4041
+ ),
4042
+ ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4043
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
4044
+ 'font-family' => $attr['radioCheckFontFamily'],
4045
+ 'font-weight' => $attr['radioCheckFontWeight'],
4046
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
4047
+ 'color' => $attr['radioCheckLableColor'],
4048
+ ),
4049
+ // Validation Errors.
4050
+ ' .gform_wrapper .gfield_description.validation_message' => array(
4051
+ 'color' => $attr['validationMsgColor'],
4052
+ ),
4053
+ ' .gform_wrapper .validation_message' => array(
4054
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSize'], $attr['validationMsgFontSizeType'] ),
4055
+ 'font-family' => $attr['validationMsgFontFamily'],
4056
+ 'font-weight' => $attr['validationMsgFontWeight'],
4057
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeight'], $attr['validationMsgLineHeightType'] ),
4058
+ ),
4059
+ ' .uagb-gf-styler__error-yes .gform_wrapper .gfield.gfield_error' => array(
4060
+ 'background-color' => $attr['validationMsgBgColor'],
4061
+ ),
4062
+
4063
+ ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input:not([type="submit"]):not([type="button"]):not([type="image"])' => array(
4064
+ 'border-color' => $attr['highlightBorderColor'],
4065
+ ),
4066
+
4067
+ ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container select' => array(
4068
+ 'border-color' => $attr['highlightBorderColor'],
4069
+ ),
4070
+
4071
+ ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container .chosen-single' => array(
4072
+ 'border-color' => $attr['highlightBorderColor'],
4073
+ ),
4074
+
4075
+ ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container textarea' => array(
4076
+ 'border-color' => $attr['highlightBorderColor'],
4077
+ ),
4078
+
4079
+ ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield.gfield_error' => array(
4080
+ 'border-color' => $attr['highlightBorderColor'],
4081
+ ),
4082
+
4083
+ ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning' => array(
4084
+ 'border-color' => $attr['highlightBorderColor'],
4085
+ ),
4086
+
4087
+ ' .uagb-gf-styler__error-yes li.gfield_error .gfield_checkbox input[type="checkbox"] + label:before' => array(
4088
+ 'border-color' => $attr['highlightBorderColor'],
4089
+ ),
4090
+
4091
+ ' .uagb-gf-styler__error-yes li.gfield_error .ginput_container_consent input[type="checkbox"] + label:before' => array(
4092
+ 'border-color' => $attr['highlightBorderColor'],
4093
+ ),
4094
+
4095
+ ' .uagb-gf-styler__error-yes li.gfield_error .gfield_radio input[type="radio"] + label:before' => array(
4096
+ 'border-color' => $attr['highlightBorderColor'],
4097
+ ),
4098
+
4099
+ ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input[type="text"]' => array(
4100
+ 'border' => $attr['fieldBorderWidth'] . 'px ' . $attr['fieldBorderStyle'] . ' ' . $attr['fieldBorderColor'] . '!important',
4101
+ ),
4102
+
4103
+ ' .uael-gf-style-underline.uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input[type="text"]' => array(
4104
+ 'border-width' => $attr['fieldBorderWidth'] . 'px' . '!important',
4105
+ 'border-style' => 'solid' . '!important',
4106
+ 'border-color' => $attr['fieldBorderColor'] . '!important',
4107
+ ),
4108
+
4109
+ ' .gform_wrapper div.validation_error' => array(
4110
+ 'color' => $attr['errorMsgColor'],
4111
+ 'background-color' => $attr['errorMsgBgColor'],
4112
+ 'border-color' => $attr['errorMsgBorderColor'],
4113
+ 'border-style' => 'solid',
4114
+ 'border-width' => UAGB_Helper::get_css_value( $attr['msgBorderSize'], 'px' ),
4115
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['msgBorderRadius'], $attr['msgBorderRadiusType'] ),
4116
+ 'padding' => $attr['msgVrPadding'] . 'px ' . $attr['msgHrPadding'] . 'px',
4117
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSize'], $attr['msgFontSizeType'] ),
4118
+ 'font-family' => $attr['msgFontFamily'],
4119
+ 'font-weight' => $attr['msgFontWeight'],
4120
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeight'], $attr['msgLineHeightType'] ),
4121
+ ),
4122
+
4123
+ ' .gform_confirmation_message' => array(
4124
+ 'color' => $attr['successMsgColor'],
4125
+ 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSize'], $attr['successMsgFontSizeType'] ),
4126
+ 'font-family' => $attr['successMsgFontFamily'],
4127
+ 'font-weight' => $attr['successMsgFontWeight'],
4128
+ 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeight'], $attr['successMsgLineHeightType'] ),
4129
+ ),
4130
+ );
4131
+
4132
+ $t_selectors = array(
4133
+ ' form.wpgf-form:not(input)' => array(
4134
+ 'color' => $attr['fieldLabelColor'],
4135
+ ),
4136
+ ' input:not([type=submit])' => array(
4137
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
4138
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
4139
+ ),
4140
+ ' textarea' => array(
4141
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
4142
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
4143
+ ),
4144
+ ' form label' => array(
4145
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4146
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4147
+ ),
4148
+
4149
+ ' form .gfield_radio label' => array(
4150
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4151
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4152
+ ),
4153
+ ' form .gfield_checkbox label' => array(
4154
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4155
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4156
+ ),
4157
+ ' input.gform_button' => array(
4158
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeTablet'], $attr['buttonFontSizeType'] ),
4159
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightTablet'], $attr['buttonLineHeightType'] ),
4160
+ ),
4161
+ ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4162
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
4163
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
4164
+ ),
4165
+ ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4166
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
4167
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
4168
+ ),
4169
+ ' span.wpgf-not-valid-tip' => array(
4170
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
4171
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
4172
+ ),
4173
+ ' .wpgf-response-output' => array(
4174
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
4175
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
4176
+ ),
4177
+ ' .gform_wrapper .validation_message' => array(
4178
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
4179
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
4180
+ ),
4181
+ ' .gform_wrapper div.validation_error' => array(
4182
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
4183
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
4184
+ ),
4185
+ ' .gform_confirmation_message' => array(
4186
+ 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSizeTablet'], $attr['successMsgFontSizeType'] ),
4187
+ 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeightTablet'], $attr['successMsgLineHeightType'] ),
4188
+ 'color' => $attr['successMsgColor'],
4189
+ ),
4190
+ );
4191
+
4192
+ $m_selectors = array(
4193
+ ' input:not([type=submit])' => array(
4194
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
4195
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
4196
+ ),
4197
+ ' textarea' => array(
4198
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
4199
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
4200
+ ),
4201
+ ' form label' => array(
4202
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4203
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4204
+ ),
4205
+
4206
+ ' form .gfield_radio label' => array(
4207
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4208
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4209
+ ),
4210
+ ' form .gfield_checkbox label' => array(
4211
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4212
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4213
+ ),
4214
+ ' input.gform_button' => array(
4215
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeMobile'], $attr['buttonFontSizeType'] ),
4216
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightMobile'], $attr['buttonLineHeightType'] ),
4217
+ ),
4218
+ ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4219
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
4220
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
4221
+ ),
4222
+ ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4223
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
4224
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
4225
+ ),
4226
+ ' span.wpgf-not-valid-tip' => array(
4227
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
4228
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
4229
+ ),
4230
+ ' .wpgf-response-output' => array(
4231
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
4232
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
4233
+ ),
4234
+ ' .gform_wrapper .validation_message' => array(
4235
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
4236
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
4237
+ ),
4238
+ ' .gform_wrapper div.validation_error' => array(
4239
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
4240
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
4241
+ ),
4242
+ ' .gform_confirmation_message' => array(
4243
+ 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSizeMobile'], $attr['successMsgFontSizeType'] ),
4244
+ 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeightMobile'], $attr['successMsgLineHeightType'] ),
4245
+ 'color' => $attr['successMsgColor'],
4246
+ ),
4247
+ );
4248
+
4249
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-gf-styler-' . $id );
4250
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-gf-styler-' . $id );
4251
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-gf-styler-' . $id );
4252
+ $generated_css = array(
4253
+ 'desktop' => $desktop,
4254
+ 'tablet' => $tablet,
4255
+ 'mobile' => $mobile,
4256
+ );
4257
+
4258
+ return $generated_css;
4259
+ }
4260
+
4261
+ /*
4262
+ * Get Marketing Button Block CSS
4263
+ *
4264
+ * @since 1.11.0
4265
+ * @param array $attr The block attributes.
4266
+ * @param string $id The selector ID.
4267
+ * @return array The Widget List.
4268
+ */
4269
+ public static function get_marketing_btn_css( $attr, $id ) { // @codingStandardsIgnoreStart
4270
+
4271
+ $defaults = UAGB_Helper::$block_list['uagb/marketing-button']['attributes'];
4272
+
4273
+ $attr = array_merge( $defaults, (array) $attr );
4274
+
4275
+ $m_selectors = array();
4276
+ $t_selectors = array();
4277
+
4278
+ $icon_color = ( "" == $attr["iconColor"] ) ? $attr["titleColor"] : $attr["iconColor"];
4279
+ $icon_hover_color = ( "" == $attr["iconHoverColor"] ) ? $attr["titleHoverColor"] : $attr["iconHoverColor"];
4280
+
4281
+ $selectors = array(
4282
+ " .uagb-marketing-btn__title-wrap" => array(
4283
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr["titleSpace"], 'px' )
4284
+ ),
4285
+ " .uagb-marketing-btn__title" => array(
4286
+ "font-size" => UAGB_Helper::get_css_value( $attr["titleFontSize"], $attr["titleFontSizeType"] ),
4287
+ "line-height" => UAGB_Helper::get_css_value( $attr["titleLineHeight"], $attr["titleLineHeightType"] ),
4288
+ "font-family" => $attr["titleFontFamily"],
4289
+ "font-weight" => $attr["titleFontWeight"],
4290
+ "color" => $attr["titleColor"],
4291
+ ),
4292
+ " .uagb-marketing-btn__icon-wrap" => array(
4293
+ "width" => UAGB_Helper::get_css_value( $attr["iconFontSize"], $attr["iconFontSizeType"] ),
4294
+ "height" => UAGB_Helper::get_css_value( $attr["iconFontSize"], $attr["iconFontSizeType"] ),
4295
+ ),
4296
+ " .uagb-marketing-btn__icon-wrap svg" => array(
4297
+ "fill" => $icon_color
4298
+ ),
4299
+ " .uagb-marketing-btn__prefix" => array(
4300
+ "font-size" => UAGB_Helper::get_css_value( $attr["prefixFontSize"], $attr["prefixFontSizeType"] ),
4301
+ "line-height" => UAGB_Helper::get_css_value( $attr["prefixLineHeight"], $attr["prefixLineHeightType"] ),
4302
+ "font-family" => $attr["prefixFontFamily"],
4303
+ "font-weight" => $attr["prefixFontWeight"],
4304
+ "color" => $attr["prefixColor"],
4305
+ ),
4306
+ " .uagb-marketing-btn__link:hover .uagb-marketing-btn__title" => array(
4307
+ "color" => $attr["titleHoverColor"],
4308
+ ),
4309
+ " .uagb-marketing-btn__link:hover .uagb-marketing-btn__prefix" => array(
4310
+ "color" => $attr["prefixHoverColor"],
4311
+ ),
4312
+ " .uagb-marketing-btn__link:hover .uagb-marketing-btn__icon-wrap svg" => array(
4313
+ "fill" => $icon_hover_color
4314
+ ),
4315
+ " .uagb-marketing-btn__link" => array(
4316
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPadding"], 'px' ),
4317
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPadding"], 'px' ),
4318
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPadding"], 'px' ),
4319
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPadding"], 'px' ),
4320
+ "border-style" => $attr["borderStyle"],
4321
+ "border-width" => UAGB_Helper::get_css_value( $attr["borderWidth"], 'px' ),
4322
+ "border-color" => $attr["borderColor"],
4323
+ "border-radius" => UAGB_Helper::get_css_value( $attr["borderRadius"], 'px' ),
4324
+ ),
4325
+ " .uagb-marketing-btn__link:hover" => array(
4326
+ "border-color" => $attr["borderHoverColor"]
4327
+ ),
4328
+ );
4329
+
4330
+ if ( "transparent" == $attr["backgroundType"] ) {
4331
+
4332
+ $selectors[" .uagb-marketing-btn__link"]["background"] = "transparent";
4333
+
4334
+ } else if ( "color" == $attr["backgroundType"] ) {
4335
+
4336
+ $selectors[" .uagb-marketing-btn__link"]["background"] = UAGB_Helper::hex2rgba( $attr["backgroundColor"], $attr['backgroundOpacity'] );
4337
+
4338
+ // Hover Background
4339
+ $selectors[" .uagb-marketing-btn__link:hover"] = array(
4340
+ "background" => UAGB_Helper::hex2rgba( $attr["backgroundHoverColor"], $attr['backgroundHoverOpacity'] ),
4341
+ );
4342
+
4343
+ } else if ( "gradient" == $attr["backgroundType"] ) {
4344
+
4345
+ $selectors[' .uagb-marketing-btn__link']['background-color'] = 'transparent';
4346
+
4347
+ if ( 'linear' === $attr['gradientType'] ) {
4348
+
4349
+ $selectors[' .uagb-marketing-btn__link']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . UAGB_Helper::hex2rgba( $attr['gradientColor1'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation1'] . '%, ' . UAGB_Helper::hex2rgba( $attr['gradientColor2'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation2'] . '%)';
4350
+ } else {
4351
+
4352
+ $selectors[' .uagb-marketing-btn__link']['background-image'] = 'radial-gradient( at center center, ' . UAGB_Helper::hex2rgba( $attr['gradientColor1'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation1'] . '%, ' . UAGB_Helper::hex2rgba( $attr['gradientColor2'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation2'] . '%)';
4353
+ }
4354
+ }
4355
+
4356
+ $margin_type = ( "after" == $attr["iconPosition"] ) ? "margin-left" : "margin-right";
4357
+
4358
+ $selectors[" .uagb-marketing-btn__icon-wrap"][$margin_type] = UAGB_Helper::get_css_value( $attr["iconSpace"], "px" );
4359
+
4360
+ $m_selectors = array(
4361
+ ' .uagb-marketing-btn__title' => array(
4362
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
4363
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
4364
+ ),
4365
+ ' .uagb-marketing-btn__prefix' => array(
4366
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
4367
+ 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightMobile'], $attr['prefixLineHeightType'] ),
4368
+ ),
4369
+ ' .uagb-marketing-btn__icon-wrap' => array(
4370
+ "width" => UAGB_Helper::get_css_value( $attr["iconFontSizeMobile"], $attr["iconFontSizeType"] ),
4371
+ "height" => UAGB_Helper::get_css_value( $attr["iconFontSizeMobile"], $attr["iconFontSizeType"] ),
4372
+ ),
4373
+
4374
+ );
4375
+
4376
+ $t_selectors = array(
4377
+ ' .uagb-marketing-btn__title' => array(
4378
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
4379
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
4380
+ ),
4381
+ ' .uagb-marketing-btn__prefix' => array(
4382
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
4383
+ 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightTablet'], $attr['prefixLineHeightType'] ),
4384
+ ),
4385
+ ' .uagb-marketing-btn__icon-wrap' => array(
4386
+ "width" => UAGB_Helper::get_css_value( $attr["iconFontSizeTablet"], $attr["iconFontSizeType"] ),
4387
+ "height" => UAGB_Helper::get_css_value( $attr["iconFontSizeTablet"], $attr["iconFontSizeType"] ),
4388
+ ),
4389
+
4390
+ );
4391
+
4392
+ // @codingStandardsIgnoreEnd
4393
+
4394
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-marketing-btn-' . $id );
4395
+
4396
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-marketing-btn-' . $id );
4397
+
4398
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-marketing-btn-' . $id );
4399
+
4400
+ $generated_css = array(
4401
+ 'desktop' => $desktop,
4402
+ 'tablet' => $tablet,
4403
+ 'mobile' => $mobile,
4404
+ );
4405
+
4406
+ return $generated_css;
4407
+ }
4408
+
4409
+ /**
4410
+ * Get Testimonial Js
4411
+ *
4412
+ * @since 1.6.0
4413
+ * @param array $attr The block attributes.
4414
+ * @param string $id The selector ID.
4415
+ */
4416
+ public static function get_testimonial_js( $attr, $id ) { // @codingStandardsIgnoreStart.
4417
+
4418
+ $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
4419
+
4420
+ $attr = array_merge( $defaults, (array) $attr );
4421
+
4422
+ $dots = ( "dots" == $attr['arrowDots'] || "arrowDots" == $attr['arrowDots'] ) ? true : false;
4423
+ $arrows = ( "arrows" == $attr['arrowDots'] || "arrowDots" == $attr['arrowDots'] ) ? true : false;
4424
+
4425
+ $slick_options = [
4426
+ 'slidesToShow' => $attr['columns'],
4427
+ 'slidesToScroll' => 1,
4428
+ 'autoplaySpeed' => $attr['autoplaySpeed'],
4429
+ 'autoplay' => $attr['autoplay'],
4430
+ 'infinite' => $attr['infiniteLoop'],
4431
+ 'pauseOnHover' => $attr['pauseOnHover'],
4432
+ 'speed' => $attr['transitionSpeed'],
4433
+ 'arrows' => $arrows,
4434
+ 'dots' => $dots,
4435
+ 'rtl' => false,
4436
+ 'prevArrow' => '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button" style="border-color: '.$attr["arrowColor"].';border-radius:'.$attr["arrowBorderRadius"].'px;border-width:'.$attr["arrowBorderSize"].'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="'.$attr["arrowSize"].'" width = "'.$attr["arrowSize"].'" fill ="'.$attr["arrowColor"].'" ><path d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></button>',
4437
+ 'nextArrow' => '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button" style="border-color: '.$attr["arrowColor"].';border-radius:'.$attr["arrowBorderRadius"].'px;border-width:'.$attr["arrowBorderSize"].'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="'.$attr["arrowSize"].'" width = "'.$attr["arrowSize"].'" fill ="'.$attr["arrowColor"].'" ><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></button>',
4438
+ 'responsive' => [
4439
+ [
4440
+ 'breakpoint' => 1024,
4441
+ 'settings' => [
4442
+ 'slidesToShow' => $attr['tcolumns'],
4443
+ 'slidesToScroll' => 1,
4444
+ ],
4445
+ ],
4446
+ [
4447
+ 'breakpoint' => 767,
4448
+ 'settings' => [
4449
+ 'slidesToShow' => $attr['mcolumns'],
4450
+ 'slidesToScroll' => 1,
4451
+ ],
4452
+ ]
4453
+ ]
4454
+ ];
4455
+
4456
+ $settings = json_encode($slick_options);
4457
+ $selector = '#uagb-testimonial-'. $id;
4458
+ ?>
4459
+ if( jQuery( ".wp-block-uagb-testimonial" ).length > 0 ){
4460
+ return true
4461
+ } else {
4462
+ jQuery( "<?php echo $selector ?>" ).find( ".is-carousel" ).slick( <?php echo $settings ?> );
4463
+ }
4464
+ <?php
4465
+ // @codingStandardsIgnoreEnd.
4466
+ }
4467
+
4468
+ /**
4469
+ * Get Blockquote Js
4470
+ *
4471
+ * @since 1.8.2
4472
+ * @param array $attr The block attributes.
4473
+ * @param string $id The selector ID.
4474
+ */
4475
+ public static function get_blockquote_js( $attr, $id ) {
4476
+ // @codingStandardsIgnoreStart.
4477
+
4478
+ $defaults = UAGB_Helper::$block_list['uagb/blockquote']['attributes'];
4479
+
4480
+ $attr = array_merge( $defaults, (array) $attr );
4481
+
4482
+ $target = $attr['iconTargetUrl'];
4483
+
4484
+ $url = " " ;
4485
+
4486
+ if( $target == 'current' ){
4487
+ global $wp;
4488
+ $url = home_url(add_query_arg(array(),$wp->request));
4489
+ }else{
4490
+ $url = $attr['customUrl'];
4491
+ }
4492
+
4493
+ $via = isset( $attr['iconShareVia'] ) ? $attr['iconShareVia'] : '';
4494
+
4495
+ $selector = '#uagb-blockquote-'. $id;
4496
+
4497
+ ?>
4498
+ jQuery( "<?php echo $selector ?>" ).find( ".uagb-blockquote__tweet-button" ).click(function(){
4499
+ var content = jQuery("<?php echo $selector ?>").find(".uagb-blockquote__content").text();
4500
+ var request_url = "https://twitter.com/share?url="+ encodeURIComponent("<?php echo $url ?>")+"&text="+content+"&via="+("<?php echo $via;?>");
4501
+ window.open( request_url );
4502
+ });
4503
+ <?php
4504
+
4505
+ // @codingStandardsIgnoreEnd.
4506
+ }
4507
+
4508
+ /**
4509
+ * Get Social Share JS
4510
+ *
4511
+ * @since 1.8.1
4512
+ * @param string $id The selector ID.
4513
+ */
4514
+ public static function get_social_share_js( $id ) {
4515
+ $selector = '#uagb-social-share-' . $id;
4516
+ ?>
4517
+ jQuery( "<?php echo $selector; ?>" ).find( ".uagb-ss__link" ).click(function(){
4518
+ var social_url = jQuery( this ).data( "href" );
4519
+ var target = "";
4520
+ if( social_url == "mailto:?body=" ){
4521
+ target = "_self";
4522
+ }
4523
+ var request_url = social_url + window.location.href ;
4524
+ window.open( request_url,target );
4525
+ });
4526
+ <?php
4527
+ }
4528
+
4529
+ /**
4530
+ * Adds Google fonts for Advanced Heading block.
4531
+ *
4532
+ * @since 1.9.1
4533
+ * @param array $attr the blocks attr.
4534
+ */
4535
+ public static function blocks_advanced_heading_gfont( $attr ) {
4536
+
4537
+ $head_load_google_font = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
4538
+ $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
4539
+ $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
4540
+ $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
4541
+
4542
+ $subhead_load_google_font = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
4543
+ $subhead_font_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
4544
+ $subhead_font_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
4545
+ $subhead_font_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
4546
+
4547
+ UAGB_Helper::blocks_google_font( $head_load_google_font, $head_font_family, $head_font_weight, $head_font_subset );
4548
+ UAGB_Helper::blocks_google_font( $subhead_load_google_font, $subhead_font_family, $subhead_font_weight, $subhead_font_subset );
4549
+ }
4550
+
4551
+
4552
+ /**
4553
+ * Adds Google fonts for CF7 Styler block.
4554
+ *
4555
+ * @since 1.10.0
4556
+ * @param array $attr the blocks attr.
4557
+ */
4558
+ public static function blocks_cf7_styler_gfont( $attr ) {
4559
+
4560
+ $label_load_google_font = isset( $attr['labelLoadGoogleFonts'] ) ? $attr['labelLoadGoogleFonts'] : '';
4561
+ $label_font_family = isset( $attr['labelFontFamily'] ) ? $attr['labelFontFamily'] : '';
4562
+ $label_font_weight = isset( $attr['labelFontWeight'] ) ? $attr['labelFontWeight'] : '';
4563
+ $label_font_subset = isset( $attr['labelFontSubset'] ) ? $attr['labelFontSubset'] : '';
4564
+
4565
+ $input_load_google_font = isset( $attr['inputLoadGoogleFonts'] ) ? $attr['inputLoadGoogleFonts'] : '';
4566
+ $input_font_family = isset( $attr['inputFontFamily'] ) ? $attr['inputFontFamily'] : '';
4567
+ $input_font_weight = isset( $attr['inputFontWeight'] ) ? $attr['inputFontWeight'] : '';
4568
+ $input_font_subset = isset( $attr['inputFontSubset'] ) ? $attr['inputFontSubset'] : '';
4569
+
4570
+ $radio_check_load_google_font = isset( $attr['radioCheckLoadGoogleFonts'] ) ? $attr['radioCheckLoadGoogleFonts'] : '';
4571
+ $radio_check_font_family = isset( $attr['radioCheckFontFamily'] ) ? $attr['radioCheckFontFamily'] : '';
4572
+ $radio_check_font_weight = isset( $attr['radioCheckFontWeight'] ) ? $attr['radioCheckFontWeight'] : '';
4573
+ $radio_check_font_subset = isset( $attr['radioCheckFontSubset'] ) ? $attr['radioCheckFontSubset'] : '';
4574
+
4575
+ $button_load_google_font = isset( $attr['buttonLoadGoogleFonts'] ) ? $attr['buttonLoadGoogleFonts'] : '';
4576
+ $button_font_family = isset( $attr['buttonFontFamily'] ) ? $attr['buttonFontFamily'] : '';
4577
+ $button_font_weight = isset( $attr['buttonFontWeight'] ) ? $attr['buttonFontWeight'] : '';
4578
+ $button_font_subset = isset( $attr['buttonFontSubset'] ) ? $attr['buttonFontSubset'] : '';
4579
+
4580
+ $msg_font_load_google_font = isset( $attr['msgLoadGoogleFonts'] ) ? $attr['msgLoadGoogleFonts'] : '';
4581
+ $msg_font_family = isset( $attr['msgFontFamily'] ) ? $attr['msgFontFamily'] : '';
4582
+ $msg_font_weight = isset( $attr['msgFontWeight'] ) ? $attr['msgFontWeight'] : '';
4583
+ $msg_font_subset = isset( $attr['msgFontSubset'] ) ? $attr['msgFontSubset'] : '';
4584
+
4585
+ $validation_msg_load_google_font = isset( $attr['validationMsgLoadGoogleFonts'] ) ? $attr['validationMsgLoadGoogleFonts'] : '';
4586
+ $validation_msg_font_family = isset( $attr['validationMsgFontFamily'] ) ? $attr['validationMsgFontFamily'] : '';
4587
+ $validation_msg_font_weight = isset( $attr['validationMsgFontWeight'] ) ? $attr['validationMsgFontWeight'] : '';
4588
+ $validation_msg_font_subset = isset( $attr['validationMsgFontSubset'] ) ? $attr['validationMsgFontSubset'] : '';
4589
+
4590
+ UAGB_Helper::blocks_google_font( $msg_font_load_google_font, $msg_font_family, $msg_font_weight, $msg_font_subset );
4591
+ UAGB_Helper::blocks_google_font( $validation_msg_load_google_font, $validation_msg_font_family, $validation_msg_font_weight, $validation_msg_font_subset );
4592
+
4593
+ UAGB_Helper::blocks_google_font( $radio_check_load_google_font, $radio_check_font_family, $radio_check_font_weight, $radio_check_font_subset );
4594
+ UAGB_Helper::blocks_google_font( $button_load_google_font, $button_font_family, $button_font_weight, $button_font_subset );
4595
+
4596
+ UAGB_Helper::blocks_google_font( $label_load_google_font, $label_font_family, $label_font_weight, $label_font_subset );
4597
+ UAGB_Helper::blocks_google_font( $input_load_google_font, $input_font_family, $input_font_weight, $input_font_subset );
4598
+ }
4599
+
4600
+
4601
+ /**
4602
+ * Adds Google fonts for Gravity Form Styler block.
4603
+ *
4604
+ * @since 1.12.0
4605
+ * @param array $attr the blocks attr.
4606
+ */
4607
+ public static function blocks_gf_styler_gfont( $attr ) {
4608
+
4609
+ $label_load_google_font = isset( $attr['labelLoadGoogleFonts'] ) ? $attr['labelLoadGoogleFonts'] : '';
4610
+ $label_font_family = isset( $attr['labelFontFamily'] ) ? $attr['labelFontFamily'] : '';
4611
+ $label_font_weight = isset( $attr['labelFontWeight'] ) ? $attr['labelFontWeight'] : '';
4612
+ $label_font_subset = isset( $attr['labelFontSubset'] ) ? $attr['labelFontSubset'] : '';
4613
+
4614
+ $input_load_google_font = isset( $attr['inputLoadGoogleFonts'] ) ? $attr['inputLoadGoogleFonts'] : '';
4615
+ $input_font_family = isset( $attr['inputFontFamily'] ) ? $attr['inputFontFamily'] : '';
4616
+ $input_font_weight = isset( $attr['inputFontWeight'] ) ? $attr['inputFontWeight'] : '';
4617
+ $input_font_subset = isset( $attr['inputFontSubset'] ) ? $attr['inputFontSubset'] : '';
4618
+
4619
+ $radio_check_load_google_font = isset( $attr['radioCheckLoadGoogleFonts'] ) ? $attr['radioCheckLoadGoogleFonts'] : '';
4620
+ $radio_check_font_family = isset( $attr['radioCheckFontFamily'] ) ? $attr['radioCheckFontFamily'] : '';
4621
+ $radio_check_font_weight = isset( $attr['radioCheckFontWeight'] ) ? $attr['radioCheckFontWeight'] : '';
4622
+ $radio_check_font_subset = isset( $attr['radioCheckFontSubset'] ) ? $attr['radioCheckFontSubset'] : '';
4623
+
4624
+ $button_load_google_font = isset( $attr['buttonLoadGoogleFonts'] ) ? $attr['buttonLoadGoogleFonts'] : '';
4625
+ $button_font_family = isset( $attr['buttonFontFamily'] ) ? $attr['buttonFontFamily'] : '';
4626
+ $button_font_weight = isset( $attr['buttonFontWeight'] ) ? $attr['buttonFontWeight'] : '';
4627
+ $button_font_subset = isset( $attr['buttonFontSubset'] ) ? $attr['buttonFontSubset'] : '';
4628
+
4629
+ $msg_font_load_google_font = isset( $attr['msgLoadGoogleFonts'] ) ? $attr['msgLoadGoogleFonts'] : '';
4630
+ $msg_font_family = isset( $attr['msgFontFamily'] ) ? $attr['msgFontFamily'] : '';
4631
+ $msg_font_weight = isset( $attr['msgFontWeight'] ) ? $attr['msgFontWeight'] : '';
4632
+ $msg_font_subset = isset( $attr['msgFontSubset'] ) ? $attr['msgFontSubset'] : '';
4633
+
4634
+ $validation_msg_load_google_font = isset( $attr['validationMsgLoadGoogleFonts'] ) ? $attr['validationMsgLoadGoogleFonts'] : '';
4635
+ $validation_msg_font_family = isset( $attr['validationMsgFontFamily'] ) ? $attr['validationMsgFontFamily'] : '';
4636
+ $validation_msg_font_weight = isset( $attr['validationMsgFontWeight'] ) ? $attr['validationMsgFontWeight'] : '';
4637
+ $validation_msg_font_subset = isset( $attr['validationMsgFontSubset'] ) ? $attr['validationMsgFontSubset'] : '';
4638
+
4639
+ UAGB_Helper::blocks_google_font( $msg_font_load_google_font, $msg_font_family, $msg_font_weight, $msg_font_subset );
4640
+ UAGB_Helper::blocks_google_font( $validation_msg_load_google_font, $validation_msg_font_family, $validation_msg_font_weight, $validation_msg_font_subset );
4641
+
4642
+ UAGB_Helper::blocks_google_font( $radio_check_load_google_font, $radio_check_font_family, $radio_check_font_weight, $radio_check_font_subset );
4643
+ UAGB_Helper::blocks_google_font( $button_load_google_font, $button_font_family, $button_font_weight, $button_font_subset );
4644
+
4645
+ UAGB_Helper::blocks_google_font( $label_load_google_font, $label_font_family, $label_font_weight, $label_font_subset );
4646
+ UAGB_Helper::blocks_google_font( $input_load_google_font, $input_font_family, $input_font_weight, $input_font_subset );
4647
+ }
4648
+
4649
+ /**
4650
+ * Adds Google fonts for Marketing Button block.
4651
+ *
4652
+ * @since 1.11.0
4653
+ * @param array $attr the blocks attr.
4654
+ */
4655
+ public static function blocks_marketing_btn_gfont( $attr ) {
4656
+
4657
+ $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
4658
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
4659
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
4660
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
4661
+
4662
+ $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
4663
+ $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
4664
+ $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
4665
+ $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
4666
+
4667
+ UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
4668
+ UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
4669
+ }
4670
+
4671
+ /**
4672
+ * Adds Google fonts for Blockquote.
4673
+ *
4674
+ * @since 1.9.1
4675
+ * @param array $attr the blocks attr.
4676
+ */
4677
+ public static function blocks_blockquote_gfont( $attr ) {
4678
+
4679
+ $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4680
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4681
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4682
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4683
+
4684
+ $author_load_google_font = isset( $attr['authorLoadGoogleFonts'] ) ? $attr['authorLoadGoogleFonts'] : '';
4685
+ $author_font_family = isset( $attr['authorFontFamily'] ) ? $attr['authorFontFamily'] : '';
4686
+ $author_font_weight = isset( $attr['authorFontWeight'] ) ? $attr['authorFontWeight'] : '';
4687
+ $author_font_subset = isset( $attr['authorFontSubset'] ) ? $attr['authorFontSubset'] : '';
4688
+
4689
+ $tweet_btn_load_google_font = isset( $attr['tweetBtnLoadGoogleFonts'] ) ? $attr['tweetBtnLoadGoogleFonts'] : '';
4690
+ $tweet_btn_font_family = isset( $attr['tweetBtnFontFamily'] ) ? $attr['tweetBtnFontFamily'] : '';
4691
+ $tweet_btn_font_weight = isset( $attr['tweetBtnFontWeight'] ) ? $attr['tweetBtnFontWeight'] : '';
4692
+ $tweet_btn_font_subset = isset( $attr['tweetBtnFontSubset'] ) ? $attr['tweetBtnFontSubset'] : '';
4693
+
4694
+ UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
4695
+ UAGB_Helper::blocks_google_font( $author_load_google_font, $author_font_family, $author_font_weight, $author_font_subset );
4696
+ UAGB_Helper::blocks_google_font( $tweet_btn_load_google_font, $tweet_btn_font_family, $tweet_btn_font_weight, $tweet_btn_font_subset );
4697
+ }
4698
+
4699
+ /**
4700
+ * Adds Google fonts for Testimonial block.
4701
+ *
4702
+ * @since 1.9.1
4703
+ * @param array $attr the blocks attr.
4704
+ */
4705
+ public static function blocks_testimonial_gfont( $attr ) {
4706
+ $desc_load_google_fonts = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4707
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4708
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4709
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4710
+
4711
+ $name_load_google_fonts = isset( $attr['nameLoadGoogleFonts'] ) ? $attr['nameLoadGoogleFonts'] : '';
4712
+ $name_font_family = isset( $attr['nameFontFamily'] ) ? $attr['nameFontFamily'] : '';
4713
+ $name_font_weight = isset( $attr['nameFontWeight'] ) ? $attr['nameFontWeight'] : '';
4714
+ $name_font_subset = isset( $attr['nameFontSubset'] ) ? $attr['nameFontSubset'] : '';
4715
+
4716
+ $company_load_google_fonts = isset( $attr['companyLoadGoogleFonts'] ) ? $attr['companyLoadGoogleFonts'] : '';
4717
+ $company_font_family = isset( $attr['companyFontFamily'] ) ? $attr['companyFontFamily'] : '';
4718
+ $company_font_weight = isset( $attr['companyFontWeight'] ) ? $attr['companyFontWeight'] : '';
4719
+ $company_font_subset = isset( $attr['companyFontSubset'] ) ? $attr['companyFontSubset'] : '';
4720
+
4721
+ UAGB_Helper::blocks_google_font( $desc_load_google_fonts, $desc_font_family, $desc_font_weight, $desc_font_subset );
4722
+ UAGB_Helper::blocks_google_font( $name_load_google_fonts, $name_font_family, $name_font_family, $name_font_subset );
4723
+ UAGB_Helper::blocks_google_font( $company_load_google_fonts, $company_font_family, $company_font_family, $company_font_subset );
4724
+ }
4725
+
4726
+ /**
4727
+ * Adds Google fonts for Advanced Heading block.
4728
+ *
4729
+ * @since 1.9.1
4730
+ * @param array $attr the blocks attr.
4731
+ */
4732
+ public static function blocks_team_gfont( $attr ) {
4733
+
4734
+ $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
4735
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
4736
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
4737
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
4738
+
4739
+ $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
4740
+ $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
4741
+ $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
4742
+ $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
4743
+
4744
+ $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4745
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4746
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4747
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4748
+
4749
+ UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
4750
+ UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
4751
+ UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
4752
+ }
4753
+
4754
+ /**
4755
+ *
4756
+ * Adds Google fonts for Restaurant Menu block.
4757
+ *
4758
+ * @since 1.9.1
4759
+ * @param array $attr the blocks attr.
4760
+ */
4761
+ public static function blocks_restaurant_menu_gfont( $attr ) {
4762
+ $title_load_google_fonts = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
4763
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
4764
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
4765
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
4766
+
4767
+ $price_load_google_fonts = isset( $attr['priceLoadGoogleFonts'] ) ? $attr['priceLoadGoogleFonts'] : '';
4768
+ $price_font_family = isset( $attr['priceFontFamily'] ) ? $attr['priceFontFamily'] : '';
4769
+ $price_font_weight = isset( $attr['priceFontWeight'] ) ? $attr['priceFontWeight'] : '';
4770
+ $price_font_subset = isset( $attr['priceFontSubset'] ) ? $attr['priceFontSubset'] : '';
4771
+
4772
+ $desc_load_google_fonts = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4773
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4774
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4775
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4776
+
4777
+ UAGB_Helper::blocks_google_font( $title_load_google_fonts, $title_font_family, $title_font_weight, $title_font_subset );
4778
+ UAGB_Helper::blocks_google_font( $price_load_google_fonts, $price_font_family, $price_font_weight, $price_font_subset );
4779
+ UAGB_Helper::blocks_google_font( $desc_load_google_fonts, $desc_font_family, $desc_font_weight, $desc_font_subset );
4780
+ }
4781
+
4782
+ /**
4783
+ * Adds Google fonts for Content Timeline block.
4784
+ *
4785
+ * @since 1.9.1
4786
+ * @param array $attr the blocks attr.
4787
+ */
4788
+ public static function blocks_content_timeline_gfont( $attr ) {
4789
+ $head_load_google_fonts = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
4790
+ $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
4791
+ $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
4792
+ $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
4793
+
4794
+ $subheadload_google_fonts = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
4795
+ $subheadfont_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
4796
+ $subheadfont_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
4797
+ $subheadfont_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
4798
+
4799
+ $date_load_google_fonts = isset( $attr['dateLoadGoogleFonts'] ) ? $attr['dateLoadGoogleFonts'] : '';
4800
+ $date_font_family = isset( $attr['dateFontFamily'] ) ? $attr['dateFontFamily'] : '';
4801
+ $date_font_weight = isset( $attr['dateFontWeight'] ) ? $attr['dateFontWeight'] : '';
4802
+ $date_font_subset = isset( $attr['dateFontSubset'] ) ? $attr['dateFontSubset'] : '';
4803
+
4804
+ UAGB_Helper::blocks_google_font( $head_load_google_fonts, $head_font_family, $head_font_weight, $head_font_subset );
4805
+ UAGB_Helper::blocks_google_font( $subheadload_google_fonts, $subheadfont_family, $subheadfont_weight, $subheadfont_subset );
4806
+ UAGB_Helper::blocks_google_font( $date_load_google_fonts, $date_font_family, $date_font_weight, $date_font_subset );
4807
+ }
4808
+
4809
+ /**
4810
+ * Adds Google fonts for Post Timeline block.
4811
+ *
4812
+ * @since 1.9.1
4813
+ * @param array $attr the blocks attr.
4814
+ */
4815
+ public static function blocks_post_timeline_gfont( $attr ) {
4816
+ self::blocks_content_timeline_gfont( $attr );
4817
+
4818
+ $author_load_google_fonts = isset( $attr['authorLoadGoogleFonts'] ) ? $attr['authorLoadGoogleFonts'] : '';
4819
+ $author_font_family = isset( $attr['authorFontFamily'] ) ? $attr['authorFontFamily'] : '';
4820
+ $author_font_weight = isset( $attr['authorFontWeight'] ) ? $attr['authorFontWeight'] : '';
4821
+ $author_font_subset = isset( $attr['authorFontSubset'] ) ? $attr['authorFontSubset'] : '';
4822
+
4823
+ $cta_load_google_fonts = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
4824
+ $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
4825
+ $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
4826
+ $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
4827
+
4828
+ UAGB_Helper::blocks_google_font( $author_load_google_fonts, $author_font_family, $author_font_weight, $author_font_subset );
4829
+ UAGB_Helper::blocks_google_font( $cta_load_google_fonts, $cta_font_family, $cta_font_weight, $cta_font_subset );
4830
+ }
4831
+
4832
+ /**
4833
+ * Adds Google fonts for Mulit Button's block.
4834
+ *
4835
+ * @since 1.9.1
4836
+ * @param array $attr the blocks attr.
4837
+ */
4838
+ public static function blocks_buttons_gfont( $attr ) {
4839
+
4840
+ $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
4841
+ $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
4842
+ $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
4843
+ $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
4844
+
4845
+ UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
4846
+ }
4847
+
4848
+ /**
4849
+ * Adds Google fonts for Icon List block
4850
+ *
4851
+ * @since 1.9.1
4852
+ * @param array $attr the blocks attr.
4853
+ */
4854
+ public static function blocks_icon_list_gfont( $attr ) {
4855
+
4856
+ $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
4857
+ $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
4858
+ $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
4859
+ $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
4860
+
4861
+ UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
4862
+ }
4863
+
4864
+ /**
4865
+ * Adds Google fonts for Post block.
4866
+ *
4867
+ * @since 1.9.1
4868
+ * @param array $attr the blocks attr.
4869
+ */
4870
+ public static function blocks_post_gfont( $attr ) {
4871
+
4872
+ $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
4873
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
4874
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
4875
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
4876
+
4877
+ $meta_load_google_font = isset( $attr['metaLoadGoogleFonts'] ) ? $attr['metaLoadGoogleFonts'] : '';
4878
+ $meta_font_family = isset( $attr['metaFontFamily'] ) ? $attr['metaFontFamily'] : '';
4879
+ $meta_font_weight = isset( $attr['metaFontWeight'] ) ? $attr['metaFontWeight'] : '';
4880
+ $meta_font_subset = isset( $attr['metaFontSubset'] ) ? $attr['metaFontSubset'] : '';
4881
+
4882
+ $excerpt_load_google_font = isset( $attr['excerptLoadGoogleFonts'] ) ? $attr['excerptLoadGoogleFonts'] : '';
4883
+ $excerpt_font_family = isset( $attr['excerptFontFamily'] ) ? $attr['excerptFontFamily'] : '';
4884
+ $excerpt_font_weight = isset( $attr['excerptFontWeight'] ) ? $attr['excerptFontWeight'] : '';
4885
+ $excerpt_font_subset = isset( $attr['excerptFontSubset'] ) ? $attr['excerptFontSubset'] : '';
4886
+
4887
+ $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
4888
+ $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
4889
+ $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
4890
+ $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
4891
+
4892
+ UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
4893
+
4894
+ UAGB_Helper::blocks_google_font( $meta_load_google_font, $meta_font_family, $meta_font_weight, $meta_font_subset );
4895
+
4896
+ UAGB_Helper::blocks_google_font( $excerpt_load_google_font, $excerpt_font_family, $excerpt_font_weight, $excerpt_font_subset );
4897
+
4898
+ UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
4899
+ }
4900
+
4901
+ /**
4902
+ * Adds Google fonts for Advanced Heading block.
4903
+ *
4904
+ * @since 1.9.1
4905
+ * @param array $attr the blocks attr.
4906
+ */
4907
+ public static function blocks_info_box_gfont( $attr ) {
4908
+
4909
+ $head_load_google_font = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
4910
+ $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
4911
+ $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
4912
+ $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
4913
+
4914
+ $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
4915
+ $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
4916
+ $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
4917
+ $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
4918
+
4919
+ $subhead_load_google_font = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
4920
+ $subhead_font_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
4921
+ $subhead_font_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
4922
+ $subhead_font_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
4923
+
4924
+ $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
4925
+ $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
4926
+ $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
4927
+ $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
4928
+
4929
+ UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
4930
+ UAGB_Helper::blocks_google_font( $head_load_google_font, $head_font_family, $head_font_weight, $head_font_subset );
4931
+ UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
4932
+ UAGB_Helper::blocks_google_font( $subhead_load_google_font, $subhead_font_family, $subhead_font_weight, $subhead_font_subset );
4933
+ }
4934
+
4935
+ /**
4936
+ * Adds Google fonts for Call To Action block.
4937
+ *
4938
+ * @since 1.9.1
4939
+ * @param array $attr the blocks attr.
4940
+ */
4941
+ public static function blocks_call_to_action_gfont( $attr ) {
4942
+
4943
+ $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
4944
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
4945
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
4946
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
4947
+
4948
+ $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4949
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4950
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4951
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4952
+
4953
+ $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
4954
+ $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
4955
+ $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
4956
+ $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
4957
+
4958
+ UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
4959
+ UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
4960
+ UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
4961
+ }
4962
+ }
4963
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/class-uagb-config.php CHANGED
@@ -1,1706 +1,1646 @@
1
- <?php
2
- /**
3
- * UAGB Config.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Config' ) ) {
9
-
10
- /**
11
- * Class UAGB_Config.
12
- */
13
- class UAGB_Config {
14
-
15
- /**
16
- * Block Attributes
17
- *
18
- * @var block_attributes
19
- */
20
- public static $block_attributes = null;
21
-
22
- /**
23
- * Get Widget List.
24
- *
25
- * @since 0.0.1
26
- *
27
- * @return array The Widget List.
28
- */
29
- public static function get_block_attributes() {
30
-
31
- if ( null === self::$block_attributes ) {
32
- self::$block_attributes = array(
33
- 'uagb/advanced-heading' => array(
34
- 'slug' => '',
35
- 'title' => __( 'Advanced Heading', 'ultimate-addons-for-gutenberg' ),
36
- 'description' => __( 'This block lets you add a combination of a heading and a sub-heading with a separator in between.', 'ultimate-addons-for-gutenberg' ),
37
- 'default' => true,
38
- 'attributes' => array(
39
- 'headingAlign' => 'center',
40
- 'headingColor' => '',
41
- 'subHeadingColor' => '',
42
- 'separatorColor' => '',
43
- 'seperatorStyle' => 'solid',
44
- 'separatorHeight' => '',
45
- 'separatorWidth' => '',
46
- 'separatorWidthType' => '%',
47
- 'headFontFamily' => '',
48
- 'headLoadGoogleFonts' => false,
49
- 'headFontWeight' => '',
50
- 'headFontSubset' => '',
51
- 'headFontSize' => '',
52
- 'headFontSizeType' => 'px',
53
- 'headFontSizeTablet' => '',
54
- 'headFontSizeMobile' => '',
55
- 'headLineHeight' => '',
56
- 'headLineHeightType' => 'em',
57
- 'headLineHeightTablet' => '',
58
- 'headLineHeightMobile' => '',
59
- 'subHeadFontFamily' => '',
60
- 'subHeadLoadGoogleFonts' => false,
61
- 'subHeadFontWeight' => '',
62
- 'subHeadFontSubset' => '',
63
- 'subHeadFontSize' => '',
64
- 'subHeadFontSizeType' => 'px',
65
- 'subHeadFontSizeTablet' => '',
66
- 'subHeadFontSizeMobile' => '',
67
- 'subHeadLineHeight' => '',
68
- 'subHeadLineHeightType' => 'em',
69
- 'subHeadLineHeightTablet' => '',
70
- 'subHeadLineHeightMobile' => '',
71
- 'headSpace' => 15,
72
- 'separatorSpace' => 15,
73
- ),
74
- ),
75
- 'uagb/columns' => array(
76
- 'slug' => '',
77
- 'title' => __( 'Advanced Columns', 'ultimate-addons-for-gutenberg' ),
78
- 'description' => __( 'This block gives you advanced options to insert a number of columns within a single row.', 'ultimate-addons-for-gutenberg' ),
79
- 'default' => true,
80
- 'attributes' => array(
81
- 'block_id' => '',
82
- 'columns' => '2',
83
- 'align' => '',
84
- 'vAlign' => '',
85
- 'stack' => 'mobile',
86
- 'topPadding' => '20',
87
- 'bottomPadding' => '20',
88
- 'leftPadding' => '20',
89
- 'rightPadding' => '20',
90
- 'topMargin' => '0',
91
- 'bottomMargin' => '0',
92
- 'topPaddingTablet' => '',
93
- 'bottomPaddingTablet' => '',
94
- 'leftPaddingTablet' => '',
95
- 'rightPaddingTablet' => '',
96
- 'topPaddingMobile' => '',
97
- 'bottomPaddingMobile' => '',
98
- 'leftPaddingMobile' => '',
99
- 'rightPaddingMobile' => '',
100
- 'topMarginMobile' => '',
101
- 'bottomMarginMobile' => '',
102
- 'topMarginTablet' => '',
103
- 'bottomMarginTablet' => '',
104
- 'contentWidth' => 'theme',
105
- 'width' => '900',
106
- 'tag' => 'section',
107
- 'backgroundType' => 'none',
108
- 'backgroundImage' => '',
109
- 'backgroundPosition' => 'center-center',
110
- 'backgroundSize' => 'cover',
111
- 'backgroundRepeat' => 'no-repeat',
112
- 'backgroundAttachment' => 'scroll',
113
- 'backgroundVideo' => '',
114
- 'backgroundColor' => '',
115
- 'gradientColor1' => '',
116
- 'gradientColor2' => '',
117
- 'gradientType' => 'linear',
118
- 'gradientLocation1' => '0',
119
- 'gradientLocation2' => '100',
120
- 'gradientAngle' => '0',
121
- 'backgroundOpacity' => '',
122
- 'backgroundVideoOpacity' => '50',
123
- 'backgroundVideoColor' => '',
124
- 'backgroundImageColor' => '',
125
- 'borderStyle' => 'none',
126
- 'borderWidth' => '1',
127
- 'borderRadius' => '',
128
- 'borderColor' => '',
129
- 'columnGap' => '10',
130
- 'bottomType' => 'none',
131
- 'bottomColor' => '#333',
132
- 'bottomHeight' => '',
133
- 'bottomHeightTablet' => '',
134
- 'bottomHeightMobile' => '',
135
- 'bottomWidth' => '',
136
- 'topType' => 'none',
137
- 'topColor' => '#333',
138
- 'topHeight' => '',
139
- 'topHeightTablet' => '',
140
- 'topHeightMobile' => '',
141
- 'topWidth' => '',
142
- 'bottomFlip' => '',
143
- 'topFlip' => '',
144
- ),
145
- ),
146
- 'uagb/column' => array(
147
- 'slug' => '',
148
- 'title' => __( 'Column', 'ultimate-addons-for-gutenberg' ),
149
- 'description' => __( 'This block is an immediate child of Advanced Columns.', 'ultimate-addons-for-gutenberg' ),
150
- 'default' => true,
151
- 'is_child' => true,
152
- 'attributes' => array(
153
- 'block_id' => '',
154
- 'topPadding' => '',
155
- 'bottomPadding' => '',
156
- 'leftPadding' => '',
157
- 'rightPadding' => '',
158
- 'topMargin' => '',
159
- 'bottomMargin' => '',
160
- 'leftMargin' => '',
161
- 'rightMargin' => '',
162
- 'topPaddingTablet' => '',
163
- 'bottomPaddingTablet' => '',
164
- 'leftPaddingTablet' => '',
165
- 'rightPaddingTablet' => '',
166
- 'topPaddingMobile' => '',
167
- 'bottomPaddingMobile' => '',
168
- 'leftPaddingMobile' => '',
169
- 'rightPaddingMobile' => '',
170
- 'topMarginMobile' => '',
171
- 'bottomMarginMobile' => '',
172
- 'leftMarginMobile' => '',
173
- 'rightMarginMobile' => '',
174
- 'topMarginTablet' => '',
175
- 'bottomMarginTablet' => '',
176
- 'leftMarginTablet' => '',
177
- 'rightMarginTablet' => '',
178
- 'colWidth' => '',
179
- 'colWidthTablet' => '',
180
- 'colWidthMobile' => '',
181
- 'backgroundType' => 'none',
182
- 'backgroundImage' => '',
183
- 'backgroundPosition' => 'center-center',
184
- 'backgroundSize' => 'cover',
185
- 'backgroundRepeat' => 'no-repeat',
186
- 'backgroundAttachment' => 'scroll',
187
- 'backgroundColor' => '',
188
- 'gradientColor1' => '',
189
- 'gradientColor2' => '',
190
- 'gradientType' => 'linear',
191
- 'gradientLocation1' => 0,
192
- 'gradientLocation2' => 100,
193
- 'gradientAngle' => 0,
194
- 'backgroundOpacity' => '',
195
- 'backgroundImageColor' => '',
196
- 'borderStyle' => 'none',
197
- 'borderWidth' => 1,
198
- 'borderRadius' => '',
199
- 'borderColor' => '',
200
- 'align' => 'center',
201
- 'alignMobile' => '',
202
- 'alignTablet' => '',
203
- ),
204
- ),
205
- 'uagb/blockquote' => array(
206
- 'slug' => '',
207
- 'title' => __( 'Blockquote', 'ultimate-addons-for-gutenberg' ),
208
- 'description' => __( 'This block allows you to display your Blockquote.', 'ultimate-addons-for-gutenberg' ),
209
- 'default' => true,
210
- 'attributes' => array(
211
- 'block_id ' => '',
212
- 'skinStyle' => 'border',
213
- 'align' => 'left',
214
- 'descColor' => '',
215
- 'descFontSize' => '',
216
- 'descFontSizeType' => 'px',
217
- 'descFontSizeTablet' => '',
218
- 'descFontSizeMobile' => '',
219
- 'descFontFamily' => '',
220
- 'descFontWeight' => '',
221
- 'descFontSubset' => '',
222
- 'descLineHeightType' => 'em
223
- ',
224
- 'descLineHeight' => '',
225
- 'descLineHeightTablet' => '',
226
- 'descLineHeightMobile' => '',
227
- 'descLoadGoogleFonts' => false,
228
- 'descSpace' => 20,
229
- 'authorColor' => '#888888',
230
- 'authorFontSize' => '',
231
- 'authorFontSizeType' => 'px',
232
- 'authorFontSizeTablet' => '',
233
- 'authorFontSizeMobile' => '',
234
- 'authorFontFamily' => '',
235
- 'authorFontWeight' => '',
236
- 'authorFontSubset' => '',
237
- 'authorLineHeightType' => 'em
238
- ',
239
- 'authorLineHeight' => '',
240
- 'authorLineHeightTablet' => '',
241
- 'authorLineHeightMobile' => '',
242
- 'authorLoadGoogleFonts' => false,
243
- 'authorSpace' => 10,
244
- 'authorImageWidth' => 40,
245
- 'authorImgBorderRadius' => 100,
246
- 'authorImgPosition' => 'right',
247
- 'stack' => 'tablet',
248
- 'enableTweet' => true,
249
- 'iconView' => 'icon_text',
250
- 'iconSkin' => 'link',
251
- 'tweetLinkColor' => '#1DA1F2',
252
- 'tweetBtnColor' => '#fff',
253
- 'tweetBtnBgColor' => '#1DA1F2',
254
- 'tweetBtnHoverColor' => '',
255
- 'tweetBtnBgHoverColor' => '#1DA1F2',
256
- 'tweetBtnFontSize' => 15,
257
- 'tweetBtnFontSizeType' => 'px',
258
- 'tweetBtnFontSizeTablet' => '',
259
- 'tweetBtnFontSizeMobile' => '',
260
- 'tweetBtnFontFamily' => '',
261
- 'tweetBtnFontWeight' => '',
262
- 'tweetBtnFontSubset' => '',
263
- 'tweetBtnLineHeightType' => 'em',
264
- 'tweetBtnLineHeight' => '',
265
- 'tweetBtnLineHeightTablet' => '',
266
- 'tweetBtnLineHeightMobile' => '',
267
- 'tweetBtnLoadGoogleFonts' => false,
268
- 'tweetBtnHrPadding' => 10,
269
- 'tweetBtnVrPadding' => 10,
270
- 'tweetIconSpacing' => 10,
271
- 'borderColor' => '#abb8c3',
272
- 'borderStyle' => 'solid',
273
- 'borderWidth' => 4,
274
- 'borderGap' => 15,
275
- 'verticalPadding' => '',
276
- 'quoteStyle' => 'style_1',
277
- 'quoteColor' => '#abb8c3',
278
- 'quoteSize' => 25,
279
- 'quoteSizeType' => 'px',
280
- 'quoteSizeTablet' => '',
281
- 'quoteSizeMobile' => '',
282
- 'quoteTopMargin' => '',
283
- 'quoteBottomMargin' => '',
284
- 'quoteLeftMargin' => '',
285
- 'quoteRightMargin' => 20,
286
- 'quoteBorderRadius' => 100,
287
- 'quoteBgColor' => '#333',
288
- 'quoteHoverColor' => '',
289
- 'quoteBgHoverColor' => '',
290
- 'borderHoverColor' => '',
291
- 'iconTargetUrl' => 'current',
292
- 'customUrl' => '',
293
- 'iconShareVia' => '',
294
- 'quotePadding' => 10,
295
- 'quotePaddingType' => 'px',
296
- 'quotePaddingTablet' => '',
297
- 'quotePaddingMobile' => '',
298
- ),
299
- ),
300
- 'uagb/call-to-action' => array(
301
- 'slug' => '',
302
- 'title' => __( 'Call To Action', 'ultimate-addons-for-gutenberg' ),
303
- 'description' => __( 'This block allows you to place an CTA along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
304
- 'default' => true,
305
- 'attributes' => array(
306
- 'textAlign' => 'left',
307
- 'titleColor' => '',
308
- 'descColor' => '',
309
- 'ctaPosition' => 'right',
310
- 'titleTag' => '',
311
- 'titleFontSize' => '',
312
- 'titleFontSizeType' => 'px',
313
- 'titleFontSizeMobile' => '',
314
- 'titleFontSizeTablet' => '',
315
- 'titleFontFamily' => '',
316
- 'titleFontWeight' => '',
317
- 'titleFontSubset' => '',
318
- 'titleLineHeightType' => 'em',
319
- 'titleLineHeight' => '',
320
- 'titleLineHeightTablet' => '',
321
- 'titleLineHeightMobile' => '',
322
- 'titleLoadGoogleFonts' => false,
323
- 'descFontSize' => '',
324
- 'descFontSizeType' => 'px',
325
- 'descFontSizeMobile' => '',
326
- 'descFontSizeTablet' => '',
327
- 'descFontFamily' => '',
328
- 'descFontWeight' => '',
329
- 'descFontSubset' => '',
330
- 'descLineHeightType' => 'em',
331
- 'descLineHeight' => '',
332
- 'descLineHeightTablet' => '',
333
- 'descLineHeightMobile' => '',
334
- 'descLoadGoogleFonts' => false,
335
- 'titleSpace' => 10,
336
- 'descSpace' => 10,
337
- 'buttonAlign' => 'top',
338
- 'ctaTarget' => false,
339
- 'ctaIconPosition' => 'after',
340
- 'ctaIconSpace' => 5,
341
- 'ctaType' => 'button',
342
- 'ctaLink' => '#',
343
- 'ctaFontSize' => '',
344
- 'ctaFontSizeType' => 'px',
345
- 'ctaFontSizeMobile' => '',
346
- 'ctaFontSizeTablet' => '',
347
- 'ctaFontFamily' => '',
348
- 'ctaFontWeight' => '',
349
- 'ctaFontSubset' => '',
350
- 'ctaLoadGoogleFonts' => false,
351
- 'ctaBtnLinkColor' => '#333',
352
- 'ctaBgColor' => 'transparent',
353
- 'ctaBgHoverColor' => 'transparent',
354
- 'ctaBorderColor' => '#333',
355
- 'ctaBorderhoverColor' => '',
356
- 'ctaBorderStyle' => 'solid',
357
- 'ctaBtnVertPadding' => 10,
358
- 'ctaBtnHrPadding' => 14,
359
- 'ctaBorderWidth' => 1,
360
- 'ctaBorderRadius' => 0,
361
- 'stack' => 'tablet',
362
- 'showTitle' => true,
363
- 'showDesc' => true,
364
- 'ctaLeftSpace' => 5,
365
- 'ctaRightSpace' => 5,
366
- 'contentWidth' => 70,
367
- 'ctaLinkHoverColor' => '',
368
- ),
369
- ),
370
- 'uagb/cf7-styler' => array(
371
- 'slug' => '',
372
- 'title' => __( 'Contact Form 7 Styler', 'ultimate-addons-for-gutenberg' ),
373
- 'description' => __( 'This block allows you to add and style your Contact Form 7 forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
374
- 'is_active' => class_exists( 'WPCF7_ContactForm' ),
375
- 'default' => true,
376
- 'attributes' => array(
377
- 'block_id' => '',
378
- 'align' => 'left',
379
- 'formId' => '0',
380
- 'fieldStyle' => 'box',
381
- 'fieldHrPadding' => 10,
382
- 'fieldVrPadding' => 10,
383
- 'fieldBgColor' => '#fafafa',
384
- 'fieldLabelColor' => '#333',
385
- 'fieldInputColor' => '#333',
386
- 'fieldBorderStyle' => 'solid',
387
- 'fieldBorderWidth' => 1,
388
- 'fieldBorderRadius' => 0,
389
- 'fieldBorderColor' => '#eeeeee',
390
- 'fieldBorderFocusColor' => '',
391
- 'buttonAlignment' => 'left',
392
- 'buttonVrPadding' => 10,
393
- 'buttonHrPadding' => 25,
394
- 'buttonTextColor' => '#333',
395
- 'buttonBgColor' => 'transparent',
396
- 'buttonTextHoverColor' => '',
397
- 'buttonBgHoverColor' => '',
398
- 'buttonBorderStyle' => 'solid',
399
- 'buttonBorderWidth' => 1,
400
- 'buttonBorderRadius' => 0,
401
- 'buttonBorderColor' => '#333',
402
- 'buttonBorderHoverColor' => '',
403
- 'fieldSpacing' => '',
404
- 'fieldLabelSpacing' => '',
405
- 'labelFontSize' => '',
406
- 'labelFontSizeType' => 'px',
407
- 'labelFontSizeTablet' => '',
408
- 'labelFontSizeMobile' => '',
409
- 'labelFontFamily' => '',
410
- 'labelFontWeight' => '',
411
- 'labelFontSubset' => '',
412
- 'labelLineHeightType' => 'px',
413
- 'labelLineHeight' => '',
414
- 'labelLineHeightTablet' => '',
415
- 'labelLineHeightMobile' => '',
416
- 'labelLoadGoogleFonts' => false,
417
- 'inputFontSize' => '',
418
- 'inputFontSizeType' => 'px',
419
- 'inputFontSizeTablet' => '',
420
- 'inputFontSizeMobile' => '',
421
- 'inputFontFamily' => '',
422
- 'inputFontWeight' => '',
423
- 'inputFontSubset' => '',
424
- 'inputLineHeightType' => 'px',
425
- 'inputLineHeight' => '',
426
- 'inputLineHeightTablet' => '',
427
- 'inputLineHeightMobile' => '',
428
- 'inputLoadGoogleFonts' => false,
429
- 'buttonFontSize' => '',
430
- 'buttonFontSizeType' => 'px',
431
- 'buttonFontSizeTablet' => '',
432
- 'buttonFontSizeMobile' => '',
433
- 'buttonFontFamily' => '',
434
- 'buttonFontWeight' => '',
435
- 'buttonFontSubset' => '',
436
- 'buttonLineHeightType' => 'px',
437
- 'buttonLineHeight' => '',
438
- 'buttonLineHeightTablet' => '',
439
- 'buttonLineHeightMobile' => '',
440
- 'buttonLoadGoogleFonts' => false,
441
- 'enableOveride' => true,
442
- 'radioCheckSize' => '',
443
- 'radioCheckBgColor' => '',
444
- 'radioCheckSelectColor' => '',
445
- 'radioCheckLableColor' => '',
446
- 'radioCheckBorderColor' => '#abb8c3',
447
- 'radioCheckBorderWidth' => '',
448
- 'radioCheckBorderRadius' => '',
449
- 'radioCheckFontSize' => '',
450
- 'radioCheckFontSizeType' => 'px',
451
- 'radioCheckFontSizeTablet' => '',
452
- 'radioCheckFontSizeMobile' => '',
453
- 'radioCheckFontFamily' => '',
454
- 'radioCheckFontWeight' => '',
455
- 'radioCheckFontSubset' => '',
456
- 'radioCheckLineHeightType' => 'px',
457
- 'radioCheckLineHeight' => '',
458
- 'radioCheckLineHeightTablet' => '',
459
- 'radioCheckLineHeightMobile' => '',
460
- 'radioCheckLoadGoogleFonts' => false,
461
- 'validationMsgPosition' => 'default',
462
- 'validationMsgColor' => '#ff0000',
463
- 'validationMsgBgColor' => '',
464
- 'enableHighlightBorder' => false,
465
- 'highlightBorderColor' => '#ff0000',
466
- 'validationMsgFontSize' => '',
467
- 'validationMsgFontSizeType' => 'px',
468
- 'validationMsgFontSizeTablet' => '',
469
- 'validationMsgFontSizeMobile' => '',
470
- 'validationMsgFontFamily' => '',
471
- 'validationMsgFontWeight' => '',
472
- 'validationMsgFontSubset' => '',
473
- 'validationMsgLineHeightType' => 'em',
474
- 'validationMsgLineHeight' => '',
475
- 'validationMsgLineHeightTablet' => '',
476
- 'validationMsgLineHeightMobile' => '',
477
- 'validationMsgLoadGoogleFonts' => false,
478
- 'successMsgColor' => '',
479
- 'successMsgBgColor' => '',
480
- 'successMsgBorderColor' => '',
481
- 'errorMsgColor' => '',
482
- 'errorMsgBgColor' => '',
483
- 'errorMsgBorderColor' => '',
484
- 'msgBorderSize' => '',
485
- 'msgBorderRadius' => '',
486
- 'msgVrPadding' => '',
487
- 'msgHrPadding' => '',
488
- 'msgFontSize' => '',
489
- 'msgFontSizeType' => 'px',
490
- 'msgFontSizeTablet' => '',
491
- 'msgFontSizeMobile' => '',
492
- 'msgFontFamily' => '',
493
- 'msgFontWeight' => '',
494
- 'msgFontSubset' => '',
495
- 'msgLineHeightType' => 'em',
496
- 'msgLineHeight' => '',
497
- 'msgLineHeightTablet' => '',
498
- 'msgLineHeightMobile' => '',
499
- 'msgLoadGoogleFonts' => false,
500
- 'radioCheckBorderRadiusType' => 'px',
501
- 'msgBorderRadiusType' => 'px',
502
- 'fieldBorderRadiusType' => 'px',
503
- 'buttonBorderRadiusType' => 'px',
504
- ),
505
- ),
506
- 'uagb/gf-styler' => array(
507
- 'slug' => '',
508
- 'title' => __( 'Gravity Form Styler', 'ultimate-addons-for-gutenberg' ),
509
- 'description' => __( 'This block allows you to add and style your Gravity Forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
510
- 'default' => true,
511
- 'is_active' => class_exists( 'GFForms' ),
512
- 'attributes' => array(
513
- 'block_id' => '',
514
- 'align' => 'left',
515
- 'enableAjax' => false,
516
- 'enableTabSupport' => false,
517
- 'formTabIndex' => '0',
518
- 'formId' => '0',
519
- 'titleDescStyle' => 'yes',
520
- 'titleDescAlignment' => 'left',
521
- 'fieldStyle' => 'box',
522
- 'fieldHrPadding' => 10,
523
- 'fieldVrPadding' => 10,
524
- 'fieldBgColor' => '#fafafa',
525
- 'fieldLabelColor' => '#333',
526
- 'fieldInputColor' => '#333',
527
- 'fieldBorderStyle' => 'solid',
528
- 'fieldBorderWidth' => 1,
529
- 'fieldBorderRadius' => 0,
530
- 'fieldBorderColor' => '#eeeeee',
531
- 'fieldBorderFocusColor' => '',
532
- 'buttonAlignment' => 'left',
533
- 'buttonVrPadding' => 10,
534
- 'buttonHrPadding' => 25,
535
- 'buttonTextColor' => '#333',
536
- 'buttonBgColor' => 'transparent',
537
- 'buttonTextHoverColor' => '',
538
- 'buttonBgHoverColor' => '',
539
- 'buttonBorderStyle' => 'solid',
540
- 'buttonBorderWidth' => 1,
541
- 'buttonBorderRadius' => 0,
542
- 'buttonBorderColor' => '#333',
543
- 'buttonBorderHoverColor' => '',
544
- 'fieldSpacing' => '',
545
- 'fieldLabelSpacing' => '',
546
- 'enableLabel' => false,
547
- 'textAreaHeight' => 'auto',
548
- 'labelFontSize' => '',
549
- 'labelFontSizeType' => 'px',
550
- 'labelFontSizeTablet' => '',
551
- 'labelFontSizeMobile' => '',
552
- 'labelFontFamily' => '',
553
- 'labelFontWeight' => '',
554
- 'labelFontSubset' => '',
555
- 'labelLineHeightType' => 'px',
556
- 'labelLineHeight' => '',
557
- 'labelLineHeightTablet' => '',
558
- 'labelLineHeightMobile' => '',
559
- 'labelLoadGoogleFonts' => false,
560
- 'inputFontSize' => '',
561
- 'inputFontSizeType' => 'px',
562
- 'inputFontSizeTablet' => '',
563
- 'inputFontSizeMobile' => '',
564
- 'inputFontFamily' => '',
565
- 'inputFontWeight' => '',
566
- 'inputFontSubset' => '',
567
- 'inputLineHeightType' => 'px',
568
- 'inputLineHeight' => '',
569
- 'inputLineHeightTablet' => '',
570
- 'inputLineHeightMobile' => '',
571
- 'inputLoadGoogleFonts' => false,
572
- 'buttonFontSize' => '',
573
- 'buttonFontSizeType' => 'px',
574
- 'buttonFontSizeTablet' => '',
575
- 'buttonFontSizeMobile' => '',
576
- 'buttonFontFamily' => '',
577
- 'buttonFontWeight' => '',
578
- 'buttonFontSubset' => '',
579
- 'buttonLineHeightType' => 'px',
580
- 'buttonLineHeight' => '',
581
- 'buttonLineHeightTablet' => '',
582
- 'buttonLineHeightMobile' => '',
583
- 'buttonLoadGoogleFonts' => false,
584
- 'enableOveride' => true,
585
- 'radioCheckSize' => '20',
586
- 'radioCheckBgColor' => '#fafafa',
587
- 'radioCheckSelectColor' => '',
588
- 'radioCheckLableColor' => '',
589
- 'radioCheckBorderColor' => '#cbcbcb',
590
- 'radioCheckBorderWidth' => '1',
591
- 'radioCheckBorderRadius' => '',
592
- 'radioCheckFontSize' => '',
593
- 'radioCheckFontSizeType' => 'px',
594
- 'radioCheckFontSizeTablet' => '',
595
- 'radioCheckFontSizeMobile' => '',
596
- 'radioCheckFontFamily' => '',
597
- 'radioCheckFontWeight' => '',
598
- 'radioCheckFontSubset' => '',
599
- 'radioCheckLineHeightType' => 'px',
600
- 'radioCheckLineHeight' => '',
601
- 'radioCheckLineHeightTablet' => '',
602
- 'radioCheckLineHeightMobile' => '',
603
- 'radioCheckLoadGoogleFonts' => false,
604
- 'validationMsgColor' => '#ff0000',
605
- 'advancedValidationSettings' => false,
606
- 'highlightBorderColor' => '#ff0000',
607
- 'validationMsgFontSize' => '',
608
- 'validationMsgBgColor' => '',
609
- 'validationMsgFontSizeType' => 'px',
610
- 'validationMsgFontSizeTablet' => '',
611
- 'validationMsgFontSizeMobile' => '',
612
- 'validationMsgFontFamily' => '',
613
- 'validationMsgFontWeight' => '',
614
- 'validationMsgFontSubset' => '',
615
- 'validationMsgLineHeightType' => 'em',
616
- 'validationMsgLineHeight' => '',
617
- 'validationMsgLineHeightTablet' => '',
618
- 'validationMsgLineHeightMobile' => '',
619
- 'validationMsgLoadGoogleFonts' => false,
620
- 'successMsgBorderColor' => '',
621
- 'errorMsgColor' => '',
622
- 'errorMsgBgColor' => '',
623
- 'errorMsgBorderColor' => '',
624
- 'msgBorderSize' => '',
625
- 'msgBorderRadius' => '',
626
- 'msgVrPadding' => '',
627
- 'msgHrPadding' => '',
628
- 'msgFontSize' => '',
629
- 'msgFontSizeType' => 'px',
630
- 'msgFontSizeTablet' => '',
631
- 'msgFontSizeMobile' => '',
632
- 'msgFontFamily' => '',
633
- 'msgFontWeight' => '',
634
- 'msgFontSubset' => '',
635
- 'msgLineHeightType' => 'em',
636
- 'msgLineHeight' => '',
637
- 'msgLineHeightTablet' => '',
638
- 'msgLineHeightMobile' => '',
639
- 'msgLoadGoogleFonts' => false,
640
- 'radioCheckBorderRadiusType' => 'px',
641
- 'msgBorderRadiusType' => 'px',
642
- 'fieldBorderRadiusType' => 'px',
643
- 'buttonBorderRadiusType' => 'px',
644
- 'successMsgColor' => '',
645
- 'successMsgFontSize' => '',
646
- 'successMsgFontSizeType' => 'px',
647
- 'successMsgFontSizeTablet' => '',
648
- 'successMsgFontSizeMobile' => '',
649
- 'successMsgFontFamily' => '',
650
- 'successMsgFontWeight' => '',
651
- 'successMsgFontSubset' => '',
652
- 'successMsgLineHeightType' => 'em',
653
- 'successMsgLineHeight' => '',
654
- 'successMsgLineHeightTablet' => '',
655
- 'successMsgLineHeightMobile' => '',
656
- 'successMsgLoadGoogleFonts' => false,
657
- ),
658
- ),
659
- 'uagb/content-timeline' => array(
660
- 'slug' => '',
661
- 'title' => __( 'Content Timeline', 'ultimate-addons-for-gutenberg' ),
662
- 'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
663
- 'default' => true,
664
- 'attributes' => array(
665
- 'align' => 'center',
666
- 'headingColor' => '',
667
- 'subHeadingColor' => '',
668
- 'separatorBg' => '#eee',
669
- 'backgroundColor' => '#eee',
670
- 'separatorColor' => '#eee',
671
- 'separatorFillColor' => '#61ce70',
672
- 'separatorBorder' => '#eee',
673
- 'borderFocus' => '#5cb85c',
674
- 'horizontalSpace' => 10,
675
- 'verticalSpace' => 15,
676
- 'headFontSizeType' => 'px',
677
- 'headFontSize' => '',
678
- 'headFontSizeTablet' => '',
679
- 'headFontSizeMobile' => '',
680
- 'headFontFamily' => '',
681
- 'headFontWeight' => '',
682
- 'headFontSubset' => '',
683
- 'headLineHeightType' => 'em',
684
- 'headLineHeight' => '',
685
- 'headLineHeightTablet' => '',
686
- 'headLineHeightMobile' => '',
687
- 'headLoadGoogleFonts' => false,
688
- 'timelinAlignment' => 'center',
689
- 'arrowlinAlignment' => 'center',
690
- 'subHeadFontSizeType' => 'px',
691
- 'subHeadFontSize' => '',
692
- 'subHeadFontSizeTablet' => '',
693
- 'subHeadFontSizeMobile' => '',
694
- 'subHeadFontFamily' => '',
695
- 'subHeadFontWeight' => '',
696
- 'subHeadFontSubset' => '',
697
- 'subHeadLineHeightType' => 'em',
698
- 'subHeadLineHeight' => '',
699
- 'subHeadLineHeightTablet' => '',
700
- 'subHeadLineHeightMobile' => '',
701
- 'subHeadLoadGoogleFonts' => false,
702
- 'headSpace' => 5,
703
- 'separatorwidth' => 3,
704
- 'borderwidth' => 0,
705
- 'iconColor' => '#333',
706
- 'iconFocus' => '#fff',
707
- 'iconBgFocus' => '#61ce70',
708
- 'dateColor' => '#333',
709
- 'dateFontsizeType' => 'px',
710
- 'dateFontsize' => '12',
711
- 'dateFontsizeTablet' => '',
712
- 'dateFontsizeMobile' => '',
713
- 'dateFontFamily' => '',
714
- 'dateFontWeight' => '',
715
- 'dateFontSubset' => '',
716
- 'dateLineHeightType' => 'em',
717
- 'dateLineHeight' => '',
718
- 'dateLineHeightTablet' => '',
719
- 'dateLineHeightMobile' => '',
720
- 'dateLoadGoogleFonts' => false,
721
- 'connectorBgsize' => 35,
722
- 'dateBottomspace' => 5,
723
- 'borderRadius' => 2,
724
- 'bgPadding' => 20,
725
- 'iconSize' => 12,
726
- 'stack' => 'tablet',
727
- ),
728
- ),
729
- 'uagb/google-map' => array(
730
- 'slug' => '',
731
- 'title' => __( 'Google Map', 'ultimate-addons-for-gutenberg' ),
732
- 'description' => __( 'This block allows you to place a Google Map Location.', 'ultimate-addons-for-gutenberg' ),
733
- 'default' => true,
734
- 'attributes' => array(
735
- 'block_id' => '',
736
- 'height' => '300',
737
- ),
738
- ),
739
- 'uagb/icon-list' => array(
740
- 'slug' => '',
741
- 'title' => __( 'Icon List', 'ultimate-addons-for-gutenberg' ),
742
- 'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
743
- 'default' => true,
744
- 'attributes' => array(
745
- 'align' => 'left',
746
- 'icon_count' => '1',
747
- 'icons' => array(
748
- array(
749
- 'label' => __( 'Label #1', 'ultimate-addons-for-gutenberg' ),
750
- 'image_icon' => 'icon',
751
- 'icon' => 'fab fa-facebook',
752
- 'image' => '',
753
- 'icon_color' => '#3a3a3a',
754
- 'icon_hover_color' => '#3a3a3a',
755
- 'icon_bg_color' => '',
756
- 'icon_bg_hover_color' => '',
757
- 'icon_border_color' => '',
758
- 'icon_border_hover_color' => '',
759
- 'label_color' => '',
760
- 'label_hover_color' => '',
761
- 'link' => '#',
762
- 'target' => false,
763
- ),
764
- ),
765
- 'gap' => '10',
766
- 'inner_gap' => '15',
767
- 'size' => '40',
768
- 'sizeType' => 'px',
769
- 'sizeMobile' => '',
770
- 'sizeTablet' => '',
771
- 'bgSize' => '0',
772
- 'border' => '0',
773
- 'borderRadius' => '0',
774
- 'fontSize' => '',
775
- 'fontSizeType' => 'px',
776
- 'fontSizeMobile' => '',
777
- 'fontSizeTablet' => '',
778
- 'lineHeight' => '',
779
- 'lineHeightType' => 'em',
780
- 'lineHeightMobile' => '',
781
- 'lineHeightTablet' => '',
782
- 'fontFamily' => '',
783
- 'fontWeight' => '',
784
- 'fontSubset' => '',
785
- 'loadGoogleFonts' => false,
786
- 'icon_layout' => 'vertical',
787
- 'stack' => 'none',
788
- ),
789
- ),
790
- 'uagb/info-box' => array(
791
- 'slug' => '',
792
- 'title' => __( 'Info Box', 'ultimate-addons-for-gutenberg' ),
793
- 'description' => __( 'This block allows you to place an image or icon along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
794
- 'default' => true,
795
- 'attributes' => array(
796
- 'headingAlign' => 'center',
797
- 'headingColor' => '',
798
- 'subHeadingColor' => '',
799
- 'prefixColor' => '',
800
- 'prefixFontSize' => '',
801
- 'prefixFontSizeType' => 'px',
802
- 'prefixFontSizeTablet' => '',
803
- 'prefixFontSizeMobile' => '',
804
- 'prefixFontFamily' => '',
805
- 'prefixFontWeight' => '',
806
- 'prefixFontSubset' => '',
807
- 'prefixLineHeightType' => 'em',
808
- 'prefixLineHeight' => '',
809
- 'prefixLineHeightTablet' => '',
810
- 'prefixLineHeightMobile' => '',
811
- 'prefixLoadGoogleFonts' => false,
812
- 'headFontSize' => '',
813
- 'headFontSizeType' => 'px',
814
- 'headFontSizeTablet' => '',
815
- 'headFontSizeMobile' => '',
816
- 'headFontFamily' => '',
817
- 'headFontWeight' => '',
818
- 'headFontSubset' => '',
819
- 'headLineHeightType' => 'em',
820
- 'headLineHeight' => '',
821
- 'headLineHeightTablet' => '',
822
- 'headLineHeightMobile' => '',
823
- 'headLoadGoogleFonts' => false,
824
- 'subHeadFontSize' => '',
825
- 'subHeadFontSizeType' => 'px',
826
- 'subHeadFontSizeTablet' => '',
827
- 'subHeadFontSizeMobile' => '',
828
- 'subHeadFontFamily' => '',
829
- 'subHeadFontWeight' => '',
830
- 'subHeadFontSubset' => '',
831
- 'subHeadLineHeightType' => 'em',
832
- 'subHeadLineHeight' => '',
833
- 'subHeadLineHeightTablet' => '',
834
- 'subHeadLineHeightMobile' => '',
835
- 'subHeadLoadGoogleFonts' => false,
836
- 'separatorWidth' => '',
837
- 'separatorHeight' => '',
838
- 'separatorWidthType' => '%',
839
- 'headSpace' => '10',
840
- 'separatorSpace' => '10',
841
- 'subHeadSpace' => '10',
842
- 'icon' => '',
843
- 'iconColor' => '#333',
844
- 'iconSize' => '40',
845
- 'iconimgPosition' => 'above-title',
846
- 'block_id' => '',
847
- 'iconHover' => '',
848
- 'iconimgBorderRadius' => '0',
849
- 'seperatorStyle' => 'solid',
850
- 'seperatorWidth' => '30',
851
- 'seperatorColor' => '#333',
852
- 'seperatorThickness' => '2',
853
- 'ctaLinkColor' => '#333',
854
- 'ctaFontSize' => '',
855
- 'ctaFontSizeType' => 'px',
856
- 'ctaFontSizeMobile' => '',
857
- 'ctaFontSizeTablet' => '',
858
- 'ctaFontFamily' => '',
859
- 'ctaFontWeight' => '',
860
- 'ctaFontSubset' => '',
861
- 'ctaLoadGoogleFonts' => false,
862
- 'ctaBtnLinkColor' => '#333',
863
- 'ctaBgColor' => 'transparent',
864
- 'ctaBtnVertPadding' => '10',
865
- 'ctaBtnHrPadding' => '14',
866
- 'ctaBorderStyle' => 'solid',
867
- 'ctaBorderColor' => '#333',
868
- 'ctaBorderWidth' => '1',
869
- 'ctaBorderRadius' => '0',
870
- 'prefixSpace' => '5',
871
- 'iconLeftMargin' => '5',
872
- 'iconRightMargin' => '10',
873
- 'iconTopMargin' => '5',
874
- 'iconBottomMargin' => '5',
875
- 'imageSize' => 'thumbnail',
876
- 'imageWidth' => '120',
877
- 'seperatorSpace' => '15',
878
- 'ctaLinkHoverColor' => '',
879
- 'ctaBgHoverColor' => '',
880
- 'ctaBorderhoverColor' => '',
881
- 'ctaIconSpace' => '5',
882
- ),
883
- ),
884
- 'uagb/marketing-button' => array(
885
- 'slug' => '',
886
- 'title' => __( 'Marketing Button', 'ultimate-addons-for-gutenberg' ),
887
- 'description' => __( 'This block allows you to place a Marketing Button with small description.', 'ultimate-addons-for-gutenberg' ),
888
- 'default' => true,
889
- 'attributes' => array(
890
- 'block_id' => '',
891
- 'align' => 'center',
892
- 'textAlign' => 'center',
893
- 'link' => '#',
894
- 'linkTarget' => false,
895
- 'titleSpace' => 0,
896
- 'borderStyle' => 'solid',
897
- 'borderWidth' => 1,
898
- 'borderRadius' => '',
899
- 'borderColor' => '#333',
900
- 'borderHoverColor' => '',
901
- 'vPadding' => 8,
902
- 'hPadding' => 20,
903
- 'backgroundType' => 'color',
904
- 'backgroundColor' => '#eeeeee',
905
- 'backgroundHoverColor' => '',
906
- 'gradientColor1' => '',
907
- 'gradientColor2' => '',
908
- 'gradientType' => 'linear',
909
- 'gradientLocation1' => 0,
910
- 'gradientLocation2' => 100,
911
- 'gradientAngle' => 0,
912
- 'backgroundOpacity' => '',
913
- 'backgroundHoverOpacity' => '',
914
- 'titleColor' => '#333',
915
- 'titleHoverColor' => '',
916
- 'iconColor' => '#333',
917
- 'iconHoverColor' => '',
918
- 'iconPosition' => 'before',
919
- 'prefixColor' => '#333',
920
- 'prefixHoverColor' => '',
921
- 'iconSpace' => 10,
922
- 'titleLoadGoogleFonts' => false,
923
- 'titleFontFamily' => 'Default',
924
- 'titleFontWeight' => '',
925
- 'titleFontSubset' => '',
926
- 'titleFontSize' => 20,
927
- 'titleFontSizeType' => 'px',
928
- 'titleFontSizeTablet' => 20,
929
- 'titleFontSizeMobile' => 20,
930
- 'titleLineHeightType' => 'em',
931
- 'titleLineHeight' => '',
932
- 'titleLineHeightTablet' => '',
933
- 'titleLineHeightMobile' => '',
934
- 'prefixLoadGoogleFonts' => false,
935
- 'prefixFontFamily' => 'Default',
936
- 'prefixFontWeight' => '',
937
- 'prefixFontSubset' => '',
938
- 'prefixFontSize' => 14,
939
- 'prefixFontSizeType' => 'px',
940
- 'prefixFontSizeTablet' => 14,
941
- 'prefixFontSizeMobile' => 14,
942
- 'prefixLineHeightType' => 'em',
943
- 'prefixLineHeight' => '',
944
- 'prefixLineHeightTablet' => '',
945
- 'prefixLineHeightMobile' => '',
946
- 'iconFontSize' => 20,
947
- 'iconFontSizeType' => 'px',
948
- 'iconFontSizeTablet' => 20,
949
- 'iconFontSizeMobile' => 20,
950
- ),
951
- ),
952
- 'uagb/buttons' => array(
953
- 'slug' => '',
954
- 'title' => __( 'Multi Buttons', 'ultimate-addons-for-gutenberg' ),
955
- 'description' => __( 'This block allows you to add multiple buttons with a single block.', 'ultimate-addons-for-gutenberg' ),
956
- 'default' => true,
957
- 'attributes' => array(
958
- 'block_id' => '',
959
- 'align' => 'center',
960
- 'btn_count' => '2',
961
- 'buttons' => UAGB_Helper::get_button_defaults(),
962
- 'gap' => 10,
963
- 'stack' => 'none',
964
- 'fontFamily' => '',
965
- 'fontWeight' => '',
966
- 'loadGoogleFonts' => false,
967
- 'fontSubset' => '',
968
- ),
969
- ),
970
- 'uagb/post-carousel' => array(
971
- 'slug' => '',
972
- 'title' => __( 'Post Carousel', 'ultimate-addons-for-gutenberg' ),
973
- 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a carousel layout.', 'ultimate-addons-for-gutenberg' ),
974
- 'default' => true,
975
- 'attributes' => array(
976
- 'align' => 'left',
977
- 'rowGap' => '20',
978
- 'columnGap' => '20',
979
- 'bgColor' => '#e4e4e4',
980
- 'titleColor' => '#3b3b3b',
981
- 'titleTag' => 'h3',
982
- 'titleFontSize' => '',
983
- 'titleFontSizeType' => 'px',
984
- 'titleFontSizeMobile' => '',
985
- 'titleFontSizeTablet' => '',
986
- 'titleFontFamily' => '',
987
- 'titleFontWeight' => '',
988
- 'titleFontSubset' => '',
989
- 'titleLineHeightType' => 'em',
990
- 'titleLineHeight' => '',
991
- 'titleLineHeightTablet' => '',
992
- 'titleLineHeightMobile' => '',
993
- 'titleLoadGoogleFonts' => false,
994
- 'metaFontSize' => '',
995
- 'metaFontSizeType' => 'px',
996
- 'metaFontSizeMobile' => '',
997
- 'metaFontSizeTablet' => '',
998
- 'metaFontFamily' => '',
999
- 'metaFontWeight' => '',
1000
- 'metaFontSubset' => '',
1001
- 'metaLineHeightType' => 'em',
1002
- 'metaLineHeight' => '',
1003
- 'metaLineHeightTablet' => '',
1004
- 'metaLineHeightMobile' => '',
1005
- 'metaLoadGoogleFonts' => false,
1006
- 'excerptFontSize' => '',
1007
- 'excerptFontSizeType' => 'px',
1008
- 'excerptFontSizeMobile' => '',
1009
- 'excerptFontSizeTablet' => '',
1010
- 'excerptFontFamily' => '',
1011
- 'excerptFontWeight' => '',
1012
- 'excerptFontSubset' => '',
1013
- 'excerptLineHeightType' => 'em',
1014
- 'excerptLineHeight' => '',
1015
- 'excerptLineHeightTablet' => '',
1016
- 'excerptLineHeightMobile' => '',
1017
- 'excerptLoadGoogleFonts' => false,
1018
- 'ctaFontSize' => '',
1019
- 'ctaFontSizeType' => 'px',
1020
- 'ctaFontSizeTablet' => '',
1021
- 'ctaFontSizeMobile' => '',
1022
- 'ctaFontFamily' => '',
1023
- 'ctaFontWeight' => '',
1024
- 'ctaFontSubset' => '',
1025
- 'ctaLineHeightType' => 'em',
1026
- 'ctaLineHeight' => '',
1027
- 'ctaLineHeightTablet' => '',
1028
- 'ctaLineHeightMobile' => '',
1029
- 'ctaLoadGoogleFonts' => false,
1030
- 'metaColor' => '#777777',
1031
- 'excerptColor' => '',
1032
- 'ctaColor' => '#ffffff',
1033
- 'ctaBgColor' => '#333333',
1034
- 'ctaHColor' => '',
1035
- 'ctaBgHColor' => '',
1036
- 'contentPadding' => '20',
1037
- 'contentPaddingMobile' => '',
1038
- 'btnVPadding' => '5',
1039
- 'btnHPadding' => '10',
1040
- 'titleBottomSpace' => '15',
1041
- 'metaBottomSpace' => '15',
1042
- 'excerptBottomSpace' => '25',
1043
- 'arrowSize' => '20',
1044
- 'arrowColor' => '#aaaaaa',
1045
- 'arrowDots' => '',
1046
- 'arrowBorderSize' => '1',
1047
- 'arrowBorderRadius' => '0',
1048
- 'overlayOpacity' => '50',
1049
- 'bgOverlayColor' => '#ffffff',
1050
- 'ctaText' => __( 'Read More', 'ultimate-addons-for-gutenberg' ),
1051
- 'borderWidth' => '1',
1052
- 'borderStyle' => 'none',
1053
- 'borderColor' => '',
1054
- 'borderHColor' => '',
1055
- 'borderRadius' => '0',
1056
- ),
1057
- ),
1058
- 'uagb/post-grid' => array(
1059
- 'slug' => '',
1060
- 'title' => __( 'Post Grid', 'ultimate-addons-for-gutenberg' ),
1061
- 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a grid layout.', 'ultimate-addons-for-gutenberg' ),
1062
- 'default' => true,
1063
- 'attributes' => array(
1064
- 'align' => 'left',
1065
- 'rowGap' => '20',
1066
- 'columnGap' => '20',
1067
- 'bgColor' => '#e4e4e4',
1068
- 'titleColor' => '#3b3b3b',
1069
- 'titleTag' => 'h3',
1070
- 'titleFontSize' => '',
1071
- 'titleFontSizeType' => 'px',
1072
- 'titleFontSizeMobile' => '',
1073
- 'titleFontSizeTablet' => '',
1074
- 'titleFontFamily' => '',
1075
- 'titleFontWeight' => '',
1076
- 'titleFontSubset' => '',
1077
- 'titleLineHeightType' => 'em',
1078
- 'titleLineHeight' => '',
1079
- 'titleLineHeightTablet' => '',
1080
- 'titleLineHeightMobile' => '',
1081
- 'titleLoadGoogleFonts' => false,
1082
- 'metaFontSize' => '',
1083
- 'metaFontSizeType' => 'px',
1084
- 'metaFontSizeMobile' => '',
1085
- 'metaFontSizeTablet' => '',
1086
- 'metaFontFamily' => '',
1087
- 'metaFontWeight' => '',
1088
- 'metaFontSubset' => '',
1089
- 'metaLineHeightType' => 'em',
1090
- 'metaLineHeight' => '',
1091
- 'metaLineHeightTablet' => '',
1092
- 'metaLineHeightMobile' => '',
1093
- 'metaLoadGoogleFonts' => false,
1094
- 'excerptFontSize' => '',
1095
- 'excerptFontSizeType' => 'px',
1096
- 'excerptFontSizeMobile' => '',
1097
- 'excerptFontSizeTablet' => '',
1098
- 'excerptFontFamily' => '',
1099
- 'excerptFontWeight' => '',
1100
- 'excerptFontSubset' => '',
1101
- 'excerptLineHeightType' => 'em',
1102
- 'excerptLineHeight' => '',
1103
- 'excerptLineHeightTablet' => '',
1104
- 'excerptLineHeightMobile' => '',
1105
- 'excerptLoadGoogleFonts' => false,
1106
- 'ctaFontSize' => '',
1107
- 'ctaFontSizeType' => 'px',
1108
- 'ctaFontSizeTablet' => '',
1109
- 'ctaFontSizeMobile' => '',
1110
- 'ctaFontFamily' => '',
1111
- 'ctaFontWeight' => '',
1112
- 'ctaFontSubset' => '',
1113
- 'ctaLineHeightType' => 'em',
1114
- 'ctaLineHeight' => '',
1115
- 'ctaLineHeightTablet' => '',
1116
- 'ctaLineHeightMobile' => '',
1117
- 'ctaLoadGoogleFonts' => false,
1118
- 'metaColor' => '#777777',
1119
- 'excerptColor' => '',
1120
- 'ctaColor' => '#ffffff',
1121
- 'ctaBgColor' => '#333333',
1122
- 'ctaHColor' => '',
1123
- 'ctaBgHColor' => '',
1124
- 'contentPadding' => '20',
1125
- 'contentPaddingMobile' => '',
1126
- 'btnVPadding' => '5',
1127
- 'btnHPadding' => '10',
1128
- 'titleBottomSpace' => '15',
1129
- 'metaBottomSpace' => '15',
1130
- 'excerptBottomSpace' => '25',
1131
- 'overlayOpacity' => '50',
1132
- 'bgOverlayColor' => '#ffffff',
1133
- 'ctaText' => __( 'Read More', 'ultimate-addons-for-gutenberg' ),
1134
- 'borderWidth' => '1',
1135
- 'borderStyle' => 'none',
1136
- 'borderColor' => '',
1137
- 'borderHColor' => '',
1138
- 'borderRadius' => '0',
1139
- ),
1140
- ),
1141
- 'uagb/post-masonry' => array(
1142
- 'slug' => '',
1143
- 'title' => __( 'Post Masonry', 'ultimate-addons-for-gutenberg' ),
1144
- 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a masonry layout.', 'ultimate-addons-for-gutenberg' ),
1145
- 'default' => true,
1146
- 'attributes' => array(
1147
- 'align' => 'left',
1148
- 'rowGap' => '20',
1149
- 'columnGap' => '20',
1150
- 'bgColor' => '#e4e4e4',
1151
- 'titleColor' => '#3b3b3b',
1152
- 'titleTag' => 'h3',
1153
- 'titleFontSize' => '',
1154
- 'titleFontSizeType' => 'px',
1155
- 'titleFontSizeMobile' => '',
1156
- 'titleFontSizeTablet' => '',
1157
- 'titleFontFamily' => '',
1158
- 'titleFontWeight' => '',
1159
- 'titleFontSubset' => '',
1160
- 'titleLineHeightType' => 'em',
1161
- 'titleLineHeight' => '',
1162
- 'titleLineHeightTablet' => '',
1163
- 'titleLineHeightMobile' => '',
1164
- 'titleLoadGoogleFonts' => false,
1165
- 'metaFontSize' => '',
1166
- 'metaFontSizeType' => 'px',
1167
- 'metaFontSizeMobile' => '',
1168
- 'metaFontSizeTablet' => '',
1169
- 'metaFontFamily' => '',
1170
- 'metaFontWeight' => '',
1171
- 'metaFontSubset' => '',
1172
- 'metaLineHeightType' => 'em',
1173
- 'metaLineHeight' => '',
1174
- 'metaLineHeightTablet' => '',
1175
- 'metaLineHeightMobile' => '',
1176
- 'metaLoadGoogleFonts' => false,
1177
- 'excerptFontSize' => '',
1178
- 'excerptFontSizeType' => 'px',
1179
- 'excerptFontSizeMobile' => '',
1180
- 'excerptFontSizeTablet' => '',
1181
- 'excerptFontFamily' => '',
1182
- 'excerptFontWeight' => '',
1183
- 'excerptFontSubset' => '',
1184
- 'excerptLineHeightType' => 'em',
1185
- 'excerptLineHeight' => '',
1186
- 'excerptLineHeightTablet' => '',
1187
- 'excerptLineHeightMobile' => '',
1188
- 'excerptLoadGoogleFonts' => false,
1189
- 'ctaFontSize' => '',
1190
- 'ctaFontSizeType' => 'px',
1191
- 'ctaFontSizeTablet' => '',
1192
- 'ctaFontSizeMobile' => '',
1193
- 'ctaFontFamily' => '',
1194
- 'ctaFontWeight' => '',
1195
- 'ctaFontSubset' => '',
1196
- 'ctaLineHeightType' => 'em',
1197
- 'ctaLineHeight' => '',
1198
- 'ctaLineHeightTablet' => '',
1199
- 'ctaLineHeightMobile' => '',
1200
- 'ctaLoadGoogleFonts' => false,
1201
- 'metaColor' => '#777777',
1202
- 'excerptColor' => '',
1203
- 'ctaColor' => '#ffffff',
1204
- 'ctaBgColor' => '#333333',
1205
- 'ctaHColor' => '',
1206
- 'ctaBgHColor' => '',
1207
- 'contentPadding' => '20',
1208
- 'contentPaddingMobile' => '',
1209
- 'btnVPadding' => '5',
1210
- 'btnHPadding' => '10',
1211
- 'titleBottomSpace' => '15',
1212
- 'metaBottomSpace' => '15',
1213
- 'excerptBottomSpace' => '25',
1214
- 'overlayOpacity' => '50',
1215
- 'bgOverlayColor' => '#ffffff',
1216
- 'ctaText' => __( 'Read More', 'ultimate-addons-for-gutenberg' ),
1217
- 'borderWidth' => '1',
1218
- 'borderStyle' => 'none',
1219
- 'borderColor' => '',
1220
- 'borderHColor' => '',
1221
- 'borderRadius' => '0',
1222
- ),
1223
- ),
1224
- 'uagb/post-timeline' => array(
1225
- 'slug' => '',
1226
- 'title' => __( 'Post Timeline', 'ultimate-addons-for-gutenberg' ),
1227
- 'description' => __( 'The Timeline block lets you create beautiful timelines of Posts on your website.', 'ultimate-addons-for-gutenberg' ),
1228
- 'default' => true,
1229
- 'attributes' => array(
1230
- 'align' => 'center',
1231
- 'headingColor' => '',
1232
- 'subHeadingColor' => '',
1233
- 'separatorBg' => '#eee',
1234
- 'backgroundColor' => '#eee',
1235
- 'separatorColor' => '#eee',
1236
- 'separatorFillColor' => '#61ce70',
1237
- 'separatorBorder' => '#eee',
1238
- 'borderFocus' => '#5cb85c',
1239
- 'horizontalSpace' => 10,
1240
- 'verticalSpace' => 15,
1241
- 'headFontSizeType' => 'px',
1242
- 'headFontSize' => '',
1243
- 'headFontSizeTablet' => '',
1244
- 'headFontSizeMobile' => '',
1245
- 'headFontFamily' => '',
1246
- 'headFontWeight' => '',
1247
- 'headFontSubset' => '',
1248
- 'headLineHeightType' => 'em',
1249
- 'headLineHeight' => '',
1250
- 'headLineHeightTablet' => '',
1251
- 'headLineHeightMobile' => '',
1252
- 'headLoadGoogleFonts' => false,
1253
- 'timelinAlignment' => 'center',
1254
- 'arrowlinAlignment' => 'center',
1255
- 'subHeadFontSizeType' => 'px',
1256
- 'subHeadFontSize' => '',
1257
- 'subHeadFontSizeTablet' => '',
1258
- 'subHeadFontSizeMobile' => '',
1259
- 'subHeadFontFamily' => '',
1260
- 'subHeadFontWeight' => '',
1261
- 'subHeadFontSubset' => '',
1262
- 'subHeadLineHeightType' => 'em',
1263
- 'subHeadLineHeight' => '',
1264
- 'subHeadLineHeightTablet' => '',
1265
- 'subHeadLineHeightMobile' => '',
1266
- 'subHeadLoadGoogleFonts' => false,
1267
- 'headSpace' => 5,
1268
- 'contentSpace' => 5,
1269
- 'authorSpace' => 5,
1270
- 'separatorwidth' => 3,
1271
- 'borderwidth' => 0,
1272
- 'iconColor' => '#333',
1273
- 'iconFocus' => '#fff',
1274
- 'iconBgFocus' => '#61ce70',
1275
- 'dateColor' => '#333',
1276
- 'dateFontsizeType' => 'px',
1277
- 'dateFontsize' => 12,
1278
- 'dateFontsizeTablet' => '',
1279
- 'dateFontsizeMobile' => '',
1280
- 'dateFontFamily' => '',
1281
- 'dateFontWeight' => '',
1282
- 'dateFontSubset' => '',
1283
- 'dateLineHeightType' => 'em',
1284
- 'dateLineHeight' => '',
1285
- 'dateLineHeightTablet' => '',
1286
- 'dateLineHeightMobile' => '',
1287
- 'dateLoadGoogleFonts' => false,
1288
- 'connectorBgsize' => 35,
1289
- 'dateBottomspace' => 5,
1290
- 'borderRadius' => 2,
1291
- 'bgPadding' => 20,
1292
- 'contentPadding' => 10,
1293
- 'iconSize' => 12,
1294
- 'stack' => 'tablet',
1295
- 'ctaColor' => '#fff',
1296
- 'authorColor' => '#333',
1297
- 'ctaFontSizeType' => 'px',
1298
- 'ctaFontSize' => '',
1299
- 'ctaFontSizeTablet' => '',
1300
- 'ctaFontSizeMobile' => '',
1301
- 'ctaFontFamily' => '',
1302
- 'ctaFontWeight' => '',
1303
- 'ctaFontSubset' => '',
1304
- 'ctaLineHeightType' => 'em',
1305
- 'ctaLineHeight' => '',
1306
- 'ctaLineHeightTablet' => '',
1307
- 'ctaLineHeightMobile' => '',
1308
- 'ctaLoadGoogleFonts' => false,
1309
- 'authorFontSizeType' => 'px',
1310
- 'authorFontSize' => 11,
1311
- 'authorFontSizeTablet' => '',
1312
- 'authorFontSizeMobile' => '',
1313
- 'authorFontFamily' => '',
1314
- 'authorFontWeight' => '',
1315
- 'authorFontSubset' => '',
1316
- 'authorLineHeightType' => 'em',
1317
- 'authorLineHeight' => '',
1318
- 'authorLineHeightTablet' => '',
1319
- 'authorLineHeightMobile' => '',
1320
- 'authorLoadGoogleFonts' => false,
1321
- 'ctaBackground' => '#333',
1322
- ),
1323
- ),
1324
- 'uagb/restaurant-menu' => array(
1325
- 'slug' => '',
1326
- 'title' => __( 'Price List', 'ultimate-addons-for-gutenberg' ),
1327
- 'description' => __( 'This block allows you to add attractive Price List.', 'ultimate-addons-for-gutenberg' ),
1328
- 'default' => true,
1329
- 'attributes' => array(
1330
- 'block_id' => '',
1331
- 'headingAlign' => 'left',
1332
- 'descColor' => '#333',
1333
- 'priceColor' => '#888888',
1334
- 'titleColor' => '#333',
1335
- 'imagePosition' => 'top',
1336
- 'imageAlignment' => 'top',
1337
- 'titleFontSize' => '',
1338
- 'titleFontSizeType' => 'px',
1339
- 'titleFontSizeMobile' => '',
1340
- 'titleFontSizeTablet' => '',
1341
- 'titleFontFamily' => '',
1342
- 'titleFontWeight' => '',
1343
- 'titleFontSubset' => '',
1344
- 'titleLineHeightType' => 'em',
1345
- 'titleLineHeight' => '',
1346
- 'titleLineHeightTablet' => '',
1347
- 'titleLineHeightMobile' => '',
1348
- 'titleLoadGoogleFonts' => false,
1349
- 'priceFontSize' => '',
1350
- 'priceFontSizeType' => 'px',
1351
- 'priceFontSizeMobile' => '',
1352
- 'priceFontSizeTablet' => '',
1353
- 'priceFontFamily' => '',
1354
- 'priceFontWeight' => '',
1355
- 'priceFontSubset' => '',
1356
- 'priceLineHeightType' => 'em',
1357
- 'priceLineHeight' => '',
1358
- 'priceLineHeightTablet' => '',
1359
- 'priceLineHeightMobile' => '',
1360
- 'priceLoadGoogleFonts' => false,
1361
- 'descFontSize' => '',
1362
- 'descFontSizeType' => 'px',
1363
- 'descFontSizeMobile' => '',
1364
- 'descFontSizeTablet' => '',
1365
- 'descFontFamily' => '',
1366
- 'descFontWeight' => '',
1367
- 'descFontSubset' => '',
1368
- 'descLineHeightType' => 'em',
1369
- 'descLineHeight' => '',
1370
- 'descLineHeightTablet' => '',
1371
- 'descLineHeightMobile' => '',
1372
- 'descLoadGoogleFonts' => false,
1373
- 'priceSpace' => 5,
1374
- 'descSpace' => 15,
1375
- 'titleSpace' => 10,
1376
- 'imgVrPadding' => 0,
1377
- 'imgHrPadding' => 0,
1378
- 'imgTopPadding' => 0,
1379
- 'imgBottomPadding' => 0,
1380
- 'iconImage' => '',
1381
- 'imageSize' => 'medium',
1382
- 'imageWidth' => '',
1383
- 'columns' => 2,
1384
- 'tcolumns' => 2,
1385
- 'mcolumns' => 1,
1386
- 'rowGap' => 10,
1387
- 'columnGap' => 10,
1388
- 'contentHrPadding' => 5,
1389
- 'contentVrPadding' => 5,
1390
- 'seperatorStyle' => 'dashed',
1391
- 'seperatorWidth' => '100',
1392
- 'seperatorThickness' => '1',
1393
- 'seperatorColor' => '#b2b4b5',
1394
- ),
1395
- ),
1396
- 'uagb/section' => array(
1397
- 'slug' => '',
1398
- 'title' => __( 'Section', 'ultimate-addons-for-gutenberg' ),
1399
- 'description' => __( 'This block is an outer wrap section that allows you to add other blocks within it.', 'ultimate-addons-for-gutenberg' ),
1400
- 'default' => true,
1401
- 'attributes' => array(
1402
- 'topPadding' => '20',
1403
- 'bottomPadding' => '20',
1404
- 'leftPadding' => '20',
1405
- 'rightPadding' => '20',
1406
- 'topMargin' => '0',
1407
- 'bottomMargin' => '0',
1408
- 'leftMargin' => '0',
1409
- 'rightMargin' => '0',
1410
- 'topPaddingTablet' => '',
1411
- 'bottomPaddingTablet' => '',
1412
- 'leftPaddingTablet' => '',
1413
- 'rightPaddingTablet' => '',
1414
- 'topPaddingMobile' => '',
1415
- 'bottomPaddingMobile' => '',
1416
- 'leftPaddingMobile' => '',
1417
- 'rightPaddingMobile' => '',
1418
- 'topMarginMobile' => '',
1419
- 'bottomMarginMobile' => '',
1420
- 'leftMarginMobile' => '',
1421
- 'rightMarginMobile' => '',
1422
- 'topMarginTablet' => '',
1423
- 'bottomMarginTablet' => '',
1424
- 'leftMarginTablet' => '',
1425
- 'rightMarginTablet' => '',
1426
- 'contentWidth' => 'boxed',
1427
- 'width' => '900',
1428
- 'innerWidth' => '1140',
1429
- 'tag' => 'section',
1430
- 'backgroundType' => 'none',
1431
- 'gradientColor1' => '',
1432
- 'gradientColor2' => '',
1433
- 'backgroundVideoColor' => '',
1434
- 'backgroundPosition' => 'center-center',
1435
- 'backgroundSize' => 'cover',
1436
- 'backgroundRepeat' => 'no-repeat',
1437
- 'backgroundAttachment' => 'scroll',
1438
- 'gradientType' => 'linear',
1439
- 'gradientLocation1' => '0',
1440
- 'gradientLocation2' => '100',
1441
- 'gradientAngle' => '0',
1442
- 'backgroundColor' => '',
1443
- 'backgroundOpacity' => '',
1444
- 'backgroundVideoOpacity' => '50',
1445
- 'backgroundImageColor' => '',
1446
- 'align' => 'center',
1447
- 'borderStyle' => 'none',
1448
- 'borderWidth' => '1',
1449
- 'borderRadius' => '',
1450
- 'borderColor' => '',
1451
- 'themeWidth' => false,
1452
- ),
1453
- ),
1454
- 'uagb/social-share' => array(
1455
- 'slug' => '',
1456
- 'title' => __( 'Social Share', 'ultimate-addons-for-gutenberg' ),
1457
- 'description' => __( 'This block allows you to let users share your content across various social networking sites.', 'ultimate-addons-for-gutenberg' ),
1458
- 'default' => true,
1459
- 'attributes' => array(
1460
- 'align' => 'center',
1461
- 'social_count' => '1',
1462
- 'socials' => array(
1463
- array(
1464
- 'type' => 'facebook',
1465
- 'image_icon' => 'icon',
1466
- 'icon' => 'fab fa-facebook',
1467
- 'image' => '',
1468
- 'icon_color' => '#3a3a3a',
1469
- 'icon_hover_color' => '#3a3a3a',
1470
- 'icon_bg_color' => '',
1471
- 'icon_bg_hover_color' => '',
1472
- ),
1473
- ),
1474
- 'gap' => '10',
1475
- 'size' => '40',
1476
- 'sizeType' => 'px',
1477
- 'sizeMobile' => '',
1478
- 'sizeTablet' => '',
1479
- 'bgSize' => '0',
1480
- 'bgSizeType' => 'px',
1481
- 'bgSizeMobile' => '',
1482
- 'bgSizeTablet' => '',
1483
- 'borderRadius' => '0',
1484
- 'social_layout' => 'horizontal',
1485
- 'stack' => 'none',
1486
- ),
1487
- ),
1488
- // 'uagb/table-of-contents' => array(
1489
- // 'slug' => '',
1490
- // 'title' => __( 'Table of Contents', 'ultimate-addons-for-gutenberg' ),
1491
- // 'description' => __( 'This block allows you to place a Table of Content for Pages/Posts.', 'ultimate-addons-for-gutenberg' ),
1492
- // 'default' => true,
1493
- // 'attributes' => array(
1494
- // 'block_id' => '',
1495
- // 'heading' => 'Table Of Content',
1496
- // 'smoothScroll' => true,
1497
- // 'smoothScrollOffset' => 30,
1498
- // 'scrollToTop' => false,
1499
- // 'scrollToTopColor' => '',
1500
- // 'scrollToTopBgColor' => '',
1501
- // 'considerH1' => true,
1502
- // 'considerH2' => true,
1503
- // 'considerH3' => true,
1504
- // 'considerH4' => true,
1505
- // 'considerH5' => true,
1506
- // 'considerH6' => true,
1507
- // 'customWidth' => false,
1508
- // 'width' => 100,
1509
- // 'widthType' => '%',
1510
- // 'align' => 'left',
1511
- // 'linkColor' => '#333',
1512
- // 'vPadding' => 30,
1513
- // 'hPadding' => 30,
1514
- // 'headingBottom' => '',
1515
- // 'backgroundColor' => '#eee',
1516
- // 'linkHoverColor' => '',
1517
- // 'headingColor' => '',
1518
- // 'borderStyle' => 'solid',
1519
- // 'borderWidth' => 1,
1520
- // 'borderRadius' => '',
1521
- // 'borderColor' => '#333',
1522
- // 'loadGoogleFonts' => false,
1523
- // 'fontFamily' => 'Default',
1524
- // 'fontWeight' => '',
1525
- // 'fontSubset' => '',
1526
- // 'fontSize' => '',
1527
- // 'fontSizeType' => 'px',
1528
- // 'fontSizeTablet' => '',
1529
- // 'fontSizeMobile' => '',
1530
- // 'lineHeightType' => 'em',
1531
- // 'lineHeight' => '',
1532
- // 'lineHeightTablet' => '',
1533
- // 'lineHeightMobile' => '',
1534
- // 'headingLoadGoogleFonts' => false,
1535
- // 'headingFontFamily' => 'Default',
1536
- // 'headingFontWeight' => '500',
1537
- // 'headingFontSubset' => '',
1538
- // 'headingFontSize' => 20,
1539
- // 'headingFontSizeType' => 'px',
1540
- // 'headingFontSizeTablet' => '',
1541
- // 'headingFontSizeMobile' => '',
1542
- // 'headingLineHeightType' => 'em',
1543
- // 'headingLineHeight' => '',
1544
- // 'headingLineHeightTablet' => '',
1545
- // 'headingLineHeightMobile' => '',
1546
- // ),
1547
- // ),
1548
- 'uagb/team' => array(
1549
- 'slug' => '',
1550
- 'title' => __( 'Team', 'ultimate-addons-for-gutenberg' ),
1551
- 'description' => __( 'This block allows you to display your team. Add their picture, name, what they do and links to their social profiles.', 'ultimate-addons-for-gutenberg' ),
1552
- 'default' => true,
1553
- 'attributes' => array(
1554
- 'block_id' => '',
1555
- 'align' => 'center',
1556
- 'tag' => 'h3',
1557
- 'titleColor' => '',
1558
- 'prefixColor' => '#888888',
1559
- 'descColor' => '',
1560
- 'socialColor' => '#333',
1561
- 'socialHoverColor' => '',
1562
- 'titleFontFamily' => '',
1563
- 'titleLoadGoogleFonts' => false,
1564
- 'titleFontWeight' => '',
1565
- 'titleFontSubset' => '',
1566
- 'titleFontSize' => '',
1567
- 'titleFontSizeType' => 'px',
1568
- 'titleFontSizeTablet' => '',
1569
- 'titleFontSizeMobile' => '',
1570
- 'titleLineHeight' => '',
1571
- 'titleLineHeightType' => 'em',
1572
- 'titleLineHeightTablet' => '',
1573
- 'titleLineHeightMobile' => '',
1574
- 'prefixFontFamily' => '',
1575
- 'prefixLoadGoogleFonts' => false,
1576
- 'prefixFontWeight' => '',
1577
- 'prefixFontSubset' => '',
1578
- 'prefixFontSize' => 15,
1579
- 'prefixFontSizeType' => 'px',
1580
- 'prefixFontSizeTablet' => '',
1581
- 'prefixFontSizeMobile' => '',
1582
- 'prefixLineHeight' => '',
1583
- 'prefixLineHeightType' => 'em',
1584
- 'prefixLineHeightTablet' => '',
1585
- 'prefixLineHeightMobile' => '',
1586
- 'descFontFamily' => '',
1587
- 'descLoadGoogleFonts' => false,
1588
- 'descFontWeight' => '',
1589
- 'descFontSubset' => '',
1590
- 'descFontSize' => 15,
1591
- 'descFontSizeType' => 'px',
1592
- 'descFontSizeTablet' => '',
1593
- 'descFontSizeMobile' => '',
1594
- 'descLineHeight' => '',
1595
- 'descLineHeightType' => 'em',
1596
- 'descLineHeightTablet' => '',
1597
- 'descLineHeightMobile' => '',
1598
- 'socialFontSize' => 20,
1599
- 'socialFontSizeType' => 'px',
1600
- 'socialFontSizeMobile' => '',
1601
- 'socialFontSizeTablet' => '',
1602
- 'image' => '',
1603
- 'imgStyle' => 'normal',
1604
- 'imgPosition' => 'above',
1605
- 'imgAlign' => 'top',
1606
- 'imgSiz' => 'thumbnail',
1607
- 'imgWidth' => 120,
1608
- 'titleSpace' => '',
1609
- 'prefixSpace' => '',
1610
- 'descSpace' => 10,
1611
- 'imgLeftMargin' => 20,
1612
- 'imgRightMargin' => 20,
1613
- 'imgTopMargin' => 15,
1614
- 'imgBottomMargin' => 15,
1615
- 'socialSpace' => 20,
1616
- 'headingTag' => 'h3',
1617
- ),
1618
- ),
1619
- 'uagb/testimonial' => array(
1620
- 'slug' => '',
1621
- 'title' => __( 'Testimonial', 'ultimate-addons-for-gutenberg' ),
1622
- 'description' => __( 'This block helps your display some amazing client feedback within your website.', 'ultimate-addons-for-gutenberg' ),
1623
- 'default' => true,
1624
- 'attributes' => array(
1625
- 'headingAlign' => 'center',
1626
- 'companyColor' => '#888888',
1627
- 'descColor' => '#333',
1628
- 'authorColor' => '#333',
1629
- 'nameFontSizeType' => 'px',
1630
- 'nameFontSize' => '',
1631
- 'nameFontSizeTablet' => '',
1632
- 'nameFontSizeMobile' => '',
1633
- 'nameFontFamily' => '',
1634
- 'nameFontWeight' => '',
1635
- 'nameFontSubset' => '',
1636
- 'nameLineHeightType' => 'em',
1637
- 'nameLineHeight' => '',
1638
- 'nameLineHeightTablet' => '',
1639
- 'nameLineHeightMobile' => '',
1640
- 'nameLoadGoogleFonts' => false,
1641
- 'companyFontSizeType' => 'px',
1642
- 'companyFontSize' => '',
1643
- 'companyFontSizeTablet' => '',
1644
- 'companyFontSizeMobile' => '',
1645
- 'companyFontFamily' => '',
1646
- 'companyFontWeight' => '',
1647
- 'companyFontSubset' => '',
1648
- 'companyLineHeightType' => 'em',
1649
- 'companyLineHeight' => '',
1650
- 'companyLineHeightTablet' => '',
1651
- 'companyLineHeightMobile' => '',
1652
- 'companyLoadGoogleFonts' => false,
1653
- 'descFontSizeType' => 'px',
1654
- 'descFontSize' => '',
1655
- 'descFontSizeTablet' => '',
1656
- 'descFontSizeMobile' => '',
1657
- 'descFontFamily' => '',
1658
- 'descFontWeight' => '',
1659
- 'descFontSubset' => '',
1660
- 'descLineHeightType' => 'em',
1661
- 'descLineHeight' => '',
1662
- 'descLineHeightTablet' => '',
1663
- 'descLineHeightMobile' => '',
1664
- 'descLoadGoogleFonts' => false,
1665
- 'descSpace' => 15,
1666
- 'block_id' => '',
1667
- 'nameSpace' => 5,
1668
- 'imgVrPadding' => 10,
1669
- 'imgHrPadding' => 10,
1670
- 'imageWidth' => 60,
1671
- 'rowGap' => 10,
1672
- 'columnGap' => 10,
1673
- 'contentPadding' => 5,
1674
- 'backgroundColor' => '',
1675
- 'backgroundImage' => '',
1676
- 'backgroundPosition' => 'center-center',
1677
- 'backgroundSize' => 'cover',
1678
- 'backgroundRepeat' => 'no-repeat',
1679
- 'backgroundImageColor' => '',
1680
- 'backgroundOpacity' => 0,
1681
- 'borderStyle' => 'none',
1682
- 'borderWidth' => 1,
1683
- 'borderRadius' => 0,
1684
- 'borderColor' => '#333',
1685
- 'arrowColor' => '#333',
1686
- 'arrowDots' => 'arrowDots',
1687
- 'arrowBorderSize' => 1,
1688
- 'arrowBorderRadius' => 0,
1689
- 'columns' => 1,
1690
- 'autoplaySpeed' => 2000,
1691
- 'autoplay' => true,
1692
- 'infiniteLoop' => true,
1693
- 'pauseOnHover' => true,
1694
- 'transitionSpeed' => 500,
1695
- 'tcolumns' => 1,
1696
- 'mcolumns' => 1,
1697
- 'arrowSize' => 20,
1698
- 'test_item_count' => 3,
1699
- ),
1700
- ),
1701
- );
1702
- }
1703
- return self::$block_attributes;
1704
- }
1705
- }
1706
- }
1
+ <?php
2
+ /**
3
+ * UAGB Config.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! class_exists( 'UAGB_Config' ) ) {
9
+
10
+ /**
11
+ * Class UAGB_Config.
12
+ */
13
+ class UAGB_Config {
14
+
15
+ /**
16
+ * Block Attributes
17
+ *
18
+ * @var block_attributes
19
+ */
20
+ public static $block_attributes = null;
21
+
22
+ /**
23
+ * Get Widget List.
24
+ *
25
+ * @since 0.0.1
26
+ *
27
+ * @return array The Widget List.
28
+ */
29
+ public static function get_block_attributes() {
30
+
31
+ if ( null === self::$block_attributes ) {
32
+ self::$block_attributes = array(
33
+ 'uagb/advanced-heading' => array(
34
+ 'slug' => '',
35
+ 'title' => __( 'Advanced Heading', 'ultimate-addons-for-gutenberg' ),
36
+ 'description' => __( 'This block lets you add a combination of a heading and a sub-heading with a separator in between.', 'ultimate-addons-for-gutenberg' ),
37
+ 'default' => true,
38
+ 'attributes' => array(
39
+ 'headingAlign' => 'center',
40
+ 'headingColor' => '',
41
+ 'subHeadingColor' => '',
42
+ 'separatorColor' => '',
43
+ 'seperatorStyle' => 'solid',
44
+ 'separatorHeight' => '',
45
+ 'separatorWidth' => '',
46
+ 'separatorWidthType' => '%',
47
+ 'headFontFamily' => '',
48
+ 'headLoadGoogleFonts' => false,
49
+ 'headFontWeight' => '',
50
+ 'headFontSubset' => '',
51
+ 'headFontSize' => '',
52
+ 'headFontSizeType' => 'px',
53
+ 'headFontSizeTablet' => '',
54
+ 'headFontSizeMobile' => '',
55
+ 'headLineHeight' => '',
56
+ 'headLineHeightType' => 'em',
57
+ 'headLineHeightTablet' => '',
58
+ 'headLineHeightMobile' => '',
59
+ 'subHeadFontFamily' => '',
60
+ 'subHeadLoadGoogleFonts' => false,
61
+ 'subHeadFontWeight' => '',
62
+ 'subHeadFontSubset' => '',
63
+ 'subHeadFontSize' => '',
64
+ 'subHeadFontSizeType' => 'px',
65
+ 'subHeadFontSizeTablet' => '',
66
+ 'subHeadFontSizeMobile' => '',
67
+ 'subHeadLineHeight' => '',
68
+ 'subHeadLineHeightType' => 'em',
69
+ 'subHeadLineHeightTablet' => '',
70
+ 'subHeadLineHeightMobile' => '',
71
+ 'headSpace' => 15,
72
+ 'separatorSpace' => 15,
73
+ ),
74
+ ),
75
+ 'uagb/columns' => array(
76
+ 'slug' => '',
77
+ 'title' => __( 'Advanced Columns', 'ultimate-addons-for-gutenberg' ),
78
+ 'description' => __( 'This block gives you advanced options to insert a number of columns within a single row.', 'ultimate-addons-for-gutenberg' ),
79
+ 'default' => true,
80
+ 'attributes' => array(
81
+ 'block_id' => '',
82
+ 'columns' => '2',
83
+ 'align' => '',
84
+ 'vAlign' => '',
85
+ 'stack' => 'mobile',
86
+ 'topPadding' => '20',
87
+ 'bottomPadding' => '20',
88
+ 'leftPadding' => '20',
89
+ 'rightPadding' => '20',
90
+ 'topMargin' => '0',
91
+ 'bottomMargin' => '0',
92
+ 'topPaddingTablet' => '',
93
+ 'bottomPaddingTablet' => '',
94
+ 'leftPaddingTablet' => '',
95
+ 'rightPaddingTablet' => '',
96
+ 'topPaddingMobile' => '',
97
+ 'bottomPaddingMobile' => '',
98
+ 'leftPaddingMobile' => '',
99
+ 'rightPaddingMobile' => '',
100
+ 'topMarginMobile' => '',
101
+ 'bottomMarginMobile' => '',
102
+ 'topMarginTablet' => '',
103
+ 'bottomMarginTablet' => '',
104
+ 'contentWidth' => 'theme',
105
+ 'width' => '900',
106
+ 'tag' => 'section',
107
+ 'backgroundType' => 'none',
108
+ 'backgroundImage' => '',
109
+ 'backgroundPosition' => 'center-center',
110
+ 'backgroundSize' => 'cover',
111
+ 'backgroundRepeat' => 'no-repeat',
112
+ 'backgroundAttachment' => 'scroll',
113
+ 'backgroundVideo' => '',
114
+ 'backgroundColor' => '',
115
+ 'gradientColor1' => '',
116
+ 'gradientColor2' => '',
117
+ 'gradientType' => 'linear',
118
+ 'gradientLocation1' => '0',
119
+ 'gradientLocation2' => '100',
120
+ 'gradientAngle' => '0',
121
+ 'backgroundOpacity' => '',
122
+ 'backgroundVideoOpacity' => '50',
123
+ 'backgroundVideoColor' => '',
124
+ 'backgroundImageColor' => '',
125
+ 'borderStyle' => 'none',
126
+ 'borderWidth' => '1',
127
+ 'borderRadius' => '',
128
+ 'borderColor' => '',
129
+ 'columnGap' => '10',
130
+ 'bottomType' => 'none',
131
+ 'bottomColor' => '#333',
132
+ 'bottomHeight' => '',
133
+ 'bottomHeightTablet' => '',
134
+ 'bottomHeightMobile' => '',
135
+ 'bottomWidth' => '',
136
+ 'topType' => 'none',
137
+ 'topColor' => '#333',
138
+ 'topHeight' => '',
139
+ 'topHeightTablet' => '',
140
+ 'topHeightMobile' => '',
141
+ 'topWidth' => '',
142
+ 'bottomFlip' => '',
143
+ 'topFlip' => '',
144
+ ),
145
+ ),
146
+ 'uagb/column' => array(
147
+ 'slug' => '',
148
+ 'title' => __( 'Column', 'ultimate-addons-for-gutenberg' ),
149
+ 'description' => __( 'This block is an immediate child of Advanced Columns.', 'ultimate-addons-for-gutenberg' ),
150
+ 'default' => true,
151
+ 'is_child' => true,
152
+ 'attributes' => array(
153
+ 'block_id' => '',
154
+ 'topPadding' => '',
155
+ 'bottomPadding' => '',
156
+ 'leftPadding' => '',
157
+ 'rightPadding' => '',
158
+ 'topMargin' => '',
159
+ 'bottomMargin' => '',
160
+ 'leftMargin' => '',
161
+ 'rightMargin' => '',
162
+ 'topPaddingTablet' => '',
163
+ 'bottomPaddingTablet' => '',
164
+ 'leftPaddingTablet' => '',
165
+ 'rightPaddingTablet' => '',
166
+ 'topPaddingMobile' => '',
167
+ 'bottomPaddingMobile' => '',
168
+ 'leftPaddingMobile' => '',
169
+ 'rightPaddingMobile' => '',
170
+ 'topMarginMobile' => '',
171
+ 'bottomMarginMobile' => '',
172
+ 'leftMarginMobile' => '',
173
+ 'rightMarginMobile' => '',
174
+ 'topMarginTablet' => '',
175
+ 'bottomMarginTablet' => '',
176
+ 'leftMarginTablet' => '',
177
+ 'rightMarginTablet' => '',
178
+ 'colWidth' => '',
179
+ 'colWidthTablet' => '',
180
+ 'colWidthMobile' => '',
181
+ 'backgroundType' => 'none',
182
+ 'backgroundImage' => '',
183
+ 'backgroundPosition' => 'center-center',
184
+ 'backgroundSize' => 'cover',
185
+ 'backgroundRepeat' => 'no-repeat',
186
+ 'backgroundAttachment' => 'scroll',
187
+ 'backgroundColor' => '',
188
+ 'gradientColor1' => '',
189
+ 'gradientColor2' => '',
190
+ 'gradientType' => 'linear',
191
+ 'gradientLocation1' => 0,
192
+ 'gradientLocation2' => 100,
193
+ 'gradientAngle' => 0,
194
+ 'backgroundOpacity' => '',
195
+ 'backgroundImageColor' => '',
196
+ 'borderStyle' => 'none',
197
+ 'borderWidth' => 1,
198
+ 'borderRadius' => '',
199
+ 'borderColor' => '',
200
+ 'align' => 'center',
201
+ 'alignMobile' => '',
202
+ 'alignTablet' => '',
203
+ ),
204
+ ),
205
+ 'uagb/blockquote' => array(
206
+ 'slug' => '',
207
+ 'title' => __( 'Blockquote', 'ultimate-addons-for-gutenberg' ),
208
+ 'description' => __( 'This block allows you to display your Blockquote.', 'ultimate-addons-for-gutenberg' ),
209
+ 'default' => true,
210
+ 'attributes' => array(
211
+ 'block_id ' => '',
212
+ 'skinStyle' => 'border',
213
+ 'align' => 'left',
214
+ 'descColor' => '',
215
+ 'descFontSize' => '',
216
+ 'descFontSizeType' => 'px',
217
+ 'descFontSizeTablet' => '',
218
+ 'descFontSizeMobile' => '',
219
+ 'descFontFamily' => '',
220
+ 'descFontWeight' => '',
221
+ 'descFontSubset' => '',
222
+ 'descLineHeightType' => 'em
223
+ ',
224
+ 'descLineHeight' => '',
225
+ 'descLineHeightTablet' => '',
226
+ 'descLineHeightMobile' => '',
227
+ 'descLoadGoogleFonts' => false,
228
+ 'descSpace' => 20,
229
+ 'authorColor' => '#888888',
230
+ 'authorFontSize' => '',
231
+ 'authorFontSizeType' => 'px',
232
+ 'authorFontSizeTablet' => '',
233
+ 'authorFontSizeMobile' => '',
234
+ 'authorFontFamily' => '',
235
+ 'authorFontWeight' => '',
236
+ 'authorFontSubset' => '',
237
+ 'authorLineHeightType' => 'em
238
+ ',
239
+ 'authorLineHeight' => '',
240
+ 'authorLineHeightTablet' => '',
241
+ 'authorLineHeightMobile' => '',
242
+ 'authorLoadGoogleFonts' => false,
243
+ 'authorSpace' => 10,
244
+ 'authorImageWidth' => 40,
245
+ 'authorImgBorderRadius' => 100,
246
+ 'authorImgPosition' => 'right',
247
+ 'stack' => 'tablet',
248
+ 'enableTweet' => true,
249
+ 'iconView' => 'icon_text',
250
+ 'iconSkin' => 'link',
251
+ 'tweetLinkColor' => '#1DA1F2',
252
+ 'tweetBtnColor' => '#fff',
253
+ 'tweetBtnBgColor' => '#1DA1F2',
254
+ 'tweetBtnHoverColor' => '',
255
+ 'tweetBtnBgHoverColor' => '#1DA1F2',
256
+ 'tweetBtnFontSize' => 15,
257
+ 'tweetBtnFontSizeType' => 'px',
258
+ 'tweetBtnFontSizeTablet' => '',
259
+ 'tweetBtnFontSizeMobile' => '',
260
+ 'tweetBtnFontFamily' => '',
261
+ 'tweetBtnFontWeight' => '',
262
+ 'tweetBtnFontSubset' => '',
263
+ 'tweetBtnLineHeightType' => 'em',
264
+ 'tweetBtnLineHeight' => '',
265
+ 'tweetBtnLineHeightTablet' => '',
266
+ 'tweetBtnLineHeightMobile' => '',
267
+ 'tweetBtnLoadGoogleFonts' => false,
268
+ 'tweetBtnHrPadding' => 10,
269
+ 'tweetBtnVrPadding' => 10,
270
+ 'tweetIconSpacing' => 10,
271
+ 'borderColor' => '#abb8c3',
272
+ 'borderStyle' => 'solid',
273
+ 'borderWidth' => 4,
274
+ 'borderGap' => 15,
275
+ 'verticalPadding' => '',
276
+ 'quoteStyle' => 'style_1',
277
+ 'quoteColor' => '#abb8c3',
278
+ 'quoteSize' => 25,
279
+ 'quoteSizeType' => 'px',
280
+ 'quoteSizeTablet' => '',
281
+ 'quoteSizeMobile' => '',
282
+ 'quoteTopMargin' => '',
283
+ 'quoteBottomMargin' => '',
284
+ 'quoteLeftMargin' => '',
285
+ 'quoteRightMargin' => 20,
286
+ 'quoteBorderRadius' => 100,
287
+ 'quoteBgColor' => '#333',
288
+ 'quoteHoverColor' => '',
289
+ 'quoteBgHoverColor' => '',
290
+ 'borderHoverColor' => '',
291
+ 'iconTargetUrl' => 'current',
292
+ 'customUrl' => '',
293
+ 'iconShareVia' => '',
294
+ 'quotePadding' => 10,
295
+ 'quotePaddingType' => 'px',
296
+ 'quotePaddingTablet' => '',
297
+ 'quotePaddingMobile' => '',
298
+ ),
299
+ ),
300
+ 'uagb/call-to-action' => array(
301
+ 'slug' => '',
302
+ 'title' => __( 'Call To Action', 'ultimate-addons-for-gutenberg' ),
303
+ 'description' => __( 'This block allows you to place an CTA along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
304
+ 'default' => true,
305
+ 'attributes' => array(
306
+ 'textAlign' => 'left',
307
+ 'titleColor' => '',
308
+ 'descColor' => '',
309
+ 'ctaPosition' => 'right',
310
+ 'titleTag' => '',
311
+ 'titleFontSize' => '',
312
+ 'titleFontSizeType' => 'px',
313
+ 'titleFontSizeMobile' => '',
314
+ 'titleFontSizeTablet' => '',
315
+ 'titleFontFamily' => '',
316
+ 'titleFontWeight' => '',
317
+ 'titleFontSubset' => '',
318
+ 'titleLineHeightType' => 'em',
319
+ 'titleLineHeight' => '',
320
+ 'titleLineHeightTablet' => '',
321
+ 'titleLineHeightMobile' => '',
322
+ 'titleLoadGoogleFonts' => false,
323
+ 'descFontSize' => '',
324
+ 'descFontSizeType' => 'px',
325
+ 'descFontSizeMobile' => '',
326
+ 'descFontSizeTablet' => '',
327
+ 'descFontFamily' => '',
328
+ 'descFontWeight' => '',
329
+ 'descFontSubset' => '',
330
+ 'descLineHeightType' => 'em',
331
+ 'descLineHeight' => '',
332
+ 'descLineHeightTablet' => '',
333
+ 'descLineHeightMobile' => '',
334
+ 'descLoadGoogleFonts' => false,
335
+ 'titleSpace' => 10,
336
+ 'descSpace' => 10,
337
+ 'buttonAlign' => 'top',
338
+ 'ctaTarget' => false,
339
+ 'ctaIconPosition' => 'after',
340
+ 'ctaIconSpace' => 5,
341
+ 'ctaType' => 'button',
342
+ 'ctaLink' => '#',
343
+ 'ctaFontSize' => '',
344
+ 'ctaFontSizeType' => 'px',
345
+ 'ctaFontSizeMobile' => '',
346
+ 'ctaFontSizeTablet' => '',
347
+ 'ctaFontFamily' => '',
348
+ 'ctaFontWeight' => '',
349
+ 'ctaFontSubset' => '',
350
+ 'ctaLoadGoogleFonts' => false,
351
+ 'ctaBtnLinkColor' => '#333',
352
+ 'ctaBgColor' => 'transparent',
353
+ 'ctaBgHoverColor' => 'transparent',
354
+ 'ctaBorderColor' => '#333',
355
+ 'ctaBorderhoverColor' => '',
356
+ 'ctaBorderStyle' => 'solid',
357
+ 'ctaBtnVertPadding' => 10,
358
+ 'ctaBtnHrPadding' => 14,
359
+ 'ctaBorderWidth' => 1,
360
+ 'ctaBorderRadius' => 0,
361
+ 'stack' => 'tablet',
362
+ 'showTitle' => true,
363
+ 'showDesc' => true,
364
+ 'ctaLeftSpace' => 5,
365
+ 'ctaRightSpace' => 5,
366
+ 'contentWidth' => 70,
367
+ 'ctaLinkHoverColor' => '',
368
+ ),
369
+ ),
370
+ 'uagb/cf7-styler' => array(
371
+ 'slug' => '',
372
+ 'title' => __( 'Contact Form 7 Styler', 'ultimate-addons-for-gutenberg' ),
373
+ 'description' => __( 'This block allows you to add and style your Contact Form 7 forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
374
+ 'is_active' => class_exists( 'WPCF7_ContactForm' ),
375
+ 'default' => true,
376
+ 'attributes' => array(
377
+ 'block_id' => '',
378
+ 'align' => 'left',
379
+ 'formId' => '0',
380
+ 'fieldStyle' => 'box',
381
+ 'fieldHrPadding' => 10,
382
+ 'fieldVrPadding' => 10,
383
+ 'fieldBgColor' => '#fafafa',
384
+ 'fieldLabelColor' => '#333',
385
+ 'fieldInputColor' => '#333',
386
+ 'fieldBorderStyle' => 'solid',
387
+ 'fieldBorderWidth' => 1,
388
+ 'fieldBorderRadius' => 0,
389
+ 'fieldBorderColor' => '#eeeeee',
390
+ 'fieldBorderFocusColor' => '',
391
+ 'buttonAlignment' => 'left',
392
+ 'buttonVrPadding' => 10,
393
+ 'buttonHrPadding' => 25,
394
+ 'buttonTextColor' => '#333',
395
+ 'buttonBgColor' => 'transparent',
396
+ 'buttonTextHoverColor' => '',
397
+ 'buttonBgHoverColor' => '',
398
+ 'buttonBorderStyle' => 'solid',
399
+ 'buttonBorderWidth' => 1,
400
+ 'buttonBorderRadius' => 0,
401
+ 'buttonBorderColor' => '#333',
402
+ 'buttonBorderHoverColor' => '',
403
+ 'fieldSpacing' => '',
404
+ 'fieldLabelSpacing' => '',
405
+ 'labelFontSize' => '',
406
+ 'labelFontSizeType' => 'px',
407
+ 'labelFontSizeTablet' => '',
408
+ 'labelFontSizeMobile' => '',
409
+ 'labelFontFamily' => '',
410
+ 'labelFontWeight' => '',
411
+ 'labelFontSubset' => '',
412
+ 'labelLineHeightType' => 'px',
413
+ 'labelLineHeight' => '',
414
+ 'labelLineHeightTablet' => '',
415
+ 'labelLineHeightMobile' => '',
416
+ 'labelLoadGoogleFonts' => false,
417
+ 'inputFontSize' => '',
418
+ 'inputFontSizeType' => 'px',
419
+ 'inputFontSizeTablet' => '',
420
+ 'inputFontSizeMobile' => '',
421
+ 'inputFontFamily' => '',
422
+ 'inputFontWeight' => '',
423
+ 'inputFontSubset' => '',
424
+ 'inputLineHeightType' => 'px',
425
+ 'inputLineHeight' => '',
426
+ 'inputLineHeightTablet' => '',
427
+ 'inputLineHeightMobile' => '',
428
+ 'inputLoadGoogleFonts' => false,
429
+ 'buttonFontSize' => '',
430
+ 'buttonFontSizeType' => 'px',
431
+ 'buttonFontSizeTablet' => '',
432
+ 'buttonFontSizeMobile' => '',
433
+ 'buttonFontFamily' => '',
434
+ 'buttonFontWeight' => '',
435
+ 'buttonFontSubset' => '',
436
+ 'buttonLineHeightType' => 'px',
437
+ 'buttonLineHeight' => '',
438
+ 'buttonLineHeightTablet' => '',
439
+ 'buttonLineHeightMobile' => '',
440
+ 'buttonLoadGoogleFonts' => false,
441
+ 'enableOveride' => true,
442
+ 'radioCheckSize' => '',
443
+ 'radioCheckBgColor' => '',
444
+ 'radioCheckSelectColor' => '',
445
+ 'radioCheckLableColor' => '',
446
+ 'radioCheckBorderColor' => '#abb8c3',
447
+ 'radioCheckBorderWidth' => '',
448
+ 'radioCheckBorderRadius' => '',
449
+ 'radioCheckFontSize' => '',
450
+ 'radioCheckFontSizeType' => 'px',
451
+ 'radioCheckFontSizeTablet' => '',
452
+ 'radioCheckFontSizeMobile' => '',
453
+ 'radioCheckFontFamily' => '',
454
+ 'radioCheckFontWeight' => '',
455
+ 'radioCheckFontSubset' => '',
456
+ 'radioCheckLineHeightType' => 'px',
457
+ 'radioCheckLineHeight' => '',
458
+ 'radioCheckLineHeightTablet' => '',
459
+ 'radioCheckLineHeightMobile' => '',
460
+ 'radioCheckLoadGoogleFonts' => false,
461
+ 'validationMsgPosition' => 'default',
462
+ 'validationMsgColor' => '#ff0000',
463
+ 'validationMsgBgColor' => '',
464
+ 'enableHighlightBorder' => false,
465
+ 'highlightBorderColor' => '#ff0000',
466
+ 'validationMsgFontSize' => '',
467
+ 'validationMsgFontSizeType' => 'px',
468
+ 'validationMsgFontSizeTablet' => '',
469
+ 'validationMsgFontSizeMobile' => '',
470
+ 'validationMsgFontFamily' => '',
471
+ 'validationMsgFontWeight' => '',
472
+ 'validationMsgFontSubset' => '',
473
+ 'validationMsgLineHeightType' => 'em',
474
+ 'validationMsgLineHeight' => '',
475
+ 'validationMsgLineHeightTablet' => '',
476
+ 'validationMsgLineHeightMobile' => '',
477
+ 'validationMsgLoadGoogleFonts' => false,
478
+ 'successMsgColor' => '',
479
+ 'successMsgBgColor' => '',
480
+ 'successMsgBorderColor' => '',
481
+ 'errorMsgColor' => '',
482
+ 'errorMsgBgColor' => '',
483
+ 'errorMsgBorderColor' => '',
484
+ 'msgBorderSize' => '',
485
+ 'msgBorderRadius' => '',
486
+ 'msgVrPadding' => '',
487
+ 'msgHrPadding' => '',
488
+ 'msgFontSize' => '',
489
+ 'msgFontSizeType' => 'px',
490
+ 'msgFontSizeTablet' => '',
491
+ 'msgFontSizeMobile' => '',
492
+ 'msgFontFamily' => '',
493
+ 'msgFontWeight' => '',
494
+ 'msgFontSubset' => '',
495
+ 'msgLineHeightType' => 'em',
496
+ 'msgLineHeight' => '',
497
+ 'msgLineHeightTablet' => '',
498
+ 'msgLineHeightMobile' => '',
499
+ 'msgLoadGoogleFonts' => false,
500
+ 'radioCheckBorderRadiusType' => 'px',
501
+ 'msgBorderRadiusType' => 'px',
502
+ 'fieldBorderRadiusType' => 'px',
503
+ 'buttonBorderRadiusType' => 'px',
504
+ ),
505
+ ),
506
+ 'uagb/gf-styler' => array(
507
+ 'slug' => '',
508
+ 'title' => __( 'Gravity Form Styler', 'ultimate-addons-for-gutenberg' ),
509
+ 'description' => __( 'This block allows you to add and style your Gravity Forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
510
+ 'default' => true,
511
+ 'is_active' => class_exists( 'GFForms' ),
512
+ 'attributes' => array(
513
+ 'block_id' => '',
514
+ 'align' => 'left',
515
+ 'enableAjax' => false,
516
+ 'enableTabSupport' => false,
517
+ 'formTabIndex' => '0',
518
+ 'formId' => '0',
519
+ 'titleDescStyle' => 'yes',
520
+ 'titleDescAlignment' => 'left',
521
+ 'fieldStyle' => 'box',
522
+ 'fieldHrPadding' => 10,
523
+ 'fieldVrPadding' => 10,
524
+ 'fieldBgColor' => '#fafafa',
525
+ 'fieldLabelColor' => '#333',
526
+ 'fieldInputColor' => '#333',
527
+ 'fieldBorderStyle' => 'solid',
528
+ 'fieldBorderWidth' => 1,
529
+ 'fieldBorderRadius' => 0,
530
+ 'fieldBorderColor' => '#eeeeee',
531
+ 'fieldBorderFocusColor' => '',
532
+ 'buttonAlignment' => 'left',
533
+ 'buttonVrPadding' => 10,
534
+ 'buttonHrPadding' => 25,
535
+ 'buttonTextColor' => '#333',
536
+ 'buttonBgColor' => 'transparent',
537
+ 'buttonTextHoverColor' => '',
538
+ 'buttonBgHoverColor' => '',
539
+ 'buttonBorderStyle' => 'solid',
540
+ 'buttonBorderWidth' => 1,
541
+ 'buttonBorderRadius' => 0,
542
+ 'buttonBorderColor' => '#333',
543
+ 'buttonBorderHoverColor' => '',
544
+ 'fieldSpacing' => '',
545
+ 'fieldLabelSpacing' => '',
546
+ 'enableLabel' => false,
547
+ 'textAreaHeight' => 'auto',
548
+ 'labelFontSize' => '',
549
+ 'labelFontSizeType' => 'px',
550
+ 'labelFontSizeTablet' => '',
551
+ 'labelFontSizeMobile' => '',
552
+ 'labelFontFamily' => '',
553
+ 'labelFontWeight' => '',
554
+ 'labelFontSubset' => '',
555
+ 'labelLineHeightType' => 'px',
556
+ 'labelLineHeight' => '',
557
+ 'labelLineHeightTablet' => '',
558
+ 'labelLineHeightMobile' => '',
559
+ 'labelLoadGoogleFonts' => false,
560
+ 'inputFontSize' => '',
561
+ 'inputFontSizeType' => 'px',
562
+ 'inputFontSizeTablet' => '',
563
+ 'inputFontSizeMobile' => '',
564
+ 'inputFontFamily' => '',
565
+ 'inputFontWeight' => '',
566
+ 'inputFontSubset' => '',
567
+ 'inputLineHeightType' => 'px',
568
+ 'inputLineHeight' => '',
569
+ 'inputLineHeightTablet' => '',
570
+ 'inputLineHeightMobile' => '',
571
+ 'inputLoadGoogleFonts' => false,
572
+ 'buttonFontSize' => '',
573
+ 'buttonFontSizeType' => 'px',
574
+ 'buttonFontSizeTablet' => '',
575
+ 'buttonFontSizeMobile' => '',
576
+ 'buttonFontFamily' => '',
577
+ 'buttonFontWeight' => '',
578
+ 'buttonFontSubset' => '',
579
+ 'buttonLineHeightType' => 'px',
580
+ 'buttonLineHeight' => '',
581
+ 'buttonLineHeightTablet' => '',
582
+ 'buttonLineHeightMobile' => '',
583
+ 'buttonLoadGoogleFonts' => false,
584
+ 'enableOveride' => true,
585
+ 'radioCheckSize' => '20',
586
+ 'radioCheckBgColor' => '#fafafa',
587
+ 'radioCheckSelectColor' => '',
588
+ 'radioCheckLableColor' => '',
589
+ 'radioCheckBorderColor' => '#cbcbcb',
590
+ 'radioCheckBorderWidth' => '1',
591
+ 'radioCheckBorderRadius' => '',
592
+ 'radioCheckFontSize' => '',
593
+ 'radioCheckFontSizeType' => 'px',
594
+ 'radioCheckFontSizeTablet' => '',
595
+ 'radioCheckFontSizeMobile' => '',
596
+ 'radioCheckFontFamily' => '',
597
+ 'radioCheckFontWeight' => '',
598
+ 'radioCheckFontSubset' => '',
599
+ 'radioCheckLineHeightType' => 'px',
600
+ 'radioCheckLineHeight' => '',
601
+ 'radioCheckLineHeightTablet' => '',
602
+ 'radioCheckLineHeightMobile' => '',
603
+ 'radioCheckLoadGoogleFonts' => false,
604
+ 'validationMsgColor' => '#ff0000',
605
+ 'advancedValidationSettings' => false,
606
+ 'highlightBorderColor' => '#ff0000',
607
+ 'validationMsgFontSize' => '',
608
+ 'validationMsgBgColor' => '',
609
+ 'validationMsgFontSizeType' => 'px',
610
+ 'validationMsgFontSizeTablet' => '',
611
+ 'validationMsgFontSizeMobile' => '',
612
+ 'validationMsgFontFamily' => '',
613
+ 'validationMsgFontWeight' => '',
614
+ 'validationMsgFontSubset' => '',
615
+ 'validationMsgLineHeightType' => 'em',
616
+ 'validationMsgLineHeight' => '',
617
+ 'validationMsgLineHeightTablet' => '',
618
+ 'validationMsgLineHeightMobile' => '',
619
+ 'validationMsgLoadGoogleFonts' => false,
620
+ 'successMsgBorderColor' => '',
621
+ 'errorMsgColor' => '',
622
+ 'errorMsgBgColor' => '',
623
+ 'errorMsgBorderColor' => '',
624
+ 'msgBorderSize' => '',
625
+ 'msgBorderRadius' => '',
626
+ 'msgVrPadding' => '',
627
+ 'msgHrPadding' => '',
628
+ 'msgFontSize' => '',
629
+ 'msgFontSizeType' => 'px',
630
+ 'msgFontSizeTablet' => '',
631
+ 'msgFontSizeMobile' => '',
632
+ 'msgFontFamily' => '',
633
+ 'msgFontWeight' => '',
634
+ 'msgFontSubset' => '',
635
+ 'msgLineHeightType' => 'em',
636
+ 'msgLineHeight' => '',
637
+ 'msgLineHeightTablet' => '',
638
+ 'msgLineHeightMobile' => '',
639
+ 'msgLoadGoogleFonts' => false,
640
+ 'radioCheckBorderRadiusType' => 'px',
641
+ 'msgBorderRadiusType' => 'px',
642
+ 'fieldBorderRadiusType' => 'px',
643
+ 'buttonBorderRadiusType' => 'px',
644
+ 'successMsgColor' => '',
645
+ 'successMsgFontSize' => '',
646
+ 'successMsgFontSizeType' => 'px',
647
+ 'successMsgFontSizeTablet' => '',
648
+ 'successMsgFontSizeMobile' => '',
649
+ 'successMsgFontFamily' => '',
650
+ 'successMsgFontWeight' => '',
651
+ 'successMsgFontSubset' => '',
652
+ 'successMsgLineHeightType' => 'em',
653
+ 'successMsgLineHeight' => '',
654
+ 'successMsgLineHeightTablet' => '',
655
+ 'successMsgLineHeightMobile' => '',
656
+ 'successMsgLoadGoogleFonts' => false,
657
+ ),
658
+ ),
659
+ 'uagb/content-timeline' => array(
660
+ 'slug' => '',
661
+ 'title' => __( 'Content Timeline', 'ultimate-addons-for-gutenberg' ),
662
+ 'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
663
+ 'default' => true,
664
+ 'attributes' => array(
665
+ 'align' => 'center',
666
+ 'headingColor' => '',
667
+ 'subHeadingColor' => '',
668
+ 'separatorBg' => '#eee',
669
+ 'backgroundColor' => '#eee',
670
+ 'separatorColor' => '#eee',
671
+ 'separatorFillColor' => '#61ce70',
672
+ 'separatorBorder' => '#eee',
673
+ 'borderFocus' => '#5cb85c',
674
+ 'horizontalSpace' => 10,
675
+ 'verticalSpace' => 15,
676
+ 'headFontSizeType' => 'px',
677
+ 'headFontSize' => '',
678
+ 'headFontSizeTablet' => '',
679
+ 'headFontSizeMobile' => '',
680
+ 'headFontFamily' => '',
681
+ 'headFontWeight' => '',
682
+ 'headFontSubset' => '',
683
+ 'headLineHeightType' => 'em',
684
+ 'headLineHeight' => '',
685
+ 'headLineHeightTablet' => '',
686
+ 'headLineHeightMobile' => '',
687
+ 'headLoadGoogleFonts' => false,
688
+ 'timelinAlignment' => 'center',
689
+ 'arrowlinAlignment' => 'center',
690
+ 'subHeadFontSizeType' => 'px',
691
+ 'subHeadFontSize' => '',
692
+ 'subHeadFontSizeTablet' => '',
693
+ 'subHeadFontSizeMobile' => '',
694
+ 'subHeadFontFamily' => '',
695
+ 'subHeadFontWeight' => '',
696
+ 'subHeadFontSubset' => '',
697
+ 'subHeadLineHeightType' => 'em',
698
+ 'subHeadLineHeight' => '',
699
+ 'subHeadLineHeightTablet' => '',
700
+ 'subHeadLineHeightMobile' => '',
701
+ 'subHeadLoadGoogleFonts' => false,
702
+ 'headSpace' => 5,
703
+ 'separatorwidth' => 3,
704
+ 'borderwidth' => 0,
705
+ 'iconColor' => '#333',
706
+ 'iconFocus' => '#fff',
707
+ 'iconBgFocus' => '#61ce70',
708
+ 'dateColor' => '#333',
709
+ 'dateFontsizeType' => 'px',
710
+ 'dateFontsize' => '12',
711
+ 'dateFontsizeTablet' => '',
712
+ 'dateFontsizeMobile' => '',
713
+ 'dateFontFamily' => '',
714
+ 'dateFontWeight' => '',
715
+ 'dateFontSubset' => '',
716
+ 'dateLineHeightType' => 'em',
717
+ 'dateLineHeight' => '',
718
+ 'dateLineHeightTablet' => '',
719
+ 'dateLineHeightMobile' => '',
720
+ 'dateLoadGoogleFonts' => false,
721
+ 'connectorBgsize' => 35,
722
+ 'dateBottomspace' => 5,
723
+ 'borderRadius' => 2,
724
+ 'bgPadding' => 20,
725
+ 'iconSize' => 12,
726
+ 'stack' => 'tablet',
727
+ ),
728
+ ),
729
+ 'uagb/google-map' => array(
730
+ 'slug' => '',
731
+ 'title' => __( 'Google Map', 'ultimate-addons-for-gutenberg' ),
732
+ 'description' => __( 'This block allows you to place a Google Map Location.', 'ultimate-addons-for-gutenberg' ),
733
+ 'default' => true,
734
+ 'attributes' => array(
735
+ 'block_id' => '',
736
+ 'height' => '300',
737
+ ),
738
+ ),
739
+ 'uagb/icon-list' => array(
740
+ 'slug' => '',
741
+ 'title' => __( 'Icon List', 'ultimate-addons-for-gutenberg' ),
742
+ 'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
743
+ 'default' => true,
744
+ 'attributes' => array(
745
+ 'align' => 'left',
746
+ 'icon_count' => '1',
747
+ 'icons' => array(
748
+ array(
749
+ 'label' => __( 'Label #1', 'ultimate-addons-for-gutenberg' ),
750
+ 'image_icon' => 'icon',
751
+ 'icon' => 'fab fa-facebook',
752
+ 'image' => '',
753
+ 'icon_color' => '#3a3a3a',
754
+ 'icon_hover_color' => '#3a3a3a',
755
+ 'icon_bg_color' => '',
756
+ 'icon_bg_hover_color' => '',
757
+ 'icon_border_color' => '',
758
+ 'icon_border_hover_color' => '',
759
+ 'label_color' => '',
760
+ 'label_hover_color' => '',
761
+ 'link' => '#',
762
+ 'target' => false,
763
+ ),
764
+ ),
765
+ 'gap' => '10',
766
+ 'inner_gap' => '15',
767
+ 'size' => '16',
768
+ 'sizeType' => 'px',
769
+ 'sizeMobile' => '',
770
+ 'sizeTablet' => '',
771
+ 'bgSize' => '0',
772
+ 'border' => '0',
773
+ 'borderRadius' => '0',
774
+ 'fontSize' => '',
775
+ 'fontSizeType' => 'px',
776
+ 'fontSizeMobile' => '',
777
+ 'fontSizeTablet' => '',
778
+ 'lineHeight' => '',
779
+ 'lineHeightType' => 'em',
780
+ 'lineHeightMobile' => '',
781
+ 'lineHeightTablet' => '',
782
+ 'fontFamily' => '',
783
+ 'fontWeight' => '',
784
+ 'fontSubset' => '',
785
+ 'loadGoogleFonts' => false,
786
+ 'icon_layout' => 'vertical',
787
+ 'stack' => 'none',
788
+ ),
789
+ ),
790
+ 'uagb/info-box' => array(
791
+ 'slug' => '',
792
+ 'title' => __( 'Info Box', 'ultimate-addons-for-gutenberg' ),
793
+ 'description' => __( 'This block allows you to place an image or icon along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
794
+ 'default' => true,
795
+ 'attributes' => array(
796
+ 'headingAlign' => 'center',
797
+ 'headingColor' => '',
798
+ 'subHeadingColor' => '',
799
+ 'prefixColor' => '',
800
+ 'prefixFontSize' => '',
801
+ 'prefixFontSizeType' => 'px',
802
+ 'prefixFontSizeTablet' => '',
803
+ 'prefixFontSizeMobile' => '',
804
+ 'prefixFontFamily' => '',
805
+ 'prefixFontWeight' => '',
806
+ 'prefixFontSubset' => '',
807
+ 'prefixLineHeightType' => 'em',
808
+ 'prefixLineHeight' => '',
809
+ 'prefixLineHeightTablet' => '',
810
+ 'prefixLineHeightMobile' => '',
811
+ 'prefixLoadGoogleFonts' => false,
812
+ 'headFontSize' => '',
813
+ 'headFontSizeType' => 'px',
814
+ 'headFontSizeTablet' => '',
815
+ 'headFontSizeMobile' => '',
816
+ 'headFontFamily' => '',
817
+ 'headFontWeight' => '',
818
+ 'headFontSubset' => '',
819
+ 'headLineHeightType' => 'em',
820
+ 'headLineHeight' => '',
821
+ 'headLineHeightTablet' => '',
822
+ 'headLineHeightMobile' => '',
823
+ 'headLoadGoogleFonts' => false,
824
+ 'subHeadFontSize' => '',
825
+ 'subHeadFontSizeType' => 'px',
826
+ 'subHeadFontSizeTablet' => '',
827
+ 'subHeadFontSizeMobile' => '',
828
+ 'subHeadFontFamily' => '',
829
+ 'subHeadFontWeight' => '',
830
+ 'subHeadFontSubset' => '',
831
+ 'subHeadLineHeightType' => 'em',
832
+ 'subHeadLineHeight' => '',
833
+ 'subHeadLineHeightTablet' => '',
834
+ 'subHeadLineHeightMobile' => '',
835
+ 'subHeadLoadGoogleFonts' => false,
836
+ 'separatorWidth' => '',
837
+ 'separatorHeight' => '',
838
+ 'separatorWidthType' => '%',
839
+ 'headSpace' => '10',
840
+ 'separatorSpace' => '10',
841
+ 'subHeadSpace' => '10',
842
+ 'icon' => '',
843
+ 'iconColor' => '#333',
844
+ 'iconSize' => '40',
845
+ 'iconimgPosition' => 'above-title',
846
+ 'block_id' => '',
847
+ 'iconHover' => '',
848
+ 'iconimgBorderRadius' => '0',
849
+ 'seperatorStyle' => 'solid',
850
+ 'seperatorWidth' => '30',
851
+ 'seperatorColor' => '#333',
852
+ 'seperatorThickness' => '2',
853
+ 'ctaLinkColor' => '#333',
854
+ 'ctaFontSize' => '',
855
+ 'ctaFontSizeType' => 'px',
856
+ 'ctaFontSizeMobile' => '',
857
+ 'ctaFontSizeTablet' => '',
858
+ 'ctaFontFamily' => '',
859
+ 'ctaFontWeight' => '',
860
+ 'ctaFontSubset' => '',
861
+ 'ctaLoadGoogleFonts' => false,
862
+ 'ctaBtnLinkColor' => '#333',
863
+ 'ctaBgColor' => 'transparent',
864
+ 'ctaBtnVertPadding' => '10',
865
+ 'ctaBtnHrPadding' => '14',
866
+ 'ctaBorderStyle' => 'solid',
867
+ 'ctaBorderColor' => '#333',
868
+ 'ctaBorderWidth' => '1',
869
+ 'ctaBorderRadius' => '0',
870
+ 'prefixSpace' => '5',
871
+ 'iconLeftMargin' => '5',
872
+ 'iconRightMargin' => '10',
873
+ 'iconTopMargin' => '5',
874
+ 'iconBottomMargin' => '5',
875
+ 'imageSize' => 'thumbnail',
876
+ 'imageWidth' => '120',
877
+ 'seperatorSpace' => '15',
878
+ 'ctaLinkHoverColor' => '',
879
+ 'ctaBgHoverColor' => '',
880
+ 'ctaBorderhoverColor' => '',
881
+ 'ctaIconSpace' => '5',
882
+ ),
883
+ ),
884
+ 'uagb/marketing-button' => array(
885
+ 'slug' => '',
886
+ 'title' => __( 'Marketing Button', 'ultimate-addons-for-gutenberg' ),
887
+ 'description' => __( 'This block allows you to place a Marketing Button with small description.', 'ultimate-addons-for-gutenberg' ),
888
+ 'default' => true,
889
+ 'attributes' => array(
890
+ 'block_id' => '',
891
+ 'align' => 'center',
892
+ 'textAlign' => 'center',
893
+ 'link' => '#',
894
+ 'linkTarget' => false,
895
+ 'titleSpace' => 0,
896
+ 'borderStyle' => 'solid',
897
+ 'borderWidth' => 1,
898
+ 'borderRadius' => '',
899
+ 'borderColor' => '#333',
900
+ 'borderHoverColor' => '',
901
+ 'vPadding' => 8,
902
+ 'hPadding' => 20,
903
+ 'backgroundType' => 'color',
904
+ 'backgroundColor' => '#eeeeee',
905
+ 'backgroundHoverColor' => '',
906
+ 'gradientColor1' => '',
907
+ 'gradientColor2' => '',
908
+ 'gradientType' => 'linear',
909
+ 'gradientLocation1' => 0,
910
+ 'gradientLocation2' => 100,
911
+ 'gradientAngle' => 0,
912
+ 'backgroundOpacity' => '',
913
+ 'backgroundHoverOpacity' => '',
914
+ 'titleColor' => '#333',
915
+ 'titleHoverColor' => '',
916
+ 'iconColor' => '#333',
917
+ 'iconHoverColor' => '',
918
+ 'iconPosition' => 'before',
919
+ 'prefixColor' => '#333',
920
+ 'prefixHoverColor' => '',
921
+ 'iconSpace' => 10,
922
+ 'titleLoadGoogleFonts' => false,
923
+ 'titleFontFamily' => 'Default',
924
+ 'titleFontWeight' => '',
925
+ 'titleFontSubset' => '',
926
+ 'titleFontSize' => 20,
927
+ 'titleFontSizeType' => 'px',
928
+ 'titleFontSizeTablet' => 20,
929
+ 'titleFontSizeMobile' => 20,
930
+ 'titleLineHeightType' => 'em',
931
+ 'titleLineHeight' => '',
932
+ 'titleLineHeightTablet' => '',
933
+ 'titleLineHeightMobile' => '',
934
+ 'prefixLoadGoogleFonts' => false,
935
+ 'prefixFontFamily' => 'Default',
936
+ 'prefixFontWeight' => '',
937
+ 'prefixFontSubset' => '',
938
+ 'prefixFontSize' => 14,
939
+ 'prefixFontSizeType' => 'px',
940
+ 'prefixFontSizeTablet' => 14,
941
+ 'prefixFontSizeMobile' => 14,
942
+ 'prefixLineHeightType' => 'em',
943
+ 'prefixLineHeight' => '',
944
+ 'prefixLineHeightTablet' => '',
945
+ 'prefixLineHeightMobile' => '',
946
+ 'iconFontSize' => 20,
947
+ 'iconFontSizeType' => 'px',
948
+ 'iconFontSizeTablet' => 20,
949
+ 'iconFontSizeMobile' => 20,
950
+ ),
951
+ ),
952
+ 'uagb/buttons' => array(
953
+ 'slug' => '',
954
+ 'title' => __( 'Multi Buttons', 'ultimate-addons-for-gutenberg' ),
955
+ 'description' => __( 'This block allows you to add multiple buttons with a single block.', 'ultimate-addons-for-gutenberg' ),
956
+ 'default' => true,
957
+ 'attributes' => array(
958
+ 'block_id' => '',
959
+ 'align' => 'center',
960
+ 'btn_count' => '2',
961
+ 'buttons' => UAGB_Helper::get_button_defaults(),
962
+ 'gap' => 10,
963
+ 'stack' => 'none',
964
+ 'fontFamily' => '',
965
+ 'fontWeight' => '',
966
+ 'loadGoogleFonts' => false,
967
+ 'fontSubset' => '',
968
+ ),
969
+ ),
970
+ 'uagb/post-carousel' => array(
971
+ 'slug' => '',
972
+ 'title' => __( 'Post Carousel', 'ultimate-addons-for-gutenberg' ),
973
+ 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a carousel layout.', 'ultimate-addons-for-gutenberg' ),
974
+ 'default' => true,
975
+ 'attributes' => array(
976
+ 'align' => 'left',
977
+ 'rowGap' => '20',
978
+ 'columnGap' => '20',
979
+ 'bgColor' => '#e4e4e4',
980
+ 'titleColor' => '#3b3b3b',
981
+ 'titleTag' => 'h3',
982
+ 'titleFontSize' => '',
983
+ 'titleFontSizeType' => 'px',
984
+ 'titleFontSizeMobile' => '',
985
+ 'titleFontSizeTablet' => '',
986
+ 'titleFontFamily' => '',
987
+ 'titleFontWeight' => '',
988
+ 'titleFontSubset' => '',
989
+ 'titleLineHeightType' => 'em',
990
+ 'titleLineHeight' => '',
991
+ 'titleLineHeightTablet' => '',
992
+ 'titleLineHeightMobile' => '',
993
+ 'titleLoadGoogleFonts' => false,
994
+ 'metaFontSize' => '',
995
+ 'metaFontSizeType' => 'px',
996
+ 'metaFontSizeMobile' => '',
997
+ 'metaFontSizeTablet' => '',
998
+ 'metaFontFamily' => '',
999
+ 'metaFontWeight' => '',
1000
+ 'metaFontSubset' => '',
1001
+ 'metaLineHeightType' => 'em',
1002
+ 'metaLineHeight' => '',
1003
+ 'metaLineHeightTablet' => '',
1004
+ 'metaLineHeightMobile' => '',
1005
+ 'metaLoadGoogleFonts' => false,
1006
+ 'excerptFontSize' => '',
1007
+ 'excerptFontSizeType' => 'px',
1008
+ 'excerptFontSizeMobile' => '',
1009
+ 'excerptFontSizeTablet' => '',
1010
+ 'excerptFontFamily' => '',
1011
+ 'excerptFontWeight' => '',
1012
+ 'excerptFontSubset' => '',
1013
+ 'excerptLineHeightType' => 'em',
1014
+ 'excerptLineHeight' => '',
1015
+ 'excerptLineHeightTablet' => '',
1016
+ 'excerptLineHeightMobile' => '',
1017
+ 'excerptLoadGoogleFonts' => false,
1018
+ 'ctaFontSize' => '',
1019
+ 'ctaFontSizeType' => 'px',
1020
+ 'ctaFontSizeTablet' => '',
1021
+ 'ctaFontSizeMobile' => '',
1022
+ 'ctaFontFamily' => '',
1023
+ 'ctaFontWeight' => '',
1024
+ 'ctaFontSubset' => '',
1025
+ 'ctaLineHeightType' => 'em',
1026
+ 'ctaLineHeight' => '',
1027
+ 'ctaLineHeightTablet' => '',
1028
+ 'ctaLineHeightMobile' => '',
1029
+ 'ctaLoadGoogleFonts' => false,
1030
+ 'metaColor' => '#777777',
1031
+ 'excerptColor' => '',
1032
+ 'ctaColor' => '#ffffff',
1033
+ 'ctaBgColor' => '#333333',
1034
+ 'ctaHColor' => '',
1035
+ 'ctaBgHColor' => '',
1036
+ 'contentPadding' => '20',
1037
+ 'contentPaddingMobile' => '',
1038
+ 'btnVPadding' => '5',
1039
+ 'btnHPadding' => '10',
1040
+ 'titleBottomSpace' => '15',
1041
+ 'metaBottomSpace' => '15',
1042
+ 'excerptBottomSpace' => '25',
1043
+ 'arrowSize' => '20',
1044
+ 'arrowColor' => '#aaaaaa',
1045
+ 'arrowDots' => '',
1046
+ 'arrowBorderSize' => '1',
1047
+ 'arrowBorderRadius' => '0',
1048
+ 'overlayOpacity' => '50',
1049
+ 'bgOverlayColor' => '#ffffff',
1050
+ 'ctaText' => __( 'Read More', 'ultimate-addons-for-gutenberg' ),
1051
+ 'borderWidth' => '1',
1052
+ 'borderStyle' => 'none',
1053
+ 'borderColor' => '',
1054
+ 'borderHColor' => '',
1055
+ 'borderRadius' => '0',
1056
+ ),
1057
+ ),
1058
+ 'uagb/post-grid' => array(
1059
+ 'slug' => '',
1060
+ 'title' => __( 'Post Grid', 'ultimate-addons-for-gutenberg' ),
1061
+ 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a grid layout.', 'ultimate-addons-for-gutenberg' ),
1062
+ 'default' => true,
1063
+ 'attributes' => array(
1064
+ 'align' => 'left',
1065
+ 'rowGap' => '20',
1066
+ 'columnGap' => '20',
1067
+ 'bgColor' => '#e4e4e4',
1068
+ 'titleColor' => '#3b3b3b',
1069
+ 'titleTag' => 'h3',
1070
+ 'titleFontSize' => '',
1071
+ 'titleFontSizeType' => 'px',
1072
+ 'titleFontSizeMobile' => '',
1073
+ 'titleFontSizeTablet' => '',
1074
+ 'titleFontFamily' => '',
1075
+ 'titleFontWeight' => '',
1076
+ 'titleFontSubset' => '',
1077
+ 'titleLineHeightType' => 'em',
1078
+ 'titleLineHeight' => '',
1079
+ 'titleLineHeightTablet' => '',
1080
+ 'titleLineHeightMobile' => '',
1081
+ 'titleLoadGoogleFonts' => false,
1082
+ 'metaFontSize' => '',
1083
+ 'metaFontSizeType' => 'px',
1084
+ 'metaFontSizeMobile' => '',
1085
+ 'metaFontSizeTablet' => '',
1086
+ 'metaFontFamily' => '',
1087
+ 'metaFontWeight' => '',
1088
+ 'metaFontSubset' => '',
1089
+ 'metaLineHeightType' => 'em',
1090
+ 'metaLineHeight' => '',
1091
+ 'metaLineHeightTablet' => '',
1092
+ 'metaLineHeightMobile' => '',
1093
+ 'metaLoadGoogleFonts' => false,
1094
+ 'excerptFontSize' => '',
1095
+ 'excerptFontSizeType' => 'px',
1096
+ 'excerptFontSizeMobile' => '',
1097
+ 'excerptFontSizeTablet' => '',
1098
+ 'excerptFontFamily' => '',
1099
+ 'excerptFontWeight' => '',
1100
+ 'excerptFontSubset' => '',
1101
+ 'excerptLineHeightType' => 'em',
1102
+ 'excerptLineHeight' => '',
1103
+ 'excerptLineHeightTablet' => '',
1104
+ 'excerptLineHeightMobile' => '',
1105
+ 'excerptLoadGoogleFonts' => false,
1106
+ 'ctaFontSize' => '',
1107
+ 'ctaFontSizeType' => 'px',
1108
+ 'ctaFontSizeTablet' => '',
1109
+ 'ctaFontSizeMobile' => '',
1110
+ 'ctaFontFamily' => '',
1111
+ 'ctaFontWeight' => '',
1112
+ 'ctaFontSubset' => '',
1113
+ 'ctaLineHeightType' => 'em',
1114
+ 'ctaLineHeight' => '',
1115
+ 'ctaLineHeightTablet' => '',
1116
+ 'ctaLineHeightMobile' => '',
1117
+ 'ctaLoadGoogleFonts' => false,
1118
+ 'metaColor' => '#777777',
1119
+ 'excerptColor' => '',
1120
+ 'ctaColor' => '#ffffff',
1121
+ 'ctaBgColor' => '#333333',
1122
+ 'ctaHColor' => '',
1123
+ 'ctaBgHColor' => '',
1124
+ 'contentPadding' => '20',
1125
+ 'contentPaddingMobile' => '',
1126
+ 'btnVPadding' => '5',
1127
+ 'btnHPadding' => '10',
1128
+ 'titleBottomSpace' => '15',
1129
+ 'metaBottomSpace' => '15',
1130
+ 'excerptBottomSpace' => '25',
1131
+ 'overlayOpacity' => '50',
1132
+ 'bgOverlayColor' => '#ffffff',
1133
+ 'ctaText' => __( 'Read More', 'ultimate-addons-for-gutenberg' ),
1134
+ 'borderWidth' => '1',
1135
+ 'borderStyle' => 'none',
1136
+ 'borderColor' => '',
1137
+ 'borderHColor' => '',
1138
+ 'borderRadius' => '0',
1139
+ ),
1140
+ ),
1141
+ 'uagb/post-masonry' => array(
1142
+ 'slug' => '',
1143
+ 'title' => __( 'Post Masonry', 'ultimate-addons-for-gutenberg' ),
1144
+ 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a masonry layout.', 'ultimate-addons-for-gutenberg' ),
1145
+ 'default' => true,
1146
+ 'attributes' => array(
1147
+ 'align' => 'left',
1148
+ 'rowGap' => '20',
1149
+ 'columnGap' => '20',
1150
+ 'bgColor' => '#e4e4e4',
1151
+ 'titleColor' => '#3b3b3b',
1152
+ 'titleTag' => 'h3',
1153
+ 'titleFontSize' => '',
1154
+ 'titleFontSizeType' => 'px',
1155
+ 'titleFontSizeMobile' => '',
1156
+ 'titleFontSizeTablet' => '',
1157
+ 'titleFontFamily' => '',
1158
+ 'titleFontWeight' => '',
1159
+ 'titleFontSubset' => '',
1160
+ 'titleLineHeightType' => 'em',
1161
+ 'titleLineHeight' => '',
1162
+ 'titleLineHeightTablet' => '',
1163
+ 'titleLineHeightMobile' => '',
1164
+ 'titleLoadGoogleFonts' => false,
1165
+ 'metaFontSize' => '',
1166
+ 'metaFontSizeType' => 'px',
1167
+ 'metaFontSizeMobile' => '',
1168
+ 'metaFontSizeTablet' => '',
1169
+ 'metaFontFamily' => '',
1170
+ 'metaFontWeight' => '',
1171
+ 'metaFontSubset' => '',
1172
+ 'metaLineHeightType' => 'em',
1173
+ 'metaLineHeight' => '',
1174
+ 'metaLineHeightTablet' => '',
1175
+ 'metaLineHeightMobile' => '',
1176
+ 'metaLoadGoogleFonts' => false,
1177
+ 'excerptFontSize' => '',
1178
+ 'excerptFontSizeType' => 'px',
1179
+ 'excerptFontSizeMobile' => '',
1180
+ 'excerptFontSizeTablet' => '',
1181
+ 'excerptFontFamily' => '',
1182
+ 'excerptFontWeight' => '',
1183
+ 'excerptFontSubset' => '',
1184
+ 'excerptLineHeightType' => 'em',
1185
+ 'excerptLineHeight' => '',
1186
+ 'excerptLineHeightTablet' => '',
1187
+ 'excerptLineHeightMobile' => '',
1188
+ 'excerptLoadGoogleFonts' => false,
1189
+ 'ctaFontSize' => '',
1190
+ 'ctaFontSizeType' => 'px',
1191
+ 'ctaFontSizeTablet' => '',
1192
+ 'ctaFontSizeMobile' => '',
1193
+ 'ctaFontFamily' => '',
1194
+ 'ctaFontWeight' => '',
1195
+ 'ctaFontSubset' => '',
1196
+ 'ctaLineHeightType' => 'em',
1197
+ 'ctaLineHeight' => '',
1198
+ 'ctaLineHeightTablet' => '',
1199
+ 'ctaLineHeightMobile' => '',
1200
+ 'ctaLoadGoogleFonts' => false,
1201
+ 'metaColor' => '#777777',
1202
+ 'excerptColor' => '',
1203
+ 'ctaColor' => '#ffffff',
1204
+ 'ctaBgColor' => '#333333',
1205
+ 'ctaHColor' => '',
1206
+ 'ctaBgHColor' => '',
1207
+ 'contentPadding' => '20',
1208
+ 'contentPaddingMobile' => '',
1209
+ 'btnVPadding' => '5',
1210
+ 'btnHPadding' => '10',
1211
+ 'titleBottomSpace' => '15',
1212
+ 'metaBottomSpace' => '15',
1213
+ 'excerptBottomSpace' => '25',
1214
+ 'overlayOpacity' => '50',
1215
+ 'bgOverlayColor' => '#ffffff',
1216
+ 'ctaText' => __( 'Read More', 'ultimate-addons-for-gutenberg' ),
1217
+ 'borderWidth' => '1',
1218
+ 'borderStyle' => 'none',
1219
+ 'borderColor' => '',
1220
+ 'borderHColor' => '',
1221
+ 'borderRadius' => '0',
1222
+ ),
1223
+ ),
1224
+ 'uagb/post-timeline' => array(
1225
+ 'slug' => '',
1226
+ 'title' => __( 'Post Timeline', 'ultimate-addons-for-gutenberg' ),
1227
+ 'description' => __( 'The Timeline block lets you create beautiful timelines of Posts on your website.', 'ultimate-addons-for-gutenberg' ),
1228
+ 'default' => true,
1229
+ 'attributes' => array(
1230
+ 'align' => 'center',
1231
+ 'headingColor' => '',
1232
+ 'subHeadingColor' => '',
1233
+ 'separatorBg' => '#eee',
1234
+ 'backgroundColor' => '#eee',
1235
+ 'separatorColor' => '#eee',
1236
+ 'separatorFillColor' => '#61ce70',
1237
+ 'separatorBorder' => '#eee',
1238
+ 'borderFocus' => '#5cb85c',
1239
+ 'horizontalSpace' => 10,
1240
+ 'verticalSpace' => 15,
1241
+ 'headFontSizeType' => 'px',
1242
+ 'headFontSize' => '',
1243
+ 'headFontSizeTablet' => '',
1244
+ 'headFontSizeMobile' => '',
1245
+ 'headFontFamily' => '',
1246
+ 'headFontWeight' => '',
1247
+ 'headFontSubset' => '',
1248
+ 'headLineHeightType' => 'em',
1249
+ 'headLineHeight' => '',
1250
+ 'headLineHeightTablet' => '',
1251
+ 'headLineHeightMobile' => '',
1252
+ 'headLoadGoogleFonts' => false,
1253
+ 'timelinAlignment' => 'center',
1254
+ 'arrowlinAlignment' => 'center',
1255
+ 'subHeadFontSizeType' => 'px',
1256
+ 'subHeadFontSize' => '',
1257
+ 'subHeadFontSizeTablet' => '',
1258
+ 'subHeadFontSizeMobile' => '',
1259
+ 'subHeadFontFamily' => '',
1260
+ 'subHeadFontWeight' => '',
1261
+ 'subHeadFontSubset' => '',
1262
+ 'subHeadLineHeightType' => 'em',
1263
+ 'subHeadLineHeight' => '',
1264
+ 'subHeadLineHeightTablet' => '',
1265
+ 'subHeadLineHeightMobile' => '',
1266
+ 'subHeadLoadGoogleFonts' => false,
1267
+ 'headSpace' => 5,
1268
+ 'contentSpace' => 5,
1269
+ 'authorSpace' => 5,
1270
+ 'separatorwidth' => 3,
1271
+ 'borderwidth' => 0,
1272
+ 'iconColor' => '#333',
1273
+ 'iconFocus' => '#fff',
1274
+ 'iconBgFocus' => '#61ce70',
1275
+ 'dateColor' => '#333',
1276
+ 'dateFontsizeType' => 'px',
1277
+ 'dateFontsize' => 12,
1278
+ 'dateFontsizeTablet' => '',
1279
+ 'dateFontsizeMobile' => '',
1280
+ 'dateFontFamily' => '',
1281
+ 'dateFontWeight' => '',
1282
+ 'dateFontSubset' => '',
1283
+ 'dateLineHeightType' => 'em',
1284
+ 'dateLineHeight' => '',
1285
+ 'dateLineHeightTablet' => '',
1286
+ 'dateLineHeightMobile' => '',
1287
+ 'dateLoadGoogleFonts' => false,
1288
+ 'connectorBgsize' => 35,
1289
+ 'dateBottomspace' => 5,
1290
+ 'borderRadius' => 2,
1291
+ 'bgPadding' => 20,
1292
+ 'contentPadding' => 10,
1293
+ 'iconSize' => 12,
1294
+ 'stack' => 'tablet',
1295
+ 'ctaColor' => '#fff',
1296
+ 'authorColor' => '#333',
1297
+ 'ctaFontSizeType' => 'px',
1298
+ 'ctaFontSize' => '',
1299
+ 'ctaFontSizeTablet' => '',
1300
+ 'ctaFontSizeMobile' => '',
1301
+ 'ctaFontFamily' => '',
1302
+ 'ctaFontWeight' => '',
1303
+ 'ctaFontSubset' => '',
1304
+ 'ctaLineHeightType' => 'em',
1305
+ 'ctaLineHeight' => '',
1306
+ 'ctaLineHeightTablet' => '',
1307
+ 'ctaLineHeightMobile' => '',
1308
+ 'ctaLoadGoogleFonts' => false,
1309
+ 'authorFontSizeType' => 'px',
1310
+ 'authorFontSize' => 11,
1311
+ 'authorFontSizeTablet' => '',
1312
+ 'authorFontSizeMobile' => '',
1313
+ 'authorFontFamily' => '',
1314
+ 'authorFontWeight' => '',
1315
+ 'authorFontSubset' => '',
1316
+ 'authorLineHeightType' => 'em',
1317
+ 'authorLineHeight' => '',
1318
+ 'authorLineHeightTablet' => '',
1319
+ 'authorLineHeightMobile' => '',
1320
+ 'authorLoadGoogleFonts' => false,
1321
+ 'ctaBackground' => '#333',
1322
+ ),
1323
+ ),
1324
+ 'uagb/restaurant-menu' => array(
1325
+ 'slug' => '',
1326
+ 'title' => __( 'Price List', 'ultimate-addons-for-gutenberg' ),
1327
+ 'description' => __( 'This block allows you to add attractive Price List.', 'ultimate-addons-for-gutenberg' ),
1328
+ 'default' => true,
1329
+ 'attributes' => array(
1330
+ 'block_id' => '',
1331
+ 'headingAlign' => 'left',
1332
+ 'descColor' => '#333',
1333
+ 'priceColor' => '#888888',
1334
+ 'titleColor' => '#333',
1335
+ 'imagePosition' => 'top',
1336
+ 'imageAlignment' => 'top',
1337
+ 'titleFontSize' => '',
1338
+ 'titleFontSizeType' => 'px',
1339
+ 'titleFontSizeMobile' => '',
1340
+ 'titleFontSizeTablet' => '',
1341
+ 'titleFontFamily' => '',
1342
+ 'titleFontWeight' => '',
1343
+ 'titleFontSubset' => '',
1344
+ 'titleLineHeightType' => 'em',
1345
+ 'titleLineHeight' => '',
1346
+ 'titleLineHeightTablet' => '',
1347
+ 'titleLineHeightMobile' => '',
1348
+ 'titleLoadGoogleFonts' => false,
1349
+ 'priceFontSize' => '',
1350
+ 'priceFontSizeType' => 'px',
1351
+ 'priceFontSizeMobile' => '',
1352
+ 'priceFontSizeTablet' => '',
1353
+ 'priceFontFamily' => '',
1354
+ 'priceFontWeight' => '',
1355
+ 'priceFontSubset' => '',
1356
+ 'priceLineHeightType' => 'em',
1357
+ 'priceLineHeight' => '',
1358
+ 'priceLineHeightTablet' => '',
1359
+ 'priceLineHeightMobile' => '',
1360
+ 'priceLoadGoogleFonts' => false,
1361
+ 'descFontSize' => '',
1362
+ 'descFontSizeType' => 'px',
1363
+ 'descFontSizeMobile' => '',
1364
+ 'descFontSizeTablet' => '',
1365
+ 'descFontFamily' => '',
1366
+ 'descFontWeight' => '',
1367
+ 'descFontSubset' => '',
1368
+ 'descLineHeightType' => 'em',
1369
+ 'descLineHeight' => '',
1370
+ 'descLineHeightTablet' => '',
1371
+ 'descLineHeightMobile' => '',
1372
+ 'descLoadGoogleFonts' => false,
1373
+ 'priceSpace' => 5,
1374
+ 'descSpace' => 15,
1375
+ 'titleSpace' => 10,
1376
+ 'imgVrPadding' => 0,
1377
+ 'imgHrPadding' => 0,
1378
+ 'imgTopPadding' => 0,
1379
+ 'imgBottomPadding' => 0,
1380
+ 'iconImage' => '',
1381
+ 'imageSize' => 'medium',
1382
+ 'imageWidth' => '',
1383
+ 'columns' => 2,
1384
+ 'tcolumns' => 2,
1385
+ 'mcolumns' => 1,
1386
+ 'rowGap' => 10,
1387
+ 'columnGap' => 10,
1388
+ 'contentHrPadding' => 5,
1389
+ 'contentVrPadding' => 5,
1390
+ 'seperatorStyle' => 'dashed',
1391
+ 'seperatorWidth' => '100',
1392
+ 'seperatorThickness' => '1',
1393
+ 'seperatorColor' => '#b2b4b5',
1394
+ ),
1395
+ ),
1396
+ 'uagb/section' => array(
1397
+ 'slug' => '',
1398
+ 'title' => __( 'Section', 'ultimate-addons-for-gutenberg' ),
1399
+ 'description' => __( 'This block is an outer wrap section that allows you to add other blocks within it.', 'ultimate-addons-for-gutenberg' ),
1400
+ 'default' => true,
1401
+ 'attributes' => array(
1402
+ 'topPadding' => '20',
1403
+ 'bottomPadding' => '20',
1404
+ 'leftPadding' => '20',
1405
+ 'rightPadding' => '20',
1406
+ 'topMargin' => '0',
1407
+ 'bottomMargin' => '0',
1408
+ 'leftMargin' => '0',
1409
+ 'rightMargin' => '0',
1410
+ 'topPaddingTablet' => '',
1411
+ 'bottomPaddingTablet' => '',
1412
+ 'leftPaddingTablet' => '',
1413
+ 'rightPaddingTablet' => '',
1414
+ 'topPaddingMobile' => '',
1415
+ 'bottomPaddingMobile' => '',
1416
+ 'leftPaddingMobile' => '',
1417
+ 'rightPaddingMobile' => '',
1418
+ 'topMarginMobile' => '',
1419
+ 'bottomMarginMobile' => '',
1420
+ 'leftMarginMobile' => '',
1421
+ 'rightMarginMobile' => '',
1422
+ 'topMarginTablet' => '',
1423
+ 'bottomMarginTablet' => '',
1424
+ 'leftMarginTablet' => '',
1425
+ 'rightMarginTablet' => '',
1426
+ 'contentWidth' => 'boxed',
1427
+ 'width' => '900',
1428
+ 'innerWidth' => '1140',
1429
+ 'tag' => 'section',
1430
+ 'backgroundType' => 'none',
1431
+ 'gradientColor1' => '',
1432
+ 'gradientColor2' => '',
1433
+ 'backgroundVideoColor' => '',
1434
+ 'backgroundPosition' => 'center-center',
1435
+ 'backgroundSize' => 'cover',
1436
+ 'backgroundRepeat' => 'no-repeat',
1437
+ 'backgroundAttachment' => 'scroll',
1438
+ 'gradientType' => 'linear',
1439
+ 'gradientLocation1' => '0',
1440
+ 'gradientLocation2' => '100',
1441
+ 'gradientAngle' => '0',
1442
+ 'backgroundColor' => '',
1443
+ 'backgroundOpacity' => '',
1444
+ 'backgroundVideoOpacity' => '50',
1445
+ 'backgroundImageColor' => '',
1446
+ 'align' => 'center',
1447
+ 'borderStyle' => 'none',
1448
+ 'borderWidth' => '1',
1449
+ 'borderRadius' => '',
1450
+ 'borderColor' => '',
1451
+ 'themeWidth' => false,
1452
+ ),
1453
+ ),
1454
+ 'uagb/social-share' => array(
1455
+ 'slug' => '',
1456
+ 'title' => __( 'Social Share', 'ultimate-addons-for-gutenberg' ),
1457
+ 'description' => __( 'This block allows you to let users share your content across various social networking sites.', 'ultimate-addons-for-gutenberg' ),
1458
+ 'default' => true,
1459
+ 'attributes' => array(
1460
+ 'align' => 'center',
1461
+ 'social_count' => '1',
1462
+ 'socials' => array(
1463
+ array(
1464
+ 'type' => 'facebook',
1465
+ 'image_icon' => 'icon',
1466
+ 'icon' => 'fab fa-facebook',
1467
+ 'image' => '',
1468
+ 'icon_color' => '#3a3a3a',
1469
+ 'icon_hover_color' => '#3a3a3a',
1470
+ 'icon_bg_color' => '',
1471
+ 'icon_bg_hover_color' => '',
1472
+ ),
1473
+ ),
1474
+ 'gap' => '10',
1475
+ 'size' => '40',
1476
+ 'sizeType' => 'px',
1477
+ 'sizeMobile' => '',
1478
+ 'sizeTablet' => '',
1479
+ 'bgSize' => '0',
1480
+ 'bgSizeType' => 'px',
1481
+ 'bgSizeMobile' => '',
1482
+ 'bgSizeTablet' => '',
1483
+ 'borderRadius' => '0',
1484
+ 'social_layout' => 'horizontal',
1485
+ 'stack' => 'none',
1486
+ ),
1487
+ ),
1488
+ 'uagb/team' => array(
1489
+ 'slug' => '',
1490
+ 'title' => __( 'Team', 'ultimate-addons-for-gutenberg' ),
1491
+ 'description' => __( 'This block allows you to display your team. Add their picture, name, what they do and links to their social profiles.', 'ultimate-addons-for-gutenberg' ),
1492
+ 'default' => true,
1493
+ 'attributes' => array(
1494
+ 'block_id' => '',
1495
+ 'align' => 'center',
1496
+ 'tag' => 'h3',
1497
+ 'titleColor' => '',
1498
+ 'prefixColor' => '#888888',
1499
+ 'descColor' => '',
1500
+ 'socialColor' => '#333',
1501
+ 'socialHoverColor' => '',
1502
+ 'titleFontFamily' => '',
1503
+ 'titleLoadGoogleFonts' => false,
1504
+ 'titleFontWeight' => '',
1505
+ 'titleFontSubset' => '',
1506
+ 'titleFontSize' => '',
1507
+ 'titleFontSizeType' => 'px',
1508
+ 'titleFontSizeTablet' => '',
1509
+ 'titleFontSizeMobile' => '',
1510
+ 'titleLineHeight' => '',
1511
+ 'titleLineHeightType' => 'em',
1512
+ 'titleLineHeightTablet' => '',
1513
+ 'titleLineHeightMobile' => '',
1514
+ 'prefixFontFamily' => '',
1515
+ 'prefixLoadGoogleFonts' => false,
1516
+ 'prefixFontWeight' => '',
1517
+ 'prefixFontSubset' => '',
1518
+ 'prefixFontSize' => 15,
1519
+ 'prefixFontSizeType' => 'px',
1520
+ 'prefixFontSizeTablet' => '',
1521
+ 'prefixFontSizeMobile' => '',
1522
+ 'prefixLineHeight' => '',
1523
+ 'prefixLineHeightType' => 'em',
1524
+ 'prefixLineHeightTablet' => '',
1525
+ 'prefixLineHeightMobile' => '',
1526
+ 'descFontFamily' => '',
1527
+ 'descLoadGoogleFonts' => false,
1528
+ 'descFontWeight' => '',
1529
+ 'descFontSubset' => '',
1530
+ 'descFontSize' => 15,
1531
+ 'descFontSizeType' => 'px',
1532
+ 'descFontSizeTablet' => '',
1533
+ 'descFontSizeMobile' => '',
1534
+ 'descLineHeight' => '',
1535
+ 'descLineHeightType' => 'em',
1536
+ 'descLineHeightTablet' => '',
1537
+ 'descLineHeightMobile' => '',
1538
+ 'socialFontSize' => 20,
1539
+ 'socialFontSizeType' => 'px',
1540
+ 'socialFontSizeMobile' => '',
1541
+ 'socialFontSizeTablet' => '',
1542
+ 'image' => '',
1543
+ 'imgStyle' => 'normal',
1544
+ 'imgPosition' => 'above',
1545
+ 'imgAlign' => 'top',
1546
+ 'imgSiz' => 'thumbnail',
1547
+ 'imgWidth' => 120,
1548
+ 'titleSpace' => '',
1549
+ 'prefixSpace' => '',
1550
+ 'descSpace' => 10,
1551
+ 'imgLeftMargin' => 20,
1552
+ 'imgRightMargin' => 20,
1553
+ 'imgTopMargin' => 15,
1554
+ 'imgBottomMargin' => 15,
1555
+ 'socialSpace' => 20,
1556
+ 'headingTag' => 'h3',
1557
+ ),
1558
+ ),
1559
+ 'uagb/testimonial' => array(
1560
+ 'slug' => '',
1561
+ 'title' => __( 'Testimonial', 'ultimate-addons-for-gutenberg' ),
1562
+ 'description' => __( 'This block helps your display some amazing client feedback within your website.', 'ultimate-addons-for-gutenberg' ),
1563
+ 'default' => true,
1564
+ 'attributes' => array(
1565
+ 'headingAlign' => 'center',
1566
+ 'companyColor' => '#888888',
1567
+ 'descColor' => '#333',
1568
+ 'authorColor' => '#333',
1569
+ 'nameFontSizeType' => 'px',
1570
+ 'nameFontSize' => '',
1571
+ 'nameFontSizeTablet' => '',
1572
+ 'nameFontSizeMobile' => '',
1573
+ 'nameFontFamily' => '',
1574
+ 'nameFontWeight' => '',
1575
+ 'nameFontSubset' => '',
1576
+ 'nameLineHeightType' => 'em',
1577
+ 'nameLineHeight' => '',
1578
+ 'nameLineHeightTablet' => '',
1579
+ 'nameLineHeightMobile' => '',
1580
+ 'nameLoadGoogleFonts' => false,
1581
+ 'companyFontSizeType' => 'px',
1582
+ 'companyFontSize' => '',
1583
+ 'companyFontSizeTablet' => '',
1584
+ 'companyFontSizeMobile' => '',
1585
+ 'companyFontFamily' => '',
1586
+ 'companyFontWeight' => '',
1587
+ 'companyFontSubset' => '',
1588
+ 'companyLineHeightType' => 'em',
1589
+ 'companyLineHeight' => '',
1590
+ 'companyLineHeightTablet' => '',
1591
+ 'companyLineHeightMobile' => '',
1592
+ 'companyLoadGoogleFonts' => false,
1593
+ 'descFontSizeType' => 'px',
1594
+ 'descFontSize' => '',
1595
+ 'descFontSizeTablet' => '',
1596
+ 'descFontSizeMobile' => '',
1597
+ 'descFontFamily' => '',
1598
+ 'descFontWeight' => '',
1599
+ 'descFontSubset' => '',
1600
+ 'descLineHeightType' => 'em',
1601
+ 'descLineHeight' => '',
1602
+ 'descLineHeightTablet' => '',
1603
+ 'descLineHeightMobile' => '',
1604
+ 'descLoadGoogleFonts' => false,
1605
+ 'descSpace' => 15,
1606
+ 'block_id' => '',
1607
+ 'nameSpace' => 5,
1608
+ 'imgVrPadding' => 10,
1609
+ 'imgHrPadding' => 10,
1610
+ 'imageWidth' => 60,
1611
+ 'rowGap' => 10,
1612
+ 'columnGap' => 10,
1613
+ 'contentPadding' => 5,
1614
+ 'backgroundColor' => '',
1615
+ 'backgroundImage' => '',
1616
+ 'backgroundPosition' => 'center-center',
1617
+ 'backgroundSize' => 'cover',
1618
+ 'backgroundRepeat' => 'no-repeat',
1619
+ 'backgroundImageColor' => '',
1620
+ 'backgroundOpacity' => 0,
1621
+ 'borderStyle' => 'none',
1622
+ 'borderWidth' => 1,
1623
+ 'borderRadius' => 0,
1624
+ 'borderColor' => '#333',
1625
+ 'arrowColor' => '#333',
1626
+ 'arrowDots' => 'arrowDots',
1627
+ 'arrowBorderSize' => 1,
1628
+ 'arrowBorderRadius' => 0,
1629
+ 'columns' => 1,
1630
+ 'autoplaySpeed' => 2000,
1631
+ 'autoplay' => true,
1632
+ 'infiniteLoop' => true,
1633
+ 'pauseOnHover' => true,
1634
+ 'transitionSpeed' => 500,
1635
+ 'tcolumns' => 1,
1636
+ 'mcolumns' => 1,
1637
+ 'arrowSize' => 20,
1638
+ 'test_item_count' => 3,
1639
+ ),
1640
+ ),
1641
+ );
1642
+ }
1643
+ return self::$block_attributes;
1644
+ }
1645
+ }
1646
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/class-uagb-helper.php CHANGED
@@ -1,1090 +1,1081 @@
1
- <?php
2
- /**
3
- * UAGB Helper.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Helper' ) ) {
9
-
10
- /**
11
- * Class UAGB_Helper.
12
- */
13
- final class UAGB_Helper {
14
-
15
-
16
- /**
17
- * Member Variable
18
- *
19
- * @since 0.0.1
20
- * @var instance
21
- */
22
- private static $instance;
23
-
24
- /**
25
- * Member Variable
26
- *
27
- * @since 0.0.1
28
- * @var instance
29
- */
30
- public static $block_list;
31
-
32
- /**
33
- * Store Json variable
34
- *
35
- * @since 1.8.1
36
- * @var instance
37
- */
38
- public static $icon_json;
39
-
40
- /**
41
- * Page Blocks Variable
42
- *
43
- * @since 1.6.0
44
- * @var instance
45
- */
46
- public static $page_blocks;
47
-
48
- /**
49
- * Google fonts to enqueue
50
- *
51
- * @var array
52
- */
53
- public static $gfonts = array();
54
-
55
- /**
56
- * Initiator
57
- *
58
- * @since 0.0.1
59
- */
60
- public static function get_instance() {
61
- if ( ! isset( self::$instance ) ) {
62
- self::$instance = new self;
63
- }
64
- return self::$instance;
65
- }
66
-
67
- /**
68
- * Constructor
69
- */
70
- public function __construct() {
71
-
72
- require( UAGB_DIR . 'classes/class-uagb-config.php' );
73
- require( UAGB_DIR . 'classes/class-uagb-block-helper.php' );
74
-
75
- self::$block_list = UAGB_Config::get_block_attributes();
76
-
77
- add_action( 'wp_head', array( $this, 'generate_stylesheet' ), 80 );
78
- add_action( 'wp_head', array( $this, 'frontend_gfonts' ), 120 );
79
- add_action( 'wp_footer', array( $this, 'generate_script' ), 1000 );
80
- }
81
-
82
- /**
83
- * Load the front end Google Fonts
84
- */
85
- public function frontend_gfonts() {
86
- if ( empty( self::$gfonts ) ) {
87
- return;
88
- }
89
- $show_google_fonts = apply_filters( 'uagb_blocks_show_google_fonts', true );
90
- if ( ! $show_google_fonts ) {
91
- return;
92
- }
93
- $link = '';
94
- $subsets = array();
95
- foreach ( self::$gfonts as $key => $gfont_values ) {
96
- if ( ! empty( $link ) ) {
97
- $link .= '%7C'; // Append a new font to the string.
98
- }
99
- $link .= $gfont_values['fontfamily'];
100
- if ( ! empty( $gfont_values['fontvariants'] ) ) {
101
- $link .= ':';
102
- $link .= implode( ',', $gfont_values['fontvariants'] );
103
- }
104
- if ( ! empty( $gfont_values['fontsubsets'] ) ) {
105
- foreach ( $gfont_values['fontsubsets'] as $subset ) {
106
- if ( ! in_array( $subset, $subsets ) ) {
107
- array_push( $subsets, $subset );
108
- }
109
- }
110
- }
111
- }
112
- if ( ! empty( $subsets ) ) {
113
- $link .= '&amp;subset=' . implode( ',', $subsets );
114
- }
115
- echo '<link href="//fonts.googleapis.com/css?family=' . esc_attr( str_replace( '|', '%7C', $link ) ) . '" rel="stylesheet">';
116
- }
117
-
118
-
119
- /**
120
- * Parse CSS into correct CSS syntax.
121
- *
122
- * @param array $selectors The block selectors.
123
- * @param string $id The selector ID.
124
- * @since 0.0.1
125
- */
126
- public static function generate_css( $selectors, $id ) {
127
-
128
- $styling_css = '';
129
- $styling_css = '';
130
-
131
- if ( empty( $selectors ) ) {
132
- return;
133
- }
134
-
135
- foreach ( $selectors as $key => $value ) {
136
-
137
- $css = '';
138
-
139
- foreach ( $value as $j => $val ) {
140
-
141
- if ( ! empty( $val ) || 0 === $val ) {
142
- $css .= $j . ': ' . $val . ';';
143
- }
144
- }
145
-
146
- if ( ! empty( $css ) ) {
147
- $styling_css .= $id;
148
- $styling_css .= $key . '{';
149
- $styling_css .= $css . '}';
150
- }
151
- }
152
-
153
- return $styling_css;
154
- }
155
-
156
- /**
157
- * Get CSS value
158
- *
159
- * Syntax:
160
- *
161
- * get_css_value( VALUE, UNIT );
162
- *
163
- * E.g.
164
- *
165
- * get_css_value( VALUE, 'em' );
166
- *
167
- * @param string $value CSS value.
168
- * @param string $unit CSS unit.
169
- * @since x.x.x
170
- */
171
- public static function get_css_value( $value = '', $unit = '' ) {
172
-
173
- if ( '' == $value ) {
174
- return $value;
175
- }
176
-
177
- $css_val = '';
178
-
179
- if ( ! empty( $value ) ) {
180
- $css_val = esc_attr( $value ) . $unit;
181
- }
182
-
183
- return $css_val;
184
- }
185
-
186
- /**
187
- * Generates CSS recurrsively.
188
- *
189
- * @param object $block The block object.
190
- * @since 0.0.1
191
- */
192
- public function get_block_css( $block ) {
193
-
194
- // @codingStandardsIgnoreStart
195
-
196
- $block = ( array ) $block;
197
-
198
- $name = $block['blockName'];
199
- $css = array();
200
-
201
- if( ! isset( $name ) ) {
202
- return;
203
- }
204
-
205
- if ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) {
206
- $blockattr = $block['attrs'];
207
- if ( isset( $blockattr['block_id'] ) ) {
208
- $block_id = $blockattr['block_id'];
209
- }
210
- }
211
-
212
- switch ( $name ) {
213
- case 'uagb/section':
214
- $css += UAGB_Block_Helper::get_section_css( $blockattr, $block_id );
215
- break;
216
-
217
- case 'uagb/advanced-heading':
218
- $css += UAGB_Block_Helper::get_adv_heading_css( $blockattr, $block_id );
219
- UAGB_Block_Helper::blocks_advanced_heading_gfont( $blockattr );
220
- break;
221
-
222
- case 'uagb/info-box':
223
- $css += UAGB_Block_Helper::get_info_box_css( $blockattr, $block_id );
224
- UAGB_Block_Helper::blocks_info_box_gfont( $blockattr );
225
- break;
226
-
227
- case 'uagb/buttons':
228
- $css += UAGB_Block_Helper::get_buttons_css( $blockattr, $block_id );
229
- UAGB_Block_Helper::blocks_buttons_gfont( $blockattr );
230
- break;
231
-
232
- case 'uagb/blockquote':
233
- $css += UAGB_Block_Helper::get_blockquote_css( $blockattr, $block_id );
234
- UAGB_Block_Helper::blocks_blockquote_gfont( $blockattr );
235
- break;
236
-
237
- case 'uagb/testimonial':
238
- $css += UAGB_Block_Helper::get_testimonial_css( $blockattr, $block_id );
239
- UAGB_Block_Helper::blocks_testimonial_gfont( $blockattr );
240
- break;
241
-
242
- case 'uagb/team':
243
- $css += UAGB_Block_Helper::get_team_css( $blockattr, $block_id );
244
- UAGB_Block_Helper::blocks_team_gfont( $blockattr );
245
- break;
246
-
247
- case 'uagb/social-share':
248
- $css += UAGB_Block_Helper::get_social_share_css( $blockattr, $block_id );
249
- break;
250
-
251
- case 'uagb/content-timeline':
252
- $css += UAGB_Block_Helper::get_content_timeline_css( $blockattr, $block_id );
253
- UAGB_Block_Helper::blocks_content_timeline_gfont( $blockattr );
254
- break;
255
-
256
- case 'uagb/restaurant-menu':
257
- $css += UAGB_Block_Helper::get_restaurant_menu_css( $blockattr, $block_id );
258
- UAGB_Block_Helper::blocks_restaurant_menu_gfont( $blockattr );
259
- break;
260
-
261
- case 'uagb/call-to-action':
262
- $css += UAGB_Block_Helper::get_call_to_action_css( $blockattr, $block_id );
263
- UAGB_Block_Helper::blocks_call_to_action_gfont( $blockattr );
264
- break;
265
-
266
- case 'uagb/table-of-contents':
267
- $css += UAGB_Block_Helper::get_table_of_contents_css( $blockattr, $block_id );
268
- UAGB_Block_Helper::blocks_table_of_contents_gfont( $blockattr );
269
- break;
270
-
271
- case 'uagb/post-timeline':
272
- $css += UAGB_Block_Helper::get_post_timeline_css( $blockattr, $block_id );
273
- UAGB_Block_Helper::blocks_post_timeline_gfont( $blockattr );
274
- break;
275
-
276
- case 'uagb/icon-list':
277
- $css += UAGB_Block_Helper::get_icon_list_css( $blockattr, $block_id );
278
- UAGB_Block_Helper::blocks_icon_list_gfont( $blockattr );
279
- break;
280
-
281
- case 'uagb/post-grid':
282
- $css += UAGB_Block_Helper::get_post_grid_css( $blockattr, $block_id );
283
- UAGB_Block_Helper::blocks_post_gfont( $blockattr );
284
- break;
285
-
286
- case 'uagb/post-carousel':
287
- $css += UAGB_Block_Helper::get_post_carousel_css( $blockattr, $block_id );
288
- UAGB_Block_Helper::blocks_post_gfont( $blockattr );
289
- break;
290
-
291
- case 'uagb/post-masonry':
292
- $css += UAGB_Block_Helper::get_post_masonry_css( $blockattr, $block_id );
293
- UAGB_Block_Helper::blocks_post_gfont( $blockattr );
294
- break;
295
-
296
- case 'uagb/columns':
297
- $css += UAGB_Block_Helper::get_columns_css( $blockattr, $block_id );
298
- break;
299
-
300
- case 'uagb/column':
301
- $css += UAGB_Block_Helper::get_column_css( $blockattr, $block_id );
302
- break;
303
-
304
- case 'uagb/cf7-styler':
305
- $css += UAGB_Block_Helper::get_cf7_styler_css( $blockattr, $block_id );
306
- UAGB_Block_Helper::blocks_cf7_styler_gfont( $blockattr );
307
- break;
308
-
309
- case 'uagb/marketing-button':
310
- $css += UAGB_Block_Helper::get_marketing_btn_css( $blockattr, $block_id );
311
- UAGB_Block_Helper::blocks_marketing_btn_gfont( $blockattr );
312
- break;
313
-
314
- case 'uagb/gf-styler':
315
- $css += UAGB_Block_Helper::get_gf_styler_css( $blockattr, $block_id );
316
- UAGB_Block_Helper::blocks_gf_styler_gfont( $blockattr );
317
- break;
318
-
319
- default:
320
- // Nothing to do here.
321
- break;
322
- }
323
-
324
- if ( isset( $block['innerBlocks'] ) ) {
325
- foreach ( $block['innerBlocks'] as $j => $inner_block ) {
326
- if ( 'core/block' == $inner_block['blockName'] ) {
327
- $id = ( isset( $inner_block['attrs']['ref'] ) ) ? $inner_block['attrs']['ref'] : 0;
328
-
329
- if ( $id ) {
330
- $content = get_post_field( 'post_content', $id );
331
-
332
- $reusable_blocks = $this->parse( $content );
333
-
334
- $this->get_stylesheet( $reusable_blocks );
335
- }
336
- } else {
337
- // Get CSS for the Block.
338
- $inner_block_css = $this->get_block_css( $inner_block );
339
-
340
- $css_desktop = ( isset( $css['desktop'] ) ? $css['desktop'] : '' );
341
- $css_tablet = ( isset( $css['tablet'] ) ? $css['tablet'] : '' );
342
- $css_mobile = ( isset( $css['mobile'] ) ? $css['mobile'] : '' );
343
-
344
- if( isset( $inner_block_css['desktop'] ) ){
345
- $css['desktop'] = $css_desktop . $inner_block_css['desktop'];
346
- $css['tablet'] = $css_tablet . $inner_block_css['tablet'];
347
- $css['mobile'] = $css_mobile . $inner_block_css['mobile'];
348
- }
349
- }
350
- }
351
- }
352
-
353
- return $css;
354
-
355
- // @codingStandardsIgnoreEnd
356
- }
357
-
358
- /**
359
- * Adds Google fonts all blocks.
360
- *
361
- * @param array $load_google_font the blocks attr.
362
- * @param array $font_family the blocks attr.
363
- * @param array $font_weight the blocks attr.
364
- * @param array $font_subset the blocks attr.
365
- */
366
- public static function blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset ) {
367
-
368
- if ( true == $load_google_font ) {
369
- if ( ! array_key_exists( $font_family, self::$gfonts ) ) {
370
- $add_font = array(
371
- 'fontfamily' => $font_family,
372
- 'fontvariants' => ( isset( $font_weight ) && ! empty( $font_weight ) ? array( $font_weight ) : array() ),
373
- 'fontsubsets' => ( isset( $font_subset ) && ! empty( $font_subset ) ? array( $font_subset ) : array() ),
374
- );
375
- self::$gfonts[ $font_family ] = $add_font;
376
- } else {
377
- if ( isset( $font_weight ) && ! empty( $font_weight ) ) {
378
- if ( ! in_array( $font_weight, self::$gfonts[ $font_family ]['fontvariants'], true ) ) {
379
- array_push( self::$gfonts[ $font_family ]['fontvariants'], $font_weight );
380
- }
381
- }
382
- if ( isset( $font_subset ) && ! empty( $font_subset ) ) {
383
- if ( ! in_array( $font_subset, self::$gfonts[ $font_family ]['fontsubsets'], true ) ) {
384
- array_push( self::$gfonts[ $font_family ]['fontsubsets'], $font_subset );
385
- }
386
- }
387
- }
388
- }
389
- }
390
-
391
- /**
392
- * Generates Js recurrsively.
393
- *
394
- * @param object $block The block object.
395
- * @since 1.6.0
396
- */
397
- public function get_block_js( $block ) {
398
-
399
- // @codingStandardsIgnoreStart
400
-
401
- $block = ( array ) $block;
402
-
403
- $name = $block['blockName'];
404
- $js = '';
405
-
406
- if( ! isset( $name ) ) {
407
- return;
408
- }
409
-
410
- if ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) {
411
- $blockattr = $block['attrs'];
412
- if ( isset( $blockattr['block_id'] ) ) {
413
- $block_id = $blockattr['block_id'];
414
- }
415
- }
416
-
417
- switch ( $name ) {
418
-
419
- case 'uagb/testimonial':
420
- $js .= UAGB_Block_Helper::get_testimonial_js( $blockattr, $block_id );
421
- break;
422
-
423
- case 'uagb/blockquote':
424
- $js .= UAGB_Block_Helper::get_blockquote_js( $blockattr, $block_id );
425
- break;
426
-
427
- case 'uagb/social-share':
428
- $js .= UAGB_Block_Helper::get_social_share_js( $block_id );
429
- break;
430
-
431
- case 'uagb/table-of-contents':
432
- $js .= UAGB_Block_Helper::get_table_of_contents_js( $blockattr, $block_id );
433
- break;
434
-
435
- default:
436
- // Nothing to do here.
437
- break;
438
- }
439
-
440
- if ( isset( $block['innerBlocks'] ) ) {
441
-
442
- foreach ( $block['innerBlocks'] as $j => $inner_block ) {
443
-
444
- if ( 'core/block' == $inner_block['blockName'] ) {
445
- $id = ( isset( $inner_block['attrs']['ref'] ) ) ? $inner_block['attrs']['ref'] : 0;
446
-
447
- if ( $id ) {
448
- $content = get_post_field( 'post_content', $id );
449
-
450
- $reusable_blocks = $this->parse( $content );
451
-
452
- $this->get_scripts( $reusable_blocks );
453
- }
454
- } else {
455
- // Get JS for the Block.
456
- $js .= $this->get_block_js( $inner_block );
457
- }
458
- }
459
- }
460
-
461
- echo $js;
462
-
463
- // @codingStandardsIgnoreEnd
464
- }
465
-
466
- /**
467
- * Generates stylesheet and appends in head tag.
468
- *
469
- * @since 0.0.1
470
- */
471
- public function generate_stylesheet() {
472
-
473
- $this_post = array();
474
-
475
- if ( is_single() || is_page() || is_404() ) {
476
- global $post;
477
- $this_post = $post;
478
- $this->_generate_stylesheet( $this_post );
479
- if ( ! is_object( $post ) ) {
480
- return;
481
- }
482
- } elseif ( is_archive() || is_home() || is_search() ) {
483
- global $wp_query;
484
-
485
- foreach ( $wp_query as $post ) {
486
- $this->_generate_stylesheet( $post );
487
- }
488
- }
489
- }
490
-
491
- /**
492
- * Generates stylesheet in loop.
493
- *
494
- * @param object $this_post Current Post Object.
495
- * @since 1.7.0
496
- */
497
- public function _generate_stylesheet( $this_post ) {
498
-
499
- if ( has_blocks( get_the_ID() ) ) {
500
- if ( isset( $this_post->post_content ) ) {
501
-
502
- $blocks = $this->parse( $this_post->post_content );
503
- self::$page_blocks = $blocks;
504
-
505
- if ( ! is_array( $blocks ) || empty( $blocks ) ) {
506
- return;
507
- }
508
-
509
- ob_start();
510
- ?>
511
- <style type="text/css" media="all" id="uagb-style-frontend"><?php $this->get_stylesheet( $blocks ); ?></style>
512
- <?php
513
- ob_end_flush();
514
- }
515
- }
516
- }
517
-
518
- /**
519
- * Generates scripts and appends in footer tag.
520
- *
521
- * @since 1.5.0
522
- */
523
- public function generate_script() {
524
-
525
- $blocks = self::$page_blocks;
526
-
527
- if ( ! is_array( $blocks ) || empty( $blocks ) ) {
528
- return;
529
- }
530
-
531
- ob_start();
532
- ?>
533
- <script type="text/javascript" id="uagb-script-frontend">
534
- ( function( $ ) {
535
- <?php $this->get_scripts( $blocks ); ?>
536
- })(jQuery)
537
- </script>
538
- <?php
539
- ob_end_flush();
540
- }
541
-
542
- /**
543
- * Parse Guten Block.
544
- *
545
- * @param string $content the content string.
546
- * @since 1.1.0
547
- */
548
- public function parse( $content ) {
549
-
550
- global $wp_version;
551
-
552
- return ( version_compare( $wp_version, '5', '>=' ) ) ? parse_blocks( $content ) : gutenberg_parse_blocks( $content );
553
- }
554
-
555
- /**
556
- * Generates stylesheet for reusable blocks.
557
- *
558
- * @param array $blocks Blocks array.
559
- * @since 1.1.0
560
- */
561
- public function get_stylesheet( $blocks ) {
562
-
563
- $desktop = '';
564
- $tablet = '';
565
- $mobile = '';
566
-
567
- $tab_styling_css = '';
568
- $mob_styling_css = '';
569
-
570
- foreach ( $blocks as $i => $block ) {
571
-
572
- if ( is_array( $block ) ) {
573
- if ( 'core/block' == $block['blockName'] ) {
574
- $id = ( isset( $block['attrs']['ref'] ) ) ? $block['attrs']['ref'] : 0;
575
-
576
- if ( $id ) {
577
- $content = get_post_field( 'post_content', $id );
578
-
579
- $reusable_blocks = $this->parse( $content );
580
-
581
- $this->get_stylesheet( $reusable_blocks );
582
-
583
- }
584
- } else {
585
- // Get CSS for the Block.
586
- $css = $this->get_block_css( $block );
587
-
588
- if ( isset( $css['desktop'] ) ) {
589
- $desktop .= $css['desktop'];
590
- $tablet .= $css['tablet'];
591
- $mobile .= $css['mobile'];
592
- }
593
- }
594
- }
595
- }
596
-
597
- if ( ! empty( $tablet ) ) {
598
- $tab_styling_css .= '@media only screen and (max-width: ' . UAGB_TABLET_BREAKPOINT . 'px) {';
599
- $tab_styling_css .= $tablet;
600
- $tab_styling_css .= '}';
601
- }
602
-
603
- if ( ! empty( $mobile ) ) {
604
- $mob_styling_css .= '@media only screen and (max-width: ' . UAGB_MOBILE_BREAKPOINT . 'px) {';
605
- $mob_styling_css .= $mobile;
606
- $mob_styling_css .= '}';
607
- }
608
-
609
- echo $desktop . $tab_styling_css . $mob_styling_css;
610
- }
611
-
612
-
613
- /**
614
- * Generates scripts for reusable blocks.
615
- *
616
- * @param array $blocks Blocks array.
617
- * @since 1.6.0
618
- */
619
- public function get_scripts( $blocks ) {
620
-
621
- foreach ( $blocks as $i => $block ) {
622
- if ( is_array( $block ) ) {
623
- if ( 'core/block' == $block['blockName'] ) {
624
- $id = ( isset( $block['attrs']['ref'] ) ) ? $block['attrs']['ref'] : 0;
625
-
626
- if ( $id ) {
627
- $content = get_post_field( 'post_content', $id );
628
-
629
- $reusable_blocks = $this->parse( $content );
630
-
631
- $this->get_scripts( $reusable_blocks );
632
- }
633
- } else {
634
- // Get JS for the Block.
635
- $this->get_block_js( $block );
636
- }
637
- }
638
- }
639
- }
640
-
641
- /**
642
- * Get Buttons default array.
643
- *
644
- * @since 0.0.1
645
- */
646
- public static function get_button_defaults() {
647
-
648
- $default = array();
649
-
650
- for ( $i = 1; $i <= 2; $i++ ) {
651
- array_push(
652
- $default,
653
- array(
654
- 'size' => '',
655
- 'vPadding' => 10,
656
- 'hPadding' => 14,
657
- 'borderWidth' => 1,
658
- 'borderRadius' => 2,
659
- 'borderStyle' => 'solid',
660
- 'borderColor' => '#333',
661
- 'borderHColor' => '#333',
662
- 'color' => '#333',
663
- 'background' => '',
664
- 'hColor' => '#333',
665
- 'hBackground' => '',
666
- 'sizeType' => 'px',
667
- 'sizeMobile' => '',
668
- 'sizeTablet' => '',
669
- 'lineHeightType' => 'em',
670
- 'lineHeight' => '',
671
- 'lineHeightMobile' => '',
672
- 'lineHeightTablet' => '',
673
- )
674
- );
675
- }
676
-
677
- return $default;
678
- }
679
-
680
- /**
681
- * Returns an option from the database for
682
- * the admin settings page.
683
- *
684
- * @param string $key The option key.
685
- * @param mixed $default Option default value if option is not available.
686
- * @param boolean $network_override Whether to allow the network admin setting to be overridden on subsites.
687
- * @return string Return the option value
688
- */
689
- public static function get_admin_settings_option( $key, $default = false, $network_override = false ) {
690
-
691
- // Get the site-wide option if we're in the network admin.
692
- if ( $network_override && is_multisite() ) {
693
- $value = get_site_option( $key, $default );
694
- } else {
695
- $value = get_option( $key, $default );
696
- }
697
-
698
- return $value;
699
- }
700
-
701
- /**
702
- * Updates an option from the admin settings page.
703
- *
704
- * @param string $key The option key.
705
- * @param mixed $value The value to update.
706
- * @param bool $network Whether to allow the network admin setting to be overridden on subsites.
707
- * @return mixed
708
- */
709
- public static function update_admin_settings_option( $key, $value, $network = false ) {
710
-
711
- // Update the site-wide option since we're in the network admin.
712
- if ( $network && is_multisite() ) {
713
- update_site_option( $key, $value );
714
- } else {
715
- update_option( $key, $value );
716
- }
717
- }
718
-
719
- /**
720
- * Is Knowledgebase.
721
- *
722
- * @return string
723
- * @since 0.0.1
724
- */
725
- public static function knowledgebase_data() {
726
-
727
- $knowledgebase = array(
728
- 'enable_knowledgebase' => true,
729
- 'knowledgebase_url' => 'https://www.ultimategutenberg.com/docs/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard',
730
- );
731
-
732
- return $knowledgebase;
733
- }
734
-
735
- /**
736
- * Is Knowledgebase.
737
- *
738
- * @return string
739
- * @since 0.0.1
740
- */
741
- public static function support_data() {
742
-
743
- $support = array(
744
- 'enable_support' => true,
745
- 'support_url' => 'https://www.ultimategutenberg.com/support/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard',
746
- );
747
-
748
- return $support;
749
- }
750
-
751
- /**
752
- * Provide Widget settings.
753
- *
754
- * @return array()
755
- * @since 0.0.1
756
- */
757
- public static function get_block_options() {
758
-
759
- $blocks = self::$block_list;
760
- $saved_blocks = self::get_admin_settings_option( '_uagb_blocks' );
761
- if ( is_array( $blocks ) ) {
762
- foreach ( $blocks as $slug => $data ) {
763
- $_slug = str_replace( 'uagb/', '', $slug );
764
-
765
- if ( isset( $saved_blocks[ $_slug ] ) ) {
766
- if ( 'disabled' === $saved_blocks[ $_slug ] ) {
767
- $blocks[ $slug ]['is_activate'] = false;
768
- } else {
769
- $blocks[ $slug ]['is_activate'] = true;
770
- }
771
- } else {
772
- $blocks[ $slug ]['is_activate'] = ( isset( $data['default'] ) ) ? $data['default'] : false;
773
- }
774
- }
775
- }
776
-
777
- self::$block_list = $blocks;
778
-
779
- return apply_filters( 'uagb_enabled_blocks', self::$block_list );
780
- }
781
-
782
- /**
783
- * Get Json Data.
784
- *
785
- * @since 1.8.1
786
- * @return Array
787
- */
788
- public static function backend_load_font_awesome_icons() {
789
-
790
- $json_file = UAGB_DIR . 'dist/blocks/uagb-controls/UAGBIcon.json';
791
- if ( ! file_exists( $json_file ) ) {
792
- return array();
793
- }
794
-
795
- // Function has already run.
796
- if ( null !== self::$icon_json ) {
797
- return self::$icon_json;
798
- }
799
-
800
- $str = file_get_contents( $json_file );
801
- self::$icon_json = json_decode( $str, true );
802
- return self::$icon_json;
803
- }
804
-
805
- /**
806
- * Generate SVG.
807
- *
808
- * @since 1.8.1
809
- * @param array $icon Decoded fontawesome json file data.
810
- * @return string
811
- */
812
- public static function render_svg_html( $icon ) {
813
- $icon = str_replace( 'far', '', $icon );
814
- $icon = str_replace( 'fas', '', $icon );
815
- $icon = str_replace( 'fab', '', $icon );
816
- $icon = str_replace( 'fa-', '', $icon );
817
- $icon = str_replace( 'fa', '', $icon );
818
- $icon = sanitize_text_field( esc_attr( $icon ) );
819
-
820
- $json = UAGB_Helper::backend_load_font_awesome_icons();
821
- $path = isset( $json[ $icon ]['svg']['brands'] ) ? $json[ $icon ]['svg']['brands']['path'] : $json[ $icon ]['svg']['solid']['path'];
822
- $view = isset( $json[ $icon ]['svg']['brands'] ) ? $json[ $icon ]['svg']['brands']['viewBox'] : $json[ $icon ]['svg']['solid']['viewBox'];
823
- if ( $view ) {
824
- $view = implode( ' ', $view );
825
- }
826
- $htm = '<svg xmlns="http://www.w3.org/2000/svg" viewBox= "' . $view . '"><path d="' . $path . '"></path></svg>';
827
- return $htm;
828
- }
829
-
830
- /**
831
- * Returns Query.
832
- *
833
- * @param array $attributes The block attributes.
834
- * @param string $block_type The Block Type.
835
- * @since 1.8.2
836
- */
837
- public static function get_query( $attributes, $block_type ) {
838
-
839
- // Block type is grid/masonry/carousel/timeline.
840
- $query_args = array(
841
- 'posts_per_page' => ( isset( $attributes['postsToShow'] ) ) ? $attributes['postsToShow'] : 6,
842
- 'post_status' => 'publish',
843
- 'post_type' => ( isset( $attributes['postType'] ) ) ? $attributes['postType'] : 'post',
844
- 'order' => ( isset( $attributes['order'] ) ) ? $attributes['order'] : 'desc',
845
- 'orderby' => ( isset( $attributes['orderBy'] ) ) ? $attributes['orderBy'] : 'date',
846
- 'ignore_sticky_posts' => 1,
847
- );
848
-
849
- if ( isset( $attributes['categories'] ) && '' != $attributes['categories'] ) {
850
- $query_args['tax_query'][] = array(
851
- 'taxonomy' => ( isset( $attributes['taxonomyType'] ) ) ? $attributes['taxonomyType'] : 'category',
852
- 'field' => 'id',
853
- 'terms' => $attributes['categories'],
854
- 'operator' => 'IN',
855
- );
856
- }
857
-
858
- $query_args = apply_filters( "uagb_post_query_args_{$block_type}", $query_args );
859
-
860
- return new WP_Query( $query_args );
861
- }
862
-
863
- /**
864
- * Get size information for all currently-registered image sizes.
865
- *
866
- * @global $_wp_additional_image_sizes
867
- * @uses get_intermediate_image_sizes()
868
- * @link https://codex.wordpress.org/Function_Reference/get_intermediate_image_sizes
869
- * @since 1.9.0
870
- * @return array $sizes Data for all currently-registered image sizes.
871
- */
872
- public static function get_image_sizes() {
873
-
874
- global $_wp_additional_image_sizes;
875
-
876
- $sizes = get_intermediate_image_sizes();
877
- $image_sizes = array();
878
-
879
- $image_sizes[] = array(
880
- 'value' => 'full',
881
- 'label' => esc_html__( 'Full', 'ultimate-addons-for-gutenberg' ),
882
- );
883
-
884
- foreach ( $sizes as $size ) {
885
- if ( in_array( $size, array( 'thumbnail', 'medium', 'medium_large', 'large' ) ) ) {
886
- $image_sizes[] = array(
887
- 'value' => $size,
888
- 'label' => ucwords( trim( str_replace( array( '-', '_' ), array( ' ', ' ' ), $size ) ) ),
889
- );
890
- } else {
891
- $image_sizes[] = array(
892
- 'value' => $size,
893
- 'label' => sprintf(
894
- '%1$s (%2$sx%3$s)',
895
- ucwords( trim( str_replace( array( '-', '_' ), array( ' ', ' ' ), $size ) ) ),
896
- $_wp_additional_image_sizes[ $size ]['width'],
897
- $_wp_additional_image_sizes[ $size ]['height']
898
- ),
899
- );
900
- }
901
- }
902
-
903
- $image_sizes = apply_filters( 'uagb_post_featured_image_sizes', $image_sizes );
904
-
905
- return $image_sizes;
906
- }
907
-
908
- /**
909
- * Get Post Types.
910
- *
911
- * @since 1.11.0
912
- * @access public
913
- */
914
- public static function get_post_types() {
915
-
916
- $post_types = get_post_types(
917
- array(
918
- 'public' => true,
919
- 'show_in_rest' => true,
920
- ),
921
- 'objects'
922
- );
923
-
924
- $options = array();
925
-
926
- foreach ( $post_types as $post_type ) {
927
- if ( 'product' == $post_type->name ) {
928
- continue;
929
- }
930
-
931
- $options[] = array(
932
- 'value' => $post_type->name,
933
- 'label' => $post_type->label,
934
- );
935
- }
936
-
937
- return apply_filters( 'uagb_loop_post_types', $options );
938
- }
939
-
940
- /**
941
- * Get all taxonomies.
942
- *
943
- * @since 1.11.0
944
- * @access public
945
- */
946
- public static function get_related_taxonomy() {
947
-
948
- $post_types = self::get_post_types();
949
-
950
- $return_array = array();
951
-
952
- foreach ( $post_types as $key => $value ) {
953
- $post_type = $value['value'];
954
-
955
- $taxonomies = get_object_taxonomies( $post_type, 'objects' );
956
- $data = array();
957
-
958
- foreach ( $taxonomies as $tax_slug => $tax ) {
959
- if ( ! $tax->public || ! $tax->show_ui ) {
960
- continue;
961
- }
962
-
963
- $data[ $tax_slug ] = $tax;
964
-
965
- $terms = get_terms( $tax_slug );
966
-
967
- $related_tax = array();
968
-
969
- if ( ! empty( $terms ) ) {
970
- foreach ( $terms as $t_index => $t_obj ) {
971
- $related_tax[] = array(
972
- 'id' => $t_obj->term_id,
973
- 'name' => $t_obj->name,
974
- );
975
- }
976
-
977
- $return_array[ $post_type ]['terms'][ $tax_slug ] = $related_tax;
978
- }
979
- }
980
-
981
- $return_array[ $post_type ]['taxonomy'] = $data;
982
- }
983
-
984
- return apply_filters( 'uagb_post_loop_taxonomies', $return_array );
985
- }
986
-
987
- /**
988
- * Get flag if more than 5 pages are build using UAG.
989
- *
990
- * @since 1.10.0
991
- * @return boolean true/false Flag if more than 5 pages are build using UAG.
992
- */
993
- public static function show_rating_notice() {
994
-
995
- $posts_created_with_uag = get_option( 'posts-created-with-uagb' );
996
-
997
- if ( false === $posts_created_with_uag ) {
998
- $query_args = array(
999
- 'posts_per_page' => -1,
1000
- 'post_status' => 'publish',
1001
- 'post_type' => 'any',
1002
- );
1003
-
1004
- $query = new WP_Query( $query_args );
1005
-
1006
- $uag_post_count = 0;
1007
-
1008
- if ( isset( $query->post_count ) && $query->post_count > 0 ) {
1009
- foreach ( $query->posts as $key => $post ) {
1010
- if ( $uag_post_count >= 5 ) {
1011
- break;
1012
- }
1013
-
1014
- if ( false !== strpos( $post->post_content, '<!-- wp:uagb/' ) ) {
1015
- $uag_post_count++;
1016
- }
1017
- }
1018
- }
1019
-
1020
- if ( $uag_post_count >= 5 ) {
1021
- update_option( 'posts-created-with-uagb', $uag_post_count );
1022
-
1023
- $posts_created_with_uag = $uag_post_count;
1024
- }
1025
- }
1026
-
1027
- return ( $posts_created_with_uag >= 5 );
1028
- }
1029
-
1030
- /**
1031
- * Get - RGBA Color
1032
- *
1033
- * Get HEX color and return RGBA. Default return RGB color.
1034
- *
1035
- * @param var $color Gets the color value.
1036
- * @param var $opacity Gets the opacity value.
1037
- * @param array $is_array Gets an array of the value.
1038
- * @since 1.11.0
1039
- */
1040
- public static function hex2rgba( $color, $opacity = false, $is_array = false ) {
1041
-
1042
- $default = $color;
1043
-
1044
- // Return default if no color provided.
1045
- if ( empty( $color ) ) {
1046
- return $default;
1047
- }
1048
-
1049
- // Sanitize $color if "#" is provided.
1050
- if ( '#' == $color[0] ) {
1051
- $color = substr( $color, 1 );
1052
- }
1053
-
1054
- // Check if color has 6 or 3 characters and get values.
1055
- if ( strlen( $color ) == 6 ) {
1056
- $hex = array( $color[0] . $color[1], $color[2] . $color[3], $color[4] . $color[5] );
1057
- } elseif ( strlen( $color ) == 3 ) {
1058
- $hex = array( $color[0] . $color[0], $color[1] . $color[1], $color[2] . $color[2] );
1059
- } else {
1060
- return $default;
1061
- }
1062
-
1063
- // Convert hexadec to rgb.
1064
- $rgb = array_map( 'hexdec', $hex );
1065
-
1066
- // Check if opacity is set(rgba or rgb).
1067
- if ( false !== $opacity && '' !== $opacity ) {
1068
- if ( abs( $opacity ) > 1 ) {
1069
- $opacity = $opacity / 100;
1070
- }
1071
- $output = 'rgba(' . implode( ',', $rgb ) . ',' . $opacity . ')';
1072
- } else {
1073
- $output = 'rgb(' . implode( ',', $rgb ) . ')';
1074
- }
1075
-
1076
- if ( $is_array ) {
1077
- return $rgb;
1078
- } else {
1079
- // Return rgb(a) color string.
1080
- return $output;
1081
- }
1082
- }
1083
- }
1084
-
1085
- /**
1086
- * Prepare if class 'UAGB_Helper' exist.
1087
- * Kicking this off by calling 'get_instance()' method
1088
- */
1089
- UAGB_Helper::get_instance();
1090
- }
1
+ <?php
2
+ /**
3
+ * UAGB Helper.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! class_exists( 'UAGB_Helper' ) ) {
9
+
10
+ /**
11
+ * Class UAGB_Helper.
12
+ */
13
+ final class UAGB_Helper {
14
+
15
+
16
+ /**
17
+ * Member Variable
18
+ *
19
+ * @since 0.0.1
20
+ * @var instance
21
+ */
22
+ private static $instance;
23
+
24
+ /**
25
+ * Member Variable
26
+ *
27
+ * @since 0.0.1
28
+ * @var instance
29
+ */
30
+ public static $block_list;
31
+
32
+ /**
33
+ * Store Json variable
34
+ *
35
+ * @since 1.8.1
36
+ * @var instance
37
+ */
38
+ public static $icon_json;
39
+
40
+ /**
41
+ * Page Blocks Variable
42
+ *
43
+ * @since 1.6.0
44
+ * @var instance
45
+ */
46
+ public static $page_blocks;
47
+
48
+ /**
49
+ * Google fonts to enqueue
50
+ *
51
+ * @var array
52
+ */
53
+ public static $gfonts = array();
54
+
55
+ /**
56
+ * Initiator
57
+ *
58
+ * @since 0.0.1
59
+ */
60
+ public static function get_instance() {
61
+ if ( ! isset( self::$instance ) ) {
62
+ self::$instance = new self;
63
+ }
64
+ return self::$instance;
65
+ }
66
+
67
+ /**
68
+ * Constructor
69
+ */
70
+ public function __construct() {
71
+
72
+ require( UAGB_DIR . 'classes/class-uagb-config.php' );
73
+ require( UAGB_DIR . 'classes/class-uagb-block-helper.php' );
74
+
75
+ self::$block_list = UAGB_Config::get_block_attributes();
76
+
77
+ add_action( 'wp_head', array( $this, 'generate_stylesheet' ), 80 );
78
+ add_action( 'wp_head', array( $this, 'frontend_gfonts' ), 120 );
79
+ add_action( 'wp_footer', array( $this, 'generate_script' ), 1000 );
80
+ }
81
+
82
+ /**
83
+ * Load the front end Google Fonts
84
+ */
85
+ public function frontend_gfonts() {
86
+ if ( empty( self::$gfonts ) ) {
87
+ return;
88
+ }
89
+ $show_google_fonts = apply_filters( 'uagb_blocks_show_google_fonts', true );
90
+ if ( ! $show_google_fonts ) {
91
+ return;
92
+ }
93
+ $link = '';
94
+ $subsets = array();
95
+ foreach ( self::$gfonts as $key => $gfont_values ) {
96
+ if ( ! empty( $link ) ) {
97
+ $link .= '%7C'; // Append a new font to the string.
98
+ }
99
+ $link .= $gfont_values['fontfamily'];
100
+ if ( ! empty( $gfont_values['fontvariants'] ) ) {
101
+ $link .= ':';
102
+ $link .= implode( ',', $gfont_values['fontvariants'] );
103
+ }
104
+ if ( ! empty( $gfont_values['fontsubsets'] ) ) {
105
+ foreach ( $gfont_values['fontsubsets'] as $subset ) {
106
+ if ( ! in_array( $subset, $subsets ) ) {
107
+ array_push( $subsets, $subset );
108
+ }
109
+ }
110
+ }
111
+ }
112
+ if ( ! empty( $subsets ) ) {
113
+ $link .= '&amp;subset=' . implode( ',', $subsets );
114
+ }
115
+ echo '<link href="//fonts.googleapis.com/css?family=' . esc_attr( str_replace( '|', '%7C', $link ) ) . '" rel="stylesheet">';
116
+ }
117
+
118
+
119
+ /**
120
+ * Parse CSS into correct CSS syntax.
121
+ *
122
+ * @param array $selectors The block selectors.
123
+ * @param string $id The selector ID.
124
+ * @since 0.0.1
125
+ */
126
+ public static function generate_css( $selectors, $id ) {
127
+
128
+ $styling_css = '';
129
+ $styling_css = '';
130
+
131
+ if ( empty( $selectors ) ) {
132
+ return;
133
+ }
134
+
135
+ foreach ( $selectors as $key => $value ) {
136
+
137
+ $css = '';
138
+
139
+ foreach ( $value as $j => $val ) {
140
+
141
+ if ( ! empty( $val ) || 0 === $val ) {
142
+ $css .= $j . ': ' . $val . ';';
143
+ }
144
+ }
145
+
146
+ if ( ! empty( $css ) ) {
147
+ $styling_css .= $id;
148
+ $styling_css .= $key . '{';
149
+ $styling_css .= $css . '}';
150
+ }
151
+ }
152
+
153
+ return $styling_css;
154
+ }
155
+
156
+ /**
157
+ * Get CSS value
158
+ *
159
+ * Syntax:
160
+ *
161
+ * get_css_value( VALUE, UNIT );
162
+ *
163
+ * E.g.
164
+ *
165
+ * get_css_value( VALUE, 'em' );
166
+ *
167
+ * @param string $value CSS value.
168
+ * @param string $unit CSS unit.
169
+ * @since x.x.x
170
+ */
171
+ public static function get_css_value( $value = '', $unit = '' ) {
172
+
173
+ if ( '' == $value ) {
174
+ return $value;
175
+ }
176
+
177
+ $css_val = '';
178
+
179
+ if ( ! empty( $value ) ) {
180
+ $css_val = esc_attr( $value ) . $unit;
181
+ }
182
+
183
+ return $css_val;
184
+ }
185
+
186
+ /**
187
+ * Generates CSS recurrsively.
188
+ *
189
+ * @param object $block The block object.
190
+ * @since 0.0.1
191
+ */
192
+ public function get_block_css( $block ) {
193
+
194
+ // @codingStandardsIgnoreStart
195
+
196
+ $block = ( array ) $block;
197
+
198
+ $name = $block['blockName'];
199
+ $css = array();
200
+
201
+ if( ! isset( $name ) ) {
202
+ return;
203
+ }
204
+
205
+ if ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) {
206
+ $blockattr = $block['attrs'];
207
+ if ( isset( $blockattr['block_id'] ) ) {
208
+ $block_id = $blockattr['block_id'];
209
+ }
210
+ }
211
+
212
+ switch ( $name ) {
213
+ case 'uagb/section':
214
+ $css += UAGB_Block_Helper::get_section_css( $blockattr, $block_id );
215
+ break;
216
+
217
+ case 'uagb/advanced-heading':
218
+ $css += UAGB_Block_Helper::get_adv_heading_css( $blockattr, $block_id );
219
+ UAGB_Block_Helper::blocks_advanced_heading_gfont( $blockattr );
220
+ break;
221
+
222
+ case 'uagb/info-box':
223
+ $css += UAGB_Block_Helper::get_info_box_css( $blockattr, $block_id );
224
+ UAGB_Block_Helper::blocks_info_box_gfont( $blockattr );
225
+ break;
226
+
227
+ case 'uagb/buttons':
228
+ $css += UAGB_Block_Helper::get_buttons_css( $blockattr, $block_id );
229
+ UAGB_Block_Helper::blocks_buttons_gfont( $blockattr );
230
+ break;
231
+
232
+ case 'uagb/blockquote':
233
+ $css += UAGB_Block_Helper::get_blockquote_css( $blockattr, $block_id );
234
+ UAGB_Block_Helper::blocks_blockquote_gfont( $blockattr );
235
+ break;
236
+
237
+ case 'uagb/testimonial':
238
+ $css += UAGB_Block_Helper::get_testimonial_css( $blockattr, $block_id );
239
+ UAGB_Block_Helper::blocks_testimonial_gfont( $blockattr );
240
+ break;
241
+
242
+ case 'uagb/team':
243
+ $css += UAGB_Block_Helper::get_team_css( $blockattr, $block_id );
244
+ UAGB_Block_Helper::blocks_team_gfont( $blockattr );
245
+ break;
246
+
247
+ case 'uagb/social-share':
248
+ $css += UAGB_Block_Helper::get_social_share_css( $blockattr, $block_id );
249
+ break;
250
+
251
+ case 'uagb/content-timeline':
252
+ $css += UAGB_Block_Helper::get_content_timeline_css( $blockattr, $block_id );
253
+ UAGB_Block_Helper::blocks_content_timeline_gfont( $blockattr );
254
+ break;
255
+
256
+ case 'uagb/restaurant-menu':
257
+ $css += UAGB_Block_Helper::get_restaurant_menu_css( $blockattr, $block_id );
258
+ UAGB_Block_Helper::blocks_restaurant_menu_gfont( $blockattr );
259
+ break;
260
+
261
+ case 'uagb/call-to-action':
262
+ $css += UAGB_Block_Helper::get_call_to_action_css( $blockattr, $block_id );
263
+ UAGB_Block_Helper::blocks_call_to_action_gfont( $blockattr );
264
+ break;
265
+
266
+ case 'uagb/post-timeline':
267
+ $css += UAGB_Block_Helper::get_post_timeline_css( $blockattr, $block_id );
268
+ UAGB_Block_Helper::blocks_post_timeline_gfont( $blockattr );
269
+ break;
270
+
271
+ case 'uagb/icon-list':
272
+ $css += UAGB_Block_Helper::get_icon_list_css( $blockattr, $block_id );
273
+ UAGB_Block_Helper::blocks_icon_list_gfont( $blockattr );
274
+ break;
275
+
276
+ case 'uagb/post-grid':
277
+ $css += UAGB_Block_Helper::get_post_grid_css( $blockattr, $block_id );
278
+ UAGB_Block_Helper::blocks_post_gfont( $blockattr );
279
+ break;
280
+
281
+ case 'uagb/post-carousel':
282
+ $css += UAGB_Block_Helper::get_post_carousel_css( $blockattr, $block_id );
283
+ UAGB_Block_Helper::blocks_post_gfont( $blockattr );
284
+ break;
285
+
286
+ case 'uagb/post-masonry':
287
+ $css += UAGB_Block_Helper::get_post_masonry_css( $blockattr, $block_id );
288
+ UAGB_Block_Helper::blocks_post_gfont( $blockattr );
289
+ break;
290
+
291
+ case 'uagb/columns':
292
+ $css += UAGB_Block_Helper::get_columns_css( $blockattr, $block_id );
293
+ break;
294
+
295
+ case 'uagb/column':
296
+ $css += UAGB_Block_Helper::get_column_css( $blockattr, $block_id );
297
+ break;
298
+
299
+ case 'uagb/cf7-styler':
300
+ $css += UAGB_Block_Helper::get_cf7_styler_css( $blockattr, $block_id );
301
+ UAGB_Block_Helper::blocks_cf7_styler_gfont( $blockattr );
302
+ break;
303
+
304
+ case 'uagb/marketing-button':
305
+ $css += UAGB_Block_Helper::get_marketing_btn_css( $blockattr, $block_id );
306
+ UAGB_Block_Helper::blocks_marketing_btn_gfont( $blockattr );
307
+ break;
308
+
309
+ case 'uagb/gf-styler':
310
+ $css += UAGB_Block_Helper::get_gf_styler_css( $blockattr, $block_id );
311
+ UAGB_Block_Helper::blocks_gf_styler_gfont( $blockattr );
312
+ break;
313
+
314
+ default:
315
+ // Nothing to do here.
316
+ break;
317
+ }
318
+
319
+ if ( isset( $block['innerBlocks'] ) ) {
320
+ foreach ( $block['innerBlocks'] as $j => $inner_block ) {
321
+ if ( 'core/block' == $inner_block['blockName'] ) {
322
+ $id = ( isset( $inner_block['attrs']['ref'] ) ) ? $inner_block['attrs']['ref'] : 0;
323
+
324
+ if ( $id ) {
325
+ $content = get_post_field( 'post_content', $id );
326
+
327
+ $reusable_blocks = $this->parse( $content );
328
+
329
+ $this->get_stylesheet( $reusable_blocks );
330
+ }
331
+ } else {
332
+ // Get CSS for the Block.
333
+ $inner_block_css = $this->get_block_css( $inner_block );
334
+
335
+ $css_desktop = ( isset( $css['desktop'] ) ? $css['desktop'] : '' );
336
+ $css_tablet = ( isset( $css['tablet'] ) ? $css['tablet'] : '' );
337
+ $css_mobile = ( isset( $css['mobile'] ) ? $css['mobile'] : '' );
338
+
339
+ if( isset( $inner_block_css['desktop'] ) ){
340
+ $css['desktop'] = $css_desktop . $inner_block_css['desktop'];
341
+ $css['tablet'] = $css_tablet . $inner_block_css['tablet'];
342
+ $css['mobile'] = $css_mobile . $inner_block_css['mobile'];
343
+ }
344
+ }
345
+ }
346
+ }
347
+
348
+ return $css;
349
+
350
+ // @codingStandardsIgnoreEnd
351
+ }
352
+
353
+ /**
354
+ * Adds Google fonts all blocks.
355
+ *
356
+ * @param array $load_google_font the blocks attr.
357
+ * @param array $font_family the blocks attr.
358
+ * @param array $font_weight the blocks attr.
359
+ * @param array $font_subset the blocks attr.
360
+ */
361
+ public static function blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset ) {
362
+
363
+ if ( true == $load_google_font ) {
364
+ if ( ! array_key_exists( $font_family, self::$gfonts ) ) {
365
+ $add_font = array(
366
+ 'fontfamily' => $font_family,
367
+ 'fontvariants' => ( isset( $font_weight ) && ! empty( $font_weight ) ? array( $font_weight ) : array() ),
368
+ 'fontsubsets' => ( isset( $font_subset ) && ! empty( $font_subset ) ? array( $font_subset ) : array() ),
369
+ );
370
+ self::$gfonts[ $font_family ] = $add_font;
371
+ } else {
372
+ if ( isset( $font_weight ) && ! empty( $font_weight ) ) {
373
+ if ( ! in_array( $font_weight, self::$gfonts[ $font_family ]['fontvariants'], true ) ) {
374
+ array_push( self::$gfonts[ $font_family ]['fontvariants'], $font_weight );
375
+ }
376
+ }
377
+ if ( isset( $font_subset ) && ! empty( $font_subset ) ) {
378
+ if ( ! in_array( $font_subset, self::$gfonts[ $font_family ]['fontsubsets'], true ) ) {
379
+ array_push( self::$gfonts[ $font_family ]['fontsubsets'], $font_subset );
380
+ }
381
+ }
382
+ }
383
+ }
384
+ }
385
+
386
+ /**
387
+ * Generates Js recurrsively.
388
+ *
389
+ * @param object $block The block object.
390
+ * @since 1.6.0
391
+ */
392
+ public function get_block_js( $block ) {
393
+
394
+ // @codingStandardsIgnoreStart
395
+
396
+ $block = ( array ) $block;
397
+
398
+ $name = $block['blockName'];
399
+ $js = '';
400
+
401
+ if( ! isset( $name ) ) {
402
+ return;
403
+ }
404
+
405
+ if ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) {
406
+ $blockattr = $block['attrs'];
407
+ if ( isset( $blockattr['block_id'] ) ) {
408
+ $block_id = $blockattr['block_id'];
409
+ }
410
+ }
411
+
412
+ switch ( $name ) {
413
+
414
+ case 'uagb/testimonial':
415
+ $js .= UAGB_Block_Helper::get_testimonial_js( $blockattr, $block_id );
416
+ break;
417
+
418
+ case 'uagb/blockquote':
419
+ $js .= UAGB_Block_Helper::get_blockquote_js( $blockattr, $block_id );
420
+ break;
421
+
422
+ case 'uagb/social-share':
423
+ $js .= UAGB_Block_Helper::get_social_share_js( $block_id );
424
+ break;
425
+
426
+ default:
427
+ // Nothing to do here.
428
+ break;
429
+ }
430
+
431
+ if ( isset( $block['innerBlocks'] ) ) {
432
+
433
+ foreach ( $block['innerBlocks'] as $j => $inner_block ) {
434
+
435
+ if ( 'core/block' == $inner_block['blockName'] ) {
436
+ $id = ( isset( $inner_block['attrs']['ref'] ) ) ? $inner_block['attrs']['ref'] : 0;
437
+
438
+ if ( $id ) {
439
+ $content = get_post_field( 'post_content', $id );
440
+
441
+ $reusable_blocks = $this->parse( $content );
442
+
443
+ $this->get_scripts( $reusable_blocks );
444
+ }
445
+ } else {
446
+ // Get JS for the Block.
447
+ $js .= $this->get_block_js( $inner_block );
448
+ }
449
+ }
450
+ }
451
+
452
+ echo $js;
453
+
454
+ // @codingStandardsIgnoreEnd
455
+ }
456
+
457
+ /**
458
+ * Generates stylesheet and appends in head tag.
459
+ *
460
+ * @since 0.0.1
461
+ */
462
+ public function generate_stylesheet() {
463
+
464
+ $this_post = array();
465
+
466
+ if ( is_single() || is_page() || is_404() ) {
467
+ global $post;
468
+ $this_post = $post;
469
+ $this->_generate_stylesheet( $this_post );
470
+ if ( ! is_object( $post ) ) {
471
+ return;
472
+ }
473
+ } elseif ( is_archive() || is_home() || is_search() ) {
474
+ global $wp_query;
475
+
476
+ foreach ( $wp_query as $post ) {
477
+ $this->_generate_stylesheet( $post );
478
+ }
479
+ }
480
+ }
481
+
482
+ /**
483
+ * Generates stylesheet in loop.
484
+ *
485
+ * @param object $this_post Current Post Object.
486
+ * @since 1.7.0
487
+ */
488
+ public function _generate_stylesheet( $this_post ) {
489
+
490
+ if ( has_blocks( get_the_ID() ) ) {
491
+ if ( isset( $this_post->post_content ) ) {
492
+
493
+ $blocks = $this->parse( $this_post->post_content );
494
+ self::$page_blocks = $blocks;
495
+
496
+ if ( ! is_array( $blocks ) || empty( $blocks ) ) {
497
+ return;
498
+ }
499
+
500
+ ob_start();
501
+ ?>
502
+ <style type="text/css" media="all" id="uagb-style-frontend"><?php $this->get_stylesheet( $blocks ); ?></style>
503
+ <?php
504
+ ob_end_flush();
505
+ }
506
+ }
507
+ }
508
+
509
+ /**
510
+ * Generates scripts and appends in footer tag.
511
+ *
512
+ * @since 1.5.0
513
+ */
514
+ public function generate_script() {
515
+
516
+ $blocks = self::$page_blocks;
517
+
518
+ if ( ! is_array( $blocks ) || empty( $blocks ) ) {
519
+ return;
520
+ }
521
+
522
+ ob_start();
523
+ ?>
524
+ <script type="text/javascript" id="uagb-script-frontend">
525
+ ( function( $ ) {
526
+ <?php $this->get_scripts( $blocks ); ?>
527
+ })(jQuery)
528
+ </script>
529
+ <?php
530
+ ob_end_flush();
531
+ }
532
+
533
+ /**
534
+ * Parse Guten Block.
535
+ *
536
+ * @param string $content the content string.
537
+ * @since 1.1.0
538
+ */
539
+ public function parse( $content ) {
540
+
541
+ global $wp_version;
542
+
543
+ return ( version_compare( $wp_version, '5', '>=' ) ) ? parse_blocks( $content ) : gutenberg_parse_blocks( $content );
544
+ }
545
+
546
+ /**
547
+ * Generates stylesheet for reusable blocks.
548
+ *
549
+ * @param array $blocks Blocks array.
550
+ * @since 1.1.0
551
+ */
552
+ public function get_stylesheet( $blocks ) {
553
+
554
+ $desktop = '';
555
+ $tablet = '';
556
+ $mobile = '';
557
+
558
+ $tab_styling_css = '';
559
+ $mob_styling_css = '';
560
+
561
+ foreach ( $blocks as $i => $block ) {
562
+
563
+ if ( is_array( $block ) ) {
564
+ if ( 'core/block' == $block['blockName'] ) {
565
+ $id = ( isset( $block['attrs']['ref'] ) ) ? $block['attrs']['ref'] : 0;
566
+
567
+ if ( $id ) {
568
+ $content = get_post_field( 'post_content', $id );
569
+
570
+ $reusable_blocks = $this->parse( $content );
571
+
572
+ $this->get_stylesheet( $reusable_blocks );
573
+
574
+ }
575
+ } else {
576
+ // Get CSS for the Block.
577
+ $css = $this->get_block_css( $block );
578
+
579
+ if ( isset( $css['desktop'] ) ) {
580
+ $desktop .= $css['desktop'];
581
+ $tablet .= $css['tablet'];
582
+ $mobile .= $css['mobile'];
583
+ }
584
+ }
585
+ }
586
+ }
587
+
588
+ if ( ! empty( $tablet ) ) {
589
+ $tab_styling_css .= '@media only screen and (max-width: ' . UAGB_TABLET_BREAKPOINT . 'px) {';
590
+ $tab_styling_css .= $tablet;
591
+ $tab_styling_css .= '}';
592
+ }
593
+
594
+ if ( ! empty( $mobile ) ) {
595
+ $mob_styling_css .= '@media only screen and (max-width: ' . UAGB_MOBILE_BREAKPOINT . 'px) {';
596
+ $mob_styling_css .= $mobile;
597
+ $mob_styling_css .= '}';
598
+ }
599
+
600
+ echo $desktop . $tab_styling_css . $mob_styling_css;
601
+ }
602
+
603
+
604
+ /**
605
+ * Generates scripts for reusable blocks.
606
+ *
607
+ * @param array $blocks Blocks array.
608
+ * @since 1.6.0
609
+ */
610
+ public function get_scripts( $blocks ) {
611
+
612
+ foreach ( $blocks as $i => $block ) {
613
+ if ( is_array( $block ) ) {
614
+ if ( 'core/block' == $block['blockName'] ) {
615
+ $id = ( isset( $block['attrs']['ref'] ) ) ? $block['attrs']['ref'] : 0;
616
+
617
+ if ( $id ) {
618
+ $content = get_post_field( 'post_content', $id );
619
+
620
+ $reusable_blocks = $this->parse( $content );
621
+
622
+ $this->get_scripts( $reusable_blocks );
623
+ }
624
+ } else {
625
+ // Get JS for the Block.
626
+ $this->get_block_js( $block );
627
+ }
628
+ }
629
+ }
630
+ }
631
+
632
+ /**
633
+ * Get Buttons default array.
634
+ *
635
+ * @since 0.0.1
636
+ */
637
+ public static function get_button_defaults() {
638
+
639
+ $default = array();
640
+
641
+ for ( $i = 1; $i <= 2; $i++ ) {
642
+ array_push(
643
+ $default,
644
+ array(
645
+ 'size' => '',
646
+ 'vPadding' => 10,
647
+ 'hPadding' => 14,
648
+ 'borderWidth' => 1,
649
+ 'borderRadius' => 2,
650
+ 'borderStyle' => 'solid',
651
+ 'borderColor' => '#333',
652
+ 'borderHColor' => '#333',
653
+ 'color' => '#333',
654
+ 'background' => '',
655
+ 'hColor' => '#333',
656
+ 'hBackground' => '',
657
+ 'sizeType' => 'px',
658
+ 'sizeMobile' => '',
659
+ 'sizeTablet' => '',
660
+ 'lineHeightType' => 'em',
661
+ 'lineHeight' => '',
662
+ 'lineHeightMobile' => '',
663
+ 'lineHeightTablet' => '',
664
+ )
665
+ );
666
+ }
667
+
668
+ return $default;
669
+ }
670
+
671
+ /**
672
+ * Returns an option from the database for
673
+ * the admin settings page.
674
+ *
675
+ * @param string $key The option key.
676
+ * @param mixed $default Option default value if option is not available.
677
+ * @param boolean $network_override Whether to allow the network admin setting to be overridden on subsites.
678
+ * @return string Return the option value
679
+ */
680
+ public static function get_admin_settings_option( $key, $default = false, $network_override = false ) {
681
+
682
+ // Get the site-wide option if we're in the network admin.
683
+ if ( $network_override && is_multisite() ) {
684
+ $value = get_site_option( $key, $default );
685
+ } else {
686
+ $value = get_option( $key, $default );
687
+ }
688
+
689
+ return $value;
690
+ }
691
+
692
+ /**
693
+ * Updates an option from the admin settings page.
694
+ *
695
+ * @param string $key The option key.
696
+ * @param mixed $value The value to update.
697
+ * @param bool $network Whether to allow the network admin setting to be overridden on subsites.
698
+ * @return mixed
699
+ */
700
+ public static function update_admin_settings_option( $key, $value, $network = false ) {
701
+
702
+ // Update the site-wide option since we're in the network admin.
703
+ if ( $network && is_multisite() ) {
704
+ update_site_option( $key, $value );
705
+ } else {
706
+ update_option( $key, $value );
707
+ }
708
+ }
709
+
710
+ /**
711
+ * Is Knowledgebase.
712
+ *
713
+ * @return string
714
+ * @since 0.0.1
715
+ */
716
+ public static function knowledgebase_data() {
717
+
718
+ $knowledgebase = array(
719
+ 'enable_knowledgebase' => true,
720
+ 'knowledgebase_url' => 'https://www.ultimategutenberg.com/docs/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard',
721
+ );
722
+
723
+ return $knowledgebase;
724
+ }
725
+
726
+ /**
727
+ * Is Knowledgebase.
728
+ *
729
+ * @return string
730
+ * @since 0.0.1
731
+ */
732
+ public static function support_data() {
733
+
734
+ $support = array(
735
+ 'enable_support' => true,
736
+ 'support_url' => 'https://www.ultimategutenberg.com/support/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard',
737
+ );
738
+
739
+ return $support;
740
+ }
741
+
742
+ /**
743
+ * Provide Widget settings.
744
+ *
745
+ * @return array()
746
+ * @since 0.0.1
747
+ */
748
+ public static function get_block_options() {
749
+
750
+ $blocks = self::$block_list;
751
+ $saved_blocks = self::get_admin_settings_option( '_uagb_blocks' );
752
+ if ( is_array( $blocks ) ) {
753
+ foreach ( $blocks as $slug => $data ) {
754
+ $_slug = str_replace( 'uagb/', '', $slug );
755
+
756
+ if ( isset( $saved_blocks[ $_slug ] ) ) {
757
+ if ( 'disabled' === $saved_blocks[ $_slug ] ) {
758
+ $blocks[ $slug ]['is_activate'] = false;
759
+ } else {
760
+ $blocks[ $slug ]['is_activate'] = true;
761
+ }
762
+ } else {
763
+ $blocks[ $slug ]['is_activate'] = ( isset( $data['default'] ) ) ? $data['default'] : false;
764
+ }
765
+ }
766
+ }
767
+
768
+ self::$block_list = $blocks;
769
+
770
+ return apply_filters( 'uagb_enabled_blocks', self::$block_list );
771
+ }
772
+
773
+ /**
774
+ * Get Json Data.
775
+ *
776
+ * @since 1.8.1
777
+ * @return Array
778
+ */
779
+ public static function backend_load_font_awesome_icons() {
780
+
781
+ $json_file = UAGB_DIR . 'dist/blocks/uagb-controls/UAGBIcon.json';
782
+ if ( ! file_exists( $json_file ) ) {
783
+ return array();
784
+ }
785
+
786
+ // Function has already run.
787
+ if ( null !== self::$icon_json ) {
788
+ return self::$icon_json;
789
+ }
790
+
791
+ $str = file_get_contents( $json_file );
792
+ self::$icon_json = json_decode( $str, true );
793
+ return self::$icon_json;
794
+ }
795
+
796
+ /**
797
+ * Generate SVG.
798
+ *
799
+ * @since 1.8.1
800
+ * @param array $icon Decoded fontawesome json file data.
801
+ * @return string
802
+ */
803
+ public static function render_svg_html( $icon ) {
804
+ $icon = str_replace( 'far', '', $icon );
805
+ $icon = str_replace( 'fas', '', $icon );
806
+ $icon = str_replace( 'fab', '', $icon );
807
+ $icon = str_replace( 'fa-', '', $icon );
808
+ $icon = str_replace( 'fa', '', $icon );
809
+ $icon = sanitize_text_field( esc_attr( $icon ) );
810
+
811
+ $json = UAGB_Helper::backend_load_font_awesome_icons();
812
+ $path = isset( $json[ $icon ]['svg']['brands'] ) ? $json[ $icon ]['svg']['brands']['path'] : $json[ $icon ]['svg']['solid']['path'];
813
+ $view = isset( $json[ $icon ]['svg']['brands'] ) ? $json[ $icon ]['svg']['brands']['viewBox'] : $json[ $icon ]['svg']['solid']['viewBox'];
814
+ if ( $view ) {
815
+ $view = implode( ' ', $view );
816
+ }
817
+ $htm = '<svg xmlns="http://www.w3.org/2000/svg" viewBox= "' . $view . '"><path d="' . $path . '"></path></svg>';
818
+ return $htm;
819
+ }
820
+
821
+ /**
822
+ * Returns Query.
823
+ *
824
+ * @param array $attributes The block attributes.
825
+ * @param string $block_type The Block Type.
826
+ * @since 1.8.2
827
+ */
828
+ public static function get_query( $attributes, $block_type ) {
829
+
830
+ // Block type is grid/masonry/carousel/timeline.
831
+ $query_args = array(
832
+ 'posts_per_page' => ( isset( $attributes['postsToShow'] ) ) ? $attributes['postsToShow'] : 6,
833
+ 'post_status' => 'publish',
834
+ 'post_type' => ( isset( $attributes['postType'] ) ) ? $attributes['postType'] : 'post',
835
+ 'order' => ( isset( $attributes['order'] ) ) ? $attributes['order'] : 'desc',
836
+ 'orderby' => ( isset( $attributes['orderBy'] ) ) ? $attributes['orderBy'] : 'date',
837
+ 'ignore_sticky_posts' => 1,
838
+ );
839
+
840
+ if ( isset( $attributes['categories'] ) && '' != $attributes['categories'] ) {
841
+ $query_args['tax_query'][] = array(
842
+ 'taxonomy' => ( isset( $attributes['taxonomyType'] ) ) ? $attributes['taxonomyType'] : 'category',
843
+ 'field' => 'id',
844
+ 'terms' => $attributes['categories'],
845
+ 'operator' => 'IN',
846
+ );
847
+ }
848
+
849
+ $query_args = apply_filters( "uagb_post_query_args_{$block_type}", $query_args );
850
+
851
+ return new WP_Query( $query_args );
852
+ }
853
+
854
+ /**
855
+ * Get size information for all currently-registered image sizes.
856
+ *
857
+ * @global $_wp_additional_image_sizes
858
+ * @uses get_intermediate_image_sizes()
859
+ * @link https://codex.wordpress.org/Function_Reference/get_intermediate_image_sizes
860
+ * @since 1.9.0
861
+ * @return array $sizes Data for all currently-registered image sizes.
862
+ */
863
+ public static function get_image_sizes() {
864
+
865
+ global $_wp_additional_image_sizes;
866
+
867
+ $sizes = get_intermediate_image_sizes();
868
+ $image_sizes = array();
869
+
870
+ $image_sizes[] = array(
871
+ 'value' => 'full',
872
+ 'label' => esc_html__( 'Full', 'ultimate-addons-for-gutenberg' ),
873
+ );
874
+
875
+ foreach ( $sizes as $size ) {
876
+ if ( in_array( $size, array( 'thumbnail', 'medium', 'medium_large', 'large' ) ) ) {
877
+ $image_sizes[] = array(
878
+ 'value' => $size,
879
+ 'label' => ucwords( trim( str_replace( array( '-', '_' ), array( ' ', ' ' ), $size ) ) ),
880
+ );
881
+ } else {
882
+ $image_sizes[] = array(
883
+ 'value' => $size,
884
+ 'label' => sprintf(
885
+ '%1$s (%2$sx%3$s)',
886
+ ucwords( trim( str_replace( array( '-', '_' ), array( ' ', ' ' ), $size ) ) ),
887
+ $_wp_additional_image_sizes[ $size ]['width'],
888
+ $_wp_additional_image_sizes[ $size ]['height']
889
+ ),
890
+ );
891
+ }
892
+ }
893
+
894
+ $image_sizes = apply_filters( 'uagb_post_featured_image_sizes', $image_sizes );
895
+
896
+ return $image_sizes;
897
+ }
898
+
899
+ /**
900
+ * Get Post Types.
901
+ *
902
+ * @since 1.11.0
903
+ * @access public
904
+ */
905
+ public static function get_post_types() {
906
+
907
+ $post_types = get_post_types(
908
+ array(
909
+ 'public' => true,
910
+ 'show_in_rest' => true,
911
+ ),
912
+ 'objects'
913
+ );
914
+
915
+ $options = array();
916
+
917
+ foreach ( $post_types as $post_type ) {
918
+ if ( 'product' == $post_type->name ) {
919
+ continue;
920
+ }
921
+
922
+ $options[] = array(
923
+ 'value' => $post_type->name,
924
+ 'label' => $post_type->label,
925
+ );
926
+ }
927
+
928
+ return apply_filters( 'uagb_loop_post_types', $options );
929
+ }
930
+
931
+ /**
932
+ * Get all taxonomies.
933
+ *
934
+ * @since 1.11.0
935
+ * @access public
936
+ */
937
+ public static function get_related_taxonomy() {
938
+
939
+ $post_types = self::get_post_types();
940
+
941
+ $return_array = array();
942
+
943
+ foreach ( $post_types as $key => $value ) {
944
+ $post_type = $value['value'];
945
+
946
+ $taxonomies = get_object_taxonomies( $post_type, 'objects' );
947
+ $data = array();
948
+
949
+ foreach ( $taxonomies as $tax_slug => $tax ) {
950
+ if ( ! $tax->public || ! $tax->show_ui ) {
951
+ continue;
952
+ }
953
+
954
+ $data[ $tax_slug ] = $tax;
955
+
956
+ $terms = get_terms( $tax_slug );
957
+
958
+ $related_tax = array();
959
+
960
+ if ( ! empty( $terms ) ) {
961
+ foreach ( $terms as $t_index => $t_obj ) {
962
+ $related_tax[] = array(
963
+ 'id' => $t_obj->term_id,
964
+ 'name' => $t_obj->name,
965
+ );
966
+ }
967
+
968
+ $return_array[ $post_type ]['terms'][ $tax_slug ] = $related_tax;
969
+ }
970
+ }
971
+
972
+ $return_array[ $post_type ]['taxonomy'] = $data;
973
+ }
974
+
975
+ return apply_filters( 'uagb_post_loop_taxonomies', $return_array );
976
+ }
977
+
978
+ /**
979
+ * Get flag if more than 5 pages are build using UAG.
980
+ *
981
+ * @since 1.10.0
982
+ * @return boolean true/false Flag if more than 5 pages are build using UAG.
983
+ */
984
+ public static function show_rating_notice() {
985
+
986
+ $posts_created_with_uag = get_option( 'posts-created-with-uagb' );
987
+
988
+ if ( false === $posts_created_with_uag ) {
989
+ $query_args = array(
990
+ 'posts_per_page' => -1,
991
+ 'post_status' => 'publish',
992
+ 'post_type' => 'any',
993
+ );
994
+
995
+ $query = new WP_Query( $query_args );
996
+
997
+ $uag_post_count = 0;
998
+
999
+ if ( isset( $query->post_count ) && $query->post_count > 0 ) {
1000
+ foreach ( $query->posts as $key => $post ) {
1001
+ if ( $uag_post_count >= 5 ) {
1002
+ break;
1003
+ }
1004
+
1005
+ if ( false !== strpos( $post->post_content, '<!-- wp:uagb/' ) ) {
1006
+ $uag_post_count++;
1007
+ }
1008
+ }
1009
+ }
1010
+
1011
+ if ( $uag_post_count >= 5 ) {
1012
+ update_option( 'posts-created-with-uagb', $uag_post_count );
1013
+
1014
+ $posts_created_with_uag = $uag_post_count;
1015
+ }
1016
+ }
1017
+
1018
+ return ( $posts_created_with_uag >= 5 );
1019
+ }
1020
+
1021
+ /**
1022
+ * Get - RGBA Color
1023
+ *
1024
+ * Get HEX color and return RGBA. Default return RGB color.
1025
+ *
1026
+ * @param var $color Gets the color value.
1027
+ * @param var $opacity Gets the opacity value.
1028
+ * @param array $is_array Gets an array of the value.
1029
+ * @since 1.11.0
1030
+ */
1031
+ public static function hex2rgba( $color, $opacity = false, $is_array = false ) {
1032
+
1033
+ $default = $color;
1034
+
1035
+ // Return default if no color provided.
1036
+ if ( empty( $color ) ) {
1037
+ return $default;
1038
+ }
1039
+
1040
+ // Sanitize $color if "#" is provided.
1041
+ if ( '#' == $color[0] ) {
1042
+ $color = substr( $color, 1 );
1043
+ }
1044
+
1045
+ // Check if color has 6 or 3 characters and get values.
1046
+ if ( strlen( $color ) == 6 ) {
1047
+ $hex = array( $color[0] . $color[1], $color[2] . $color[3], $color[4] . $color[5] );
1048
+ } elseif ( strlen( $color ) == 3 ) {
1049
+ $hex = array( $color[0] . $color[0], $color[1] . $color[1], $color[2] . $color[2] );
1050
+ } else {
1051
+ return $default;
1052
+ }
1053
+
1054
+ // Convert hexadec to rgb.
1055
+ $rgb = array_map( 'hexdec', $hex );
1056
+
1057
+ // Check if opacity is set(rgba or rgb).
1058
+ if ( false !== $opacity && '' !== $opacity ) {
1059
+ if ( abs( $opacity ) > 1 ) {
1060
+ $opacity = $opacity / 100;
1061
+ }
1062
+ $output = 'rgba(' . implode( ',', $rgb ) . ',' . $opacity . ')';
1063
+ } else {
1064
+ $output = 'rgb(' . implode( ',', $rgb ) . ')';
1065
+ }
1066
+
1067
+ if ( $is_array ) {
1068
+ return $rgb;
1069
+ } else {
1070
+ // Return rgb(a) color string.
1071
+ return $output;
1072
+ }
1073
+ }
1074
+ }
1075
+
1076
+ /**
1077
+ * Prepare if class 'UAGB_Helper' exist.
1078
+ * Kicking this off by calling 'get_instance()' method
1079
+ */
1080
+ UAGB_Helper::get_instance();
1081
+ }
 
 
 
 
 
 
 
 
 
classes/class-uagb-init-blocks.php CHANGED
@@ -1,366 +1,355 @@
1
- <?php
2
- /**
3
- * UAGB Blocks Initializer
4
- *
5
- * Enqueue CSS/JS of all the blocks.
6
- *
7
- * @since 1.0.0
8
- * @package UAGB
9
- */
10
-
11
- if ( ! defined( 'ABSPATH' ) ) {
12
- exit; // Exit if accessed directly.
13
- }
14
-
15
- /**
16
- * UAGB_Init_Blocks.
17
- *
18
- * @package UAGB
19
- */
20
- class UAGB_Init_Blocks {
21
-
22
-
23
- /**
24
- * Member Variable
25
- *
26
- * @var instance
27
- */
28
- private static $instance;
29
-
30
- /**
31
- * Initiator
32
- */
33
- public static function get_instance() {
34
- if ( ! isset( self::$instance ) ) {
35
- self::$instance = new self;
36
- }
37
- return self::$instance;
38
- }
39
-
40
- /**
41
- * Constructor
42
- */
43
- public function __construct() {
44
- // Hook: Frontend assets.
45
- add_action( 'enqueue_block_assets', array( $this, 'block_assets' ) );
46
-
47
- // Hook: Editor assets.
48
- add_action( 'enqueue_block_editor_assets', array( $this, 'editor_assets' ) );
49
-
50
- add_filter( 'block_categories', array( $this, 'register_block_category' ), 10, 2 );
51
- }
52
-
53
- /**
54
- * Gutenberg block category for UAGB.
55
- *
56
- * @param array $categories Block categories.
57
- * @param object $post Post object.
58
- * @since 1.0.0
59
- */
60
- function register_block_category( $categories, $post ) {
61
- return array_merge(
62
- $categories,
63
- array(
64
- array(
65
- 'slug' => 'uagb',
66
- 'title' => __( 'Ultimate Addons Blocks', 'ultimate-addons-for-gutenberg' ),
67
- ),
68
- )
69
- );
70
- }
71
-
72
- /**
73
- * Enqueue Gutenberg block assets for both frontend + backend.
74
- *
75
- * @since 1.0.0
76
- */
77
- function block_assets() {
78
- // Styles.
79
- wp_enqueue_style(
80
- 'uagb-block-css', // Handle.
81
- UAGB_URL . 'dist/blocks.style.build.css', // Block style CSS.
82
- array(),
83
- UAGB_VER
84
- );
85
-
86
- $blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks', array() );
87
-
88
- $masonry_flag = ( isset( $blocks['post-masonry'] ) && 'disabled' == $blocks['post-masonry'] ) ? false : true;
89
- $cf7_flag = ( isset( $blocks['cf7-styler'] ) && 'disabled' == $blocks['cf7-styler'] ) ? false : true;
90
- $slick_flag = (
91
- ( isset( $blocks['post-carousel'] ) && 'disabled' == $blocks['post-carousel'] ) &&
92
- ( isset( $blocks['testimonial'] ) && 'disabled' == $blocks['testimonial'] )
93
- ) ? false : true;
94
- $timeline_flag = (
95
- ( isset( $blocks['post-timeline'] ) && 'disabled' == $blocks['post-timeline'] ) &&
96
- ( isset( $blocks['content-timeline'] ) && 'disabled' == $blocks['content-timeline'] )
97
- ) ? false : true;
98
-
99
- $carousel_flag = ( isset( $blocks['post-carousel'] ) && 'disabled' == $blocks['post-carousel'] ) ? false : true;
100
-
101
- if ( $masonry_flag ) {
102
-
103
- // Scripts.
104
- wp_enqueue_script(
105
- 'uagb-masonry', // Handle.
106
- UAGB_URL . 'assets/js/isotope.min.js',
107
- array( 'jquery' ), // Dependencies, defined above.
108
- UAGB_VER,
109
- false // Enqueue the script in the footer.
110
- );
111
-
112
- wp_enqueue_script(
113
- 'uagb-imagesloaded', // Handle.
114
- UAGB_URL . 'assets/js/imagesloaded.min.js',
115
- array( 'jquery' ), // Dependencies, defined above.
116
- UAGB_VER,
117
- false // Enqueue the script in the footer.
118
- );
119
- }
120
-
121
- if ( ! ( isset( $blocks['table-of-contents'] ) && 'disabled' == $blocks['table-of-contents'] ) ) {
122
-
123
- wp_enqueue_script(
124
- 'uagb-table-of-contents', // Handle.
125
- UAGB_URL . 'assets/js/table-of-contents.js',
126
- array( 'jquery' ), // Dependencies, defined above.
127
- UAGB_VER,
128
- false // Enqueue the script in the footer.
129
- );
130
- }
131
-
132
- $value = true;
133
-
134
- if ( did_action( 'elementor/loaded' ) ) {
135
- $value = false;
136
- }
137
-
138
- $enable_font_awesome = apply_filters( 'uagb_font_awesome_enable', $value );
139
-
140
- if ( $enable_font_awesome ) {
141
- $font_awesome = apply_filters( 'uagb_font_awesome_url', 'https://use.fontawesome.com/releases/v5.6.0/css/all.css' );
142
- // Font Awesome.
143
- wp_enqueue_style(
144
- 'uagb-fontawesome-css', // Handle.
145
- $font_awesome, // Block style CSS.
146
- array(),
147
- UAGB_VER
148
- );
149
- }
150
-
151
- if ( $slick_flag ) {
152
-
153
- // Scripts.
154
- wp_enqueue_script(
155
- 'uagb-slick-js', // Handle.
156
- UAGB_URL . 'assets/js/slick.min.js',
157
- array( 'jquery' ), // Dependencies, defined above.
158
- UAGB_VER,
159
- false // Enqueue the script in the footer.
160
- );
161
-
162
- // Styles.
163
- wp_enqueue_style(
164
- 'uagb-slick-css', // Handle.
165
- UAGB_URL . 'assets/css/slick.css', // Block style CSS.
166
- array(),
167
- UAGB_VER
168
- );
169
- }
170
-
171
- if ( $timeline_flag ) {
172
-
173
- // Timeline js.
174
- wp_enqueue_script(
175
- 'uagb-timeline-js', // Handle.
176
- UAGB_URL . 'assets/js/timeline.js',
177
- array( 'jquery' ),
178
- UAGB_VER,
179
- true // Enqueue the script in the footer.
180
- );
181
- }
182
-
183
- if ( $carousel_flag ) {
184
- // Carousel js.
185
- wp_enqueue_script(
186
- 'uagb-carousel-js', // Handle.
187
- UAGB_URL . 'assets/js/post-carousel.js',
188
- array( 'jquery' ),
189
- UAGB_VER,
190
- true // Enqueue the script in the footer.
191
- );
192
- }
193
-
194
- if ( ! wp_script_is( 'jquery', 'enqueued' ) ) {
195
- wp_enqueue_script( 'jquery' );
196
- }
197
-
198
- if ( $cf7_flag ) {
199
-
200
- if ( ! wp_script_is( 'contact-form-7', 'enqueued' ) ) {
201
- wp_enqueue_script( 'contact-form-7' );
202
- }
203
-
204
- if ( ! wp_script_is( ' wpcf7-admin', 'enqueued' ) ) {
205
- wp_enqueue_script( ' wpcf7-admin' );
206
- }
207
- }
208
-
209
- } // End function editor_assets().
210
-
211
- /**
212
- * Enqueue Gutenberg block assets for backend editor.
213
- *
214
- * @since 1.0.0
215
- */
216
- function editor_assets() {
217
- // Scripts.
218
- wp_enqueue_script(
219
- 'uagb-block-editor-js', // Handle.
220
- UAGB_URL . 'dist/blocks.build.js',
221
- array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor', 'wp-api-fetch' ), // Dependencies, defined above.
222
- UAGB_VER,
223
- true // Enqueue the script in the footer.
224
- );
225
-
226
- // Styles.
227
- wp_enqueue_style(
228
- 'uagb-block-editor-css', // Handle.
229
- UAGB_URL . 'dist/blocks.editor.build.css', // Block editor CSS.
230
- array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
231
- UAGB_VER
232
- );
233
-
234
- // Common Editor style.
235
- wp_enqueue_style(
236
- 'uagb-block-common-editor-css', // Handle.
237
- UAGB_URL . 'dist/blocks.commoneditorstyle.build.css', // Block editor CSS.
238
- array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
239
- UAGB_VER
240
- );
241
-
242
- wp_enqueue_script( 'uagb-deactivate-block-js', UAGB_URL . 'dist/blocks-deactivate.js', array( 'wp-blocks' ), UAGB_VER, true );
243
-
244
- $blocks = array();
245
- $saved_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks' );
246
-
247
- if ( is_array( $saved_blocks ) ) {
248
- foreach ( $saved_blocks as $slug => $data ) {
249
- $_slug = 'uagb/' . $slug;
250
- $current_block = UAGB_Config::$block_attributes[ $_slug ];
251
-
252
- if ( isset( $current_block['is_child'] ) && $current_block['is_child'] ) {
253
- continue;
254
- }
255
-
256
- if ( isset( $saved_blocks[ $slug ] ) ) {
257
- if ( 'disabled' === $saved_blocks[ $slug ] ) {
258
- array_push( $blocks, $_slug );
259
- }
260
- }
261
- }
262
- }
263
-
264
- wp_localize_script(
265
- 'uagb-deactivate-block-js',
266
- 'uagb_deactivate_blocks',
267
- array(
268
- 'deactivated_blocks' => $blocks,
269
- )
270
- );
271
-
272
- wp_localize_script(
273
- 'uagb-block-editor-js',
274
- 'uagb_blocks_info',
275
- array(
276
- 'blocks' => UAGB_Config::get_block_attributes(),
277
- 'category' => 'uagb',
278
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
279
- 'cf7_forms' => $this->get_cf7_forms(),
280
- 'gf_forms' => $this->get_gravity_forms(),
281
- 'tablet_breakpoint' => UAGB_TABLET_BREAKPOINT,
282
- 'mobile_breakpoint' => UAGB_MOBILE_BREAKPOINT,
283
- 'image_sizes' => UAGB_Helper::get_image_sizes(),
284
- 'post_types' => UAGB_Helper::get_post_types(),
285
- 'all_taxonomy' => UAGB_Helper::get_related_taxonomy(),
286
- )
287
- );
288
- } // End function editor_assets().
289
-
290
-
291
- /**
292
- * Function to integrate CF7 Forms.
293
- *
294
- * @since 1.10.0
295
- */
296
- public function get_cf7_forms() {
297
- $field_options = array();
298
-
299
- if ( class_exists( 'WPCF7_ContactForm' ) ) {
300
- $args = array(
301
- 'post_type' => 'wpcf7_contact_form',
302
- 'posts_per_page' => -1,
303
- );
304
- $forms = get_posts( $args );
305
- $field_options[0] = array(
306
- 'value' => -1,
307
- 'label' => __( 'Select Form', 'ultimate-addons-for-gutenberg' ),
308
- );
309
- if ( $forms ) {
310
- foreach ( $forms as $form ) {
311
- $field_options[] = array(
312
- 'value' => $form->ID,
313
- 'label' => $form->post_title,
314
- );
315
- }
316
- }
317
- }
318
-
319
- if ( empty( $field_options ) ) {
320
- $field_options = array(
321
- '-1' => __( 'You have not added any Contact Form 7 yet.', 'ultimate-addons-for-gutenberg' ),
322
- );
323
- }
324
- return $field_options;
325
- }
326
-
327
- /**
328
- * Returns all gravity forms with ids
329
- *
330
- * @since 1.12.0
331
- * @return array Key Value paired array.
332
- */
333
- public function get_gravity_forms() {
334
- $field_options = array();
335
-
336
- if ( class_exists( 'GFForms' ) ) {
337
- $forms = RGFormsModel::get_forms( null, 'title' );
338
- $field_options[0] = array(
339
- 'value' => -1,
340
- 'label' => __( 'Select Form', 'ultimate-addons-for-gutenberg' ),
341
- );
342
- if ( is_array( $forms ) ) {
343
- foreach ( $forms as $form ) {
344
- $field_options[] = array(
345
- 'value' => $form->id,
346
- 'label' => $form->title,
347
- );
348
- }
349
- }
350
- }
351
-
352
- if ( empty( $field_options ) ) {
353
- $field_options = array(
354
- '-1' => __( 'You have not added any Gravity Forms yet.', 'ultimate-addons-for-gutenberg' ),
355
- );
356
- }
357
-
358
- return $field_options;
359
- }
360
- }
361
-
362
- /**
363
- * Prepare if class 'UAGB_Init_Blocks' exist.
364
- * Kicking this off by calling 'get_instance()' method
365
- */
366
- UAGB_Init_Blocks::get_instance();
1
+ <?php
2
+ /**
3
+ * UAGB Blocks Initializer
4
+ *
5
+ * Enqueue CSS/JS of all the blocks.
6
+ *
7
+ * @since 1.0.0
8
+ * @package UAGB
9
+ */
10
+
11
+ if ( ! defined( 'ABSPATH' ) ) {
12
+ exit; // Exit if accessed directly.
13
+ }
14
+
15
+ /**
16
+ * UAGB_Init_Blocks.
17
+ *
18
+ * @package UAGB
19
+ */
20
+ class UAGB_Init_Blocks {
21
+
22
+
23
+ /**
24
+ * Member Variable
25
+ *
26
+ * @var instance
27
+ */
28
+ private static $instance;
29
+
30
+ /**
31
+ * Initiator
32
+ */
33
+ public static function get_instance() {
34
+ if ( ! isset( self::$instance ) ) {
35
+ self::$instance = new self;
36
+ }
37
+ return self::$instance;
38
+ }
39
+
40
+ /**
41
+ * Constructor
42
+ */
43
+ public function __construct() {
44
+ // Hook: Frontend assets.
45
+ add_action( 'enqueue_block_assets', array( $this, 'block_assets' ) );
46
+
47
+ // Hook: Editor assets.
48
+ add_action( 'enqueue_block_editor_assets', array( $this, 'editor_assets' ) );
49
+
50
+ add_filter( 'block_categories', array( $this, 'register_block_category' ), 10, 2 );
51
+ }
52
+
53
+ /**
54
+ * Gutenberg block category for UAGB.
55
+ *
56
+ * @param array $categories Block categories.
57
+ * @param object $post Post object.
58
+ * @since 1.0.0
59
+ */
60
+ function register_block_category( $categories, $post ) {
61
+ return array_merge(
62
+ $categories,
63
+ array(
64
+ array(
65
+ 'slug' => 'uagb',
66
+ 'title' => __( 'Ultimate Addons Blocks', 'ultimate-addons-for-gutenberg' ),
67
+ ),
68
+ )
69
+ );
70
+ }
71
+
72
+ /**
73
+ * Enqueue Gutenberg block assets for both frontend + backend.
74
+ *
75
+ * @since 1.0.0
76
+ */
77
+ function block_assets() {
78
+ // Styles.
79
+ wp_enqueue_style(
80
+ 'uagb-block-css', // Handle.
81
+ UAGB_URL . 'dist/blocks.style.build.css', // Block style CSS.
82
+ array(),
83
+ UAGB_VER
84
+ );
85
+
86
+ $blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks', array() );
87
+
88
+ $masonry_flag = ( isset( $blocks['post-masonry'] ) && 'disabled' == $blocks['post-masonry'] ) ? false : true;
89
+ $cf7_flag = ( isset( $blocks['cf7-styler'] ) && 'disabled' == $blocks['cf7-styler'] ) ? false : true;
90
+ $slick_flag = (
91
+ ( isset( $blocks['post-carousel'] ) && 'disabled' == $blocks['post-carousel'] ) &&
92
+ ( isset( $blocks['testimonial'] ) && 'disabled' == $blocks['testimonial'] )
93
+ ) ? false : true;
94
+ $timeline_flag = (
95
+ ( isset( $blocks['post-timeline'] ) && 'disabled' == $blocks['post-timeline'] ) &&
96
+ ( isset( $blocks['content-timeline'] ) && 'disabled' == $blocks['content-timeline'] )
97
+ ) ? false : true;
98
+
99
+ $carousel_flag = ( isset( $blocks['post-carousel'] ) && 'disabled' == $blocks['post-carousel'] ) ? false : true;
100
+
101
+ if ( $masonry_flag ) {
102
+
103
+ // Scripts.
104
+ wp_enqueue_script(
105
+ 'uagb-masonry', // Handle.
106
+ UAGB_URL . 'assets/js/isotope.min.js',
107
+ array( 'jquery' ), // Dependencies, defined above.
108
+ UAGB_VER,
109
+ false // Enqueue the script in the footer.
110
+ );
111
+
112
+ wp_enqueue_script(
113
+ 'uagb-imagesloaded', // Handle.
114
+ UAGB_URL . 'assets/js/imagesloaded.min.js',
115
+ array( 'jquery' ), // Dependencies, defined above.
116
+ UAGB_VER,
117
+ false // Enqueue the script in the footer.
118
+ );
119
+ }
120
+
121
+ $value = true;
122
+
123
+ if ( did_action( 'elementor/loaded' ) ) {
124
+ $value = false;
125
+ }
126
+
127
+ $enable_font_awesome = apply_filters( 'uagb_font_awesome_enable', $value );
128
+
129
+ if ( $enable_font_awesome ) {
130
+ $font_awesome = apply_filters( 'uagb_font_awesome_url', 'https://use.fontawesome.com/releases/v5.6.0/css/all.css' );
131
+ // Font Awesome.
132
+ wp_enqueue_style(
133
+ 'uagb-fontawesome-css', // Handle.
134
+ $font_awesome, // Block style CSS.
135
+ array(),
136
+ UAGB_VER
137
+ );
138
+ }
139
+
140
+ if ( $slick_flag ) {
141
+
142
+ // Scripts.
143
+ wp_enqueue_script(
144
+ 'uagb-slick-js', // Handle.
145
+ UAGB_URL . 'assets/js/slick.min.js',
146
+ array( 'jquery' ), // Dependencies, defined above.
147
+ UAGB_VER,
148
+ false // Enqueue the script in the footer.
149
+ );
150
+
151
+ // Styles.
152
+ wp_enqueue_style(
153
+ 'uagb-slick-css', // Handle.
154
+ UAGB_URL . 'assets/css/slick.css', // Block style CSS.
155
+ array(),
156
+ UAGB_VER
157
+ );
158
+ }
159
+
160
+ if ( $timeline_flag ) {
161
+
162
+ // Timeline js.
163
+ wp_enqueue_script(
164
+ 'uagb-timeline-js', // Handle.
165
+ UAGB_URL . 'assets/js/timeline.js',
166
+ array( 'jquery' ),
167
+ UAGB_VER,
168
+ true // Enqueue the script in the footer.
169
+ );
170
+ }
171
+
172
+ if ( $carousel_flag ) {
173
+ // Carousel js.
174
+ wp_enqueue_script(
175
+ 'uagb-carousel-js', // Handle.
176
+ UAGB_URL . 'assets/js/post-carousel.js',
177
+ array( 'jquery' ),
178
+ UAGB_VER,
179
+ true // Enqueue the script in the footer.
180
+ );
181
+ }
182
+
183
+ if ( ! wp_script_is( 'jquery', 'enqueued' ) ) {
184
+ wp_enqueue_script( 'jquery' );
185
+ }
186
+
187
+ if ( $cf7_flag ) {
188
+
189
+ if ( ! wp_script_is( 'contact-form-7', 'enqueued' ) ) {
190
+ wp_enqueue_script( 'contact-form-7' );
191
+ }
192
+
193
+ if ( ! wp_script_is( ' wpcf7-admin', 'enqueued' ) ) {
194
+ wp_enqueue_script( ' wpcf7-admin' );
195
+ }
196
+ }
197
+
198
+ } // End function editor_assets().
199
+
200
+ /**
201
+ * Enqueue Gutenberg block assets for backend editor.
202
+ *
203
+ * @since 1.0.0
204
+ */
205
+ function editor_assets() {
206
+ // Scripts.
207
+ wp_enqueue_script(
208
+ 'uagb-block-editor-js', // Handle.
209
+ UAGB_URL . 'dist/blocks.build.js',
210
+ array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor', 'wp-api-fetch' ), // Dependencies, defined above.
211
+ UAGB_VER,
212
+ true // Enqueue the script in the footer.
213
+ );
214
+
215
+ // Styles.
216
+ wp_enqueue_style(
217
+ 'uagb-block-editor-css', // Handle.
218
+ UAGB_URL . 'dist/blocks.editor.build.css', // Block editor CSS.
219
+ array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
220
+ UAGB_VER
221
+ );
222
+
223
+ // Common Editor style.
224
+ wp_enqueue_style(
225
+ 'uagb-block-common-editor-css', // Handle.
226
+ UAGB_URL . 'dist/blocks.commoneditorstyle.build.css', // Block editor CSS.
227
+ array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
228
+ UAGB_VER
229
+ );
230
+
231
+ wp_enqueue_script( 'uagb-deactivate-block-js', UAGB_URL . 'dist/blocks-deactivate.js', array( 'wp-blocks' ), UAGB_VER, true );
232
+
233
+ $blocks = array();
234
+ $saved_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks' );
235
+
236
+ if ( is_array( $saved_blocks ) ) {
237
+ foreach ( $saved_blocks as $slug => $data ) {
238
+ $_slug = 'uagb/' . $slug;
239
+ $current_block = UAGB_Config::$block_attributes[ $_slug ];
240
+
241
+ if ( isset( $current_block['is_child'] ) && $current_block['is_child'] ) {
242
+ continue;
243
+ }
244
+
245
+ if ( isset( $saved_blocks[ $slug ] ) ) {
246
+ if ( 'disabled' === $saved_blocks[ $slug ] ) {
247
+ array_push( $blocks, $_slug );
248
+ }
249
+ }
250
+ }
251
+ }
252
+
253
+ wp_localize_script(
254
+ 'uagb-deactivate-block-js',
255
+ 'uagb_deactivate_blocks',
256
+ array(
257
+ 'deactivated_blocks' => $blocks,
258
+ )
259
+ );
260
+
261
+ wp_localize_script(
262
+ 'uagb-block-editor-js',
263
+ 'uagb_blocks_info',
264
+ array(
265
+ 'blocks' => UAGB_Config::get_block_attributes(),
266
+ 'category' => 'uagb',
267
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
268
+ 'cf7_forms' => $this->get_cf7_forms(),
269
+ 'gf_forms' => $this->get_gravity_forms(),
270
+ 'tablet_breakpoint' => UAGB_TABLET_BREAKPOINT,
271
+ 'mobile_breakpoint' => UAGB_MOBILE_BREAKPOINT,
272
+ 'image_sizes' => UAGB_Helper::get_image_sizes(),
273
+ 'post_types' => UAGB_Helper::get_post_types(),
274
+ 'all_taxonomy' => UAGB_Helper::get_related_taxonomy(),
275
+ )
276
+ );
277
+ } // End function editor_assets().
278
+
279
+
280
+ /**
281
+ * Function to integrate CF7 Forms.
282
+ *
283
+ * @since 1.10.0
284
+ */
285
+ public function get_cf7_forms() {
286
+ $field_options = array();
287
+
288
+ if ( class_exists( 'WPCF7_ContactForm' ) ) {
289
+ $args = array(
290
+ 'post_type' => 'wpcf7_contact_form',
291
+ 'posts_per_page' => -1,
292
+ );
293
+ $forms = get_posts( $args );
294
+ $field_options[0] = array(
295
+ 'value' => -1,
296
+ 'label' => __( 'Select Form', 'ultimate-addons-for-gutenberg' ),
297
+ );
298
+ if ( $forms ) {
299
+ foreach ( $forms as $form ) {
300
+ $field_options[] = array(
301
+ 'value' => $form->ID,
302
+ 'label' => $form->post_title,
303
+ );
304
+ }
305
+ }
306
+ }
307
+
308
+ if ( empty( $field_options ) ) {
309
+ $field_options = array(
310
+ '-1' => __( 'You have not added any Contact Form 7 yet.', 'ultimate-addons-for-gutenberg' ),
311
+ );
312
+ }
313
+ return $field_options;
314
+ }
315
+
316
+ /**
317
+ * Returns all gravity forms with ids
318
+ *
319
+ * @since 1.12.0
320
+ * @return array Key Value paired array.
321
+ */
322
+ public function get_gravity_forms() {
323
+ $field_options = array();
324
+
325
+ if ( class_exists( 'GFForms' ) ) {
326
+ $forms = RGFormsModel::get_forms( null, 'title' );
327
+ $field_options[0] = array(
328
+ 'value' => -1,
329
+ 'label' => __( 'Select Form', 'ultimate-addons-for-gutenberg' ),
330
+ );
331
+ if ( is_array( $forms ) ) {
332
+ foreach ( $forms as $form ) {
333
+ $field_options[] = array(
334
+ 'value' => $form->id,
335
+ 'label' => $form->title,
336
+ );
337
+ }
338
+ }
339
+ }
340
+
341
+ if ( empty( $field_options ) ) {
342
+ $field_options = array(
343
+ '-1' => __( 'You have not added any Gravity Forms yet.', 'ultimate-addons-for-gutenberg' ),
344
+ );
345
+ }
346
+
347
+ return $field_options;
348
+ }
349
+ }
350
+
351
+ /**
352
+ * Prepare if class 'UAGB_Init_Blocks' exist.
353
+ * Kicking this off by calling 'get_instance()' method
354
+ */
355
+ UAGB_Init_Blocks::get_instance();
 
 
 
 
 
 
 
 
 
 
 
classes/class-uagb-loader.php CHANGED
@@ -73,7 +73,7 @@ if ( ! class_exists( 'UAGB_Loader' ) ) {
73
  define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
74
  define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
75
  define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
76
- define( 'UAGB_VER', '1.12.4' );
77
  define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
78
  define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
79
  define( 'UAGB_SLUG', 'uag' );
73
  define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
74
  define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
75
  define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
76
+ define( 'UAGB_VER', '1.12.5' );
77
  define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
78
  define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
79
  define( 'UAGB_SLUG', 'uag' );
dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(a){if(n[a])return n[a].exports;var l=n[a]={i:a,l:!1,exports:{}};return e[a].call(l.exports,l,l.exports,t),l.l=!0,l.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=148)}([function(e,t,n){var a,l;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var l=typeof a;if("string"===l||"number"===l)e.push(a);else if(Array.isArray(a)&&a.length){var i=n.apply(null,a);i&&e.push(i)}else if("object"===l)for(var o in a)r.call(a,o)&&a[o]&&e.push(o)}}return e.join(" ")}var r={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(a=[],void 0!==(l=function(){return n}.apply(t,a))&&(e.exports=l))}()},function(e,t,n){"use strict";var a=wp.element.createElement,l={section:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M20 18.008h-20v-16.016h20v16.016zM1.172 16.836h17.656v-13.672h-17.656v13.672z"}),a("path",{fill:"#4a00e0",d:"M7.617 4.604h4.766v1.172h-4.766v-1.172z"}),a("path",{fill:"#4a00e0",d:"M8.998 14.385h-6.237v-6.238h6.238v6.238zM3.932 13.213h3.894v-3.894h-3.894v3.894z"}),a("path",{fill:"#4a00e0",d:"M17.24 11.852h-6.237v-3.705h6.238v3.705zM12.174 10.68h3.894v-1.361h-3.894v1.361z"}),a("path",{fill:"#4a00e0",d:"M11.588 13.024h5.066v1.172h-5.066v-1.172z"})),buttons:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M20 18.008h-20v-16.016h20v16.016zM1.172 16.836h17.656v-13.672h-17.656v13.672z"}),a("path",{fill:"#4a00e0",d:"M10.758 6.289h-7.421v7.421l12.987 0.001v-7.422h-5.566zM5.192 11.855v-3.711h3.711v3.711h-3.711zM14.469 11.855h-3.711v-3.711h3.711v3.711z"})),advanced_heading:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M0 18h20v2h-20v-2z"}),a("path",{fill:"#4a00e0",d:"M11 0h-2l-7.25 16h2.25l2.21-5h7.59l2.2 5h2.25l-7.25-16zM7.090 9l2.91-6.59 2.91 6.59h-5.82z"})),google_map:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M10 0c-4.112 0-7.458 3.347-7.458 7.461 0 6.13 6.716 12.115 7.002 12.367 0.131 0.115 0.293 0.172 0.456 0.172s0.326-0.058 0.456-0.172c0.286-0.252 7.002-6.237 7.002-12.367 0-4.114-3.345-7.461-7.458-7.461v0zM10 18.363c-1.485-1.439-6.077-6.265-6.077-10.902 0-3.353 2.726-6.080 6.077-6.080s6.077 2.728 6.077 6.080c0 4.637-4.592 9.463-6.077 10.902v0z"}),a("path",{fill:"#4a00e0",d:"M10 3.986c-1.904 0-3.453 1.559-3.453 3.475s1.549 3.476 3.453 3.476c1.904 0 3.453-1.559 3.453-3.476s-1.549-3.475-3.453-3.475v0zM10 9.555c-1.142 0-2.071-0.939-2.071-2.094s0.929-2.095 2.071-2.095 2.072 0.94 2.072 2.095c0 1.155-0.93 2.094-2.072 2.094v0z"})),info_box:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M0 1.992v16.016h20v-16.016h-20zM11.406 16.836h-10.234v-10.898h10.234v10.898zM18.828 16.836h-6.25v-2.852h6.25v2.852zM18.828 12.813h-6.25v-6.875h6.25v6.875zM1.172 4.766v-1.602h17.656v1.602h-17.656z"}),a("path",{fill:"#4a00e0",d:"M2.652 15.325h7.274v-7.877h-7.274v7.877zM3.824 8.62h4.931v5.534h-4.931v-5.534z"}),a("path",{fill:"#4a00e0",d:"M13.486 10.13h4.434v1.172h-4.434v-1.172z"}),a("path",{fill:"#4a00e0",d:"M13.486 7.448h4.434v1.172h-4.434v-1.172z"})),post_carousel:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M7.554 12.936h4.893v-5.871h-4.893v5.871zM8.888 8.399h2.224v3.202h-2.224v-3.202z"}),a("path",{fill:"#4a00e0",d:"M13.913 8.868l1.132 1.132-1.132 1.132 0.944 0.944 2.076-2.076-2.076-2.076-0.943 0.943z"}),a("path",{fill:"#4a00e0",d:"M5.144 7.924l-2.076 2.076 2.076 2.076 0.943-0.944-1.132-1.132 1.132-1.132-0.944-0.943z"}),a("path",{fill:"#4a00e0",d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM1.32 18.62v-17.301h17.3v17.3h-17.3z"})),post_masonry:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM7.588 5.788h4.825v8.825h-4.825v-8.825zM12.413 1.381v3.025h-4.825v-3.025h4.825zM6.206 1.381v11.025h-4.825v-11.025h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-2.826h4.825v2.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z"})),post_grid:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM1.381 7.588h4.825v4.825h-4.825v-4.825zM7.588 7.588h4.825v4.825h-4.825v-4.825zM12.413 1.381v4.825h-4.825v-4.825h4.825zM6.206 1.381v4.825h-4.825v-4.825h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-4.826h4.825v4.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z"})),testimonial:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M9.996 0c-5.516 0-9.996 4.479-9.996 9.997 0 5.523 4.48 10.003 9.996 10.003 5.524 0 10.004-4.48 10.004-10.003 0-5.518-4.48-9.997-10.004-9.997v0zM9.996 18.749c-4.821 0-8.745-3.926-8.745-8.752 0-4.822 3.923-8.746 8.745-8.746 4.829 0 8.753 3.924 8.753 8.746 0 4.826-3.924 8.752-8.753 8.752v0z"}),a("path",{fill:"#4a00e0",d:"M8.007 6.732l-0.292-0.201-0.006-0.012-0.019-0.006-0.214-0.098 0.006 0.012c-0.201-0.079-0.416-0.14-0.641-0.14-1.018 0-1.843 0.854-1.843 1.91s0.825 1.917 1.843 1.917c0.323 0 0.622-0.098 0.891-0.25-0.091 1.019-0.605 2.514-2.491 4.034-0.267 0.212-0.317 0.604-0.109 0.879 0.121 0.159 0.3 0.243 0.476 0.243 0.134 0 0.263-0.041 0.372-0.134 2.319-1.866 2.894-3.784 2.971-5.070 0.134-1.636-0.365-2.502-0.817-2.948l-0.128-0.134z"}),a("path",{fill:"#4a00e0",d:"M14.068 6.732l-0.293-0.201-0.008-0.012-0.017-0.006-0.214-0.098 0.006 0.012c-0.202-0.079-0.415-0.14-0.641-0.14-1.019 0-1.843 0.854-1.843 1.91s0.824 1.917 1.843 1.917c0.324 0 0.623-0.098 0.891-0.25-0.092 1.019-0.604 2.514-2.496 4.034-0.262 0.212-0.311 0.604-0.104 0.879 0.116 0.159 0.299 0.243 0.476 0.243 0.134 0 0.263-0.041 0.372-0.134 2.319-1.866 2.893-3.784 2.972-5.070 0.134-1.636-0.366-2.502-0.818-2.948l-0.128-0.134z"})),cf7_styler:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M0 2.969v14.063h20v-14.063h-20zM18.828 15.859h-17.656v-11.719h17.656v11.719z"}),a("path",{fill:"#4a00e0",d:"M11.758 13.516h5.898v1.172h-5.898v-1.172z"}),a("path",{fill:"#4a00e0",d:"M11.758 11.172h5.898v1.172h-5.898v-1.172z"}),a("path",{fill:"#4a00e0",d:"M11.758 8.828h5.898v1.172h-5.898v-1.172z"}),a("path",{fill:"#4a00e0",d:"M11.758 6.484h3.555v1.172h-3.555v-1.172z"}),a("path",{fill:"#4a00e0",d:"M16.484 6.484h1.172v1.172h-1.172v-1.172z"}),a("path",{fill:"#4a00e0",d:"M8.386 10.468c0.629-0.538 1.028-1.336 1.028-2.226 0-1.615-1.314-2.93-2.93-2.93s-2.93 1.314-2.93 2.93c0 0.89 0.4 1.688 1.028 2.226-1.307 0.687-2.2 2.057-2.2 3.633v0.586h8.203v-0.586c0-1.576-0.893-2.947-2.2-3.633zM6.484 6.484c0.969 0 1.758 0.789 1.758 1.758s-0.789 1.758-1.758 1.758-1.758-0.789-1.758-1.758 0.789-1.758 1.758-1.758zM3.614 13.516c0.272-1.336 1.456-2.344 2.871-2.344s2.599 1.008 2.871 2.344h-5.742z"})),gf_styler:a("svg",{width:20,height:20,viewBox:"0 0 100 100"},a("path",{fill:"#4a00e0",d:"M20.509,26.661H38.2c1.783,0,3.229-1.447,3.229-3.226c0-1.784-1.447-3.227-3.229-3.227H20.509 c-1.783,0-3.229,1.443-3.229,3.227C17.28,25.214,18.726,26.661,20.509,26.661L20.509,26.661z M20.509,26.661"}),a("path",{fill:"#4a00e0",d:"M20.509,38.465h41.285c1.78,0,3.229-1.442,3.229-3.223c0-1.783-1.449-3.227-3.229-3.227H20.509 c-1.783,0-3.229,1.444-3.229,3.227C17.28,37.022,18.726,38.465,20.509,38.465L20.509,38.465z M20.509,38.465"}),a("path",{fill:"#4a00e0",d:"M38.2,49.727H20.509c-1.783,0-3.229,1.443-3.229,3.227c0,1.78,1.446,3.224,3.229,3.224H38.2 c1.783,0,3.229-1.443,3.229-3.224C41.429,51.17,39.982,49.727,38.2,49.727L38.2,49.727z M38.2,49.727"}),a("path",{fill:"#4a00e0",d:"M92.334,14.48c-1.304-0.447-2.744-0.014-3.593,1.071l-6.021,7.754V5.723c0-1.778-1.446-3.223-3.23-3.223H8.71 c-1.783,0-3.226,1.445-3.226,3.223v88.552c0,1.78,1.443,3.226,3.226,3.226h70.78c1.784,0,3.23-1.445,3.23-3.226V51.129 l11.088-13.875c0.456-0.57,0.707-1.279,0.707-2.012V17.531C94.516,16.153,93.637,14.928,92.334,14.48L92.334,14.48z M76.267,91.045 h-64.33V8.951h64.33v22.653L47.452,68.679c-1.096,1.409-0.835,3.432,0.568,4.527c0.59,0.457,1.286,0.677,1.975,0.677 c0.962,0,1.915-0.424,2.547-1.241l3.619-4.657h11.534c0.979,0,1.906-0.446,2.518-1.214l6.054-7.572V91.045z M88.062,34.11 L66.144,61.53H61.18l26.882-34.591V34.11z M88.062,34.11"})),content_timeline:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M9.375 0h1.25v20h-1.25v-20z"}),a("path",{fill:"#4a00e0",d:"M1.875 3.125h5v2.5h-5v-2.5zM0.625 6.875h7.5v-5h-7.5v5z"}),a("path",{fill:"#4a00e0",d:"M1.875 14.592h5v2.5h-5v-2.5zM0.625 18.342h7.5v-5h-7.5v5z"}),a("path",{fill:"#4a00e0",d:"M18.125 11.25h-5v-2.5h5v2.5zM11.875 7.5v5h7.5v-5h-7.5z"})),call_to_action:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M19.304 16.848l-2.352-2.352 1.192-1.192c0.154-0.154 0.224-0.373 0.187-0.588s-0.177-0.398-0.374-0.491l-9.486-4.494c-0.256-0.122-0.561-0.068-0.761 0.132s-0.253 0.505-0.132 0.761l4.494 9.485c0.093 0.197 0.277 0.336 0.492 0.373s0.434-0.033 0.588-0.187l1.192-1.192 2.353 2.352c0.131 0.131 0.303 0.196 0.474 0.196s0.343-0.065 0.474-0.196l1.659-1.659c0.262-0.262 0.262-0.686 0-0.948v0zM17.17 18.033l-2.353-2.352c-0.131-0.131-0.303-0.196-0.474-0.196s-0.343 0.065-0.474 0.196l-0.993 0.993-3.283-6.929 6.929 3.282-0.993 0.994c-0.262 0.262-0.262 0.686 0 0.948l2.352 2.352-0.711 0.711z"}),a("path",{fill:"#4a00e0",d:"M7.645 10.992h-5.804v-9.303h9.303v6.647c0 0.37 0.3 0.671 0.671 0.671s0.671-0.3 0.671-0.671v-7.317c0-0.37-0.3-0.671-0.671-0.671h-10.644c-0.37 0-0.671 0.3-0.671 0.671v10.644c0 0.371 0.3 0.671 0.671 0.671h6.474c0.37 0 0.671-0.3 0.671-0.671s-0.3-0.671-0.671-0.671v0z"})),post_timeline:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M7.048 8.364c-0.001 0.019-0.001 0.037 0 0.056 0.016 0.286 0.26 0.505 0.545 0.489h9.134c0.019 0.001 0.037 0.001 0.056 0 0.286-0.015 0.505-0.26 0.489-0.545v-5.453c0.001-0.019 0.001-0.037 0-0.056-0.016-0.286-0.26-0.505-0.545-0.489h-9.134c-0.019-0.001-0.037-0.001-0.056 0-0.286 0.015-0.505 0.26-0.489 0.545v5.453zM8.138 3.456h8.044v4.363h-8.044v-4.363z"}),a("path",{fill:"#4a00e0",d:"M19.999 17.089v-5.453c0.001-0.019 0.001-0.037 0-0.056-0.015-0.286-0.26-0.505-0.545-0.489h-11.861c-0.019-0.001-0.037-0.001-0.056 0-0.286 0.015-0.505 0.26-0.489 0.545v5.453c-0.001 0.019-0.001 0.037 0 0.056 0.016 0.286 0.26 0.505 0.545 0.489h11.861c0.019 0.001 0.037 0.001 0.056 0 0.286-0.016 0.505-0.26 0.489-0.546zM18.909 16.544h-10.77v-4.363h10.77v4.363z"}),a("path",{fill:"#4a00e0",d:"M4.754 4.795c-0.286-1.279-1.554-2.083-2.833-1.797-1.083 0.242-1.853 1.203-1.854 2.312-0.028 1.102 0.725 2.071 1.8 2.318v4.417c-1.28 0.279-2.091 1.543-1.812 2.823 0.198 0.906 0.906 1.614 1.812 1.812h1.091c1.080-0.245 1.841-1.211 1.827-2.318 0.014-1.107-0.747-2.073-1.827-2.318v-4.417c1.279-0.286 2.083-1.555 1.797-2.833zM3.722 14.362c0 0.708-0.573 1.282-1.281 1.282-0 0-0.001 0-0.002 0-0.697-0.015-1.254-0.584-1.254-1.281s0.557-1.267 1.254-1.282c0.708-0.001 1.282 0.573 1.282 1.281zM2.44 6.592c-0.697-0.015-1.254-0.584-1.254-1.281s0.557-1.267 1.254-1.281c0.712-0 1.294 0.569 1.309 1.281-0.015 0.712-0.597 1.282-1.309 1.281z"}),a("path",{fill:"#4a00e0",d:"M9.229 5.365h3.136c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-3.136c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"}),a("path",{fill:"#4a00e0",d:"M15.091 5.91h-5.862c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.546 0.545 0.546h5.863c0.301 0 0.545-0.244 0.545-0.546s-0.245-0.545-0.546-0.545z"}),a("path",{fill:"#4a00e0",d:"M9.229 14.090h3.136c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-3.136c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"}),a("path",{fill:"#4a00e0",d:"M9.229 15.726h5.863c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-5.863c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"})),icon_list:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M1.44 15.48c-0.76 0-1.44 0.64-1.44 1.4s0.68 1.44 1.44 1.44 1.4-0.68 1.4-1.44c0-0.76-0.64-1.4-1.4-1.4v0z"}),a("path",{fill:"#4a00e0",d:"M1.44 8.6c-0.76 0-1.44 0.64-1.44 1.4s0.68 1.4 1.44 1.4 1.4-0.64 1.4-1.4c0-0.76-0.64-1.4-1.4-1.4v0z"}),a("path",{fill:"#4a00e0",d:"M6.56 4.4h12.12c0.72 0 1.32-0.56 1.32-1.28s-0.6-1.32-1.32-1.32h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.28 1.32 1.28v0z"}),a("path",{fill:"#4a00e0",d:"M1.44 1.68c-0.76 0-1.44 0.68-1.44 1.44s0.68 1.4 1.44 1.4 1.4-0.64 1.4-1.4-0.64-1.44-1.4-1.44v0z"}),a("path",{fill:"#4a00e0",d:"M18.68 8.68h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.32 1.32 1.32h12.12c0.72 0 1.32-0.6 1.32-1.32s-0.6-1.32-1.32-1.32v0z"}),a("path",{fill:"#4a00e0",d:"M18.68 15.56h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.32 1.32 1.32h12.12c0.72 0 1.32-0.6 1.32-1.32s-0.6-1.32-1.32-1.32v0z"})),team:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M20 14.124c0-1.17-0.35-2.3-1.013-3.268-0.477-0.696-1.091-1.274-1.803-1.703 0.838-0.794 1.362-1.915 1.362-3.158 0-2.399-1.952-4.351-4.351-4.351-1.423 0-2.755 0.704-3.565 1.859-0.206-0.030-0.416-0.046-0.63-0.046s-0.424 0.016-0.63 0.046c-0.81-1.155-2.142-1.859-3.565-1.859-2.399 0-4.351 1.952-4.351 4.351 0 1.242 0.524 2.364 1.362 3.158-0.712 0.429-1.326 1.008-1.803 1.703-0.663 0.968-1.014 2.098-1.014 3.268v2.42h4.195v1.813h11.611v-1.813h4.194v-2.42h-0zM14.195 2.717c1.807 0 3.277 1.47 3.277 3.278s-1.47 3.277-3.277 3.277c-0.032 0-0.065-0-0.097-0.001 0.002-0.007 0.005-0.014 0.007-0.021 0.056-0.159 0.102-0.322 0.14-0.488 0.003-0.012 0.006-0.024 0.008-0.035 0.010-0.045 0.018-0.090 0.027-0.136 0.004-0.021 0.008-0.043 0.012-0.064 0.007-0.041 0.013-0.081 0.018-0.122 0.004-0.029 0.008-0.057 0.011-0.085 0.004-0.036 0.009-0.072 0.012-0.109s0.006-0.074 0.008-0.111c0.002-0.029 0.004-0.059 0.006-0.088 0.003-0.063 0.004-0.127 0.005-0.19 0-0.004 0-0.009 0-0.014 0-0.002-0-0.005-0-0.007 0-0.065-0.002-0.129-0.005-0.193-0.001-0.019-0.002-0.037-0.003-0.056-0.003-0.054-0.007-0.109-0.012-0.163-0.001-0.012-0.002-0.024-0.004-0.037-0.162-1.568-1.153-2.911-2.582-3.531 0.616-0.692 1.507-1.103 2.45-1.103v0zM8.866 4.732c0.010-0.004 0.021-0.008 0.031-0.011 0.033-0.012 0.066-0.023 0.099-0.033 0.025-0.008 0.050-0.016 0.075-0.023 0.018-0.005 0.037-0.011 0.055-0.016 0.033-0.009 0.066-0.018 0.1-0.026 0.248-0.060 0.507-0.093 0.773-0.093s0.525 0.033 0.773 0.094c0.033 0.008 0.066 0.017 0.099 0.026 0.019 0.005 0.038 0.010 0.056 0.016 0.025 0.007 0.050 0.015 0.075 0.023 0.033 0.011 0.066 0.022 0.1 0.034 0.010 0.004 0.020 0.007 0.030 0.011 1.096 0.405 1.918 1.381 2.104 2.565 0.002 0.009 0.003 0.019 0.004 0.028 0.006 0.040 0.011 0.080 0.015 0.121 0.002 0.015 0.003 0.030 0.005 0.045 0.004 0.037 0.006 0.074 0.009 0.112 0.001 0.016 0.002 0.032 0.003 0.048 0.002 0.048 0.003 0.096 0.004 0.144 0 0.004 0 0.008 0 0.012 0 0.002-0 0.004-0 0.006 0 0.047-0.002 0.093-0.003 0.139-0.001 0.015-0.001 0.029-0.002 0.044-0.002 0.045-0.006 0.089-0.010 0.133-0.002 0.017-0.004 0.034-0.006 0.051-0.003 0.029-0.007 0.057-0.011 0.085-0.003 0.022-0.006 0.044-0.010 0.066-0.005 0.033-0.011 0.066-0.018 0.1-0.006 0.029-0.012 0.059-0.019 0.088-0.004 0.018-0.008 0.035-0.012 0.053-0.010 0.044-0.022 0.087-0.034 0.13-0.005 0.017-0.010 0.034-0.014 0.051-0.008 0.025-0.016 0.049-0.024 0.074-0.006 0.020-0.013 0.039-0.020 0.058-0.007 0.022-0.015 0.044-0.023 0.066-0.014 0.037-0.029 0.074-0.044 0.111-0.007 0.016-0.014 0.032-0.021 0.049-0.013 0.031-0.027 0.061-0.041 0.091l-0.005 0.011c-0.005 0.011-0.010 0.021-0.015 0.032-0.016 0.032-0.032 0.064-0.049 0.096-0.007 0.012-0.013 0.025-0.020 0.037-0 0.001-0.001 0.002-0.001 0.002-0.019 0.034-0.038 0.067-0.058 0.1-0.008 0.013-0.016 0.026-0.024 0.039-0.021 0.035-0.044 0.070-0.066 0.103-0.014 0.021-0.029 0.042-0.043 0.063-0.013 0.018-0.025 0.035-0.038 0.052-0.017 0.023-0.033 0.045-0.050 0.067-0.012 0.015-0.023 0.030-0.035 0.045-0.018 0.022-0.036 0.045-0.055 0.067-0.012 0.014-0.023 0.027-0.035 0.041-0.020 0.022-0.039 0.044-0.059 0.066-0.012 0.013-0.024 0.025-0.036 0.038-0.032 0.034-0.065 0.067-0.099 0.1-0.020 0.019-0.040 0.039-0.061 0.058-0.014 0.013-0.029 0.026-0.043 0.038-0.024 0.021-0.047 0.041-0.071 0.062-0.012 0.011-0.025 0.021-0.037 0.031-0.029 0.024-0.059 0.047-0.089 0.070-0.008 0.006-0.016 0.012-0.025 0.019-0.545 0.405-1.221 0.646-1.951 0.646s-1.406-0.24-1.951-0.646c-0.008-0.006-0.016-0.012-0.024-0.018-0.030-0.023-0.060-0.046-0.089-0.070-0.012-0.010-0.025-0.020-0.037-0.030-0.024-0.021-0.048-0.041-0.072-0.062-0.014-0.013-0.029-0.025-0.043-0.038-0.021-0.019-0.041-0.038-0.061-0.058-0.034-0.033-0.067-0.066-0.1-0.101-0.012-0.012-0.024-0.025-0.036-0.037-0.020-0.022-0.039-0.044-0.058-0.066-0.012-0.013-0.024-0.027-0.035-0.040-0.019-0.022-0.037-0.045-0.055-0.067-0.012-0.015-0.024-0.030-0.035-0.045-0.017-0.022-0.034-0.044-0.050-0.067-0.013-0.017-0.025-0.035-0.037-0.053-0.015-0.021-0.029-0.041-0.044-0.062-0.023-0.034-0.045-0.069-0.066-0.104-0.008-0.013-0.016-0.026-0.023-0.039-0.020-0.034-0.040-0.067-0.058-0.102-0.007-0.013-0.013-0.025-0.020-0.038-0.017-0.032-0.034-0.064-0.050-0.096-0.006-0.012-0.011-0.023-0.017-0.035-0.001-0.002-0.002-0.003-0.003-0.005-0.015-0.031-0.029-0.063-0.043-0.095-0.007-0.015-0.013-0.030-0.020-0.046-0.015-0.038-0.030-0.075-0.045-0.113-0.008-0.021-0.015-0.041-0.022-0.062s-0.015-0.043-0.022-0.064c-0.008-0.023-0.015-0.046-0.022-0.069-0.010-0.035-0.020-0.070-0.030-0.105-0.007-0.025-0.013-0.049-0.019-0.074-0.005-0.020-0.009-0.039-0.014-0.059-0.005-0.024-0.011-0.048-0.016-0.073-0.007-0.038-0.014-0.076-0.020-0.114-0.003-0.020-0.006-0.041-0.009-0.062-0.004-0.030-0.008-0.061-0.012-0.092-0.002-0.015-0.004-0.030-0.005-0.046-0.004-0.046-0.008-0.091-0.010-0.137-0.001-0.013-0.001-0.026-0.002-0.039-0.002-0.049-0.004-0.098-0.004-0.148 0-0.053 0.002-0.105 0.004-0.158 0-0.014 0.002-0.028 0.003-0.042 0.002-0.039 0.005-0.079 0.009-0.118 0.001-0.014 0.003-0.027 0.004-0.041 0.005-0.042 0.010-0.084 0.016-0.126 0.001-0.008 0.002-0.016 0.004-0.024 0.186-1.185 1.008-2.161 2.105-2.566v0zM2.528 5.995c0-1.807 1.47-3.278 3.277-3.278 0.943 0 1.834 0.411 2.45 1.103-1.43 0.621-2.421 1.964-2.582 3.533-0.001 0.011-0.002 0.021-0.003 0.032-0.005 0.056-0.009 0.112-0.013 0.168-0.001 0.017-0.002 0.034-0.003 0.052-0.003 0.067-0.005 0.135-0.005 0.202s0.002 0.137 0.005 0.205c0.001 0.027 0.003 0.055 0.005 0.082 0.003 0.039 0.005 0.079 0.009 0.118 0.003 0.035 0.007 0.070 0.011 0.104 0.004 0.030 0.007 0.060 0.012 0.090 0.005 0.040 0.011 0.079 0.018 0.118 0.004 0.023 0.008 0.046 0.013 0.070 0.008 0.044 0.016 0.088 0.025 0.131 0.003 0.014 0.007 0.028 0.010 0.043 0.036 0.161 0.082 0.319 0.136 0.473 0.003 0.010 0.007 0.020 0.010 0.030-0.032 0.001-0.065 0.001-0.097 0.001-1.807-0-3.277-1.47-3.277-3.277v0zM5.095 12.841c-0.012 0.019-0.023 0.038-0.035 0.056-0.025 0.040-0.049 0.079-0.072 0.12-0.013 0.022-0.026 0.045-0.039 0.067-0.021 0.037-0.042 0.075-0.062 0.112-0.013 0.024-0.025 0.047-0.038 0.071-0.019 0.037-0.039 0.075-0.057 0.113-0.012 0.024-0.024 0.048-0.035 0.071-0.019 0.040-0.037 0.080-0.055 0.12-0.010 0.022-0.020 0.044-0.030 0.065-0.021 0.048-0.041 0.097-0.060 0.145-0.006 0.014-0.012 0.028-0.018 0.043-0.025 0.063-0.048 0.127-0.071 0.191-0.005 0.015-0.010 0.029-0.015 0.044-0.017 0.049-0.034 0.098-0.049 0.148-0.007 0.023-0.014 0.046-0.021 0.069-0.013 0.042-0.025 0.084-0.037 0.127-0.007 0.025-0.014 0.051-0.020 0.076-0.010 0.041-0.021 0.082-0.030 0.122-0.006 0.026-0.012 0.052-0.018 0.078-0.009 0.041-0.018 0.083-0.026 0.125-0.005 0.025-0.010 0.050-0.015 0.075-0.008 0.046-0.016 0.091-0.023 0.137-0.003 0.021-0.007 0.043-0.011 0.064-0.010 0.067-0.019 0.134-0.027 0.202 0 0.001-0 0.002-0 0.002-0.007 0.062-0.013 0.123-0.018 0.185h-3.139v-1.346c0-1.839 1.057-3.491 2.714-4.276 0.604 0.317 1.29 0.498 2.017 0.498 0.211 0 0.422-0.015 0.631-0.046 0.033 0.047 0.066 0.093 0.1 0.138 0.012 0.015 0.024 0.030 0.036 0.045 0.034 0.043 0.068 0.086 0.104 0.128 0.014 0.017 0.029 0.034 0.044 0.051 0.033 0.038 0.067 0.076 0.102 0.113 0.018 0.020 0.036 0.039 0.055 0.058 0.031 0.032 0.064 0.065 0.096 0.096 0.012 0.012 0.024 0.024 0.036 0.036-0.047 0.028-0.093 0.057-0.139 0.087-0.008 0.005-0.015 0.010-0.022 0.015-0.046 0.030-0.091 0.060-0.136 0.091-0.016 0.011-0.031 0.021-0.046 0.032-0.040 0.028-0.079 0.057-0.119 0.086-0.012 0.009-0.025 0.018-0.037 0.028-0.050 0.038-0.099 0.076-0.148 0.116-0.011 0.008-0.021 0.017-0.032 0.026-0.039 0.032-0.077 0.064-0.115 0.097-0.015 0.013-0.029 0.025-0.044 0.038-0.038 0.034-0.075 0.067-0.113 0.102-0.010 0.009-0.020 0.018-0.029 0.027-0.046 0.043-0.091 0.087-0.135 0.131-0.012 0.012-0.023 0.023-0.034 0.035-0.034 0.035-0.067 0.070-0.1 0.105-0.013 0.014-0.026 0.028-0.039 0.043-0.037 0.041-0.074 0.081-0.11 0.123-0.006 0.006-0.012 0.013-0.017 0.019-0.041 0.048-0.081 0.097-0.121 0.146-0.011 0.014-0.022 0.028-0.033 0.042-0.029 0.038-0.059 0.076-0.088 0.115-0.011 0.015-0.023 0.030-0.034 0.045-0.038 0.052-0.075 0.104-0.111 0.157-0.039 0.057-0.076 0.114-0.113 0.172v0zM5.268 17.283v-1.346c0-0.060 0.001-0.119 0.003-0.178 0.001-0.020 0.002-0.039 0.003-0.058 0.002-0.039 0.004-0.079 0.007-0.118 0.002-0.024 0.004-0.048 0.007-0.071 0.003-0.035 0.006-0.070 0.010-0.104 0.003-0.025 0.007-0.050 0.010-0.076 0.004-0.033 0.008-0.065 0.013-0.098 0.004-0.026 0.009-0.052 0.013-0.078 0.005-0.031 0.010-0.063 0.016-0.094 0.005-0.027 0.011-0.053 0.016-0.079 0.006-0.030 0.012-0.061 0.019-0.091 0.006-0.027 0.013-0.053 0.019-0.079 0.007-0.030 0.014-0.059 0.022-0.089 0.007-0.027 0.015-0.053 0.023-0.080 0.008-0.029 0.016-0.058 0.025-0.086 0.008-0.027 0.017-0.053 0.026-0.079 0.009-0.028 0.018-0.056 0.028-0.084 0.009-0.026 0.019-0.053 0.029-0.079 0.010-0.028 0.020-0.055 0.030-0.082s0.021-0.052 0.031-0.078c0.011-0.027 0.022-0.054 0.033-0.081s0.023-0.051 0.034-0.077c0.012-0.026 0.024-0.053 0.036-0.079s0.025-0.051 0.037-0.076c0.013-0.026 0.025-0.051 0.039-0.077s0.026-0.050 0.040-0.075c0.014-0.025 0.027-0.050 0.041-0.075s0.028-0.049 0.043-0.073c0.014-0.025 0.029-0.049 0.044-0.074s0.030-0.048 0.046-0.072c0.015-0.024 0.031-0.048 0.046-0.072s0.032-0.047 0.048-0.071c0.016-0.024 0.032-0.047 0.049-0.070s0.034-0.046 0.051-0.069c0.017-0.023 0.034-0.046 0.051-0.068s0.036-0.045 0.054-0.067c0.018-0.022 0.036-0.044 0.054-0.066s0.037-0.044 0.056-0.065 0.038-0.043 0.056-0.064 0.039-0.042 0.058-0.063c0.019-0.021 0.039-0.042 0.058-0.062s0.040-0.041 0.061-0.061c0.020-0.020 0.041-0.040 0.061-0.060s0.041-0.039 0.063-0.059c0.021-0.020 0.042-0.039 0.063-0.058s0.043-0.038 0.065-0.057c0.022-0.019 0.044-0.038 0.066-0.056s0.045-0.036 0.067-0.054c0.023-0.018 0.045-0.036 0.068-0.054s0.046-0.035 0.069-0.052c0.023-0.017 0.047-0.035 0.071-0.052s0.047-0.033 0.071-0.050c0.024-0.016 0.049-0.033 0.073-0.049s0.048-0.031 0.072-0.047c0.025-0.016 0.050-0.032 0.075-0.047s0.049-0.029 0.074-0.044c0.026-0.015 0.052-0.030 0.078-0.045 0.025-0.014 0.050-0.028 0.075-0.041 0.027-0.014 0.054-0.028 0.080-0.042 0.025-0.013 0.051-0.026 0.077-0.039 0.020-0.010 0.041-0.020 0.061-0.029 0.603 0.317 1.289 0.498 2.017 0.498s1.414-0.18 2.017-0.498c0.021 0.010 0.041 0.019 0.061 0.029 0.026 0.013 0.052 0.026 0.078 0.039s0.053 0.028 0.079 0.042c0.026 0.014 0.051 0.028 0.077 0.042s0.052 0.029 0.077 0.044c0.025 0.015 0.050 0.030 0.075 0.045s0.050 0.031 0.075 0.047c0.025 0.015 0.049 0.031 0.073 0.047s0.048 0.032 0.072 0.049c0.024 0.017 0.048 0.033 0.071 0.050s0.047 0.034 0.070 0.051c0.023 0.017 0.047 0.035 0.069 0.053s0.046 0.035 0.068 0.053c0.022 0.018 0.045 0.036 0.067 0.055s0.044 0.037 0.066 0.055c0.022 0.019 0.043 0.038 0.065 0.057s0.042 0.039 0.063 0.058c0.021 0.020 0.042 0.039 0.063 0.059s0.041 0.040 0.061 0.060c0.020 0.021 0.041 0.041 0.061 0.062s0.039 0.041 0.058 0.062c0.020 0.021 0.039 0.043 0.058 0.064s0.038 0.043 0.056 0.064c0.019 0.022 0.038 0.043 0.056 0.066s0.036 0.043 0.054 0.065c0.018 0.022 0.036 0.045 0.054 0.068s0.034 0.045 0.051 0.067c0.017 0.023 0.034 0.046 0.051 0.070s0.032 0.046 0.049 0.070c0.016 0.023 0.033 0.047 0.048 0.071s0.031 0.047 0.046 0.071c0.015 0.024 0.031 0.048 0.046 0.072s0.029 0.049 0.044 0.073c0.014 0.024 0.029 0.049 0.043 0.074s0.027 0.050 0.041 0.075c0.013 0.025 0.027 0.050 0.040 0.075s0.026 0.051 0.038 0.077c0.013 0.025 0.025 0.050 0.037 0.076s0.024 0.052 0.036 0.079c0.012 0.026 0.023 0.051 0.034 0.077s0.022 0.054 0.033 0.080c0.011 0.026 0.021 0.052 0.032 0.079s0.020 0.055 0.030 0.082c0.010 0.026 0.020 0.052 0.029 0.079 0.010 0.028 0.019 0.056 0.028 0.084 0.009 0.027 0.017 0.053 0.026 0.079 0.009 0.029 0.017 0.058 0.025 0.087 0.008 0.026 0.015 0.053 0.022 0.079 0.008 0.029 0.015 0.059 0.022 0.089 0.006 0.027 0.013 0.053 0.019 0.079 0.007 0.030 0.013 0.061 0.019 0.091 0.005 0.026 0.011 0.053 0.016 0.079 0.006 0.031 0.011 0.062 0.016 0.094 0.004 0.026 0.009 0.052 0.013 0.079 0.005 0.032 0.009 0.065 0.013 0.097 0.003 0.025 0.007 0.051 0.010 0.076 0.004 0.034 0.007 0.069 0.010 0.104 0.002 0.024 0.005 0.047 0.007 0.071 0.003 0.040 0.005 0.079 0.006 0.119 0.001 0.019 0.003 0.039 0.003 0.058 0.002 0.059 0.003 0.119 0.003 0.178v1.346h-9.463zM15.787 15.47c-0.010-0.13-0.026-0.261-0.045-0.39-0.003-0.021-0.007-0.041-0.010-0.061-0.008-0.047-0.015-0.094-0.024-0.14-0.005-0.024-0.010-0.049-0.014-0.074-0.008-0.042-0.017-0.085-0.027-0.127-0.006-0.025-0.012-0.051-0.018-0.076-0.010-0.041-0.020-0.083-0.031-0.124-0.007-0.025-0.013-0.050-0.020-0.075-0.012-0.043-0.024-0.086-0.037-0.128-0.007-0.023-0.013-0.045-0.020-0.067-0.016-0.050-0.033-0.101-0.050-0.151-0.005-0.014-0.009-0.028-0.014-0.042-0.023-0.064-0.047-0.128-0.072-0.191-0.005-0.013-0.011-0.027-0.017-0.041-0.020-0.049-0.040-0.098-0.061-0.147-0.009-0.021-0.019-0.043-0.029-0.064-0.018-0.041-0.037-0.081-0.056-0.121-0.011-0.024-0.023-0.047-0.034-0.070-0.019-0.038-0.038-0.076-0.058-0.114-0.012-0.023-0.025-0.047-0.038-0.071-0.021-0.038-0.041-0.075-0.063-0.113-0.013-0.022-0.025-0.045-0.038-0.067-0.023-0.040-0.048-0.080-0.073-0.12-0.012-0.019-0.022-0.038-0.034-0.056-0.037-0.058-0.074-0.115-0.113-0.172-0.037-0.053-0.074-0.105-0.111-0.157-0.011-0.015-0.022-0.029-0.033-0.045-0.029-0.039-0.058-0.077-0.088-0.115-0.011-0.014-0.021-0.028-0.032-0.041-0.040-0.049-0.080-0.098-0.121-0.146-0.005-0.006-0.011-0.012-0.016-0.018-0.036-0.042-0.073-0.084-0.111-0.125-0.013-0.014-0.026-0.028-0.039-0.042-0.033-0.036-0.067-0.071-0.101-0.105-0.011-0.012-0.022-0.023-0.034-0.034-0.044-0.044-0.089-0.088-0.135-0.131-0.010-0.009-0.019-0.018-0.029-0.027-0.037-0.035-0.075-0.069-0.113-0.102-0.015-0.013-0.029-0.025-0.044-0.038-0.038-0.033-0.076-0.065-0.115-0.097-0.011-0.009-0.021-0.018-0.032-0.026-0.048-0.039-0.098-0.078-0.148-0.116-0.012-0.009-0.025-0.018-0.037-0.028-0.039-0.029-0.079-0.057-0.119-0.085-0.015-0.011-0.031-0.022-0.047-0.033-0.044-0.031-0.089-0.061-0.134-0.090-0.008-0.005-0.016-0.011-0.024-0.016-0.046-0.029-0.092-0.058-0.138-0.086 0.012-0.012 0.023-0.024 0.035-0.035 0.033-0.032 0.066-0.065 0.098-0.098 0.018-0.019 0.036-0.037 0.054-0.056 0.035-0.038 0.070-0.076 0.103-0.115 0.014-0.017 0.029-0.033 0.043-0.050 0.036-0.043 0.071-0.086 0.105-0.13 0.011-0.014 0.023-0.029 0.034-0.043 0.034-0.046 0.068-0.092 0.101-0.138 0.21 0.031 0.421 0.046 0.631 0.046 0.728 0 1.414-0.18 2.017-0.498 1.657 0.785 2.714 2.436 2.714 4.276v1.346h-3.139z"})),social_share:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M13.751 4.999l1.25 1.25-8.753 8.753-1.25-1.25 8.753-8.753z"}),a("path",{fill:"#4a00e0",d:"M13.749 12.502l-1.874-1.874 1.255-1.256 0.619 0.628 3.749-3.749-3.749-3.749-3.749 3.749 0.628 0.619-1.256 1.255-1.874-1.874 6.251-6.251 6.251 6.251-6.251 6.251z"}),a("path",{fill:"#4a00e0",d:"M6.251 20l-6.251-6.251 6.251-6.251 1.874 1.874-1.255 1.256-0.619-0.628-3.749 3.749 3.749 3.749 3.749-3.749-0.628-0.619 1.256-1.256 1.874 1.874-6.251 6.251z"})),restaurant_menu:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M0 2.136v15.729h20v-15.729h-20zM18.828 7.038h-8.242v-3.73h8.242v3.73zM1.172 3.307h8.242v13.385h-8.242v-13.385zM10.586 16.693v-8.483h8.242v8.483h-8.242z"}),a("path",{fill:"#4a00e0",d:"M2.742 4.661v4.492c0 1.188 0.826 2.185 1.934 2.45v2.563h-0.898v1.172h2.969v-1.172h-0.898v-2.563c1.108-0.265 1.934-1.263 1.934-2.45v-4.492h-5.039zM6.61 9.154c0 0.743-0.605 1.348-1.348 1.348s-1.348-0.604-1.348-1.348v-3.32h2.695v3.32z"}),a("path",{fill:"#4a00e0",d:"M13.050 4.661h3.275v1.172h-3.275v-1.172z"}),a("path",{fill:"#4a00e0",d:"M12.109 9.414h5.156v1.172h-5.156v-1.172z"}),a("path",{fill:"#4a00e0",d:"M12.109 11.79h5.156v1.172h-5.156v-1.172z"}),a("path",{fill:"#4a00e0",d:"M12.109 14.167h5.156v1.172h-5.156v-1.172z"})),blockquote:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M6.347 8.539h-0.62c0.471-0.817 1.061-1.648 1.557-2.233 0.783-0.921 0.674-2.305-0.249-3.089-0.412-0.351-0.917-0.524-1.42-0.524-0.619 0-1.233 0.26-1.667 0.769-0.577 0.674-3.448 3.615-3.448 7.269v3.654c0 1.614 1.309 2.923 2.923 2.923h2.923c1.613 0 2.922-1.309 2.922-2.923v-2.924c0.001-1.613-1.308-2.922-2.921-2.922v0zM7.808 14.385c0 0.806-0.655 1.462-1.461 1.462h-2.923c-0.806 0-1.462-0.656-1.462-1.462v-3.655c0-2.822 2.192-5.296 2.912-6.108l0.187-0.211c0.19-0.223 0.43-0.257 0.555-0.257 0.122 0 0.303 0.032 0.475 0.177 0.305 0.26 0.343 0.722 0.080 1.029-0.579 0.683-1.219 1.599-1.708 2.449-0.262 0.454-0.262 1.009 0.001 1.462 0.26 0.452 0.742 0.73 1.264 0.73h0.62c0.806 0 1.461 0.656 1.461 1.461v2.923zM16.576 8.539h-0.618c0.471-0.817 1.060-1.648 1.557-2.233 0.783-0.921 0.674-2.305-0.248-3.089-0.412-0.351-0.919-0.524-1.422-0.524-0.618 0-1.232 0.26-1.666 0.769-0.576 0.674-3.448 3.615-3.448 7.269v3.654c0 1.614 1.31 2.923 2.924 2.923h2.923c1.614 0 2.923-1.309 2.923-2.923v-2.924c-0.001-1.613-1.31-2.922-2.925-2.922v0zM18.038 14.385c0 0.806-0.655 1.462-1.462 1.462h-2.922c-0.807 0-1.463-0.656-1.463-1.462v-3.655c0-2.824 2.193-5.297 2.913-6.109l0.186-0.211c0.191-0.223 0.429-0.256 0.555-0.256 0.122 0 0.303 0.032 0.475 0.177 0.307 0.26 0.343 0.723 0.082 1.029-0.581 0.683-1.221 1.599-1.71 2.449-0.261 0.453-0.261 1.009 0 1.462s0.743 0.73 1.267 0.73h0.618c0.807 0 1.462 0.656 1.462 1.461v2.923z"})),quote_1:a("svg",{width:20,height:20},a("path",{d:"M15.581 10.226h-15.162c-0.233 0-0.419 0.37-0.419 0.826 0 0.458 0.186 0.828 0.419 0.828h15.161c0.233 0 0.419-0.37 0.419-0.828 0.001-0.455-0.186-0.826-0.418-0.826v0z"}),a("path",{d:"M15.581 14.285h-15.162c-0.233 0-0.419 0.373-0.419 0.827 0 0.458 0.186 0.826 0.419 0.826h15.161c0.233 0 0.419-0.369 0.419-0.826 0.001-0.454-0.186-0.827-0.418-0.827v0z"}),a("path",{d:"M15.581 18.346h-15.162c-0.233 0-0.419 0.37-0.419 0.826 0 0.459 0.186 0.828 0.419 0.828h15.161c0.233 0 0.419-0.369 0.419-0.828 0.001-0.455-0.186-0.826-0.418-0.826v0z"}),a("path",{d:"M9.126 0.595c-0.46 0.465-0.974 1.35-0.835 3.042 0.081 1.319 0.666 3.29 3.048 5.216 0.112 0.090 0.241 0.136 0.38 0.136 0.183 0 0.362-0.086 0.487-0.251 0.214-0.283 0.164-0.683-0.113-0.902-1.935-1.566-2.458-3.105-2.551-4.154 0.274 0.156 0.582 0.258 0.913 0.258 1.045 0 1.89-0.886 1.89-1.972 0-1.088-0.846-1.966-1.89-1.966-0.233 0-0.451 0.062-0.657 0.143l0.004-0.011-0.218 0.101-0.018 0.011-0.007 0.006-0.299 0.214-0.134 0.131z"}),a("path",{d:"M4.517 0.595c-0.465 0.465-0.974 1.35-0.841 3.042 0.085 1.319 0.671 3.29 3.049 5.216 0.116 0.090 0.245 0.136 0.383 0.136 0.178 0 0.366-0.086 0.487-0.251 0.214-0.283 0.165-0.683-0.108-0.902-1.939-1.566-2.467-3.105-2.56-4.154 0.278 0.156 0.584 0.258 0.92 0.258 1.046 0 1.885-0.886 1.885-1.972 0-1.088-0.845-1.966-1.885-1.966-0.236 0-0.447 0.062-0.657 0.143l0.010-0.011-0.218 0.101-0.022 0.011-0.009 0.006-0.305 0.214-0.129 0.13z"})),quote_2:a("svg",{width:20,height:20},a("path",{d:"M4.599 6.686c-0.39 0.397-0.822 1.149-0.705 2.586 0.068 1.123 0.561 2.799 2.561 4.434 0.096 0.080 0.205 0.115 0.321 0.115 0.153 0 0.306-0.071 0.409-0.214 0.181-0.239 0.135-0.58-0.095-0.766-1.626-1.332-2.066-2.639-2.144-3.531 0.231 0.132 0.488 0.218 0.769 0.218 0.874 0 1.587-0.753 1.587-1.677s-0.711-1.672-1.587-1.672c-0.196 0-0.38 0.054-0.552 0.121l0.003-0.010-0.184 0.085-0.016 0.010-0.006 0.006-0.252 0.181-0.109 0.114z"}),a("path",{d:"M0.725 6.686c-0.389 0.397-0.821 1.149-0.706 2.586 0.068 1.123 0.562 2.799 2.56 4.434 0.094 0.077 0.204 0.114 0.322 0.114 0.151 0 0.31-0.073 0.409-0.213 0.177-0.239 0.136-0.582-0.090-0.767-1.63-1.332-2.072-2.639-2.149-3.531 0.23 0.132 0.486 0.218 0.772 0.218 0.879 0 1.583-0.753 1.583-1.677s-0.71-1.672-1.583-1.672c-0.199 0-0.378 0.054-0.554 0.121l0.008-0.010-0.184 0.085-0.018 0.010-0.009 0.006-0.253 0.182-0.108 0.114z"}),a("path",{d:"M19.25 6.929h-10.041c-0.414 0-0.75-0.336-0.75-0.75s0.336-0.75 0.75-0.75h10.041c0.414 0 0.75 0.336 0.75 0.75s-0.336 0.75-0.75 0.75z"}),a("path",{d:"M19.25 10.75h-10.041c-0.414 0-0.75-0.336-0.75-0.75s0.336-0.75 0.75-0.75h10.041c0.414 0 0.75 0.336 0.75 0.75s-0.336 0.75-0.75 0.75z"}),a("path",{d:"M19.25 14.571h-10.041c-0.414 0-0.75-0.336-0.75-0.75s0.336-0.75 0.75-0.75h10.041c0.414 0 0.75 0.336 0.75 0.75s-0.336 0.75-0.75 0.75z"})),quote_inline_icon:a("svg",{width:20,height:20,viewBox:"0 0 32 32"},a("path",{d:"M7.031 14c3.866 0 7 3.134 7 7s-3.134 7-7 7-7-3.134-7-7l-0.031-1c0-7.732 6.268-14 14-14v4c-2.671 0-5.182 1.040-7.071 2.929-0.364 0.364-0.695 0.751-0.995 1.157 0.357-0.056 0.724-0.086 1.097-0.086zM25.031 14c3.866 0 7 3.134 7 7s-3.134 7-7 7-7-3.134-7-7l-0.031-1c0-7.732 6.268-14 14-14v4c-2.671 0-5.182 1.040-7.071 2.929-0.364 0.364-0.695 0.751-0.995 1.157 0.358-0.056 0.724-0.086 1.097-0.086z"})),quote_tweet_icon:a("svg",{width:20,height:20,viewBox:"0 0 512 512"},a("path",{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})),at_the_rate:a("svg",{width:30,height:30},a("path",{d:"M5.605 17.2c0-2.131 0.499-4.074 1.499-5.829 1-1.754 2.395-3.136 4.19-4.15 1.794-1.013 3.81-1.52 6.046-1.52 2.712 0 4.901 0.773 6.562 2.323 1.662 1.549 2.493 3.589 2.493 6.118 0 2.051-0.542 3.786-1.626 5.202-1.088 1.418-2.304 2.125-3.656 2.125-0.781 0-1.355-0.232-1.717-0.696-0.365-0.462-0.533-1.037-0.506-1.726-1.006 1.614-2.378 2.422-4.11 2.422-1.39 0-2.507-0.539-3.347-1.619-0.842-1.077-1.142-2.442-0.904-4.088 0.237-1.65 0.946-2.982 2.125-4.002 1.179-1.021 2.509-1.53 3.992-1.53s2.638 0.518 3.467 1.558c0.829 1.040 1.122 2.322 0.883 3.843l-0.494 3.2c-0.094 0.739 0.165 1.11 0.77 1.11 0.77 0 1.502-0.56 2.205-1.678 0.701-1.12 1.054-2.493 1.054-4.122 0-2.106-0.656-3.787-1.966-5.046-1.312-1.258-3.133-1.886-5.462-1.886-2.794 0-5.098 0.96-6.91 2.88-1.814 1.92-2.722 4.29-2.722 7.109 0 2.382 0.738 4.227 2.214 5.533 1.477 1.302 3.459 1.989 5.947 2.056l-0.376 1.509c-2.862-0.069-5.184-0.899-6.971-2.494-1.787-1.594-2.68-3.794-2.68-6.602zM19.15 15.85c0.17-1.15-0.014-2.118-0.558-2.899-0.542-0.781-1.28-1.173-2.214-1.173-0.933 0-1.79 0.392-2.571 1.173s-1.259 1.749-1.43 2.899c-0.171 1.152 0.013 2.122 0.557 2.91 0.542 0.787 1.282 1.181 2.214 1.181s1.79-0.394 2.573-1.181c0.781-0.789 1.256-1.758 1.43-2.91z"})),columns:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M19.091 0.301h-18.182c-0.503 0-0.909 0.408-0.909 0.908v17.576c0 0.504 0.406 0.913 0.909 0.913h18.182c0.504 0 0.909-0.409 0.909-0.913v-17.576c0-0.5-0.405-0.908-0.909-0.908v0zM9.091 17.877h-7.275v-14.343h7.275v14.343zM18.183 17.877h-7.273v-14.343h7.273v14.343z"})),column:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M19.091 0.301h-18.182c-0.503 0-0.909 0.408-0.909 0.908v17.576c0 0.504 0.406 0.913 0.909 0.913h18.182c0.504 0 0.909-0.409 0.909-0.913v-17.576c0-0.5-0.405-0.908-0.909-0.908zM18.304 17.21h-16.608v-14.343h16.608v14.343z"}),a("path",{fill:"#4a00e0",d:"M15.667 8.5h-11.333c-0.553 0-1-0.447-1-1s0.447-1 1-1h11.333c0.552 0 1 0.447 1 1s-0.448 1-1 1z"}),a("path",{fill:"#4a00e0",d:"M15.667 13.5h-11.333c-0.553 0-1-0.448-1-1s0.447-1 1-1h11.333c0.552 0 1 0.448 1 1s-0.448 1-1 1z"})),top_align:a("svg",{width:20,height:20},a("path",{d:"M1.5 0.438v2.125h17v-2.125h-17zM5.75 8.938h3.188v10.625h2.125v-10.625h3.187l-4.25-4.25-4.25 4.25z"})),middle_align:a("svg",{width:20,height:20},a("path",{d:"M18.5 11.063v-2.125h-17v2.125h17z"}),a("path",{d:"M12.707 3.519l-2.707-2.707-2.707 2.707h2.030v4.368h1.354v-4.368h2.030z"}),a("path",{d:"M7.293 16.48l2.707 2.707 2.707-2.707h-2.030v-4.368h-1.354v4.368h-2.030z"})),bottom_align:a("svg",{width:20,height:20},a("path",{d:"M18.5 20v-2.125h-17v2.125h17zM14.25 11.5h-3.187v-10.625h-2.125v10.625h-3.188l4.25 4.25 4.25-4.25z"})),carousel_left:a("svg",{width:20,height:20,viewBox:"0 0 256 512"},a("path",{d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"})),carousel_right:a("svg",{width:20,height:20,viewBox:"0 0 256 512"},a("path",{d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"})),top_margin:a("svg",{width:20,height:20},a("path",{fill:"#999",d:"M17 1c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17 0h-14c-1.657 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.657 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),a("path",{fill:"#575E67",d:"M17 0.984h-14c-1.103 0-2 0.897-2 2v0.797h18v-0.797c0-1.103-0.897-2-2-2z"})),bottom_margin:a("svg",{width:20,height:20},a("path",{fill:"#999",d:"M17 1c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17 0h-14c-1.657 0-3 1.343-3 3v14c0 1.656 1.343 3 3 3h14c1.657 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),a("path",{fill:"#575E67",d:"M3 19.016h14c1.103 0 2-0.896 2-2v-0.797h-18v0.797c0 1.103 0.897 2 2 2z"})),left_margin:a("svg",{width:20,height:20},a("path",{fill:"#999",d:"M17 0.999c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17-0.001h-14c-1.656 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.657 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),a("path",{fill:"#575E67",d:"M0.984 2.999v14c0 1.103 0.896 2 2 2h0.797v-18h-0.797c-1.104 0-2 0.897-2 2z"})),right_margin:a("svg",{width:20,height:20},a("path",{fill:"#999",d:"M17 0.999c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17-0.001h-14c-1.657 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.656 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),a("path",{fill:"#575E67",d:"M19.015 16.999v-14c0-1.103-0.896-2-2-2h-0.797v18h0.797c1.104 0 2-0.896 2-2z"})),vertical_spacing:a("svg",{width:20,height:20},a("path",{fill:"#999",d:"M17 0.999c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17-0.001h-14c-1.657 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.657 0 3-1.343 3-3v-14c0-1.656-1.343-3-3-3v0z"}),a("path",{fill:"#575E67",d:"M17 0.983h-14c-1.103 0-2 0.896-2 2v0.797h18v-0.797c0-1.103-0.896-2-2-2z"}),a("path",{fill:"#575E67",d:"M3 19.031h14c1.103 0 2-0.896 2-2v-0.797h-18v0.797c0 1.104 0.896 2 2 2z"})),horizontal_spacing:a("svg",{width:20,height:20},a("path",{fill:"#999",d:"M17 0.999c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17-0.001h-14c-1.657 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.656 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),a("path",{fill:"#575E67",d:"M19.016 16.999v-14c0-1.103-0.896-2-2-2h-0.797v18h0.797c1.103 0 2-0.896 2-2z"}),a("path",{fill:"#575E67",d:"M0.968 2.999v14c0 1.103 0.896 2 2 2h0.797v-18h-0.797c-1.104 0-2 0.897-2 2z"})),logo:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M10 0.858c5.039 0 9.139 4.102 9.139 9.142s-4.1 9.142-9.139 9.142c-5.040 0-9.139-4.101-9.139-9.142s4.1-9.142 9.139-9.142zM10 0c-5.524 0-10 4.478-10 10s4.476 10 10 10c5.523 0 10-4.478 10-10s-4.477-10-10-10v0z"}),a("path",{fill:"#4a00e0",d:"M6.405 12.326c0.252 0 0.465-0.053 0.639-0.157s0.314-0.244 0.422-0.418 0.185-0.373 0.229-0.598c0.045-0.226 0.067-0.454 0.067-0.688v-3.264h1.475v3.264c0 0.444-0.056 0.857-0.167 1.241s-0.282 0.719-0.513 1.007c-0.23 0.288-0.524 0.515-0.881 0.679s-0.78 0.248-1.271 0.248c-0.509 0-0.944-0.087-1.304-0.261s-0.652-0.406-0.876-0.697c-0.225-0.291-0.39-0.628-0.495-1.012s-0.158-0.785-0.158-1.205v-3.264h1.475v3.264c0 0.246 0.024 0.479 0.072 0.702s0.126 0.419 0.234 0.593 0.247 0.312 0.418 0.413c0.171 0.102 0.382 0.153 0.634 0.153z"}),a("path",{fill:"#4a00e0",d:"M14.768 12.956c-0.486 0.449-1.047 0.674-1.682 0.674-0.42 0-0.815-0.079-1.188-0.238-0.371-0.158-0.696-0.382-0.975-0.67-0.279-0.287-0.5-0.634-0.661-1.038s-0.243-0.85-0.243-1.336c0-0.437 0.082-0.851 0.243-1.24s0.385-0.729 0.67-1.017c0.284-0.287 0.622-0.515 1.011-0.683 0.391-0.168 0.81-0.252 1.26-0.252 0.593 0 1.111 0.125 1.555 0.373s0.777 0.589 0.998 1.021l-1.097 0.827c-0.144-0.288-0.353-0.512-0.624-0.67-0.273-0.158-0.568-0.238-0.887-0.238-0.246 0-0.469 0.049-0.67 0.148s-0.373 0.236-0.517 0.414c-0.144 0.177-0.255 0.382-0.333 0.615s-0.117 0.485-0.117 0.755c0 0.276 0.042 0.531 0.127 0.765 0.083 0.233 0.2 0.437 0.35 0.607s0.328 0.304 0.535 0.399c0.207 0.097 0.436 0.145 0.688 0.145 0.576 0 1.095-0.267 1.557-0.801v-0.197h-1.241v-1.069h2.464v3.335h-1.223v-0.629z"})),marketing_button:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M12.997 2.99c-0.050-0.153-0.158-0.28-0.302-0.353s-0.31-0.086-0.463-0.036l-2.54 0.825c-0.319 0.104-0.493 0.446-0.39 0.765l0.127 0.391-6.461 4.746-2.549 0.828c-0.153 0.050-0.28 0.158-0.353 0.302s-0.086 0.31-0.036 0.463l1.548 4.765c0.083 0.257 0.321 0.42 0.577 0.42 0.062 0 0.125-0.010 0.188-0.030l2.548-0.828 1.309 0.007c0.263 1.241 1.367 2.176 2.686 2.176 1.308 0 2.405-0.92 2.679-2.148l1.343 0.007 0.127 0.391c0.050 0.153 0.158 0.28 0.302 0.353 0.086 0.044 0.181 0.066 0.276 0.066 0.063 0 0.127-0.010 0.188-0.030l2.54-0.825c0.319-0.104 0.493-0.446 0.39-0.765l-3.733-11.489zM2.545 14.732l-1.173-3.61 1.487-0.483 1.173 3.61-1.486 0.483zM8.886 16.215c-0.64 0-1.189-0.396-1.418-0.955l2.83 0.015c-0.232 0.552-0.777 0.94-1.412 0.94zM5.239 14.034l-1.277-3.93 5.862-4.306 2.689 8.275-7.274-0.038zM14.002 14.727l-0.075-0.229c-0-0-0-0.001-0-0.001l-3.283-10.104 1.385-0.45 3.358 10.335-1.385 0.45z"}),a("path",{fill:"#4a00e0",d:"M15.041 5.941c0.088 0.045 0.182 0.066 0.275 0.066 0.221 0 0.434-0.121 0.541-0.332l1.090-2.138c0.152-0.299 0.034-0.664-0.265-0.817s-0.664-0.034-0.817 0.265l-1.090 2.138c-0.152 0.299-0.034 0.664 0.265 0.817z"}),a("path",{fill:"#4a00e0",d:"M19.604 11.714l-2.138-1.089c-0.299-0.152-0.664-0.033-0.817 0.265s-0.033 0.664 0.265 0.817l2.138 1.089c0.088 0.045 0.182 0.066 0.275 0.066 0.221 0 0.434-0.121 0.541-0.332 0.152-0.299 0.033-0.664-0.265-0.817z"}),a("path",{fill:"#4a00e0",d:"M16.533 8.193c0.083 0.257 0.321 0.42 0.577 0.42 0.062 0 0.125-0.010 0.188-0.030l2.282-0.742c0.319-0.104 0.493-0.446 0.39-0.765s-0.446-0.493-0.765-0.39l-2.282 0.742c-0.319 0.104-0.493 0.446-0.39 0.765z"})),table_of_contents:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M0 0h1.25v20h-1.25v-20zM18.75 0h1.25v20h-1.25v-20zM1.25 1.25v-1.25h17.5v1.25h-17.5zM1.25 20v-1.25h17.5v1.25h-17.5zM1.25 4.063v-1.25h17.5v1.25h-17.5zM13.75 1.25h1.25v1.563h-1.25v-1.563zM4.375 5c-0.938 0-1.875 0.938-1.875 1.875s0.938 1.875 1.875 1.875c0.938 0 1.875-0.938 1.875-1.875s-0.938-1.875-1.875-1.875zM4.375 5.938c0.625 0 0.938 0.313 0.938 0.938s-0.313 0.938-0.938 0.938c-0.625 0-0.938-0.313-0.938-0.938s0.313-0.938 0.938-0.938zM7.813 7.5h9.688v-1.25h-9.688v1.25zM4.375 9.688c-0.938 0-1.875 0.625-1.875 1.875 0 0.938 0.938 1.875 1.875 1.875s1.875-0.938 1.875-1.875c0-1.25-0.938-1.875-1.875-1.875zM4.375 10.313c0.625 0 0.938 0.625 0.938 1.25 0 0.313-0.313 0.938-0.938 0.938s-0.938-0.625-0.938-0.938c0-0.625 0.313-1.25 0.938-1.25zM7.813 12.188h9.688v-1.25h-9.688v1.25zM4.375 14.063c0.938 0 1.875 0.938 1.875 1.875s-0.938 1.875-1.875 1.875c-0.938 0-1.875-0.938-1.875-1.875s0.938-1.875 1.875-1.875zM4.375 15c-0.625 0-0.938 0.313-0.938 0.938s0.313 0.938 0.938 0.938c0.625 0 0.938-0.313 0.938-0.938s-0.313-0.938-0.938-0.938zM7.813 16.563h9.688v-1.25h-9.688v1.25z"}))};t.a=l},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function r(e){if(m===clearTimeout)return clearTimeout(e);if((m===a||!m)&&clearTimeout)return m=clearTimeout,clearTimeout(e);try{return m(e)}catch(t){try{return m.call(null,e)}catch(t){return m.call(this,e)}}}function i(){g&&h&&(g=!1,h.length?d=h.concat(d):b=-1,d.length&&o())}function o(){if(!g){var e=l(i);g=!0;for(var t=d.length;t;){for(h=d,d=[];++b<t;)h&&h[b].run();b=-1,t=d.length}h=null,g=!1,r(e)}}function c(e,t){this.fun=e,this.array=t}function s(){}var u,m,p=e.exports={};!function(){try{u="function"===typeof setTimeout?setTimeout:n}catch(e){u=n}try{m="function"===typeof clearTimeout?clearTimeout:a}catch(e){m=a}}();var h,d=[],g=!1,b=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new c(e,t)),1!==d.length||g||l(o)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=s,p.addListener=s,p.once=s,p.off=s,p.removeListener=s,p.removeAllListeners=s,p.emit=s,p.prependListener=s,p.prependOnceListener=s,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";function a(e,t){var n="";return"undefined"!=typeof e&&(n+=e+t),n}t.a=a},function(e,t,n){function a(e,t){return(o(e)?l:i)(e,r(t,3))}var l=n(29),r=n(77),i=n(212),o=n(12);e.exports=a},function(e,t,n){"use strict";(function(t){"production"===t.env.NODE_ENV?e.exports=n(224):e.exports=n(225)}).call(t,n(2))},function(e,t,n){"use strict";function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",l="",r="",i="";"tablet"==a?l=uagb_blocks_info.tablet_breakpoint:"mobile"==a&&(l=uagb_blocks_info.mobile_breakpoint);for(var o in e){var c=e[o],s="";for(var u in c){var m=!0;"string"===typeof c[u]&&0===c[u].length&&(m=!1),"undefined"!=typeof c[u]&&m&&(s+=u+": "+c[u]+";")}0!==s.length&&(r+=t,r+=o+"{",r+=s,r+="}")}return n&&"undefined"!==typeof r&&0!==r.length&&(i+="@media only screen and (max-width: "+l+"px) {",i+=r,i+="}"),n?i:r}t.a=a},function(e,t,n){"use strict";function a(e){e=Object(i.a)(e);var t=r.a[e];if("undefined"!=typeof t){var n=t.svg.hasOwnProperty("brands")?t.svg.brands.viewBox:t.svg.solid.viewBox,a=t.svg.hasOwnProperty("brands")?t.svg.brands.path:t.svg.solid.path,l=n.join(" ");return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:l},wp.element.createElement("path",{d:a}))}}var l=n(16),r=n.n(l),i=n(374);t.a=a},function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=n(219),c=n(251),s=(n(252),n(253)),u=(n.n(s),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}),m=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),p=wp.i18n.__,h=wp.components,d=h.Button,g=h.Dashicon,b=wp.element,v=b.Component,f=b.Fragment,w=function(e){function t(){l(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onAdvancedControlClick=e.onAdvancedControlClick.bind(e),e.onAdvancedControlReset=e.onAdvancedControlReset.bind(e),e}return i(t,e),m(t,[{key:"onAdvancedControlClick",value:function(){var e=!0,t=p("Hide Advanced");null!==this.state&&!0===this.state.showAdvancedControls&&(e=!1,t=p("Advanced")),this.setState({showAdvancedControls:e,showAdvancedControlsLabel:t})}},{key:"onAdvancedControlReset",value:function(){var e=this.props.setAttributes;e(a({},this.props.fontFamily.label,"")),e(a({},this.props.fontWeight.label,"")),e(a({},this.props.fontSubset.label,"")),e(a({},this.props.fontSize.label,"")),e(a({},this.props.fontSizeType.label,"px")),e(a({},this.props.fontSizeMobile.label,"")),e(a({},this.props.fontSizeTablet.label,"")),e(a({},this.props.lineHeight.label,"")),e(a({},this.props.lineHeightType.label,"em")),e(a({},this.props.lineHeightMobile.label,"")),e(a({},this.props.lineHeightTablet.label,"")),e(a({},this.props.loadGoogleFonts.label,!1))}},{key:"render",value:function(){var e=void 0,t=void 0,n=void 0,a=void 0,l=void 0,r=void 0,i=this.props,s=i.disableFontFamily,m=i.disableFontSize,h=i.disableLineHeight,b=i.disableAdvancedOptions,v=void 0!==b&&b;return!0!==s&&(n=wp.element.createElement(o.a,this.props)),!0!==h&&(t=wp.element.createElement(c.a,u({type:this.props.lineHeightType,typeLabel:this.props.lineHeightType.label,sizeMobile:this.props.lineHeightMobile,sizeMobileLabel:this.props.lineHeightMobile.label,sizeTablet:this.props.lineHeightTablet,sizeTabletLabel:this.props.lineHeightTablet.label,size:this.props.lineHeight,sizeLabel:this.props.lineHeight.label,sizeMobileText:p("Line Height"),sizeTabletText:p("Line Height"),sizeText:p("Line Height")},this.props))),!0!==m&&(e=wp.element.createElement(c.a,u({type:this.props.fontSizeType,typeLabel:this.props.fontSizeType.label,sizeMobile:this.props.fontSizeMobile,sizeMobileLabel:this.props.fontSizeMobile.label,sizeTablet:this.props.fontSizeTablet,sizeTabletLabel:this.props.fontSizeTablet.label,size:this.props.fontSize,sizeLabel:this.props.fontSize.label,sizeMobileText:this.props.fontSizeLabel?this.props.fontSizeLabel:p("Font Size"),sizeTabletText:this.props.fontSizeLabel?this.props.fontSizeLabel:p("Font Size"),sizeText:this.props.fontSizeLabel?this.props.fontSizeLabel:p("Font Size")},this.props))),!0!==s&&!0!==m?(a=wp.element.createElement(d,{className:"uagb-size-btn uagb-typography-control-btn",isSmall:!0,"aria-pressed":null!==this.state,onClick:this.onAdvancedControlClick},wp.element.createElement(g,{icon:"admin-tools"})),r=wp.element.createElement(d,{className:"uagb-size-btn uagb-typography-reset-btn",isSmall:!0,"aria-pressed":null!==this.state,onClick:this.onAdvancedControlReset},wp.element.createElement(g,{icon:"image-rotate"}))):l=wp.element.createElement(f,null,n,t),null!==this.state&&!0===this.state.showAdvancedControls&&(l=wp.element.createElement("div",{className:"uagb-typography-advanced"},n,t)),wp.element.createElement("div",{className:"uag-typography-options"},e,!v&&wp.element.createElement(f,null,wp.element.createElement("div",{className:"uag-typography-option-actions"},wp.element.createElement("strong",null,p("Advanced Typography")),a,r),l))}}]),t}(v);t.a=w},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(13),o=n.n(i),c=n(254),s=n.n(c),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();if(void 0===p)var p=[];var h=wp.element.Component,d={inactive:"inactive",active:"active",loading:"loading"},g=function(){},b=function(e){function t(e){a(this,t);var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={status:void 0},n.handleLoading=function(){n.setState({status:d.loading})},n.addFont=function(e){p.includes(e)||p.push(e)},n.handleActive=function(){n.setState({status:d.active})},n.handleInactive=function(){n.setState({status:d.inactive})},n.loadFonts=function(){p.includes(n.props.config.google.families[0])||(s.a.load(u({},n.props.config,{loading:n.handleLoading,active:n.handleActive,inactive:n.handleInactive})),n.addFont(n.props.config.google.families[0]))},n}return r(t,e),m(t,[{key:"componentDidMount",value:function(){this.loadFonts()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,a=n.onStatus,l=n.config;t.status!==this.state.status&&a(this.state.status),e.config!==l&&this.loadFonts()}},{key:"render",value:function(){return this.props.children||null}}]),t}(h);b.propTypes={config:o.a.object.isRequired,children:o.a.element,onStatus:o.a.func.isRequired},b.defaultProps={onStatus:g},t.a=b},function(e,t,n){var a=n(79),l="object"==typeof self&&self&&self.Object===Object&&self,r=a||l||Function("return this")();e.exports=r},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var a="function"===typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,l=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===a};e.exports=n(240)(l,!0)}else e.exports=n(241)()}).call(t,n(2))},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function a(e,t){if((e=i(e))<1||e>o)return[];var n=c,a=s(e,c);t=r(t),e-=c;for(var u=l(a,t);++n<e;)t(n);return u}var l=n(88),r=n(366),i=n(109),o=9007199254740991,c=4294967295,s=Math.min;e.exports=a},function(e,t){e.exports={"500px":{search:{terms:[]},styles:["brands"],label:"500px",svg:{brands:{viewBox:["0","0","448","512"],path:"M103.3 344.3c-6.5-14.2-6.9-18.3 7.4-23.1 25.6-8 8 9.2 43.2 49.2h.3v-93.9c1.2-50.2 44-92.2 97.7-92.2 53.9 0 97.7 43.5 97.7 96.8 0 63.4-60.8 113.2-128.5 93.3-10.5-4.2-2.1-31.7 8.5-28.6 53 0 89.4-10.1 89.4-64.4 0-61-77.1-89.6-116.9-44.6-23.5 26.4-17.6 42.1-17.6 157.6 50.7 31 118.3 22 160.4-20.1 24.8-24.8 38.5-58 38.5-93 0-35.2-13.8-68.2-38.8-93.3-24.8-24.8-57.8-38.5-93.3-38.5s-68.8 13.8-93.5 38.5c-.3.3-16 16.5-21.2 23.9l-.5.6c-3.3 4.7-6.3 9.1-20.1 6.1-6.9-1.7-14.3-5.8-14.3-11.8V20c0-5 3.9-10.5 10.5-10.5h241.3c8.3 0 8.3 11.6 8.3 15.1 0 3.9 0 15.1-8.3 15.1H130.3v132.9h.3c104.2-109.8 282.8-36 282.8 108.9 0 178.1-244.8 220.3-310.1 62.8zm63.3-260.8c-.5 4.2 4.6 24.5 14.6 20.6C306 56.6 384 144.5 390.6 144.5c4.8 0 22.8-15.3 14.3-22.8-93.2-89-234.5-57-238.3-38.2zM393 414.7C283 524.6 94 475.5 61 310.5c0-12.2-30.4-7.4-28.9 3.3 24 173.4 246 256.9 381.6 121.3 6.9-7.8-12.6-28.4-20.7-20.4zM213.6 306.6c0 4 4.3 7.3 5.5 8.5 3 3 6.1 4.4 8.5 4.4 3.8 0 2.6.2 22.3-19.5 19.6 19.3 19.1 19.5 22.3 19.5 5.4 0 18.5-10.4 10.7-18.2L265.6 284l18.2-18.2c6.3-6.8-10.1-21.8-16.2-15.7L249.7 268c-18.6-18.8-18.4-19.5-21.5-19.5-5 0-18 11.7-12.4 17.3L234 284c-18.1 17.9-20.4 19.2-20.4 22.6z"}}},"accessible-icon":{search:{terms:["accessibility","handicap","person","wheelchair","wheelchair-alt"]},styles:["brands"],label:"Accessible Icon",svg:{brands:{viewBox:["0","0","448","512"],path:"M423.9 255.8L411 413.1c-3.3 40.7-63.9 35.1-60.6-4.9l10-122.5-41.1 2.3c10.1 20.7 15.8 43.9 15.8 68.5 0 41.2-16.1 78.7-42.3 106.5l-39.3-39.3c57.9-63.7 13.1-167.2-74-167.2-25.9 0-49.5 9.9-67.2 26L73 243.2c22-20.7 50.1-35.1 81.4-40.2l75.3-85.7-42.6-24.8-51.6 46c-30 26.8-70.6-18.5-40.5-45.4l68-60.7c9.8-8.8 24.1-10.2 35.5-3.6 0 0 139.3 80.9 139.5 81.1 16.2 10.1 20.7 36 6.1 52.6L285.7 229l106.1-5.9c18.5-1.1 33.6 14.4 32.1 32.7zm-64.9-154c28.1 0 50.9-22.8 50.9-50.9C409.9 22.8 387.1 0 359 0c-28.1 0-50.9 22.8-50.9 50.9 0 28.1 22.8 50.9 50.9 50.9zM179.6 456.5c-80.6 0-127.4-90.6-82.7-156.1l-39.7-39.7C36.4 287 24 320.3 24 356.4c0 130.7 150.7 201.4 251.4 122.5l-39.7-39.7c-16 10.9-35.3 17.3-56.1 17.3z"}}},accusoft:{search:{terms:[]},styles:["brands"],label:"Accusoft",svg:{brands:{viewBox:["0","0","640","512"],path:"M482.2 372.1C476.5 365.2 250 75 242.3 65.5c-13.7-17.2 0-16.8 19.2-16.9 9.7-.1 106.3-.6 116.5-.6 24.1-.1 28.7.6 38.4 12.8 2.1 2.7 205.1 245.8 207.2 248.3 5.5 6.7 15.2 19.1 7.2 23.4-2.4 1.3-114.6 47.7-117.8 48.9-10.1 4-17.5 6.8-30.8-9.3m114.7-5.6s-115 50.4-117.5 51.6c-16 7.3-26.9-3.2-36.7-14.6l-57.1-74c-5.4-.9-60.4-9.6-65.3-9.3-3.1.2-9.6.8-14.4 2.9-4.9 2.1-145.2 52.8-150.2 54.7-5.1 2-11.4 3.6-11.1 7.6.2 2.5 2 2.6 4.6 3.5 2.7.8 300.9 67.6 308 69.1 15.6 3.3 38.5 10.5 53.6 1.7 2.1-1.2 123.8-76.4 125.8-77.8 5.4-4 4.3-6.8-1.7-8.2-2.3-.3-24.6-4.7-38-7.2m-326-181.3s-12 1.6-25 15.1c-9 9.3-242.1 239.1-243.4 240.9-7 10 1.6 6.8 15.7 1.7.8 0 114.5-36.6 114.5-36.6.5-.6-.1-.1.6-.6-.4-5.1-.8-26.2-1-27.7-.6-5.2 2.2-6.9 7-8.9l92.6-33.8c.6-.8 88.5-81.7 90.2-83.3v-1l-51.2-65.8"}}},"acquisitions-incorporated":{search:{terms:["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},styles:["brands"],label:"Acquisitions Incorporated",svg:{brands:{viewBox:["0","0","344.76","512"],path:"M344 0c-.81 5.47-1.63 10.79-2.39 16.12-1.39 9.74-2.9 19.48-4.05 29.25-.35 2.96-1.21 4.32-4.3 4.33-20.61.11-41.21.14-61.82.53-18.76.35-37.58.28-56.23 2-13.42 1.24-23.28 12.67-18.88 26.64 8.55 27.11 27.65 69.1 36.37 89.45 65.72 154.14 61.43 156.99 84 158.56 6.67.46 13.4.07 20.43.07 1.39 9.4 2.66 18.04 4.05 27.51H225.17v-27c10.33 0 20.36-.12 30.38.06 3.52.06 5.05-.63 3.44-4.37-4.44-10.29-8.77-20.63-13.25-30.9-1.62-3.72-4.06-4.78-8.4-3.52-12.32 3.59-24.79 6.69-37.26 9.69-4.25 1.02-5.93 2.77-5.86 7.46.85 57.47.95 127.53 1 129.12.4 12.54 8.75 21.41 21.03 23.07.89.12 12.89 2.72 112.68 2.56 8.25-.01 8.41-.17 9.57 7.56 2.15 14.34 4.14 28.7 6.26 43.53-367.75 0-153.93.61-337.09 0-3.95-.01-6.08-.69-5.28-5.74 2.04-12.86 3.5-25.82 4.97-38.76.55-4.81 2.29-6.81 7.63-6.77 118.09.99 114.93.35 121.43-2.39 9.42-3.98 14.98-12.85 14.95-23.07-.12-42.93-.33-85.86-.25-128.79.01-3.87-1.16-5.99-4.56-6.84-15.64-3.92-31.31-7.71-47.58-11.7-5.23 12.27-10.39 24.37-15.66 36.7 1.83 3.35 28.38 2.93 35.28 2.93v27.64H4.34c1.03-8.61 1.77-16.81 3.23-24.88.25-1.41 3.53-3.14 5.47-3.22 8.46-.35 16.95-.29 25.43-.09 3.99.09 5.92-1.04 7.61-5.16 16.63-40.7 13.51-31.17 67.31-160.97 31.53-76.09 33.06-76.02 32.64-87.43-.69-18.56-25.37-22.26-37.65-22.11-30.04.38-38.45-.47-101.84-.47C-.62 6.11 2.37 18.54.16 5.32-.55 1.08 1.19.03 4.8.02m113.08 247.19c2.3 1.15 3.97 2.29 5.82 2.87 13.29 4.21 26.64 8.24 39.93 12.46 6.14 1.95 11.98 2.12 18.3.05 13.02-4.28 26.29-7.81 39.43-11.73 1.46-.44 2.74-1.44 3.93-2.09-6.71-17.37-13.12-34.15-19.67-50.88-8.88-22.67-17.63-60.32-26.98-82.81-1.53-.78-1.91 2.36-9.43 0-17.11 44.05-34.14 87.88-51.33 132.13z"}}},ad:{search:{terms:[]},styles:["solid"],label:"Ad",svg:{solid:{viewBox:["0","0","512","512"],path:"M157.52 272h36.96L176 218.78 157.52 272zM352 256c-13.23 0-24 10.77-24 24s10.77 24 24 24 24-10.77 24-24-10.77-24-24-24zM464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM250.58 352h-16.94c-6.81 0-12.88-4.32-15.12-10.75L211.15 320h-70.29l-7.38 21.25A16 16 0 0 1 118.36 352h-16.94c-11.01 0-18.73-10.85-15.12-21.25L140 176.12A23.995 23.995 0 0 1 162.67 160h26.66A23.99 23.99 0 0 1 212 176.13l53.69 154.62c3.61 10.4-4.11 21.25-15.11 21.25zM424 336c0 8.84-7.16 16-16 16h-16c-4.85 0-9.04-2.27-11.98-5.68-8.62 3.66-18.09 5.68-28.02 5.68-39.7 0-72-32.3-72-72s32.3-72 72-72c8.46 0 16.46 1.73 24 4.42V176c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v160z"}}},"address-book":{search:{terms:[]},styles:["solid","regular"],label:"Address Book",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-228-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H118.4C106 384 96 375.4 96 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z"},regular:{last_modified:1525209365040,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-68 304H48V48h320v416zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-68 304H48V48h320v416zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z"}}},"address-card":{search:{terms:[]},styles:["solid","regular"],label:"Address Card",svg:{solid:{viewBox:["0","0","576","512"],path:"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-352 96c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H86.4C74 384 64 375.4 64 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2zM512 312c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z"},regular:{last_modified:1525209365041,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H48V80h480v352zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2zM360 320h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8z"/></svg>',viewBox:["0","0","576","512"],width:576,height:512,path:"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H48V80h480v352zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2zM360 320h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8z"}}},adjust:{search:{terms:["contrast"]},styles:["solid"],label:"adjust",svg:{solid:{viewBox:["0","0","512","512"],path:"M8 256c0 136.966 111.033 248 248 248s248-111.034 248-248S392.966 8 256 8 8 119.033 8 256zm248 184V72c101.705 0 184 82.311 184 184 0 101.705-82.311 184-184 184z"}}},adn:{search:{terms:[]},styles:["brands"],label:"App.net",svg:{brands:{viewBox:["0","0","496","512"],path:"M248 167.5l64.9 98.8H183.1l64.9-98.8zM496 256c0 136.9-111.1 248-248 248S0 392.9 0 256 111.1 8 248 8s248 111.1 248 248zm-99.8 82.7L248 115.5 99.8 338.7h30.4l33.6-51.7h168.6l33.6 51.7h30.2z"}}},adversal:{search:{terms:[]},styles:["brands"],label:"Adversal",svg:{brands:{viewBox:["0","0","512","512"],path:"M482.1 32H28.7C5.8 32 0 37.9 0 60.9v390.2C0 474.4 5.8 480 28.7 480h453.4c24.4 0 29.9-5.2 29.9-29.7V62.2c0-24.6-5.4-30.2-29.9-30.2zM178.4 220.3c-27.5-20.2-72.1-8.7-84.2 23.4-4.3 11.1-9.3 9.5-17.5 8.3-9.7-1.5-17.2-3.2-22.5-5.5-28.8-11.4 8.6-55.3 24.9-64.3 41.1-21.4 83.4-22.2 125.3-4.8 40.9 16.8 34.5 59.2 34.5 128.5 2.7 25.8-4.3 58.3 9.3 88.8 1.9 4.4.4 7.9-2.7 10.7-8.4 6.7-39.3 2.2-46.6-7.4-1.9-2.2-1.8-3.6-3.9-6.2-3.6-3.9-7.3-2.2-11.9 1-57.4 36.4-140.3 21.4-147-43.3-3.1-29.3 12.4-57.1 39.6-71 38.2-19.5 112.2-11.8 114-30.9 1.1-10.2-1.9-20.1-11.3-27.3zm286.7 222c0 15.1-11.1 9.9-17.8 9.9H52.4c-7.4 0-18.2 4.8-17.8-10.7.4-13.9 10.5-9.1 17.1-9.1 132.3-.4 264.5-.4 396.8 0 6.8 0 16.6-4.4 16.6 9.9zm3.8-340.5v291c0 5.7-.7 13.9-8.1 13.9-12.4-.4-27.5 7.1-36.1-5.6-5.8-8.7-7.8-4-12.4-1.2-53.4 29.7-128.1 7.1-144.4-85.2-6.1-33.4-.7-67.1 15.7-100 11.8-23.9 56.9-76.1 136.1-30.5v-71c0-26.2-.1-26.2 26-26.2 3.1 0 6.6.4 9.7 0 10.1-.8 13.6 4.4 13.6 14.3-.1.2-.1.3-.1.5zm-51.5 232.3c-19.5 47.6-72.9 43.3-90 5.2-15.1-33.3-15.5-68.2.4-101.5 16.3-34.1 59.7-35.7 81.5-4.8 20.6 28.8 14.9 84.6 8.1 101.1zm-294.8 35.3c-7.5-1.3-33-3.3-33.7-27.8-.4-13.9 7.8-23 19.8-25.8 24.4-5.9 49.3-9.9 73.7-14.7 8.9-2 7.4 4.4 7.8 9.5 1.4 33-26.1 59.2-67.6 58.8z"}}},affiliatetheme:{search:{terms:[]},styles:["brands"],label:"affiliatetheme",svg:{brands:{viewBox:["0","0","512","512"],path:"M159.7 237.4C108.4 308.3 43.1 348.2 14 326.6-15.2 304.9 2.8 230 54.2 159.1c51.3-70.9 116.6-110.8 145.7-89.2 29.1 21.6 11.1 96.6-40.2 167.5zm351.2-57.3C437.1 303.5 319 367.8 246.4 323.7c-25-15.2-41.3-41.2-49-73.8-33.6 64.8-92.8 113.8-164.1 133.2 49.8 59.3 124.1 96.9 207 96.9 150 0 271.6-123.1 271.6-274.9.1-8.5-.3-16.8-1-25z"}}},"air-freshener":{search:{terms:[]},styles:["solid"],label:"Air Freshener",svg:{solid:{viewBox:["0","0","384","512"],path:"M378.94 321.41L284.7 224h49.22c15.3 0 23.66-16.6 13.86-27.53L234.45 69.96c3.43-6.61 5.55-14 5.55-21.96 0-26.51-21.49-48-48-48s-48 21.49-48 48c0 7.96 2.12 15.35 5.55 21.96L36.22 196.47C26.42 207.4 34.78 224 50.08 224H99.3L5.06 321.41C-6.69 333.56 3.34 352 21.7 352H160v32H48c-8.84 0-16 7.16-16 16v96c0 8.84 7.16 16 16 16h288c8.84 0 16-7.16 16-16v-96c0-8.84-7.16-16-16-16H224v-32h138.3c18.36 0 28.39-18.44 16.64-30.59zM192 31.98c8.85 0 16.02 7.17 16.02 16.02 0 8.84-7.17 16.02-16.02 16.02S175.98 56.84 175.98 48c0-8.85 7.17-16.02 16.02-16.02zM304 432v32H80v-32h224z"}}},algolia:{search:{terms:[]},styles:["brands"],label:"Algolia",svg:{brands:{viewBox:["0","0","448","512"],path:"M229.3 182.6c-49.3 0-89.2 39.9-89.2 89.2 0 49.3 39.9 89.2 89.2 89.2s89.2-39.9 89.2-89.2c0-49.3-40-89.2-89.2-89.2zm62.7 56.6l-58.9 30.6c-1.8.9-3.8-.4-3.8-2.3V201c0-1.5 1.3-2.7 2.7-2.6 26.2 1 48.9 15.7 61.1 37.1.7 1.3.2 3-1.1 3.7zM389.1 32H58.9C26.4 32 0 58.4 0 90.9V421c0 32.6 26.4 59 58.9 59H389c32.6 0 58.9-26.4 58.9-58.9V90.9C448 58.4 421.6 32 389.1 32zm-202.6 84.7c0-10.8 8.7-19.5 19.5-19.5h45.3c10.8 0 19.5 8.7 19.5 19.5v15.4c0 1.8-1.7 3-3.3 2.5-12.3-3.4-25.1-5.1-38.1-5.1-13.5 0-26.7 1.8-39.4 5.5-1.7.5-3.4-.8-3.4-2.5v-15.8zm-84.4 37l9.2-9.2c7.6-7.6 19.9-7.6 27.5 0l7.7 7.7c1.1 1.1 1 3-.3 4-6.2 4.5-12.1 9.4-17.6 14.9-5.4 5.4-10.4 11.3-14.8 17.4-1 1.3-2.9 1.5-4 .3l-7.7-7.7c-7.6-7.5-7.6-19.8 0-27.4zm127.2 244.8c-70 0-126.6-56.7-126.6-126.6s56.7-126.6 126.6-126.6c70 0 126.6 56.6 126.6 126.6 0 69.8-56.7 126.6-126.6 126.6z"}}},"align-center":{search:{terms:["middle","text"]},styles:["solid"],label:"align-center",svg:{solid:{viewBox:["0","0","448","512"],path:"M352 44v40c0 8.837-7.163 16-16 16H112c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h224c8.837 0 16 7.163 16 16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm320-200H112c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"}}},"align-justify":{search:{terms:["text"]},styles:["solid"],label:"align-justify",svg:{solid:{viewBox:["0","0","448","512"],path:"M0 84V44c0-8.837 7.163-16 16-16h416c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16zm16 144h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0-128h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}},"align-left":{search:{terms:["text"]},styles:["solid"],label:"align-left",svg:{solid:{viewBox:["0","0","448","512"],path:"M288 44v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16zM0 172v40c0 8.837 7.163 16 16 16h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16zm16 312h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm256-200H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"}}},"align-right":{search:{terms:["text"]},styles:["solid"],label:"align-right",svg:{solid:{viewBox:["0","0","448","512"],path:"M160 84V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H176c-8.837 0-16-7.163-16-16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm160-128h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H176c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}},alipay:{search:{terms:[]},styles:["brands"],label:"Alipay",svg:{brands:{viewBox:["0","0","448","512"],path:"M377.74 32H70.26C31.41 32 0 63.41 0 102.26v307.48C0 448.59 31.41 480 70.26 480h307.48c38.52 0 69.76-31.08 70.26-69.6-45.96-25.62-110.59-60.34-171.6-88.44-32.07 43.97-84.14 81-148.62 81-70.59 0-93.73-45.3-97.04-76.37-3.97-39.01 14.88-81.5 99.52-81.5 35.38 0 79.35 10.25 127.13 24.96 16.53-30.09 26.45-60.34 26.45-60.34h-178.2v-16.7h92.08v-31.24H88.28v-19.01h109.44V92.34h50.92v50.42h109.44v19.01H248.63v31.24h88.77s-15.21 46.62-38.35 90.92c48.93 16.7 100.01 36.04 148.62 52.74V102.26C447.83 63.57 416.43 32 377.74 32zM47.28 322.95c.99 20.17 10.25 53.73 69.93 53.73 52.07 0 92.58-39.68 117.87-72.9-44.63-18.68-84.48-31.41-109.44-31.41-67.45 0-79.35 33.06-78.36 50.58z"}}},allergies:{search:{terms:["freckles","hand","intolerances","pox","spots"]},styles:["solid"],label:"Allergies",svg:{solid:{viewBox:["0","0","448","512"],path:"M416 112c-17.6 0-32 14.4-32 32v72c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32s-32 14.4-32 32v152c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V32c0-17.6-14.4-32-32-32s-32 14.4-32 32v184c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32S96 46.4 96 64v241l-23.6-32.5c-13-17.9-38-21.8-55.9-8.8s-21.8 38-8.8 55.9l125.6 172.7c9 12.4 23.5 19.8 38.8 19.8h197.6c22.3 0 41.6-15.3 46.7-37l26.5-112.7c3.2-13.7 4.9-28.3 5.1-42.3V144c0-17.6-14.4-32-32-32zM176 416c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 32c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32 64c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32-128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z"}}},amazon:{search:{terms:[]},styles:["brands"],label:"Amazon",svg:{brands:{viewBox:["0","0","448","512"],path:"M257.2 162.7c-48.7 1.8-169.5 15.5-169.5 117.5 0 109.5 138.3 114 183.5 43.2 6.5 10.2 35.4 37.5 45.3 46.8l56.8-56S341 288.9 341 261.4V114.3C341 89 316.5 32 228.7 32 140.7 32 94 87 94 136.3l73.5 6.8c16.3-49.5 54.2-49.5 54.2-49.5 40.7-.1 35.5 29.8 35.5 69.1zm0 86.8c0 80-84.2 68-84.2 17.2 0-47.2 50.5-56.7 84.2-57.8v40.6zm136 163.5c-7.7 10-70 67-174.5 67S34.2 408.5 9.7 379c-6.8-7.7 1-11.3 5.5-8.3C88.5 415.2 203 488.5 387.7 401c7.5-3.7 13.3 2 5.5 12zm39.8 2.2c-6.5 15.8-16 26.8-21.2 31-5.5 4.5-9.5 2.7-6.5-3.8s19.3-46.5 12.7-55c-6.5-8.3-37-4.3-48-3.2-10.8 1-13 2-14-.3-2.3-5.7 21.7-15.5 37.5-17.5 15.7-1.8 41-.8 46 5.7 3.7 5.1 0 27.1-6.5 43.1z"}}},"amazon-pay":{search:{terms:[]},styles:["brands"],label:"Amazon Pay",svg:{brands:{viewBox:["0","0","611.2","512"],path:"M0 325.2c2.3-4.2 5.2-4.9 9.7-2.5 10.4 5.6 20.6 11.4 31.2 16.7 40.7 20.4 83.2 35.6 127.4 46.3 20.9 5 41.9 9 63.2 11.8 31.5 4.2 63.2 6 95 5.2 17.4-.4 34.8-1.8 52.1-3.8 56.4-6.7 110.9-20.8 163.3-42.8 2.9-1.2 5.9-2 9.1-1.2 6.7 1.8 9 9 4.1 13.9-2.8 2.8-6.3 5.1-9.6 7.4-30.7 21.1-64.2 36.4-99.6 47.9-24.6 7.9-49.6 13.8-75.1 17.6-17.6 2.6-35.4 4.4-53.2 4.8-.8 0-1.7.2-2.5.3H294c-.8-.1-1.7-.3-2.5-.3-3.6-.2-7.2-.3-10.7-.4-16.9-.7-33.7-2.6-50.4-5.3-27.4-4.5-54.2-11.4-80.4-20.9-54.1-19.6-102.6-48.6-145.6-87-1.8-1.6-3-3.8-4.4-5.7v-2zM158 65c-1.4.2-2.9.4-4.3.6-14 1.7-26.6 6.9-38 15.1-2.4 1.7-4.6 3.5-7.1 5.4-.2-.5-.4-1-.4-1.4-.4-2.7-.8-5.5-1.3-8.2-.7-4.6-3-6.6-7.6-6.6H87.8c-6.9 0-8.2 1.3-8.2 8.2v209.3c0 1 0 2 .1 3 .2 3 2 4.9 4.9 5 7 .1 14.1.1 21.1 0 2.9 0 4.7-2 5-5 .1-1 .1-2 .1-3V215c1.1.9 1.7 1.4 2.2 1.9 17.9 14.9 38.5 19.8 61 15.4 20.4-4 34.6-16.5 43.8-34.9 7-13.9 9.9-28.7 10.3-44.1.5-17.1-1.2-33.9-8.1-49.8-8.5-19.6-22.6-32.5-43.9-36.9-3.2-.7-6.5-1-9.8-1.5-2.8-.1-5.5-.1-8.3-.1zm-47.4 41.9c0-1.5.4-2.4 1.7-3.3 13.7-9.5 28.8-14.5 45.6-13.2 14.9 1.1 27.1 8.4 33.5 25.9 3.9 10.7 4.9 21.8 4.9 33 0 10.4-.8 20.6-4 30.6-6.8 21.3-22.4 29.4-42.6 28.5-14-.6-26.2-6-37.4-13.9-1.2-.9-1.7-1.7-1.7-3.3.1-14.1 0-28.1 0-42.2 0-14 .1-28 0-42.1zM316.3 65c-1 .1-2 .3-2.9.4-9.8.5-19.4 1.7-28.9 4.1-6.1 1.6-12 3.8-17.9 5.8-3.6 1.2-5.4 3.8-5.3 7.7.1 3.3-.1 6.6 0 9.9.1 4.8 2.1 6.1 6.8 4.9 7.8-2 15.6-4.2 23.5-5.7 12.3-2.3 24.7-3.3 37.2-1.4 6.5 1 12.6 2.9 16.8 8.4 3.7 4.8 5.1 10.5 5.3 16.4.3 8.3.2 16.6.3 24.9 0 .4-.1.9-.2 1.4-.5-.1-.9 0-1.3-.1-10.5-2.5-21.1-4.3-32-4.9-11.3-.6-22.5.1-33.3 3.9-12.9 4.5-23.3 12.3-29.4 24.9-4.7 9.8-5.4 20.2-3.9 30.7 2 14 9 24.8 21.4 31.7 11.9 6.6 24.8 7.4 37.9 5.4 15.1-2.3 28.5-8.7 40.3-18.4.4-.4.9-.7 1.6-1.1.6 3.8 1.1 7.4 1.8 11 .6 3.1 2.5 5.1 5.4 5.2 5.4.1 10.9.1 16.3 0 2.7-.1 4.5-1.9 4.8-4.7.1-.9.1-1.9.1-2.8v-106c0-4.3-.2-8.6-.9-12.9-1.9-12.9-7.4-23.5-19-30.4-6.7-4-14.1-6-21.8-7.1-3.6-.5-7.2-.8-10.8-1.3-3.9.1-7.9.1-11.9.1zm35 127.7c0 1.3-.4 2.2-1.5 3-11.2 8.1-23.5 13.5-37.4 14.9-5.7.6-11.4.4-16.8-1.8-6.3-2.5-10.4-6.9-12.4-13.3s-2-13-.1-19.4c2.5-8.3 8.4-13 16.4-15.6 8.1-2.6 16.5-3 24.8-2.2 8.4.7 16.6 2.3 25 3.4 1.6.2 2.1 1 2.1 2.6-.1 4.8 0 9.5 0 14.3-.1 4.7-.2 9.4-.1 14.1zm259.9 129.4c-1-5-4.8-6.9-9.1-8.3-6.8-2.3-13.9-3.3-21-3.9-13.1-1.1-26.2-.5-39.2 1.9-14.3 2.7-27.9 7.3-40 15.6-1.4 1-2.8 2.1-3.7 3.5-.7 1.1-.9 2.8-.5 4 .4 1.5 2.1 1.9 3.6 1.8.7 0 1.5 0 2.2-.1 7.8-.8 15.5-1.7 23.3-2.5 11.4-1.1 22.9-1.8 34.3-.9 4.8.3 9.7 1.4 14.4 2.7 5.1 1.4 7.4 5.2 7.6 10.4.4 8-1.4 15.7-3.5 23.3-4.1 15.4-10 30.3-15.8 45.1-.4 1-.8 2-1 3-.5 2.9 1.2 4.8 4.1 4.1 1.7-.4 3.6-1.3 4.8-2.5 4.4-4.3 8.9-8.6 12.7-13.4 12.8-16.4 20.3-35.3 24.7-55.6.8-3.6 1.4-7.3 2.1-10.9v-17.3zM479.1 198.9c-12.9-35.7-25.8-71.5-38.7-107.2-2-5.7-4.2-11.3-6.3-16.9-1.1-2.9-3.2-4.8-6.4-4.8-7.6-.1-15.2-.2-22.9-.1-2.5 0-3.7 2-3.2 4.5.5 2.1 1.1 4.1 1.9 6.1 19.6 48.5 39.3 97.1 59.1 145.5 1.7 4.1 2.1 7.6.2 11.8-3.3 7.3-5.9 15-9.3 22.3-3 6.5-8 11.4-15.2 13.3-5.1 1.4-10.2 1.6-15.4 1.1-2.5-.2-5-.8-7.5-1-3.4-.2-5.1 1.3-5.2 4.8-.1 3.3-.1 6.6 0 9.9.1 5.5 2 8 7.4 8.9 5.6 1 11.3 1.9 16.9 2 17.1.4 30.7-6.5 39.5-21.4 3.5-5.9 6.7-12.1 9.2-18.4 23.7-59.8 47.1-119.7 70.6-179.6.7-1.8 1.3-3.6 1.6-5.5.4-2.8-.9-4.4-3.7-4.4-6.6-.1-13.3 0-19.9 0-3.7 0-6.3 1.6-7.7 5.2-.5 1.4-1.1 2.7-1.6 4.1-11.6 33.3-23.2 66.6-34.8 100-2.5 7.2-5.1 14.5-7.7 22.2-.4-1.1-.6-1.7-.9-2.4z"}}},ambulance:{search:{terms:["help","machine","support","vehicle"]},styles:["solid"],label:"ambulance",svg:{solid:{viewBox:["0","0","640","512"],path:"M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h16c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm144-248c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48zm176 248c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z"}}},"american-sign-language-interpreting":{search:{terms:[]},styles:["solid"],label:"American Sign Language Interpreting",svg:{solid:{viewBox:["0","0","640","512"],path:"M290.547 189.039c-20.295-10.149-44.147-11.199-64.739-3.89 42.606 0 71.208 20.475 85.578 50.576 8.576 17.899-5.148 38.071-23.617 38.071 18.429 0 32.211 20.136 23.617 38.071-14.725 30.846-46.123 50.854-80.298 50.854-.557 0-94.471-8.615-94.471-8.615l-66.406 33.347c-9.384 4.693-19.815.379-23.895-7.781L1.86 290.747c-4.167-8.615-1.111-18.897 6.946-23.621l58.072-33.069L108 159.861c6.39-57.245 34.731-109.767 79.743-146.726 11.391-9.448 28.341-7.781 37.51 3.613 9.446 11.394 7.78 28.067-3.612 37.516-12.503 10.559-23.618 22.509-32.509 35.57 21.672-14.729 46.679-24.732 74.186-28.067 14.725-1.945 28.063 8.336 29.73 23.065 1.945 14.728-8.336 28.067-23.062 29.734-16.116 1.945-31.12 7.503-44.178 15.284 26.114-5.713 58.712-3.138 88.079 11.115 13.336 6.669 18.893 22.509 12.224 35.848-6.389 13.06-22.504 18.617-35.564 12.226zm-27.229 69.472c-6.112-12.505-18.338-20.286-32.231-20.286a35.46 35.46 0 0 0-35.565 35.57c0 21.428 17.808 35.57 35.565 35.57 13.893 0 26.119-7.781 32.231-20.286 4.446-9.449 13.614-15.006 23.339-15.284-9.725-.277-18.893-5.835-23.339-15.284zm374.821-37.237c4.168 8.615 1.111 18.897-6.946 23.621l-58.071 33.069L532 352.16c-6.39 57.245-34.731 109.767-79.743 146.726-10.932 9.112-27.799 8.144-37.51-3.613-9.446-11.394-7.78-28.067 3.613-37.516 12.503-10.559 23.617-22.509 32.508-35.57-21.672 14.729-46.679 24.732-74.186 28.067-10.021 2.506-27.552-5.643-29.73-23.065-1.945-14.728 8.336-28.067 23.062-29.734 16.116-1.946 31.12-7.503 44.178-15.284-26.114 5.713-58.712 3.138-88.079-11.115-13.336-6.669-18.893-22.509-12.224-35.848 6.389-13.061 22.505-18.619 35.565-12.227 20.295 10.149 44.147 11.199 64.739 3.89-42.606 0-71.208-20.475-85.578-50.576-8.576-17.899 5.148-38.071 23.617-38.071-18.429 0-32.211-20.136-23.617-38.071 14.033-29.396 44.039-50.887 81.966-50.854l92.803 8.615 66.406-33.347c9.408-4.704 19.828-.354 23.894 7.781l44.455 88.926zm-229.227-18.618c-13.893 0-26.119 7.781-32.231 20.286-4.446 9.449-13.614 15.006-23.339 15.284 9.725.278 18.893 5.836 23.339 15.284 6.112 12.505 18.338 20.286 32.231 20.286a35.46 35.46 0 0 0 35.565-35.57c0-21.429-17.808-35.57-35.565-35.57z"}}},amilia:{search:{terms:[]},styles:["brands"],label:"Amilia",svg:{brands:{viewBox:["0","0","448","512"],path:"M240.1 32c-61.9 0-131.5 16.9-184.2 55.4-5.1 3.1-9.1 9.2-7.2 19.4 1.1 5.1 5.1 27.4 10.2 39.6 4.1 10.2 14.2 10.2 20.3 6.1 32.5-22.3 96.5-47.7 152.3-47.7 57.9 0 58.9 28.4 58.9 73.1v38.5C203 227.7 78.2 251 46.7 264.2 11.2 280.5 16.3 357.7 16.3 376s15.2 104 124.9 104c47.8 0 113.7-20.7 153.3-42.1v25.4c0 3 2.1 8.2 6.1 9.1 3.1 1 50.7 2 59.9 2s62.5.3 66.5-.7c4.1-1 5.1-6.1 5.1-9.1V168c-.1-80.3-57.9-136-192-136zm-87.9 327.7c0-12.2-3-42.7 18.3-52.9 24.3-13.2 75.1-29.4 119.8-33.5V380c-21.4 13.2-48.7 24.4-79.1 24.4-52.8 0-58.9-33.5-59-44.7"}}},anchor:{search:{terms:["link"]},styles:["solid"],label:"Anchor",svg:{solid:{viewBox:["0","0","576","512"],path:"M12.971 352h32.394C67.172 454.735 181.944 512 288 512c106.229 0 220.853-57.38 242.635-160h32.394c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0l-67.029 67.029c-7.56 7.56-2.206 20.485 8.485 20.485h35.146c-20.29 54.317-84.963 86.588-144.117 94.015V256h52c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-52v-5.47c37.281-13.178 63.995-48.725 64-90.518C384.005 43.772 341.605.738 289.37.01 235.723-.739 192 42.525 192 96c0 41.798 26.716 77.35 64 90.53V192h-52c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h52v190.015c-58.936-7.399-123.82-39.679-144.117-94.015h35.146c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0L4.485 331.515C-3.074 339.074 2.28 352 12.971 352zM288 64c17.645 0 32 14.355 32 32s-14.355 32-32 32-32-14.355-32-32 14.355-32 32-32z"}}},android:{search:{terms:["robot"]},styles:["brands"],label:"Android",svg:{brands:{viewBox:["0","0","448","512"],path:"M89.6 204.5v115.8c0 15.4-12.1 27.7-27.5 27.7-15.3 0-30.1-12.4-30.1-27.7V204.5c0-15.1 14.8-27.5 30.1-27.5 15.1 0 27.5 12.4 27.5 27.5zm10.8 157c0 16.4 13.2 29.6 29.6 29.6h19.9l.3 61.1c0 36.9 55.2 36.6 55.2 0v-61.1h37.2v61.1c0 36.7 55.5 36.8 55.5 0v-61.1h20.2c16.2 0 29.4-13.2 29.4-29.6V182.1H100.4v179.4zm248-189.1H99.3c0-42.8 25.6-80 63.6-99.4l-19.1-35.3c-2.8-4.9 4.3-8 6.7-3.8l19.4 35.6c34.9-15.5 75-14.7 108.3 0L297.5 34c2.5-4.3 9.5-1.1 6.7 3.8L285.1 73c37.7 19.4 63.3 56.6 63.3 99.4zm-170.7-55.5c0-5.7-4.6-10.5-10.5-10.5-5.7 0-10.2 4.8-10.2 10.5s4.6 10.5 10.2 10.5c5.9 0 10.5-4.8 10.5-10.5zm113.4 0c0-5.7-4.6-10.5-10.2-10.5-5.9 0-10.5 4.8-10.5 10.5s4.6 10.5 10.5 10.5c5.6 0 10.2-4.8 10.2-10.5zm94.8 60.1c-15.1 0-27.5 12.1-27.5 27.5v115.8c0 15.4 12.4 27.7 27.5 27.7 15.4 0 30.1-12.4 30.1-27.7V204.5c0-15.4-14.8-27.5-30.1-27.5z"}}},angellist:{search:{terms:[]},styles:["brands"],label:"AngelList",svg:{brands:{viewBox:["0","0","448","512"],path:"M347.1 215.4c11.7-32.6 45.4-126.9 45.4-157.1 0-26.6-15.7-48.9-43.7-48.9-44.6 0-84.6 131.7-97.1 163.1C242 144 196.6 0 156.6 0c-31.1 0-45.7 22.9-45.7 51.7 0 35.3 34.2 126.8 46.6 162-6.3-2.3-13.1-4.3-20-4.3-23.4 0-48.3 29.1-48.3 52.6 0 8.9 4.9 21.4 8 29.7-36.9 10-51.1 34.6-51.1 71.7C46 435.6 114.4 512 210.6 512c118 0 191.4-88.6 191.4-202.9 0-43.1-6.9-82-54.9-93.7zM311.7 108c4-12.3 21.1-64.3 37.1-64.3 8.6 0 10.9 8.9 10.9 16 0 19.1-38.6 124.6-47.1 148l-34-6 33.1-93.7zM142.3 48.3c0-11.9 14.5-45.7 46.3 47.1l34.6 100.3c-15.6-1.3-27.7-3-35.4 1.4-10.9-28.8-45.5-119.7-45.5-148.8zM140 244c29.3 0 67.1 94.6 67.1 107.4 0 5.1-4.9 11.4-10.6 11.4-20.9 0-76.9-76.9-76.9-97.7.1-7.7 12.7-21.1 20.4-21.1zm184.3 186.3c-29.1 32-66.3 48.6-109.7 48.6-59.4 0-106.3-32.6-128.9-88.3-17.1-43.4 3.8-68.3 20.6-68.3 11.4 0 54.3 60.3 54.3 73.1 0 4.9-7.7 8.3-11.7 8.3-16.1 0-22.4-15.5-51.1-51.4-29.7 29.7 20.5 86.9 58.3 86.9 26.1 0 43.1-24.2 38-42 3.7 0 8.3.3 11.7-.6 1.1 27.1 9.1 59.4 41.7 61.7 0-.9 2-7.1 2-7.4 0-17.4-10.6-32.6-10.6-50.3 0-28.3 21.7-55.7 43.7-71.7 8-6 17.7-9.7 27.1-13.1 9.7-3.7 20-8 27.4-15.4-1.1-11.2-5.7-21.1-16.9-21.1-27.7 0-120.6 4-120.6-39.7 0-6.7.1-13.1 17.4-13.1 32.3 0 114.3 8 138.3 29.1 18.1 16.1 24.3 113.2-31 174.7zm-98.6-126c9.7 3.1 19.7 4 29.7 6-7.4 5.4-14 12-20.3 19.1-2.8-8.5-6.2-16.8-9.4-25.1z"}}},"angle-double-down":{search:{terms:["arrows"]},styles:["solid"],label:"Angle Double Down",svg:{solid:{viewBox:["0","0","320","512"],path:"M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z"}}},"angle-double-left":{search:{terms:["arrows","back","laquo","previous","quote"]},styles:["solid"],label:"Angle Double Left",svg:{solid:{viewBox:["0","0","448","512"],path:"M223.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L319.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L393.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34zm-192 34l136 136c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9L127.9 256l96.4-96.4c9.4-9.4 9.4-24.6 0-33.9L201.7 103c-9.4-9.4-24.6-9.4-33.9 0l-136 136c-9.5 9.4-9.5 24.6-.1 34z"}}},"angle-double-right":{search:{terms:["arrows","forward","next","quote","raquo"]},styles:["solid"],label:"Angle Double Right",svg:{solid:{viewBox:["0","0","448","512"],path:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z"}}},"angle-double-up":{search:{terms:["arrows"]},styles:["solid"],label:"Angle Double Up",svg:{solid:{viewBox:["0","0","320","512"],path:"M177 255.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 351.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 425.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1zm-34-192L7 199.7c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l96.4-96.4 96.4 96.4c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9l-136-136c-9.2-9.4-24.4-9.4-33.8 0z"}}},"angle-down":{search:{terms:["arrow"]},styles:["solid"],label:"angle-down",svg:{solid:{viewBox:["0","0","320","512"],path:"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"}}},"angle-left":{search:{terms:["arrow","back","previous"]},styles:["solid"],label:"angle-left",svg:{solid:{viewBox:["0","0","256","512"],path:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}}},"angle-right":{search:{terms:["arrow","forward","next"]},styles:["solid"],label:"angle-right",svg:{solid:{viewBox:["0","0","256","512"],path:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}}},"angle-up":{search:{terms:["arrow"]},styles:["solid"],label:"angle-up",svg:{solid:{viewBox:["0","0","320","512"],path:"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z"}}},angry:{search:{terms:["disapprove","emoticon","face","mad","upset"]},styles:["solid","regular"],label:"Angry Face",svg:{solid:{viewBox:["0","0","496","512"],path:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM136 240c0-9.3 4.1-17.5 10.5-23.4l-31-9.3c-8.5-2.5-13.3-11.5-10.7-19.9 2.5-8.5 11.4-13.2 19.9-10.7l80 24c8.5 2.5 13.3 11.5 10.7 19.9-2.1 6.9-8.4 11.4-15.3 11.4-.5 0-1.1-.2-1.7-.2.7 2.7 1.7 5.3 1.7 8.2 0 17.7-14.3 32-32 32S136 257.7 136 240zm168 154.2c-27.8-33.4-84.2-33.4-112.1 0-13.5 16.3-38.2-4.2-24.6-20.5 20-24 49.4-37.8 80.6-37.8s60.6 13.8 80.6 37.8c13.8 16.5-11.1 36.6-24.5 20.5zm76.6-186.9l-31 9.3c6.3 5.8 10.5 14.1 10.5 23.4 0 17.7-14.3 32-32 32s-32-14.3-32-32c0-2.9.9-5.6 1.7-8.2-.6.1-1.1.2-1.7.2-6.9 0-13.2-4.5-15.3-11.4-2.5-8.5 2.3-17.4 10.7-19.9l80-24c8.4-2.5 17.4 2.3 19.9 10.7 2.5 8.5-2.3 17.4-10.8 19.9z"},regular:{last_modified:1529520111607,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-144c-33.6 0-65.2 14.8-86.8 40.6-8.5 10.2-7.1 25.3 3.1 33.8s25.3 7.2 33.8-3c24.8-29.7 75-29.7 99.8 0 8.1 9.7 23.2 11.9 33.8 3 10.2-8.5 11.5-23.6 3.1-33.8-21.6-25.8-53.2-40.6-86.8-40.6zm-48-72c10.3 0 19.9-6.7 23-17.1 3.8-12.7-3.4-26.1-16.1-29.9l-80-24c-12.8-3.9-26.1 3.4-29.9 16.1-3.8 12.7 3.4 26.1 16.1 29.9l28.2 8.5c-3.1 4.9-5.3 10.4-5.3 16.6 0 17.7 14.3 32 32 32s32-14.4 32-32.1zm199-54.9c-3.8-12.7-17.1-19.9-29.9-16.1l-80 24c-12.7 3.8-19.9 17.2-16.1 29.9 3.1 10.4 12.7 17.1 23 17.1 0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.2-2.2-11.7-5.3-16.6l28.2-8.5c12.7-3.7 19.9-17.1 16.1-29.8z"/></svg>',viewBox:["0","0","496","512"],width:496,height:512,path:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-144c-33.6 0-65.2 14.8-86.8 40.6-8.5 10.2-7.1 25.3 3.1 33.8s25.3 7.2 33.8-3c24.8-29.7 75-29.7 99.8 0 8.1 9.7 23.2 11.9 33.8 3 10.2-8.5 11.5-23.6 3.1-33.8-21.6-25.8-53.2-40.6-86.8-40.6zm-48-72c10.3 0 19.9-6.7 23-17.1 3.8-12.7-3.4-26.1-16.1-29.9l-80-24c-12.8-3.9-26.1 3.4-29.9 16.1-3.8 12.7 3.4 26.1 16.1 29.9l28.2 8.5c-3.1 4.9-5.3 10.4-5.3 16.6 0 17.7 14.3 32 32 32s32-14.4 32-32.1zm199-54.9c-3.8-12.7-17.1-19.9-29.9-16.1l-80 24c-12.7 3.8-19.9 17.2-16.1 29.9 3.1 10.4 12.7 17.1 23 17.1 0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.2-2.2-11.7-5.3-16.6l28.2-8.5c12.7-3.7 19.9-17.1 16.1-29.8z"}}},angrycreative:{search:{terms:[]},styles:["brands"],label:"Angry Creative",svg:{brands:{viewBox:["0","0","640","512"],path:"M640 238.2l-3.2 28.2-34.5 2.3-2 18.1 34.5-2.3-3.2 28.2-34.4 2.2-2.3 20.1 34.4-2.2-3 26.1-64.7 4.1 12.7-113.2L527 365.2l-31.9 2-23.8-117.8 30.3-2 13.6 79.4 31.7-82.4 93.1-6.2zM426.8 371.5l28.3-1.8L468 249.6l-28.4 1.9-12.8 120zM162 388.1l-19.4-36-3.5 37.4-28.2 1.7 2.7-29.1c-11 18-32 34.3-56.9 35.8C23.9 399.9-3 377 .3 339.7c2.6-29.3 26.7-62.8 67.5-65.4 37.7-2.4 47.6 23.2 51.3 28.8l2.8-30.8 38.9-2.5c20.1-1.3 38.7 3.7 42.5 23.7l2.6-26.6 64.8-4.2-2.7 27.9-36.4 2.4-1.7 17.9 36.4-2.3-2.7 27.9-36.4 2.3-1.9 19.9 36.3-2.3-2.1 20.8 55-117.2 23.8-1.6L370.4 369l8.9-85.6-22.3 1.4 2.9-27.9 75-4.9-3 28-24.3 1.6-9.7 91.9-58 3.7-4.3-15.6-39.4 2.5-8 16.3-126.2 7.7zm-44.3-70.2l-26.4 1.7C84.6 307.2 76.9 303 65 303.8c-19 1.2-33.3 17.5-34.6 33.3-1.4 16 7.3 32.5 28.7 31.2 12.8-.8 21.3-8.6 28.9-18.9l27-1.7 2.7-29.8zm56.1-7.7c1.2-12.9-7.6-13.6-26.1-12.4l-2.7 28.5c14.2-.9 27.5-2.1 28.8-16.1zm21.1 70.8l5.8-60c-5 13.5-14.7 21.1-27.9 26.6l22.1 33.4zm135.4-45l-7.9-37.8-15.8 39.3 23.7-1.5zm-170.1-74.6l-4.3-17.5-39.6 2.6-8.1 18.2-31.9 2.1 57-121.9 23.9-1.6 30.7 102 9.9-104.7 27-1.8 37.8 63.6 6.5-66.6 28.5-1.9-4 41.2c7.4-13.5 22.9-44.7 63.6-47.5 40.5-2.8 52.4 29.3 53.4 30.3l3.3-32 39.3-2.7c12.7-.9 27.8.3 36.3 9.7l-4.4-11.9 32.2-2.2 12.9 43.2 23-45.7 31-2.2-43.6 78.4-4.8 44.3-28.4 1.9 4.8-44.3-15.8-43c1 22.3-9.2 40.1-32 49.6l25.2 38.8-36.4 2.4-19.2-36.8-4 38.3-28.4 1.9 3.3-31.5c-6.7 9.3-19.7 35.4-59.6 38-26.2 1.7-45.6-10.3-55.4-39.2l-4 40.3-25 1.6-37.6-63.3-6.3 66.2-56.8 3.7zm276.6-82.1c10.2-.7 17.5-2.1 21.6-4.3 4.5-2.4 7-6.4 7.6-12.1.6-5.3-.6-8.8-3.4-10.4-3.6-2.1-10.6-2.8-22.9-2l-2.9 28.8zM327.7 214c5.6 5.9 12.7 8.5 21.3 7.9 4.7-.3 9.1-1.8 13.3-4.1 5.5-3 10.6-8 15.1-14.3l-34.2 2.3 2.4-23.9 63.1-4.3 1.2-12-31.2 2.1c-4.1-3.7-7.8-6.6-11.1-8.1-4-1.7-8.1-2.8-12.2-2.5-8 .5-15.3 3.6-22 9.2-7.7 6.4-12 14.5-12.9 24.4-1.1 9.6 1.4 17.3 7.2 23.3zm-201.3 8.2l23.8-1.6-8.3-37.6-15.5 39.2z"}}},angular:{search:{terms:[]},styles:["brands"],label:"Angular",svg:{brands:{viewBox:["0","0","415.6","512"],path:"M169.7 268.1h76.2l-38.1-91.6-38.1 91.6zM207.8 32L0 106.4l31.8 275.7 176 97.9 176-97.9 31.8-275.7L207.8 32zM338 373.8h-48.6l-26.2-65.4H152.6l-26.2 65.4H77.7L207.8 81.5 338 373.8z"}}},ankh:{search:{terms:["amulet","copper","coptic christianity","copts","crux ansata","egyptian","venus"]},styles:["solid"],label:"Ankh",svg:{solid:{viewBox:["0","0","320","512"],path:"M296 256h-44.62C272.46 222.01 288 181.65 288 144 288 55.63 230.69 0 160 0S32 55.63 32 144c0 37.65 15.54 78.01 36.62 112H24c-13.25 0-24 10.74-24 24v32c0 13.25 10.75 24 24 24h96v152c0 13.25 10.75 24 24 24h32c13.25 0 24-10.75 24-24V336h96c13.25 0 24-10.75 24-24v-32c0-13.26-10.75-24-24-24zM160 80c29.61 0 48 24.52 48 64 0 34.66-27.14 78.14-48 100.87-20.86-22.72-48-66.21-48-100.87 0-39.48 18.39-64 48-64z"}}},"app-store":{search:{terms:[]},styles:["brands"],label:"App Store",svg:{brands:{viewBox:["0","0","512","512"],path:"M255.9 120.9l9.1-15.7c5.6-9.8 18.1-13.1 27.9-7.5 9.8 5.6 13.1 18.1 7.5 27.9l-87.5 151.5h63.3c20.5 0 32 24.1 23.1 40.8H113.8c-11.3 0-20.4-9.1-20.4-20.4 0-11.3 9.1-20.4 20.4-20.4h52l66.6-115.4-20.8-36.1c-5.6-9.8-2.3-22.2 7.5-27.9 9.8-5.6 22.2-2.3 27.9 7.5l8.9 15.7zm-78.7 218l-19.6 34c-5.6 9.8-18.1 13.1-27.9 7.5-9.8-5.6-13.1-18.1-7.5-27.9l14.6-25.2c16.4-5.1 29.8-1.2 40.4 11.6zm168.9-61.7h53.1c11.3 0 20.4 9.1 20.4 20.4 0 11.3-9.1 20.4-20.4 20.4h-29.5l19.9 34.5c5.6 9.8 2.3 22.2-7.5 27.9-9.8 5.6-22.2 2.3-27.9-7.5-33.5-58.1-58.7-101.6-75.4-130.6-17.1-29.5-4.9-59.1 7.2-69.1 13.4 23 33.4 57.7 60.1 104zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216z"}}},"app-store-ios":{search:{terms:[]},styles:["brands"],label:"iOS App Store",svg:{brands:{viewBox:["0","0","448","512"],path:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM127 384.5c-5.5 9.6-17.8 12.8-27.3 7.3-9.6-5.5-12.8-17.8-7.3-27.3l14.3-24.7c16.1-4.9 29.3-1.1 39.6 11.4L127 384.5zm138.9-53.9H84c-11 0-20-9-20-20s9-20 20-20h51l65.4-113.2-20.5-35.4c-5.5-9.6-2.2-21.8 7.3-27.3 9.6-5.5 21.8-2.2 27.3 7.3l8.9 15.4 8.9-15.4c5.5-9.6 17.8-12.8 27.3-7.3 9.6 5.5 12.8 17.8 7.3 27.3l-85.8 148.6h62.1c20.2 0 31.5 23.7 22.7 40zm98.1 0h-29l19.6 33.9c5.5 9.6 2.2 21.8-7.3 27.3-9.6 5.5-21.8 2.2-27.3-7.3-32.9-56.9-57.5-99.7-74-128.1-16.7-29-4.8-58 7.1-67.8 13.1 22.7 32.7 56.7 58.9 102h52c11 0 20 9 20 20 0 11.1-9 20-20 20z"}}},apper:{search:{terms:[]},styles:["brands"],label:"Apper Systems AB",svg:{brands:{viewBox:["0","0","640","512"],path:"M42.1 239.1c22.2 0 29 2.8 33.5 14.6h.8v-22.9c0-11.3-4.8-15.4-17.9-15.4-11.3 0-14.4 2.5-15.1 12.8H4.8c.3-13.9 1.5-19.1 5.8-24.4C17.9 195 29.5 192 56.7 192c33 0 47.1 5 53.9 18.9 2 4.3 4 15.6 4 23.7v76.3H76.3l1.3-19.1h-1c-5.3 15.6-13.6 20.4-35.5 20.4-30.3 0-41.1-10.1-41.1-37.3 0-25.2 12.3-35.8 42.1-35.8zm17.1 48.1c13.1 0 16.9-3 16.9-13.4 0-9.1-4.3-11.6-19.6-11.6-13.1 0-17.9 3-17.9 12.1-.1 10.4 3.7 12.9 20.6 12.9zm77.8-94.9h38.3l-1.5 20.6h.8c9.1-17.1 15.9-20.9 37.5-20.9 14.4 0 24.7 3 31.5 9.1 9.8 8.6 12.8 20.4 12.8 48.1 0 30-3 43.1-12.1 52.9-6.8 7.3-16.4 10.1-33.2 10.1-20.4 0-29.2-5.5-33.8-21.2h-.8v70.3H137v-169zm80.9 60.7c0-27.5-3.3-32.5-20.7-32.5-16.9 0-20.7 5-20.7 28.7 0 28 3.5 33.5 21.2 33.5 16.4 0 20.2-5.6 20.2-29.7zm57.9-60.7h38.3l-1.5 20.6h.8c9.1-17.1 15.9-20.9 37.5-20.9 14.4 0 24.7 3 31.5 9.1 9.8 8.6 12.8 20.4 12.8 48.1 0 30-3 43.1-12.1 52.9-6.8 7.3-16.4 10.1-33.3 10.1-20.4 0-29.2-5.5-33.8-21.2h-.8v70.3h-39.5v-169zm80.9 60.7c0-27.5-3.3-32.5-20.7-32.5-16.9 0-20.7 5-20.7 28.7 0 28 3.5 33.5 21.2 33.5 16.4 0 20.2-5.6 20.2-29.7zm53.8-3.8c0-25.4 3.3-37.8 12.3-45.8 8.8-8.1 22.2-11.3 45.1-11.3 42.8 0 55.7 12.8 55.7 55.7v11.1h-75.3c-.3 2-.3 4-.3 4.8 0 16.9 4.5 21.9 20.1 21.9 13.9 0 17.9-3 17.9-13.9h37.5v2.3c0 9.8-2.5 18.9-6.8 24.7-7.3 9.8-19.6 13.6-44.3 13.6-27.5 0-41.6-3.3-50.6-12.3-8.5-8.5-11.3-21.3-11.3-50.8zm76.4-11.6c-.3-1.8-.3-3.3-.3-3.8 0-12.3-3.3-14.6-19.6-14.6-14.4 0-17.1 3-18.1 15.1l-.3 3.3h38.3zm55.6-45.3h38.3l-1.8 19.9h.7c6.8-14.9 14.4-20.2 29.7-20.2 10.8 0 19.1 3.3 23.4 9.3 5.3 7.3 6.8 14.4 6.8 34 0 1.5 0 5 .2 9.3h-35c.3-1.8.3-3.3.3-4 0-15.4-2-19.4-10.3-19.4-6.3 0-10.8 3.3-13.1 9.3-1 3-1 4.3-1 12.3v68h-38.3V192.3z"}}},apple:{search:{terms:["food","fruit","mac","osx"]},styles:["brands"],label:"Apple",svg:{brands:{viewBox:["0","0","376.5","512"],path:"M314.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C59.3 141.2 0 184.8 0 273.5c0 26.2 4.8 53.3 14.4 81.2 12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"}}},"apple-alt":{search:{terms:["fall","food","fruit","fuji","macintosh","seasonal"]},styles:["solid"],label:"Fruit Apple",svg:{solid:{viewBox:["0","0","448","512"],path:"M350.85 129c25.97 4.67 47.27 18.67 63.92 42 14.65 20.67 24.64 46.67 29.96 78 4.67 28.67 4.32 57.33-1 86-7.99 47.33-23.97 87-47.94 119-28.64 38.67-64.59 58-107.87 58-10.66 0-22.3-3.33-34.96-10-8.66-5.33-18.31-8-28.97-8s-20.3 2.67-28.97 8c-12.66 6.67-24.3 10-34.96 10-43.28 0-79.23-19.33-107.87-58-23.97-32-39.95-71.67-47.94-119-5.32-28.67-5.67-57.33-1-86 5.32-31.33 15.31-57.33 29.96-78 16.65-23.33 37.95-37.33 63.92-42 15.98-2.67 37.95-.33 65.92 7 23.97 6.67 44.28 14.67 60.93 24 16.65-9.33 36.96-17.33 60.93-24 27.98-7.33 49.96-9.67 65.94-7zm-54.94-41c-9.32 8.67-21.65 15-36.96 19-10.66 3.33-22.3 5-34.96 5l-14.98-1c-1.33-9.33-1.33-20 0-32 2.67-24 10.32-42.33 22.97-55 9.32-8.67 21.65-15 36.96-19 10.66-3.33 22.3-5 34.96-5l14.98 1 1 15c0 12.67-1.67 24.33-4.99 35-3.99 15.33-10.31 27.67-18.98 37z"}}},"apple-pay":{search:{terms:[]},styles:["brands"],label:"Apple Pay",svg:{brands:{viewBox:["0","0","640","512"],path:"M116.9 158.5c-7.5 8.9-19.5 15.9-31.5 14.9-1.5-12 4.4-24.8 11.3-32.6 7.5-9.1 20.6-15.6 31.3-16.1 1.2 12.4-3.7 24.7-11.1 33.8m10.9 17.2c-17.4-1-32.3 9.9-40.5 9.9-8.4 0-21-9.4-34.8-9.1-17.9.3-34.5 10.4-43.6 26.5-18.8 32.3-4.9 80 13.3 106.3 8.9 13 19.5 27.3 33.5 26.8 13.3-.5 18.5-8.6 34.5-8.6 16.1 0 20.8 8.6 34.8 8.4 14.5-.3 23.6-13 32.5-26 10.1-14.8 14.3-29.1 14.5-29.9-.3-.3-28-10.9-28.3-42.9-.3-26.8 21.9-39.5 22.9-40.3-12.5-18.6-32-20.6-38.8-21.1m100.4-36.2v194.9h30.3v-66.6h41.9c38.3 0 65.1-26.3 65.1-64.3s-26.4-64-64.1-64h-73.2zm30.3 25.5h34.9c26.3 0 41.3 14 41.3 38.6s-15 38.8-41.4 38.8h-34.8V165zm162.2 170.9c19 0 36.6-9.6 44.6-24.9h.6v23.4h28v-97c0-28.1-22.5-46.3-57.1-46.3-32.1 0-55.9 18.4-56.8 43.6h27.3c2.3-12 13.4-19.9 28.6-19.9 18.5 0 28.9 8.6 28.9 24.5v10.8l-37.8 2.3c-35.1 2.1-54.1 16.5-54.1 41.5.1 25.2 19.7 42 47.8 42zm8.2-23.1c-16.1 0-26.4-7.8-26.4-19.6 0-12.3 9.9-19.4 28.8-20.5l33.6-2.1v11c0 18.2-15.5 31.2-36 31.2zm102.5 74.6c29.5 0 43.4-11.3 55.5-45.4L640 193h-30.8l-35.6 115.1h-.6L537.4 193h-31.6L557 334.9l-2.8 8.6c-4.6 14.6-12.1 20.3-25.5 20.3-2.4 0-7-.3-8.9-.5v23.4c1.8.4 9.3.7 11.6.7z"}}},archive:{search:{terms:["box","package","storage"]},styles:["solid"],label:"Archive",svg:{solid:{viewBox:["0","0","512","512"],path:"M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z"}}},archway:{search:{terms:["arc","monument","road","street"]},styles:["solid"],label:"Archway",svg:{solid:{viewBox:["0","0","576","512"],path:"M560 448h-16V96H32v352H16.02c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16H176c8.84 0 16-7.16 16-16V320c0-53.02 42.98-96 96-96s96 42.98 96 96l.02 160v16c0 8.84 7.16 16 16 16H560c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm0-448H16C7.16 0 0 7.16 0 16v32c0 8.84 7.16 16 16 16h544c8.84 0 16-7.16 16-16V16c0-8.84-7.16-16-16-16z"}}},"arrow-alt-circle-down":{search:{terms:["arrow-circle-o-down","download"]},styles:["solid","regular"],label:"Alternate Arrow Circle Down",svg:{solid:{viewBox:["0","0","512","512"],path:"M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM212 140v116h-70.9c-10.7 0-16.1 13-8.5 20.5l114.9 114.3c4.7 4.7 12.2 4.7 16.9 0l114.9-114.3c7.6-7.6 2.2-20.5-8.5-20.5H300V140c0-6.6-5.4-12-12-12h-64c-6.6 0-12 5.4-12 12z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm-32-316v116h-67c-10.7 0-16 12.9-8.5 20.5l99 99c4.7 4.7 12.3 4.7 17 0l99-99c7.6-7.6 2.2-20.5-8.5-20.5h-67V140c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm-32-316v116h-67c-10.7 0-16 12.9-8.5 20.5l99 99c4.7 4.7 12.3 4.7 17 0l99-99c7.6-7.6 2.2-20.5-8.5-20.5h-67V140c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12z"}}},"arrow-alt-circle-left":{search:{terms:["arrow-circle-o-left","back","previous"]},styles:["solid","regular"],label:"Alternate Arrow Circle Left",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm116-292H256v-70.9c0-10.7-13-16.1-20.5-8.5L121.2 247.5c-4.7 4.7-4.7 12.2 0 16.9l114.3 114.9c7.6 7.6 20.5 2.2 20.5-8.5V300h116c6.6 0 12-5.4 12-12v-64c0-6.6-5.4-12-12-12z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M8 256c0 137 111 248 248 248s248-111 248-248S393 8 256 8 8 119 8 256zm448 0c0 110.5-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56s200 89.5 200 200zm-72-20v40c0 6.6-5.4 12-12 12H256v67c0 10.7-12.9 16-20.5 8.5l-99-99c-4.7-4.7-4.7-12.3 0-17l99-99c7.6-7.6 20.5-2.2 20.5 8.5v67h116c6.6 0 12 5.4 12 12z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M8 256c0 137 111 248 248 248s248-111 248-248S393 8 256 8 8 119 8 256zm448 0c0 110.5-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56s200 89.5 200 200zm-72-20v40c0 6.6-5.4 12-12 12H256v67c0 10.7-12.9 16-20.5 8.5l-99-99c-4.7-4.7-4.7-12.3 0-17l99-99c7.6-7.6 20.5-2.2 20.5 8.5v67h116c6.6 0 12 5.4 12 12z"}}},"arrow-alt-circle-right":{search:{terms:["arrow-circle-o-right","forward","next"]},styles:["solid","regular"],label:"Alternate Arrow Circle Right",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zM140 300h116v70.9c0 10.7 13 16.1 20.5 8.5l114.3-114.9c4.7-4.7 4.7-12.2 0-16.9l-114.3-115c-7.6-7.6-20.5-2.2-20.5 8.5V212H140c-6.6 0-12 5.4-12 12v64c0 6.6 5.4 12 12 12z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm72 20v-40c0-6.6 5.4-12 12-12h116v-67c0-10.7 12.9-16 20.5-8.5l99 99c4.7 4.7 4.7 12.3 0 17l-99 99c-7.6 7.6-20.5 2.2-20.5-8.5v-67H140c-6.6 0-12-5.4-12-12z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm72 20v-40c0-6.6 5.4-12 12-12h116v-67c0-10.7 12.9-16 20.5-8.5l99 99c4.7 4.7 4.7 12.3 0 17l-99 99c-7.6 7.6-20.5 2.2-20.5-8.5v-67H140c-6.6 0-12-5.4-12-12z"}}},"arrow-alt-circle-up":{search:{terms:["arrow-circle-o-up"]},styles:["solid","regular"],label:"Alternate Arrow Circle Up",svg:{solid:{viewBox:["0","0","512","512"],path:"M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm292 116V256h70.9c10.7 0 16.1-13 8.5-20.5L264.5 121.2c-4.7-4.7-12.2-4.7-16.9 0l-115 114.3c-7.6 7.6-2.2 20.5 8.5 20.5H212v116c0 6.6 5.4 12 12 12h64c6.6 0 12-5.4 12-12z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 504c137 0 248-111 248-248S393 8 256 8 8 119 8 256s111 248 248 248zm0-448c110.5 0 200 89.5 200 200s-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56zm20 328h-40c-6.6 0-12-5.4-12-12V256h-67c-10.7 0-16-12.9-8.5-20.5l99-99c4.7-4.7 12.3-4.7 17 0l99 99c7.6 7.6 2.2 20.5-8.5 20.5h-67v116c0 6.6-5.4 12-12 12z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 504c137 0 248-111 248-248S393 8 256 8 8 119 8 256s111 248 248 248zm0-448c110.5 0 200 89.5 200 200s-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56zm20 328h-40c-6.6 0-12-5.4-12-12V256h-67c-10.7 0-16-12.9-8.5-20.5l99-99c4.7-4.7 12.3-4.7 17 0l99 99c7.6 7.6 2.2 20.5-8.5 20.5h-67v116c0 6.6-5.4 12-12 12z"}}},"arrow-circle-down":{search:{terms:["download"]},styles:["solid"],label:"Arrow Circle Down",svg:{solid:{viewBox:["0","0","512","512"],path:"M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-143.6-28.9L288 302.6V120c0-13.3-10.7-24-24-24h-16c-13.3 0-24 10.7-24 24v182.6l-72.4-75.5c-9.3-9.7-24.8-9.9-34.3-.4l-10.9 11c-9.4 9.4-9.4 24.6 0 33.9L239 404.3c9.4 9.4 24.6 9.4 33.9 0l132.7-132.7c9.4-9.4 9.4-24.6 0-33.9l-10.9-11c-9.5-9.5-25-9.3-34.3.4z"}}},"arrow-circle-left":{search:{terms:["back","previous"]},styles:["solid"],label:"Arrow Circle Left",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm28.9-143.6L209.4 288H392c13.3 0 24-10.7 24-24v-16c0-13.3-10.7-24-24-24H209.4l75.5-72.4c9.7-9.3 9.9-24.8.4-34.3l-11-10.9c-9.4-9.4-24.6-9.4-33.9 0L107.7 239c-9.4 9.4-9.4 24.6 0 33.9l132.7 132.7c9.4 9.4 24.6 9.4 33.9 0l11-10.9c9.5-9.5 9.3-25-.4-34.3z"}}},"arrow-circle-right":{search:{terms:["forward","next"]},styles:["solid"],label:"Arrow Circle Right",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm-28.9 143.6l75.5 72.4H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h182.6l-75.5 72.4c-9.7 9.3-9.9 24.8-.4 34.3l11 10.9c9.4 9.4 24.6 9.4 33.9 0L404.3 273c9.4-9.4 9.4-24.6 0-33.9L271.6 106.3c-9.4-9.4-24.6-9.4-33.9 0l-11 10.9c-9.5 9.6-9.3 25.1.4 34.4z"}}},"arrow-circle-up":{search:{terms:[]},styles:["solid"],label:"Arrow Circle Up",svg:{solid:{viewBox:["0","0","512","512"],path:"M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm143.6 28.9l72.4-75.5V392c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V209.4l72.4 75.5c9.3 9.7 24.8 9.9 34.3.4l10.9-11c9.4-9.4 9.4-24.6 0-33.9L273 107.7c-9.4-9.4-24.6-9.4-33.9 0L106.3 240.4c-9.4 9.4-9.4 24.6 0 33.9l10.9 11c9.6 9.5 25.1 9.3 34.4-.4z"}}},"arrow-down":{search:{terms:["download"]},styles:["solid"],label:"arrow-down",svg:{solid:{viewBox:["0","0","448","512"],path:"M413.1 222.5l22.2 22.2c9.4 9.4 9.4 24.6 0 33.9L241 473c-9.4 9.4-24.6 9.4-33.9 0L12.7 278.6c-9.4-9.4-9.4-24.6 0-33.9l22.2-22.2c9.5-9.5 25-9.3 34.3.4L184 343.4V56c0-13.3 10.7-24 24-24h32c13.3 0 24 10.7 24 24v287.4l114.8-120.5c9.3-9.8 24.8-10 34.3-.4z"}}},"arrow-left":{search:{terms:["back","previous"]},styles:["solid"],label:"arrow-left",svg:{solid:{viewBox:["0","0","448","512"],path:"M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"}}},"arrow-right":{search:{terms:["forward","next"]},styles:["solid"],label:"arrow-right",svg:{solid:{viewBox:["0","0","448","512"],path:"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"}}},"arrow-up":{search:{terms:[]},styles:["solid"],label:"arrow-up",svg:{solid:{viewBox:["0","0","448","512"],path:"M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z"}}},"arrows-alt":{search:{terms:["arrow","arrows","bigger","enlarge","expand","fullscreen","move","position","reorder","resize"]},styles:["solid"],label:"Alternate Arrows",svg:{solid:{viewBox:["0","0","512","512"],path:"M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z"}}},"arrows-alt-h":{search:{terms:["arrows-h","resize"]},styles:["solid"],label:"Alternate Arrows Horizontal",svg:{solid:{viewBox:["0","0","512","512"],path:"M377.941 169.941V216H134.059v-46.059c0-21.382-25.851-32.09-40.971-16.971L7.029 239.029c-9.373 9.373-9.373 24.568 0 33.941l86.059 86.059c15.119 15.119 40.971 4.411 40.971-16.971V296h243.882v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.568 0-33.941l-86.059-86.059c-15.119-15.12-40.971-4.412-40.971 16.97z"}}},"arrows-alt-v":{search:{terms:["arrows-v","resize"]},styles:["solid"],label:"Alternate Arrows Vertical",svg:{solid:{viewBox:["0","0","256","512"],path:"M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z"}}},"assistive-listening-systems":{search:{terms:[]},styles:["solid"],label:"Assistive Listening Systems",svg:{solid:{viewBox:["0","0","512","512"],path:"M216 260c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-44.112 35.888-80 80-80s80 35.888 80 80c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-13.234-10.767-24-24-24s-24 10.766-24 24zm24-176c-97.047 0-176 78.953-176 176 0 15.464 12.536 28 28 28s28-12.536 28-28c0-66.168 53.832-120 120-120s120 53.832 120 120c0 75.164-71.009 70.311-71.997 143.622L288 404c0 28.673-23.327 52-52 52-15.464 0-28 12.536-28 28s12.536 28 28 28c59.475 0 107.876-48.328 108-107.774.595-34.428 72-48.24 72-144.226 0-97.047-78.953-176-176-176zm-80 236c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zM32 448c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm480-187.993c0-1.518-.012-3.025-.045-4.531C510.076 140.525 436.157 38.47 327.994 1.511c-14.633-4.998-30.549 2.809-35.55 17.442-5 14.633 2.81 30.549 17.442 35.55 85.906 29.354 144.61 110.513 146.077 201.953l.003.188c.026 1.118.033 2.236.033 3.363 0 15.464 12.536 28 28 28s28.001-12.536 28.001-28zM152.971 439.029l-80-80L39.03 392.97l80 80 33.941-33.941z"}}},asterisk:{search:{terms:["details"]},styles:["solid"],label:"asterisk",svg:{solid:{viewBox:["0","0","512","512"],path:"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"}}},asymmetrik:{search:{terms:[]},styles:["brands"],label:"Asymmetrik, Ltd.",svg:{brands:{viewBox:["0","0","576","512"],path:"M517.5 309.2c38.8-40 58.1-80 58.5-116.1.8-65.5-59.4-118.2-169.4-135C277.9 38.4 118.1 73.6 0 140.5 52 114 110.6 92.3 170.7 82.3c74.5-20.5 153-25.4 221.3-14.8C544.5 91.3 588.8 195 490.8 299.2c-10.2 10.8-22 21.1-35 30.6L304.9 103.4 114.7 388.9c-65.6-29.4-76.5-90.2-19.1-151.2 20.8-22.2 48.3-41.9 79.5-58.1 20-12.2 39.7-22.6 62-30.7-65.1 20.3-122.7 52.9-161.6 92.9-27.7 28.6-41.4 57.1-41.7 82.9-.5 35.1 23.4 65.1 68.4 83l-34.5 51.7h101.6l22-34.4c22.2 1 45.3 0 68.6-2.7l-22.8 37.1h135.5L340 406.3c18.6-5.3 36.9-11.5 54.5-18.7l45.9 71.8H542L468.6 349c18.5-12.1 35-25.5 48.9-39.8zm-187.6 80.5l-25-40.6-32.7 53.3c-23.4 3.5-46.7 5.1-69.2 4.4l101.9-159.3 78.7 123c-17.2 7.4-35.3 13.9-53.7 19.2z"}}},at:{search:{terms:["e-mail","email"]},styles:["solid"],label:"At",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8C118.941 8 8 118.919 8 256c0 137.059 110.919 248 248 248 48.154 0 95.342-14.14 135.408-40.223 12.005-7.815 14.625-24.288 5.552-35.372l-10.177-12.433c-7.671-9.371-21.179-11.667-31.373-5.129C325.92 429.757 291.314 440 256 440c-101.458 0-184-82.542-184-184S154.542 72 256 72c100.139 0 184 57.619 184 160 0 38.786-21.093 79.742-58.17 83.693-17.349-.454-16.91-12.857-13.476-30.024l23.433-121.11C394.653 149.75 383.308 136 368.225 136h-44.981a13.518 13.518 0 0 0-13.432 11.993l-.01.092c-14.697-17.901-40.448-21.775-59.971-21.775-74.58 0-137.831 62.234-137.831 151.46 0 65.303 36.785 105.87 96 105.87 26.984 0 57.369-15.637 74.991-38.333 9.522 34.104 40.613 34.103 70.71 34.103C462.609 379.41 504 307.798 504 232 504 95.653 394.023 8 256 8zm-21.68 304.43c-22.249 0-36.07-15.623-36.07-40.771 0-44.993 30.779-72.729 58.63-72.729 22.292 0 35.601 15.241 35.601 40.77 0 45.061-33.875 72.73-58.161 72.73z"}}},atlas:{search:{terms:["book","directions","geography","map","wayfinding"]},styles:["solid"],label:"Atlas",svg:{solid:{viewBox:["0","0","448","512"],path:"M318.38 208h-39.09c-1.49 27.03-6.54 51.35-14.21 70.41 27.71-13.24 48.02-39.19 53.3-70.41zm0-32c-5.29-31.22-25.59-57.17-53.3-70.41 7.68 19.06 12.72 43.38 14.21 70.41h39.09zM224 97.31c-7.69 7.45-20.77 34.42-23.43 78.69h46.87c-2.67-44.26-15.75-71.24-23.44-78.69zm-41.08 8.28c-27.71 13.24-48.02 39.19-53.3 70.41h39.09c1.49-27.03 6.53-51.35 14.21-70.41zm0 172.82c-7.68-19.06-12.72-43.38-14.21-70.41h-39.09c5.28 31.22 25.59 57.17 53.3 70.41zM247.43 208h-46.87c2.66 44.26 15.74 71.24 23.43 78.69 7.7-7.45 20.78-34.43 23.44-78.69zM448 358.4V25.6c0-16-9.6-25.6-25.6-25.6H96C41.6 0 0 41.6 0 96v320c0 54.4 41.6 96 96 96h326.4c12.8 0 25.6-9.6 25.6-25.6v-16c0-6.4-3.2-12.8-9.6-19.2-3.2-16-3.2-60.8 0-73.6 6.4-3.2 9.6-9.6 9.6-19.2zM224 64c70.69 0 128 57.31 128 128s-57.31 128-128 128S96 262.69 96 192 153.31 64 224 64zm160 384H96c-19.2 0-32-12.8-32-32s16-32 32-32h288v64z"}}},atom:{search:{terms:["atheism","chemistry","science"]},styles:["solid"],label:"Atom",svg:{solid:{viewBox:["0","0","448","512"],path:"M413.03 256c40.13-54.89 41.51-98.62 25.14-128-10.91-19.52-40.54-50.73-116.33-41.88C300.36 34.89 267.64 0 224 0s-76.36 34.89-97.84 86.12C50.43 77.34 20.73 108.48 9.83 128c-16.38 29.4-15 73.09 25.14 128-40.13 54.89-41.51 98.62-25.14 128 29.21 52.34 101.68 43.58 116.33 41.88C147.63 477.1 180.36 512 224 512s76.37-34.9 97.84-86.12c14.64 1.7 87.11 10.46 116.33-41.88 16.38-29.4 15-73.09-25.14-128zM63.38 352c-4.03-7.21-.19-24.8 14.95-48.29 6.96 6.53 14.2 12.89 21.87 19.18 1.71 13.71 4 27.08 6.76 40.08-24.56.89-39.89-4.37-43.58-10.97zm36.82-162.88c-7.66 6.29-14.9 12.65-21.87 19.18-15.13-23.5-18.97-41.09-14.95-48.3 3.41-6.14 16.39-11.47 37.92-11.47 1.71 0 3.87.3 5.69.37a472.191 472.191 0 0 0-6.79 40.22zM224 64c9.47 0 22.2 13.52 33.86 37.26-11.19 3.7-22.44 8-33.86 12.86-11.42-4.86-22.67-9.16-33.86-12.86C201.8 77.52 214.53 64 224 64zm0 384c-9.47 0-22.2-13.52-33.86-37.26 11.19-3.7 22.44-8 33.86-12.86 11.42 4.86 22.67 9.16 33.86 12.86C246.2 434.48 233.47 448 224 448zm62.5-157.33c-26.7 19.08-46.14 29.33-62.5 37.48-16.35-8.14-35.8-18.41-62.5-37.48-1.99-27.79-1.99-41.54 0-69.33 26.67-19.05 46.13-29.32 62.5-37.48 16.39 8.17 35.86 18.44 62.5 37.48 1.98 27.78 1.99 41.53 0 69.33zM384.62 352c-3.67 6.62-19 11.82-43.58 10.95 2.76-13 5.05-26.37 6.76-40.06 7.66-6.29 14.9-12.65 21.87-19.18 15.13 23.49 18.97 41.08 14.95 48.29zm-14.95-143.71c-6.96-6.53-14.2-12.89-21.87-19.18a473.535 473.535 0 0 0-6.79-40.22c1.82-.07 3.97-.37 5.69-.37 21.52 0 34.51 5.34 37.92 11.47 4.02 7.22.18 24.81-14.95 48.3zM224 224c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32z"}}},audible:{search:{terms:[]},styles:["brands"],label:"Audible",svg:{brands:{viewBox:["0","0","640","512"],path:"M640 199.9v54l-320 200L0 254v-54l320 200 320-200.1zm-194.5 72l47.1-29.4c-37.2-55.8-100.7-92.6-172.7-92.6-72 0-135.5 36.7-172.6 92.4h.3c2.5-2.3 5.1-4.5 7.7-6.7 89.7-74.4 219.4-58.1 290.2 36.3zm-220.1 18.8c16.9-11.9 36.5-18.7 57.4-18.7 34.4 0 65.2 18.4 86.4 47.6l45.4-28.4c-20.9-29.9-55.6-49.5-94.8-49.5-38.9 0-73.4 19.4-94.4 49zM103.6 161.1c131.8-104.3 318.2-76.4 417.5 62.1l.7 1 48.8-30.4C517.1 112.1 424.8 58.1 319.9 58.1c-103.5 0-196.6 53.5-250.5 135.6 9.9-10.5 22.7-23.5 34.2-32.6zm467 32.7z"}}},"audio-description":{search:{terms:[]},styles:["solid"],label:"Audio Description",svg:{solid:{viewBox:["0","0","512","512"],path:"M162.925 238.709l8.822 30.655h-25.606l9.041-30.652c1.277-4.421 2.651-9.994 3.872-15.245 1.22 5.251 2.594 10.823 3.871 15.242zm166.474-32.099h-14.523v98.781h14.523c29.776 0 46.175-17.678 46.175-49.776 0-32.239-17.49-49.005-46.175-49.005zM512 112v288c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48zM245.459 336.139l-57.097-168A12.001 12.001 0 0 0 177 160h-35.894a12.001 12.001 0 0 0-11.362 8.139l-57.097 168C70.003 343.922 75.789 352 84.009 352h29.133a12 12 0 0 0 11.535-8.693l8.574-29.906h51.367l8.793 29.977A12 12 0 0 0 204.926 352h29.172c8.22 0 14.006-8.078 11.361-15.861zm184.701-80.525c0-58.977-37.919-95.614-98.96-95.614h-57.366c-6.627 0-12 5.373-12 12v168c0 6.627 5.373 12 12 12H331.2c61.041 0 98.96-36.933 98.96-96.386z"}}},autoprefixer:{search:{terms:[]},styles:["brands"],label:"Autoprefixer",svg:{brands:{viewBox:["0","0","640","512"],path:"M318.4 16l-161 480h77.5l25.4-81.4h119.5L405 496h77.5L318.4 16zm-40.3 341.9l41.2-130.4h1.5l40.9 130.4h-83.6zM640 405l-10-31.4L462.1 358l19.4 56.5L640 405zm-462.1-47L10 373.7 0 405l158.5 9.4 19.4-56.4z"}}},avianex:{search:{terms:[]},styles:["brands"],label:"avianex",svg:{brands:{viewBox:["0","0","512","512"],path:"M453.1 32h-312c-38.9 0-76.2 31.2-83.3 69.7L1.2 410.3C-5.9 448.8 19.9 480 58.9 480h312c38.9 0 76.2-31.2 83.3-69.7l56.7-308.5c7-38.6-18.8-69.8-57.8-69.8zm-58.2 347.3l-32 13.5-115.4-110c-14.7 10-29.2 19.5-41.7 27.1l22.1 64.2-17.9 12.7-40.6-61-52.4-48.1 15.7-15.4 58 31.1c9.3-10.5 20.8-22.6 32.8-34.9L203 228.9l-68.8-99.8 18.8-28.9 8.9-4.8L265 207.8l4.9 4.5c19.4-18.8 33.8-32.4 33.8-32.4 7.7-6.5 21.5-2.9 30.7 7.9 9 10.5 10.6 24.7 2.7 31.3-1.8 1.3-15.5 11.4-35.3 25.6l4.5 7.3 94.9 119.4-6.3 7.9z"}}},aviato:{search:{terms:[]},styles:["brands"],label:"Aviato",svg:{brands:{viewBox:["0","0","640","512"],path:"M107.2 283.5l-19-41.8H36.1l-19 41.8H0l62.2-131.4 62.2 131.4h-17.2zm-45-98.1l-19.6 42.5h39.2l-19.6-42.5zm112.7 102.4l-62.2-131.4h17.1l45.1 96 45.1-96h17l-62.1 131.4zm80.6-4.3V156.4H271v127.1h-15.5zm209.1-115.6v115.6h-17.3V167.9h-41.2v-11.5h99.6v11.5h-41.1zM640 218.8c0 9.2-1.7 17.8-5.1 25.8-3.4 8-8.2 15.1-14.2 21.1-6 6-13.1 10.8-21.1 14.2-8 3.4-16.6 5.1-25.8 5.1s-17.8-1.7-25.8-5.1c-8-3.4-15.1-8.2-21.1-14.2-6-6-10.8-13-14.2-21.1-3.4-8-5.1-16.6-5.1-25.8s1.7-17.8 5.1-25.8c3.4-8 8.2-15.1 14.2-21.1 6-6 13-8.4 21.1-11.9 8-3.4 16.6-5.1 25.8-5.1s17.8 1.7 25.8 5.1c8 3.4 15.1 5.8 21.1 11.9 6 6 10.7 13.1 14.2 21.1 3.4 8 5.1 16.6 5.1 25.8zm-15.5 0c0-7.3-1.3-14-3.9-20.3-2.6-6.3-6.2-11.7-10.8-16.3-4.6-4.6-10-8.2-16.2-10.9-6.2-2.7-12.8-4-19.8-4s-13.6 1.3-19.8 4c-6.2 2.7-11.6 6.3-16.2 10.9-4.6 4.6-8.2 10-10.8 16.3-2.6 6.3-3.9 13.1-3.9 20.3 0 7.3 1.3 14 3.9 20.3 2.6 6.3 6.2 11.7 10.8 16.3 4.6 4.6 10 8.2 16.2 10.9 6.2 2.7 12.8 4 19.8 4s13.6-1.3 19.8-4c6.2-2.7 11.6-6.3 16.2-10.9 4.6-4.6 8.2-10 10.8-16.3 2.6-6.3 3.9-13.1 3.9-20.3zm-94.8 96.7v-6.3l88.9-10-242.9 13.4c.6-2.2 1.1-4.6 1.4-7.2.3-2 .5-4.2.6-6.5l64.8-8.1-64.9 1.9c0-.4-.1-.7-.1-1.1-2.8-17.2-25.5-23.7-25.5-23.7l-1.1-26.3h23.8l19 41.8h17.1L348.6 152l-62.2 131.4h17.1l19-41.8h23.6L345 268s-22.7 6.5-25.5 23.7c-.1.3-.1.7-.1 1.1l-64.9-1.9 64.8 8.1c.1 2.3.3 4.4.6 6.5.3 2.6.8 5 1.4 7.2L78.4 299.2l88.9 10v6.3c-5.9.9-10.5 6-10.5 12.2 0 6.8 5.6 12.4 12.4 12.4 6.8 0 12.4-5.6 12.4-12.4 0-6.2-4.6-11.3-10.5-12.2v-5.8l80.3 9v5.4c-5.7 1.1-9.9 6.2-9.9 12.1 0 6.8 5.6 10.2 12.4 10.2 6.8 0 12.4-3.4 12.4-10.2 0-6-4.3-11-9.9-12.1v-4.9l28.4 3.2v23.7h-5.9V360h5.9v-6.6h5v6.6h5.9v-13.8h-5.9V323l38.3 4.3c8.1 11.4 19 13.6 19 13.6l-.1 6.7-5.1.2-.1 12.1h4.1l.1-5h5.2l.1 5h4.1l-.1-12.1-5.1-.2-.1-6.7s10.9-2.1 19-13.6l38.3-4.3v23.2h-5.9V360h5.9v-6.6h5v6.6h5.9v-13.8h-5.9v-23.7l28.4-3.2v4.9c-5.7 1.1-9.9 6.2-9.9 12.1 0 6.8 5.6 10.2 12.4 10.2 6.8 0 12.4-3.4 12.4-10.2 0-6-4.3-11-9.9-12.1v-5.4l80.3-9v5.8c-5.9.9-10.5 6-10.5 12.2 0 6.8 5.6 12.4 12.4 12.4 6.8 0 12.4-5.6 12.4-12.4-.2-6.3-4.7-11.4-10.7-12.3zm-200.8-87.6l19.6-42.5 19.6 42.5h-17.9l-1.7-40.3-1.7 40.3h-17.9z"}}},award:{search:{terms:["honor","praise","prize","recognition","ribbon"]},styles:["solid"],label:"Award",svg:{solid:{viewBox:["0","0","384","512"],path:"M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z"}}},aws:{search:{terms:[]},styles:["brands"],label:"Amazon Web Services (AWS)",svg:{brands:{viewBox:["0","0","640","512"],path:"M180.41 203.01c-.72 22.65 10.6 32.68 10.88 39.05a8.164 8.164 0 0 1-4.1 6.27l-12.8 8.96a10.66 10.66 0 0 1-5.63 1.92c-.43-.02-8.19 1.83-20.48-25.61a78.608 78.608 0 0 1-62.61 29.45c-16.28.89-60.4-9.24-58.13-56.21-1.59-38.28 34.06-62.06 70.93-60.05 7.1.02 21.6.37 46.99 6.27v-15.62c2.69-26.46-14.7-46.99-44.81-43.91-2.4.01-19.4-.5-45.84 10.11-7.36 3.38-8.3 2.82-10.75 2.82-7.41 0-4.36-21.48-2.94-24.2 5.21-6.4 35.86-18.35 65.94-18.18a76.857 76.857 0 0 1 55.69 17.28 70.285 70.285 0 0 1 17.67 52.36l-.01 69.29zM93.99 235.4c32.43-.47 46.16-19.97 49.29-30.47 2.46-10.05 2.05-16.41 2.05-27.4-9.67-2.32-23.59-4.85-39.56-4.87-15.15-1.14-42.82 5.63-41.74 32.26-1.24 16.79 11.12 31.4 29.96 30.48zm170.92 23.05c-7.86.72-11.52-4.86-12.68-10.37l-49.8-164.65c-.97-2.78-1.61-5.65-1.92-8.58a4.61 4.61 0 0 1 3.86-5.25c.24-.04-2.13 0 22.25 0 8.78-.88 11.64 6.03 12.55 10.37l35.72 140.83 33.16-140.83c.53-3.22 2.94-11.07 12.8-10.24h17.16c2.17-.18 11.11-.5 12.68 10.37l33.42 142.63L420.98 80.1c.48-2.18 2.72-11.37 12.68-10.37h19.72c.85-.13 6.15-.81 5.25 8.58-.43 1.85 3.41-10.66-52.75 169.9-1.15 5.51-4.82 11.09-12.68 10.37h-18.69c-10.94 1.15-12.51-9.66-12.68-10.75L328.67 110.7l-32.78 136.99c-.16 1.09-1.73 11.9-12.68 10.75h-18.3zm273.48 5.63c-5.88.01-33.92-.3-57.36-12.29a12.802 12.802 0 0 1-7.81-11.91v-10.75c0-8.45 6.2-6.9 8.83-5.89 10.04 4.06 16.48 7.14 28.81 9.6 36.65 7.53 52.77-2.3 56.72-4.48 13.15-7.81 14.19-25.68 5.25-34.95-10.48-8.79-15.48-9.12-53.13-21-4.64-1.29-43.7-13.61-43.79-52.36-.61-28.24 25.05-56.18 69.52-55.95 12.67-.01 46.43 4.13 55.57 15.62 1.35 2.09 2.02 4.55 1.92 7.04v10.11c0 4.44-1.62 6.66-4.87 6.66-7.71-.86-21.39-11.17-49.16-10.75-6.89-.36-39.89.91-38.41 24.97-.43 18.96 26.61 26.07 29.7 26.89 36.46 10.97 48.65 12.79 63.12 29.58 17.14 22.25 7.9 48.3 4.35 55.44-19.08 37.49-68.42 34.44-69.26 34.42zm40.2 104.86c-70.03 51.72-171.69 79.25-258.49 79.25A469.127 469.127 0 0 1 2.83 327.46c-6.53-5.89-.77-13.96 7.17-9.47a637.37 637.37 0 0 0 316.88 84.12 630.22 630.22 0 0 0 241.59-49.55c11.78-5 21.77 7.8 10.12 16.38zm29.19-33.29c-8.96-11.52-59.28-5.38-81.81-2.69-6.79.77-7.94-5.12-1.79-9.47 40.07-28.17 105.88-20.1 113.44-10.63 7.55 9.47-2.05 75.41-39.56 106.91-5.76 4.87-11.27 2.3-8.71-4.1 8.44-21.25 27.39-68.49 18.43-80.02z"}}},backspace:{search:{terms:["command","delete","keyboard","undo"]},styles:["solid"],label:"Backspace",svg:{solid:{viewBox:["0","0","640","512"],path:"M576 64H205.26A63.97 63.97 0 0 0 160 82.75L9.37 233.37c-12.5 12.5-12.5 32.76 0 45.25L160 429.25c12 12 28.28 18.75 45.25 18.75H576c35.35 0 64-28.65 64-64V128c0-35.35-28.65-64-64-64zm-84.69 254.06c6.25 6.25 6.25 16.38 0 22.63l-22.62 22.62c-6.25 6.25-16.38 6.25-22.63 0L384 301.25l-62.06 62.06c-6.25 6.25-16.38 6.25-22.63 0l-22.62-22.62c-6.25-6.25-6.25-16.38 0-22.63L338.75 256l-62.06-62.06c-6.25-6.25-6.25-16.38 0-22.63l22.62-22.62c6.25-6.25 16.38-6.25 22.63 0L384 210.75l62.06-62.06c6.25-6.25 16.38-6.25 22.63 0l22.62 22.62c6.25 6.25 6.25 16.38 0 22.63L429.25 256l62.06 62.06z"}}},backward:{search:{terms:["previous","rewind"]},styles:["solid"],label:"backward",svg:{solid:{viewBox:["0","0","512","512"],path:"M11.5 280.6l192 160c20.6 17.2 52.5 2.8 52.5-24.6V96c0-27.4-31.9-41.8-52.5-24.6l-192 160c-15.3 12.8-15.3 36.4 0 49.2zm256 0l192 160c20.6 17.2 52.5 2.8 52.5-24.6V96c0-27.4-31.9-41.8-52.5-24.6l-192 160c-15.3 12.8-15.3 36.4 0 49.2z"}}},"balance-scale":{search:{terms:["balanced","justice","legal","measure","weight"]},styles:["solid"],label:"Balance Scale",svg:{solid:{viewBox:["0","0","640","512"],path:"M256 336h-.02c0-16.18 1.34-8.73-85.05-181.51-17.65-35.29-68.19-35.36-85.87 0C-2.06 328.75.02 320.33.02 336H0c0 44.18 57.31 80 128 80s128-35.82 128-80zM128 176l72 144H56l72-144zm511.98 160c0-16.18 1.34-8.73-85.05-181.51-17.65-35.29-68.19-35.36-85.87 0-87.12 174.26-85.04 165.84-85.04 181.51H384c0 44.18 57.31 80 128 80s128-35.82 128-80h-.02zM440 320l72-144 72 144H440zm88 128H352V153.25c23.51-10.29 41.16-31.48 46.39-57.25H528c8.84 0 16-7.16 16-16V48c0-8.84-7.16-16-16-16H383.64C369.04 12.68 346.09 0 320 0s-49.04 12.68-63.64 32H112c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h129.61c5.23 25.76 22.87 46.96 46.39 57.25V448H112c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h416c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"}}},ban:{search:{terms:["abort","ban","block","cancel","delete","hide","prohibit","remove","stop","trash"]},styles:["solid"],label:"ban",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"}}},"band-aid":{search:{terms:["bandage","boo boo","ouch"]},styles:["solid"],label:"Band-Aid",svg:{solid:{viewBox:["0","0","640","512"],path:"M0 160v192c0 35.3 28.7 64 64 64h96V96H64c-35.3 0-64 28.7-64 64zm576-64h-96v320h96c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64zM192 416h256V96H192v320zm176-232c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm0 96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm-96-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm0 96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24z"}}},bandcamp:{search:{terms:[]},styles:["brands"],label:"Bandcamp",svg:{brands:{viewBox:["0","0","496","512"],path:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm48.2 326.1h-181L199.9 178h181l-84.7 156.1z"}}},barcode:{search:{terms:["scan"]},styles:["solid"],label:"barcode",svg:{solid:{viewBox:["0","0","512","512"],path:"M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"}}},bars:{search:{terms:["checklist","drag","hamburger","list","menu","nav","navigation","ol","reorder","settings","todo","ul"]},styles:["solid"],label:"Bars",svg:{solid:{viewBox:["0","0","448","512"],path:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}},"baseball-ball":{search:{terms:[]},styles:["solid"],label:"Baseball Ball",svg:{solid:{viewBox:["0","0","496","512"],path:"M368.5 363.9l28.8-13.9c11.1 22.9 26 43.2 44.1 60.9 34-42.5 54.5-96.3 54.5-154.9 0-58.5-20.4-112.2-54.2-154.6-17.8 17.3-32.6 37.1-43.6 59.5l-28.7-14.1c12.8-26 30-49 50.8-69C375.6 34.7 315 8 248 8 181.1 8 120.5 34.6 75.9 77.7c20.7 19.9 37.9 42.9 50.7 68.8l-28.7 14.1c-11-22.3-25.7-42.1-43.5-59.4C20.4 143.7 0 197.4 0 256c0 58.6 20.4 112.3 54.4 154.7 18.2-17.7 33.2-38 44.3-61l28.8 13.9c-12.9 26.7-30.3 50.3-51.5 70.7 44.5 43.1 105.1 69.7 172 69.7 66.8 0 127.3-26.5 171.9-69.5-21.1-20.4-38.5-43.9-51.4-70.6zm-228.3-32l-30.5-9.8c14.9-46.4 12.7-93.8-.6-134l30.4-10c15 45.6 18 99.9.7 153.8zm216.3-153.4l30.4 10c-13.2 40.1-15.5 87.5-.6 134l-30.5 9.8c-17.3-54-14.3-108.3.7-153.8z"}}},"basketball-ball":{search:{terms:[]},styles:["solid"],label:"Basketball Ball",svg:{solid:{viewBox:["0","0","496","512"],path:"M212.3 10.3c-43.8 6.3-86.2 24.1-122.2 53.8l77.4 77.4c27.8-35.8 43.3-81.2 44.8-131.2zM248 222L405.9 64.1c-42.4-35-93.6-53.5-145.5-56.1-1.2 63.9-21.5 122.3-58.7 167.7L248 222zM56.1 98.1c-29.7 36-47.5 78.4-53.8 122.2 50-1.5 95.5-17 131.2-44.8L56.1 98.1zm272.2 204.2c45.3-37.1 103.7-57.4 167.7-58.7-2.6-51.9-21.1-103.1-56.1-145.5L282 256l46.3 46.3zM248 290L90.1 447.9c42.4 34.9 93.6 53.5 145.5 56.1 1.3-64 21.6-122.4 58.7-167.7L248 290zm191.9 123.9c29.7-36 47.5-78.4 53.8-122.2-50.1 1.6-95.5 17.1-131.2 44.8l77.4 77.4zM167.7 209.7C122.3 246.9 63.9 267.3 0 268.4c2.6 51.9 21.1 103.1 56.1 145.5L214 256l-46.3-46.3zm116 292c43.8-6.3 86.2-24.1 122.2-53.8l-77.4-77.4c-27.7 35.7-43.2 81.2-44.8 131.2z"}}},bath:{search:{terms:[]},styles:["solid"],label:"Bath",svg:{solid:{viewBox:["0","0","512","512"],path:"M488 256H80V112c0-17.645 14.355-32 32-32 11.351 0 21.332 5.945 27.015 14.88-16.492 25.207-14.687 59.576 6.838 83.035-4.176 4.713-4.021 11.916.491 16.428l11.314 11.314c4.686 4.686 12.284 4.686 16.971 0l95.03-95.029c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.512-4.512-11.715-4.666-16.428-.491-17.949-16.469-42.294-21.429-64.178-15.365C163.281 45.667 139.212 32 112 32c-44.112 0-80 35.888-80 80v144h-8c-13.255 0-24 10.745-24 24v16c0 13.255 10.745 24 24 24h8v32c0 28.43 12.362 53.969 32 71.547V456c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-8h256v8c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-32.453c19.638-17.578 32-43.117 32-71.547v-32h8c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24z"}}},"battery-empty":{search:{terms:["power","status"]},styles:["solid"],label:"Battery Empty",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48z"}}},"battery-full":{search:{terms:["power","status"]},styles:["solid"],label:"Battery Full",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48zm-48 96H96v128h416V192z"}}},"battery-half":{search:{terms:["power","status"]},styles:["solid"],label:"Battery 1/2 Full",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48zm-240 96H96v128h224V192z"}}},"battery-quarter":{search:{terms:["power","status"]},styles:["solid"],label:"Battery 1/4 Full",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48zm-336 96H96v128h128V192z"}}},"battery-three-quarters":{search:{terms:["power","status"]},styles:["solid"],label:"Battery 3/4 Full",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48zm-144 96H96v128h320V192z"}}},bed:{search:{terms:["lodging","sleep","travel"]},styles:["solid"],label:"Bed",svg:{solid:{viewBox:["0","0","640","512"],path:"M176 256c44.11 0 80-35.89 80-80s-35.89-80-80-80-80 35.89-80 80 35.89 80 80 80zm352-128H304c-8.84 0-16 7.16-16 16v144H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v352c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-48h512v48c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V240c0-61.86-50.14-112-112-112z"}}},beer:{search:{terms:["alcohol","bar","beverage","drink","liquor","mug","stein"]},styles:["solid"],label:"beer",svg:{solid:{viewBox:["0","0","448","512"],path:"M368 96h-48V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56v400c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24v-42.11l80.606-35.977C429.396 365.063 448 336.388 448 304.86V176c0-44.112-35.888-80-80-80zm16 208.86a16.018 16.018 0 0 1-9.479 14.611L320 343.805V160h48c8.822 0 16 7.178 16 16v128.86zM208 384c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16zm-96 0c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16z"}}},behance:{search:{terms:[]},styles:["brands"],label:"Behance",svg:{brands:{viewBox:["0","0","576","512"],path:"M232 237.2c31.8-15.2 48.4-38.2 48.4-74 0-70.6-52.6-87.8-113.3-87.8H0v354.4h171.8c64.4 0 124.9-30.9 124.9-102.9 0-44.5-21.1-77.4-64.7-89.7zM77.9 135.9H151c28.1 0 53.4 7.9 53.4 40.5 0 30.1-19.7 42.2-47.5 42.2h-79v-82.7zm83.3 233.7H77.9V272h84.9c34.3 0 56 14.3 56 50.6 0 35.8-25.9 47-57.6 47zm358.5-240.7H376V94h143.7v34.9zM576 305.2c0-75.9-44.4-139.2-124.9-139.2-78.2 0-131.3 58.8-131.3 135.8 0 79.9 50.3 134.7 131.3 134.7 61.3 0 101-27.6 120.1-86.3H509c-6.7 21.9-34.3 33.5-55.7 33.5-41.3 0-63-24.2-63-65.3h185.1c.3-4.2.6-8.7.6-13.2zM390.4 274c2.3-33.7 24.7-54.8 58.5-54.8 35.4 0 53.2 20.8 56.2 54.8H390.4z"}}},"behance-square":{search:{terms:[]},styles:["brands"],label:"Behance Square",svg:{brands:{viewBox:["0","0","448","512"],path:"M186.5 293c0 19.3-14 25.4-31.2 25.4h-45.1v-52.9h46c18.6.1 30.3 7.8 30.3 27.5zm-7.7-82.3c0-17.7-13.7-21.9-28.9-21.9h-39.6v44.8H153c15.1 0 25.8-6.6 25.8-22.9zm132.3 23.2c-18.3 0-30.5 11.4-31.7 29.7h62.2c-1.7-18.5-11.3-29.7-30.5-29.7zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zM271.7 185h77.8v-18.9h-77.8V185zm-43 110.3c0-24.1-11.4-44.9-35-51.6 17.2-8.2 26.2-17.7 26.2-37 0-38.2-28.5-47.5-61.4-47.5H68v192h93.1c34.9-.2 67.6-16.9 67.6-55.9zM380 280.5c0-41.1-24.1-75.4-67.6-75.4-42.4 0-71.1 31.8-71.1 73.6 0 43.3 27.3 73 71.1 73 33.2 0 54.7-14.9 65.1-46.8h-33.7c-3.7 11.9-18.6 18.1-30.2 18.1-22.4 0-34.1-13.1-34.1-35.3h100.2c.1-2.3.3-4.8.3-7.2z"}}},bell:{search:{terms:["alert","notification","reminder"]},styles:["solid","regular"],label:"bell",svg:{solid:{viewBox:["0","0","448","512"],path:"M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"},regular:{last_modified:1532362831475,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.39 362.29c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71zM67.53 368c21.22-27.97 44.42-74.33 44.53-159.42 0-.2-.06-.38-.06-.58 0-61.86 50.14-112 112-112s112 50.14 112 112c0 .2-.06.38-.06.58.11 85.1 23.31 131.46 44.53 159.42H67.53zM224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M439.39 362.29c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71zM67.53 368c21.22-27.97 44.42-74.33 44.53-159.42 0-.2-.06-.38-.06-.58 0-61.86 50.14-112 112-112s112 50.14 112 112c0 .2-.06.38-.06.58.11 85.1 23.31 131.46 44.53 159.42H67.53zM224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64z"}}},"bell-slash":{search:{terms:[]},styles:["solid","regular"],label:"Bell Slash",svg:{solid:{viewBox:["0","0","640","512"],path:"M633.82 458.1l-90.62-70.05c.19-1.38.8-2.66.8-4.06.05-7.55-2.61-15.27-8.61-21.71-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84c-40.33 8.38-74.66 31.07-97.59 62.57L45.47 3.37C38.49-2.05 28.43-.8 23.01 6.18L3.37 31.45C-2.05 38.42-.8 48.47 6.18 53.9l588.35 454.73c6.98 5.43 17.03 4.17 22.46-2.81l19.64-25.27c5.42-6.97 4.17-17.02-2.81-22.45zM157.23 251.54c-8.61 67.96-36.41 93.33-52.62 110.75-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h241.92L157.23 251.54zM320 512c35.32 0 63.97-28.65 63.97-64H256.03c0 35.35 28.65 64 63.97 64z"},regular:{last_modified:1532362831475,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M633.99 471.02L36 3.51C29.1-2.01 19.03-.9 13.51 6l-10 12.49C-2.02 25.39-.9 35.46 6 40.98l598 467.51c6.9 5.52 16.96 4.4 22.49-2.49l10-12.49c5.52-6.9 4.41-16.97-2.5-22.49zM163.53 368c16.71-22.03 34.48-55.8 41.4-110.58l-45.47-35.55c-3.27 90.73-36.47 120.68-54.84 140.42-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h279.66l-61.4-48H163.53zM320 96c61.86 0 112 50.14 112 112 0 .2-.06.38-.06.58.02 16.84 1.16 31.77 2.79 45.73l59.53 46.54c-8.31-22.13-14.34-51.49-14.34-92.85 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84c-26.02 5.41-49.45 16.94-69.13 32.72l38.17 29.84C275 103.18 296.65 96 320 96zm0 416c35.32 0 63.97-28.65 63.97-64H256.03c0 35.35 28.65 64 63.97 64z"/></svg>',viewBox:["0","0","640","512"],width:640,height:512,path:"M633.99 471.02L36 3.51C29.1-2.01 19.03-.9 13.51 6l-10 12.49C-2.02 25.39-.9 35.46 6 40.98l598 467.51c6.9 5.52 16.96 4.4 22.49-2.49l10-12.49c5.52-6.9 4.41-16.97-2.5-22.49zM163.53 368c16.71-22.03 34.48-55.8 41.4-110.58l-45.47-35.55c-3.27 90.73-36.47 120.68-54.84 140.42-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h279.66l-61.4-48H163.53zM320 96c61.86 0 112 50.14 112 112 0 .2-.06.38-.06.58.02 16.84 1.16 31.77 2.79 45.73l59.53 46.54c-8.31-22.13-14.34-51.49-14.34-92.85 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84c-26.02 5.41-49.45 16.94-69.13 32.72l38.17 29.84C275 103.18 296.65 96 320 96zm0 416c35.32 0 63.97-28.65 63.97-64H256.03c0 35.35 28.65 64 63.97 64z"}}},"bezier-curve":{search:{terms:["curves","illustrator","lines","path","vector"]},styles:["solid"],label:"Bezier Curve",svg:{solid:{viewBox:["0","0","640","512"],path:"M368 32h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zM208 88h-84.75C113.75 64.56 90.84 48 64 48 28.66 48 0 76.65 0 112s28.66 64 64 64c26.84 0 49.75-16.56 59.25-40h79.73c-55.37 32.52-95.86 87.32-109.54 152h49.4c11.3-41.61 36.77-77.21 71.04-101.56-3.7-8.08-5.88-16.99-5.88-26.44V88zm-48 232H64c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zM576 48c-26.84 0-49.75 16.56-59.25 40H432v72c0 9.45-2.19 18.36-5.88 26.44 34.27 24.35 59.74 59.95 71.04 101.56h49.4c-13.68-64.68-54.17-119.48-109.54-152h79.73c9.5 23.44 32.41 40 59.25 40 35.34 0 64-28.65 64-64s-28.66-64-64-64zm0 272h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"}}},bible:{search:{terms:["book","catholicism","christianity"]},styles:["solid"],label:"Bible",svg:{solid:{viewBox:["0","0","448","512"],path:"M448 358.4V25.6c0-16-9.6-25.6-25.6-25.6H96C41.6 0 0 41.6 0 96v320c0 54.4 41.6 96 96 96h326.4c12.8 0 25.6-9.6 25.6-25.6v-16c0-6.4-3.2-12.8-9.6-19.2-3.2-16-3.2-60.8 0-73.6 6.4-3.2 9.6-9.6 9.6-19.2zM144 144c0-8.84 7.16-16 16-16h48V80c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v48h48c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16h-48v112c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16V192h-48c-8.84 0-16-7.16-16-16v-32zm236.8 304H96c-19.2 0-32-12.8-32-32s16-32 32-32h284.8v64z"}}},bicycle:{search:{terms:["bike","gears","transportation","vehicle"]},styles:["solid"],label:"Bicycle",svg:{solid:{viewBox:["0","0","640","512"],path:"M512.509 192.001c-16.373-.064-32.03 2.955-46.436 8.495l-77.68-125.153A24 24 0 0 0 368.001 64h-64c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h50.649l14.896 24H256.002v-16c0-8.837-7.163-16-16-16h-87.459c-13.441 0-24.777 10.999-24.536 24.437.232 13.044 10.876 23.563 23.995 23.563h48.726l-29.417 47.52c-13.433-4.83-27.904-7.483-42.992-7.52C58.094 191.83.412 249.012.002 319.236-.413 390.279 57.055 448 128.002 448c59.642 0 109.758-40.793 123.967-96h52.033a24 24 0 0 0 20.406-11.367L410.37 201.77l14.938 24.067c-25.455 23.448-41.385 57.081-41.307 94.437.145 68.833 57.899 127.051 126.729 127.719 70.606.685 128.181-55.803 129.255-125.996 1.086-70.941-56.526-129.72-127.476-129.996zM186.75 265.772c9.727 10.529 16.673 23.661 19.642 38.228h-43.306l23.664-38.228zM128.002 400c-44.112 0-80-35.888-80-80s35.888-80 80-80c5.869 0 11.586.653 17.099 1.859l-45.505 73.509C89.715 331.327 101.213 352 120.002 352h81.3c-12.37 28.225-40.562 48-73.3 48zm162.63-96h-35.624c-3.96-31.756-19.556-59.894-42.383-80.026L237.371 184h127.547l-74.286 120zm217.057 95.886c-41.036-2.165-74.049-35.692-75.627-76.755-.812-21.121 6.633-40.518 19.335-55.263l44.433 71.586c4.66 7.508 14.524 9.816 22.032 5.156l13.594-8.437c7.508-4.66 9.817-14.524 5.156-22.032l-44.468-71.643a79.901 79.901 0 0 1 19.858-2.497c44.112 0 80 35.888 80 80-.001 45.54-38.252 82.316-84.313 79.885z"}}},bimobject:{search:{terms:[]},styles:["brands"],label:"BIMobject",svg:{brands:{viewBox:["0","0","448","512"],path:"M416 32H32C14.4 32 0 46.4 0 64v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm-64 257.4c0 49.4-11.4 82.6-103.8 82.6h-16.9c-44.1 0-62.4-14.9-70.4-38.8h-.9V368H96V136h64v74.7h1.1c4.6-30.5 39.7-38.8 69.7-38.8h17.3c92.4 0 103.8 33.1 103.8 82.5v35zm-64-28.9v22.9c0 21.7-3.4 33.8-38.4 33.8h-45.3c-28.9 0-44.1-6.5-44.1-35.7v-19c0-29.3 15.2-35.7 44.1-35.7h45.3c35-.2 38.4 12 38.4 33.7z"}}},binoculars:{search:{terms:[]},styles:["solid"],label:"Binoculars",svg:{solid:{viewBox:["0","0","512","512"],path:"M416 48c0-8.84-7.16-16-16-16h-64c-8.84 0-16 7.16-16 16v48h96V48zM63.91 159.99C61.4 253.84 3.46 274.22 0 404v44c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32V288h32V128H95.84c-17.63 0-31.45 14.37-31.93 31.99zm384.18 0c-.48-17.62-14.3-31.99-31.93-31.99H320v160h32v160c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-44c-3.46-129.78-61.4-150.16-63.91-244.01zM176 32h-64c-8.84 0-16 7.16-16 16v48h96V48c0-8.84-7.16-16-16-16zm48 256h64V128h-64v160z"}}},"birthday-cake":{search:{terms:[]},styles:["solid"],label:"Birthday Cake",svg:{solid:{viewBox:["0","0","448","512"],path:"M448 384c-28.02 0-31.26-32-74.5-32-43.43 0-46.825 32-74.75 32-27.695 0-31.454-32-74.75-32-42.842 0-47.218 32-74.5 32-28.148 0-31.202-32-74.75-32-43.547 0-46.653 32-74.75 32v-80c0-26.5 21.5-48 48-48h16V112h64v144h64V112h64v144h64V112h64v144h16c26.5 0 48 21.5 48 48v80zm0 128H0v-96c43.356 0 46.767-32 74.75-32 27.951 0 31.253 32 74.75 32 42.843 0 47.217-32 74.5-32 28.148 0 31.201 32 74.75 32 43.357 0 46.767-32 74.75-32 27.488 0 31.252 32 74.5 32v96zM96 96c-17.75 0-32-14.25-32-32 0-31 32-23 32-64 12 0 32 29.5 32 56s-14.25 40-32 40zm128 0c-17.75 0-32-14.25-32-32 0-31 32-23 32-64 12 0 32 29.5 32 56s-14.25 40-32 40zm128 0c-17.75 0-32-14.25-32-32 0-31 32-23 32-64 12 0 32 29.5 32 56s-14.25 40-32 40z"}}},bitbucket:{search:{terms:["bitbucket-square","git"]},styles:["brands"],label:"Bitbucket",svg:{brands:{viewBox:["0","0","512","512"],path:"M23.1 32C14.2 31.9 7 38.9 6.9 47.8c0 .9.1 1.8.2 2.8L74.9 462c1.7 10.4 10.7 18 21.2 18.1h325.1c7.9.1 14.7-5.6 16-13.4l67.8-416c1.4-8.7-4.5-16.9-13.2-18.3-.9-.1-1.8-.2-2.8-.2L23.1 32zm285.3 297.3H204.6l-28.1-146.8h157l-25.1 146.8z"}}},bitcoin:{search:{terms:[]},styles:["brands"],label:"Bitcoin",svg:{brands:{viewBox:["0","0","512","512"],path:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-141.651-35.33c4.937-32.999-20.191-50.739-54.55-62.573l11.146-44.702-27.213-6.781-10.851 43.524c-7.154-1.783-14.502-3.464-21.803-5.13l10.929-43.81-27.198-6.781-11.153 44.686c-5.922-1.349-11.735-2.682-17.377-4.084l.031-.14-37.53-9.37-7.239 29.062s20.191 4.627 19.765 4.913c11.022 2.751 13.014 10.044 12.68 15.825l-12.696 50.925c.76.194 1.744.473 2.829.907-.907-.225-1.876-.473-2.876-.713l-17.796 71.338c-1.349 3.348-4.767 8.37-12.471 6.464.271.395-19.78-4.937-19.78-4.937l-13.51 31.147 35.414 8.827c6.588 1.651 13.045 3.379 19.4 5.006l-11.262 45.213 27.182 6.781 11.153-44.733a1038.209 1038.209 0 0 0 21.687 5.627l-11.115 44.523 27.213 6.781 11.262-45.128c46.404 8.781 81.299 5.239 95.986-36.727 11.836-33.79-.589-53.281-25.004-65.991 17.78-4.098 31.174-15.792 34.747-39.949zm-62.177 87.179c-8.41 33.79-65.308 15.523-83.755 10.943l14.944-59.899c18.446 4.603 77.6 13.717 68.811 48.956zm8.417-87.667c-7.673 30.736-55.031 15.12-70.393 11.292l13.548-54.327c15.363 3.828 64.836 10.973 56.845 43.035z"}}},bity:{search:{terms:[]},styles:["brands"],label:"Bity",svg:{brands:{viewBox:["0","0","496","512"],path:"M78.4 67.2C173.8-22 324.5-24 421.5 71c14.3 14.1-6.4 37.1-22.4 21.5-84.8-82.4-215.8-80.3-298.9-3.2-16.3 15.1-36.5-8.3-21.8-22.1zm98.9 418.6c19.3 5.7 29.3-23.6 7.9-30C73 421.9 9.4 306.1 37.7 194.8c5-19.6-24.9-28.1-30.2-7.1-32.1 127.4 41.1 259.8 169.8 298.1zm148.1-2c121.9-40.2 192.9-166.9 164.4-291-4.5-19.7-34.9-13.8-30 7.9 24.2 107.7-37.1 217.9-143.2 253.4-21.2 7-10.4 36 8.8 29.7zm-62.9-79l.2-71.8c0-8.2-6.6-14.8-14.8-14.8-8.2 0-14.8 6.7-14.8 14.8l-.2 71.8c0 8.2 6.6 14.8 14.8 14.8s14.8-6.6 14.8-14.8zm71-269c2.1 90.9 4.7 131.9-85.5 132.5-92.5-.7-86.9-44.3-85.5-132.5 0-21.8-32.5-19.6-32.5 0v71.6c0 69.3 60.7 90.9 118 90.1 57.3.8 118-20.8 118-90.1v-71.6c0-19.6-32.5-21.8-32.5 0z"}}},"black-tie":{search:{terms:[]},styles:["brands"],label:"Font Awesome Black Tie",svg:{brands:{viewBox:["0","0","448","512"],path:"M0 32v448h448V32H0zm316.5 325.2L224 445.9l-92.5-88.7 64.5-184-64.5-86.6h184.9L252 173.2l64.5 184z"}}},blackberry:{search:{terms:[]},styles:["brands"],label:"BlackBerry",svg:{brands:{viewBox:["0","0","512","512"],path:"M166 116.9c0 23.4-16.4 49.1-72.5 49.1H23.4l21-88.8h67.8c42.1 0 53.8 23.3 53.8 39.7zm126.2-39.7h-67.8L205.7 166h70.1c53.8 0 70.1-25.7 70.1-49.1.1-16.4-11.6-39.7-53.7-39.7zM88.8 208.1H21L0 296.9h70.1c56.1 0 72.5-23.4 72.5-49.1 0-16.3-11.7-39.7-53.8-39.7zm180.1 0h-67.8l-18.7 88.8h70.1c53.8 0 70.1-23.4 70.1-49.1 0-16.3-11.7-39.7-53.7-39.7zm189.3-53.8h-67.8l-18.7 88.8h70.1c53.8 0 70.1-23.4 70.1-49.1.1-16.3-11.6-39.7-53.7-39.7zm-28 137.9h-67.8L343.7 381h70.1c56.1 0 70.1-23.4 70.1-49.1 0-16.3-11.6-39.7-53.7-39.7zM240.8 346H173l-18.7 88.8h70.1c56.1 0 70.1-25.7 70.1-49.1.1-16.3-11.6-39.7-53.7-39.7z"}}},blender:{search:{terms:[]},styles:["solid"],label:"Blender",svg:{solid:{viewBox:["0","0","512","512"],path:"M416 384H160c-35.35 0-64 28.65-64 64v32c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-32c0-35.35-28.65-64-64-64zm-128 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm40-416h166.54L512 0H48C21.49 0 0 21.49 0 48v160c0 26.51 21.49 48 48 48h103.27l8.73 96h256l17.46-64H328c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h114.18l17.46-64H328c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h140.36l17.46-64H328c-4.42 0-8-3.58-8-8V72c0-4.42 3.58-8 8-8zM64 192V64h69.82l11.64 128H64z"}}},"blender-phone":{search:{terms:["appliance","fantasy","silly"]},styles:["solid"],label:"Blender Phone",svg:{solid:{viewBox:["0","0","576","512"],path:"M392 64h166.54L576 0H192v352h288l17.46-64H392c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h114.18l17.46-64H392c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h140.36l17.46-64H392c-4.42 0-8-3.58-8-8V72c0-4.42 3.58-8 8-8zM158.8 335.01l-25.78-63.26c-2.78-6.81-9.8-10.99-17.24-10.26l-45.03 4.42c-17.28-46.94-17.65-99.78 0-147.72l45.03 4.42c7.43.73 14.46-3.46 17.24-10.26l25.78-63.26c3.02-7.39.2-15.85-6.68-20.07l-39.28-24.1C98.51-3.87 80.09-.5 68.95 11.97c-92.57 103.6-92 259.55 2.1 362.49 9.87 10.8 29.12 12.48 41.65 4.8l39.41-24.18c6.89-4.22 9.7-12.67 6.69-20.07zM480 384H192c-35.35 0-64 28.65-64 64v32c0 17.67 14.33 32 32 32h352c17.67 0 32-14.33 32-32v-32c0-35.35-28.65-64-64-64zm-144 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},blind:{search:{terms:[]},styles:["solid"],label:"Blind",svg:{solid:{viewBox:["0","0","384","512"],path:"M380.15 510.837a8 8 0 0 1-10.989-2.687l-125.33-206.427a31.923 31.923 0 0 0 12.958-9.485l126.048 207.608a8 8 0 0 1-2.687 10.991zM142.803 314.338l-32.54 89.485 36.12 88.285c6.693 16.36 25.377 24.192 41.733 17.501 16.357-6.692 24.193-25.376 17.501-41.734l-62.814-153.537zM96 88c24.301 0 44-19.699 44-44S120.301 0 96 0 52 19.699 52 44s19.699 44 44 44zm154.837 169.128l-120-152c-4.733-5.995-11.75-9.108-18.837-9.112V96H80v.026c-7.146.003-14.217 3.161-18.944 9.24L0 183.766v95.694c0 13.455 11.011 24.791 24.464 24.536C37.505 303.748 48 293.1 48 280v-79.766l16-20.571v140.698L9.927 469.055c-6.04 16.609 2.528 34.969 19.138 41.009 16.602 6.039 34.968-2.524 41.009-19.138L136 309.638V202.441l-31.406-39.816a4 4 0 1 1 6.269-4.971l102.3 129.217c9.145 11.584 24.368 11.339 33.708 3.965 10.41-8.216 12.159-23.334 3.966-33.708z"}}},blogger:{search:{terms:[]},styles:["brands"],label:"Blogger",svg:{brands:{viewBox:["0","0","448","512"],path:"M162.4 196c4.8-4.9 6.2-5.1 36.4-5.1 27.2 0 28.1.1 32.1 2.1 5.8 2.9 8.3 7 8.3 13.6 0 5.9-2.4 10-7.6 13.4-2.8 1.8-4.5 1.9-31.1 2.1-16.4.1-29.5-.2-31.5-.8-10.3-2.9-14.1-17.7-6.6-25.3zm61.4 94.5c-53.9 0-55.8.2-60.2 4.1-3.5 3.1-5.7 9.4-5.1 13.9.7 4.7 4.8 10.1 9.2 12 2.2 1 14.1 1.7 56.3 1.2l47.9-.6 9.2-1.5c9-5.1 10.5-17.4 3.1-24.4-5.3-4.7-5-4.7-60.4-4.7zm223.4 130.1c-3.5 28.4-23 50.4-51.1 57.5-7.2 1.8-9.7 1.9-172.9 1.8-157.8 0-165.9-.1-172-1.8-8.4-2.2-15.6-5.5-22.3-10-5.6-3.8-13.9-11.8-17-16.4-3.8-5.6-8.2-15.3-10-22C.1 423 0 420.3 0 256.3 0 93.2 0 89.7 1.8 82.6 8.1 57.9 27.7 39 53 33.4c7.3-1.6 332.1-1.9 340-.3 21.2 4.3 37.9 17.1 47.6 36.4 7.7 15.3 7-1.5 7.3 180.6.2 115.8 0 164.5-.7 170.5zm-85.4-185.2c-1.1-5-4.2-9.6-7.7-11.5-1.1-.6-8-1.3-15.5-1.7-12.4-.6-13.8-.8-17.8-3.1-6.2-3.6-7.9-7.6-8-18.3 0-20.4-8.5-39.4-25.3-56.5-12-12.2-25.3-20.5-40.6-25.1-3.6-1.1-11.8-1.5-39.2-1.8-42.9-.5-52.5.4-67.1 6.2-27 10.7-46.3 33.4-53.4 62.4-1.3 5.4-1.6 14.2-1.9 64.3-.4 62.8 0 72.1 4 84.5 9.7 30.7 37.1 53.4 64.6 58.4 9.2 1.7 122.2 2.1 133.7.5 20.1-2.7 35.9-10.8 50.7-25.9 10.7-10.9 17.4-22.8 21.8-38.5 3.2-10.9 2.9-88.4 1.7-93.9z"}}},"blogger-b":{search:{terms:[]},styles:["brands"],label:"Blogger B",svg:{brands:{viewBox:["0","0","448","512"],path:"M446.6 222.7c-1.8-8-6.8-15.4-12.5-18.5-1.8-1-13-2.2-25-2.7-20.1-.9-22.3-1.3-28.7-5-10.1-5.9-12.8-12.3-12.9-29.5-.1-33-13.8-63.7-40.9-91.3-19.3-19.7-40.9-33-65.5-40.5-5.9-1.8-19.1-2.4-63.3-2.9-69.4-.8-84.8.6-108.4 10C45.9 59.5 14.7 96.1 3.3 142.9 1.2 151.7.7 165.8.2 246.8c-.6 101.5.1 116.4 6.4 136.5 15.6 49.6 59.9 86.3 104.4 94.3 14.8 2.7 197.3 3.3 216 .8 32.5-4.4 58-17.5 81.9-41.9 17.3-17.7 28.1-36.8 35.2-62.1 4.9-17.6 4.5-142.8 2.5-151.7zm-322.1-63.6c7.8-7.9 10-8.2 58.8-8.2 43.9 0 45.4.1 51.8 3.4 9.3 4.7 13.4 11.3 13.4 21.9 0 9.5-3.8 16.2-12.3 21.6-4.6 2.9-7.3 3.1-50.3 3.3-26.5.2-47.7-.4-50.8-1.2-16.6-4.7-22.8-28.5-10.6-40.8zm191.8 199.8l-14.9 2.4-77.5.9c-68.1.8-87.3-.4-90.9-2-7.1-3.1-13.8-11.7-14.9-19.4-1.1-7.3 2.6-17.3 8.2-22.4 7.1-6.4 10.2-6.6 97.3-6.7 89.6-.1 89.1-.1 97.6 7.8 12.1 11.3 9.5 31.2-4.9 39.4z"}}},bluetooth:{search:{terms:[]},styles:["brands"],label:"Bluetooth",svg:{brands:{viewBox:["0","0","448","512"],path:"M292.6 171.1L249.7 214l-.3-86 43.2 43.1m-43.2 219.8l43.1-43.1-42.9-42.9-.2 86zM416 259.4C416 465 344.1 512 230.9 512S32 465 32 259.4 115.4 0 228.6 0 416 53.9 416 259.4zm-158.5 0l79.4-88.6L211.8 36.5v176.9L138 139.6l-27 26.9 92.7 93-92.7 93 26.9 26.9 73.8-73.8 2.3 170 127.4-127.5-83.9-88.7z"}}},"bluetooth-b":{search:{terms:[]},styles:["brands"],label:"Bluetooth",svg:{brands:{viewBox:["0","0","320","512"],path:"M196.48 260.023l92.626-103.333L143.125 0v206.33l-86.111-86.111-31.406 31.405 108.061 108.399L25.608 368.422l31.406 31.405 86.111-86.111L145.84 512l148.552-148.644-97.912-103.333zm40.86-102.996l-49.977 49.978-.338-100.295 50.315 50.317zM187.363 313.04l49.977 49.978-50.315 50.316.338-100.294z"}}},bold:{search:{terms:[]},styles:["solid"],label:"bold",svg:{solid:{viewBox:["0","0","384","512"],path:"M304.793 243.891c33.639-18.537 53.657-54.16 53.657-95.693 0-48.236-26.25-87.626-68.626-104.179C265.138 34.01 240.849 32 209.661 32H24c-8.837 0-16 7.163-16 16v33.049c0 8.837 7.163 16 16 16h33.113v318.53H24c-8.837 0-16 7.163-16 16V464c0 8.837 7.163 16 16 16h195.69c24.203 0 44.834-1.289 66.866-7.584C337.52 457.193 376 410.647 376 350.014c0-52.168-26.573-91.684-71.207-106.123zM142.217 100.809h67.444c16.294 0 27.536 2.019 37.525 6.717 15.828 8.479 24.906 26.502 24.906 49.446 0 35.029-20.32 56.79-53.029 56.79h-76.846V100.809zm112.642 305.475c-10.14 4.056-22.677 4.907-31.409 4.907h-81.233V281.943h84.367c39.645 0 63.057 25.38 63.057 63.057.001 28.425-13.66 52.483-34.782 61.284z"}}},bolt:{search:{terms:["electricity","lightning","weather","zap"]},styles:["solid"],label:"Lightning Bolt",svg:{solid:{viewBox:["0","0","320","512"],path:"M295.973 160H180.572L215.19 30.184C219.25 14.956 207.756 0 192 0H56C43.971 0 33.8 8.905 32.211 20.828l-31.996 240C-1.704 275.217 9.504 288 24.004 288h118.701L96.646 482.466C93.05 497.649 104.659 512 119.992 512c8.35 0 16.376-4.374 20.778-11.978l175.973-303.997c9.244-15.967-2.288-36.025-20.77-36.025z"}}},bomb:{search:{terms:[]},styles:["solid"],label:"Bomb",svg:{solid:{viewBox:["0","0","512","512"],path:"M440.5 88.5l-52 52L415 167c9.4 9.4 9.4 24.6 0 33.9l-17.4 17.4c11.8 26.1 18.4 55.1 18.4 85.6 0 114.9-93.1 208-208 208S0 418.9 0 304 93.1 96 208 96c30.5 0 59.5 6.6 85.6 18.4L311 97c9.4-9.4 24.6-9.4 33.9 0l26.5 26.5 52-52 17.1 17zM500 60h-24c-6.6 0-12 5.4-12 12s5.4 12 12 12h24c6.6 0 12-5.4 12-12s-5.4-12-12-12zM440 0c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12s12-5.4 12-12V12c0-6.6-5.4-12-12-12zm33.9 55l17-17c4.7-4.7 4.7-12.3 0-17-4.7-4.7-12.3-4.7-17 0l-17 17c-4.7 4.7-4.7 12.3 0 17 4.8 4.7 12.4 4.7 17 0zm-67.8 0c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17c-4.7-4.7-12.3-4.7-17 0-4.7 4.7-4.7 12.3 0 17l17 17zm67.8 34c-4.7-4.7-12.3-4.7-17 0-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17zM112 272c0-35.3 28.7-64 64-64 8.8 0 16-7.2 16-16s-7.2-16-16-16c-52.9 0-96 43.1-96 96 0 8.8 7.2 16 16 16s16-7.2 16-16z"}}},bone:{search:{terms:[]},styles:["solid"],label:"Bone",svg:{solid:{viewBox:["0","0","640","512"],path:"M598.88 244.56c25.2-12.6 41.12-38.36 41.12-66.53v-7.64C640 129.3 606.7 96 565.61 96c-32.02 0-60.44 20.49-70.57 50.86-7.68 23.03-11.6 45.14-38.11 45.14H183.06c-27.38 0-31.58-25.54-38.11-45.14C134.83 116.49 106.4 96 74.39 96 33.3 96 0 129.3 0 170.39v7.64c0 28.17 15.92 53.93 41.12 66.53 9.43 4.71 9.43 18.17 0 22.88C15.92 280.04 0 305.8 0 333.97v7.64C0 382.7 33.3 416 74.38 416c32.02 0 60.44-20.49 70.57-50.86 7.68-23.03 11.6-45.14 38.11-45.14h273.87c27.38 0 31.58 25.54 38.11 45.14C505.17 395.51 533.6 416 565.61 416c41.08 0 74.38-33.3 74.38-74.39v-7.64c0-28.18-15.92-53.93-41.12-66.53-9.42-4.71-9.42-18.17.01-22.88z"}}},bong:{search:{terms:["aparatus","cannabis","marijuana","pipe","smoke","smoking"]},styles:["solid"],label:"Bong",svg:{solid:{viewBox:["0","0","448","512"],path:"M302.5 512c23.18 0 44.43-12.58 56-32.66C374.69 451.26 384 418.75 384 384c0-36.12-10.08-69.81-27.44-98.62L400 241.94l9.38 9.38c6.25 6.25 16.38 6.25 22.63 0l11.3-11.32c6.25-6.25 6.25-16.38 0-22.63l-52.69-52.69c-6.25-6.25-16.38-6.25-22.63 0l-11.31 11.31c-6.25 6.25-6.25 16.38 0 22.63l9.38 9.38-39.41 39.41c-11.56-11.37-24.53-21.33-38.65-29.51V63.74l15.97-.02c8.82-.01 15.97-7.16 15.98-15.98l.04-31.72C320 7.17 312.82-.01 303.97 0L80.03.26c-8.82.01-15.97 7.16-15.98 15.98l-.04 31.73c-.01 8.85 7.17 16.02 16.02 16.01L96 63.96v153.93C38.67 251.1 0 312.97 0 384c0 34.75 9.31 67.27 25.5 95.34C37.08 499.42 58.33 512 81.5 512h221zM120.06 259.43L144 245.56V63.91l96-.11v181.76l23.94 13.87c24.81 14.37 44.12 35.73 56.56 60.57h-257c12.45-24.84 31.75-46.2 56.56-60.57z"}}},book:{search:{terms:["documentation","read"]},styles:["solid"],label:"book",svg:{solid:{viewBox:["0","0","448","512"],path:"M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"}}},"book-dead":{search:{terms:["Dungeons & Dragons","crossbones","d&d","dark arts","death","dnd","documentation","evil","fantasy","halloween","holiday","read","skull","spell"]},styles:["solid"],label:"Book of the Dead",svg:{solid:{viewBox:["0","0","448","512"],path:"M272 136c8.84 0 16-7.16 16-16s-7.16-16-16-16-16 7.16-16 16 7.16 16 16 16zm176 222.4V25.6c0-16-9.6-25.6-25.6-25.6H96C41.6 0 0 41.6 0 96v320c0 54.4 41.6 96 96 96h326.4c12.8 0 25.6-9.6 25.6-25.6v-16c0-6.4-3.2-12.8-9.6-19.2-3.2-16-3.2-60.8 0-73.6 6.4-3.2 9.6-9.6 9.6-19.2zM240 56c44.18 0 80 28.65 80 64 0 20.87-12.68 39.23-32 50.91V184c0 8.84-7.16 16-16 16h-64c-8.84 0-16-7.16-16-16v-13.09c-19.32-11.68-32-30.04-32-50.91 0-35.35 35.82-64 80-64zM129.05 233.85a7.996 7.996 0 0 1-4.2-10.5l6.29-14.7a7.995 7.995 0 0 1 10.51-4.2L240 246.6l98.35-42.15c4.06-1.74 8.77.14 10.51 4.2l6.29 14.7a7.996 7.996 0 0 1-4.2 10.5L280.6 264l70.34 30.15a7.996 7.996 0 0 1 4.2 10.5l-6.29 14.7a8.008 8.008 0 0 1-10.51 4.21L240 281.4l-98.35 42.15a8.003 8.003 0 0 1-10.51-4.21l-6.29-14.7a7.996 7.996 0 0 1 4.2-10.5L199.4 264l-70.35-30.15zM380.8 448H96c-19.2 0-32-12.8-32-32s16-32 32-32h284.8v64zM208 136c8.84 0 16-7.16 16-16s-7.16-16-16-16-16 7.16-16 16 7.16 16 16 16z"}}},"book-open":{search:{terms:["flyer","notebook","open book","pamphlet","reading"]},styles:["solid"],label:"Book Open",svg:{solid:{viewBox:["0","0","576","512"],path:"M542.22 32.05c-54.8 3.11-163.72 14.43-230.96 55.59-4.64 2.84-7.27 7.89-7.27 13.17v363.87c0 11.55 12.63 18.85 23.28 13.49 69.18-34.82 169.23-44.32 218.7-46.92 16.89-.89 30.02-14.43 30.02-30.66V62.75c.01-17.71-15.35-31.74-33.77-30.7zM264.73 87.64C197.5 46.48 88.58 35.17 33.78 32.05 15.36 31.01 0 45.04 0 62.75V400.6c0 16.24 13.13 29.78 30.02 30.66 49.49 2.6 149.59 12.11 218.77 46.95 10.62 5.35 23.21-1.94 23.21-13.46V100.63c0-5.29-2.62-10.14-7.27-12.99z"}}},"book-reader":{search:{terms:["library"]},styles:["solid"],label:"Book Reader",svg:{solid:{viewBox:["0","0","512","512"],path:"M352 96c0-53.02-42.98-96-96-96s-96 42.98-96 96 42.98 96 96 96 96-42.98 96-96zM233.59 241.1c-59.33-36.32-155.43-46.3-203.79-49.05C13.55 191.13 0 203.51 0 219.14v222.8c0 14.33 11.59 26.28 26.49 27.05 43.66 2.29 131.99 10.68 193.04 41.43 9.37 4.72 20.48-1.71 20.48-11.87V252.56c-.01-4.67-2.32-8.95-6.42-11.46zm248.61-49.05c-48.35 2.74-144.46 12.73-203.78 49.05-4.1 2.51-6.41 6.96-6.41 11.63v245.79c0 10.19 11.14 16.63 20.54 11.9 61.04-30.72 149.32-39.11 192.97-41.4 14.9-.78 26.49-12.73 26.49-27.06V219.14c-.01-15.63-13.56-28.01-29.81-27.09z"}}},bookmark:{search:{terms:["save"]},styles:["solid","regular"],label:"bookmark",svg:{solid:{viewBox:["0","0","384","512"],path:"M0 512V48C0 21.49 21.49 0 48 0h288c26.51 0 48 21.49 48 48v464L192 400 0 512z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M336 0H48C21.49 0 0 21.49 0 48v464l192-112 192 112V48c0-26.51-21.49-48-48-48zm0 428.43l-144-84-144 84V54a6 6 0 0 1 6-6h276c3.314 0 6 2.683 6 5.996V428.43z"/></svg>',viewBox:["0","0","384","512"],width:384,height:512,path:"M336 0H48C21.49 0 0 21.49 0 48v464l192-112 192 112V48c0-26.51-21.49-48-48-48zm0 428.43l-144-84-144 84V54a6 6 0 0 1 6-6h276c3.314 0 6 2.683 6 5.996V428.43z"}}},"bowling-ball":{search:{terms:[]},styles:["solid"],label:"Bowling Ball",svg:{solid:{viewBox:["0","0","496","512"],path:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM120 192c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm64-96c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm48 144c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}},box:{search:{terms:["package"]},styles:["solid"],label:"Box",svg:{solid:{viewBox:["0","0","512","512"],path:"M509.5 184.6L458.9 32.8C452.4 13.2 434.1 0 413.4 0H272v192h238.7c-.4-2.5-.4-5-1.2-7.4zM240 0H98.6c-20.7 0-39 13.2-45.5 32.8L2.5 184.6c-.8 2.4-.8 4.9-1.2 7.4H240V0zM0 224v240c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V224H0z"}}},"box-open":{search:{terms:[]},styles:["solid"],label:"Box Open",svg:{solid:{viewBox:["0","0","640","512"],path:"M53.2 41L1.7 143.8c-4.6 9.2.3 20.2 10.1 23l197.9 56.5c7.1 2 14.7-1 18.5-7.3L320 64 69.8 32.1c-6.9-.8-13.5 2.7-16.6 8.9zm585.1 102.8L586.8 41c-3.1-6.2-9.8-9.8-16.7-8.9L320 64l91.7 152.1c3.8 6.3 11.4 9.3 18.5 7.3l197.9-56.5c9.9-2.9 14.7-13.9 10.2-23.1zM425.7 256c-16.9 0-32.8-9-41.4-23.4L320 126l-64.2 106.6c-8.7 14.5-24.6 23.5-41.5 23.5-4.5 0-9-.6-13.3-1.9L64 215v178c0 14.7 10 27.5 24.2 31l216.2 54.1c10.2 2.5 20.9 2.5 31 0L551.8 424c14.2-3.6 24.2-16.4 24.2-31V215l-137 39.1c-4.3 1.3-8.8 1.9-13.3 1.9z"}}},boxes:{search:{terms:[]},styles:["solid"],label:"Boxes",svg:{solid:{viewBox:["0","0","576","512"],path:"M560 288h-80v96l-32-21.3-32 21.3v-96h-80c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h224c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16zm-384-64h224c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16h-80v96l-32-21.3L256 96V0h-80c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16zm64 64h-80v96l-32-21.3L96 384v-96H16c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h224c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16z"}}},braille:{search:{terms:[]},styles:["solid"],label:"Braille",svg:{solid:{viewBox:["0","0","640","512"],path:"M128 256c0 35.346-28.654 64-64 64S0 291.346 0 256s28.654-64 64-64 64 28.654 64 64zM64 384c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0-352C28.654 32 0 60.654 0 96s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zm160 192c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0 160c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0-352c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zm224 192c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0 160c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0-352c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zm160 192c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0 160c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0-320c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z"}}},brain:{search:{terms:["cerebellum","gray matter","intellect","medulla oblongata","mind","noodle","wit"]},styles:["solid"],label:"Brain",svg:{solid:{viewBox:["0","0","576","512"],path:"M208 0c-29.87 0-54.74 20.55-61.8 48.22-.75-.02-1.45-.22-2.2-.22-35.34 0-64 28.65-64 64 0 4.84.64 9.51 1.66 14.04C52.54 138 32 166.57 32 200c0 12.58 3.16 24.32 8.34 34.91C16.34 248.72 0 274.33 0 304c0 33.34 20.42 61.88 49.42 73.89-.9 4.57-1.42 9.28-1.42 14.11 0 39.76 32.23 72 72 72 4.12 0 8.1-.55 12.03-1.21C141.61 491.31 168.25 512 200 512c39.77 0 72-32.24 72-72V205.45c-10.91 8.98-23.98 15.45-38.36 18.39-4.97 1.02-9.64-2.82-9.64-7.89v-16.18c0-3.57 2.35-6.78 5.8-7.66 24.2-6.16 42.2-27.95 42.2-54.04V64c0-35.35-28.66-64-64-64zm368 304c0-29.67-16.34-55.28-40.34-69.09 5.17-10.59 8.34-22.33 8.34-34.91 0-33.43-20.54-62-49.66-73.96 1.02-4.53 1.66-9.2 1.66-14.04 0-35.35-28.66-64-64-64-.75 0-1.45.2-2.2.22C422.74 20.55 397.87 0 368 0c-35.34 0-64 28.65-64 64v74.07c0 26.09 17.99 47.88 42.2 54.04 3.46.88 5.8 4.09 5.8 7.66v16.18c0 5.07-4.68 8.91-9.64 7.89-14.38-2.94-27.44-9.41-38.36-18.39V440c0 39.76 32.23 72 72 72 31.75 0 58.39-20.69 67.97-49.21 3.93.67 7.91 1.21 12.03 1.21 39.77 0 72-32.24 72-72 0-4.83-.52-9.54-1.42-14.11 29-12.01 49.42-40.55 49.42-73.89z"}}},briefcase:{search:{terms:["bag","business","luggage","office","work"]},styles:["solid"],label:"Briefcase",svg:{solid:{viewBox:["0","0","512","512"],path:"M320 336c0 8.84-7.16 16-16 16h-96c-8.84 0-16-7.16-16-16v-48H0v144c0 25.6 22.4 48 48 48h416c25.6 0 48-22.4 48-48V288H320v48zm144-208h-80V80c0-25.6-22.4-48-48-48H176c-25.6 0-48 22.4-48 48v48H48c-25.6 0-48 22.4-48 48v80h512v-80c0-25.6-22.4-48-48-48zm-144 0H192V96h128v32z"}}},"briefcase-medical":{search:{terms:["health briefcase"]},styles:["solid"],label:"Medical Briefcase",svg:{solid:{viewBox:["0","0","512","512"],path:"M464 128h-80V80c0-26.5-21.5-48-48-48H176c-26.5 0-48 21.5-48 48v48H48c-26.5 0-48 21.5-48 48v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V176c0-26.5-21.5-48-48-48zM192 96h128v32H192V96zm160 248c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48z"}}},"broadcast-tower":{search:{terms:["airwaves","radio","waves"]},styles:["solid"],label:"Broadcast Tower",svg:{solid:{viewBox:["0","0","640","512"],path:"M150.94 192h33.73c11.01 0 18.61-10.83 14.86-21.18-4.93-13.58-7.55-27.98-7.55-42.82s2.62-29.24 7.55-42.82C203.29 74.83 195.68 64 184.67 64h-33.73c-7.01 0-13.46 4.49-15.41 11.23C130.64 92.21 128 109.88 128 128c0 18.12 2.64 35.79 7.54 52.76 1.94 6.74 8.39 11.24 15.4 11.24zM89.92 23.34C95.56 12.72 87.97 0 75.96 0H40.63c-6.27 0-12.14 3.59-14.74 9.31C9.4 45.54 0 85.65 0 128c0 24.75 3.12 68.33 26.69 118.86 2.62 5.63 8.42 9.14 14.61 9.14h34.84c12.02 0 19.61-12.74 13.95-23.37-49.78-93.32-16.71-178.15-.17-209.29zM614.06 9.29C611.46 3.58 605.6 0 599.33 0h-35.42c-11.98 0-19.66 12.66-14.02 23.25 18.27 34.29 48.42 119.42.28 209.23-5.72 10.68 1.8 23.52 13.91 23.52h35.23c6.27 0 12.13-3.58 14.73-9.29C630.57 210.48 640 170.36 640 128s-9.42-82.48-25.94-118.71zM489.06 64h-33.73c-11.01 0-18.61 10.83-14.86 21.18 4.93 13.58 7.55 27.98 7.55 42.82s-2.62 29.24-7.55 42.82c-3.76 10.35 3.85 21.18 14.86 21.18h33.73c7.02 0 13.46-4.49 15.41-11.24 4.9-16.97 7.53-34.64 7.53-52.76 0-18.12-2.64-35.79-7.54-52.76-1.94-6.75-8.39-11.24-15.4-11.24zm-116.3 100.12c7.05-10.29 11.2-22.71 11.2-36.12 0-35.35-28.63-64-63.96-64-35.32 0-63.96 28.65-63.96 64 0 13.41 4.15 25.83 11.2 36.12l-130.5 313.41c-3.4 8.15.46 17.52 8.61 20.92l29.51 12.31c8.15 3.4 17.52-.46 20.91-8.61L244.96 384h150.07l49.2 118.15c3.4 8.16 12.76 12.01 20.91 8.61l29.51-12.31c8.15-3.4 12-12.77 8.61-20.92l-130.5-313.41zM271.62 320L320 203.81 368.38 320h-96.76z"}}},broom:{search:{terms:["clean","firebolt","fly","halloween","holiday","nimbus 2000","quidditch","sweep","witch"]},styles:["solid"],label:"Broom",svg:{solid:{viewBox:["0","0","640","512"],path:"M256.47 216.77l86.73 109.18s-16.6 102.36-76.57 150.12C206.66 523.85 0 510.19 0 510.19s3.8-23.14 11-55.43l94.62-112.17c3.97-4.7-.87-11.62-6.65-9.5l-60.4 22.09c14.44-41.66 32.72-80.04 54.6-97.47 59.97-47.76 163.3-40.94 163.3-40.94zM636.53 31.03l-19.86-25c-5.49-6.9-15.52-8.05-22.41-2.56l-232.48 177.8-34.14-42.97c-5.09-6.41-15.14-5.21-18.59 2.21l-25.33 54.55 86.73 109.18 58.8-12.45c8-1.69 11.42-11.2 6.34-17.6l-34.09-42.92 232.48-177.8c6.89-5.48 8.04-15.53 2.55-22.44z"}}},brush:{search:{terms:["bristles","color","handle","painting"]},styles:["solid"],label:"Brush",svg:{solid:{viewBox:["0","0","384","512"],path:"M352 0H32C14.33 0 0 14.33 0 32v224h384V32c0-17.67-14.33-32-32-32zM0 320c0 35.35 28.66 64 64 64h64v64c0 35.35 28.66 64 64 64s64-28.65 64-64v-64h64c35.34 0 64-28.65 64-64v-32H0v32zm192 104c13.25 0 24 10.74 24 24 0 13.25-10.75 24-24 24s-24-10.75-24-24c0-13.26 10.75-24 24-24z"}}},btc:{search:{terms:[]},styles:["brands"],label:"BTC",svg:{brands:{viewBox:["0","0","384","512"],path:"M310.204 242.638c27.73-14.18 45.377-39.39 41.28-81.3-5.358-57.351-52.458-76.573-114.85-81.929V0h-48.528v77.203c-12.605 0-25.525.315-38.444.63V0h-48.528v79.409c-17.842.539-38.622.276-97.37 0v51.678c38.314-.678 58.417-3.14 63.023 21.427v217.429c-2.925 19.492-18.524 16.685-53.255 16.071L3.765 443.68c88.481 0 97.37.315 97.37.315V512h48.528v-67.06c13.234.315 26.154.315 38.444.315V512h48.528v-68.005c81.299-4.412 135.647-24.894 142.895-101.467 5.671-61.446-23.32-88.862-69.326-99.89zM150.608 134.553c27.415 0 113.126-8.507 113.126 48.528 0 54.515-85.71 48.212-113.126 48.212v-96.74zm0 251.776V279.821c32.772 0 133.127-9.138 133.127 53.255-.001 60.186-100.355 53.253-133.127 53.253z"}}},bug:{search:{terms:["insect","report"]},styles:["solid"],label:"Bug",svg:{solid:{viewBox:["0","0","512","512"],path:"M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z"}}},building:{search:{terms:["apartment","business","company","office","work"]},styles:["solid","regular"],label:"Building",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 480h-20V24c0-13.255-10.745-24-24-24H56C42.745 0 32 10.745 32 24v456H12c-6.627 0-12 5.373-12 12v20h448v-20c0-6.627-5.373-12-12-12zM128 76c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12V76zm0 96c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40zm52 148h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12zm76 160h-64v-84c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v84zm64-172c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40zm0-96c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40zm0-96c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12V76c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"}}},bullhorn:{search:{terms:["announcement","broadcast","louder","megaphone","share"]},styles:["solid"],label:"bullhorn",svg:{solid:{viewBox:["0","0","576","512"],path:"M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"}}},bullseye:{search:{terms:["target"]},styles:["solid"],label:"Bullseye",svg:{solid:{viewBox:["0","0","496","512"],path:"M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 432c-101.69 0-184-82.29-184-184 0-101.69 82.29-184 184-184 101.69 0 184 82.29 184 184 0 101.69-82.29 184-184 184zm0-312c-70.69 0-128 57.31-128 128s57.31 128 128 128 128-57.31 128-128-57.31-128-128-128zm0 192c-35.29 0-64-28.71-64-64s28.71-64 64-64 64 28.71 64 64-28.71 64-64 64z"}}},burn:{search:{terms:["energy"]},styles:["solid"],label:"Burn",svg:{solid:{viewBox:["0","0","384","512"],path:"M192 0C79.7 101.3 0 220.9 0 300.5 0 425 79 512 192 512s192-87 192-211.5c0-79.9-80.2-199.6-192-300.5zm0 448c-56.5 0-96-39-96-94.8 0-13.5 4.6-61.5 96-161.2 91.4 99.7 96 147.7 96 161.2 0 55.8-39.5 94.8-96 94.8z"}}},buromobelexperte:{search:{terms:[]},styles:["brands"],label:"B\xfcrom\xf6bel-Experte GmbH & Co. KG.",svg:{brands:{viewBox:["0","0","448","512"],path:"M0 32v128h128V32H0zm120 120H8V40h112v112zm40-120v128h128V32H160zm120 120H168V40h112v112zm40-120v128h128V32H320zm120 120H328V40h112v112zM0 192v128h128V192H0zm120 120H8V200h112v112zm40-120v128h128V192H160zm120 120H168V200h112v112zm40-120v128h128V192H320zm120 120H328V200h112v112zM0 352v128h128V352H0zm120 120H8V360h112v112zm40-120v128h128V352H160zm120 120H168V360h112v112zm40-120v128h128V352H320z"}}},bus:{search:{terms:["machine","public transportation","transportation","vehicle"]},styles:["solid"],label:"Bus",svg:{solid:{viewBox:["0","0","512","512"],path:"M488 128h-8V80c0-44.8-99.2-80-224-80S32 35.2 32 80v48h-8c-13.25 0-24 10.74-24 24v80c0 13.25 10.75 24 24 24h8v160c0 17.67 14.33 32 32 32v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h192v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h6.4c16 0 25.6-12.8 25.6-25.6V256h8c13.25 0 24-10.75 24-24v-80c0-13.26-10.75-24-24-24zM112 400c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm16-112c-17.67 0-32-14.33-32-32V128c0-17.67 14.33-32 32-32h256c17.67 0 32 14.33 32 32v128c0 17.67-14.33 32-32 32H128zm272 112c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},"bus-alt":{search:{terms:["machine","public transportation","transportation","vehicle"]},styles:["solid"],label:"Bus Alt",svg:{solid:{viewBox:["0","0","512","512"],path:"M488 128h-8V80c0-44.8-99.2-80-224-80S32 35.2 32 80v48h-8c-13.25 0-24 10.74-24 24v80c0 13.25 10.75 24 24 24h8v160c0 17.67 14.33 32 32 32v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h192v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h6.4c16 0 25.6-12.8 25.6-25.6V256h8c13.25 0 24-10.75 24-24v-80c0-13.26-10.75-24-24-24zM160 72c0-4.42 3.58-8 8-8h176c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H168c-4.42 0-8-3.58-8-8V72zm-48 328c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm128-112H128c-17.67 0-32-14.33-32-32v-96c0-17.67 14.33-32 32-32h112v160zm32 0V128h112c17.67 0 32 14.33 32 32v96c0 17.67-14.33 32-32 32H272zm128 112c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},"business-time":{search:{terms:["briefcase","business socks","clock","flight of the conchords","wednesday"]},styles:["solid"],label:"Business Time",svg:{solid:{viewBox:["0","0","640","512"],path:"M496 224c-79.59 0-144 64.41-144 144s64.41 144 144 144 144-64.41 144-144-64.41-144-144-144zm64 150.29c0 5.34-4.37 9.71-9.71 9.71h-60.57c-5.34 0-9.71-4.37-9.71-9.71v-76.57c0-5.34 4.37-9.71 9.71-9.71h12.57c5.34 0 9.71 4.37 9.71 9.71V352h38.29c5.34 0 9.71 4.37 9.71 9.71v12.58zM496 192c5.4 0 10.72.33 16 .81V144c0-25.6-22.4-48-48-48h-80V48c0-25.6-22.4-48-48-48H176c-25.6 0-48 22.4-48 48v48H48c-25.6 0-48 22.4-48 48v80h395.12c28.6-20.09 63.35-32 100.88-32zM320 96H192V64h128v32zm6.82 224H208c-8.84 0-16-7.16-16-16v-48H0v144c0 25.6 22.4 48 48 48h291.43C327.1 423.96 320 396.82 320 368c0-16.66 2.48-32.72 6.82-48z"}}},buysellads:{search:{terms:[]},styles:["brands"],label:"BuySellAds",svg:{brands:{viewBox:["0","0","448","512"],path:"M224 150.7l42.9 160.7h-85.8L224 150.7zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-65.3 325.3l-94.5-298.7H159.8L65.3 405.3H156l111.7-91.6 24.2 91.6h90.8z"}}},calculator:{search:{terms:[]},styles:["solid"],label:"Calculator",svg:{solid:{viewBox:["0","0","448","512"],path:"M400 0H48C22.4 0 0 22.4 0 48v416c0 25.6 22.4 48 48 48h352c25.6 0 48-22.4 48-48V48c0-25.6-22.4-48-48-48zM128 435.2c0 6.4-6.4 12.8-12.8 12.8H76.8c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm0-128c0 6.4-6.4 12.8-12.8 12.8H76.8c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm128 128c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm0-128c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm128 128c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8V268.8c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v166.4zm0-256c0 6.4-6.4 12.8-12.8 12.8H76.8c-6.4 0-12.8-6.4-12.8-12.8V76.8C64 70.4 70.4 64 76.8 64h294.4c6.4 0 12.8 6.4 12.8 12.8v102.4z"}}},calendar:{search:{terms:["calendar-o","date","event","schedule","time","when"]},styles:["solid","regular"],label:"Calendar",svg:{solid:{viewBox:["0","0","448","512"],path:"M12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm436-44v-36c0-26.5-21.5-48-48-48h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v36c0 6.6 5.4 12 12 12h424c6.6 0 12-5.4 12-12z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M400 64h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V160h352v298c0 3.3-2.7 6-6 6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M400 64h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V160h352v298c0 3.3-2.7 6-6 6z"}}},"calendar-alt":{search:{terms:["calendar","date","event","schedule","time","when"]},styles:["solid","regular"],label:"Alternate Calendar",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 160H12c-6.6 0-12-5.4-12-12v-36c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48v36c0 6.6-5.4 12-12 12zM12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm116 204c0-6.6-5.4-12-12-12H76c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm0-128c0-6.6-5.4-12-12-12H76c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm128 128c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm0-128c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm128 128c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm0-128c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"calendar-check":{search:{terms:["accept","agree","appointment","confirm","correct","done","ok","select","success","todo"]},styles:["solid","regular"],label:"Calendar Check",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 160H12c-6.627 0-12-5.373-12-12v-36c0-26.51 21.49-48 48-48h48V12c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v52h128V12c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v52h48c26.51 0 48 21.49 48 48v36c0 6.627-5.373 12-12 12zM12 192h424c6.627 0 12 5.373 12 12v260c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V204c0-6.627 5.373-12 12-12zm333.296 95.947l-28.169-28.398c-4.667-4.705-12.265-4.736-16.97-.068L194.12 364.665l-45.98-46.352c-4.667-4.705-12.266-4.736-16.971-.068l-28.397 28.17c-4.705 4.667-4.736 12.265-.068 16.97l82.601 83.269c4.667 4.705 12.265 4.736 16.97.068l142.953-141.805c4.705-4.667 4.736-12.265.068-16.97z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M400 64h-48V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H160V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V160h352v298a6 6 0 0 1-6 6zm-52.849-200.65L198.842 404.519c-4.705 4.667-12.303 4.637-16.971-.068l-75.091-75.699c-4.667-4.705-4.637-12.303.068-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l44.104 44.461 111.072-110.181c4.705-4.667 12.303-4.637 16.971.068l22.536 22.718c4.667 4.705 4.636 12.303-.069 16.97z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M400 64h-48V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H160V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V160h352v298a6 6 0 0 1-6 6zm-52.849-200.65L198.842 404.519c-4.705 4.667-12.303 4.637-16.971-.068l-75.091-75.699c-4.667-4.705-4.637-12.303.068-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l44.104 44.461 111.072-110.181c4.705-4.667 12.303-4.637 16.971.068l22.536 22.718c4.667 4.705 4.636 12.303-.069 16.97z"}}},"calendar-minus":{search:{terms:["delete","negative","remove"]},styles:["solid","regular"],label:"Calendar Minus",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 160H12c-6.6 0-12-5.4-12-12v-36c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48v36c0 6.6-5.4 12-12 12zM12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm304 192c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12H132c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h184z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M124 328c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H124zm324-216v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M124 328c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H124zm324-216v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"calendar-plus":{search:{terms:["add","create","new","positive"]},styles:["solid","regular"],label:"Calendar Plus",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 160H12c-6.6 0-12-5.4-12-12v-36c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48v36c0 6.6-5.4 12-12 12zM12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm316 140c0-6.6-5.4-12-12-12h-60v-60c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v60h-60c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h60v60c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-60h60c6.6 0 12-5.4 12-12v-40z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M336 292v24c0 6.6-5.4 12-12 12h-76v76c0 6.6-5.4 12-12 12h-24c-6.6 0-12-5.4-12-12v-76h-76c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h76v-76c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v76h76c6.6 0 12 5.4 12 12zm112-180v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M336 292v24c0 6.6-5.4 12-12 12h-76v76c0 6.6-5.4 12-12 12h-24c-6.6 0-12-5.4-12-12v-76h-76c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h76v-76c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v76h76c6.6 0 12 5.4 12 12zm112-180v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"calendar-times":{search:{terms:["archive","delete","remove","x"]},styles:["solid","regular"],label:"Calendar Times",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 160H12c-6.6 0-12-5.4-12-12v-36c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48v36c0 6.6-5.4 12-12 12zM12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm257.3 160l48.1-48.1c4.7-4.7 4.7-12.3 0-17l-28.3-28.3c-4.7-4.7-12.3-4.7-17 0L224 306.7l-48.1-48.1c-4.7-4.7-12.3-4.7-17 0l-28.3 28.3c-4.7 4.7-4.7 12.3 0 17l48.1 48.1-48.1 48.1c-4.7 4.7-4.7 12.3 0 17l28.3 28.3c4.7 4.7 12.3 4.7 17 0l48.1-48.1 48.1 48.1c4.7 4.7 12.3 4.7 17 0l28.3-28.3c4.7-4.7 4.7-12.3 0-17L269.3 352z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M311.7 374.7l-17 17c-4.7 4.7-12.3 4.7-17 0L224 337.9l-53.7 53.7c-4.7 4.7-12.3 4.7-17 0l-17-17c-4.7-4.7-4.7-12.3 0-17l53.7-53.7-53.7-53.7c-4.7-4.7-4.7-12.3 0-17l17-17c4.7-4.7 12.3-4.7 17 0l53.7 53.7 53.7-53.7c4.7-4.7 12.3-4.7 17 0l17 17c4.7 4.7 4.7 12.3 0 17L257.9 304l53.7 53.7c4.8 4.7 4.8 12.3.1 17zM448 112v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M311.7 374.7l-17 17c-4.7 4.7-12.3 4.7-17 0L224 337.9l-53.7 53.7c-4.7 4.7-12.3 4.7-17 0l-17-17c-4.7-4.7-4.7-12.3 0-17l53.7-53.7-53.7-53.7c-4.7-4.7-4.7-12.3 0-17l17-17c4.7-4.7 12.3-4.7 17 0l53.7 53.7 53.7-53.7c4.7-4.7 12.3-4.7 17 0l17 17c4.7 4.7 4.7 12.3 0 17L257.9 304l53.7 53.7c4.8 4.7 4.8 12.3.1 17zM448 112v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},camera:{search:{terms:["photo","picture","record"]},styles:["solid"],label:"camera",svg:{solid:{viewBox:["0","0","512","512"],path:"M512 144v288c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48h88l12.3-32.9c7-18.7 24.9-31.1 44.9-31.1h125.5c20 0 37.9 12.4 44.9 31.1L376 96h88c26.5 0 48 21.5 48 48zM376 288c0-66.2-53.8-120-120-120s-120 53.8-120 120 53.8 120 120 120 120-53.8 120-120zm-32 0c0 48.5-39.5 88-88 88s-88-39.5-88-88 39.5-88 88-88 88 39.5 88 88z"}}},"camera-retro":{search:{terms:["photo","picture","record"]},styles:["solid"],label:"Retro Camera",svg:{solid:{viewBox:["0","0","512","512"],path:"M48 32C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H48zm0 32h106c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H38c-3.3 0-6-2.7-6-6V80c0-8.8 7.2-16 16-16zm426 96H38c-3.3 0-6-2.7-6-6v-36c0-3.3 2.7-6 6-6h138l30.2-45.3c1.1-1.7 3-2.7 5-2.7H464c8.8 0 16 7.2 16 16v74c0 3.3-2.7 6-6 6zM256 424c-66.2 0-120-53.8-120-120s53.8-120 120-120 120 53.8 120 120-53.8 120-120 120zm0-208c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm-48 104c-8.8 0-16-7.2-16-16 0-35.3 28.7-64 64-64 8.8 0 16 7.2 16 16s-7.2 16-16 16c-17.6 0-32 14.4-32 32 0 8.8-7.2 16-16 16z"}}},campground:{search:{terms:["camping","fall","outdoors","seasonal","tent"]},styles:["solid"],label:"Campground",svg:{solid:{viewBox:["0","0","640","512"],path:"M624 448h-24.68L359.54 117.75l53.41-73.55c5.19-7.15 3.61-17.16-3.54-22.35l-25.9-18.79c-7.15-5.19-17.15-3.61-22.35 3.55L320 63.3 278.83 6.6c-5.19-7.15-15.2-8.74-22.35-3.55l-25.88 18.8c-7.15 5.19-8.74 15.2-3.54 22.35l53.41 73.55L40.68 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM320 288l116.36 160H203.64L320 288z"}}},cannabis:{search:{terms:["bud","chronic","drugs","endica","endo","ganja","marijuana","mary jane","pot","reefer","sativa","spliff","weed","whacky-tabacky"]},styles:["solid"],label:"Cannabis",svg:{solid:{viewBox:["0","0","512","512"],path:"M503.47 360.25c-1.56-.82-32.39-16.89-76.78-25.81 64.25-75.12 84.05-161.67 84.93-165.64 1.18-5.33-.44-10.9-4.3-14.77-3.03-3.04-7.12-4.7-11.32-4.7-1.14 0-2.29.12-3.44.38-3.88.85-86.54 19.59-160.58 79.76.01-1.46.01-2.93.01-4.4 0-118.79-59.98-213.72-62.53-217.7A15.973 15.973 0 0 0 256 0c-5.45 0-10.53 2.78-13.47 7.37-2.55 3.98-62.53 98.91-62.53 217.7 0 1.47.01 2.94.01 4.4-74.03-60.16-156.69-78.9-160.58-79.76-1.14-.25-2.29-.38-3.44-.38-4.2 0-8.29 1.66-11.32 4.7A15.986 15.986 0 0 0 .38 168.8c.88 3.97 20.68 90.52 84.93 165.64-44.39 8.92-75.21 24.99-76.78 25.81a16.003 16.003 0 0 0-.02 28.29c2.45 1.29 60.76 31.72 133.49 31.72 6.14 0 11.96-.1 17.5-.31-11.37 22.23-16.52 38.31-16.81 39.22-1.8 5.68-.29 11.89 3.91 16.11a16.019 16.019 0 0 0 16.1 3.99c1.83-.57 37.72-11.99 77.3-39.29V504c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-64.01c39.58 27.3 75.47 38.71 77.3 39.29a16.019 16.019 0 0 0 16.1-3.99c4.2-4.22 5.71-10.43 3.91-16.11-.29-.91-5.45-16.99-16.81-39.22 5.54.21 11.37.31 17.5.31 72.72 0 131.04-30.43 133.49-31.72 5.24-2.78 8.52-8.22 8.51-14.15-.01-5.94-3.29-11.39-8.53-14.15z"}}},capsules:{search:{terms:["drugs","medicine"]},styles:["solid"],label:"Capsules",svg:{solid:{viewBox:["0","0","576","512"],path:"M555.3 300.1L424.2 112.8C401.9 81 366.4 64 330.4 64c-22.6 0-45.5 6.7-65.5 20.7-19.7 13.8-33.7 32.8-41.5 53.8C220.5 79.2 172 32 112 32 50.1 32 0 82.1 0 144v224c0 61.9 50.1 112 112 112s112-50.1 112-112V218.9c3.3 8.6 7.3 17.1 12.8 25L368 431.2c22.2 31.8 57.7 48.8 93.8 48.8 22.7 0 45.5-6.7 65.5-20.7 51.7-36.2 64.2-107.5 28-159.2zM160 256H64V144c0-26.5 21.5-48 48-48s48 21.5 48 48v112zm194.8 44.9l-65.6-93.7c-7.7-11-10.7-24.4-8.3-37.6 2.3-13.2 9.7-24.8 20.7-32.5 8.5-6 18.5-9.1 28.8-9.1 16.5 0 31.9 8 41.3 21.5l65.6 93.7-82.5 57.7z"}}},car:{search:{terms:["machine","transportation","vehicle"]},styles:["solid"],label:"Car",svg:{solid:{viewBox:["0","0","512","512"],path:"M499.99 176h-59.87l-16.64-41.6C406.38 91.63 365.57 64 319.5 64h-127c-46.06 0-86.88 27.63-103.99 70.4L71.87 176H12.01C4.2 176-1.53 183.34.37 190.91l6 24C7.7 220.25 12.5 224 18.01 224h20.07C24.65 235.73 16 252.78 16 272v48c0 16.12 6.16 30.67 16 41.93V416c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h256v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-54.07c9.84-11.25 16-25.8 16-41.93v-48c0-19.22-8.65-36.27-22.07-48H494c5.51 0 10.31-3.75 11.64-9.09l6-24c1.89-7.57-3.84-14.91-11.65-14.91zm-352.06-17.83c7.29-18.22 24.94-30.17 44.57-30.17h127c19.63 0 37.28 11.95 44.57 30.17L384 208H128l19.93-49.83zM96 319.8c-19.2 0-32-12.76-32-31.9S76.8 256 96 256s48 28.71 48 47.85-28.8 15.95-48 15.95zm320 0c-19.2 0-48 3.19-48-15.95S396.8 256 416 256s32 12.76 32 31.9-12.8 31.9-32 31.9z"}}},"car-alt":{search:{terms:[]},styles:["solid"],label:"Alternate Car",svg:{solid:{viewBox:["0","0","480","512"],path:"M438.66 212.33l-11.24-28.1-19.93-49.83C390.38 91.63 349.57 64 303.5 64h-127c-46.06 0-86.88 27.63-103.99 70.4l-19.93 49.83-11.24 28.1C17.22 221.5 0 244.66 0 272v48c0 16.12 6.16 30.67 16 41.93V416c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h256v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-54.07c9.84-11.25 16-25.8 16-41.93v-48c0-27.34-17.22-50.5-41.34-59.67zm-306.73-54.16c7.29-18.22 24.94-30.17 44.57-30.17h127c19.63 0 37.28 11.95 44.57 30.17L368 208H112l19.93-49.83zM80 319.8c-19.2 0-32-12.76-32-31.9S60.8 256 80 256s48 28.71 48 47.85-28.8 15.95-48 15.95zm320 0c-19.2 0-48 3.19-48-15.95S380.8 256 400 256s32 12.76 32 31.9-12.8 31.9-32 31.9z"}}},"car-battery":{search:{terms:[]},styles:["solid"],label:"Car Battery",svg:{solid:{viewBox:["0","0","512","512"],path:"M480 128h-32V80c0-8.84-7.16-16-16-16h-96c-8.84 0-16 7.16-16 16v48H192V80c0-8.84-7.16-16-16-16H80c-8.84 0-16 7.16-16 16v48H32c-17.67 0-32 14.33-32 32v256c0 17.67 14.33 32 32 32h448c17.67 0 32-14.33 32-32V160c0-17.67-14.33-32-32-32zM192 264c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h112c4.42 0 8 3.58 8 8v16zm256 0c0 4.42-3.58 8-8 8h-40v40c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-40h-40c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h40v-40c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v40h40c4.42 0 8 3.58 8 8v16z"}}},"car-crash":{search:{terms:[]},styles:["solid"],label:"Car Crash",svg:{solid:{viewBox:["0","0","640","512"],path:"M143.25 220.81l-12.42 46.37c-3.01 11.25-3.63 22.89-2.41 34.39l-35.2 28.98c-6.57 5.41-16.31-.43-14.62-8.77l15.44-76.68c1.06-5.26-2.66-10.28-8-10.79l-77.86-7.55c-8.47-.82-11.23-11.83-4.14-16.54l65.15-43.3c4.46-2.97 5.38-9.15 1.98-13.29L21.46 93.22c-5.41-6.57.43-16.3 8.78-14.62l76.68 15.44c5.26 1.06 10.28-2.66 10.8-8l7.55-77.86c.82-8.48 11.83-11.23 16.55-4.14l43.3 65.14c2.97 4.46 9.15 5.38 13.29 1.98l60.4-49.71c6.57-5.41 16.3.43 14.62 8.77L262.1 86.38c-2.71 3.05-5.43 6.09-7.91 9.4l-32.15 42.97-10.71 14.32c-32.73 8.76-59.18 34.53-68.08 67.74zm494.57 132.51l-12.42 46.36c-3.13 11.68-9.38 21.61-17.55 29.36a66.876 66.876 0 0 1-8.76 7l-13.99 52.23c-1.14 4.27-3.1 8.1-5.65 11.38-7.67 9.84-20.74 14.68-33.54 11.25L515 502.62c-17.07-4.57-27.2-22.12-22.63-39.19l8.28-30.91-247.28-66.26-8.28 30.91c-4.57 17.07-22.12 27.2-39.19 22.63l-30.91-8.28c-12.8-3.43-21.7-14.16-23.42-26.51-.57-4.12-.35-8.42.79-12.68l13.99-52.23a66.62 66.62 0 0 1-4.09-10.45c-3.2-10.79-3.65-22.52-.52-34.2l12.42-46.37c5.31-19.8 19.36-34.83 36.89-42.21a64.336 64.336 0 0 1 18.49-4.72l18.13-24.23 32.15-42.97c3.45-4.61 7.19-8.9 11.2-12.84 8-7.89 17.03-14.44 26.74-19.51 4.86-2.54 9.89-4.71 15.05-6.49 10.33-3.58 21.19-5.63 32.24-6.04 11.05-.41 22.31.82 33.43 3.8l122.68 32.87c11.12 2.98 21.48 7.54 30.85 13.43a111.11 111.11 0 0 1 34.69 34.5c8.82 13.88 14.64 29.84 16.68 46.99l6.36 53.29 3.59 30.05a64.49 64.49 0 0 1 22.74 29.93c4.39 11.88 5.29 25.19 1.75 38.39zM255.58 234.34c-18.55-4.97-34.21 4.04-39.17 22.53-4.96 18.49 4.11 34.12 22.65 39.09 18.55 4.97 45.54 15.51 50.49-2.98 4.96-18.49-15.43-53.67-33.97-58.64zm290.61 28.17l-6.36-53.29c-.58-4.87-1.89-9.53-3.82-13.86-5.8-12.99-17.2-23.01-31.42-26.82l-122.68-32.87a48.008 48.008 0 0 0-50.86 17.61l-32.15 42.97 172 46.08 75.29 20.18zm18.49 54.65c-18.55-4.97-53.8 15.31-58.75 33.79-4.95 18.49 23.69 22.86 42.24 27.83 18.55 4.97 34.21-4.04 39.17-22.53 4.95-18.48-4.11-34.12-22.66-39.09z"}}},"car-side":{search:{terms:[]},styles:["solid"],label:"Car Side",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 192h-16L419.22 56.02A64.025 64.025 0 0 0 369.24 32H155.33c-26.17 0-49.7 15.93-59.42 40.23L48 194.26C20.44 201.4 0 226.21 0 256v112c0 8.84 7.16 16 16 16h48c0 53.02 42.98 96 96 96s96-42.98 96-96h128c0 53.02 42.98 96 96 96s96-42.98 96-96h48c8.84 0 16-7.16 16-16v-80c0-53.02-42.98-96-96-96zM160 432c-26.47 0-48-21.53-48-48s21.53-48 48-48 48 21.53 48 48-21.53 48-48 48zm72-240H116.93l38.4-96H232v96zm48 0V96h89.24l76.8 96H280zm200 240c-26.47 0-48-21.53-48-48s21.53-48 48-48 48 21.53 48 48-21.53 48-48 48z"}}},"caret-down":{search:{terms:["arrow","dropdown","menu","more","triangle down"]},styles:["solid"],label:"Caret Down",svg:{solid:{viewBox:["0","0","320","512"],path:"M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"}}},"caret-left":{search:{terms:["arrow","back","previous","triangle left"]},styles:["solid"],label:"Caret Left",svg:{solid:{viewBox:["0","0","192","512"],path:"M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z"}}},"caret-right":{search:{terms:["arrow","forward","next","triangle right"]},styles:["solid"],label:"Caret Right",svg:{solid:{viewBox:["0","0","192","512"],path:"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"}}},"caret-square-down":{search:{terms:["caret-square-o-down","dropdown","menu","more"]},styles:["solid","regular"],label:"Caret Square Down",svg:{solid:{viewBox:["0","0","448","512"],path:"M448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zM92.5 220.5l123 123c4.7 4.7 12.3 4.7 17 0l123-123c7.6-7.6 2.2-20.5-8.5-20.5H101c-10.7 0-16.1 12.9-8.5 20.5z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M125.1 208h197.8c10.7 0 16.1 13 8.5 20.5l-98.9 98.3c-4.7 4.7-12.2 4.7-16.9 0l-98.9-98.3c-7.7-7.5-2.3-20.5 8.4-20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M125.1 208h197.8c10.7 0 16.1 13 8.5 20.5l-98.9 98.3c-4.7 4.7-12.2 4.7-16.9 0l-98.9-98.3c-7.7-7.5-2.3-20.5 8.4-20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"caret-square-left":{search:{terms:["back","caret-square-o-left","previous"]},styles:["solid","regular"],label:"Caret Square Left",svg:{solid:{viewBox:["0","0","448","512"],path:"M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zM259.515 124.485l-123.03 123.03c-4.686 4.686-4.686 12.284 0 16.971l123.029 123.029c7.56 7.56 20.485 2.206 20.485-8.485V132.971c.001-10.691-12.925-16.045-20.484-8.486z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M272 157.1v197.8c0 10.7-13 16.1-20.5 8.5l-98.3-98.9c-4.7-4.7-4.7-12.2 0-16.9l98.3-98.9c7.5-7.7 20.5-2.3 20.5 8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M272 157.1v197.8c0 10.7-13 16.1-20.5 8.5l-98.3-98.9c-4.7-4.7-4.7-12.2 0-16.9l98.3-98.9c7.5-7.7 20.5-2.3 20.5 8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"caret-square-right":{search:{terms:["caret-square-o-right","forward","next"]},styles:["solid","regular"],label:"Caret Square Right",svg:{solid:{viewBox:["0","0","448","512"],path:"M48 32h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48zm140.485 355.515l123.029-123.029c4.686-4.686 4.686-12.284 0-16.971l-123.029-123.03c-7.56-7.56-20.485-2.206-20.485 8.485v246.059c0 10.691 12.926 16.045 20.485 8.486z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M176 354.9V157.1c0-10.7 13-16.1 20.5-8.5l98.3 98.9c4.7 4.7 4.7 12.2 0 16.9l-98.3 98.9c-7.5 7.7-20.5 2.3-20.5-8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M176 354.9V157.1c0-10.7 13-16.1 20.5-8.5l98.3 98.9c4.7 4.7 4.7 12.2 0 16.9l-98.3 98.9c-7.5 7.7-20.5 2.3-20.5-8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"caret-square-up":{search:{terms:["caret-square-o-up"]},styles:["solid","regular"],label:"Caret Square Up",svg:{solid:{viewBox:["0","0","448","512"],path:"M0 432V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48zm355.515-140.485l-123.03-123.03c-4.686-4.686-12.284-4.686-16.971 0L92.485 291.515c-7.56 7.56-2.206 20.485 8.485 20.485h246.059c10.691 0 16.045-12.926 8.486-20.485z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M322.9 304H125.1c-10.7 0-16.1-13-8.5-20.5l98.9-98.3c4.7-4.7 12.2-4.7 16.9 0l98.9 98.3c7.7 7.5 2.3 20.5-8.4 20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M322.9 304H125.1c-10.7 0-16.1-13-8.5-20.5l98.9-98.3c4.7-4.7 12.2-4.7 16.9 0l98.9 98.3c7.7 7.5 2.3 20.5-8.4 20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"caret-up":{search:{terms:["arrow","triangle up"]},styles:["solid"],label:"Caret Up",svg:{solid:{viewBox:["0","0","320","512"],path:"M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z"}}},"cart-arrow-down":{search:{terms:["shopping"]},styles:["solid"],label:"Shopping Cart Arrow Down",svg:{solid:{viewBox:["0","0","576","512"],path:"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994-29.823-.429-54.35-24.631-55.155-54.447-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938-28.54-1.325-51.751-24.385-53.251-52.917-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM403.029 192H360v-60c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v60h-43.029c-10.691 0-16.045 12.926-8.485 20.485l67.029 67.029c4.686 4.686 12.284 4.686 16.971 0l67.029-67.029c7.559-7.559 2.205-20.485-8.486-20.485z"}}},"cart-plus":{search:{terms:["add","create","new","positive","shopping"]},styles:["solid"],label:"Add to Shopping Cart",svg:{solid:{viewBox:["0","0","576","512"],path:"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994-29.823-.429-54.35-24.631-55.155-54.447-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938-28.54-1.325-51.751-24.385-53.251-52.917-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM408 168h-48v-40c0-8.837-7.163-16-16-16h-16c-8.837 0-16 7.163-16 16v40h-48c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h48v40c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-40h48c8.837 0 16-7.163 16-16v-16c0-8.837-7.163-16-16-16z"}}},cat:{search:{terms:["feline","halloween","holiday","kitten","kitty","meow","pet"]},styles:["solid"],label:"Cat",svg:{solid:{viewBox:["0","0","512","512"],path:"M290.59 192c-20.18 0-106.82 1.98-162.59 85.95V192c0-52.94-43.06-96-96-96-17.67 0-32 14.33-32 32s14.33 32 32 32c17.64 0 32 14.36 32 32v256c0 35.3 28.7 64 64 64h176c8.84 0 16-7.16 16-16v-16c0-17.67-14.33-32-32-32h-32l128-96v144c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V289.86c-10.29 2.67-20.89 4.54-32 4.54-61.81 0-113.52-44.05-125.41-102.4zM448 96h-64l-64-64v134.4c0 53.02 42.98 96 96 96s96-42.98 96-96V32l-64 64zm-72 80c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm80 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16z"}}},"cc-amazon-pay":{search:{terms:[]},styles:["brands"],label:"Amazon Pay Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M124.7 201.8c.1-11.8 0-23.5 0-35.3v-35.3c0-1.3.4-2 1.4-2.7 11.5-8 24.1-12.1 38.2-11.1 12.5.9 22.7 7 28.1 21.7 3.3 8.9 4.1 18.2 4.1 27.7 0 8.7-.7 17.3-3.4 25.6-5.7 17.8-18.7 24.7-35.7 23.9-11.7-.5-21.9-5-31.4-11.7-.9-.8-1.4-1.6-1.3-2.8zm154.9 14.6c4.6 1.8 9.3 2 14.1 1.5 11.6-1.2 21.9-5.7 31.3-12.5.9-.6 1.3-1.3 1.3-2.5-.1-3.9 0-7.9 0-11.8 0-4-.1-8 0-12 0-1.4-.4-2-1.8-2.2-7-.9-13.9-2.2-20.9-2.9-7-.6-14-.3-20.8 1.9-6.7 2.2-11.7 6.2-13.7 13.1-1.6 5.4-1.6 10.8.1 16.2 1.6 5.5 5.2 9.2 10.4 11.2zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zm-207.5 23.9c.4 1.7.9 3.4 1.6 5.1 16.5 40.6 32.9 81.3 49.5 121.9 1.4 3.5 1.7 6.4.2 9.9-2.8 6.2-4.9 12.6-7.8 18.7-2.6 5.5-6.7 9.5-12.7 11.2-4.2 1.1-8.5 1.3-12.9.9-2.1-.2-4.2-.7-6.3-.8-2.8-.2-4.2 1.1-4.3 4-.1 2.8-.1 5.6 0 8.3.1 4.6 1.6 6.7 6.2 7.5 4.7.8 9.4 1.6 14.2 1.7 14.3.3 25.7-5.4 33.1-17.9 2.9-4.9 5.6-10.1 7.7-15.4 19.8-50.1 39.5-100.3 59.2-150.5.6-1.5 1.1-3 1.3-4.6.4-2.4-.7-3.6-3.1-3.7-5.6-.1-11.1 0-16.7 0-3.1 0-5.3 1.4-6.4 4.3-.4 1.1-.9 2.3-1.3 3.4l-29.1 83.7c-2.1 6.1-4.2 12.1-6.5 18.6-.4-.9-.6-1.4-.8-1.9-10.8-29.9-21.6-59.9-32.4-89.8-1.7-4.7-3.5-9.5-5.3-14.2-.9-2.5-2.7-4-5.4-4-6.4-.1-12.8-.2-19.2-.1-2.2 0-3.3 1.6-2.8 3.7zM242.4 206c1.7 11.7 7.6 20.8 18 26.6 9.9 5.5 20.7 6.2 31.7 4.6 12.7-1.9 23.9-7.3 33.8-15.5.4-.3.8-.6 1.4-1 .5 3.2.9 6.2 1.5 9.2.5 2.6 2.1 4.3 4.5 4.4 4.6.1 9.1.1 13.7 0 2.3-.1 3.8-1.6 4-3.9.1-.8.1-1.6.1-2.3v-88.8c0-3.6-.2-7.2-.7-10.8-1.6-10.8-6.2-19.7-15.9-25.4-5.6-3.3-11.8-5-18.2-5.9-3-.4-6-.7-9.1-1.1h-10c-.8.1-1.6.3-2.5.3-8.2.4-16.3 1.4-24.2 3.5-5.1 1.3-10 3.2-15 4.9-3 1-4.5 3.2-4.4 6.5.1 2.8-.1 5.6 0 8.3.1 4.1 1.8 5.2 5.7 4.1 6.5-1.7 13.1-3.5 19.7-4.8 10.3-1.9 20.7-2.7 31.1-1.2 5.4.8 10.5 2.4 14.1 7 3.1 4 4.2 8.8 4.4 13.7.3 6.9.2 13.9.3 20.8 0 .4-.1.7-.2 1.2-.4 0-.8 0-1.1-.1-8.8-2.1-17.7-3.6-26.8-4.1-9.5-.5-18.9.1-27.9 3.2-10.8 3.8-19.5 10.3-24.6 20.8-4.1 8.3-4.6 17-3.4 25.8zM98.7 106.9v175.3c0 .8 0 1.7.1 2.5.2 2.5 1.7 4.1 4.1 4.2 5.9.1 11.8.1 17.7 0 2.5 0 4-1.7 4.1-4.1.1-.8.1-1.7.1-2.5v-60.7c.9.7 1.4 1.2 1.9 1.6 15 12.5 32.2 16.6 51.1 12.9 17.1-3.4 28.9-13.9 36.7-29.2 5.8-11.6 8.3-24.1 8.7-37 .5-14.3-1-28.4-6.8-41.7-7.1-16.4-18.9-27.3-36.7-30.9-2.7-.6-5.5-.8-8.2-1.2h-7c-1.2.2-2.4.3-3.6.5-11.7 1.4-22.3 5.8-31.8 12.7-2 1.4-3.9 3-5.9 4.5-.1-.5-.3-.8-.4-1.2-.4-2.3-.7-4.6-1.1-6.9-.6-3.9-2.5-5.5-6.4-5.6h-9.7c-5.9-.1-6.9 1-6.9 6.8zM493.6 339c-2.7-.7-5.1 0-7.6 1-43.9 18.4-89.5 30.2-136.8 35.8-14.5 1.7-29.1 2.8-43.7 3.2-26.6.7-53.2-.8-79.6-4.3-17.8-2.4-35.5-5.7-53-9.9-37-8.9-72.7-21.7-106.7-38.8-8.8-4.4-17.4-9.3-26.1-14-3.8-2.1-6.2-1.5-8.2 2.1v1.7c1.2 1.6 2.2 3.4 3.7 4.8 36 32.2 76.6 56.5 122 72.9 21.9 7.9 44.4 13.7 67.3 17.5 14 2.3 28 3.8 42.2 4.5 3 .1 6 .2 9 .4.7 0 1.4.2 2.1.3h17.7c.7-.1 1.4-.3 2.1-.3 14.9-.4 29.8-1.8 44.6-4 21.4-3.2 42.4-8.1 62.9-14.7 29.6-9.6 57.7-22.4 83.4-40.1 2.8-1.9 5.7-3.8 8-6.2 4.3-4.4 2.3-10.4-3.3-11.9zm50.4-27.7c-.8-4.2-4-5.8-7.6-7-5.7-1.9-11.6-2.8-17.6-3.3-11-.9-22-.4-32.8 1.6-12 2.2-23.4 6.1-33.5 13.1-1.2.8-2.4 1.8-3.1 3-.6.9-.7 2.3-.5 3.4.3 1.3 1.7 1.6 3 1.5.6 0 1.2 0 1.8-.1l19.5-2.1c9.6-.9 19.2-1.5 28.8-.8 4.1.3 8.1 1.2 12 2.2 4.3 1.1 6.2 4.4 6.4 8.7.3 6.7-1.2 13.1-2.9 19.5-3.5 12.9-8.3 25.4-13.3 37.8-.3.8-.7 1.7-.8 2.5-.4 2.5 1 4 3.4 3.5 1.4-.3 3-1.1 4-2.1 3.7-3.6 7.5-7.2 10.6-11.2 10.7-13.8 17-29.6 20.7-46.6.7-3 1.2-6.1 1.7-9.1.2-4.7.2-9.6.2-14.5z"}}},"cc-amex":{search:{terms:["amex"]},styles:["brands"],label:"American Express Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M576 255.4c-37.9-.2-44.2-.9-54.5 5v-5c-45.3 0-53.5-1.7-64.9 5.2v-5.2h-78.2v5.1c-11.4-6.5-21.4-5.1-75.7-5.1v5.6c-6.3-3.7-14.5-5.6-24.3-5.6h-58c-3.5 3.8-12.5 13.7-15.7 17.2-12.7-14.1-10.5-11.6-15.5-17.2h-83.1v92.3h82c3.3-3.5 12.9-13.9 16.1-17.4 12.7 14.3 10.3 11.7 15.4 17.4h48.9c0-14.7.1-8.3.1-23 11.5.2 24.3-.2 34.3-6.2 0 13.9-.1 17.1-.1 29.2h39.6c0-18.5.1-7.4.1-25.3 6.2 0 7.7 0 9.4.1.1 1.3 0 0 0 25.2 152.8 0 145.9 1.1 156.7-4.5v4.5c34.8 0 54.8 2.2 67.5-6.1V432c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V228.3h26.6c4.2-10.1 2.2-5.3 6.4-15.3h19.2c4.2 10 2.2 5.2 6.4 15.3h52.9v-11.4c2.2 5 1.1 2.5 5.1 11.4h29.5c2.4-5.5 2.6-5.8 5.1-11.4v11.4h135.5v-25.1c6.4 0 8-.1 9.8.2 0 0-.2 10.9.1 24.8h66.5v-8.9c7.4 5.9 17.4 8.9 29.7 8.9h26.8c4.2-10.1 2.2-5.3 6.4-15.3h19c6.5 15 .2.5 6.6 15.3h52.8v-21.9c11.8 19.7 7.8 12.9 13.2 21.9h41.6v-92h-39.9v18.4c-12.2-20.2-6.3-10.4-11.2-18.4h-43.3v20.6c-6.2-14.6-4.6-10.8-8.8-20.6h-32.4c-.4 0-2.3.2-2.3-.3h-27.6c-12.8 0-23.1 3.2-30.7 9.3v-9.3h-39.9v5.3c-10.8-6.1-20.7-5.1-64.4-5.3-.1 0-11.6-.1-11.6 0h-103c-2.5 6.1-6.8 16.4-12.6 30-2.8-6-11-23.8-13.9-30h-46V157c-7.4-17.4-4.7-11-9-21.1H22.9c-3.4 7.9-13.7 32-23.1 53.9V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48v175.4zm-186.6-80.6c-.3.2-1.4 2.2-1.4 7.6 0 6 .9 7.7 1.1 7.9.2.1 1.1.5 3.4.5l7.3-16.9c-1.1 0-2.1-.1-3.1-.1-5.6 0-7 .7-7.3 1zm-19.9 130.9c9.2 3.3 11 9.5 11 18.4l-.1 13.8h-16.6l.1-11.5c0-11.8-3.8-13.8-14.8-13.8h-17.6l-.1 25.3h-16.6l.1-69.3h39.4c13 0 27.1 2.3 27.1 18.7-.1 7.6-4.2 15.3-11.9 18.4zm-6.3-15.4c0-6.4-5.6-7.4-10.7-7.4h-21v15.6h20.7c5.6 0 11-1.3 11-8.2zm181.7-7.1H575v-14.6h-32.9c-12.8 0-23.8 6.6-23.8 20.7 0 33 42.7 12.8 42.7 27.4 0 5.1-4.3 6.4-8.4 6.4h-32l-.1 14.8h32c8.4 0 17.6-1.8 22.5-8.9v-25.8c-10.5-13.8-39.3-1.3-39.3-13.5 0-5.8 4.6-6.5 9.2-6.5zm-99.2-.3v-14.3h-55.2l-.1 69.3h55.2l.1-14.3-38.6-.3v-13.8H445v-14.1h-37.8v-12.5h38.5zm42.2 40.1h-32.2l-.1 14.8h32.2c14.8 0 26.2-5.6 26.2-22 0-33.2-42.9-11.2-42.9-26.3 0-5.6 4.9-6.4 9.2-6.4h30.4v-14.6h-33.2c-12.8 0-23.5 6.6-23.5 20.7 0 33 42.7 12.5 42.7 27.4-.1 5.4-4.7 6.4-8.8 6.4zm-78.1-158.7c-17.4-.3-33.2-4.1-33.2 19.7 0 11.8 2.8 19.9 16.1 19.9h7.4l23.5-54.5h24.8l27.9 65.4v-65.4h25.3l29.1 48.1v-48.1h16.9v69H524l-31.2-51.9v51.9h-33.7l-6.6-15.3h-34.3l-6.4 15.3h-19.2c-22.8 0-33-11.8-33-34 0-23.3 10.5-35.3 34-35.3h16.1v15.2zm14.3 24.5h22.8l-11.2-27.6-11.6 27.6zm-72.6-39.6h-16.9v69.3h16.9v-69.3zm-38.1 37.3c9.5 3.3 11 9.2 11 18.4v13.5h-16.6c-.3-14.8 3.6-25.1-14.8-25.1h-18v25.1h-16.4v-69.3l39.1.3c13.3 0 27.4 2 27.4 18.4.1 8-4.3 15.7-11.7 18.7zm-6.7-15.3c0-6.4-5.6-7.4-10.7-7.4h-21v15.3h20.7c5.7 0 11-1.3 11-7.9zm-59.5-7.4v-14.6h-55.5v69.3h55.5v-14.3h-38.9v-13.8h37.8v-14.1h-37.8v-12.5h38.9zm-84.6 54.7v-54.2l-24 54.2H124l-24-54.2v54.2H66.2l-6.4-15.3H25.3l-6.4 15.3H1l29.7-69.3h24.5l28.1 65.7v-65.7h27.1l21.7 47 19.7-47h27.6v69.3h-16.8zM53.9 188.8l-11.5-27.6-11.2 27.6h22.7zm253 102.5c0 27.9-30.4 23.3-49.3 23.3l-.1 23.3h-32.2l-20.4-23-21.3 23h-65.4l.1-69.3h66.5l20.5 22.8 21-22.8H279c15.6 0 27.9 5.4 27.9 22.7zm-112.7 11.8l-17.9-20.2h-41.7v12.5h36.3v14.1h-36.3v13.8h40.6l19-20.2zM241 276l-25.3 27.4 25.3 28.1V276zm48.3 15.3c0-6.1-4.6-8.4-10.2-8.4h-21.5v17.6h21.2c5.9 0 10.5-2.8 10.5-9.2z"}}},"cc-apple-pay":{search:{terms:[]},styles:["brands"],label:"Apple Pay Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M302.2 218.4c0 17.2-10.5 27.1-29 27.1h-24.3v-54.2h24.4c18.4 0 28.9 9.8 28.9 27.1zm47.5 62.6c0 8.3 7.2 13.7 18.5 13.7 14.4 0 25.2-9.1 25.2-21.9v-7.7l-23.5 1.5c-13.3.9-20.2 5.8-20.2 14.4zM576 79v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM127.8 197.2c8.4.7 16.8-4.2 22.1-10.4 5.2-6.4 8.6-15 7.7-23.7-7.4.3-16.6 4.9-21.9 11.3-4.8 5.5-8.9 14.4-7.9 22.8zm60.6 74.5c-.2-.2-19.6-7.6-19.8-30-.2-18.7 15.3-27.7 16-28.2-8.8-13-22.4-14.4-27.1-14.7-12.2-.7-22.6 6.9-28.4 6.9-5.9 0-14.7-6.6-24.3-6.4-12.5.2-24.2 7.3-30.5 18.6-13.1 22.6-3.4 56 9.3 74.4 6.2 9.1 13.7 19.1 23.5 18.7 9.3-.4 13-6 24.2-6 11.3 0 14.5 6 24.3 5.9 10.2-.2 16.5-9.1 22.8-18.2 6.9-10.4 9.8-20.4 10-21zm135.4-53.4c0-26.6-18.5-44.8-44.9-44.8h-51.2v136.4h21.2v-46.6h29.3c26.8 0 45.6-18.4 45.6-45zm90 23.7c0-19.7-15.8-32.4-40-32.4-22.5 0-39.1 12.9-39.7 30.5h19.1c1.6-8.4 9.4-13.9 20-13.9 13 0 20.2 6 20.2 17.2v7.5l-26.4 1.6c-24.6 1.5-37.9 11.6-37.9 29.1 0 17.7 13.7 29.4 33.4 29.4 13.3 0 25.6-6.7 31.2-17.4h.4V310h19.6v-68zM516 210.9h-21.5l-24.9 80.6h-.4l-24.9-80.6H422l35.9 99.3-1.9 6c-3.2 10.2-8.5 14.2-17.9 14.2-1.7 0-4.9-.2-6.2-.3v16.4c1.2.4 6.5.5 8.1.5 20.7 0 30.4-7.9 38.9-31.8L516 210.9z"}}},"cc-diners-club":{search:{terms:[]},styles:["brands"],label:"Diner's Club Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M239.7 79.9c-96.9 0-175.8 78.6-175.8 175.8 0 96.9 78.9 175.8 175.8 175.8 97.2 0 175.8-78.9 175.8-175.8 0-97.2-78.6-175.8-175.8-175.8zm-39.9 279.6c-41.7-15.9-71.4-56.4-71.4-103.8s29.7-87.9 71.4-104.1v207.9zm79.8.3V151.6c41.7 16.2 71.4 56.7 71.4 104.1s-29.7 87.9-71.4 104.1zM528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM329.7 448h-90.3c-106.2 0-193.8-85.5-193.8-190.2C45.6 143.2 133.2 64 239.4 64h90.3c105 0 200.7 79.2 200.7 193.8 0 104.7-95.7 190.2-200.7 190.2z"}}},"cc-discover":{search:{terms:[]},styles:["brands"],label:"Discover Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M83 212.1c0 7.9-3.2 15.5-8.9 20.7-4.9 4.4-11.6 6.4-21.9 6.4H48V185h4.2c10.3 0 16.7 1.7 21.9 6.6 5.7 5 8.9 12.6 8.9 20.5zM504.8 184h-4.9v24.9h4.7c10.3 0 15.8-4.4 15.8-12.8 0-7.9-5.5-12.1-15.6-12.1zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM428 253h45.3v-13.8H444V217h28.3v-13.8H444V185h29.3v-14H428v82zm-86.2-82l35 84.2h8.6l35.5-84.2h-17.5l-22.2 55.2-21.9-55.2h-17.5zm-83 41.6c0 24.6 19.9 44.6 44.6 44.6 24.6 0 44.6-19.9 44.6-44.6 0-24.6-19.9-44.6-44.6-44.6-24.6 0-44.6 19.9-44.6 44.6zm-68-.5c0 32.5 33.6 52.5 63.3 38.2v-19c-19.3 19.3-46.8 5.8-46.8-19.2 0-23.7 26.7-39.1 46.8-19v-19c-30.2-15-63.3 6.8-63.3 38zm-33.9 28.3c-7.6 0-13.8-3.7-17.5-10.8l-10.3 9.9c17.8 26.1 56.6 18.2 56.6-11.3 0-13.1-5.4-19-23.6-25.6-9.6-3.4-12.3-5.9-12.3-10.3 0-8.7 14.5-14.1 24.9-2.5l8.4-10.8c-19.1-17.1-49.7-8.9-49.7 14.3 0 11.3 5.2 17.2 20.2 22.7 25.7 9.1 14.7 24.4 3.3 24.4zm-57.4-28.3c0-24.1-18-41.1-44.1-41.1H32v82h23.4c30.9 0 44.1-22.4 44.1-40.9zm23.4-41.1h-16v82h16v-82zM544 288c-33.3 20.8-226.4 124.4-416 160h401c8.2 0 15-6.8 15-15V288zm0-35l-25.9-34.5c12.1-2.5 18.7-10.6 18.7-23.2 0-28.5-30.3-24.4-52.9-24.4v82h16v-32.8h2.2l22.2 32.8H544z"}}},"cc-jcb":{search:{terms:[]},styles:["brands"],label:"JCB Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M431.5 244.3V212c41.2 0 38.5.2 38.5.2 7.3 1.3 13.3 7.3 13.3 16 0 8.8-6 14.5-13.3 15.8-1.2.4-3.3.3-38.5.3zm42.8 20.2c-2.8-.7-3.3-.5-42.8-.5v35c39.6 0 40 .2 42.8-.5 7.5-1.5 13.5-8 13.5-17 0-8.7-6-15.5-13.5-17zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM182 192.3h-57c0 67.1 10.7 109.7-35.8 109.7-19.5 0-38.8-5.7-57.2-14.8v28c30 8.3 68 8.3 68 8.3 97.9 0 82-47.7 82-131.2zm178.5 4.5c-63.4-16-165-14.9-165 59.3 0 77.1 108.2 73.6 165 59.2V287C312.9 311.7 253 309 253 256s59.8-55.6 107.5-31.2v-28zM544 286.5c0-18.5-16.5-30.5-38-32v-.8c19.5-2.7 30.3-15.5 30.3-30.2 0-19-15.7-30-37-31 0 0 6.3-.3-120.3-.3v127.5h122.7c24.3.1 42.3-12.9 42.3-33.2z"}}},"cc-mastercard":{search:{terms:[]},styles:["brands"],label:"MasterCard Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M482.9 410.3c0 6.8-4.6 11.7-11.2 11.7-6.8 0-11.2-5.2-11.2-11.7 0-6.5 4.4-11.7 11.2-11.7 6.6 0 11.2 5.2 11.2 11.7zm-310.8-11.7c-7.1 0-11.2 5.2-11.2 11.7 0 6.5 4.1 11.7 11.2 11.7 6.5 0 10.9-4.9 10.9-11.7-.1-6.5-4.4-11.7-10.9-11.7zm117.5-.3c-5.4 0-8.7 3.5-9.5 8.7h19.1c-.9-5.7-4.4-8.7-9.6-8.7zm107.8.3c-6.8 0-10.9 5.2-10.9 11.7 0 6.5 4.1 11.7 10.9 11.7 6.8 0 11.2-4.9 11.2-11.7 0-6.5-4.4-11.7-11.2-11.7zm105.9 26.1c0 .3.3.5.3 1.1 0 .3-.3.5-.3 1.1-.3.3-.3.5-.5.8-.3.3-.5.5-1.1.5-.3.3-.5.3-1.1.3-.3 0-.5 0-1.1-.3-.3 0-.5-.3-.8-.5-.3-.3-.5-.5-.5-.8-.3-.5-.3-.8-.3-1.1 0-.5 0-.8.3-1.1 0-.5.3-.8.5-1.1.3-.3.5-.3.8-.5.5-.3.8-.3 1.1-.3.5 0 .8 0 1.1.3.5.3.8.3 1.1.5s.2.6.5 1.1zm-2.2 1.4c.5 0 .5-.3.8-.3.3-.3.3-.5.3-.8 0-.3 0-.5-.3-.8-.3 0-.5-.3-1.1-.3h-1.6v3.5h.8V426h.3l1.1 1.4h.8l-1.1-1.3zM576 81v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V81c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM64 220.6c0 76.5 62.1 138.5 138.5 138.5 27.2 0 53.9-8.2 76.5-23.1-72.9-59.3-72.4-171.2 0-230.5-22.6-15-49.3-23.1-76.5-23.1-76.4-.1-138.5 62-138.5 138.2zm224 108.8c70.5-55 70.2-162.2 0-217.5-70.2 55.3-70.5 162.6 0 217.5zm-142.3 76.3c0-8.7-5.7-14.4-14.7-14.7-4.6 0-9.5 1.4-12.8 6.5-2.4-4.1-6.5-6.5-12.2-6.5-3.8 0-7.6 1.4-10.6 5.4V392h-8.2v36.7h8.2c0-18.9-2.5-30.2 9-30.2 10.2 0 8.2 10.2 8.2 30.2h7.9c0-18.3-2.5-30.2 9-30.2 10.2 0 8.2 10 8.2 30.2h8.2v-23zm44.9-13.7h-7.9v4.4c-2.7-3.3-6.5-5.4-11.7-5.4-10.3 0-18.2 8.2-18.2 19.3 0 11.2 7.9 19.3 18.2 19.3 5.2 0 9-1.9 11.7-5.4v4.6h7.9V392zm40.5 25.6c0-15-22.9-8.2-22.9-15.2 0-5.7 11.9-4.8 18.5-1.1l3.3-6.5c-9.4-6.1-30.2-6-30.2 8.2 0 14.3 22.9 8.3 22.9 15 0 6.3-13.5 5.8-20.7.8l-3.5 6.3c11.2 7.6 32.6 6 32.6-7.5zm35.4 9.3l-2.2-6.8c-3.8 2.1-12.2 4.4-12.2-4.1v-16.6h13.1V392h-13.1v-11.2h-8.2V392h-7.6v7.3h7.6V416c0 17.6 17.3 14.4 22.6 10.9zm13.3-13.4h27.5c0-16.2-7.4-22.6-17.4-22.6-10.6 0-18.2 7.9-18.2 19.3 0 20.5 22.6 23.9 33.8 14.2l-3.8-6c-7.8 6.4-19.6 5.8-21.9-4.9zm59.1-21.5c-4.6-2-11.6-1.8-15.2 4.4V392h-8.2v36.7h8.2V408c0-11.6 9.5-10.1 12.8-8.4l2.4-7.6zm10.6 18.3c0-11.4 11.6-15.1 20.7-8.4l3.8-6.5c-11.6-9.1-32.7-4.1-32.7 15 0 19.8 22.4 23.8 32.7 15l-3.8-6.5c-9.2 6.5-20.7 2.6-20.7-8.6zm66.7-18.3H408v4.4c-8.3-11-29.9-4.8-29.9 13.9 0 19.2 22.4 24.7 29.9 13.9v4.6h8.2V392zm33.7 0c-2.4-1.2-11-2.9-15.2 4.4V392h-7.9v36.7h7.9V408c0-11 9-10.3 12.8-8.4l2.4-7.6zm40.3-14.9h-7.9v19.3c-8.2-10.9-29.9-5.1-29.9 13.9 0 19.4 22.5 24.6 29.9 13.9v4.6h7.9v-51.7zm7.6-75.1v4.6h.8V302h1.9v-.8h-4.6v.8h1.9zm6.6 123.8c0-.5 0-1.1-.3-1.6-.3-.3-.5-.8-.8-1.1-.3-.3-.8-.5-1.1-.8-.5 0-1.1-.3-1.6-.3-.3 0-.8.3-1.4.3-.5.3-.8.5-1.1.8-.5.3-.8.8-.8 1.1-.3.5-.3 1.1-.3 1.6 0 .3 0 .8.3 1.4 0 .3.3.8.8 1.1.3.3.5.5 1.1.8.5.3 1.1.3 1.4.3.5 0 1.1 0 1.6-.3.3-.3.8-.5 1.1-.8.3-.3.5-.8.8-1.1.3-.6.3-1.1.3-1.4zm3.2-124.7h-1.4l-1.6 3.5-1.6-3.5h-1.4v5.4h.8v-4.1l1.6 3.5h1.1l1.4-3.5v4.1h1.1v-5.4zm4.4-80.5c0-76.2-62.1-138.3-138.5-138.3-27.2 0-53.9 8.2-76.5 23.1 72.1 59.3 73.2 171.5 0 230.5 22.6 15 49.5 23.1 76.5 23.1 76.4.1 138.5-61.9 138.5-138.4z"}}},"cc-paypal":{search:{terms:[]},styles:["brands"],label:"Paypal Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M186.3 258.2c0 12.2-9.7 21.5-22 21.5-9.2 0-16-5.2-16-15 0-12.2 9.5-22 21.7-22 9.3 0 16.3 5.7 16.3 15.5zM80.5 209.7h-4.7c-1.5 0-3 1-3.2 2.7l-4.3 26.7 8.2-.3c11 0 19.5-1.5 21.5-14.2 2.3-13.4-6.2-14.9-17.5-14.9zm284 0H360c-1.8 0-3 1-3.2 2.7l-4.2 26.7 8-.3c13 0 22-3 22-18-.1-10.6-9.6-11.1-18.1-11.1zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM128.3 215.4c0-21-16.2-28-34.7-28h-40c-2.5 0-5 2-5.2 4.7L32 294.2c-.3 2 1.2 4 3.2 4h19c2.7 0 5.2-2.9 5.5-5.7l4.5-26.6c1-7.2 13.2-4.7 18-4.7 28.6 0 46.1-17 46.1-45.8zm84.2 8.8h-19c-3.8 0-4 5.5-4.2 8.2-5.8-8.5-14.2-10-23.7-10-24.5 0-43.2 21.5-43.2 45.2 0 19.5 12.2 32.2 31.7 32.2 9 0 20.2-4.9 26.5-11.9-.5 1.5-1 4.7-1 6.2 0 2.3 1 4 3.2 4H200c2.7 0 5-2.9 5.5-5.7l10.2-64.3c.3-1.9-1.2-3.9-3.2-3.9zm40.5 97.9l63.7-92.6c.5-.5.5-1 .5-1.7 0-1.7-1.5-3.5-3.2-3.5h-19.2c-1.7 0-3.5 1-4.5 2.5l-26.5 39-11-37.5c-.8-2.2-3-4-5.5-4h-18.7c-1.7 0-3.2 1.8-3.2 3.5 0 1.2 19.5 56.8 21.2 62.1-2.7 3.8-20.5 28.6-20.5 31.6 0 1.8 1.5 3.2 3.2 3.2h19.2c1.8-.1 3.5-1.1 4.5-2.6zm159.3-106.7c0-21-16.2-28-34.7-28h-39.7c-2.7 0-5.2 2-5.5 4.7l-16.2 102c-.2 2 1.3 4 3.2 4h20.5c2 0 3.5-1.5 4-3.2l4.5-29c1-7.2 13.2-4.7 18-4.7 28.4 0 45.9-17 45.9-45.8zm84.2 8.8h-19c-3.8 0-4 5.5-4.3 8.2-5.5-8.5-14-10-23.7-10-24.5 0-43.2 21.5-43.2 45.2 0 19.5 12.2 32.2 31.7 32.2 9.3 0 20.5-4.9 26.5-11.9-.3 1.5-1 4.7-1 6.2 0 2.3 1 4 3.2 4H484c2.7 0 5-2.9 5.5-5.7l10.2-64.3c.3-1.9-1.2-3.9-3.2-3.9zm47.5-33.3c0-2-1.5-3.5-3.2-3.5h-18.5c-1.5 0-3 1.2-3.2 2.7l-16.2 104-.3.5c0 1.8 1.5 3.5 3.5 3.5h16.5c2.5 0 5-2.9 5.2-5.7L544 191.2v-.3zm-90 51.8c-12.2 0-21.7 9.7-21.7 22 0 9.7 7 15 16.2 15 12 0 21.7-9.2 21.7-21.5.1-9.8-6.9-15.5-16.2-15.5z"}}},"cc-stripe":{search:{terms:[]},styles:["brands"],label:"Stripe Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M396.9 256.5c0 19.1-8.8 33.4-21.9 33.4-8.3 0-13.3-3-16.8-6.7l-.2-52.8c3.7-4.1 8.8-7 17-7 12.9-.1 21.9 14.5 21.9 33.1zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM122.2 281.1c0-42.3-54.3-34.7-54.3-50.7 0-5.5 4.6-7.7 12.1-7.7 10.8 0 24.5 3.3 35.3 9.1v-33.4c-11.8-4.7-23.5-6.5-35.3-6.5-28.8 0-48 15-48 40.2 0 39.3 54 32.9 54 49.9 0 6.6-5.7 8.7-13.6 8.7-11.8 0-26.9-4.9-38.9-11.3v33.9c13.2 5.7 26.6 8.1 38.8 8.1 29.6-.2 49.9-14.7 49.9-40.3zm68.9-86.9h-27v-30.8l-34.7 7.4-.2 113.9c0 21 15.8 36.5 36.9 36.5 11.6 0 20.2-2.1 24.9-4.7v-28.9c-4.5 1.8-27 8.3-27-12.6v-50.5h27v-30.3zm73.8 0c-4.7-1.7-21.3-4.8-29.6 10.5l-2.2-10.5h-30.7v124.5h35.5v-84.4c8.4-11 22.6-8.9 27.1-7.4v-32.7zm44.2 0h-35.7v124.5h35.7V194.2zm0-47.3l-35.7 7.6v28.9l35.7-7.6v-28.9zm122.7 108.8c0-41.3-23.5-63.8-48.4-63.8-13.9 0-22.9 6.6-27.8 11.1l-1.8-8.8h-31.3V360l35.5-7.5.1-40.2c5.1 3.7 12.7 9 25.1 9 25.4-.1 48.6-20.5 48.6-65.6zm112.2 1.2c0-36.4-17.6-65.1-51.3-65.1-33.8 0-54.3 28.7-54.3 64.9 0 42.8 24.2 64.5 58.8 64.5 17 0 29.7-3.9 39.4-9.2v-28.6c-9.7 4.9-20.8 7.9-34.9 7.9-13.8 0-26-4.9-27.6-21.5h69.5c.1-2 .4-9.4.4-12.9zm-51.6-36.1c-8.9 0-18.7 6.7-18.7 22.7h36.7c0-16-9.3-22.7-18-22.7z"}}},"cc-visa":{search:{terms:[]},styles:["brands"],label:"Visa Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M470.1 231.3s7.6 37.2 9.3 45H446c3.3-8.9 16-43.5 16-43.5-.2.3 3.3-9.1 5.3-14.9l2.8 13.4zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM152.5 331.2L215.7 176h-42.5l-39.3 106-4.3-21.5-14-71.4c-2.3-9.9-9.4-12.7-18.2-13.1H32.7l-.7 3.1c15.8 4 29.9 9.8 42.2 17.1l35.8 135h42.5zm94.4.2L272.1 176h-40.2l-25.1 155.4h40.1zm139.9-50.8c.2-17.7-10.6-31.2-33.7-42.3-14.1-7.1-22.7-11.9-22.7-19.2.2-6.6 7.3-13.4 23.1-13.4 13.1-.3 22.7 2.8 29.9 5.9l3.6 1.7 5.5-33.6c-7.9-3.1-20.5-6.6-36-6.6-39.7 0-67.6 21.2-67.8 51.4-.3 22.3 20 34.7 35.2 42.2 15.5 7.6 20.8 12.6 20.8 19.3-.2 10.4-12.6 15.2-24.1 15.2-16 0-24.6-2.5-37.7-8.3l-5.3-2.5-5.6 34.9c9.4 4.3 26.8 8.1 44.8 8.3 42.2.1 69.7-20.8 70-53zM528 331.4L495.6 176h-31.1c-9.6 0-16.9 2.8-21 12.9l-59.7 142.5H426s6.9-19.2 8.4-23.3H486c1.2 5.5 4.8 23.3 4.8 23.3H528z"}}},centercode:{search:{terms:[]},styles:["brands"],label:"Centercode",svg:{brands:{viewBox:["0","0","512","512"],path:"M329.2 268.6c-3.8 35.2-35.4 60.6-70.6 56.8-35.2-3.8-60.6-35.4-56.8-70.6 3.8-35.2 35.4-60.6 70.6-56.8 35.1 3.8 60.6 35.4 56.8 70.6zm-85.8 235.1C96.7 496-8.2 365.5 10.1 224.3c11.2-86.6 65.8-156.9 139.1-192 161-77.1 349.7 37.4 354.7 216.6 4.1 147-118.4 262.2-260.5 254.8zm179.9-180c27.9-118-160.5-205.9-237.2-234.2-57.5 56.3-69.1 188.6-33.8 344.4 68.8 15.8 169.1-26.4 271-110.2z"}}},certificate:{search:{terms:["badge","star"]},styles:["solid"],label:"certificate",svg:{solid:{viewBox:["0","0","512","512"],path:"M458.622 255.92l45.985-45.005c13.708-12.977 7.316-36.039-10.664-40.339l-62.65-15.99 17.661-62.015c4.991-17.838-11.829-34.663-29.661-29.671l-61.994 17.667-15.984-62.671C337.085.197 313.765-6.276 300.99 7.228L256 53.57 211.011 7.229c-12.63-13.351-36.047-7.234-40.325 10.668l-15.984 62.671-61.995-17.667C74.87 57.907 58.056 74.738 63.046 92.572l17.661 62.015-62.65 15.99C.069 174.878-6.31 197.944 7.392 210.915l45.985 45.005-45.985 45.004c-13.708 12.977-7.316 36.039 10.664 40.339l62.65 15.99-17.661 62.015c-4.991 17.838 11.829 34.663 29.661 29.671l61.994-17.667 15.984 62.671c4.439 18.575 27.696 24.018 40.325 10.668L256 458.61l44.989 46.001c12.5 13.488 35.987 7.486 40.325-10.668l15.984-62.671 61.994 17.667c17.836 4.994 34.651-11.837 29.661-29.671l-17.661-62.015 62.65-15.99c17.987-4.302 24.366-27.367 10.664-40.339l-45.984-45.004z"}}},chair:{search:{terms:["furniture","seat"]},styles:["solid"],label:"Chair",svg:{solid:{viewBox:["0","0","448","512"],path:"M446.33 341.88l-10.67-32A31.996 31.996 0 0 0 405.3 288H42.69c-13.77 0-26 8.81-30.36 21.88l-10.67 32C-5.24 362.6 10.18 384 32.03 384H32v112c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V384h256v112c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V384h-.03c21.85 0 37.27-21.4 30.36-42.12zM112 128c0-29.48 16.2-54.99 40-68.87V256h48V48h48v208h48V59.13c23.8 13.88 40 39.39 40 68.87v128h48V128C384 57.31 326.69 0 256 0h-64C121.31 0 64 57.31 64 128v128h48V128z"}}},chalkboard:{search:{terms:["blackboard","learning","school","teaching","whiteboard","writing"]},styles:["solid"],label:"Chalkboard",svg:{solid:{viewBox:["0","0","640","512"],path:"M96 64h448v352h64V40c0-22.06-17.94-40-40-40H72C49.94 0 32 17.94 32 40v376h64V64zm528 384H480v-64H288v64H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"}}},"chalkboard-teacher":{search:{terms:["blackboard","instructor","learning","professor","school","whiteboard","writing"]},styles:["solid"],label:"Chalkboard Teacher",svg:{solid:{viewBox:["0","0","640","512"],path:"M208 352c-2.39 0-4.78.35-7.06 1.09C187.98 357.3 174.35 360 160 360c-14.35 0-27.98-2.7-40.95-6.91-2.28-.74-4.66-1.09-7.05-1.09C49.94 352-.33 402.48 0 464.62.14 490.88 21.73 512 48 512h224c26.27 0 47.86-21.12 48-47.38.33-62.14-49.94-112.62-112-112.62zm-48-32c53.02 0 96-42.98 96-96s-42.98-96-96-96-96 42.98-96 96 42.98 96 96 96zM592 0H208c-26.47 0-48 22.25-48 49.59V96c23.42 0 45.1 6.78 64 17.8V64h352v288h-64v-64H384v64h-76.24c19.1 16.69 33.12 38.73 39.69 64H592c26.47 0 48-22.25 48-49.59V49.59C640 22.25 618.47 0 592 0z"}}},"charging-station":{search:{terms:[]},styles:["solid"],label:"Charging Station",svg:{solid:{viewBox:["0","0","576","512"],path:"M336 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h320c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm208-320V80c0-8.84-7.16-16-16-16s-16 7.16-16 16v48h-32V80c0-8.84-7.16-16-16-16s-16 7.16-16 16v48h-16c-8.84 0-16 7.16-16 16v32c0 35.76 23.62 65.69 56 75.93v118.49c0 13.95-9.5 26.92-23.26 29.19C431.22 402.5 416 388.99 416 372v-28c0-48.6-39.4-88-88-88h-8V64c0-35.35-28.65-64-64-64H96C60.65 0 32 28.65 32 64v352h288V304h8c22.09 0 40 17.91 40 40v24.61c0 39.67 28.92 75.16 68.41 79.01C481.71 452.05 520 416.41 520 372V251.93c32.38-10.24 56-40.17 56-75.93v-32c0-8.84-7.16-16-16-16h-16zm-283.91 47.76l-93.7 139c-2.2 3.33-6.21 5.24-10.39 5.24-7.67 0-13.47-6.28-11.67-12.92L167.35 224H108c-7.25 0-12.85-5.59-11.89-11.89l16-107C112.9 99.9 117.98 96 124 96h68c7.88 0 13.62 6.54 11.6 13.21L192 160h57.7c9.24 0 15.01 8.78 10.39 15.76z"}}},"chart-area":{search:{terms:["analytics","area-chart","graph"]},styles:["solid"],label:"Area Chart",svg:{solid:{viewBox:["0","0","512","512"],path:"M500 384c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v308h436zM372.7 159.5L288 216l-85.3-113.7c-5.1-6.8-15.5-6.3-19.9 1L96 248v104h384l-89.9-187.8c-3.2-6.5-11.4-8.7-17.4-4.7z"}}},"chart-bar":{search:{terms:["analytics","bar-chart","graph"]},styles:["solid","regular"],label:"Bar Chart",svg:{solid:{viewBox:["0","0","512","512"],path:"M332.8 320h38.4c6.4 0 12.8-6.4 12.8-12.8V172.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V76.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-288 0h38.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zM496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"},regular:{last_modified:1535388320834,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z"}}},"chart-line":{search:{terms:["activity","analytics","dashboard","graph","line-chart"]},styles:["solid"],label:"Line Chart",svg:{solid:{viewBox:["0","0","512","512"],path:"M496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM464 96H345.94c-21.38 0-32.09 25.85-16.97 40.97l32.4 32.4L288 242.75l-73.37-73.37c-12.5-12.5-32.76-12.5-45.25 0l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.63l22.62 22.62c6.25 6.25 16.38 6.25 22.63 0L192 237.25l73.37 73.37c12.5 12.5 32.76 12.5 45.25 0l96-96 32.4 32.4c15.12 15.12 40.97 4.41 40.97-16.97V112c.01-8.84-7.15-16-15.99-16z"}}},"chart-pie":{search:{terms:["analytics","graph","pie-chart"]},styles:["solid"],label:"Pie Chart",svg:{solid:{viewBox:["0","0","544","512"],path:"M527.79 288H290.5l158.03 158.03c6.04 6.04 15.98 6.53 22.19.68 38.7-36.46 65.32-85.61 73.13-140.86 1.34-9.46-6.51-17.85-16.06-17.85zm-15.83-64.8C503.72 103.74 408.26 8.28 288.8.04 279.68-.59 272 7.1 272 16.24V240h223.77c9.14 0 16.82-7.68 16.19-16.8zM224 288V50.71c0-9.55-8.39-17.4-17.84-16.06C86.99 51.49-4.1 155.6.14 280.37 4.5 408.51 114.83 513.59 243.03 511.98c50.4-.63 96.97-16.87 135.26-44.03 7.9-5.6 8.42-17.23 1.57-24.08L224 288z"}}},check:{search:{terms:["accept","agree","checkmark","confirm","correct","done","notice","notification","notify","ok","select","success","tick","todo","yes"]},styles:["solid"],label:"Check",svg:{solid:{viewBox:["0","0","512","512"],path:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}}},"check-circle":{search:{terms:["accept","agree","confirm","correct","done","ok","select","success","todo","yes"]},styles:["solid","regular"],label:"Check Circle",svg:{solid:{viewBox:["0","0","512","512"],path:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"}}},"check-double":{search:{terms:["accept","agree","checkmark","confirm","correct","done","notice","notification","notify","ok","select","success","tick","todo"]},styles:["solid"],label:"Check Double",svg:{solid:{viewBox:["0","0","512","512"],path:"M504.5 171.95l-36.2-36.41c-10-10.05-26.21-10.05-36.2 0L192 377.02 79.9 264.28c-10-10.06-26.21-10.06-36.2 0L7.5 300.69c-10 10.05-10 26.36 0 36.41l166.4 167.36c10 10.06 26.21 10.06 36.2 0l294.4-296.09c10-10.06 10-26.36 0-36.42zM166.57 282.71c6.84 7.02 18.18 7.02 25.21.18L403.85 72.62c7.02-6.84 7.02-18.18.18-25.21L362.08 5.29c-6.84-7.02-18.18-7.02-25.21-.18L179.71 161.19l-68.23-68.77c-6.84-7.02-18.18-7.02-25.2-.18l-42.13 41.77c-7.02 6.84-7.02 18.18-.18 25.2l122.6 123.5z"}}},"check-square":{search:{terms:["accept","agree","checkmark","confirm","correct","done","ok","select","success","todo","yes"]},styles:["solid","regular"],label:"Check Square",svg:{solid:{viewBox:["0","0","448","512"],path:"M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z"}}},chess:{search:{terms:[]},styles:["solid"],label:"Chess",svg:{solid:{viewBox:["0","0","512","512"],path:"M199.821 217.633a6 6 0 0 1 6 6l-.001 20.766a6 6 0 0 1-6 6h-25.805c0 31.715-2.153 96.201 17.398 153.229H64.597C84.54 345.452 82.02 279.245 82.02 250.399H56.183a6 6 0 0 1-6-6l.002-20.766a6 6 0 0 1 6-6h143.636zM41.554 115.088l34.58 95.071h103.734l34.572-95.072c2.846-7.826-2.95-16.101-11.278-16.101H152v-30.22h21.57a6 6 0 0 0 6-6V40.383a6 6 0 0 0-6-6h-28.367V6a6 6 0 0 0-6-6H116.82a6 6 0 0 0-6 6v28.383H82.421a6 6 0 0 0-6 6v22.383a6 6 0 0 0 6 6H104v30.219H52.831c-8.328.001-14.124 8.276-11.277 16.103zM222.678 445.17v-28.067a6 6 0 0 0-6-6H39.322a6 6 0 0 0-6 6v28.067l-22.148 14.164a6 6 0 0 0-2.767 5.055V506a6 6 0 0 0 6 6h227.187a6 6 0 0 0 6-6v-41.612a6 6 0 0 0-2.767-5.055l-22.149-14.163zm90.578-144.225l24.88 16.963c.09 18.124-.167 63.904-11.905 114.522h147.526c-11.713-50.475-11.969-96.324-11.882-114.537l24.859-16.949a3.856 3.856 0 0 0 1.684-3.187v-69.901a3.857 3.857 0 0 0-3.857-3.857h-27.655a3.857 3.857 0 0 0-3.857 3.857v31.514h-22.737v-31.514a3.857 3.857 0 0 0-3.858-3.857h-52.918a3.857 3.857 0 0 0-3.857 3.857v31.514h-22.737v-31.514a3.857 3.857 0 0 0-3.857-3.857H315.43a3.857 3.857 0 0 0-3.857 3.857v69.901a3.855 3.855 0 0 0 1.683 3.188zm71.585 51.906c0-8.372 6.787-15.158 15.159-15.158s15.158 6.787 15.158 15.158v30.318h-30.317v-30.318zM504.62 470.059l-13.664-10.639v-15.552a3.857 3.857 0 0 0-3.857-3.857H312.915a3.857 3.857 0 0 0-3.857 3.857v15.552l-13.677 10.639a3.857 3.857 0 0 0-1.488 3.044v35.039a3.857 3.857 0 0 0 3.857 3.857h204.5a3.857 3.857 0 0 0 3.857-3.857v-35.04a3.859 3.859 0 0 0-1.487-3.043z"}}},"chess-bishop":{search:{terms:[]},styles:["solid"],label:"Chess Bishop",svg:{solid:{viewBox:["0","0","320","512"],path:"M123.158 77.881C107.369 72.53 96 57.597 96 40c0-22.091 17.909-40 40-40h47.796c22.091 0 40 17.909 40 40 0 17.541-11.295 32.434-27.005 37.829 23.993 16.657 48.577 46.839 68.703 82.05L144.929 280.443a6 6 0 0 0 0 8.485l14.142 14.142a6 6 0 0 0 8.485 0L280.9 189.726c17.758 38.297 29.371 79.443 29.371 114.273 0 53.786-22.897 75.788-58.446 86.033V448H68.174v-57.97C32.631 379.784 9.739 357.781 9.739 304c0-78.029 58.281-187.766 113.419-226.119zM320 500v-24c0-6.627-5.373-12-12-12H12c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h296c6.627 0 12-5.373 12-12z"}}},"chess-board":{search:{terms:[]},styles:["solid"],label:"Chess Board",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 256v64h-64v-64h64zm0-256h-64v64h64V0zm0 256h64v-64h-64v64zM384 0h-64v64h64V0zm0 512h64v-64h-64v64zm128-64v-64h-64v64h64zm-384 64h64v-64h-64v64zm0-512H64v64h64V0zm384 192v-64h-64v64h64zm0 128v-64h-64v64h64zM0 512h64v-64H0v64zM0 64v64h64V64H0zm0 128v64h64v-64H0zm0 128v64h64v-64H0zm256 192h64v-64h-64v64zm-64-128v64h64v-64h-64zm64-192v-64h-64v64h64zM64 384v64h64v-64H64zm64-128H64v64h64v-64zm256 128h64v-64h-64v64zM512 0h-64v64h64V0zM384 256h64v-64h-64v64zm0-192v64h64V64h-64zm-64 320v64h64v-64h-64zm-192-64v64h64v-64h-64zm128 0v64h64v-64h-64zm-64-128h-64v64h64v-64zm-64-64H64v64h64v-64zm192 192h64v-64h-64v64zM192 128V64h-64v64h64zm128 0V64h-64v64h64zm0 64h64v-64h-64v64z"}}},"chess-king":{search:{terms:[]},styles:["solid"],label:"Chess King",svg:{solid:{viewBox:["0","0","448","512"],path:"M416 476v24c0 6.627-5.373 12-12 12H44c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12zm-8.033-324H248v-48h50a6 6 0 0 0 6-6V62a6 6 0 0 0-6-6h-50V6a6 6 0 0 0-6-6h-36a6 6 0 0 0-6 6v50h-50a6 6 0 0 0-6 6v36a6 6 0 0 0 6 6h50v48H40.033c-27.574 0-46.879 27.244-37.738 53.259L87.582 448h272.836l85.287-242.741C454.846 179.244 435.541 152 407.967 152z"}}},"chess-knight":{search:{terms:[]},styles:["solid"],label:"Chess Knight",svg:{solid:{viewBox:["0","0","384","512"],path:"M352 224v224H32v-46.557c0-30.302 17.12-58.003 44.223-71.554l57.243-28.622A48 48 0 0 0 160 258.334V208l-22.127 11.063a23.996 23.996 0 0 0-12.55 15.645l-11.835 47.338a12 12 0 0 1-7.185 8.231l-29.601 11.84a11.998 11.998 0 0 1-9.33-.176L7.126 275.167A12 12 0 0 1 0 264.201v-158.26c0-6.365 2.529-12.47 7.03-16.971L16 80 1.789 51.578A16.937 16.937 0 0 1 0 44c0-6.627 5.373-12 12-12h148c106.039 0 192 85.961 192 192zm20 240H12c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h360c6.627 0 12-5.373 12-12v-24c0-6.627-5.373-12-12-12zM52 128c-11.046 0-20 8.954-20 20s8.954 20 20 20 20-8.954 20-20-8.954-20-20-20z"}}},"chess-pawn":{search:{terms:[]},styles:["solid"],label:"Chess Pawn",svg:{solid:{viewBox:["0","0","320","512"],path:"M264 448H56s60-42.743 60-176H84c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h40.209C95.721 210.56 76 181.588 76 148c0-46.392 37.608-84 84-84s84 37.608 84 84c0 33.588-19.721 62.56-48.209 76H236c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12h-32c0 133.257 60 176 60 176zm28 16H28c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h264c6.627 0 12-5.373 12-12v-24c0-6.627-5.373-12-12-12z"}}},"chess-queen":{search:{terms:[]},styles:["solid"],label:"Chess Queen",svg:{solid:{viewBox:["0","0","512","512"],path:"M436 512H76c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12zM255.579 0c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zm204.568 154.634c-5.768-3.045-12.916-.932-16.082 4.77-8.616 15.516-22.747 37.801-44.065 37.801-28.714 0-30.625-19.804-31.686-57.542-.183-6.492-5.501-11.664-11.995-11.664h-41.006c-5.175 0-9.754 3.328-11.388 8.238-8.89 26.709-26.073 40.992-47.925 40.992s-39.034-14.283-47.925-40.992c-1.634-4.91-6.213-8.238-11.388-8.238h-41.005c-6.495 0-11.813 5.174-11.995 11.667-1.052 37.642-2.934 57.539-31.688 57.539-20.691 0-33.817-20.224-44.425-38.025-3.266-5.48-10.258-7.431-15.899-4.453l-39.179 20.679a12 12 0 0 0-5.51 15.145L112 448h288l105.014-257.448a12 12 0 0 0-5.51-15.145l-39.357-20.773z"}}},"chess-rook":{search:{terms:[]},styles:["solid"],label:"Chess Rook",svg:{solid:{viewBox:["0","0","384","512"],path:"M81.241 215.027C80.957 258.92 77.411 348.076 48 448h287.982c-29.4-99.604-32.936-188.912-33.221-232.975l45.418-42.312a11.998 11.998 0 0 0 3.82-8.78V44c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v44h-48V44c0-6.627-5.373-12-12-12h-72c-6.627 0-12 5.373-12 12v44H96V44c0-6.627-5.373-12-12-12H44c-6.627 0-12 5.373-12 12v119.932c0 3.33 1.384 6.51 3.82 8.78l45.421 42.315zM160 256c0-17.673 14.327-32 32-32 17.673 0 32 14.327 32 32v64.004h-64V256zm224 220v24c0 6.627-5.373 12-12 12H12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12z"}}},"chevron-circle-down":{search:{terms:["arrow","dropdown","menu","more"]},styles:["solid"],label:"Chevron Circle Down",svg:{solid:{viewBox:["0","0","512","512"],path:"M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM273 369.9l135.5-135.5c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-24.6-9.4-33.9 0L256 285.1 154.4 183.5c-9.4-9.4-24.6-9.4-33.9 0l-17 17c-9.4 9.4-9.4 24.6 0 33.9L239 369.9c9.4 9.4 24.6 9.4 34 0z"}}},"chevron-circle-left":{search:{terms:["arrow","back","previous"]},styles:["solid"],label:"Chevron Circle Left",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zM142.1 273l135.5 135.5c9.4 9.4 24.6 9.4 33.9 0l17-17c9.4-9.4 9.4-24.6 0-33.9L226.9 256l101.6-101.6c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-24.6-9.4-33.9 0L142.1 239c-9.4 9.4-9.4 24.6 0 34z"}}},"chevron-circle-right":{search:{terms:["arrow","forward","next"]},styles:["solid"],label:"Chevron Circle Right",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm113.9 231L234.4 103.5c-9.4-9.4-24.6-9.4-33.9 0l-17 17c-9.4 9.4-9.4 24.6 0 33.9L285.1 256 183.5 357.6c-9.4 9.4-9.4 24.6 0 33.9l17 17c9.4 9.4 24.6 9.4 33.9 0L369.9 273c9.4-9.4 9.4-24.6 0-34z"}}},"chevron-circle-up":{search:{terms:["arrow"]},styles:["solid"],label:"Chevron Circle Up",svg:{solid:{viewBox:["0","0","512","512"],path:"M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm231-113.9L103.5 277.6c-9.4 9.4-9.4 24.6 0 33.9l17 17c9.4 9.4 24.6 9.4 33.9 0L256 226.9l101.6 101.6c9.4 9.4 24.6 9.4 33.9 0l17-17c9.4-9.4 9.4-24.6 0-33.9L273 142.1c-9.4-9.4-24.6-9.4-34 0z"}}},"chevron-down":{search:{terms:[]},styles:["solid"],label:"chevron-down",svg:{solid:{viewBox:["0","0","448","512"],path:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}}},"chevron-left":{search:{terms:["back","bracket","previous"]},styles:["solid"],label:"chevron-left",svg:{solid:{viewBox:["0","0","320","512"],path:"M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"}}},"chevron-right":{search:{terms:["bracket","forward","next"]},styles:["solid"],label:"chevron-right",svg:{solid:{viewBox:["0","0","320","512"],path:"M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"}}},"chevron-up":{search:{terms:[]},styles:["solid"],label:"chevron-up",svg:{solid:{viewBox:["0","0","448","512"],path:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"}}},child:{search:{terms:[]},styles:["solid"],label:"Child",svg:{solid:{viewBox:["0","0","384","512"],path:"M120 72c0-39.765 32.235-72 72-72s72 32.235 72 72c0 39.764-32.235 72-72 72s-72-32.236-72-72zm254.627 1.373c-12.496-12.497-32.758-12.497-45.254 0L242.745 160H141.254L54.627 73.373c-12.496-12.497-32.758-12.497-45.254 0-12.497 12.497-12.497 32.758 0 45.255L104 213.254V480c0 17.673 14.327 32 32 32h16c17.673 0 32-14.327 32-32V368h16v112c0 17.673 14.327 32 32 32h16c17.673 0 32-14.327 32-32V213.254l94.627-94.627c12.497-12.497 12.497-32.757 0-45.254z"}}},chrome:{search:{terms:["browser"]},styles:["brands"],label:"Chrome",svg:{brands:{viewBox:["0","0","496","512"],path:"M131.5 217.5L55.1 100.1c47.6-59.2 119-91.8 192-92.1 42.3-.3 85.5 10.5 124.8 33.2 43.4 25.2 76.4 61.4 97.4 103L264 133.4c-58.1-3.4-113.4 29.3-132.5 84.1zm32.9 38.5c0 46.2 37.4 83.6 83.6 83.6s83.6-37.4 83.6-83.6-37.4-83.6-83.6-83.6-83.6 37.3-83.6 83.6zm314.9-89.2L339.6 174c37.9 44.3 38.5 108.2 6.6 157.2L234.1 503.6c46.5 2.5 94.4-7.7 137.8-32.9 107.4-62 150.9-192 107.4-303.9zM133.7 303.6L40.4 120.1C14.9 159.1 0 205.9 0 256c0 124 90.8 226.7 209.5 244.9l63.7-124.8c-57.6 10.8-113.2-20.8-139.5-72.5z"}}},church:{search:{terms:["building","community","religion"]},styles:["solid"],label:"Church",svg:{solid:{viewBox:["0","0","640","512"],path:"M464.46 246.68L352 179.2V128h48c8.84 0 16-7.16 16-16V80c0-8.84-7.16-16-16-16h-48V16c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v48h-48c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h48v51.2l-112.46 67.48A31.997 31.997 0 0 0 160 274.12V512h96v-96c0-35.35 28.65-64 64-64s64 28.65 64 64v96h96V274.12c0-11.24-5.9-21.66-15.54-27.44zM0 395.96V496c0 8.84 7.16 16 16 16h112V320L19.39 366.54A32.024 32.024 0 0 0 0 395.96zm620.61-29.42L512 320v192h112c8.84 0 16-7.16 16-16V395.96c0-12.8-7.63-24.37-19.39-29.42z"}}},circle:{search:{terms:["circle-thin","dot","notification"]},styles:["solid","regular"],label:"Circle",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"}}},"circle-notch":{search:{terms:["circle-o-notch"]},styles:["solid"],label:"Circle Notched",svg:{solid:{viewBox:["0","0","512","512"],path:"M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"}}},city:{search:{terms:["buildings","busy","skyscrapers","urban","windows"]},styles:["solid"],label:"City",svg:{solid:{viewBox:["0","0","640","512"],path:"M616 192H480V24c0-13.26-10.74-24-24-24H312c-13.26 0-24 10.74-24 24v72h-64V16c0-8.84-7.16-16-16-16h-16c-8.84 0-16 7.16-16 16v80h-64V16c0-8.84-7.16-16-16-16H80c-8.84 0-16 7.16-16 16v80H24c-13.26 0-24 10.74-24 24v360c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V216c0-13.26-10.75-24-24-24zM128 404c0 6.63-5.37 12-12 12H76c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12H76c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12H76c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm128 192c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm160 96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12V76c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm160 288c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40z"}}},clipboard:{search:{terms:["paste"]},styles:["solid","regular"],label:"Clipboard",svg:{solid:{viewBox:["0","0","384","512"],path:"M384 112v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h80c0-35.29 28.71-64 64-64s64 28.71 64 64h80c26.51 0 48 21.49 48 48zM192 40c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24m96 114v-20a6 6 0 0 0-6-6H102a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h180a6 6 0 0 0 6-6z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M336 64h-80c0-35.29-28.71-64-64-64s-64 28.71-64 64H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h42v36c0 6.627 5.373 12 12 12h168c6.627 0 12-5.373 12-12v-36h42a6 6 0 0 1 6 6v340a6 6 0 0 1-6 6zM192 40c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24"/></svg>',viewBox:["0","0","384","512"],width:384,height:512,path:"M336 64h-80c0-35.29-28.71-64-64-64s-64 28.71-64 64H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h42v36c0 6.627 5.373 12 12 12h168c6.627 0 12-5.373 12-12v-36h42a6 6 0 0 1 6 6v340a6 6 0 0 1-6 6zM192 40c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24"}}},"clipboard-check":{search:{terms:["accept","agree","confirm","done","ok","select","success","todo","yes"]},styles:["solid"],label:"Clipboard Check",svg:{solid:{viewBox:["0","0","384","512"],path:"M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM192 40c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm121.2 231.8l-143 141.8c-4.7 4.7-12.3 4.6-17-.1l-82.6-83.3c-4.7-4.7-4.6-12.3.1-17L99.1 285c4.7-4.7 12.3-4.6 17 .1l46 46.4 106-105.2c4.7-4.7 12.3-4.6 17 .1l28.2 28.4c4.7 4.8 4.6 12.3-.1 17z"}}},"clipboard-list":{search:{terms:["checklist","completed","done","finished","intinerary","ol","schedule","todo","ul"]},styles:["solid"],label:"Clipboard List",svg:{solid:{viewBox:["0","0","384","512"],path:"M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM96 424c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm96-192c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm128 368c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z"}}},clock:{search:{terms:["date","late","schedule","timer","timestamp","watch"]},styles:["solid","regular"],label:"Clock",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm57.1 350.1L224.9 294c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h48c6.6 0 12 5.4 12 12v137.7l63.5 46.2c5.4 3.9 6.5 11.4 2.6 16.8l-28.2 38.8c-3.9 5.3-11.4 6.5-16.8 2.6z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"}}},clone:{search:{terms:["copy","duplicate"]},styles:["solid","regular"],label:"Clone",svg:{solid:{viewBox:["0","0","512","512"],path:"M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 0H144c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h320c26.51 0 48-21.49 48-48v-48h48c26.51 0 48-21.49 48-48V48c0-26.51-21.49-48-48-48zM362 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h42v224c0 26.51 21.49 48 48 48h224v42a6 6 0 0 1-6 6zm96-96H150a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h308a6 6 0 0 1 6 6v308a6 6 0 0 1-6 6z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M464 0H144c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h320c26.51 0 48-21.49 48-48v-48h48c26.51 0 48-21.49 48-48V48c0-26.51-21.49-48-48-48zM362 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h42v224c0 26.51 21.49 48 48 48h224v42a6 6 0 0 1-6 6zm96-96H150a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h308a6 6 0 0 1 6 6v308a6 6 0 0 1-6 6z"}}},"closed-captioning":{search:{terms:["cc"]},styles:["solid","regular"],label:"Closed Captioning",svg:{solid:{viewBox:["0","0","512","512"],path:"M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM218.1 287.7c2.8-2.5 7.1-2.1 9.2.9l19.5 27.7c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.8-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7l-17.5 30.5c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2.1 48 51.1 70.5 92.3 32.6zm190.4 0c2.8-2.5 7.1-2.1 9.2.9l19.5 27.7c1.7 2.4 1.5 5.6-.5 7.7-53.5 56.9-172.7 32.1-172.7-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7L420 222.2c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 336H54c-3.3 0-6-2.7-6-6V118c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v276c0 3.3-2.7 6-6 6zm-211.1-85.7c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.8-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7l-17.5 30.5c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7zm190.4 0c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.9-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7L420 220.2c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 336H54c-3.3 0-6-2.7-6-6V118c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v276c0 3.3-2.7 6-6 6zm-211.1-85.7c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.8-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7l-17.5 30.5c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7zm190.4 0c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.9-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7L420 220.2c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7z"}}},cloud:{search:{terms:["save"]},styles:["solid"],label:"Cloud",svg:{solid:{viewBox:["0","0","640","512"],path:"M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z"}}},"cloud-download-alt":{search:{terms:["cloud-download"]},styles:["solid"],label:"Alternate Cloud Download",svg:{solid:{viewBox:["0","0","640","512"],path:"M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4zm-132.9 88.7L299.3 420.7c-6.2 6.2-16.4 6.2-22.6 0L171.3 315.3c-10.1-10.1-2.9-27.3 11.3-27.3H248V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v112h65.4c14.2 0 21.4 17.2 11.3 27.3z"}}},"cloud-moon":{search:{terms:["evening","halloween","holiday","night","sky"]},styles:["solid"],label:"Cloud with Moon",svg:{solid:{viewBox:["0","0","640","512"],path:"M342.75 352.68c5.74-9.59 9.25-20.69 9.25-32.68 0-35.35-28.65-64-64-64-17.21 0-32.77 6.88-44.27 17.93C227.39 244.3 196.23 224 160 224c-53.02 0-96 42.98-96 96 0 1.95.46 3.78.57 5.7C27.08 338.77 0 374.05 0 416c0 53.02 42.98 96 96 96h240c44.18 0 80-35.82 80-80 0-41.87-32.28-75.84-73.25-79.32zm285.26-29.42c-104.23 19.22-199.95-58.16-199.95-160.03 0-58.68 32.45-112.64 85.18-141.7 8.13-4.48 6.08-16.41-3.15-18.06C497.14 1.17 484 0 470.84 0 352.25 0 256 93.04 256 208c0 7.26.4 14.44 1.15 21.51 9.87-3.38 20.18-5.51 30.85-5.51 52.94 0 96 43.06 96 96 0 3.59-.21 7.17-.63 10.73 33.49 15.39 57.47 46.55 63.24 83.86 7.96.87 16.03 1.41 24.23 1.41 66.26 0 126.79-29.19 166.88-77.02 5.93-7.07-.54-17.41-9.71-15.72z"}}},"cloud-sun":{search:{terms:["day","daytime","fall","outdoors","seasonal"]},styles:["solid"],label:"Cloud with Sun",svg:{solid:{viewBox:["0","0","640","512"],path:"M342.75 352.68c5.74-9.59 9.25-20.69 9.25-32.68 0-35.35-28.65-64-64-64-17.21 0-32.77 6.88-44.27 17.93C227.39 244.31 196.23 224 160 224c-53.02 0-96 42.98-96 96 0 1.95.46 3.78.57 5.7C27.08 338.77 0 374.05 0 416c0 53.02 42.98 96 96 96h240c44.18 0 80-35.82 80-80 0-41.87-32.28-75.84-73.25-79.32zm243.19-99.8c-7.85-6.79-7.85-18.97 0-25.76L633.41 186c12.76-11.05 5.84-32.02-11-33.3l-61.59-4.67c-10.19-.78-17.28-10.49-14.9-20.43l14.95-62.48c3.89-16.26-13.96-29.02-28.08-20.07l-52.51 33.26c-8.61 5.46-20.06 1.75-23.85-7.72l-23.47-58.74c-6.32-15.81-28.19-15.81-34.51 0l-23.38 58.49c-3.83 9.59-15.44 13.35-24.17 7.82l-52.29-33.12c-14.13-8.95-31.98 3.81-28.08 20.07l14.95 62.48c2.38 9.94-4.7 19.65-14.9 20.43l-61.15 4.64c-17 1.29-23.99 22.46-11.1 33.62l31.23 27.05c7.82 5.17 15.21 11.01 21.78 17.84 11.42-4.71 23.73-7.18 36.37-7.18 5.97 0 11.77.71 17.44 1.76 7.09-54.98 53.68-97.76 110.56-97.76 61.76 0 112 50.24 112 112s-50.24 112-112 112c-.95 0-1.83-.26-2.77-.28 13.83 13.2 24.61 29.47 30.16 48.28h27.02c6.25 0 12.37 1.83 17.6 5.27l45.08 29.68c14.19 8.99 31.89-4.17 27.92-20.76l-14.69-61.38c-2.43-10.16 4.8-20.08 15.22-20.87l61.16-4.64c16.84-1.28 23.76-22.25 11-33.3l-47.47-41.11zm-202.66 59.94C393.3 317.34 404.32 320 416 320c44.11 0 80-35.89 80-80s-35.89-80-80-80c-43.25 0-78.39 34.56-79.75 77.49 26.44 15.53 44.59 43.13 47.03 75.33z"}}},"cloud-upload-alt":{search:{terms:["cloud-upload"]},styles:["solid"],label:"Alternate Cloud Upload",svg:{solid:{viewBox:["0","0","640","512"],path:"M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4zM393.4 288H328v112c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V288h-65.4c-14.3 0-21.4-17.2-11.3-27.3l105.4-105.4c6.2-6.2 16.4-6.2 22.6 0l105.4 105.4c10.1 10.1 2.9 27.3-11.3 27.3z"}}},cloudscale:{search:{terms:[]},styles:["brands"],label:"cloudscale.ch",svg:{brands:{viewBox:["0","0","448","512"],path:"M318.1 154l-9.4 7.6c-22.5-19.3-51.5-33.6-83.3-33.6C153.8 128 96 188.8 96 260.3c0 6.6.4 13.1 1.4 19.4-2-56 41.8-97.4 92.6-97.4 24.2 0 46.2 9.4 62.6 24.7l-25.2 20.4c-8.3-.9-16.8 1.8-23.1 8.1-11.1 11-11.1 28.9 0 40 11.1 11 28.9 11 40 0 6.3-6.3 9-14.9 8.1-23.1l75.2-88.8c6.3-6.5-3.3-15.9-9.5-9.6zm-83.8 111.5c-5.6 5.5-14.6 5.5-20.2 0-5.6-5.6-5.6-14.6 0-20.2s14.6-5.6 20.2 0 5.6 14.7 0 20.2zM224 32C100.5 32 0 132.5 0 256s100.5 224 224 224 224-100.5 224-224S347.5 32 224 32zm0 384c-88.2 0-160-71.8-160-160S135.8 96 224 96s160 71.8 160 160-71.8 160-160 160z"}}},cloudsmith:{search:{terms:[]},styles:["brands"],label:"Cloudsmith",svg:{brands:{viewBox:["0","0","332","512"],path:"M332.5 419.9c0 46.4-37.6 84.1-84 84.1s-84-37.7-84-84.1 37.6-84 84-84 84 37.6 84 84zm-84-243.9c46.4 0 80-37.6 80-84s-33.6-84-80-84-88 37.6-88 84-29.6 76-76 76-84 41.6-84 88 37.6 80 84 80 84-33.6 84-80 33.6-80 80-80z"}}},cloudversify:{search:{terms:[]},styles:["brands"],label:"cloudversify",svg:{brands:{viewBox:["0","0","616","512"],path:"M148.6 304c8.2 68.5 67.4 115.5 146 111.3 51.2 43.3 136.8 45.8 186.4-5.6 69.2 1.1 118.5-44.6 131.5-99.5 14.8-62.5-18.2-132.5-92.1-155.1-33-88.1-131.4-101.5-186.5-85-57.3 17.3-84.3 53.2-99.3 109.7-7.8 2.7-26.5 8.9-45 24.1 11.7 0 15.2 8.9 15.2 19.5v20.4c0 10.7-8.7 19.5-19.5 19.5h-20.2c-10.7 0-19.5-6-19.5-16.7V240H98.8C95 240 88 244.3 88 251.9v40.4c0 6.4 5.3 11.8 11.7 11.8h48.9zm227.4 8c-10.7 46.3 21.7 72.4 55.3 86.8C324.1 432.6 259.7 348 296 288c-33.2 21.6-33.7 71.2-29.2 92.9-17.9-12.4-53.8-32.4-57.4-79.8-3-39.9 21.5-75.7 57-93.9C297 191.4 369.9 198.7 400 248c-14.1-48-53.8-70.1-101.8-74.8 30.9-30.7 64.4-50.3 114.2-43.7 69.8 9.3 133.2 82.8 67.7 150.5 35-16.3 48.7-54.4 47.5-76.9l10.5 19.6c11.8 22 15.2 47.6 9.4 72-9.2 39-40.6 68.8-79.7 76.5-32.1 6.3-83.1-5.1-91.8-59.2zM128 208H88.2c-8.9 0-16.2-7.3-16.2-16.2v-39.6c0-8.9 7.3-16.2 16.2-16.2H128c8.9 0 16.2 7.3 16.2 16.2v39.6c0 8.9-7.3 16.2-16.2 16.2zM10.1 168C4.5 168 0 163.5 0 157.9v-27.8c0-5.6 4.5-10.1 10.1-10.1h27.7c5.5 0 10.1 4.5 10.1 10.1v27.8c0 5.6-4.5 10.1-10.1 10.1H10.1zM168 142.7v-21.4c0-5.1 4.2-9.3 9.3-9.3h21.4c5.1 0 9.3 4.2 9.3 9.3v21.4c0 5.1-4.2 9.3-9.3 9.3h-21.4c-5.1 0-9.3-4.2-9.3-9.3zM56 235.5v25c0 6.3-5.1 11.5-11.4 11.5H19.4C13.1 272 8 266.8 8 260.5v-25c0-6.3 5.1-11.5 11.4-11.5h25.1c6.4 0 11.5 5.2 11.5 11.5z"}}},cocktail:{search:{terms:["alcohol","beverage","drink"]},styles:["solid"],label:"Cocktail",svg:{solid:{viewBox:["0","0","576","512"],path:"M296 464h-56V338.78l168.74-168.73c15.52-15.52 4.53-42.05-17.42-42.05H24.68c-21.95 0-32.94 26.53-17.42 42.05L176 338.78V464h-56c-22.09 0-40 17.91-40 40 0 4.42 3.58 8 8 8h240c4.42 0 8-3.58 8-8 0-22.09-17.91-40-40-40zM432 0c-62.61 0-115.35 40.2-135.18 96h52.54c16.65-28.55 47.27-48 82.64-48 52.93 0 96 43.06 96 96s-43.07 96-96 96c-14.04 0-27.29-3.2-39.32-8.64l-35.26 35.26C379.23 279.92 404.59 288 432 288c79.53 0 144-64.47 144-144S511.53 0 432 0z"}}},code:{search:{terms:["brackets","html"]},styles:["solid"],label:"Code",svg:{solid:{viewBox:["0","0","640","512"],path:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"}}},"code-branch":{search:{terms:["branch","code-fork","fork","git","github","rebase","svn","vcs","version"]},styles:["solid"],label:"Code Branch",svg:{solid:{viewBox:["0","0","384","512"],path:"M384 144c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 36.4 24.3 67.1 57.5 76.8-.6 16.1-4.2 28.5-11 36.9-15.4 19.2-49.3 22.4-85.2 25.7-28.2 2.6-57.4 5.4-81.3 16.9v-144c32.5-10.2 56-40.5 56-76.3 0-44.2-35.8-80-80-80S0 35.8 0 80c0 35.8 23.5 66.1 56 76.3v199.3C23.5 365.9 0 396.2 0 432c0 44.2 35.8 80 80 80s80-35.8 80-80c0-34-21.2-63.1-51.2-74.6 3.1-5.2 7.8-9.8 14.9-13.4 16.2-8.2 40.4-10.4 66.1-12.8 42.2-3.9 90-8.4 118.2-43.4 14-17.4 21.1-39.8 21.6-67.9 31.6-10.8 54.4-40.7 54.4-75.9zM80 64c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm0 384c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm224-320c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16z"}}},codepen:{search:{terms:[]},styles:["brands"],label:"Codepen",svg:{brands:{viewBox:["0","0","512","512"],path:"M502.285 159.704l-234-156c-7.987-4.915-16.511-4.96-24.571 0l-234 156C3.714 163.703 0 170.847 0 177.989v155.999c0 7.143 3.714 14.286 9.715 18.286l234 156.022c7.987 4.915 16.511 4.96 24.571 0l234-156.022c6-3.999 9.715-11.143 9.715-18.286V177.989c-.001-7.142-3.715-14.286-9.716-18.285zM278 63.131l172.286 114.858-76.857 51.429L278 165.703V63.131zm-44 0v102.572l-95.429 63.715-76.857-51.429L234 63.131zM44 219.132l55.143 36.857L44 292.846v-73.714zm190 229.715L61.714 333.989l76.857-51.429L234 346.275v102.572zm22-140.858l-77.715-52 77.715-52 77.715 52-77.715 52zm22 140.858V346.275l95.429-63.715 76.857 51.429L278 448.847zm190-156.001l-55.143-36.857L468 219.132v73.714z"}}},codiepie:{search:{terms:[]},styles:["brands"],label:"Codie Pie",svg:{brands:{viewBox:["0","0","472","512"],path:"M422.5 202.9c30.7 0 33.5 53.1-.3 53.1h-10.8v44.3h-26.6v-97.4h37.7zM472 352.6C429.9 444.5 350.4 504 248 504 111 504 0 393 0 256S111 8 248 8c97.4 0 172.8 53.7 218.2 138.4l-186 108.8L472 352.6zm-38.5 12.5l-60.3-30.7c-27.1 44.3-70.4 71.4-122.4 71.4-82.5 0-149.2-66.7-149.2-148.9 0-82.5 66.7-149.2 149.2-149.2 48.4 0 88.9 23.5 116.9 63.4l59.5-34.6c-40.7-62.6-104.7-100-179.2-100-121.2 0-219.5 98.3-219.5 219.5S126.8 475.5 248 475.5c78.6 0 146.5-42.1 185.5-110.4z"}}},coffee:{search:{terms:["beverage","breakfast","cafe","drink","fall","morning","mug","seasonal","tea"]},styles:["solid"],label:"Coffee",svg:{solid:{viewBox:["0","0","640","512"],path:"M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"}}},cog:{search:{terms:["settings"]},styles:["solid"],label:"cog",svg:{solid:{viewBox:["0","0","512","512"],path:"M444.788 291.1l42.616 24.599c4.867 2.809 7.126 8.618 5.459 13.985-11.07 35.642-29.97 67.842-54.689 94.586a12.016 12.016 0 0 1-14.832 2.254l-42.584-24.595a191.577 191.577 0 0 1-60.759 35.13v49.182a12.01 12.01 0 0 1-9.377 11.718c-34.956 7.85-72.499 8.256-109.219.007-5.49-1.233-9.403-6.096-9.403-11.723v-49.184a191.555 191.555 0 0 1-60.759-35.13l-42.584 24.595a12.016 12.016 0 0 1-14.832-2.254c-24.718-26.744-43.619-58.944-54.689-94.586-1.667-5.366.592-11.175 5.459-13.985L67.212 291.1a193.48 193.48 0 0 1 0-70.199l-42.616-24.599c-4.867-2.809-7.126-8.618-5.459-13.985 11.07-35.642 29.97-67.842 54.689-94.586a12.016 12.016 0 0 1 14.832-2.254l42.584 24.595a191.577 191.577 0 0 1 60.759-35.13V25.759a12.01 12.01 0 0 1 9.377-11.718c34.956-7.85 72.499-8.256 109.219-.007 5.49 1.233 9.403 6.096 9.403 11.723v49.184a191.555 191.555 0 0 1 60.759 35.13l42.584-24.595a12.016 12.016 0 0 1 14.832 2.254c24.718 26.744 43.619 58.944 54.689 94.586 1.667 5.366-.592 11.175-5.459 13.985L444.788 220.9a193.485 193.485 0 0 1 0 70.2zM336 256c0-44.112-35.888-80-80-80s-80 35.888-80 80 35.888 80 80 80 80-35.888 80-80z"}}},cogs:{search:{terms:["gears","settings"]},styles:["solid"],label:"cogs",svg:{solid:{viewBox:["0","0","640","512"],path:"M512.1 191l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0L552 6.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zm-10.5-58.8c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.7-82.4 14.3-52.8 52.8zM386.3 286.1l33.7 16.8c10.1 5.8 14.5 18.1 10.5 29.1-8.9 24.2-26.4 46.4-42.6 65.8-7.4 8.9-20.2 11.1-30.3 5.3l-29.1-16.8c-16 13.7-34.6 24.6-54.9 31.7v33.6c0 11.6-8.3 21.6-19.7 23.6-24.6 4.2-50.4 4.4-75.9 0-11.5-2-20-11.9-20-23.6V418c-20.3-7.2-38.9-18-54.9-31.7L74 403c-10 5.8-22.9 3.6-30.3-5.3-16.2-19.4-33.3-41.6-42.2-65.7-4-10.9.4-23.2 10.5-29.1l33.3-16.8c-3.9-20.9-3.9-42.4 0-63.4L12 205.8c-10.1-5.8-14.6-18.1-10.5-29 8.9-24.2 26-46.4 42.2-65.8 7.4-8.9 20.2-11.1 30.3-5.3l29.1 16.8c16-13.7 34.6-24.6 54.9-31.7V57.1c0-11.5 8.2-21.5 19.6-23.5 24.6-4.2 50.5-4.4 76-.1 11.5 2 20 11.9 20 23.6v33.6c20.3 7.2 38.9 18 54.9 31.7l29.1-16.8c10-5.8 22.9-3.6 30.3 5.3 16.2 19.4 33.2 41.6 42.1 65.8 4 10.9.1 23.2-10 29.1l-33.7 16.8c3.9 21 3.9 42.5 0 63.5zm-117.6 21.1c59.2-77-28.7-164.9-105.7-105.7-59.2 77 28.7 164.9 105.7 105.7zm243.4 182.7l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0l8.2-14.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zM501.6 431c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.6-82.4 14.3-52.8 52.8z"}}},coins:{search:{terms:[]},styles:["solid"],label:"Coins",svg:{solid:{viewBox:["0","0","512","512"],path:"M0 405.3V448c0 35.3 86 64 192 64s192-28.7 192-64v-42.7C342.7 434.4 267.2 448 192 448S41.3 434.4 0 405.3zM320 128c106 0 192-28.7 192-64S426 0 320 0 128 28.7 128 64s86 64 192 64zM0 300.4V352c0 35.3 86 64 192 64s192-28.7 192-64v-51.6c-41.3 34-116.9 51.6-192 51.6S41.3 334.4 0 300.4zm416 11c57.3-11.1 96-31.7 96-55.4v-42.7c-23.2 16.4-57.3 27.6-96 34.5v63.6zM192 160C86 160 0 195.8 0 240s86 80 192 80 192-35.8 192-80-86-80-192-80zm219.3 56.3c60-10.8 100.7-32 100.7-56.3v-42.7c-35.5 25.1-96.5 38.6-160.7 41.8 29.5 14.3 51.2 33.5 60 57.2z"}}},columns:{search:{terms:["dashboard","panes","split"]},styles:["solid"],label:"Columns",svg:{solid:{viewBox:["0","0","512","512"],path:"M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM224 416H64V160h160v256zm224 0H288V160h160v256z"}}},comment:{search:{terms:["bubble","chat","conversation","feedback","message","note","notification","sms","speech","texting"]},styles:["solid","regular"],label:"comment",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z"},regular:{last_modified:1522083405998,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"}}},"comment-alt":{search:{terms:["bubble","chat","commenting","conversation","feedback","message","note","notification","sms","speech","texting"]},styles:["solid","regular"],label:"Alternate Comment",svg:{solid:{viewBox:["0","0","512","512"],path:"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 9.8 11.2 15.5 19.1 9.7L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z"},regular:{last_modified:1522083405995,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288z"}}},"comment-dollar":{search:{terms:[]},styles:["solid"],label:"Comment Dollar",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 32C114.62 32 0 125.12 0 240c0 49.56 21.41 95.01 57.02 130.74C44.46 421.05 2.7 465.97 2.2 466.5A7.995 7.995 0 0 0 8 480c66.26 0 115.99-31.75 140.6-51.38C181.29 440.93 217.59 448 256 448c141.38 0 256-93.12 256-208S397.38 32 256 32zm24 302.44V352c0 8.84-7.16 16-16 16h-16c-8.84 0-16-7.16-16-16v-17.73c-11.42-1.35-22.28-5.19-31.78-11.46-6.22-4.11-6.82-13.11-1.55-18.38l17.52-17.52c3.74-3.74 9.31-4.24 14.11-2.03 3.18 1.46 6.66 2.22 10.26 2.22h32.78c4.66 0 8.44-3.78 8.44-8.42 0-3.75-2.52-7.08-6.12-8.11l-50.07-14.3c-22.25-6.35-40.01-24.71-42.91-47.67-4.05-32.07 19.03-59.43 49.32-63.05V128c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v17.73c11.42 1.35 22.28 5.19 31.78 11.46 6.22 4.11 6.82 13.11 1.55 18.38l-17.52 17.52c-3.74 3.74-9.31 4.24-14.11 2.03a24.516 24.516 0 0 0-10.26-2.22h-32.78c-4.66 0-8.44 3.78-8.44 8.42 0 3.75 2.52 7.08 6.12 8.11l50.07 14.3c22.25 6.36 40.01 24.71 42.91 47.67 4.05 32.06-19.03 59.42-49.32 63.04z"}}},"comment-dots":{search:{terms:[]},styles:["solid","regular"],label:"Comment Dots",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32zM128 272c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"},regular:{last_modified:1522083405995,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M144 208c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M144 208c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"}}},"comment-slash":{search:{terms:[]},styles:["solid"],label:"Comment Slash",svg:{solid:{viewBox:["0","0","640","512"],path:"M64 240c0 49.6 21.4 95 57 130.7-12.6 50.3-54.3 95.2-54.8 95.8-2.2 2.3-2.8 5.7-1.5 8.7 1.3 2.9 4.1 4.8 7.3 4.8 66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 27.4 0 53.7-3.6 78.4-10L72.9 186.4c-5.6 17.1-8.9 35-8.9 53.6zm569.8 218.1l-114.4-88.4C554.6 334.1 576 289.2 576 240c0-114.9-114.6-208-256-208-65.1 0-124.2 20.1-169.4 52.7L45.5 3.4C38.5-2 28.5-.8 23 6.2L3.4 31.4c-5.4 7-4.2 17 2.8 22.4l588.4 454.7c7 5.4 17 4.2 22.5-2.8l19.6-25.3c5.4-6.8 4.1-16.9-2.9-22.3z"}}},comments:{search:{terms:["bubble","chat","conversation","feedback","message","note","notification","sms","speech","texting"]},styles:["solid","regular"],label:"comments",svg:{solid:{viewBox:["0","0","576","512"],path:"M416 192c0-88.4-93.1-160-208-160S0 103.6 0 192c0 34.3 14.1 65.9 38 92-13.4 30.2-35.5 54.2-35.8 54.5-2.2 2.3-2.8 5.7-1.5 8.7S4.8 352 8 352c36.6 0 66.9-12.3 88.7-25 32.2 15.7 70.3 25 111.3 25 114.9 0 208-71.6 208-160zm122 220c23.9-26 38-57.7 38-92 0-66.9-53.5-124.2-129.3-148.1.9 6.6 1.3 13.3 1.3 20.1 0 105.9-107.7 192-240 192-10.8 0-21.3-.8-31.7-1.9C207.8 439.6 281.8 480 368 480c41 0 79.1-9.2 111.3-25 21.8 12.7 52.1 25 88.7 25 3.2 0 6.1-1.9 7.3-4.8 1.3-2.9.7-6.3-1.5-8.7-.3-.3-22.4-24.2-35.8-54.5z"},regular:{last_modified:1522083405999,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M532 386.2c27.5-27.1 44-61.1 44-98.2 0-80-76.5-146.1-176.2-157.9C368.3 72.5 294.3 32 208 32 93.1 32 0 103.6 0 192c0 37 16.5 71 44 98.2-15.3 30.7-37.3 54.5-37.7 54.9-6.3 6.7-8.1 16.5-4.4 25 3.6 8.5 12 14 21.2 14 53.5 0 96.7-20.2 125.2-38.8 9.2 2.1 18.7 3.7 28.4 4.9C208.1 407.6 281.8 448 368 448c20.8 0 40.8-2.4 59.8-6.8C456.3 459.7 499.4 480 553 480c9.2 0 17.5-5.5 21.2-14 3.6-8.5 1.9-18.3-4.4-25-.4-.3-22.5-24.1-37.8-54.8zm-392.8-92.3L122.1 305c-14.1 9.1-28.5 16.3-43.1 21.4 2.7-4.7 5.4-9.7 8-14.8l15.5-31.1L77.7 256C64.2 242.6 48 220.7 48 192c0-60.7 73.3-112 160-112s160 51.3 160 112-73.3 112-160 112c-16.5 0-33-1.9-49-5.6l-19.8-4.5zM498.3 352l-24.7 24.4 15.5 31.1c2.6 5.1 5.3 10.1 8 14.8-14.6-5.1-29-12.3-43.1-21.4l-17.1-11.1-19.9 4.6c-16 3.7-32.5 5.6-49 5.6-54 0-102.2-20.1-131.3-49.7C338 339.5 416 272.9 416 192c0-3.4-.4-6.7-.7-10C479.7 196.5 528 238.8 528 288c0 28.7-16.2 50.6-29.7 64z"/></svg>',viewBox:["0","0","576","512"],width:576,height:512,path:"M532 386.2c27.5-27.1 44-61.1 44-98.2 0-80-76.5-146.1-176.2-157.9C368.3 72.5 294.3 32 208 32 93.1 32 0 103.6 0 192c0 37 16.5 71 44 98.2-15.3 30.7-37.3 54.5-37.7 54.9-6.3 6.7-8.1 16.5-4.4 25 3.6 8.5 12 14 21.2 14 53.5 0 96.7-20.2 125.2-38.8 9.2 2.1 18.7 3.7 28.4 4.9C208.1 407.6 281.8 448 368 448c20.8 0 40.8-2.4 59.8-6.8C456.3 459.7 499.4 480 553 480c9.2 0 17.5-5.5 21.2-14 3.6-8.5 1.9-18.3-4.4-25-.4-.3-22.5-24.1-37.8-54.8zm-392.8-92.3L122.1 305c-14.1 9.1-28.5 16.3-43.1 21.4 2.7-4.7 5.4-9.7 8-14.8l15.5-31.1L77.7 256C64.2 242.6 48 220.7 48 192c0-60.7 73.3-112 160-112s160 51.3 160 112-73.3 112-160 112c-16.5 0-33-1.9-49-5.6l-19.8-4.5zM498.3 352l-24.7 24.4 15.5 31.1c2.6 5.1 5.3 10.1 8 14.8-14.6-5.1-29-12.3-43.1-21.4l-17.1-11.1-19.9 4.6c-16 3.7-32.5 5.6-49 5.6-54 0-102.2-20.1-131.3-49.7C338 339.5 416 272.9 416 192c0-3.4-.4-6.7-.7-10C479.7 196.5 528 238.8 528 288c0 28.7-16.2 50.6-29.7 64z"}}},"comments-dollar":{search:{terms:[]},styles:["solid"],label:"Comments Dollar",svg:{solid:{viewBox:["0","0","576","512"],path:"M416 192c0-88.37-93.12-160-208-160S0 103.63 0 192c0 34.27 14.13 65.95 37.97 91.98C24.61 314.22 2.52 338.16 2.2 338.5A7.995 7.995 0 0 0 8 352c36.58 0 66.93-12.25 88.73-24.98C128.93 342.76 167.02 352 208 352c114.88 0 208-71.63 208-160zm-224 96v-16.29c-11.29-.58-22.27-4.52-31.37-11.35-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73 3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19 0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39 0-24.52 19.05-44.44 42.67-45.07V96c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16.29c11.29.58 22.27 4.51 31.37 11.35 3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19 0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39 0 24.53-19.05 44.44-42.67 45.07V288c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8zm346.01 123.99C561.87 385.96 576 354.27 576 320c0-66.94-53.49-124.2-129.33-148.07.86 6.6 1.33 13.29 1.33 20.07 0 105.87-107.66 192-240 192-10.78 0-21.32-.77-31.73-1.88C207.8 439.63 281.77 480 368 480c40.98 0 79.07-9.24 111.27-24.98C501.07 467.75 531.42 480 568 480c3.2 0 6.09-1.91 7.34-4.84 1.27-2.94.66-6.34-1.55-8.67-.31-.33-22.42-24.24-35.78-54.5z"}}},"compact-disc":{search:{terms:["bluray","cd","disc","media"]},styles:["solid"],label:"Compact Disc",svg:{solid:{viewBox:["0","0","496","512"],path:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM88 256H56c0-105.9 86.1-192 192-192v32c-88.2 0-160 71.8-160 160zm160 96c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96zm0-128c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"}}},compass:{search:{terms:["directory","location","menu","safari"]},styles:["solid","regular"],label:"Compass",svg:{solid:{viewBox:["0","0","496","512"],path:"M225.38 233.37c-12.5 12.5-12.5 32.76 0 45.25 12.49 12.5 32.76 12.5 45.25 0 12.5-12.5 12.5-32.76 0-45.25-12.5-12.49-32.76-12.49-45.25 0zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm126.14 148.05L308.17 300.4a31.938 31.938 0 0 1-15.77 15.77l-144.34 65.97c-16.65 7.61-33.81-9.55-26.2-26.2l65.98-144.35a31.938 31.938 0 0 1 15.77-15.77l144.34-65.97c16.65-7.6 33.8 9.55 26.19 26.2z"},regular:{last_modified:1532362831483,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M347.94 129.86L203.6 195.83a31.938 31.938 0 0 0-15.77 15.77l-65.97 144.34c-7.61 16.65 9.54 33.81 26.2 26.2l144.34-65.97a31.938 31.938 0 0 0 15.77-15.77l65.97-144.34c7.61-16.66-9.54-33.81-26.2-26.2zm-77.36 148.72c-12.47 12.47-32.69 12.47-45.16 0-12.47-12.47-12.47-32.69 0-45.16 12.47-12.47 32.69-12.47 45.16 0 12.47 12.47 12.47 32.69 0 45.16zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 448c-110.28 0-200-89.72-200-200S137.72 56 248 56s200 89.72 200 200-89.72 200-200 200z"/></svg>',viewBox:["0","0","496","512"],width:496,height:512,path:"M347.94 129.86L203.6 195.83a31.938 31.938 0 0 0-15.77 15.77l-65.97 144.34c-7.61 16.65 9.54 33.81 26.2 26.2l144.34-65.97a31.938 31.938 0 0 0 15.77-15.77l65.97-144.34c7.61-16.66-9.54-33.81-26.2-26.2zm-77.36 148.72c-12.47 12.47-32.69 12.47-45.16 0-12.47-12.47-12.47-32.69 0-45.16 12.47-12.47 32.69-12.47 45.16 0 12.47 12.47 12.47 32.69 0 45.16zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 448c-110.28 0-200-89.72-200-200S137.72 56 248 56s200 89.72 200 200-89.72 200-200 200z"}}},compress:{search:{terms:["collapse","combine","contract","merge","smaller"]},styles:["solid"],label:"Compress",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 192H312c-13.3 0-24-10.7-24-24V44c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v84h84c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm-276-24V44c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v84H12c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24zm0 300V344c0-13.3-10.7-24-24-24H12c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-84h84c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12H312c-13.3 0-24 10.7-24 24v124c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12z"}}},"concierge-bell":{search:{terms:["attention","hotel","service","support"]},styles:["solid"],label:"Concierge Bell",svg:{solid:{viewBox:["0","0","512","512"],path:"M288 130.54V112h16c8.84 0 16-7.16 16-16V80c0-8.84-7.16-16-16-16h-96c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h16v18.54C115.49 146.11 32 239.18 32 352h448c0-112.82-83.49-205.89-192-221.46zM496 384H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h480c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"}}},connectdevelop:{search:{terms:[]},styles:["brands"],label:"Connect Develop",svg:{brands:{viewBox:["0","0","576","512"],path:"M550.5 241l-50.089-86.786c1.071-2.142 1.875-4.553 1.875-7.232 0-8.036-6.696-14.733-14.732-15.001l-55.447-95.893c.536-1.607 1.071-3.214 1.071-4.821 0-8.571-6.964-15.268-15.268-15.268-4.821 0-8.839 2.143-11.786 5.625H299.518C296.839 18.143 292.821 16 288 16s-8.839 2.143-11.518 5.625H170.411C167.464 18.143 163.447 16 158.625 16c-8.303 0-15.268 6.696-15.268 15.268 0 1.607.536 3.482 1.072 4.821l-55.983 97.233c-5.356 2.41-9.107 7.5-9.107 13.661 0 .535.268 1.071.268 1.607l-53.304 92.143c-7.232 1.339-12.59 7.5-12.59 15 0 7.232 5.089 13.393 12.054 15l55.179 95.358c-.536 1.607-.804 2.946-.804 4.821 0 7.232 5.089 13.393 12.054 14.732l51.697 89.732c-.536 1.607-1.071 3.482-1.071 5.357 0 8.571 6.964 15.268 15.268 15.268 4.821 0 8.839-2.143 11.518-5.357h106.875C279.161 493.857 283.447 496 288 496s8.839-2.143 11.518-5.357h107.143c2.678 2.946 6.696 4.821 10.982 4.821 8.571 0 15.268-6.964 15.268-15.268 0-1.607-.267-2.946-.803-4.285l51.697-90.268c6.964-1.339 12.054-7.5 12.054-14.732 0-1.607-.268-3.214-.804-4.821l54.911-95.358c6.964-1.339 12.322-7.5 12.322-15-.002-7.232-5.092-13.393-11.788-14.732zM153.535 450.732l-43.66-75.803h43.66v75.803zm0-83.839h-43.66c-.268-1.071-.804-2.142-1.339-3.214l44.999-47.41v50.624zm0-62.411l-50.357 53.304c-1.339-.536-2.679-1.34-4.018-1.607L43.447 259.75c.535-1.339.535-2.679.535-4.018s0-2.41-.268-3.482l51.965-90c2.679-.268 5.357-1.072 7.768-2.679l50.089 51.965v92.946zm0-102.322l-45.803-47.41c1.339-2.143 2.143-4.821 2.143-7.767 0-.268-.268-.804-.268-1.072l43.928-15.804v72.053zm0-80.625l-43.66 15.804 43.66-75.536v59.732zm326.519 39.108l.804 1.339L445.5 329.125l-63.75-67.232 98.036-101.518.268.268zM291.75 355.107l11.518 11.786H280.5l11.25-11.786zm-.268-11.25l-83.303-85.446 79.553-84.375 83.036 87.589-79.286 82.232zm5.357 5.893l79.286-82.232 67.5 71.25-5.892 28.125H313.714l-16.875-17.143zM410.411 44.393c1.071.536 2.142 1.072 3.482 1.34l57.857 100.714v.536c0 2.946.803 5.624 2.143 7.767L376.393 256l-83.035-87.589L410.411 44.393zm-9.107-2.143L287.732 162.518l-57.054-60.268 166.339-60h4.287zm-123.483 0c2.678 2.678 6.16 4.285 10.179 4.285s7.5-1.607 10.179-4.285h75L224.786 95.821 173.893 42.25h103.928zm-116.249 5.625l1.071-2.142a33.834 33.834 0 0 0 2.679-.804l51.161 53.84-54.911 19.821V47.875zm0 79.286l60.803-21.964 59.732 63.214-79.553 84.107-40.982-42.053v-83.304zm0 92.678L198 257.607l-36.428 38.304v-76.072zm0 87.858l42.053-44.464 82.768 85.982-17.143 17.678H161.572v-59.196zm6.964 162.053c-1.607-1.607-3.482-2.678-5.893-3.482l-1.071-1.607v-89.732h99.91l-91.607 94.821h-1.339zm129.911 0c-2.679-2.41-6.428-4.285-10.447-4.285s-7.767 1.875-10.447 4.285h-96.429l91.607-94.821h38.304l91.607 94.821H298.447zm120-11.786l-4.286 7.5c-1.339.268-2.41.803-3.482 1.339l-89.196-91.875h114.376l-17.412 83.036zm12.856-22.232l12.858-60.803h21.964l-34.822 60.803zm34.822-68.839h-20.357l4.553-21.16 17.143 18.214c-.535.803-1.071 1.874-1.339 2.946zm66.161-107.411l-55.447 96.697c-1.339.535-2.679 1.071-4.018 1.874l-20.625-21.964 34.554-163.928 45.803 79.286c-.267 1.339-.803 2.678-.803 4.285 0 1.339.268 2.411.536 3.75z"}}},contao:{search:{terms:[]},styles:["brands"],label:"Contao",svg:{brands:{viewBox:["0","0","512","512"],path:"M45.4 305c14.4 67.1 26.4 129 68.2 175H34c-18.7 0-34-15.2-34-34V66c0-18.7 15.2-34 34-34h57.7C77.9 44.6 65.6 59.2 54.8 75.6c-45.4 70-27 146.8-9.4 229.4zM478 32h-90.2c21.4 21.4 39.2 49.5 52.7 84.1l-137.1 29.3c-14.9-29-37.8-53.3-82.6-43.9-24.6 5.3-41 19.3-48.3 34.6-8.8 18.7-13.2 39.8 8.2 140.3 21.1 100.2 33.7 117.7 49.5 131.2 12.9 11.1 33.4 17 58.3 11.7 44.5-9.4 55.7-40.7 57.4-73.2l137.4-29.6c3.2 71.5-18.7 125.2-57.4 163.6H478c18.7 0 34-15.2 34-34V66c0-18.8-15.2-34-34-34z"}}},cookie:{search:{terms:["baked good","chips","food","snack","sweet","treat"]},styles:["solid"],label:"Cookie",svg:{solid:{viewBox:["0","0","512","512"],path:"M510.37 254.79l-12.08-76.26a132.493 132.493 0 0 0-37.16-72.95l-54.76-54.75c-19.73-19.72-45.18-32.7-72.71-37.05l-76.7-12.15c-27.51-4.36-55.69.11-80.52 12.76L107.32 49.6a132.25 132.25 0 0 0-57.79 57.8l-35.1 68.88a132.602 132.602 0 0 0-12.82 80.94l12.08 76.27a132.493 132.493 0 0 0 37.16 72.95l54.76 54.75a132.087 132.087 0 0 0 72.71 37.05l76.7 12.14c27.51 4.36 55.69-.11 80.52-12.75l69.12-35.21a132.302 132.302 0 0 0 57.79-57.8l35.1-68.87c12.71-24.96 17.2-53.3 12.82-80.96zM176 368c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm32-160c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm160 128c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},"cookie-bite":{search:{terms:["baked good","bitten","chips","eating","food","snack","sweet","treat"]},styles:["solid"],label:"Cookie Bite",svg:{solid:{viewBox:["0","0","512","512"],path:"M510.52 255.82c-69.97-.85-126.47-57.69-126.47-127.86-70.17 0-127-56.49-127.86-126.45-27.26-4.14-55.13.3-79.72 12.82l-69.13 35.22a132.221 132.221 0 0 0-57.79 57.81l-35.1 68.88a132.645 132.645 0 0 0-12.82 80.95l12.08 76.27a132.521 132.521 0 0 0 37.16 72.96l54.77 54.76a132.036 132.036 0 0 0 72.71 37.06l76.71 12.15c27.51 4.36 55.7-.11 80.53-12.76l69.13-35.21a132.273 132.273 0 0 0 57.79-57.81l35.1-68.88c12.56-24.64 17.01-52.58 12.91-79.91zM176 368c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm32-160c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm160 128c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},copy:{search:{terms:["clone","duplicate","file","files-o"]},styles:["solid","regular"],label:"Copy",svg:{solid:{viewBox:["0","0","448","512"],path:"M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"}}},copyright:{search:{terms:[]},styles:["solid","regular"],label:"Copyright",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm117.134 346.753c-1.592 1.867-39.776 45.731-109.851 45.731-84.692 0-144.484-63.26-144.484-145.567 0-81.303 62.004-143.401 143.762-143.401 66.957 0 101.965 37.315 103.422 38.904a12 12 0 0 1 1.238 14.623l-22.38 34.655c-4.049 6.267-12.774 7.351-18.234 2.295-.233-.214-26.529-23.88-61.88-23.88-46.116 0-73.916 33.575-73.916 76.082 0 39.602 25.514 79.692 74.277 79.692 38.697 0 65.28-28.338 65.544-28.625 5.132-5.565 14.059-5.033 18.508 1.053l24.547 33.572a12.001 12.001 0 0 1-.553 14.866z"},regular:{last_modified:1501102193e3,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 448c-110.532 0-200-89.451-200-200 0-110.531 89.451-200 200-200 110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200zm107.351-101.064c-9.614 9.712-45.53 41.396-104.065 41.396-82.43 0-140.484-61.425-140.484-141.567 0-79.152 60.275-139.401 139.762-139.401 55.531 0 88.738 26.62 97.593 34.779a11.965 11.965 0 0 1 1.936 15.322l-18.155 28.113c-3.841 5.95-11.966 7.282-17.499 2.921-8.595-6.776-31.814-22.538-61.708-22.538-48.303 0-77.916 35.33-77.916 80.082 0 41.589 26.888 83.692 78.277 83.692 32.657 0 56.843-19.039 65.726-27.225 5.27-4.857 13.596-4.039 17.82 1.738l19.865 27.17a11.947 11.947 0 0 1-1.152 15.518z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 448c-110.532 0-200-89.451-200-200 0-110.531 89.451-200 200-200 110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200zm107.351-101.064c-9.614 9.712-45.53 41.396-104.065 41.396-82.43 0-140.484-61.425-140.484-141.567 0-79.152 60.275-139.401 139.762-139.401 55.531 0 88.738 26.62 97.593 34.779a11.965 11.965 0 0 1 1.936 15.322l-18.155 28.113c-3.841 5.95-11.966 7.282-17.499 2.921-8.595-6.776-31.814-22.538-61.708-22.538-48.303 0-77.916 35.33-77.916 80.082 0 41.589 26.888 83.692 78.277 83.692 32.657 0 56.843-19.039 65.726-27.225 5.27-4.857 13.596-4.039 17.82 1.738l19.865 27.17a11.947 11.947 0 0 1-1.152 15.518z"}}},couch:{search:{terms:["furniture","sofa"]},styles:["solid"],label:"Couch",svg:{solid:{viewBox:["0","0","640","512"],path:"M160 224v64h320v-64c0-35.3 28.7-64 64-64h32c0-53-43-96-96-96H160c-53 0-96 43-96 96h32c35.3 0 64 28.7 64 64zm416-32h-32c-17.7 0-32 14.3-32 32v96H128v-96c0-17.7-14.3-32-32-32H64c-35.3 0-64 28.7-64 64 0 23.6 13 44 32 55.1V432c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16v-16h384v16c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16V311.1c19-11.1 32-31.5 32-55.1 0-35.3-28.7-64-64-64z"}}},cpanel:{search:{terms:[]},styles:["brands"],label:"cPanel",svg:{brands:{viewBox:["0","0","640","512"],path:"M52.9 213.7h40l-6.2 23.6c-1.9 6.5-7.4 10.9-14.3 10.9H53.8c-24.9 0-24.7 37.4 0 37.4h11.3c4.2 0 7.6 3.9 6.4 8.3L64.4 320H52c-33.5 0-59-31.4-50.3-65.2 7.3-27 28.3-41.1 51.2-41.1M73.1 320L108 189.9c1.8-6.4 7.2-10.9 14.3-10.9h37c24.1 0 45.4 16.4 51 41.2 6.6 29.1-14.5 65.3-51.7 65.3h-32l6.4-23.8c1.8-6.2 7.3-10.8 14.3-10.8h10.3c12.4 0 20.8-11.7 18.3-22.6-2.1-9.2-9.9-14.8-18.3-14.8h-19.8L112 309.2c-1.9 6.2-7.4 10.7-14.2 10.7l-24.7.1m220.6-69.4c.3-1 1.9-5.3-2.1-5.3h-57.5c-9.7 0-16.6-8.9-14.2-18.5l3.5-13.4h77.9c18.8 0 33.3 17.6 28.5 36.8l-14 51.8c-2.8 10.6-12.2 17.8-23.4 17.8l-57.5-.2c-42.9 0-38.5-63.8.7-63.8H284l-3.5 13.2c-1.9 6.2-7.4 10.8-14.2 10.8h-21.6c-5.3 0-5.3 7.9 0 7.9h34.9c4.6 0 5.1-3.9 5.5-5.3l8.6-31.8m103.1-36.9c34.4 0 59.3 32.3 50.3 65.4l-8.8 33.1c-1.2 4.9-5.7 7.8-10.3 7.8h-19.1c-4.5 0-7.6-4-6.4-8.3l10.6-40c3.3-11.6-5.6-23.4-18.1-23.4h-19.8l-17.2 64c-1.2 4.8-5.6 7.8-10.4 7.8h-18.9c-4.2 0-7.6-3.9-6.4-8.3l26.2-98h48.3M498 251.6l-8 30c-.9 3.3 1.5 6.7 5.1 6.7h73.3l-5.7 21c-1.9 6.2-7.4 10.7-14.2 10.7h-66.7c-20 0-33.3-19-28.3-36.7l10.8-40c4.8-17.6 20.7-29.6 38.6-29.6h47.3c19 0 33.2 17.7 28.3 36.8l-3.2 12c-2.9 11-12.7 17.6-23.2 17.6h-53.4l3.5-13c1.6-6.2 7.2-10.8 14.2-10.8H538c2 0 3.3-1 3.9-3l.7-2.6c.7-2.7-1.3-5.1-3.9-5.1h-32.9c-4.1 0-6.9 2.1-7.8 6zm70.2 68.4l35.6-133.1c1.2-4.7 5.5-7.9 10.4-7.9h18.9c4.5 0 7.7 4 6.5 8.3l-26.5 98.2c-5.1 20.7-24.2 34.5-44.9 34.5"}}},"creative-commons":{search:{terms:[]},styles:["brands"],label:"Creative Commons",svg:{brands:{viewBox:["0","0","496","512"],path:"M245.83 214.87l-33.22 17.28c-9.43-19.58-25.24-19.93-27.46-19.93-22.13 0-33.22 14.61-33.22 43.84 0 23.57 9.21 43.84 33.22 43.84 14.47 0 24.65-7.09 30.57-21.26l30.55 15.5c-6.17 11.51-25.69 38.98-65.1 38.98-22.6 0-73.96-10.32-73.96-77.05 0-58.69 43-77.06 72.63-77.06 30.72-.01 52.7 11.95 65.99 35.86zm143.05 0l-32.78 17.28c-9.5-19.77-25.72-19.93-27.9-19.93-22.14 0-33.22 14.61-33.22 43.84 0 23.55 9.23 43.84 33.22 43.84 14.45 0 24.65-7.09 30.54-21.26l31 15.5c-2.1 3.75-21.39 38.98-65.09 38.98-22.69 0-73.96-9.87-73.96-77.05 0-58.67 42.97-77.06 72.63-77.06 30.71-.01 52.58 11.95 65.56 35.86zM247.56 8.05C104.74 8.05 0 123.11 0 256.05c0 138.49 113.6 248 247.56 248 129.93 0 248.44-100.87 248.44-248 0-137.87-106.62-248-248.44-248zm.87 450.81c-112.54 0-203.7-93.04-203.7-202.81 0-105.42 85.43-203.27 203.72-203.27 112.53 0 202.82 89.46 202.82 203.26-.01 121.69-99.68 202.82-202.84 202.82z"}}},"creative-commons-by":{search:{terms:[]},styles:["brands"],label:"Creative Commons Attribution",svg:{brands:{viewBox:["0","0","496","512"],path:"M314.9 194.4v101.4h-28.3v120.5h-77.1V295.9h-28.3V194.4c0-4.4 1.6-8.2 4.6-11.3 3.1-3.1 6.9-4.7 11.3-4.7H299c4.1 0 7.8 1.6 11.1 4.7 3.1 3.2 4.8 6.9 4.8 11.3zm-101.5-63.7c0-23.3 11.5-35 34.5-35s34.5 11.7 34.5 35c0 23-11.5 34.5-34.5 34.5s-34.5-11.5-34.5-34.5zM247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3z"}}},"creative-commons-nc":{search:{terms:[]},styles:["brands"],label:"Creative Commons Noncommercial",svg:{brands:{viewBox:["0","0","496","512"],path:"M247.6 8C387.4 8 496 115.9 496 256c0 147.2-118.5 248-248.4 248C113.1 504 0 393.2 0 256 0 123.1 104.7 8 247.6 8zM55.8 189.1c-7.4 20.4-11.1 42.7-11.1 66.9 0 110.9 92.1 202.4 203.7 202.4 122.4 0 177.2-101.8 178.5-104.1l-93.4-41.6c-7.7 37.1-41.2 53-68.2 55.4v38.1h-28.8V368c-27.5-.3-52.6-10.2-75.3-29.7l34.1-34.5c31.7 29.4 86.4 31.8 86.4-2.2 0-6.2-2.2-11.2-6.6-15.1-14.2-6-1.8-.1-219.3-97.4zM248.4 52.3c-38.4 0-112.4 8.7-170.5 93l94.8 42.5c10-31.3 40.4-42.9 63.8-44.3v-38.1h28.8v38.1c22.7 1.2 43.4 8.9 62 23L295 199.7c-42.7-29.9-83.5-8-70 11.1 53.4 24.1 43.8 19.8 93 41.6l127.1 56.7c4.1-17.4 6.2-35.1 6.2-53.1 0-57-19.8-105-59.3-143.9-39.3-39.9-87.2-59.8-143.6-59.8z"}}},"creative-commons-nc-eu":{search:{terms:[]},styles:["brands"],label:"Creative Commons Noncommercial (Euro Sign)",svg:{brands:{viewBox:["0","0","496","512"],path:"M247.7 8C103.6 8 0 124.8 0 256c0 136.3 111.7 248 247.7 248C377.9 504 496 403.1 496 256 496 117 388.4 8 247.7 8zm.6 450.7c-112 0-203.6-92.5-203.6-202.7 0-23.2 3.7-45.2 10.9-66l65.7 29.1h-4.7v29.5h23.3c0 6.2-.4 3.2-.4 19.5h-22.8v29.5h27c11.4 67 67.2 101.3 124.6 101.3 26.6 0 50.6-7.9 64.8-15.8l-10-46.1c-8.7 4.6-28.2 10.8-47.3 10.8-28.2 0-58.1-10.9-67.3-50.2h90.3l128.3 56.8c-1.5 2.1-56.2 104.3-178.8 104.3zm-16.7-190.6l-.5-.4.9.4h-.4zm77.2-19.5h3.7v-29.5h-70.3l-28.6-12.6c2.5-5.5 5.4-10.5 8.8-14.3 12.9-15.8 31.1-22.4 51.1-22.4 18.3 0 35.3 5.4 46.1 10l11.6-47.3c-15-6.6-37-12.4-62.3-12.4-39 0-72.2 15.8-95.9 42.3-5.3 6.1-9.8 12.9-13.9 20.1l-81.6-36.1c64.6-96.8 157.7-93.6 170.7-93.6 113 0 203 90.2 203 203.4 0 18.7-2.1 36.3-6.3 52.9l-136.1-60.5z"}}},"creative-commons-nc-jp":{search:{terms:[]},styles:["brands"],label:"Creative Commons Noncommercial (Yen Sign)",svg:{brands:{viewBox:["0","0","496","512"],path:"M247.7 8C103.6 8 0 124.8 0 256c0 136.4 111.8 248 247.7 248C377.9 504 496 403.2 496 256 496 117.2 388.5 8 247.7 8zm.6 450.7c-112 0-203.6-92.5-203.6-202.7 0-21.1 3-41.2 9-60.3l127 56.5h-27.9v38.6h58.1l5.7 11.8v18.7h-63.8V360h63.8v56h61.7v-56h64.2v-35.7l81 36.1c-1.5 2.2-57.1 98.3-175.2 98.3zm87.6-137.3h-57.6v-18.7l2.9-5.6 54.7 24.3zm6.5-51.4v-17.8h-38.6l63-116H301l-43.4 96-23-10.2-39.6-85.7h-65.8l27.3 51-81.9-36.5c27.8-44.1 82.6-98.1 173.7-98.1 112.8 0 203 90 203 203.4 0 21-2.7 40.6-7.9 59l-101-45.1z"}}},"creative-commons-nd":{search:{terms:[]},styles:["brands"],label:"Creative Commons No Derivative Works",svg:{brands:{viewBox:["0","0","496","512"],path:"M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zm94 144.3v42.5H162.1V197h180.3zm0 79.8v42.5H162.1v-42.5h180.3z"}}},"creative-commons-pd":{search:{terms:[]},styles:["brands"],label:"Creative Commons Public Domain",svg:{brands:{viewBox:["0","0","496","512"],path:"M248 8C111 8 0 119.1 0 256c0 137 111 248 248 248s248-111 248-248C496 119.1 385 8 248 8zm0 449.5c-139.2 0-235.8-138-190.2-267.9l78.8 35.1c-2.1 10.5-3.3 21.5-3.3 32.9 0 99 73.9 126.9 120.4 126.9 22.9 0 53.5-6.7 79.4-29.5L297 311.1c-5.5 6.3-17.6 16.7-36.3 16.7-37.8 0-53.7-39.9-53.9-71.9 230.4 102.6 216.5 96.5 217.9 96.8-34.3 62.4-100.6 104.8-176.7 104.8zm194.2-150l-224-100c18.8-34 54.9-30.7 74.7-11l40.4-41.6c-27.1-23.3-58-27.5-78.1-27.5-47.4 0-80.9 20.5-100.7 51.6l-74.9-33.4c36.1-54.9 98.1-91.2 168.5-91.2 111.1 0 201.5 90.4 201.5 201.5 0 18-2.4 35.4-6.8 52-.3-.1-.4-.2-.6-.4z"}}},"creative-commons-pd-alt":{search:{terms:[]},styles:["brands"],label:"Creative Commons Public Domain Alternate",svg:{brands:{viewBox:["0","0","496","512"],path:"M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zM135.5 323.3V186h68.2c33.7 0 50.5 15.5 50.5 46.5 0 9-3 46.5-57.1 46.5h-27v44.3h-34.6zm34.1-111.6v41.6h29.2c27.9 0 30-41.6-.9-41.6h-28.3zm93.9 111.6V186h53.2c21.4 0 70 5.2 70 68.6 0 63.5-48.6 68.6-70 68.6h-53.2zm34.1-108.5v79.7h19.9c24 0 34.5-15.3 34.5-39.9 0-42-31.2-39.9-35-39.9l-19.4.1z"}}},"creative-commons-remix":{search:{terms:[]},styles:["brands"],label:"Creative Commons Remix",svg:{brands:{viewBox:["0","0","496","512"],path:"M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zm161.7 207.7l4.9 2.2v70c-7.2 3.6-63.4 27.5-67.3 28.8-6.5-1.8-113.7-46.8-137.3-56.2l-64.2 26.6-63.3-27.5v-63.8l59.3-24.8c-.7-.7-.4 5-.4-70.4l67.3-29.7L361 178.5v61.6l49.1 20.3zm-70.4 81.5v-43.8h-.4v-1.8l-113.8-46.5V295l113.8 46.9v-.4l.4.4zm7.5-57.6l39.9-16.4-36.8-15.5-39 16.4 35.9 15.5zm52.3 38.1v-43L355.2 298v43.4l44.3-19z"}}},"creative-commons-sa":{search:{terms:[]},styles:["brands"],label:"Creative Commons Share Alike",svg:{brands:{viewBox:["0","0","496","512"],path:"M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zM137.7 221c13-83.9 80.5-95.7 108.9-95.7 99.8 0 127.5 82.5 127.5 134.2 0 63.6-41 132.9-128.9 132.9-38.9 0-99.1-20-109.4-97h62.5c1.5 30.1 19.6 45.2 54.5 45.2 23.3 0 58-18.2 58-82.8 0-82.5-49.1-80.6-56.7-80.6-33.1 0-51.7 14.6-55.8 43.8h18.2l-49.2 49.2-49-49.2h19.4z"}}},"creative-commons-sampling":{search:{terms:[]},styles:["brands"],label:"Creative Commons Sampling",svg:{brands:{viewBox:["0","0","496","512"],path:"M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zm3.6 53.2c2.8-.3 11.5 1 11.5 11.5l6.6 107.2 4.9-59.3c0-6 4.7-10.6 10.6-10.6 5.9 0 10.6 4.7 10.6 10.6 0 2.5-.5-5.7 5.7 81.5l5.8-64.2c.3-2.9 2.9-9.3 10.2-9.3 3.8 0 9.9 2.3 10.6 8.9l11.5 96.5 5.3-12.8c1.8-4.4 5.2-6.6 10.2-6.6h58v21.3h-50.9l-18.2 44.3c-3.9 9.9-19.5 9.1-20.8-3.1l-4-31.9-7.5 92.6c-.3 3-3 9.3-10.2 9.3-3 0-9.8-2.1-10.6-9.3 0-1.9.6 5.8-6.2-77.9l-5.3 72.2c-1.1 4.8-4.8 9.3-10.6 9.3-2.9 0-9.8-2-10.6-9.3 0-1.9.5 6.7-5.8-87.7l-5.8 94.8c0 6.3-3.6 12.4-10.6 12.4-5.2 0-10.6-4.1-10.6-12l-5.8-87.7c-5.8 92.5-5.3 84-5.3 85.9-1.1 4.8-4.8 9.3-10.6 9.3-3 0-9.8-2.1-10.6-9.3 0-.7-.4-1.1-.4-2.6l-6.2-88.6L182 348c-.7 6.5-6.7 9.3-10.6 9.3-5.8 0-9.6-4.1-10.6-8.9L149.7 272c-2 4-3.5 8.4-11.1 8.4H87.2v-21.3H132l13.7-27.9c4.4-9.9 18.2-7.2 19.9 2.7l3.1 20.4 8.4-97.9c0-6 4.8-10.6 10.6-10.6.5 0 10.6-.2 10.6 12.4l4.9 69.1 6.6-92.6c0-10.1 9.5-10.6 10.2-10.6.6 0 10.6.7 10.6 10.6l5.3 80.6 6.2-97.9c.1-1.1-.6-10.3 9.9-11.5z"}}},"creative-commons-sampling-plus":{search:{terms:[]},styles:["brands"],label:"Creative Commons Sampling +",svg:{brands:{viewBox:["0","0","496","512"],path:"M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zm107 205.6c-4.7 0-9 2.8-10.7 7.2l-4 9.5-11-92.8c-1.7-13.9-22-13.4-23.1.4l-4.3 51.4-5.2-68.8c-1.1-14.3-22.1-14.2-23.2 0l-3.5 44.9-5.9-94.3c-.9-14.5-22.3-14.4-23.2 0l-5.1 83.7-4.3-66.3c-.9-14.4-22.2-14.4-23.2 0l-5.3 80.2-4.1-57c-1.1-14.3-22-14.3-23.2-.2l-7.7 89.8-1.8-12.2c-1.7-11.4-17.1-13.6-22-3.3l-13.2 27.7H87.5v23.2h51.3c4.4 0 8.4-2.5 10.4-6.4l10.7 73.1c2 13.5 21.9 13 23.1-.7l3.8-43.6 5.7 78.3c1.1 14.4 22.3 14.2 23.2-.1l4.6-70.4 4.8 73.3c.9 14.4 22.3 14.4 23.2-.1l4.9-80.5 4.5 71.8c.9 14.3 22.1 14.5 23.2.2l4.6-58.6 4.9 64.4c1.1 14.3 22 14.2 23.1.1l6.8-83 2.7 22.3c1.4 11.8 17.7 14.1 22.3 3.1l18-43.4h50.5V258l-58.4.3zm-78 5.2h-21.9v21.9c0 4.1-3.3 7.5-7.5 7.5-4.1 0-7.5-3.3-7.5-7.5v-21.9h-21.9c-4.1 0-7.5-3.3-7.5-7.5 0-4.1 3.4-7.5 7.5-7.5h21.9v-21.9c0-4.1 3.4-7.5 7.5-7.5s7.5 3.3 7.5 7.5v21.9h21.9c4.1 0 7.5 3.3 7.5 7.5 0 4.1-3.4 7.5-7.5 7.5z"}}},"creative-commons-share":{search:{terms:[]},styles:["brands"],label:"Creative Commons Share",svg:{brands:{viewBox:["0","0","496","512"],path:"M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zm101 132.4c7.8 0 13.7 6.1 13.7 13.7v182.5c0 7.7-6.1 13.7-13.7 13.7H214.3c-7.7 0-13.7-6-13.7-13.7v-54h-54c-7.8 0-13.7-6-13.7-13.7V131.1c0-8.2 6.6-12.7 12.4-13.7h136.4c7.7 0 13.7 6 13.7 13.7v54h54zM159.9 300.3h40.7V198.9c0-7.4 5.8-12.6 12-13.7h55.8v-40.3H159.9v155.4zm176.2-88.1H227.6v155.4h108.5V212.2z"}}},"creative-commons-zero":{search:{terms:[]},styles:["brands"],label:"Creative Commons CC0",svg:{brands:{viewBox:["0","0","496","512"],path:"M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zm-.4 60.5c-81.9 0-102.5 77.3-102.5 142.8 0 65.5 20.6 142.8 102.5 142.8S350.5 321.5 350.5 256c0-65.5-20.6-142.8-102.5-142.8zm0 53.9c3.3 0 6.4.5 9.2 1.2 5.9 5.1 8.8 12.1 3.1 21.9l-54.5 100.2c-1.7-12.7-1.9-25.1-1.9-34.4 0-28.8 2-88.9 44.1-88.9zm40.8 46.2c2.9 15.4 3.3 31.4 3.3 42.7 0 28.9-2 88.9-44.1 88.9-13.5 0-32.6-7.7-20.1-26.4l60.9-105.2z"}}},"credit-card":{search:{terms:["buy","checkout","credit-card-alt","debit","money","payment","purchase"]},styles:["solid","regular"],label:"Credit Card",svg:{solid:{viewBox:["0","0","576","512"],path:"M0 432c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V256H0v176zm192-68c0-6.6 5.4-12 12-12h136c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-40zm-128 0c0-6.6 5.4-12 12-12h72c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM576 80v48H0V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M527.9 32H48.1C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48.1 48h479.8c26.6 0 48.1-21.5 48.1-48V80c0-26.5-21.5-48-48.1-48zM54.1 80h467.8c3.3 0 6 2.7 6 6v42H48.1V86c0-3.3 2.7-6 6-6zm467.8 352H54.1c-3.3 0-6-2.7-6-6V256h479.8v170c0 3.3-2.7 6-6 6zM192 332v40c0 6.6-5.4 12-12 12h-72c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h72c6.6 0 12 5.4 12 12zm192 0v40c0 6.6-5.4 12-12 12H236c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h136c6.6 0 12 5.4 12 12z"/></svg>',viewBox:["0","0","576","512"],width:576,height:512,path:"M527.9 32H48.1C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48.1 48h479.8c26.6 0 48.1-21.5 48.1-48V80c0-26.5-21.5-48-48.1-48zM54.1 80h467.8c3.3 0 6 2.7 6 6v42H48.1V86c0-3.3 2.7-6 6-6zm467.8 352H54.1c-3.3 0-6-2.7-6-6V256h479.8v170c0 3.3-2.7 6-6 6zM192 332v40c0 6.6-5.4 12-12 12h-72c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h72c6.6 0 12 5.4 12 12zm192 0v40c0 6.6-5.4 12-12 12H236c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h136c6.6 0 12 5.4 12 12z"}}},"critical-role":{search:{terms:["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},styles:["brands"],label:"Critical Role",svg:{brands:{viewBox:["0","0","445.64","512"],path:"M224.82 0c.26.15 216.57 124.51 217.12 124.72 3.04 1.18 3.7 3.46 3.7 6.56-.07 83.45-.06 166.9-.01 250.36 0 2.77-.98 4.43-3.38 5.78C420.88 399.41 234.39 505.71 223.32 512h-3C141 466.34 2.08 386.56 1.93 386.48c-1.29-.74-1.96-1.75-1.88-3.24.04-.87-.03-225.94-.05-253.1 0-2.44.89-3.79 2.93-4.93C26.19 112.11 212.2 5.98 223.07 0h1.75zM214.4 20.42l-.22-.16C149.43 57.12 84.69 94 19.95 130.87c.04.12.08.23.13.35 10.19 3.84 20.39 7.69 30.86 11.64-7.71 5.99-8.32 6.03-10.65 5.13-.1-.04-24.17-9.28-26.8-9.99v230.42c.88-1.41 64.07-110.91 64.13-111.01 1.62-2.82 3.03-1.92 9.12-1.52 1.4.09 1.48.22.78 1.42-41.19 71.33-36.4 62.99-67.48 116.94-.81 1.4-.61 1.13 1.25 1.13 227.73 0 176.4 0 186.5.03 1.44 0 1.69-.23 1.7-1.64.01-2.96.01-5.92 0-8.88 0-1.34 2.36-.81-18.37-1.01-7.46-.07-14.14-3.22-21.38-12.7-7.38-9.66-14.62-19.43-21.85-29.21-2.28-3.08-3.45-2.38-16.76-2.38-1.75 0-1.78 0-1.76 1.82.29 26.21.15 25.27 1.04 32.66.52 4.37 2.16 4.2 9.69 4.81 3.14.26 3.88 4.08.52 4.92-1.57.39-31.6.51-33.67-.1-2.27-.66-2.55-4.08.3-4.73 3.29-.76 6.16.81 6.66-4.44 1.3-13.66 1.17-9.04 1.1-79.42-.01-10.82-.35-12.58-5.36-13.55-1.22-.24-3.54-.16-4.69-.55-2.88-.97-2-4.84 1.77-4.85 33.67-.03 46.08-1.07 56.06 4.86 7.74 4.61 11.98 11.48 12.51 20.4.88 14.59-6.51 22.35-14.99 32.59-.68.82-.72 1.38-.04 2.22 2.6 3.25 5.05 6.63 7.71 9.83 27.56 33.23 24.11 30.54 41.28 33.06.89.13 1.02-.42 1.01-1.15-.02-3.67.01-7.33-.02-11-.01-1.02.32-1.43 1.41-1.26 12.54 1.91 21.85-.07 23.58-.3 1.08-.15 1.5.2 1.48 1.33 0 .11.88 26.69.87 26.8-.05 1.52.67 1.62 1.89 1.62 62.38-.02 125.15-.02 186.71-.02-27.12-47.03-54.11-93.85-81.18-140.81 2.26-.66-.4-.03 6.69-1.39 2.03-.39 2.05-.41 3.11 1.44 7.31 12.64 77.31 133.96 77.37 134.06V137.98c-1.72.5-103.3 38.72-105.76 39.68-1.08.42-1.55.2-1.91-.88-.63-1.9-1.34-3.76-2.09-5.62-.32-.79-.09-1.13.65-1.39.1-.04 95.53-35.85 103.04-38.77C360.69 93.43 295.55 56 230.1 18.4c29.07 50.36 57.95 100.37 86.82 150.39-.09.11-.18.22-.28.33-9.57-.9-10.46-1.6-11.8-3.94-.96-1.69-73.5-127.71-82-142.16-9.1 14.67-83.56 146.21-85.37 146.32-2.93.17-5.88.08-9.25.08 28.83-49.83 57.5-99.42 86.18-149zm51.93 129.92c1.85-.05 3.7-.52 5.54-.85 1.69-.3 2.53.2 2.6 1.92 0 .11.07 19.06-.86 20.45-.87 1.3-1.88 1.22-2.6-.19-4.96-9.69 6.22-9.66-39.12-12.05-.7-.04-1 .23-.97.93 0 .13 3.72 121.98 3.73 122.11.02.89.52 1.2 1.21 1.51 2.92 1.31 5.96 2.42 8.7 4.05 7.31 4.33 11.38 10.84 12.41 19.31 1.44 11.8-2.77 35.77-32.21 37.14-2.75.13-28.26 1.08-34.14-23.25-4.66-19.26 8.26-32.7 19.89-36.4 1.49-.47 1.95-1.26 1.98-2.66.1-5.63 3-107.1 3.71-121.35.05-1.08-.62-1.16-1.35-1.15-32.35.52-36.75-.34-40.22 8.52-2.42 6.18-4.14 1.32-3.95.23a1361.1 1361.1 0 0 1 3.31-18.03c.4-2.11 1.43-2.61 3.43-1.86 5.59 2.11 6.72 1.7 37.25 1.92 1.73.01 1.78-.08 1.82-1.85.68-27.49.58-22.59.97-29.55.07-1.29-.41-2.17-1.63-2.8-5.6-2.91-8.75-7.55-8.9-13.87-.35-14.81 17.72-21.67 27.38-11.51 6.84 7.19 5.8 18.91-2.45 24.15-1.66 1.06-2.31 2.33-2.22 4.34.03.59-.11-4.31.98 30.05.03.9.43 1.12 1.24 1.11.1 0 23.01-.09 34.47-.37zM67.27 141.7c19.84-4.51 32.68-.56 52.49 1.69 2.76.31 3.74 1.22 3.62 3.99-.21 4.99-1.16 22.33-1.24 23.15-.1 1.04-.6 1.91-1.63 2.34-4.06 1.7-3.61-4.45-4.01-7.29-3.13-22.43-73.87-32.7-74.63 25.4-.31 23.92 17.01 53.63 54.08 50.88 27.24-2.01 19.05-20.19 24.84-20.47 1.98-.1 3.33 1.33 2.98 3.36-1.83 10.85-3.42 18.95-3.45 19.15-1.51 9.18-86.67 22.08-93.35-42.05-2.68-25.87 10.47-53.37 40.3-60.15zm79.99 87.67c-6.5-.03-12.99 0-19.49-.04-1.96-.01-2.78-1.61-2.66-1.79 2.38-3.75 5.89.92 5.86-6.14-.08-25.75.21-37.99.23-40.1.03-3.42-.53-4.65-3.32-4.94-7-.72-3.11-3.37-1.11-3.38 11.84-.1 22.62-.18 30.05.72 8.77 1.07 16.71 12.63 7.93 22.62-1.98 2.25-4.03 4.42-6.14 6.73.95 1.15 6.9 8.82 17.28 19.68 2.66 2.78 6.15 3.51 9.88 3.13 1.22-.12 2.11-.75 2.23-2.12.3-3.42.26 4.73.45-40.58.02-5.65-.34-6.58-3.23-6.83-3.95-.35-4.03-2.26-.69-3.37.12-.04 18.98-.09 19.09-.09.32 0 4.49.53 1.05 3.38-.05.05-.16.03-.24.04-3.61.26-3.94.98-3.96 4.62-.27 43.93.07 40.23.41 42.82.11.84.27 2.23 5.1 2.14 2.49-.04 3.86 3.37-.02 3.4-10.37.08-20.74.03-31.11.07-10.67.04-13.47-6.2-24.21-20.82-1.6-2.18-8.31-2.36-8.2-.37.88 16.47 0 17.78 3.99 17.67 4.75-.1 4.73 3.57.83 3.55zm274.97-10.15c-1.21 7.13.17 10.38-5.3 10.34-61.55-.42-47.82-.22-50.72-.31-1.22-.04-2.43-.44-3.63-.73-2.53-.6 1.48-1.23-.38-5.6-1.43-3.37-2.78-6.78-4.11-10.19-.38-.98-.94-1.44-2.04-1.44-3.12 0-7.27-.44-14.58.07-.58.04-1.4.55-1.62 1.06-1.58 3.62-3.07 7.29-4.51 10.96-1.27 3.23 7.86 1.32 12.19 2.16 2.97.57 4.53 3.72.66 3.73-8.79.03-17.58.06-26.37.05-2.92 0-3.09-3.15-.74-3.21 2.67-.07 4.74-1.13 5.92-3.47 1.5-2.97 2.8-6.04 4.11-9.09 18.18-42.14 17.06-40.17 18.42-41.61 1-1.06 2.07-1.05 3.03.04 2.93 3.34 18.4 44.71 23.62 51.92 1.96 2.7 5.74 1.98 6.36 2.01 3.61.13 3.97-1.11 4.13-4.29.09-1.87.08 1.17.07-41.24 0-4.46-2.36-3.74-5.55-4.27-.26-.04-2.56-.63-.08-3.06.21-.2-.89-.24 21.7-.15 2.32.01 5.32 2.75-1.21 3.45-1.81.19-2.58 1-2.66 2.83-.07 1.63-.19 38.89.29 41.21.35 1.73 1.73 2.38 3.23 2.43 13.25.43 14.92.44 16.04-3.41 1.67-5.78 4.13-2.52 3.73-.19zm-104.68 64.37c-4.24 0-4.42-3.39-.61-3.41 35.91-.16 28.11.38 37.19-.65 1.68-.19 2.38.24 2.25 1.89-.26 3.39-.64 6.78-1.03 10.16-.25 2.16-3.2 2.61-3.4-.15-.38-5.31-2.15-4.45-15.63-5.08-1.58-.07-1.64-.02-1.64 1.52v16.12c0 1.65 0 1.6 1.62 1.47 3.12-.25 10.31.34 15.69-1.52.47-.16 3.3-1.79 3.07 1.76-.01.21-.76 10.35-1.18 11.39-.53 1.29-1.88 1.51-2.58.32-1.17-1.95 0-5.08-3.71-5.3-15.42-.9-12.91-2.55-12.91 5.99 0 12.25-.76 16.11 3.89 16.24 16.64.48 14.4 0 16.43-5.71.84-2.37 3.5-1.77 3.18.58-.44 3.21-.85 6.43-1.23 9.64-.04.36-.16 2.4-4.66 2.39-37.16-.08-34.54-.19-35.21-.31-2.72-.51-2.2-3.04.22-3.45 1.1-.19 4.03.54 4.16-2.56 2.44-56.22-.07-51.34-3.91-51.33zm-.41-109.52c2.46.61 3.13 1.76 2.95 4.65-.33 5.3-.34 8.98-.55 9.69-.66 2.23-3.15 2.12-3.34-.27-.38-4.81-3.05-7.82-7.57-9.15-26.28-7.73-32.81 15.46-27.17 30.22 5.88 15.41 21.99 15.92 28.86 13.78 5.92-1.85 5.88-6.5 6.91-7.58 1.23-1.3 2.25-1.84 3.12 1.1.03.1.57 11.89-5.97 12.75-1.6.21-19.38 3.69-32.68-3.39-21.01-11.19-16.74-35.47-6.88-45.33 14.03-14.06 39.91-7.06 42.32-6.47zM288.8 280.14c3.28 0 3.66 3 .16 3.43-2.61.32-4.97-.42-5 5.46-.01 1.98-.19 29.05.4 41.45.11 2.29 1.15 3.52 3.44 3.65 22.03 1.21 14.95-1.65 18.79-6.34 1.83-2.24 2.76.84 2.76 1.08.35 13.62-3.96 12.39-5.19 12.4-.1 0-38.08-.18-38.18-.19-1.93-.23-2.06-2.99-.42-3.38 1.99-.48 4.94.4 5.13-2.8.96-15.87.57-44.65.34-47.81-.27-3.77-2.8-3.27-5.68-3.71-2.47-.38-1.99-3.22.34-3.22 1.47-.02 17.99-.03 23.11-.02zm-31.63-57.79c.07 4.08 2.86 3.46 6.01 3.58 2.61.1 2.53 3.41-.07 3.43-6.48.04-13.7-.02-21.61-.06-3.84-.02-3.38-3.35.04-3.37 4.49-.03 3.24 1.61 3.41-45.54.02-5.08-3.27-3.54-4.72-4.23-2.58-1.23-1.36-3.09.41-3.15 1.29-.05 20.19-.41 21.17.21 1.13.72 1.87 1.65-.42 2.86-.99.52-3.86-.28-4.15 2.47-.02.21-.82 1.63-.07 43.8zm-36.91 274.27c1.14.66 2.12.66 3.26 0 16.99-9.79 181.97-103.57 197.42-112.51-.14-.43 11.26-.18-181.52-.27-1.22 0-1.57.37-1.53 1.56 0 .1 1.25 44.51 1.22 50.38-.02 2.58-.62 5.22-1.36 7.71-.55 1.83.38-.5-13.5 32.23-.73 1.72-1.04 2.21-1.97-.08-4.19-10.34-8.28-20.72-12.57-31.01-1.46-3.5-2.24-7-2-10.79.16-2.46.8-16.12 1.51-48.02.04-1.95.01-1.96-1.96-1.96h-183c2.58 1.63 178.32 102.57 196 112.76zm-90.9-188.75c0 2.4.36 2.79 2.76 3.03 11.54 1.17 21.04 3.74 25.64-7.32 6.01-14.46 2.66-34.41-12.48-38.84-2.01-.59-15.96-2.76-15.94 1.51.05 8.01.01 11.58.02 41.62zm105.75-15.05c0 2.13 1.07 38.68 1.09 39.13.34 9.94-25.58 5.77-25.23-2.59.08-2.02 1.37-37.42 1.1-39.43-14.1 7.44-14.42 40.21 6.44 48.8 8.43 3.47 17.54.6 22.39-7.07 4.91-7.76 6.84-29.47-5.43-38.96-.12.05-.24.09-.36.12zM222.83 94.78c-9.83-.03-9.73 14.75-.07 14.87 9.59.11 10.1-14.84.07-14.87zm-80.15 103.87c.02 1.8.41 2.4 2.17 2.58 13.62 1.39 12.51-10.99 12.16-13.36-1.69-11.22-14.38-10.2-14.35-7.81.05 4.5-.03 13.68.02 18.59zm212.31 6.4c-2.03-5.28-4-10.39-6.1-15.84-2.16 5.48-4.16 10.57-6.23 15.84h12.33z"}}},crop:{search:{terms:["design"]},styles:["solid"],label:"crop",svg:{solid:{viewBox:["0","0","512","512"],path:"M488 352h-40V109.25l59.31-59.31c6.25-6.25 6.25-16.38 0-22.63L484.69 4.69c-6.25-6.25-16.38-6.25-22.63 0L402.75 64H192v96h114.75L160 306.75V24c0-13.26-10.75-24-24-24H88C74.75 0 64 10.74 64 24v40H24C10.75 64 0 74.74 0 88v48c0 13.25 10.75 24 24 24h40v264c0 13.25 10.75 24 24 24h232v-96H205.25L352 205.25V488c0 13.25 10.75 24 24 24h48c13.25 0 24-10.75 24-24v-40h40c13.25 0 24-10.75 24-24v-48c0-13.26-10.75-24-24-24z"}}},"crop-alt":{search:{terms:[]},styles:["solid"],label:"Alternate Crop",svg:{solid:{viewBox:["0","0","512","512"],path:"M488 352h-40V96c0-17.67-14.33-32-32-32H192v96h160v328c0 13.25 10.75 24 24 24h48c13.25 0 24-10.75 24-24v-40h40c13.25 0 24-10.75 24-24v-48c0-13.26-10.75-24-24-24zM160 24c0-13.26-10.75-24-24-24H88C74.75 0 64 10.74 64 24v40H24C10.75 64 0 74.74 0 88v48c0 13.25 10.75 24 24 24h40v256c0 17.67 14.33 32 32 32h224v-96H160V24z"}}},cross:{search:{terms:["catholicism","christianity"]},styles:["solid"],label:"Cross",svg:{solid:{viewBox:["0","0","384","512"],path:"M352 128h-96V32c0-17.67-14.33-32-32-32h-64c-17.67 0-32 14.33-32 32v96H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h96v224c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V256h96c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32z"}}},crosshairs:{search:{terms:["gpd","picker","position"]},styles:["solid"],label:"Crosshairs",svg:{solid:{viewBox:["0","0","512","512"],path:"M500 224h-30.364C455.724 130.325 381.675 56.276 288 42.364V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v30.364C130.325 56.276 56.276 130.325 42.364 224H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h30.364C56.276 381.675 130.325 455.724 224 469.636V500c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-30.364C381.675 455.724 455.724 381.675 469.636 288H500c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12zM288 404.634V364c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40.634C165.826 392.232 119.783 346.243 107.366 288H148c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40.634C119.768 165.826 165.757 119.783 224 107.366V148c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-40.634C346.174 119.768 392.217 165.757 404.634 224H364c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40.634C392.232 346.174 346.243 392.217 288 404.634zM288 256c0 17.673-14.327 32-32 32s-32-14.327-32-32c0-17.673 14.327-32 32-32s32 14.327 32 32z"}}},crow:{search:{terms:["bird","bullfrog","fauna","halloween","holiday","toad"]},styles:["solid"],label:"Crow",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 32h-16.36C513.04 12.68 490.09 0 464 0c-44.18 0-80 35.82-80 80v20.98L12.09 393.57A30.216 30.216 0 0 0 0 417.74c0 22.46 23.64 37.07 43.73 27.03L165.27 384h96.49l44.41 120.1c2.27 6.23 9.15 9.44 15.38 7.17l22.55-8.21c6.23-2.27 9.44-9.15 7.17-15.38L312.94 384H352c1.91 0 3.76-.23 5.66-.29l44.51 120.38c2.27 6.23 9.15 9.44 15.38 7.17l22.55-8.21c6.23-2.27 9.44-9.15 7.17-15.38l-41.24-111.53C485.74 352.8 544 279.26 544 192v-80l96-16c0-35.35-42.98-64-96-64zm-80 72c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"}}},crown:{search:{terms:[]},styles:["solid"],label:"Crown",svg:{solid:{viewBox:["0","0","640","512"],path:"M528 448H112c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h416c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm64-320c-26.5 0-48 21.5-48 48 0 7.1 1.6 13.7 4.4 19.8L476 239.2c-15.4 9.2-35.3 4-44.2-11.6L350.3 85C361 76.2 368 63 368 48c0-26.5-21.5-48-48-48s-48 21.5-48 48c0 15 7 28.2 17.7 37l-81.5 142.6c-8.9 15.6-28.9 20.8-44.2 11.6l-72.3-43.4c2.7-6 4.4-12.7 4.4-19.8 0-26.5-21.5-48-48-48S0 149.5 0 176s21.5 48 48 48c2.6 0 5.2-.4 7.7-.8L128 416h384l72.3-192.8c2.5.4 5.1.8 7.7.8 26.5 0 48-21.5 48-48s-21.5-48-48-48z"}}},css3:{search:{terms:["code"]},styles:["brands"],label:"CSS 3 Logo",svg:{brands:{viewBox:["0","0","512","512"],path:"M480 32l-64 368-223.3 80L0 400l19.6-94.8h82l-8 40.6L210 390.2l134.1-44.4 18.8-97.1H29.5l16-82h333.7l10.5-52.7H56.3l16.3-82H480z"}}},"css3-alt":{search:{terms:[]},styles:["brands"],label:"Alternate CSS3 Logo",svg:{brands:{viewBox:["0","0","384","512"],path:"M0 32l34.9 395.8L192 480l157.1-52.2L384 32H0zm313.1 80l-4.8 47.3L193 208.6l-.3.1h111.5l-12.8 146.6-98.2 28.7-98.8-29.2-6.4-73.9h48.9l3.2 38.3 52.6 13.3 54.7-15.4 3.7-61.6-166.3-.5v-.1l-.2.1-3.6-46.3L193.1 162l6.5-2.7H76.7L70.9 112h242.2z"}}},cube:{search:{terms:["package"]},styles:["solid"],label:"Cube",svg:{solid:{viewBox:["0","0","512","512"],path:"M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"}}},cubes:{search:{terms:["packages"]},styles:["solid"],label:"Cubes",svg:{solid:{viewBox:["0","0","512","512"],path:"M488.6 250.2L392 214V105.5c0-15-9.3-28.4-23.4-33.7l-100-37.5c-8.1-3.1-17.1-3.1-25.3 0l-100 37.5c-14.1 5.3-23.4 18.7-23.4 33.7V214l-96.6 36.2C9.3 255.5 0 268.9 0 283.9V394c0 13.6 7.7 26.1 19.9 32.2l100 50c10.1 5.1 22.1 5.1 32.2 0l103.9-52 103.9 52c10.1 5.1 22.1 5.1 32.2 0l100-50c12.2-6.1 19.9-18.6 19.9-32.2V283.9c0-15-9.3-28.4-23.4-33.7zM358 214.8l-85 31.9v-68.2l85-37v73.3zM154 104.1l102-38.2 102 38.2v.6l-102 41.4-102-41.4v-.6zm84 291.1l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6zm240 112l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6z"}}},cut:{search:{terms:["scissors"]},styles:["solid"],label:"Cut",svg:{solid:{viewBox:["0","0","448","512"],path:"M278.06 256L444.48 89.57c4.69-4.69 4.69-12.29 0-16.97-32.8-32.8-85.99-32.8-118.79 0L210.18 188.12l-24.86-24.86c4.31-10.92 6.68-22.81 6.68-35.26 0-53.02-42.98-96-96-96S0 74.98 0 128s42.98 96 96 96c4.54 0 8.99-.32 13.36-.93L142.29 256l-32.93 32.93c-4.37-.61-8.83-.93-13.36-.93-53.02 0-96 42.98-96 96s42.98 96 96 96 96-42.98 96-96c0-12.45-2.37-24.34-6.68-35.26l24.86-24.86L325.69 439.4c32.8 32.8 85.99 32.8 118.79 0 4.69-4.68 4.69-12.28 0-16.97L278.06 256zM96 160c-17.64 0-32-14.36-32-32s14.36-32 32-32 32 14.36 32 32-14.36 32-32 32zm0 256c-17.64 0-32-14.36-32-32s14.36-32 32-32 32 14.36 32 32-14.36 32-32 32z"}}},cuttlefish:{search:{terms:[]},styles:["brands"],label:"Cuttlefish",svg:{brands:{viewBox:["0","0","440","512"],path:"M344 305.5c-17.5 31.6-57.4 54.5-96 54.5-56.6 0-104-47.4-104-104s47.4-104 104-104c38.6 0 78.5 22.9 96 54.5 13.7-50.9 41.7-93.3 87-117.8C385.7 39.1 320.5 8 248 8 111 8 0 119 0 256s111 248 248 248c72.5 0 137.7-31.1 183-80.7-45.3-24.5-73.3-66.9-87-117.8z"}}},"d-and-d":{search:{terms:[]},styles:["brands"],label:"Dungeons & Dragons",svg:{brands:{viewBox:["0","0","576","512"],path:"M82.5 98.9c-.6-17.2 2-33.8 12.7-48.2.3 7.4 1.2 14.5 4.2 21.6 5.9-27.5 19.7-49.3 42.3-65.5-1.9 5.9-3.5 11.8-3 17.7 8.7-7.4 18.8-17.8 44.4-22.7 14.7-2.8 29.7-2 42.1 1 38.5 9.3 61 34.3 69.7 72.3 5.3 23.1.7 45-8.3 66.4-5.2 12.4-12 24.4-20.7 35.1-2-1.9-3.9-3.8-5.8-5.6-42.8-40.8-26.8-25.2-37.4-37.4-1.1-1.2-1-2.2-.1-3.6 8.3-13.5 11.8-28.2 10-44-1.1-9.8-4.3-18.9-11.3-26.2-14.5-15.3-39.2-15-53.5.6-11.4 12.5-14.1 27.4-10.9 43.6.2 1.3.4 2.7 0 3.9-3.4 13.7-4.6 27.6-2.5 41.6.1.5.1 1.1.1 1.6 0 .3-.1.5-.2 1.1-21.8-11-36-28.3-43.2-52.2-8.3 17.8-11.1 35.5-6.6 54.1-15.6-15.2-21.3-34.3-22-55.2zm469.6 123.2c-11.6-11.6-25-20.4-40.1-26.6-12.8-5.2-26-7.9-39.9-7.1-10 .6-19.6 3.1-29 6.4-2.5.9-5.1 1.6-7.7 2.2-4.9 1.2-7.3-3.1-4.7-6.8 3.2-4.6 3.4-4.2 15-12 .6-.4 1.2-.8 2.2-1.5h-2.5c-.6 0-1.2.2-1.9.3-19.3 3.3-30.7 15.5-48.9 29.6-10.4 8.1-13.8 3.8-12-.5 1.4-3.5 3.3-6.7 5.1-10 1-1.8 2.3-3.4 3.5-5.1-.2-.2-.5-.3-.7-.5-27 18.3-46.7 42.4-57.7 73.3.3.3.7.6 1 .9.3-.6.5-1.2.9-1.7 10.4-12.1 22.8-21.8 36.6-29.8 18.2-10.6 37.5-18.3 58.7-20.2 4.3-.4 8.7-.1 13.1-.1-1.8.7-3.5.9-5.3 1.1-18.5 2.4-35.5 9-51.5 18.5-30.2 17.9-54.5 42.2-75.1 70.4-.3.4-.4.9-.7 1.3 14.5 5.3 24 17.3 36.1 25.6.2-.1.3-.2.4-.4l1.2-2.7c12.2-26.9 27-52.3 46.7-74.5 16.7-18.8 38-25.3 62.5-20 5.9 1.3 11.4 4.4 17.2 6.8 2.3-1.4 5.1-3.2 8-4.7 8.4-4.3 17.4-7 26.7-9 14.7-3.1 29.5-4.9 44.5-1.3v-.5c-.5-.4-1.2-.8-1.7-1.4zM316.7 397.6c-39.4-33-22.8-19.5-42.7-35.6-.8.9 0-.2-1.9 3-11.2 19.1-25.5 35.3-44 47.6-10.3 6.8-21.5 11.8-34.1 11.8-21.6 0-38.2-9.5-49.4-27.8-12-19.5-13.3-40.7-8.2-62.6 7.8-33.8 30.1-55.2 38.6-64.3-18.7-6.2-33 1.7-46.4 13.9.8-13.9 4.3-26.2 11.8-37.3-24.3 10.6-45.9 25-64.8 43.9-.3-5.8 5.4-43.7 5.6-44.7.3-2.7-.6-5.3-3-7.4-24.2 24.7-44.5 51.8-56.1 84.6 7.4-5.9 14.9-11.4 23.6-16.2-8.3 22.3-19.6 52.8-7.8 101.1 4.6 19 11.9 36.8 24.1 52.3 2.9 3.7 6.3 6.9 9.5 10.3.2-.2.4-.3.6-.5-1.4-7-2.2-14.1-1.5-21.9 2.2 3.2 3.9 6 5.9 8.6 12.6 16 28.7 27.4 47.2 35.6 25 11.3 51.1 13.3 77.9 8.6 54.9-9.7 90.7-48.6 116-98.8 1-1.8.6-2.9-.9-4.2zm172-46.4c-9.5-3.1-22.2-4.2-28.7-2.9 9.9 4 14.1 6.6 18.8 12 12.6 14.4 10.4 34.7-5.4 45.6-11.7 8.1-24.9 10.5-38.9 9.1-1.2-.1-2.3-.4-3-.6 2.8-3.7 6-7 8.1-10.8 9.4-16.8 5.4-42.1-8.7-56.1-2.1-2.1-4.6-3.9-7-5.9-.3 1.3-.1 2.1.1 2.8 4.2 16.6-8.1 32.4-24.8 31.8-7.6-.3-13.9-3.8-19.6-8.5-19.5-16.1-39.1-32.1-58.5-48.3-5.9-4.9-12.5-8.1-20.1-8.7-4.6-.4-9.3-.6-13.9-.9-5.9-.4-8.8-2.8-10.4-8.4-.9-3.4-1.5-6.8-2.2-10.2-1.5-8.1-6.2-13-14.3-14.2-4.4-.7-8.9-1-13.3-1.5-13-1.4-19.8-7.4-22.6-20.3-5 11-1.6 22.4 7.3 29.9 4.5 3.8 9.3 7.3 13.8 11.2 4.6 3.8 7.4 8.7 7.9 14.8.4 4.7.8 9.5 1.8 14.1 2.2 10.6 8.9 18.4 17 25.1 16.5 13.7 33 27.3 49.5 41.1 17.9 15 13.9 32.8 13 56-.9 22.9 12.2 42.9 33.5 51.2 1 .4 2 .6 3.6 1.1-15.7-18.2-10.1-44.1.7-52.3.3 2.2.4 4.3.9 6.4 9.4 44.1 45.4 64.2 85 56.9 16-2.9 30.6-8.9 42.9-19.8 2-1.8 3.7-4.1 5.9-6.5-19.3 4.6-35.8.1-50.9-10.6.7-.3 1.3-.3 1.9-.3 21.3 1.8 40.6-3.4 57-17.4 19.5-16.6 26.6-42.9 17.4-66-8.3-20.1-23.6-32.3-43.8-38.9zM99.4 179.3c-5.3-9.2-13.2-15.6-22.1-21.3 13.7-.5 26.6.2 39.6 3.7-7-12.2-8.5-24.7-5-38.7 5.3 11.9 13.7 20.1 23.6 26.8 19.7 13.2 35.7 19.6 46.7 30.2 3.4 3.3 6.3 7.1 9.6 10.9-.8-2.1-1.4-4.1-2.2-6-5-10.6-13-18.6-22.6-25-1.8-1.2-2.8-2.5-3.4-4.5-3.3-12.5-3-25.1-.7-37.6 1-5.5 2.8-10.9 4.5-16.3.8-2.4 2.3-4.6 4-6.6.6 6.9 0 25.5 19.6 46 10.8 11.3 22.4 21.9 33.9 32.7 9 8.5 18.3 16.7 25.5 26.8 1.1 1.6 2.2 3.3 3.8 4.7-5-13-14.2-24.1-24.2-33.8-9.6-9.3-19.4-18.4-29.2-27.4-3.3-3-4.6-6.7-5.1-10.9-1.2-10.4 0-20.6 4.3-30.2.5-1 1.1-2 1.9-3.3.5 4.2.6 7.9 1.4 11.6 4.8 23.1 20.4 36.3 49.3 63.5 10 9.4 19.3 19.2 25.6 31.6 4.8 9.3 7.3 19 5.7 29.6-.1.6.5 1.7 1.1 2 6.2 2.6 10 6.9 9.7 14.3 7.7-2.6 12.5-8 16.4-14.5 4.2 20.2-9.1 50.3-27.2 58.7.4-4.5 5-23.4-16.5-27.7-6.8-1.3-12.8-1.3-22.9-2.1 4.7-9 10.4-20.6.5-22.4-24.9-4.6-52.8 1.9-57.8 4.6 8.2.4 16.3 1 23.5 3.3-2 6.5-4 12.7-5.8 18.9-1.9 6.5 2.1 14.6 9.3 9.6 1.2-.9 2.3-1.9 3.3-2.7-3.1 17.9-2.9 15.9-2.8 18.3.3 10.2 9.5 7.8 15.7 7.3-2.5 11.8-29.5 27.3-45.4 25.8 7-4.7 12.7-10.3 15.9-17.9-6.5.8-12.9 1.6-19.2 2.4l-.3-.9c4.7-3.4 8-7.8 10.2-13.1 8.7-21.1-3.6-38-25-39.9-9.1-.8-17.8.8-25.9 5.5 6.2-15.6 17.2-26.6 32.6-34.5-15.2-4.3-8.9-2.7-24.6-6.3 14.6-9.3 30.2-13.2 46.5-14.6-5.2-3.2-48.1-3.6-70.2 20.9 7.9 1.4 15.5 2.8 23.2 4.2-23.8 7-44 19.7-62.4 35.6 1.1-4.8 2.7-9.5 3.3-14.3.6-4.5.8-9.2.1-13.6-1.5-9.4-8.9-15.1-19.7-16.3-7.9-.9-15.6.1-23.3 1.3-.9.1-1.7.3-2.9 0 15.8-14.8 36-21.7 53.1-33.5 6-4.5 6.8-8.2 3-14.9zm128.4 26.8c3.3 16 12.6 25.5 23.8 24.3-4.6-11.3-12.1-19.5-23.8-24.3z"}}},dashcube:{search:{terms:[]},styles:["brands"],label:"DashCube",svg:{brands:{viewBox:["0","0","448","512"],path:"M326.6 104H110.4c-51.1 0-91.2 43.3-91.2 93.5V427c0 50.5 40.1 85 91.2 85h227.2c51.1 0 91.2-34.5 91.2-85V0L326.6 104zM153.9 416.5c-17.7 0-32.4-15.1-32.4-32.8V240.8c0-17.7 14.7-32.5 32.4-32.5h140.7c17.7 0 32 14.8 32 32.5v123.5l51.1 52.3H153.9z"}}},database:{search:{terms:[]},styles:["solid"],label:"Database",svg:{solid:{viewBox:["0","0","448","512"],path:"M448 73.143v45.714C448 159.143 347.667 192 224 192S0 159.143 0 118.857V73.143C0 32.857 100.333 0 224 0s224 32.857 224 73.143zM448 176v102.857C448 319.143 347.667 352 224 352S0 319.143 0 278.857V176c48.125 33.143 136.208 48.572 224 48.572S399.874 209.143 448 176zm0 160v102.857C448 479.143 347.667 512 224 512S0 479.143 0 438.857V336c48.125 33.143 136.208 48.572 224 48.572S399.874 369.143 448 336z"}}},deaf:{search:{terms:[]},styles:["solid"],label:"Deaf",svg:{solid:{viewBox:["0","0","512","512"],path:"M216 260c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-44.112 35.888-80 80-80s80 35.888 80 80c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-13.234-10.767-24-24-24s-24 10.766-24 24zm24-176c-97.047 0-176 78.953-176 176 0 15.464 12.536 28 28 28s28-12.536 28-28c0-66.168 53.832-120 120-120s120 53.832 120 120c0 75.164-71.009 70.311-71.997 143.622L288 404c0 28.673-23.327 52-52 52-15.464 0-28 12.536-28 28s12.536 28 28 28c59.475 0 107.876-48.328 108-107.774.595-34.428 72-48.24 72-144.226 0-97.047-78.953-176-176-176zm268.485-52.201L480.2 3.515c-4.687-4.686-12.284-4.686-16.971 0L376.2 90.544c-4.686 4.686-4.686 12.284 0 16.971l28.285 28.285c4.686 4.686 12.284 4.686 16.97 0l87.03-87.029c4.687-4.688 4.687-12.286 0-16.972zM168.97 314.745c-4.686-4.686-12.284-4.686-16.97 0L3.515 463.23c-4.686 4.686-4.686 12.284 0 16.971L31.8 508.485c4.687 4.686 12.284 4.686 16.971 0L197.256 360c4.686-4.686 4.686-12.284 0-16.971l-28.286-28.284z"}}},delicious:{search:{terms:[]},styles:["brands"],label:"Delicious Logo",svg:{brands:{viewBox:["0","0","448","512"],path:"M446.5 68c-.4-1.5-.9-3-1.4-4.5-.9-2.5-2-4.8-3.3-7.1-1.4-2.4-3-4.8-4.7-6.9-2.1-2.5-4.4-4.8-6.9-6.8-1.1-.9-2.2-1.7-3.3-2.5-1.3-.9-2.6-1.7-4-2.4-1.8-1-3.6-1.8-5.5-2.5-1.7-.7-3.5-1.3-5.4-1.7-3.8-1-7.9-1.5-12-1.5H48C21.5 32 0 53.5 0 80v352c0 4.1.5 8.2 1.5 12 2 7.7 5.8 14.6 11 20.3 1 1.1 2.1 2.2 3.3 3.3 5.7 5.2 12.6 9 20.3 11 3.8 1 7.9 1.5 12 1.5h352c26.5 0 48-21.5 48-48V80c-.1-4.1-.6-8.2-1.6-12zM416 432c0 8.8-7.2 16-16 16H224V256H32V80c0-8.8 7.2-16 16-16h176v192h192v176z"}}},deploydog:{search:{terms:[]},styles:["brands"],label:"deploy.dog",svg:{brands:{viewBox:["0","0","512","512"],path:"M382.2 136h51.7v239.6h-51.7v-20.7c-19.8 24.8-52.8 24.1-73.8 14.7-26.2-11.7-44.3-38.1-44.3-71.8 0-29.8 14.8-57.9 43.3-70.8 20.2-9.1 52.7-10.6 74.8 12.9V136zm-64.7 161.8c0 18.2 13.6 33.5 33.2 33.5 19.8 0 33.2-16.4 33.2-32.9 0-17.1-13.7-33.2-33.2-33.2-19.6 0-33.2 16.4-33.2 32.6zM188.5 136h51.7v239.6h-51.7v-20.7c-19.8 24.8-52.8 24.1-73.8 14.7-26.2-11.7-44.3-38.1-44.3-71.8 0-29.8 14.8-57.9 43.3-70.8 20.2-9.1 52.7-10.6 74.8 12.9V136zm-64.7 161.8c0 18.2 13.6 33.5 33.2 33.5 19.8 0 33.2-16.4 33.2-32.9 0-17.1-13.7-33.2-33.2-33.2-19.7 0-33.2 16.4-33.2 32.6zM448 96c17.5 0 32 14.4 32 32v256c0 17.5-14.4 32-32 32H64c-17.5 0-32-14.4-32-32V128c0-17.5 14.4-32 32-32h384m0-32H64C28.8 64 0 92.8 0 128v256c0 35.2 28.8 64 64 64h384c35.2 0 64-28.8 64-64V128c0-35.2-28.8-64-64-64z"}}},deskpro:{search:{terms:[]},styles:["brands"],label:"Deskpro",svg:{brands:{viewBox:["0","0","480","512"],path:"M205.9 512l31.1-38.4c12.3-.2 25.6-1.4 36.5-6.6 38.9-18.6 38.4-61.9 38.3-63.8-.1-5-.8-4.4-28.9-37.4H362c-.2 50.1-7.3 68.5-10.2 75.7-9.4 23.7-43.9 62.8-95.2 69.4-8.7 1.1-32.8 1.2-50.7 1.1zm200.4-167.7c38.6 0 58.5-13.6 73.7-30.9l-175.5-.3-17.4 31.3 119.2-.1zm-43.6-223.9v168.3h-73.5l-32.7 55.5H250c-52.3 0-58.1-56.5-58.3-58.9-1.2-13.2-21.3-11.6-20.1 1.8 1.4 15.8 8.8 40 26.4 57.1h-91c-25.5 0-110.8-26.8-107-114V16.9C0 .9 9.7.3 15 .1h82c.2 0 .3.1.5.1 4.3-.4 50.1-2.1 50.1 43.7 0 13.3 20.2 13.4 20.2 0 0-18.2-5.5-32.8-15.8-43.7h84.2c108.7-.4 126.5 79.4 126.5 120.2zm-132.5 56l64 29.3c13.3-45.5-42.2-71.7-64-29.3z"}}},desktop:{search:{terms:["computer","cpu","demo","desktop","device","machine","monitor","pc","screen"]},styles:["solid"],label:"Desktop",svg:{solid:{viewBox:["0","0","576","512"],path:"M528 0H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h192l-16 48h-72c-13.3 0-24 10.7-24 24s10.7 24 24 24h272c13.3 0 24-10.7 24-24s-10.7-24-24-24h-72l-16-48h192c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-16 352H64V64h448v288z"}}},dev:{search:{terms:[]},styles:["brands"],label:"DEV",svg:{brands:{viewBox:["0","0","448","512"],path:"M120.12 208.29c-3.88-2.9-7.77-4.35-11.65-4.35H91.03v104.47h17.45c3.88 0 7.77-1.45 11.65-4.35 3.88-2.9 5.82-7.25 5.82-13.06v-69.65c-.01-5.8-1.96-10.16-5.83-13.06zM404.1 32H43.9C19.7 32 .06 51.59 0 75.8v360.4C.06 460.41 19.7 480 43.9 480h360.2c24.21 0 43.84-19.59 43.9-43.8V75.8c-.06-24.21-19.7-43.8-43.9-43.8zM154.2 291.19c0 18.81-11.61 47.31-48.36 47.25h-46.4V172.98h47.38c35.44 0 47.36 28.46 47.37 47.28l.01 70.93zm100.68-88.66H201.6v38.42h32.57v29.57H201.6v38.41h53.29v29.57h-62.18c-11.16.29-20.44-8.53-20.72-19.69V193.7c-.27-11.15 8.56-20.41 19.71-20.69h63.19l-.01 29.52zm103.64 115.29c-13.2 30.75-36.85 24.63-47.44 0l-38.53-144.8h32.57l29.71 113.72 29.57-113.72h32.58l-38.46 144.8z"}}},deviantart:{search:{terms:[]},styles:["brands"],label:"deviantART",svg:{brands:{viewBox:["0","0","320","512"],path:"M320 93.2l-98.2 179.1 7.4 9.5H320v127.7H159.1l-13.5 9.2-43.7 84c-.3 0-8.6 8.6-9.2 9.2H0v-93.2l93.2-179.4-7.4-9.2H0V102.5h156l13.5-9.2 43.7-84c.3 0 8.6-8.6 9.2-9.2H320v93.1z"}}},dharmachakra:{search:{terms:["buddhism","buddhist","wheel of dharma"]},styles:["solid"],label:"Dharmachakra",svg:{solid:{viewBox:["0","0","512","512"],path:"M495 225.06l-17.22 1.08c-5.27-39.49-20.79-75.64-43.86-105.84l12.95-11.43c6.92-6.11 7.25-16.79.73-23.31L426.44 64.4c-6.53-6.53-17.21-6.19-23.31.73L391.7 78.07c-30.2-23.06-66.35-38.58-105.83-43.86L286.94 17c.58-9.21-6.74-17-15.97-17h-29.94c-9.23 0-16.54 7.79-15.97 17l1.08 17.22c-39.49 5.27-75.64 20.79-105.83 43.86l-11.43-12.95c-6.11-6.92-16.79-7.25-23.31-.73L64.4 85.56c-6.53 6.53-6.19 17.21.73 23.31l12.95 11.43c-23.06 30.2-38.58 66.35-43.86 105.84L17 225.06c-9.21-.58-17 6.74-17 15.97v29.94c0 9.23 7.79 16.54 17 15.97l17.22-1.08c5.27 39.49 20.79 75.64 43.86 105.83l-12.95 11.43c-6.92 6.11-7.25 16.79-.73 23.31l21.17 21.17c6.53 6.53 17.21 6.19 23.31-.73l11.43-12.95c30.2 23.06 66.35 38.58 105.84 43.86L225.06 495c-.58 9.21 6.74 17 15.97 17h29.94c9.23 0 16.54-7.79 15.97-17l-1.08-17.22c39.49-5.27 75.64-20.79 105.84-43.86l11.43 12.95c6.11 6.92 16.79 7.25 23.31.73l21.17-21.17c6.53-6.53 6.19-17.21-.73-23.31l-12.95-11.43c23.06-30.2 38.58-66.35 43.86-105.83l17.22 1.08c9.21.58 17-6.74 17-15.97v-29.94c-.01-9.23-7.8-16.54-17.01-15.97zM281.84 98.61c24.81 4.07 47.63 13.66 67.23 27.78l-42.62 48.29c-8.73-5.44-18.32-9.54-28.62-11.95l4.01-64.12zm-51.68 0l4.01 64.12c-10.29 2.41-19.89 6.52-28.62 11.95l-42.62-48.29c19.6-14.12 42.42-23.71 67.23-27.78zm-103.77 64.33l48.3 42.61c-5.44 8.73-9.54 18.33-11.96 28.62l-64.12-4.01c4.07-24.81 13.66-47.62 27.78-67.22zm-27.78 118.9l64.12-4.01c2.41 10.29 6.52 19.89 11.95 28.62l-48.29 42.62c-14.12-19.6-23.71-42.42-27.78-67.23zm131.55 131.55c-24.81-4.07-47.63-13.66-67.23-27.78l42.61-48.3c8.73 5.44 18.33 9.54 28.62 11.96l-4 64.12zM256 288c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm25.84 125.39l-4.01-64.12c10.29-2.41 19.89-6.52 28.62-11.96l42.61 48.3c-19.6 14.12-42.41 23.71-67.22 27.78zm103.77-64.33l-48.29-42.62c5.44-8.73 9.54-18.32 11.95-28.62l64.12 4.01c-4.07 24.82-13.66 47.64-27.78 67.23zm-36.34-114.89c-2.41-10.29-6.52-19.89-11.96-28.62l48.3-42.61c14.12 19.6 23.71 42.42 27.78 67.23l-64.12 4z"}}},diagnoses:{search:{terms:[]},styles:["solid"],label:"Diagnoses",svg:{solid:{viewBox:["0","0","640","512"],path:"M496 256c8.8 0 16-7.2 16-16s-7.2-16-16-16-16 7.2-16 16 7.2 16 16 16zm-176-80c48.5 0 88-39.5 88-88S368.5 0 320 0s-88 39.5-88 88 39.5 88 88 88zM59.8 364c10.2 15.3 29.3 17.8 42.9 9.8 16.2-9.6 56.2-31.7 105.3-48.6V416h224v-90.7c49.1 16.8 89.1 39 105.3 48.6 13.6 8 32.7 5.3 42.9-9.8l17.8-26.7c8.8-13.2 7.6-34.6-10-45.1-11.9-7.1-29.7-17-51.1-27.4-28.1 46.1-99.4 17.8-87.7-35.1C409.3 217.2 365.1 208 320 208c-57 0-112.9 14.5-160 32.2-.2 40.2-47.6 63.3-79.2 36-11.2 6-21.3 11.6-28.7 16-17.6 10.5-18.8 31.8-10 45.1L59.8 364zM368 344c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm-96-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm-160 8c8.8 0 16-7.2 16-16s-7.2-16-16-16-16 7.2-16 16 7.2 16 16 16zm512 192H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h608c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16z"}}},dice:{search:{terms:["chance","gambling","game","roll"]},styles:["solid"],label:"Dice",svg:{solid:{viewBox:["0","0","640","512"],path:"M592 192H473.26c12.69 29.59 7.12 65.2-17 89.32L320 417.58V464c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48V240c0-26.51-21.49-48-48-48zM480 376c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24zm-46.37-186.7L258.7 14.37c-19.16-19.16-50.23-19.16-69.39 0L14.37 189.3c-19.16 19.16-19.16 50.23 0 69.39L189.3 433.63c19.16 19.16 50.23 19.16 69.39 0L433.63 258.7c19.16-19.17 19.16-50.24 0-69.4zM96 248c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24zm128 128c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24zm0-128c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24zm0-128c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24zm128 128c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"}}},"dice-d20":{search:{terms:["Dungeons & Dragons","chance","d&d","dnd","fantasy","gambling","game","roll"]},styles:["solid"],label:"Dice D20",svg:{solid:{viewBox:["0","0","480","512"],path:"M106.75 215.06L1.2 370.95c-3.08 5 .1 11.5 5.93 12.14l208.26 22.07-108.64-190.1zM7.41 315.43L82.7 193.08 6.06 147.1c-2.67-1.6-6.06.32-6.06 3.43v162.81c0 4.03 5.29 5.53 7.41 2.09zM18.25 423.6l194.4 87.66c5.3 2.45 11.35-1.43 11.35-7.26v-65.67l-203.55-22.3c-4.45-.5-6.23 5.59-2.2 7.57zm81.22-257.78L179.4 22.88c4.34-7.06-3.59-15.25-10.78-11.14L17.81 110.35c-2.47 1.62-2.39 5.26.13 6.78l81.53 48.69zM240 176h109.21L253.63 7.62C250.5 2.54 245.25 0 240 0s-10.5 2.54-13.63 7.62L130.79 176H240zm233.94-28.9l-76.64 45.99 75.29 122.35c2.11 3.44 7.41 1.94 7.41-2.1V150.53c0-3.11-3.39-5.03-6.06-3.43zm-93.41 18.72l81.53-48.7c2.53-1.52 2.6-5.16.13-6.78l-150.81-98.6c-7.19-4.11-15.12 4.08-10.78 11.14l79.93 142.94zm79.02 250.21L256 438.32v65.67c0 5.84 6.05 9.71 11.35 7.26l194.4-87.66c4.03-1.97 2.25-8.06-2.2-7.56zm-86.3-200.97l-108.63 190.1 208.26-22.07c5.83-.65 9.01-7.14 5.93-12.14L373.25 215.06zM240 208H139.57L240 383.75 340.43 208H240z"}}},"dice-d6":{search:{terms:["Dungeons & Dragons","chance","d&d","dnd","fantasy","gambling","game","roll"]},styles:["solid"],label:"Dice D6",svg:{solid:{viewBox:["0","0","448","512"],path:"M422.19 109.95L256.21 9.07c-19.91-12.1-44.52-12.1-64.43 0L25.81 109.95c-5.32 3.23-5.29 11.27.06 14.46L224 242.55l198.14-118.14c5.35-3.19 5.38-11.22.05-14.46zm13.84 44.63L240 271.46v223.82c0 12.88 13.39 20.91 24.05 14.43l152.16-92.48c19.68-11.96 31.79-33.94 31.79-57.7v-197.7c0-6.41-6.64-10.43-11.97-7.25zM0 161.83v197.7c0 23.77 12.11 45.74 31.79 57.7l152.16 92.47c10.67 6.48 24.05-1.54 24.05-14.43V271.46L11.97 154.58C6.64 151.4 0 155.42 0 161.83z"}}},"dice-five":{search:{terms:["chance","gambling","game","roll"]},styles:["solid"],label:"Dice Five",svg:{solid:{viewBox:["0","0","448","512"],path:"M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM128 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm96 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm96 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},"dice-four":{search:{terms:["chance","gambling","game","roll"]},styles:["solid"],label:"Dice Four",svg:{solid:{viewBox:["0","0","448","512"],path:"M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM128 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm192 192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},"dice-one":{search:{terms:["chance","gambling","game","roll"]},styles:["solid"],label:"Dice One",svg:{solid:{viewBox:["0","0","448","512"],path:"M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM224 288c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},"dice-six":{search:{terms:["chance","gambling","game","roll"]},styles:["solid"],label:"Dice Six",svg:{solid:{viewBox:["0","0","448","512"],path:"M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM128 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm192 192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},"dice-three":{search:{terms:["chance","gambling","game","roll"]},styles:["solid"],label:"Dice Three",svg:{solid:{viewBox:["0","0","448","512"],path:"M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM128 192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm96 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm96 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},"dice-two":{search:{terms:["chance","gambling","game","roll"]},styles:["solid"],label:"Dice Two",svg:{solid:{viewBox:["0","0","448","512"],path:"M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM128 192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm192 192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},digg:{search:{terms:[]},styles:["brands"],label:"Digg Logo",svg:{brands:{viewBox:["0","0","512","512"],path:"M81.7 172.3H0v174.4h132.7V96h-51v76.3zm0 133.4H50.9v-92.3h30.8v92.3zm297.2-133.4v174.4h81.8v28.5h-81.8V416H512V172.3H378.9zm81.8 133.4h-30.8v-92.3h30.8v92.3zm-235.6 41h82.1v28.5h-82.1V416h133.3V172.3H225.1v174.4zm51.2-133.3h30.8v92.3h-30.8v-92.3zM153.3 96h51.3v51h-51.3V96zm0 76.3h51.3v174.4h-51.3V172.3z"}}},"digital-ocean":{search:{terms:[]},styles:["brands"],label:"Digital Ocean",svg:{brands:{viewBox:["0","0","512","512"],path:"M256 504v-96.1c101.8 0 180.8-100.9 141.7-208-14.3-39.6-46.1-71.4-85.8-85.7-107.1-38.8-208.1 39.9-208.1 141.7H8C8 93.7 164.9-32.8 335 20.3c74.2 23.3 133.6 82.4 156.6 156.6C544.8 347.2 418.6 504 256 504zm.3-191.4h-95.6v95.6h95.6v-95.6zm-95.6 95.6H87v73.6h73.7v-73.6zM87 346.6H25.4v61.6H87v-61.6z"}}},"digital-tachograph":{search:{terms:[]},styles:["solid"],label:"Digital Tachograph",svg:{solid:{viewBox:["0","0","640","512"],path:"M608 96H32c-17.67 0-32 14.33-32 32v256c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V128c0-17.67-14.33-32-32-32zM304 352c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-8c0-4.42 3.58-8 8-8h224c4.42 0 8 3.58 8 8v8zM72 288v-16c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H80c-4.42 0-8-3.58-8-8zm64 0v-16c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8zm64 0v-16c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8zm64 0v-16c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8zm40-64c0 8.84-7.16 16-16 16H80c-8.84 0-16-7.16-16-16v-48c0-8.84 7.16-16 16-16h208c8.84 0 16 7.16 16 16v48zm272 128c0 4.42-3.58 8-8 8H344c-4.42 0-8-3.58-8-8v-8c0-4.42 3.58-8 8-8h224c4.42 0 8 3.58 8 8v8z"}}},directions:{search:{terms:[]},styles:["solid"],label:"Directions",svg:{solid:{viewBox:["0","0","512","512"],path:"M502.61 233.32L278.68 9.39c-12.52-12.52-32.83-12.52-45.36 0L9.39 233.32c-12.52 12.53-12.52 32.83 0 45.36l223.93 223.93c12.52 12.53 32.83 12.53 45.36 0l223.93-223.93c12.52-12.53 12.52-32.83 0-45.36zm-100.98 12.56l-84.21 77.73c-5.12 4.73-13.43 1.1-13.43-5.88V264h-96v64c0 4.42-3.58 8-8 8h-32c-4.42 0-8-3.58-8-8v-80c0-17.67 14.33-32 32-32h112v-53.73c0-6.97 8.3-10.61 13.43-5.88l84.21 77.73c3.43 3.17 3.43 8.59 0 11.76z"}}},discord:{search:{terms:[]},styles:["brands"],label:"Discord",svg:{brands:{viewBox:["0","0","448","512"],path:"M297.216 243.2c0 15.616-11.52 28.416-26.112 28.416-14.336 0-26.112-12.8-26.112-28.416s11.52-28.416 26.112-28.416c14.592 0 26.112 12.8 26.112 28.416zm-119.552-28.416c-14.592 0-26.112 12.8-26.112 28.416s11.776 28.416 26.112 28.416c14.592 0 26.112-12.8 26.112-28.416.256-15.616-11.52-28.416-26.112-28.416zM448 52.736V512c-64.494-56.994-43.868-38.128-118.784-107.776l13.568 47.36H52.48C23.552 451.584 0 428.032 0 398.848V52.736C0 23.552 23.552 0 52.48 0h343.04C424.448 0 448 23.552 448 52.736zm-72.96 242.688c0-82.432-36.864-149.248-36.864-149.248-36.864-27.648-71.936-26.88-71.936-26.88l-3.584 4.096c43.52 13.312 63.744 32.512 63.744 32.512-60.811-33.329-132.244-33.335-191.232-7.424-9.472 4.352-15.104 7.424-15.104 7.424s21.248-20.224 67.328-33.536l-2.56-3.072s-35.072-.768-71.936 26.88c0 0-36.864 66.816-36.864 149.248 0 0 21.504 37.12 78.08 38.912 0 0 9.472-11.52 17.152-21.248-32.512-9.728-44.8-30.208-44.8-30.208 3.766 2.636 9.976 6.053 10.496 6.4 43.21 24.198 104.588 32.126 159.744 8.96 8.96-3.328 18.944-8.192 29.44-15.104 0 0-12.8 20.992-46.336 30.464 7.68 9.728 16.896 20.736 16.896 20.736 56.576-1.792 78.336-38.912 78.336-38.912z"}}},discourse:{search:{terms:[]},styles:["brands"],label:"Discourse",svg:{brands:{viewBox:["0","0","448","512"],path:"M225.9 32C103.3 32 0 130.5 0 252.1 0 256 .1 480 .1 480l225.8-.2c122.7 0 222.1-102.3 222.1-223.9C448 134.3 348.6 32 225.9 32zM224 384c-19.4 0-37.9-4.3-54.4-12.1L88.5 392l22.9-75c-9.8-18.1-15.4-38.9-15.4-61 0-70.7 57.3-128 128-128s128 57.3 128 128-57.3 128-128 128z"}}},divide:{search:{terms:[]},styles:["solid"],label:"Divide",svg:{solid:{viewBox:["0","0","448","512"],path:"M224 352c-35.35 0-64 28.65-64 64s28.65 64 64 64 64-28.65 64-64-28.65-64-64-64zm0-192c35.35 0 64-28.65 64-64s-28.65-64-64-64-64 28.65-64 64 28.65 64 64 64zm192 48H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}},dizzy:{search:{terms:["dazed","disapprove","emoticon","face"]},styles:["solid","regular"],label:"Dizzy Face",svg:{solid:{viewBox:["0","0","496","512"],path:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm-96 206.6l-28.7 28.7c-14.8 14.8-37.8-7.5-22.6-22.6l28.7-28.7-28.7-28.7c-15-15 7.7-37.6 22.6-22.6l28.7 28.7 28.7-28.7c15-15 37.6 7.7 22.6 22.6L174.6 192l28.7 28.7c15.2 15.2-7.9 37.4-22.6 22.6L152 214.6zM248 416c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64zm147.3-195.3c15.2 15.2-7.9 37.4-22.6 22.6L344 214.6l-28.7 28.7c-14.8 14.8-37.8-7.5-22.6-22.6l28.7-28.7-28.7-28.7c-15-15 7.7-37.6 22.6-22.6l28.7 28.7 28.7-28.7c15-15 37.6 7.7 22.6 22.6L366.6 192l28.7 28.7z"},regular:{last_modified:1529520111613,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-33.8-217.9c7.8-7.8 7.8-20.5 0-28.3L196.3 192l17.9-17.9c7.8-7.8 7.8-20.5 0-28.3-7.8-7.8-20.5-7.8-28.3 0L168 163.7l-17.8-17.8c-7.8-7.8-20.5-7.8-28.3 0-7.8 7.8-7.8 20.5 0 28.3l17.9 17.9-17.9 17.9c-7.8 7.8-7.8 20.5 0 28.3 7.8 7.8 20.5 7.8 28.3 0l17.8-17.8 17.8 17.8c7.9 7.7 20.5 7.7 28.4-.2zm160-92.2c-7.8-7.8-20.5-7.8-28.3 0L328 163.7l-17.8-17.8c-7.8-7.8-20.5-7.8-28.3 0-7.8 7.8-7.8 20.5 0 28.3l17.9 17.9-17.9 17.9c-7.8 7.8-7.8 20.5 0 28.3 7.8 7.8 20.5 7.8 28.3 0l17.8-17.8 17.8 17.8c7.8 7.8 20.5 7.8 28.3 0 7.8-7.8 7.8-20.5 0-28.3l-17.8-18 17.9-17.9c7.7-7.8 7.7-20.4 0-28.2zM248 272c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64z"/></svg>',viewBox:["0","0","496","512"],width:496,height:512,path:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-33.8-217.9c7.8-7.8 7.8-20.5 0-28.3L196.3 192l17.9-17.9c7.8-7.8 7.8-20.5 0-28.3-7.8-7.8-20.5-7.8-28.3 0L168 163.7l-17.8-17.8c-7.8-7.8-20.5-7.8-28.3 0-7.8 7.8-7.8 20.5 0 28.3l17.9 17.9-17.9 17.9c-7.8 7.8-7.8 20.5 0 28.3 7.8 7.8 20.5 7.8 28.3 0l17.8-17.8 17.8 17.8c7.9 7.7 20.5 7.7 28.4-.2zm160-92.2c-7.8-7.8-20.5-7.8-28.3 0L328 163.7l-17.8-17.8c-7.8-7.8-20.5-7.8-28.3 0-7.8 7.8-7.8 20.5 0 28.3l17.9 17.9-17.9 17.9c-7.8 7.8-7.8 20.5 0 28.3 7.8 7.8 20.5 7.8 28.3 0l17.8-17.8 17.8 17.8c7.8 7.8 20.5 7.8 28.3 0 7.8-7.8 7.8-20.5 0-28.3l-17.8-18 17.9-17.9c7.7-7.8 7.7-20.4 0-28.2zM248 272c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64z"}}},dna:{search:{terms:["double helix","helix"]},styles:["solid"],label:"DNA",svg:{solid:{viewBox:["0","0","448","512"],path:"M.1 494.1c-1.1 9.5 6.3 17.8 15.9 17.8l32.3.1c8.1 0 14.9-5.9 16-13.9.7-4.9 1.8-11.1 3.4-18.1H380c1.6 6.9 2.9 13.2 3.5 18.1 1.1 8 7.9 14 16 13.9l32.3-.1c9.6 0 17.1-8.3 15.9-17.8-4.6-37.9-25.6-129-118.9-207.7-17.6 12.4-37.1 24.2-58.5 35.4 6.2 4.6 11.4 9.4 17 14.2H159.7c21.3-18.1 47-35.6 78.7-51.4C410.5 199.1 442.1 65.8 447.9 17.9 449 8.4 441.6.1 432 .1L399.6 0c-8.1 0-14.9 5.9-16 13.9-.7 4.9-1.8 11.1-3.4 18.1H67.8c-1.6-7-2.7-13.1-3.4-18.1-1.1-8-7.9-14-16-13.9L16.1.1C6.5.1-1 8.4.1 17.9 5.3 60.8 31.4 171.8 160 256 31.5 340.2 5.3 451.2.1 494.1zM224 219.6c-25.1-13.7-46.4-28.4-64.3-43.6h128.5c-17.8 15.2-39.1 30-64.2 43.6zM355.1 96c-5.8 10.4-12.8 21.1-21 32H114c-8.3-10.9-15.3-21.6-21-32h262.1zM92.9 416c5.8-10.4 12.8-21.1 21-32h219.4c8.3 10.9 15.4 21.6 21.2 32H92.9z"}}},dochub:{search:{terms:[]},styles:["brands"],label:"DocHub",svg:{brands:{viewBox:["0","0","416","512"],path:"M397.9 160H256V19.6L397.9 160zM304 192v130c0 66.8-36.5 100.1-113.3 100.1H96V84.8h94.7c12 0 23.1.8 33.1 2.5v-84C212.9 1.1 201.4 0 189.2 0H0v512h189.2C329.7 512 400 447.4 400 318.1V192h-96z"}}},docker:{search:{terms:[]},styles:["brands"],label:"Docker",svg:{brands:{viewBox:["0","0","640","512"],path:"M349.9 236.3h-66.1v-59.4h66.1v59.4zm0-204.3h-66.1v60.7h66.1V32zm78.2 144.8H362v59.4h66.1v-59.4zm-156.3-72.1h-66.1v60.1h66.1v-60.1zm78.1 0h-66.1v60.1h66.1v-60.1zm276.8 100c-14.4-9.7-47.6-13.2-73.1-8.4-3.3-24-16.7-44.9-41.1-63.7l-14-9.3-9.3 14c-18.4 27.8-23.4 73.6-3.7 103.8-8.7 4.7-25.8 11.1-48.4 10.7H2.4c-8.7 50.8 5.8 116.8 44 162.1 37.1 43.9 92.7 66.2 165.4 66.2 157.4 0 273.9-72.5 328.4-204.2 21.4.4 67.6.1 91.3-45.2 1.5-2.5 6.6-13.2 8.5-17.1l-13.3-8.9zm-511.1-27.9h-66v59.4h66.1v-59.4zm78.1 0h-66.1v59.4h66.1v-59.4zm78.1 0h-66.1v59.4h66.1v-59.4zm-78.1-72.1h-66.1v60.1h66.1v-60.1z"}}},dog:{search:{terms:["canine","fauna","mammmal","pet","pooch","puppy","woof"]},styles:["solid"],label:"Dog",svg:{solid:{viewBox:["0","0","512","512"],path:"M496 96h-64l-7.16-14.31A32 32 0 0 0 396.22 64H342.6l-27.28-27.28C305.23 26.64 288 33.78 288 48.03v149.84l128 45.71V208h32c35.35 0 64-28.65 64-64v-32c0-8.84-7.16-16-16-16zm-112 48c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zM96 224c-17.64 0-32-14.36-32-32 0-17.67-14.33-32-32-32S0 174.33 0 192c0 41.66 26.83 76.85 64 90.1V496c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V384h160v112c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V277.55L266.05 224H96z"}}},"dollar-sign":{search:{terms:["$","dollar-sign","money","price","usd"]},styles:["solid"],label:"Dollar Sign",svg:{solid:{viewBox:["0","0","288","512"],path:"M209.2 233.4l-108-31.6C88.7 198.2 80 186.5 80 173.5c0-16.3 13.2-29.5 29.5-29.5h66.3c12.2 0 24.2 3.7 34.2 10.5 6.1 4.1 14.3 3.1 19.5-2l34.8-34c7.1-6.9 6.1-18.4-1.8-24.5C238 74.8 207.4 64.1 176 64V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48h-2.5C45.8 64-5.4 118.7.5 183.6c4.2 46.1 39.4 83.6 83.8 96.6l102.5 30c12.5 3.7 21.2 15.3 21.2 28.3 0 16.3-13.2 29.5-29.5 29.5h-66.3C100 368 88 364.3 78 357.5c-6.1-4.1-14.3-3.1-19.5 2l-34.8 34c-7.1 6.9-6.1 18.4 1.8 24.5 24.5 19.2 55.1 29.9 86.5 30v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-48.2c46.6-.9 90.3-28.6 105.7-72.7 21.5-61.6-14.6-124.8-72.5-141.7z"}}},dolly:{search:{terms:[]},styles:["solid"],label:"Dolly",svg:{solid:{viewBox:["0","0","576","512"],path:"M294.2 277.7c18 5 34.7 13.4 49.5 24.7l161.5-53.8c8.4-2.8 12.9-11.9 10.1-20.2L454.9 47.2c-2.8-8.4-11.9-12.9-20.2-10.1l-61.1 20.4 33.1 99.4L346 177l-33.1-99.4-61.6 20.5c-8.4 2.8-12.9 11.9-10.1 20.2l53 159.4zm281 48.7L565 296c-2.8-8.4-11.9-12.9-20.2-10.1l-213.5 71.2c-17.2-22-43.6-36.4-73.5-37L158.4 21.9C154 8.8 141.8 0 128 0H16C7.2 0 0 7.2 0 16v32c0 8.8 7.2 16 16 16h88.9l92.2 276.7c-26.1 20.4-41.7 53.6-36 90.5 6.1 39.4 37.9 72.3 77.3 79.2 60.2 10.7 112.3-34.8 113.4-92.6l213.3-71.2c8.3-2.8 12.9-11.8 10.1-20.2zM256 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z"}}},"dolly-flatbed":{search:{terms:[]},styles:["solid"],label:"Dolly Flatbed",svg:{solid:{viewBox:["0","0","640","512"],path:"M208 320h384c8.8 0 16-7.2 16-16V48c0-8.8-7.2-16-16-16H448v128l-48-32-48 32V32H208c-8.8 0-16 7.2-16 16v256c0 8.8 7.2 16 16 16zm416 64H128V16c0-8.8-7.2-16-16-16H16C7.2 0 0 7.2 0 16v32c0 8.8 7.2 16 16 16h48v368c0 8.8 7.2 16 16 16h82.9c-1.8 5-2.9 10.4-2.9 16 0 26.5 21.5 48 48 48s48-21.5 48-48c0-5.6-1.2-11-2.9-16H451c-1.8 5-2.9 10.4-2.9 16 0 26.5 21.5 48 48 48s48-21.5 48-48c0-5.6-1.2-11-2.9-16H624c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16z"}}},donate:{search:{terms:["generosity","give"]},styles:["solid"],label:"Donate",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 416c114.9 0 208-93.1 208-208S370.9 0 256 0 48 93.1 48 208s93.1 208 208 208zM233.8 97.4V80.6c0-9.2 7.4-16.6 16.6-16.6h11.1c9.2 0 16.6 7.4 16.6 16.6v17c15.5.8 30.5 6.1 43 15.4 5.6 4.1 6.2 12.3 1.2 17.1L306 145.6c-3.8 3.7-9.5 3.8-14 1-5.4-3.4-11.4-5.1-17.8-5.1h-38.9c-9 0-16.3 8.2-16.3 18.3 0 8.2 5 15.5 12.1 17.6l62.3 18.7c25.7 7.7 43.7 32.4 43.7 60.1 0 34-26.4 61.5-59.1 62.4v16.8c0 9.2-7.4 16.6-16.6 16.6h-11.1c-9.2 0-16.6-7.4-16.6-16.6v-17c-15.5-.8-30.5-6.1-43-15.4-5.6-4.1-6.2-12.3-1.2-17.1l16.3-15.5c3.8-3.7 9.5-3.8 14-1 5.4 3.4 11.4 5.1 17.8 5.1h38.9c9 0 16.3-8.2 16.3-18.3 0-8.2-5-15.5-12.1-17.6l-62.3-18.7c-25.7-7.7-43.7-32.4-43.7-60.1.1-34 26.4-61.5 59.1-62.4zM480 352h-32.5c-19.6 26-44.6 47.7-73 64h63.8c5.3 0 9.6 3.6 9.6 8v16c0 4.4-4.3 8-9.6 8H73.6c-5.3 0-9.6-3.6-9.6-8v-16c0-4.4 4.3-8 9.6-8h63.8c-28.4-16.3-53.3-38-73-64H32c-17.7 0-32 14.3-32 32v96c0 17.7 14.3 32 32 32h448c17.7 0 32-14.3 32-32v-96c0-17.7-14.3-32-32-32z"}}},"door-closed":{search:{terms:[]},styles:["solid"],label:"Door Closed",svg:{solid:{viewBox:["0","0","640","512"],path:"M624 448H512V50.8C512 22.78 490.47 0 464 0H175.99c-26.47 0-48 22.78-48 50.8V448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM415.99 288c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32c.01 17.67-14.32 32-32 32z"}}},"door-open":{search:{terms:[]},styles:["solid"],label:"Door Open",svg:{solid:{viewBox:["0","0","640","512"],path:"M624 448h-80V113.45C544 86.19 522.47 64 496 64H384v64h96v384h144c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM312.24 1.01l-192 49.74C105.99 54.44 96 67.7 96 82.92V448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h336V33.18c0-21.58-19.56-37.41-39.76-32.17zM264 288c-13.25 0-24-14.33-24-32s10.75-32 24-32 24 14.33 24 32-10.75 32-24 32z"}}},"dot-circle":{search:{terms:["bullseye","notification","target"]},styles:["solid","regular"],label:"Dot Circle",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 56c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m0-48C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 168c-44.183 0-80 35.817-80 80s35.817 80 80 80 80-35.817 80-80-35.817-80-80-80z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 56c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m0-48C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 168c-44.183 0-80 35.817-80 80s35.817 80 80 80 80-35.817 80-80-35.817-80-80-80z"}}},dove:{search:{terms:["bird","fauna","flying","peace"]},styles:["solid"],label:"Dove",svg:{solid:{viewBox:["0","0","512","512"],path:"M288 167.2v-28.1c-28.2-36.3-47.1-79.3-54.1-125.2-2.1-13.5-19-18.8-27.8-8.3-21.1 24.9-37.7 54.1-48.9 86.5 34.2 38.3 80 64.6 130.8 75.1zM400 64c-44.2 0-80 35.9-80 80.1v59.4C215.6 197.3 127 133 87 41.8c-5.5-12.5-23.2-13.2-29-.9C41.4 76 32 115.2 32 156.6c0 70.8 34.1 136.9 85.1 185.9 13.2 12.7 26.1 23.2 38.9 32.8l-143.9 36C1.4 414-3.4 426.4 2.6 435.7 20 462.6 63 508.2 155.8 512c8 .3 16-2.6 22.1-7.9l65.2-56.1H320c88.4 0 160-71.5 160-159.9V128l32-64H400zm0 96.1c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z"}}},download:{search:{terms:["import"]},styles:["solid"],label:"Download",svg:{solid:{viewBox:["0","0","512","512"],path:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}}},draft2digital:{search:{terms:[]},styles:["brands"],label:"Draft2digital",svg:{brands:{viewBox:["0","0","480","512"],path:"M369.9 425.4V371l47.1 27.2-47.1 27.2zM82.4 380.6c25.5-27.3 97.7-104.7 150.9-170 35.1-43.1 40.3-82.4 28.4-112.7-7.4-18.8-17.5-30.2-24.3-35.7 45.3 2.1 68 23.4 82.2 38.3 0 0 42.4 48.2 5.8 113.3-37 65.9-110.9 147.5-128.5 166.7H82.4zm51.8-219.2c0 12.4-10 22.4-22.4 22.4-12.4 0-22.4-10-22.4-22.4 0-12.4 10-22.4 22.4-22.4 12.4 0 22.4 10.1 22.4 22.4M336 315.9v64.7h-91.3c30.8-35 81.8-95.9 111.8-149.3 35.2-62.6 16.1-123.4-12.8-153.3-4.4-4.6-62.2-62.9-166-41.2-59.1 12.4-89.4 43.4-104.3 67.3-13.1 20.9-17 39.8-18.2 47.7-5.5 33 19.4 67.1 56.7 67.1 31.7 0 57.3-25.7 57.3-57.4 0-27.1-19.7-52.1-48-56.8 1.8-7.3 17.7-21.1 26.3-24.7 41.1-17.3 78 5.2 83.3 33.5 8.3 44.3-37.1 90.4-69.7 127.6C84.5 328.1 18.3 396.8 0 415.9l336-.1V480l144-81.9-144-82.2z"}}},"drafting-compass":{search:{terms:["mechanical drawing","plot","plotting"]},styles:["solid"],label:"Drafting Compass",svg:{solid:{viewBox:["0","0","512","512"],path:"M457.01 344.42c-25.05 20.33-52.63 37.18-82.54 49.05l54.38 94.19 53.95 23.04c9.81 4.19 20.89-2.21 22.17-12.8l7.02-58.25-54.98-95.23zm42.49-94.56c4.86-7.67 1.89-17.99-6.05-22.39l-28.07-15.57c-7.48-4.15-16.61-1.46-21.26 5.72C403.01 281.15 332.25 320 256 320c-23.93 0-47.23-4.25-69.41-11.53l67.36-116.68c.7.02 1.34.21 2.04.21s1.35-.19 2.04-.21l51.09 88.5c31.23-8.96 59.56-25.75 82.61-48.92l-51.79-89.71C347.39 128.03 352 112.63 352 96c0-53.02-42.98-96-96-96s-96 42.98-96 96c0 16.63 4.61 32.03 12.05 45.66l-68.3 118.31c-12.55-11.61-23.96-24.59-33.68-39-4.79-7.1-13.97-9.62-21.38-5.33l-27.75 16.07c-7.85 4.54-10.63 14.9-5.64 22.47 15.57 23.64 34.69 44.21 55.98 62.02L0 439.66l7.02 58.25c1.28 10.59 12.36 16.99 22.17 12.8l53.95-23.04 70.8-122.63C186.13 377.28 220.62 384 256 384c99.05 0 190.88-51.01 243.5-134.14zM256 64c17.67 0 32 14.33 32 32s-14.33 32-32 32-32-14.33-32-32 14.33-32 32-32z"}}},dragon:{search:{terms:["Dungeons & Dragons","d&d","dnd","fantasy"]},styles:["solid"],label:"Dragon",svg:{solid:{viewBox:["0","0","640","512"],path:"M18.32 255.78L192 223.96l-91.28 68.69c-10.08 10.08-2.94 27.31 11.31 27.31h222.7c-9.44-26.4-14.73-54.47-14.73-83.38v-42.27l-119.73-87.6c-23.82-15.88-55.29-14.01-77.06 4.59L5.81 227.64c-12.38 10.33-3.45 30.42 12.51 28.14zm556.87 34.1l-100.66-50.31A47.992 47.992 0 0 1 448 196.65v-36.69h64l28.09 22.63c6 6 14.14 9.37 22.63 9.37h30.97a32 32 0 0 0 28.62-17.69l14.31-28.62a32.005 32.005 0 0 0-3.02-33.51l-74.53-99.38C553.02 4.7 543.54 0 533.47 0H296.02c-7.13 0-10.7 8.57-5.66 13.61L352 63.96 292.42 88.8c-5.9 2.95-5.9 11.36 0 14.31L352 127.96v108.62c0 72.08 36.03 139.39 96 179.38-195.59 6.81-344.56 41.01-434.1 60.91C5.78 478.67 0 485.88 0 494.2 0 504 7.95 512 17.76 512h499.08c63.29.01 119.61-47.56 122.99-110.76 2.52-47.28-22.73-90.4-64.64-111.36zM489.18 66.25l45.65 11.41c-2.75 10.91-12.47 18.89-24.13 18.26-12.96-.71-25.85-12.53-21.52-29.67z"}}},"draw-polygon":{search:{terms:[]},styles:["solid"],label:"Draw Polygon",svg:{solid:{viewBox:["0","0","448","512"],path:"M384 352c-.35 0-.67.1-1.02.1l-39.2-65.32c5.07-9.17 8.22-19.56 8.22-30.78s-3.14-21.61-8.22-30.78l39.2-65.32c.35.01.67.1 1.02.1 35.35 0 64-28.65 64-64s-28.65-64-64-64c-23.63 0-44.04 12.95-55.12 32H119.12C108.04 44.95 87.63 32 64 32 28.65 32 0 60.65 0 96c0 23.63 12.95 44.04 32 55.12v209.75C12.95 371.96 0 392.37 0 416c0 35.35 28.65 64 64 64 23.63 0 44.04-12.95 55.12-32h209.75c11.09 19.05 31.49 32 55.12 32 35.35 0 64-28.65 64-64 .01-35.35-28.64-64-63.99-64zm-288 8.88V151.12A63.825 63.825 0 0 0 119.12 128h208.36l-38.46 64.1c-.35-.01-.67-.1-1.02-.1-35.35 0-64 28.65-64 64s28.65 64 64 64c.35 0 .67-.1 1.02-.1l38.46 64.1H119.12A63.748 63.748 0 0 0 96 360.88zM272 256c0-8.82 7.18-16 16-16s16 7.18 16 16-7.18 16-16 16-16-7.18-16-16zM400 96c0 8.82-7.18 16-16 16s-16-7.18-16-16 7.18-16 16-16 16 7.18 16 16zM64 80c8.82 0 16 7.18 16 16s-7.18 16-16 16-16-7.18-16-16 7.18-16 16-16zM48 416c0-8.82 7.18-16 16-16s16 7.18 16 16-7.18 16-16 16-16-7.18-16-16zm336 16c-8.82 0-16-7.18-16-16s7.18-16 16-16 16 7.18 16 16-7.18 16-16 16z"}}},dribbble:{search:{terms:[]},styles:["brands"],label:"Dribbble",svg:{brands:{viewBox:["0","0","512","512"],path:"M256 8C119.252 8 8 119.252 8 256s111.252 248 248 248 248-111.252 248-248S392.748 8 256 8zm163.97 114.366c29.503 36.046 47.369 81.957 47.835 131.955-6.984-1.477-77.018-15.682-147.502-6.818-5.752-14.041-11.181-26.393-18.617-41.614 78.321-31.977 113.818-77.482 118.284-83.523zM396.421 97.87c-3.81 5.427-35.697 48.286-111.021 76.519-34.712-63.776-73.185-116.168-79.04-124.008 67.176-16.193 137.966 1.27 190.061 47.489zm-230.48-33.25c5.585 7.659 43.438 60.116 78.537 122.509-99.087 26.313-186.36 25.934-195.834 25.809C62.38 147.205 106.678 92.573 165.941 64.62zM44.17 256.323c0-2.166.043-4.322.108-6.473 9.268.19 111.92 1.513 217.706-30.146 6.064 11.868 11.857 23.915 17.174 35.949-76.599 21.575-146.194 83.527-180.531 142.306C64.794 360.405 44.17 310.73 44.17 256.323zm81.807 167.113c22.127-45.233 82.178-103.622 167.579-132.756 29.74 77.283 42.039 142.053 45.189 160.638-68.112 29.013-150.015 21.053-212.768-27.882zm248.38 8.489c-2.171-12.886-13.446-74.897-41.152-151.033 66.38-10.626 124.7 6.768 131.947 9.055-9.442 58.941-43.273 109.844-90.795 141.978z"}}},"dribbble-square":{search:{terms:[]},styles:["brands"],label:"Dribbble Square",svg:{brands:{viewBox:["0","0","448","512"],path:"M90.2 228.2c8.9-42.4 37.4-77.7 75.7-95.7 3.6 4.9 28 38.8 50.7 79-64 17-120.3 16.8-126.4 16.7zM314.6 154c-33.6-29.8-79.3-41.1-122.6-30.6 3.8 5.1 28.6 38.9 51 80 48.6-18.3 69.1-45.9 71.6-49.4zM140.1 364c40.5 31.6 93.3 36.7 137.3 18-2-12-10-53.8-29.2-103.6-55.1 18.8-93.8 56.4-108.1 85.6zm98.8-108.2c-3.4-7.8-7.2-15.5-11.1-23.2C159.6 253 93.4 252.2 87.4 252c0 1.4-.1 2.8-.1 4.2 0 35.1 13.3 67.1 35.1 91.4 22.2-37.9 67.1-77.9 116.5-91.8zm34.9 16.3c17.9 49.1 25.1 89.1 26.5 97.4 30.7-20.7 52.5-53.6 58.6-91.6-4.6-1.5-42.3-12.7-85.1-5.8zm-20.3-48.4c4.8 9.8 8.3 17.8 12 26.8 45.5-5.7 90.7 3.4 95.2 4.4-.3-32.3-11.8-61.9-30.9-85.1-2.9 3.9-25.8 33.2-76.3 53.9zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-64 176c0-88.2-71.8-160-160-160S64 167.8 64 256s71.8 160 160 160 160-71.8 160-160z"}}},dropbox:{search:{terms:[]},styles:["brands"],label:"Dropbox",svg:{brands:{viewBox:["0","0","528","512"],path:"M264.4 116.3l-132 84.3 132 84.3-132 84.3L0 284.1l132.3-84.3L0 116.3 132.3 32l132.1 84.3zM131.6 395.7l132-84.3 132 84.3-132 84.3-132-84.3zm132.8-111.6l132-84.3-132-83.6L395.7 32 528 116.3l-132.3 84.3L528 284.8l-132.3 84.3-131.3-85z"}}},drum:{search:{terms:["instrument","music","percussion","snare","sound"]},styles:["solid"],label:"Drum",svg:{solid:{viewBox:["0","0","576","512"],path:"M458.08 120.88l102.39-61.43c15.16-9.09 20.06-28.75 10.97-43.91C562.34.39 542.7-4.53 527.53 4.57l-160.69 96.41A629.32 629.32 0 0 0 288 96C128.94 96 0 153.31 0 224v160.83c0 30.46 24.03 58.4 64 80.37v-96.37c0-17.6 14.4-32 32-32s32 14.4 32 32v122.41c37.4 11.13 81 18.44 128 20.75V400.84c0-17.6 14.4-32 32-32s32 14.4 32 32V512c47-2.31 90.6-9.62 128-20.75V368.84c0-17.6 14.4-32 32-32s32 14.4 32 32v96.37c39.97-21.97 64-49.91 64-80.37V224.01c-.01-42.38-46.54-79.84-117.92-103.13zM288 304c-132.55 0-240-35.82-240-80s107.45-80 240-80c2.34 0 4.62.1 6.94.12l-87.41 52.44c-15.16 9.09-20.06 28.75-10.97 43.91 9.56 15.93 29.51 19.61 43.91 10.97l162.71-97.62C477.55 167.41 528 193.74 528 224.01 528 268.19 420.54 304 288 304z"}}},"drum-steelpan":{search:{terms:["calypso","instrument","music","percussion","reggae","snare","sound","steel","tropical"]},styles:["solid"],label:"Drum Steelpan",svg:{solid:{viewBox:["0","0","576","512"],path:"M288 32C128.94 32 0 89.31 0 160v192c0 70.69 128.94 128 288 128s288-57.31 288-128V160c0-70.69-128.94-128-288-128zm-82.99 158.36c-4.45 16.61-14.54 30.57-28.31 40.48C100.23 217.46 48 190.78 48 160c0-30.16 50.11-56.39 124.04-70.03l25.6 44.34c9.86 17.09 12.48 36.99 7.37 56.05zM288 240c-21.08 0-41.41-1-60.89-2.7 8.06-26.13 32.15-45.3 60.89-45.3s52.83 19.17 60.89 45.3C329.41 239 309.08 240 288 240zm64-144c0 35.29-28.71 64-64 64s-64-28.71-64-64V82.96c20.4-1.88 41.8-2.96 64-2.96s43.6 1.08 64 2.96V96zm46.93 134.9c-13.81-9.91-23.94-23.9-28.4-40.54-5.11-19.06-2.49-38.96 7.38-56.04l25.65-44.42C477.72 103.5 528 129.79 528 160c0 30.83-52.4 57.54-129.07 70.9z"}}},"drumstick-bite":{search:{terms:[]},styles:["solid"],label:"Drumstick with Bite Taken Out",svg:{solid:{viewBox:["0","0","512","512"],path:"M462.79 49.57c-66.14-66.09-173.36-66.09-239.5 0C187.81 85.02 160.12 128 160.12 192v85.83l-40.62 40.59c-9.7 9.69-24.04 11.07-36.78 5.98-21.72-8.68-47.42-4.29-65.02 13.29-23.61 23.59-23.61 61.84 0 85.43 15.28 15.27 36.53 19.58 56.14 15.09-4.5 19.6-.18 40.83 15.1 56.1 23.61 23.59 61.88 23.59 85.49 0 17.6-17.58 21.99-43.26 13.31-64.97-5.09-12.73-3.72-27.05 5.99-36.75L234.35 352h85.89c23.2 0 43.57-3.72 61.89-10.03-39.64-43.89-39.83-110.23 1.05-151.07 34.38-