Gutenberg Blocks – ACF Blocks Suite - Version 2.4.0

Version Description

  • Added Divider Block (Free)
Download this release

Release Info

Developer munirkamal
Plugin Icon 128x128 Gutenberg Blocks – ACF Blocks Suite
Version 2.4.0
Comparing to
See all releases

Code changes from version 2.2.1 to 2.4.0

acf-blocks.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: ACF Blocks Suite
5
  * Plugin URI: https://acfblocks.com/
6
  * Description: Supercharge your Gutenberg editor with high quality beautiful WordPress blocks. Ready-to-use ACF Blocks!
7
- * Version: 2.2.1
8
  * Author: munirkamal
9
  * Author URI: https://munirkamal.wordpress.com
10
  * License: GPL2
@@ -700,6 +700,19 @@ if ( function_exists( 'acfb_fs' ) ) {
700
 
701
  // Apply to all fields.
702
  add_action( 'acf/render_field/name=acfb_meta_select_field', 'acfb_meta_select_field' );
 
 
 
 
 
 
 
 
 
 
 
 
 
703
  }
704
 
705
  // freemius end
4
  * Plugin Name: ACF Blocks Suite
5
  * Plugin URI: https://acfblocks.com/
6
  * Description: Supercharge your Gutenberg editor with high quality beautiful WordPress blocks. Ready-to-use ACF Blocks!
7
+ * Version: 2.4.0
8
  * Author: munirkamal
9
  * Author URI: https://munirkamal.wordpress.com
10
  * License: GPL2
700
 
701
  // Apply to all fields.
702
  add_action( 'acf/render_field/name=acfb_meta_select_field', 'acfb_meta_select_field' );
703
+ add_filter(
704
+ 'upload_mimes',
705
+ 'acfb_custom_mimes_types',
706
+ 1,
707
+ 1
708
+ );
709
+ function acfb_custom_mimes_types( $acfb_mime_types )
710
+ {
711
+ $acfb_mime_types['json'] = 'text/plain';
712
+ // Adding .json extension
713
+ return $acfb_mime_types;
714
+ }
715
+
716
  }
717
 
718
  // freemius end
acf-json/group_5f4e3ac9aa1b6.json ADDED
@@ -0,0 +1,412 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "group_5f4e3ac9aa1b6",
3
+ "title": "Lottie",
4
+ "fields": [
5
+ {
6
+ "key": "field_5f4e3b3a10182",
7
+ "label": "Content",
8
+ "name": "",
9
+ "type": "tab",
10
+ "instructions": "",
11
+ "required": 0,
12
+ "conditional_logic": 0,
13
+ "wrapper": {
14
+ "width": "",
15
+ "class": "",
16
+ "id": ""
17
+ },
18
+ "placement": "top",
19
+ "endpoint": 0
20
+ },
21
+ {
22
+ "key": "field_5f4f642b175c4",
23
+ "label": "Source",
24
+ "name": "acfb_lottie_src",
25
+ "type": "select",
26
+ "instructions": "",
27
+ "required": 0,
28
+ "conditional_logic": 0,
29
+ "wrapper": {
30
+ "width": "",
31
+ "class": "",
32
+ "id": ""
33
+ },
34
+ "choices": {
35
+ "media": "Upload File",
36
+ "url": "Url"
37
+ },
38
+ "default_value": "media",
39
+ "allow_null": 0,
40
+ "multiple": 0,
41
+ "ui": 0,
42
+ "return_format": "value",
43
+ "ajax": 0,
44
+ "placeholder": ""
45
+ },
46
+ {
47
+ "key": "field_5f4e3ad810181",
48
+ "label": "Upload Json File",
49
+ "name": "acfb_lottie_json_file",
50
+ "type": "file",
51
+ "instructions": "",
52
+ "required": 0,
53
+ "conditional_logic": [
54
+ [
55
+ {
56
+ "field": "field_5f4f642b175c4",
57
+ "operator": "==",
58
+ "value": "media"
59
+ }
60
+ ]
61
+ ],
62
+ "wrapper": {
63
+ "width": "",
64
+ "class": "",
65
+ "id": ""
66
+ },
67
+ "return_format": "url",
68
+ "library": "all",
69
+ "min_size": "",
70
+ "max_size": "",
71
+ "mime_types": "json"
72
+ },
73
+ {
74
+ "key": "field_5f4f647a175c5",
75
+ "label": "Url",
76
+ "name": "acfb_lottie_json_url",
77
+ "type": "url",
78
+ "instructions": "",
79
+ "required": 0,
80
+ "conditional_logic": [
81
+ [
82
+ {
83
+ "field": "field_5f4f642b175c4",
84
+ "operator": "==",
85
+ "value": "url"
86
+ }
87
+ ]
88
+ ],
89
+ "wrapper": {
90
+ "width": "",
91
+ "class": "",
92
+ "id": ""
93
+ },
94
+ "default_value": "",
95
+ "placeholder": ""
96
+ },
97
+ {
98
+ "key": "field_5f4e410df2fbd",
99
+ "label": "Speed",
100
+ "name": "acfb_lottie_speed",
101
+ "type": "range",
102
+ "instructions": "",
103
+ "required": 0,
104
+ "conditional_logic": 0,
105
+ "wrapper": {
106
+ "width": "",
107
+ "class": "",
108
+ "id": ""
109
+ },
110
+ "default_value": 1,
111
+ "min": 1,
112
+ "max": 5,
113
+ "step": "0.1",
114
+ "prepend": "",
115
+ "append": ""
116
+ },
117
+ {
118
+ "key": "field_5f4e4150f2fbe",
119
+ "label": "Hover",
120
+ "name": "acfb_lottie_hover",
121
+ "type": "true_false",
122
+ "instructions": "",
123
+ "required": 0,
124
+ "conditional_logic": 0,
125
+ "wrapper": {
126
+ "width": "",
127
+ "class": "",
128
+ "id": ""
129
+ },
130
+ "message": "",
131
+ "default_value": 0,
132
+ "ui": 1,
133
+ "ui_on_text": "",
134
+ "ui_off_text": ""
135
+ },
136
+ {
137
+ "key": "field_5f4e4170f2fbf",
138
+ "label": "Loop",
139
+ "name": "acfb_lottie_loop",
140
+ "type": "true_false",
141
+ "instructions": "",
142
+ "required": 0,
143
+ "conditional_logic": 0,
144
+ "wrapper": {
145
+ "width": "",
146
+ "class": "",
147
+ "id": ""
148
+ },
149
+ "message": "",
150
+ "default_value": 1,
151
+ "ui": 1,
152
+ "ui_on_text": "",
153
+ "ui_off_text": ""
154
+ },
155
+ {
156
+ "key": "field_5f4f81087d59b",
157
+ "label": "Times",
158
+ "name": "acfb_lottie_loop_time_switch",
159
+ "type": "true_false",
160
+ "instructions": "",
161
+ "required": 0,
162
+ "conditional_logic": [
163
+ [
164
+ {
165
+ "field": "field_5f4e4170f2fbf",
166
+ "operator": "==",
167
+ "value": "1"
168
+ }
169
+ ]
170
+ ],
171
+ "wrapper": {
172
+ "width": "",
173
+ "class": "",
174
+ "id": ""
175
+ },
176
+ "message": "",
177
+ "default_value": 0,
178
+ "ui": 1,
179
+ "ui_on_text": "",
180
+ "ui_off_text": ""
181
+ },
182
+ {
183
+ "key": "field_5f4f673ba43af",
184
+ "label": "Times",
185
+ "name": "acfb_lottie_loop_times",
186
+ "type": "number",
187
+ "instructions": "",
188
+ "required": 0,
189
+ "conditional_logic": [
190
+ [
191
+ {
192
+ "field": "field_5f4f81087d59b",
193
+ "operator": "==",
194
+ "value": "1"
195
+ }
196
+ ]
197
+ ],
198
+ "wrapper": {
199
+ "width": "",
200
+ "class": "",
201
+ "id": ""
202
+ },
203
+ "default_value": "",
204
+ "placeholder": "",
205
+ "prepend": "",
206
+ "append": "",
207
+ "min": "",
208
+ "max": "",
209
+ "step": ""
210
+ },
211
+ {
212
+ "key": "field_5f4e418bf2fc1",
213
+ "label": "Autoplay",
214
+ "name": "acfb_lottie_autoplay",
215
+ "type": "true_false",
216
+ "instructions": "",
217
+ "required": 0,
218
+ "conditional_logic": 0,
219
+ "wrapper": {
220
+ "width": "",
221
+ "class": "",
222
+ "id": ""
223
+ },
224
+ "message": "",
225
+ "default_value": 1,
226
+ "ui": 1,
227
+ "ui_on_text": "",
228
+ "ui_off_text": ""
229
+ },
230
+ {
231
+ "key": "field_5f4f61d642ca6",
232
+ "label": "Alignment",
233
+ "name": "acfb_lottie_alignment",
234
+ "type": "button_group",
235
+ "instructions": "",
236
+ "required": 0,
237
+ "conditional_logic": 0,
238
+ "wrapper": {
239
+ "width": "",
240
+ "class": "",
241
+ "id": ""
242
+ },
243
+ "choices": {
244
+ "flex-start": "<span class=\"dashicons dashicons-editor-alignleft\"><\/span>",
245
+ "center": "<span class=\"dashicons dashicons-editor-aligncenter\"><\/span>",
246
+ "flex-end": "<span class=\"dashicons dashicons-editor-alignright\"><\/span>"
247
+ },
248
+ "allow_null": 0,
249
+ "default_value": "center",
250
+ "layout": "horizontal",
251
+ "return_format": "value"
252
+ },
253
+ {
254
+ "key": "field_5f4e3b4210183",
255
+ "label": "Design",
256
+ "name": "",
257
+ "type": "tab",
258
+ "instructions": "",
259
+ "required": 0,
260
+ "conditional_logic": 0,
261
+ "wrapper": {
262
+ "width": "",
263
+ "class": "",
264
+ "id": ""
265
+ },
266
+ "placement": "top",
267
+ "endpoint": 0
268
+ },
269
+ {
270
+ "key": "field_5f4e3b4c10184",
271
+ "label": "Colors",
272
+ "name": "",
273
+ "type": "accordion",
274
+ "instructions": "",
275
+ "required": 0,
276
+ "conditional_logic": 0,
277
+ "wrapper": {
278
+ "width": "",
279
+ "class": "",
280
+ "id": ""
281
+ },
282
+ "open": 0,
283
+ "multi_expand": 0,
284
+ "endpoint": 0
285
+ },
286
+ {
287
+ "key": "field_5f4e3e5f10187",
288
+ "label": "Background Color",
289
+ "name": "acfb_lottie_bg_color",
290
+ "type": "color_picker",
291
+ "instructions": "",
292
+ "required": 0,
293
+ "conditional_logic": 0,
294
+ "wrapper": {
295
+ "width": "",
296
+ "class": "",
297
+ "id": ""
298
+ },
299
+ "default_value": "transparent"
300
+ },
301
+ {
302
+ "key": "field_5f4e3e5110185",
303
+ "label": "Sizing",
304
+ "name": "",
305
+ "type": "accordion",
306
+ "instructions": "",
307
+ "required": 0,
308
+ "conditional_logic": 0,
309
+ "wrapper": {
310
+ "width": "",
311
+ "class": "",
312
+ "id": ""
313
+ },
314
+ "open": 0,
315
+ "multi_expand": 0,
316
+ "endpoint": 0
317
+ },
318
+ {
319
+ "key": "field_5f4e3edd10188",
320
+ "label": "Width",
321
+ "name": "acfb_lottie_width",
322
+ "type": "range",
323
+ "instructions": "",
324
+ "required": 0,
325
+ "conditional_logic": 0,
326
+ "wrapper": {
327
+ "width": "",
328
+ "class": "",
329
+ "id": ""
330
+ },
331
+ "default_value": 50,
332
+ "min": "",
333
+ "max": 100,
334
+ "step": "",
335
+ "prepend": "",
336
+ "append": "%"
337
+ },
338
+ {
339
+ "key": "field_5f4e3e5710186",
340
+ "label": "Spacing",
341
+ "name": "",
342
+ "type": "accordion",
343
+ "instructions": "",
344
+ "required": 0,
345
+ "conditional_logic": 0,
346
+ "wrapper": {
347
+ "width": "",
348
+ "class": "",
349
+ "id": ""
350
+ },
351
+ "open": 0,
352
+ "multi_expand": 0,
353
+ "endpoint": 0
354
+ },
355
+ {
356
+ "key": "field_5f4e3f231018a",
357
+ "label": "Margin",
358
+ "name": "acfb_lottie_margin",
359
+ "type": "margin",
360
+ "instructions": "",
361
+ "required": 0,
362
+ "conditional_logic": 0,
363
+ "wrapper": {
364
+ "width": "",
365
+ "class": "",
366
+ "id": ""
367
+ },
368
+ "margin_enable": 0,
369
+ "margin_top": "",
370
+ "margin_right": "",
371
+ "margin_bottom": "",
372
+ "margin_left": ""
373
+ },
374
+ {
375
+ "key": "field_5f4e3f341018b",
376
+ "label": "Padding",
377
+ "name": "acfb_lottie_padding",
378
+ "type": "padding",
379
+ "instructions": "",
380
+ "required": 0,
381
+ "conditional_logic": 0,
382
+ "wrapper": {
383
+ "width": "",
384
+ "class": "",
385
+ "id": ""
386
+ },
387
+ "padding_enable": 0,
388
+ "padding_top": "",
389
+ "padding_right": "",
390
+ "padding_bottom": "",
391
+ "padding_left": ""
392
+ }
393
+ ],
394
+ "location": [
395
+ [
396
+ {
397
+ "param": "block",
398
+ "operator": "==",
399
+ "value": "acf\/acfb-lottie"
400
+ }
401
+ ]
402
+ ],
403
+ "menu_order": 0,
404
+ "position": "normal",
405
+ "style": "default",
406
+ "label_placement": "top",
407
+ "instruction_placement": "label",
408
+ "hide_on_screen": "",
409
+ "active": true,
410
+ "description": "",
411
+ "modified": 1599045995
412
+ }
acf-json/group_5f59e750a2483.json ADDED
@@ -0,0 +1,589 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "group_5f59e750a2483",
3
+ "title": "Divider",
4
+ "fields": [
5
+ {
6
+ "key": "field_5f59ecb1820f7",
7
+ "label": "Content",
8
+ "name": "",
9
+ "type": "tab",
10
+ "instructions": "",
11
+ "required": 0,
12
+ "conditional_logic": 0,
13
+ "wrapper": {
14
+ "width": "",
15
+ "class": "",
16
+ "id": ""
17
+ },
18
+ "placement": "top",
19
+ "endpoint": 0
20
+ },
21
+ {
22
+ "key": "field_5f59e7cef1ef1",
23
+ "label": "Select Divider Style",
24
+ "name": "acfb_select_divider_style",
25
+ "type": "select",
26
+ "instructions": "",
27
+ "required": 0,
28
+ "conditional_logic": 0,
29
+ "wrapper": {
30
+ "width": "",
31
+ "class": "",
32
+ "id": ""
33
+ },
34
+ "choices": {
35
+ "text": "Text",
36
+ "image": "Image"
37
+ },
38
+ "default_value": "text",
39
+ "allow_null": 0,
40
+ "multiple": 0,
41
+ "ui": 0,
42
+ "return_format": "value",
43
+ "ajax": 0,
44
+ "placeholder": ""
45
+ },
46
+ {
47
+ "key": "field_5f59e829549d9",
48
+ "label": "Divider Text",
49
+ "name": "acfb_divider_text",
50
+ "type": "text",
51
+ "instructions": "",
52
+ "required": 0,
53
+ "conditional_logic": [
54
+ [
55
+ {
56
+ "field": "field_5f59e7cef1ef1",
57
+ "operator": "==",
58
+ "value": "text"
59
+ }
60
+ ]
61
+ ],
62
+ "wrapper": {
63
+ "width": "",
64
+ "class": "",
65
+ "id": ""
66
+ },
67
+ "default_value": "Divider Text",
68
+ "placeholder": "Divider Text",
69
+ "prepend": "",
70
+ "append": "",
71
+ "maxlength": ""
72
+ },
73
+ {
74
+ "key": "field_5f59e859549da",
75
+ "label": "Divider Image",
76
+ "name": "acfb_divider_image",
77
+ "type": "image",
78
+ "instructions": "",
79
+ "required": 0,
80
+ "conditional_logic": [
81
+ [
82
+ {
83
+ "field": "field_5f59e7cef1ef1",
84
+ "operator": "==",
85
+ "value": "image"
86
+ }
87
+ ]
88
+ ],
89
+ "wrapper": {
90
+ "width": "",
91
+ "class": "",
92
+ "id": ""
93
+ },
94
+ "return_format": "url",
95
+ "preview_size": "medium",
96
+ "library": "all",
97
+ "min_width": "",
98
+ "min_height": "",
99
+ "min_size": "",
100
+ "max_width": "",
101
+ "max_height": "",
102
+ "max_size": "",
103
+ "mime_types": ""
104
+ },
105
+ {
106
+ "key": "field_5f59e88b63f29",
107
+ "label": "Styles",
108
+ "name": "acfb_divider_image_sf",
109
+ "type": "select",
110
+ "instructions": "",
111
+ "required": 0,
112
+ "conditional_logic": 0,
113
+ "wrapper": {
114
+ "width": "",
115
+ "class": "",
116
+ "id": ""
117
+ },
118
+ "choices": {
119
+ "simple": "Simple",
120
+ "fancy": "Fancy"
121
+ },
122
+ "default_value": "simple",
123
+ "allow_null": 0,
124
+ "multiple": 0,
125
+ "ui": 0,
126
+ "return_format": "value",
127
+ "ajax": 0,
128
+ "placeholder": ""
129
+ },
130
+ {
131
+ "key": "field_5f59eaf163f2a",
132
+ "label": "Simple Styles",
133
+ "name": "acfb_divider_simple_styles",
134
+ "type": "select",
135
+ "instructions": "",
136
+ "required": 0,
137
+ "conditional_logic": [
138
+ [
139
+ {
140
+ "field": "field_5f59e88b63f29",
141
+ "operator": "==",
142
+ "value": "simple"
143
+ }
144
+ ]
145
+ ],
146
+ "wrapper": {
147
+ "width": "",
148
+ "class": "",
149
+ "id": ""
150
+ },
151
+ "choices": {
152
+ "solid": "Solid",
153
+ "double": "Double",
154
+ "dotted": "Dotted",
155
+ "dashed": "Dashed",
156
+ "groove": "Groove"
157
+ },
158
+ "default_value": "solid",
159
+ "allow_null": 0,
160
+ "multiple": 0,
161
+ "ui": 0,
162
+ "return_format": "value",
163
+ "ajax": 0,
164
+ "placeholder": ""
165
+ },
166
+ {
167
+ "key": "field_5f59eb6163f2b",
168
+ "label": "Fancy Styles",
169
+ "name": "acfb_divider_fancy_styles",
170
+ "type": "select",
171
+ "instructions": "",
172
+ "required": 0,
173
+ "conditional_logic": [
174
+ [
175
+ {
176
+ "field": "field_5f59e88b63f29",
177
+ "operator": "==",
178
+ "value": "fancy"
179
+ }
180
+ ]
181
+ ],
182
+ "wrapper": {
183
+ "width": "",
184
+ "class": "",
185
+ "id": ""
186
+ },
187
+ "choices": {
188
+ "curly": "Curly",
189
+ "curved": "Curved",
190
+ "slashes": "Slashes",
191
+ "squared": "Squared",
192
+ "wavy": "Wavy",
193
+ "tree": "Tree",
194
+ "zigzag": "Zigzag",
195
+ "rhombus": "Rhombus",
196
+ "parallelogram": "Parallelogram",
197
+ "x": "X"
198
+ },
199
+ "default_value": "curly",
200
+ "allow_null": 0,
201
+ "multiple": 0,
202
+ "ui": 0,
203
+ "return_format": "value",
204
+ "ajax": 0,
205
+ "placeholder": ""
206
+ },
207
+ {
208
+ "key": "field_5f59f1e865059",
209
+ "label": "Alignment",
210
+ "name": "acfb_divider_alignment",
211
+ "type": "button_group",
212
+ "instructions": "",
213
+ "required": 0,
214
+ "conditional_logic": 0,
215
+ "wrapper": {
216
+ "width": "",
217
+ "class": "",
218
+ "id": ""
219
+ },
220
+ "choices": {
221
+ "left": "<span class=\"dashicons dashicons-editor-alignleft\"><\/span>",
222
+ "center": "<span class=\"dashicons dashicons-editor-aligncenter\"><\/span>",
223
+ "right": "<span class=\"dashicons dashicons-editor-alignright\"><\/span>"
224
+ },
225
+ "allow_null": 0,
226
+ "default_value": "center",
227
+ "layout": "horizontal",
228
+ "return_format": "value"
229
+ },
230
+ {
231
+ "key": "field_5f59ecbf820f8",
232
+ "label": "Design",
233
+ "name": "",
234
+ "type": "tab",
235
+ "instructions": "",
236
+ "required": 0,
237
+ "conditional_logic": 0,
238
+ "wrapper": {
239
+ "width": "",
240
+ "class": "",
241
+ "id": ""
242
+ },
243
+ "placement": "top",
244
+ "endpoint": 0
245
+ },
246
+ {
247
+ "key": "field_5f59ecdfb9266",
248
+ "label": "Typography",
249
+ "name": "",
250
+ "type": "accordion",
251
+ "instructions": "",
252
+ "required": 0,
253
+ "conditional_logic": [
254
+ [
255
+ {
256
+ "field": "field_5f59e7cef1ef1",
257
+ "operator": "==",
258
+ "value": "text"
259
+ }
260
+ ]
261
+ ],
262
+ "wrapper": {
263
+ "width": "",
264
+ "class": "",
265
+ "id": ""
266
+ },
267
+ "open": 0,
268
+ "multi_expand": 0,
269
+ "endpoint": 0
270
+ },
271
+ {
272
+ "key": "field_5f59ed2cb926a",
273
+ "label": "Divider Text",
274
+ "name": "acfb_divider_text_typo",
275
+ "type": "typography",
276
+ "instructions": "",
277
+ "required": 0,
278
+ "conditional_logic": 0,
279
+ "wrapper": {
280
+ "width": "",
281
+ "class": "",
282
+ "id": ""
283
+ },
284
+ "font_family_enable": 0,
285
+ "font_family": "default",
286
+ "font_size": 18,
287
+ "font_weight": "default",
288
+ "font_transform": "default",
289
+ "font_style": "default",
290
+ "font_decoration": "default",
291
+ "font_line_height": "0.1",
292
+ "font_letter_spacing": 0
293
+ },
294
+ {
295
+ "key": "field_5f59ed0fb9267",
296
+ "label": "Colors",
297
+ "name": "",
298
+ "type": "accordion",
299
+ "instructions": "",
300
+ "required": 0,
301
+ "conditional_logic": 0,
302
+ "wrapper": {
303
+ "width": "",
304
+ "class": "",
305
+ "id": ""
306
+ },
307
+ "open": 0,
308
+ "multi_expand": 0,
309
+ "endpoint": 0
310
+ },
311
+ {
312
+ "key": "field_5f59edc3b926e",
313
+ "label": "Divider color",
314
+ "name": "acfb_divider_color",
315
+ "type": "color_picker",
316
+ "instructions": "",
317
+ "required": 0,
318
+ "conditional_logic": 0,
319
+ "wrapper": {
320
+ "width": "",
321
+ "class": "",
322
+ "id": ""
323
+ },
324
+ "default_value": "#d4d4d4"
325
+ },
326
+ {
327
+ "key": "field_5f59ed89b926c",
328
+ "label": "Divider Text Color",
329
+ "name": "acfb_divider_text_color",
330
+ "type": "color_picker",
331
+ "instructions": "",
332
+ "required": 0,
333
+ "conditional_logic": [
334
+ [
335
+ {
336
+ "field": "field_5f59e7cef1ef1",
337
+ "operator": "==",
338
+ "value": "text"
339
+ }
340
+ ]
341
+ ],
342
+ "wrapper": {
343
+ "width": "",
344
+ "class": "",
345
+ "id": ""
346
+ },
347
+ "default_value": "#191e23"
348
+ },
349
+ {
350
+ "key": "field_5f59ed80b926b",
351
+ "label": "Border",
352
+ "name": "",
353
+ "type": "accordion",
354
+ "instructions": "",
355
+ "required": 0,
356
+ "conditional_logic": [
357
+ [
358
+ {
359
+ "field": "field_5f59e88b63f29",
360
+ "operator": "==",
361
+ "value": "simple"
362
+ }
363
+ ]
364
+ ],
365
+ "wrapper": {
366
+ "width": "",
367
+ "class": "",
368
+ "id": ""
369
+ },
370
+ "open": 0,
371
+ "multi_expand": 0,
372
+ "endpoint": 0
373
+ },
374
+ {
375
+ "key": "field_5f5c89032c281",
376
+ "label": "Border Weight",
377
+ "name": "acfb_simple_divider_bw",
378
+ "type": "range",
379
+ "instructions": "",
380
+ "required": 0,
381
+ "conditional_logic": [
382
+ [
383
+ {
384
+ "field": "field_5f59e88b63f29",
385
+ "operator": "==",
386
+ "value": "simple"
387
+ }
388
+ ]
389
+ ],
390
+ "wrapper": {
391
+ "width": "",
392
+ "class": "",
393
+ "id": ""
394
+ },
395
+ "default_value": 6,
396
+ "min": 1,
397
+ "max": 30,
398
+ "step": "",
399
+ "prepend": "",
400
+ "append": "px"
401
+ },
402
+ {
403
+ "key": "field_5f59ed20b9268",
404
+ "label": "Sizing",
405
+ "name": "",
406
+ "type": "accordion",
407
+ "instructions": "",
408
+ "required": 0,
409
+ "conditional_logic": 0,
410
+ "wrapper": {
411
+ "width": "",
412
+ "class": "",
413
+ "id": ""
414
+ },
415
+ "open": 0,
416
+ "multi_expand": 0,
417
+ "endpoint": 0
418
+ },
419
+ {
420
+ "key": "field_5f5cb079b9ffe",
421
+ "label": "Element Width",
422
+ "name": "acfb_divider_element_width",
423
+ "type": "range",
424
+ "instructions": "",
425
+ "required": 0,
426
+ "conditional_logic": 0,
427
+ "wrapper": {
428
+ "width": "",
429
+ "class": "",
430
+ "id": ""
431
+ },
432
+ "default_value": 10,
433
+ "min": "",
434
+ "max": "",
435
+ "step": "",
436
+ "prepend": "",
437
+ "append": "%"
438
+ },
439
+ {
440
+ "key": "field_5f5c9272c5174",
441
+ "label": "Image Width",
442
+ "name": "acfb_divider_image_width",
443
+ "type": "range",
444
+ "instructions": "",
445
+ "required": 0,
446
+ "conditional_logic": [
447
+ [
448
+ {
449
+ "field": "field_5f59e7cef1ef1",
450
+ "operator": "==",
451
+ "value": "image"
452
+ }
453
+ ]
454
+ ],
455
+ "wrapper": {
456
+ "width": "",
457
+ "class": "",
458
+ "id": ""
459
+ },
460
+ "default_value": 50,
461
+ "min": "",
462
+ "max": "",
463
+ "step": "",
464
+ "prepend": "",
465
+ "append": "%"
466
+ },
467
+ {
468
+ "key": "field_5f5c89f6fe19e",
469
+ "label": "Divider Height",
470
+ "name": "acfb_fancy_divider_height",
471
+ "type": "range",
472
+ "instructions": "",
473
+ "required": 0,
474
+ "conditional_logic": [
475
+ [
476
+ {
477
+ "field": "field_5f59e88b63f29",
478
+ "operator": "==",
479
+ "value": "fancy"
480
+ }
481
+ ]
482
+ ],
483
+ "wrapper": {
484
+ "width": "",
485
+ "class": "",
486
+ "id": ""
487
+ },
488
+ "default_value": 20,
489
+ "min": 1,
490
+ "max": "",
491
+ "step": "",
492
+ "prepend": "",
493
+ "append": "px"
494
+ },
495
+ {
496
+ "key": "field_5f59ed25b9269",
497
+ "label": "Spacing",
498
+ "name": "",
499
+ "type": "accordion",
500
+ "instructions": "",
501
+ "required": 0,
502
+ "conditional_logic": 0,
503
+ "wrapper": {
504
+ "width": "",
505
+ "class": "",
506
+ "id": ""
507
+ },
508
+ "open": 0,
509
+ "multi_expand": 0,
510
+ "endpoint": 0
511
+ },
512
+ {
513
+ "key": "field_5f5c9141bef7f",
514
+ "label": "Element Spacing",
515
+ "name": "acfb_divider_element_spacing",
516
+ "type": "range",
517
+ "instructions": "",
518
+ "required": 0,
519
+ "conditional_logic": 0,
520
+ "wrapper": {
521
+ "width": "",
522
+ "class": "",
523
+ "id": ""
524
+ },
525
+ "default_value": 20,
526
+ "min": "",
527
+ "max": 200,
528
+ "step": "",
529
+ "prepend": "",
530
+ "append": "px"
531
+ },
532
+ {
533
+ "key": "field_5f5c8fad1be5d",
534
+ "label": "Margin",
535
+ "name": "acfb_divider_margin",
536
+ "type": "margin",
537
+ "instructions": "",
538
+ "required": 0,
539
+ "conditional_logic": 0,
540
+ "wrapper": {
541
+ "width": "",
542
+ "class": "",
543
+ "id": ""
544
+ },
545
+ "margin_enable": 0,
546
+ "margin_top": "",
547
+ "margin_right": "",
548
+ "margin_bottom": "",
549
+ "margin_left": ""
550
+ },
551
+ {
552
+ "key": "field_5f5c8fb91be5e",
553
+ "label": "Padding",
554
+ "name": "acfb_divider_padding",
555
+ "type": "padding",
556
+ "instructions": "",
557
+ "required": 0,
558
+ "conditional_logic": 0,
559
+ "wrapper": {
560
+ "width": "",
561
+ "class": "",
562
+ "id": ""
563
+ },
564
+ "padding_enable": 0,
565
+ "padding_top": "",
566
+ "padding_right": "",
567
+ "padding_bottom": "",
568
+ "padding_left": ""
569
+ }
570
+ ],
571
+ "location": [
572
+ [
573
+ {
574
+ "param": "block",
575
+ "operator": "==",
576
+ "value": "acf\/acfb-divider"
577
+ }
578
+ ]
579
+ ],
580
+ "menu_order": 0,
581
+ "position": "normal",
582
+ "style": "default",
583
+ "label_placement": "top",
584
+ "instruction_placement": "label",
585
+ "hide_on_screen": "",
586
+ "active": true,
587
+ "description": "",
588
+ "modified": 1599910071
589
+ }
block-templates/free/acfb-divider.php ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ require_once plugin_dir_path( __DIR__ ) . 'functions/function.php';
3
+
4
+ $uid = $block['id'];
5
+
6
+ $className = 'acfb_divider_block';
7
+ if( !empty($block['className']) ) {
8
+ $className .= ' ' . $block['className'];
9
+ }
10
+ if( !empty($block['align']) ) {
11
+ $className .= ' align' . $block['align'];
12
+ }
13
+
14
+ echo parse_link(
15
+ array(
16
+ get_field('acfb_divider_text_typo')
17
+ )
18
+ );
19
+
20
+ $acfb_divider_padding = acfb_padding_name('acfb_divider_padding');
21
+ $acfb_divider_margin = acfb_margin_name('acfb_divider_margin');
22
+ $acfb_divider_text_typo = acfb_ffaimly_name('acfb_divider_text_typo');
23
+
24
+
25
+
26
+
27
+ $acfb_divider_color = get_field('acfb_divider_color');
28
+ $acfb_dc = str_replace('#' , "" , get_field('acfb_divider_color'));
29
+
30
+ $acfb_divider_fancy_styles = get_field('acfb_divider_fancy_styles');
31
+ $acfb_fancy_divider = '';
32
+ if($acfb_divider_fancy_styles === 'curly'){
33
+ $acfb_fancy_divider = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%25' viewBox='0 0 24 24' stroke='%23$acfb_dc' stroke-width='1' fill='none' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cpath d='M0,21c3.3,0,8.3-0.9,15.7-7.1c6.6-5.4,4.4-9.3,2.4-10.3c-3.4-1.8-7.7,1.3-7.3,8.8C11.2,20,17.1,21,24,21'/%3E%3C/svg%3E";
34
+ } elseif($acfb_divider_fancy_styles === 'curved'){
35
+ $acfb_fancy_divider = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%25' viewBox='0 0 24 24' stroke='%23$acfb_dc' stroke-width='1' fill='none' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cpath d='M0,6c6,0,6,13,12,13S18,6,24,6'/%3E%3C/svg%3E";
36
+
37
+ } elseif($acfb_divider_fancy_styles === 'slashes'){
38
+ $acfb_fancy_divider = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%25' viewBox='0 0 20 16' stroke='%23$acfb_dc' stroke-width='1' fill='none' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cg transform='translate(-12.000000, 0)'%3E%3Cpath d='M28,0L10,18'/%3E%3Cpath d='M18,0L0,18'/%3E%3Cpath d='M48,0L30,18'/%3E%3Cpath d='M38,0L20,18'/%3E%3C/g%3E%3C/svg%3E";
39
+ } elseif($acfb_divider_fancy_styles === 'squared'){
40
+ $acfb_fancy_divider = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%25' viewBox='0 0 24 24' stroke='%23$acfb_dc' stroke-width='1' fill='none' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cpolyline points='0,6 6,6 6,18 18,18 18,6 24,6 '/%3E%3C/svg%3E";
41
+ } elseif($acfb_divider_fancy_styles === 'wavy'){
42
+ $acfb_fancy_divider = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%25' viewBox='0 0 24 24' stroke='%23$acfb_dc' stroke-width='1' fill='none' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cpath d='M0,6c6,0,0.9,11.1,6.9,11.1S18,6,24,6'/%3E%3C/svg%3E";
43
+ } elseif($acfb_divider_fancy_styles === 'tree'){
44
+ $acfb_fancy_divider = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%25' viewBox='0 0 126 26' fill='%23$acfb_dc' stroke='none'%3E%3Cpath d='M111.9,18.3v3.4H109v-3.4H111.9z M90.8,18.3v3.4H88v-3.4H90.8z M69.8,18.3v3.4h-2.9v-3.4H69.8z M48.8,18.3v3.4h-2.9v-3.4H48.8z M27.7,18.3v3.4h-2.9v-3.4H27.7z M6.7,18.3v3.4H3.8v-3.4H6.7z M46.4,4l4.3,4.8l-1.8,0l3.5,4.4l-2.2-0.1l3,3.3l-11,0.4l3.6-3.8l-2.9-0.1l3.1-4.2l-1.9,0L46.4,4z M111.4,4l2.4,4.8l-1.8,0l3.5,4.4l-2.5-0.1l3.3,3.3h-11l3.1-3.4l-2.5-0.1l3.1-4.2l-1.9,0L111.4,4z M89.9,4l2.9,4.8l-1.9,0l3.2,4.2l-2.5,0l3.5,3.5l-11-0.4l3-3.1l-2.4,0L88,8.8l-1.9,0L89.9,4z M68.6,4l3,4.4l-1.9,0.1l3.4,4.1l-2.7,0.1l3.8,3.7H63.8l2.9-3.6l-2.9,0.1L67,8.7l-2,0.1L68.6,4z M26.5,4l3,4.4l-1.9,0.1l3.7,4.7l-2.5-0.1l3.3,3.3H21l3.1-3.4l-2.5-0.1l3.2-4.3l-2,0.1L26.5,4z M4.9,4l3.7,4.8l-1.5,0l3.1,4.2L7.6,13l3.4,3.4H0l3-3.3l-2.3,0.1l3.5-4.4l-2.3,0L4.9,4z'/%3E%3C/svg%3E";
45
+ } elseif($acfb_divider_fancy_styles === 'zigzag'){
46
+ $acfb_fancy_divider = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%25' viewBox='0 0 24 24' stroke='%23$acfb_dc' stroke-width='1' fill='none' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cpolyline points='0,18 12,6 24,18 '/%3E%3C/svg%3E";
47
+ } elseif($acfb_divider_fancy_styles === 'rhombus'){
48
+ $acfb_fancy_divider = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%25' viewBox='0 0 24 24' fill='%23$acfb_dc' stroke='none'%3E%3Cpath d='M12.7,2.3c-0.4-0.4-1.1-0.4-1.5,0l-8,9.1c-0.3,0.4-0.3,0.9,0,1.2l8,9.1c0.4,0.4,1.1,0.4,1.5,0l8-9.1c0.3-0.4,0.3-0.9,0-1.2L12.7,2.3z'/%3E%3C/svg%3E";
49
+ } elseif($acfb_divider_fancy_styles === 'parallelogram'){
50
+ $acfb_fancy_divider = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%25' viewBox='0 0 24 24' fill='%23$acfb_dc' stroke='none'%3E%3Cpolygon points='9.4,2 24,2 14.6,21.6 0,21.6'/%3E%3C/svg%3E";
51
+ } elseif($acfb_divider_fancy_styles === 'x'){
52
+ $acfb_fancy_divider = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%25' viewBox='0 0 126 26' fill='%23$acfb_dc' stroke='none'%3E%3Cpath d='M10.7,6l2.5,2.6l-4,4.3l4,5.4l-2.5,1.9l-4.5-5.2l-3.9,4.2L0.7,17L4,13.1L0,8.6l2.3-1.3l3.9,3.9L10.7,6z M23.9,6.6l4.2,4.5L32,7.2l2.3,1.3l-4,4.5l3.2,3.9L32,19.1l-3.9-3.3l-4.5,4.3l-2.5-1.9l4.4-5.1l-4.2-3.9L23.9,6.6zM73.5,6L76,8.6l-4,4.3l4,5.4l-2.5,1.9l-4.5-5.2l-3.9,4.2L63.5,17l4.1-4.7L63.5,8l2.3-1.3l4.1,3.6L73.5,6z M94,6l2.5,2.6l-4,4.3l4,5.4L94,20.1l-3.9-5l-3.9,4.2L84,17l3.2-3.9L84,8.6l2.3-1.3l3.2,3.9L94,6z M106.9,6l4.5,5.1l3.9-3.9l2.3,1.3l-4,4.5l3.2,3.9l-1.6,2.1l-3.9-4.2l-4.5,5.2l-2.5-1.9l4-5.4l-4-4.3L106.9,6z M53.1,6l2.5,2.6l-4,4.3l4,4.6l-2.5,1.9l-4.5-4.5l-3.5,4.5L43.1,17l3.2-3.9l-4-4.5l2.3-1.3l3.9,3.9L53.1,6z'/%3E%3C/svg%3E";
53
+ } else{
54
+ $acfb_fancy_divider = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%25' viewBox='0 0 120 26' fill='%23$acfb_dc' stroke='none'%3E%3Cpolygon points='0,14.4 0,21 11.5,12.4 21.3,20 30.4,11.1 40.3,20 51,12.4 60.6,20 69.6,11.1 79.3,20 90.1,12.4 99.6,20 109.7,11.1 120,21 120,14.4 109.7,5 99.6,13 90.1,5 79.3,14.5 71,5.7 60.6,12.4 51,5 40.3,14.5 31.1,5 21.3,13 11.5,5 '/%3E%3C/svg%3E";
55
+ }
56
+
57
+
58
+ $acfb_divider_image = null;
59
+ if(get_field('acfb_divider_image')){
60
+ $acfb_divider_image = get_field('acfb_divider_image');
61
+ } else{
62
+ $acfb_divider_image = plugins_url() . '/acf-blocks/img/placeholder-image.jpg';
63
+ }
64
+
65
+ ?>
66
+ <div class="<?php echo $uid; ?> <?php echo esc_attr($className); ?>">
67
+ <style type="text/css">
68
+ .<?php echo $uid; ?>{
69
+ <?php echo get_padding_field($acfb_divider_padding); ?>
70
+ <?php echo get_margin_field($acfb_divider_margin); ?>
71
+ }
72
+
73
+ .<?php echo $uid; ?> .acfb_divider{
74
+ display: -webkit-box;
75
+ display: -webkit-flex;
76
+ display: -ms-flexbox;
77
+ display: flex;
78
+ direction: ltr;
79
+ align-items: center;
80
+ }
81
+
82
+ .<?php echo $uid; ?> .acfb_divider::before{
83
+ <?php if(get_field('acfb_divider_image_sf') === 'simple'): ?>
84
+ border-top-style: <?php the_field('acfb_divider_simple_styles'); ?>;
85
+ border-top-color: <?php echo $acfb_divider_color; ?>;
86
+ border-top-width: <?php the_field('acfb_simple_divider_bw') ?>px;
87
+ <?php else: ?>
88
+ background: url("<?php echo $acfb_fancy_divider ?>");
89
+ height: <?php the_field('acfb_fancy_divider_height') ?>px;
90
+ <?php if(get_field("acfb_divider_fancy_styles") !== "tree" && get_field("acfb_divider_fancy_styles") !== "x"): ?>
91
+ background-size: 20px 100%;
92
+ <?php endif; ?>
93
+ <?php endif; ?>
94
+ <?php if(get_field('acfb_divider_alignment') !== 'left'): ?>
95
+ content: "";
96
+ <?php endif; ?>
97
+ display: block;
98
+ -webkit-box-flex: 1;
99
+ -webkit-flex-grow: 1;
100
+ -ms-flex-positive: 1;
101
+ flex-grow: 1;
102
+ }
103
+
104
+ .<?php echo $uid; ?> .acfb_divider .acfb_divider_element{
105
+ width: <?php the_field('acfb_divider_element_width'); ?>%;
106
+ margin-left: <?php the_field('acfb_divider_element_spacing'); ?>px;
107
+ margin-right: <?php the_field('acfb_divider_element_spacing'); ?>px;
108
+ text-align: center;
109
+ <?php
110
+ if(get_field('acfb_select_divider_style') === 'text'){
111
+ echo get_typo_field($acfb_divider_text_typo);
112
+ echo "color:" . get_field('acfb_divider_text_color');
113
+ }
114
+ ?>
115
+ }
116
+
117
+ <?php if(get_field('acfb_select_divider_style') === 'image'): ?>
118
+ .acfb_divider .acfb_divider_element img{
119
+ width: <?php the_field('acfb_divider_image_width'); ?>%;
120
+ }
121
+ <?php endif; ?>
122
+
123
+ .<?php echo $uid; ?> .acfb_divider::after{
124
+ <?php if(get_field('acfb_divider_image_sf') === 'simple'): ?>
125
+ border-top-style: <?php the_field('acfb_divider_simple_styles'); ?>;
126
+ border-top-color: <?php echo $acfb_divider_color; ?>;
127
+ border-top-width: <?php the_field('acfb_simple_divider_bw') ?>px;
128
+ <?php else: ?>
129
+ background: url("<?php echo $acfb_fancy_divider ?>");
130
+ height: <?php the_field('acfb_fancy_divider_height') ?>px;
131
+ <?php if(get_field("acfb_divider_fancy_styles") !== "tree" && get_field("acfb_divider_fancy_styles") !== "x"): ?>
132
+ background-size: 20px 100%;
133
+ <?php endif; ?>
134
+ <?php endif; ?>
135
+ <?php if(get_field('acfb_divider_alignment') !== 'right'): ?>
136
+ content: "";
137
+ <?php endif; ?>
138
+ display: block;
139
+ -webkit-box-flex: 1;
140
+ -webkit-flex-grow: 1;
141
+ -ms-flex-positive: 1;
142
+ flex-grow: 1;
143
+ }
144
+ </style>
145
+
146
+ <div class="acfb_divider">
147
+ <div class="acfb_divider_element">
148
+ <?php
149
+ if(get_field('acfb_select_divider_style') === 'text'){
150
+ the_field('acfb_divider_text');
151
+ } else{
152
+ echo "<img src='". $acfb_divider_image ."'>";
153
+ }
154
+ ?>
155
+ </div>
156
+ </div>
157
+
158
+ </div><!-- Uid -->
block-templates/free/acfb-posts.php CHANGED
@@ -153,7 +153,7 @@ $the_query = new WP_Query( $args ); ?>
153
  $acfb_thumb = '';
154
  if ( has_post_thumbnail() ){
155
  $acfb_thumb = 'thumb';
156
- } else{
157
  $acfb_thumb = 'no_thumb';
158
  }
159
  ?>
153
  $acfb_thumb = '';
154
  if ( has_post_thumbnail() ){
155
  $acfb_thumb = 'thumb';
156
+ } else {
157
  $acfb_thumb = 'no_thumb';
158
  }
159
  ?>
css/acfblocks.css CHANGED
@@ -3034,9 +3034,6 @@ transition: all .3s .3s;
3034
  }
3035
 
3036
 
3037
-
3038
-
3039
-
3040
  /************ Content Toggle CSS ************/
3041
 
3042
  .acfb_ct_content_wrap.one .block-editor-block-list__layout [data-type="acf/acfb-content-toggle-child"]:nth-child(2){
@@ -3174,7 +3171,10 @@ transition: all .3s .3s;
3174
  .editor-block-list-item-acf-acfb-dual-button .block-editor-block-types-list__item-title::after,
3175
 
3176
  .editor-block-list-item-acf-acfb-tilt-card .editor-block-types-list__item-title::after,
3177
- .editor-block-list-item-acf-acfb-tilt-card .block-editor-block-types-list__item-title::after{
 
 
 
3178
  content: " PRO";
3179
  color: #ffffff;
3180
  font-weight: bold;
3034
  }
3035
 
3036
 
 
 
 
3037
  /************ Content Toggle CSS ************/
3038
 
3039
  .acfb_ct_content_wrap.one .block-editor-block-list__layout [data-type="acf/acfb-content-toggle-child"]:nth-child(2){
3171
  .editor-block-list-item-acf-acfb-dual-button .block-editor-block-types-list__item-title::after,
3172
 
3173
  .editor-block-list-item-acf-acfb-tilt-card .editor-block-types-list__item-title::after,
3174
+ .editor-block-list-item-acf-acfb-tilt-card .block-editor-block-types-list__item-title::after,
3175
+
3176
+ .editor-block-list-item-acf-acfb-lottie .editor-block-types-list__item-title::after,
3177
+ .editor-block-list-item-acf-acfb-lottie .block-editor-block-types-list__item-title::after{
3178
  content: " PRO";
3179
  color: #ffffff;
3180
  font-weight: bold;
free-acf-blocks.php CHANGED
@@ -369,13 +369,55 @@ function acfb_blocks_free() {
369
  'description' => __('Add Fb Like Button in your pages/posts.'),
370
  'render_callback' => 'acf_blocks_template',
371
  'category' => 'acfb-blocks',
372
- 'icon' => '<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="m0 1v8c0 .552246.447693 1 1 1h3v-10h-3c-.552307 0-1 .447693-1 1z" transform="translate(0 5)"/><path d="m9.15332 5.02979h-2.9541c-.258301 0-.387695-.172363-.431152-.246582-.043457-.0737305-.131348-.270508-.0063477-.496094l1.0415-1.87549c.228516-.410645.251953-.893555.0649414-1.32471-.187012-.43164-.556152-.744629-1.0127-.858398l-.734375-.183594c-.178711-.0449219-.368164.0122071-.492676.150391l-3.9873 4.42969c-.413574.460449-.641113 1.0542-.641113 1.67236v5.23242c0 1.37842 1.12158 2.5 2.5 2.5l4.97412-.0004883c1.12305 0 2.11475-.756348 2.41113-1.83887l1.06738-4.89844c.03125-.13623.0473633-.275879.0473633-.415527 0-1.01807-.828613-1.84668-1.84668-1.84668z" transform="translate(5 .97)"/></svg>',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
373
  'enqueue_assets' => function(){
374
  wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
375
  },
376
  ));
377
 
378
-
 
379
  }
380
 
381
  }
369
  'description' => __('Add Fb Like Button in your pages/posts.'),
370
  'render_callback' => 'acf_blocks_template',
371
  'category' => 'acfb-blocks',
372
+ 'icon' => '<svg enable-background="new 0 0 512 512" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
373
+ <path d="m512 304c0-12.821-5.099-24.768-13.888-33.579 9.963-10.901 15.04-25.515 13.653-40.725-2.496-27.115-26.923-48.363-55.637-48.363h-131.78c6.528-19.819 16.981-56.149 16.981-85.333 0-46.272-39.317-85.333-64-85.333-22.144 0-37.995 12.48-38.656 12.992-2.539 2.027-4.011 5.099-4.011 8.341v72.341l-61.461 133.1-2.539 1.301v-4.075c0-5.888-4.779-10.667-10.667-10.667h-106.67c-29.418 1e-3 -53.333 23.916-53.333 53.334v170.67c0 29.419 23.915 53.333 53.333 53.333h64c23.061 0 42.773-14.72 50.197-35.264 17.75 9.131 41.643 13.931 56.47 13.931h195.82c23.232 0 43.563-15.659 48.341-37.248 2.453-11.136 1.024-22.336-3.84-32.064 15.744-7.915 26.347-24.192 26.347-42.688 0-7.552-1.728-14.784-4.992-21.312 15.744-7.936 26.325-24.192 26.325-42.688zm-44.992 26.325c-4.117 0.491-7.595 3.285-8.917 7.232-1.301 3.947-0.213 8.277 2.816 11.136 5.419 5.099 8.427 11.968 8.427 19.307 0 13.461-10.176 24.768-23.637 26.325-4.117 0.491-7.595 3.285-8.917 7.232-1.301 3.947-0.213 8.277 2.816 11.136 7.019 6.613 9.835 15.893 7.723 25.451-2.624 11.904-14.187 20.523-27.499 20.523h-195.82c-17.323 0-46.379-8.128-56.448-18.219-3.051-3.029-7.659-3.925-11.627-2.304-3.989 1.643-6.592 5.547-6.592 9.856 0 17.643-14.357 32-32 32h-64c-17.643 0-32-14.357-32-32v-170.67c0-17.643 14.357-32 32-32h96v10.667c0 3.691 1.92 7.125 5.077 9.088 3.115 1.877 7.04 2.069 10.368 0.448l21.333-10.667c2.155-1.067 3.883-2.859 4.907-5.056l64-138.67c0.64-1.408 0.981-2.944 0.981-4.48v-68.885c4.438-2.453 12.14-5.781 21.334-5.781 11.691 0 42.667 29.056 42.667 64 0 37.547-20.437 91.669-20.629 92.203-1.237 3.264-0.811 6.955 1.173 9.856 2.005 2.88 5.291 4.608 8.789 4.608h146.8c17.792 0 32.896 12.736 34.389 28.992 1.131 12.16-4.715 23.723-15.189 30.187-3.264 2.005-5.205 5.632-5.056 9.493s2.368 7.317 5.781 9.088c9.024 4.587 14.613 13.632 14.613 23.573 1e-3 13.461-10.175 24.768-23.658 26.325z"/><path d="m160 245.33c-5.888 0-10.667 4.779-10.667 10.667v192c0 5.888 4.779 10.667 10.667 10.667s10.667-4.779 10.667-10.667v-192c0-5.888-4.779-10.667-10.667-10.667z"/></svg>',
374
+ 'enqueue_assets' => function(){
375
+ wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
376
+ },
377
+ ));
378
+
379
+ // register a Divider
380
+ acf_register_block(array(
381
+ 'name' => 'acfb-divider',
382
+ 'mode' => 'preview',
383
+ 'title' => __('Divider'),
384
+ 'description' => __('Add Divider in your pages/posts.'),
385
+ 'render_callback' => 'acf_blocks_template',
386
+ 'category' => 'acfb-blocks',
387
+ 'icon' => '<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
388
+ width="100.000000pt" height="100.000000pt" viewBox="0 0 100.000000 100.000000"
389
+ preserveAspectRatio="xMidYMid meet">
390
+ <metadata>
391
+ Created by potrace 1.16, written by Peter Selinger 2001-2019
392
+ </metadata>
393
+ <g transform="translate(0.000000,100.000000) scale(0.100000,-0.100000)"
394
+ fill="#000000" stroke="none">
395
+ <path d="M190 675 l0 -235 305 0 305 0 0 235 0 235 -305 0 -305 0 0 -235z
396
+ m580 55 c0 -82 -2 -150 -5 -150 -3 0 -26 20 -51 45 -53 53 -77 56 -119 15 -28
397
+ -27 -33 -29 -45 -15 -24 29 -54 17 -120 -50 -53 -52 -71 -64 -97 -65 -22 0
398
+ -33 -5 -33 -15 0 -12 36 -15 238 -18 l237 -2 -280 -1 c-154 0 -263 1 -242 3
399
+ 50 6 52 33 2 33 l-35 0 0 185 0 185 275 0 275 0 0 -150z m-11 -186 c7 4 11 -1
400
+ 11 -13 0 -20 -5 -21 -127 -21 l-126 0 64 65 63 65 52 -51 c29 -28 57 -48 63
401
+ -45z"/>
402
+ <path d="M346 853 c-3 -3 -6 -18 -7 -32 0 -26 0 -26 -9 -3 -11 27 -40 29 -40
403
+ 2 0 -12 -5 -17 -14 -14 -19 7 -30 -14 -17 -30 9 -10 8 -15 -4 -20 -24 -9 -18
404
+ -26 9 -26 15 0 26 7 29 18 4 13 5 12 6 -4 1 -15 -6 -24 -24 -28 -14 -4 -25
405
+ -13 -25 -21 0 -18 36 -20 47 -2 6 10 15 10 43 0 19 -6 27 -12 18 -12 -23 -1
406
+ -25 -51 -3 -51 8 0 15 8 15 17 0 13 3 14 12 5 18 -18 28 -15 28 8 0 14 7 20
407
+ 21 20 14 0 19 5 17 18 -2 10 -12 17 -25 16 -12 0 -20 3 -17 8 3 4 16 8 30 8
408
+ 15 0 24 6 24 15 0 8 -8 15 -17 15 -15 0 -15 2 -4 9 18 12 6 45 -14 37 -10 -4
409
+ -15 1 -15 14 0 23 -10 26 -28 8 -9 -9 -12 -8 -12 4 0 19 -14 31 -24 21z"/>
410
+ <path d="M0 260 l0 -70 500 0 500 0 0 70 0 70 -500 0 -500 0 0 -70z m960 0 l0
411
+ -30 -460 0 -460 0 0 30 0 30 460 0 460 0 0 -30z"/>
412
+ </g>
413
+ </svg>',
414
  'enqueue_assets' => function(){
415
  wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
416
  },
417
  ));
418
 
419
+
420
+
421
  }
422
 
423
  }
img/curly.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 24 24' stroke-width='1' fill='none' stroke-linecap='square' stroke-miterlimit='10'><path d='M0,21c3.3,0,8.3-0.9,15.7-7.1c6.6-5.4,4.4-9.3,2.4-10.3c-3.4-1.8-7.7,1.3-7.3,8.8C11.2,20,17.1,21,24,21'/></svg>
img/location-pin.json ADDED
@@ -0,0 +1 @@
 
1
+ {"v":"5.7.0","fr":60,"ip":0,"op":61,"w":1200,"h":1200,"nm":"Artboard – 2","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"pin","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[599.986,590,0],"to":[0,13.333,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":30,"s":[599.986,670,0],"to":[0,0,0],"ti":[0,13.333,0]},{"t":60,"s":[599.986,590,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[449.972,700],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false}],"ip":0,"op":61,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Ellipse 3","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0.014,-125,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":0,"s":[110,110,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":30,"s":[100,100,100]},{"t":60,"s":[110,110,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[160,160],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.439215686275,0.439215686275,0.439215686275,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":1,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"op","nm":"Offset Paths 1","a":{"a":0,"k":-0.5,"ix":1},"lj":1,"ml":{"a":0,"k":4,"ix":3},"ix":3,"mn":"ADBE Vector Filter - Offset","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 3 Stroke","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[160,160],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 3 Fill","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":61,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Ellipse 1","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0.496,-124.518,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[120,120,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[196.965,196.965],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"op","nm":"Offset Paths 1","a":{"a":0,"k":-0.5,"ix":1},"lj":1,"ml":{"a":0,"k":4,"ix":3},"ix":3,"mn":"ADBE Vector Filter - Offset","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1 Stroke","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[196.965,196.965],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.639215686275,0.050980392157,0.094117647059,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1 Fill","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":61,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Path 2","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[224.986,350,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-147.62,0],[37.113,-138.507],[0.025,-62.751],[38.458,143.528]],"o":[[147.62,0],[-37.113,138.508],[0,-62.729],[-38.458,-143.528]],"v":[[220.707,0],[442.788,286.911],[220.707,700],[8.078,286.911]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.913725490196,0.254901960784,0.203921568627,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":15,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.913725490196,0.254901960784,0.203921568627,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 2","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":61,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"shadow","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[600,1020.5,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[464,93],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"op","nm":"Offset Paths 1","a":{"a":0,"k":-0.5,"ix":1},"lj":1,"ml":{"a":0,"k":4,"ix":3},"ix":3,"mn":"ADBE Vector Filter - Offset","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"shadow Stroke","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[464,93],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.913725490196,0.925490196078,0.941176470588,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"shadow Fill","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":61,"st":0,"bm":0}],"markers":[]}
js/lottie-player.js ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"ytxR":[function(require,module,exports) {
2
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.removeNodes=exports.reparentNodes=exports.isCEPolyfill=void 0;const e="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback;exports.isCEPolyfill=e;const o=(e,o,l=null,s=null)=>{for(;o!==l;){const l=o.nextSibling;e.insertBefore(o,s),o=l}};exports.reparentNodes=o;const l=(e,o,l=null)=>{for(;o!==l;){const l=o.nextSibling;e.removeChild(o),o=l}};exports.removeNodes=l;
3
+ },{}],"Av0K":[function(require,module,exports) {
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lastAttributeNameRegex=exports.createMarker=exports.isTemplatePartActive=exports.Template=exports.boundAttributeSuffix=exports.markerRegex=exports.nodeMarker=exports.marker=void 0;const e=`{{lit-${String(Math.random()).slice(2)}}}`;exports.marker=e;const t=`\x3c!--${e}--\x3e`;exports.nodeMarker=t;const r=new RegExp(`${e}|${t}`);exports.markerRegex=r;const s="$lit$";exports.boundAttributeSuffix=s;class o{constructor(t,o){this.parts=[],this.element=o;const i=[],l=[],p=document.createTreeWalker(o.content,133,null,!1);let c=0,d=-1,u=0;const{strings:f,values:{length:h}}=t;for(;u<h;){const t=p.nextNode();if(null!==t){if(d++,1===t.nodeType){if(t.hasAttributes()){const e=t.attributes,{length:o}=e;let i=0;for(let t=0;t<o;t++)n(e[t].name,s)&&i++;for(;i-- >0;){const e=f[u],o=x.exec(e)[2],n=o.toLowerCase()+s,i=t.getAttribute(n);t.removeAttribute(n);const a=i.split(r);this.parts.push({type:"attribute",index:d,name:o,strings:a}),u+=a.length-1}}"TEMPLATE"===t.tagName&&(l.push(t),p.currentNode=t.content)}else if(3===t.nodeType){const o=t.data;if(o.indexOf(e)>=0){const e=t.parentNode,l=o.split(r),p=l.length-1;for(let r=0;r<p;r++){let o,i=l[r];if(""===i)o=a();else{const e=x.exec(i);null!==e&&n(e[2],s)&&(i=i.slice(0,e.index)+e[1]+e[2].slice(0,-s.length)+e[3]),o=document.createTextNode(i)}e.insertBefore(o,t),this.parts.push({type:"node",index:++d})}""===l[p]?(e.insertBefore(a(),t),i.push(t)):t.data=l[p],u+=p}}else if(8===t.nodeType)if(t.data===e){const e=t.parentNode;null!==t.previousSibling&&d!==c||(d++,e.insertBefore(a(),t)),c=d,this.parts.push({type:"node",index:d}),null===t.nextSibling?t.data="":(i.push(t),d--),u++}else{let r=-1;for(;-1!==(r=t.data.indexOf(e,r+1));)this.parts.push({type:"node",index:-1}),u++}}else p.currentNode=l.pop()}for(const e of i)e.parentNode.removeChild(e)}}exports.Template=o;const n=(e,t)=>{const r=e.length-t.length;return r>=0&&e.slice(r)===t},i=e=>-1!==e.index;exports.isTemplatePartActive=i;const a=()=>document.createComment("");exports.createMarker=a;const x=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;exports.lastAttributeNameRegex=x;
5
+ },{}],"NXoq":[function(require,module,exports) {
6
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.removeNodesFromTemplate=n,exports.insertNodeIntoTemplate=l;var e=require("./template.js");const t=133;function n(e,n){const{element:{content:r},parts:l}=e,u=document.createTreeWalker(r,t,null,!1);let c=o(l),d=l[c],s=-1,i=0;const a=[];let p=null;for(;u.nextNode();){s++;const e=u.currentNode;for(e.previousSibling===p&&(p=null),n.has(e)&&(a.push(e),null===p&&(p=e)),null!==p&&i++;void 0!==d&&d.index===s;)d.index=null!==p?-1:d.index-i,d=l[c=o(l,c)]}a.forEach(e=>e.parentNode.removeChild(e))}const r=e=>{let n=11===e.nodeType?0:1;const r=document.createTreeWalker(e,t,null,!1);for(;r.nextNode();)n++;return n},o=(t,n=-1)=>{for(let r=n+1;r<t.length;r++){const n=t[r];if((0,e.isTemplatePartActive)(n))return r}return-1};function l(e,n,l=null){const{element:{content:u},parts:c}=e;if(null==l)return void u.appendChild(n);const d=document.createTreeWalker(u,t,null,!1);let s=o(c),i=0,a=-1;for(;d.nextNode();){for(a++,d.currentNode===l&&(i=r(n),l.parentNode.insertBefore(n,l));-1!==s&&c[s].index===a;){if(i>0){for(;-1!==s;)c[s].index+=i,s=o(c,s);return}s=o(c,s)}}}
7
+ },{"./template.js":"Av0K"}],"uWh2":[function(require,module,exports) {
8
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isDirective=exports.directive=void 0;const e=new WeakMap,t=t=>(...s)=>{const i=t(...s);return e.set(i,!0),i};exports.directive=t;const s=t=>"function"==typeof t&&e.has(t);exports.isDirective=s;
9
+ },{}],"pnLb":[function(require,module,exports) {
10
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.nothing=exports.noChange=void 0;const e={};exports.noChange=e;const o={};exports.nothing=o;
11
+ },{}],"bn5t":[function(require,module,exports) {
12
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TemplateInstance=void 0;var e=require("./dom.js"),t=require("./template.js");class s{constructor(e,t,s){this.__parts=[],this.template=e,this.processor=t,this.options=s}update(e){let t=0;for(const s of this.__parts)void 0!==s&&s.setValue(e[t]),t++;for(const s of this.__parts)void 0!==s&&s.commit()}_clone(){const s=e.isCEPolyfill?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),o=[],r=this.template.parts,n=document.createTreeWalker(s,133,null,!1);let i,p=0,l=0,a=n.nextNode();for(;p<r.length;)if(i=r[p],(0,t.isTemplatePartActive)(i)){for(;l<i.index;)l++,"TEMPLATE"===a.nodeName&&(o.push(a),n.currentNode=a.content),null===(a=n.nextNode())&&(n.currentNode=o.pop(),a=n.nextNode());if("node"===i.type){const e=this.processor.handleTextExpression(this.options);e.insertAfterNode(a.previousSibling),this.__parts.push(e)}else this.__parts.push(...this.processor.handleAttributeExpressions(a,i.name,i.strings,this.options));p++}else this.__parts.push(void 0),p++;return e.isCEPolyfill&&(document.adoptNode(s),customElements.upgrade(s)),s}}exports.TemplateInstance=s;
13
+ },{"./dom.js":"ytxR","./template.js":"Av0K"}],"cVNN":[function(require,module,exports) {
14
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SVGTemplateResult=exports.TemplateResult=void 0;var e=require("./dom.js"),t=require("./template.js");const s=` ${t.marker} `;class r{constructor(e,t,s,r){this.strings=e,this.values=t,this.type=s,this.processor=r}getHTML(){const e=this.strings.length-1;let r="",n=!1;for(let l=0;l<e;l++){const e=this.strings[l],i=e.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===e.indexOf("--\x3e",i+1);const o=t.lastAttributeNameRegex.exec(e);r+=null===o?e+(n?s:t.nodeMarker):e.substr(0,o.index)+o[1]+o[2]+t.boundAttributeSuffix+o[3]+t.marker}return r+=this.strings[e]}getTemplateElement(){const e=document.createElement("template");return e.innerHTML=this.getHTML(),e}}exports.TemplateResult=r;class n extends r{getHTML(){return`<svg>${super.getHTML()}</svg>`}getTemplateElement(){const t=super.getTemplateElement(),s=t.content,r=s.firstChild;return s.removeChild(r),(0,e.reparentNodes)(s,r.firstChild),t}}exports.SVGTemplateResult=n;
15
+ },{"./dom.js":"ytxR","./template.js":"Av0K"}],"atl2":[function(require,module,exports) {
16
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.EventPart=exports.PropertyPart=exports.PropertyCommitter=exports.BooleanAttributePart=exports.NodePart=exports.AttributePart=exports.AttributeCommitter=exports.isIterable=exports.isPrimitive=void 0;var t=require("./directive.js"),e=require("./dom.js"),i=require("./part.js"),s=require("./template-instance.js"),n=require("./template-result.js"),r=require("./template.js");const o=t=>null===t||!("object"==typeof t||"function"==typeof t);exports.isPrimitive=o;const a=t=>Array.isArray(t)||!(!t||!t[Symbol.iterator]);exports.isIterable=a;class h{constructor(t,e,i){this.dirty=!0,this.element=t,this.name=e,this.strings=i,this.parts=[];for(let s=0;s<i.length-1;s++)this.parts[s]=this._createPart()}_createPart(){return new l(this)}_getValue(){const t=this.strings,e=t.length-1;let i="";for(let s=0;s<e;s++){i+=t[s];const e=this.parts[s];if(void 0!==e){const t=e.value;if(o(t)||!a(t))i+="string"==typeof t?t:String(t);else for(const e of t)i+="string"==typeof e?e:String(e)}}return i+=t[e]}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}exports.AttributeCommitter=h;class l{constructor(t){this.value=void 0,this.committer=t}setValue(e){e===i.noChange||o(e)&&e===this.value||(this.value=e,(0,t.isDirective)(e)||(this.committer.dirty=!0))}commit(){for(;(0,t.isDirective)(this.value);){const t=this.value;this.value=i.noChange,t(this)}this.value!==i.noChange&&this.committer.commit()}}exports.AttributePart=l;class u{constructor(t){this.value=void 0,this.__pendingValue=void 0,this.options=t}appendInto(t){this.startNode=t.appendChild((0,r.createMarker)()),this.endNode=t.appendChild((0,r.createMarker)())}insertAfterNode(t){this.startNode=t,this.endNode=t.nextSibling}appendIntoPart(t){t.__insert(this.startNode=(0,r.createMarker)()),t.__insert(this.endNode=(0,r.createMarker)())}insertAfterPart(t){t.__insert(this.startNode=(0,r.createMarker)()),this.endNode=t.endNode,t.endNode=this.startNode}setValue(t){this.__pendingValue=t}commit(){if(null===this.startNode.parentNode)return;for(;(0,t.isDirective)(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=i.noChange,t(this)}const e=this.__pendingValue;e!==i.noChange&&(o(e)?e!==this.value&&this.__commitText(e):e instanceof n.TemplateResult?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):a(e)?this.__commitIterable(e):e===i.nothing?(this.value=i.nothing,this.clear()):this.__commitText(e))}__insert(t){this.endNode.parentNode.insertBefore(t,this.endNode)}__commitNode(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}__commitText(t){const e=this.startNode.nextSibling,i="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=i:this.__commitNode(document.createTextNode(i)),this.value=t}__commitTemplateResult(t){const e=this.options.templateFactory(t);if(this.value instanceof s.TemplateInstance&&this.value.template===e)this.value.update(t.values);else{const i=new s.TemplateInstance(e,t.processor,this.options),n=i._clone();i.update(t.values),this.__commitNode(n),this.value=i}}__commitIterable(t){Array.isArray(this.value)||(this.value=[],this.clear());const e=this.value;let i,s=0;for(const n of t)void 0===(i=e[s])&&(i=new u(this.options),e.push(i),0===s?i.appendIntoPart(this):i.insertAfterPart(e[s-1])),i.setValue(n),i.commit(),s++;s<e.length&&(e.length=s,this.clear(i&&i.endNode))}clear(t=this.startNode){(0,e.removeNodes)(this.startNode.parentNode,t.nextSibling,this.endNode)}}exports.NodePart=u;class d{constructor(t,e,i){if(this.value=void 0,this.__pendingValue=void 0,2!==i.length||""!==i[0]||""!==i[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=i}setValue(t){this.__pendingValue=t}commit(){for(;(0,t.isDirective)(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=i.noChange,t(this)}if(this.__pendingValue===i.noChange)return;const e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=i.noChange}}exports.BooleanAttributePart=d;class c extends h{constructor(t,e,i){super(t,e,i),this.single=2===i.length&&""===i[0]&&""===i[1]}_createPart(){return new p(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}exports.PropertyCommitter=c;class p extends l{}exports.PropertyPart=p;let _=!1;(()=>{try{const e={get capture(){return _=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(t){}})();class m{constructor(t,e,i){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=i,this.__boundHandleEvent=(t=>this.handleEvent(t))}setValue(t){this.__pendingValue=t}commit(){for(;(0,t.isDirective)(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=i.noChange,t(this)}if(this.__pendingValue===i.noChange)return;const e=this.__pendingValue,s=this.value,n=null==e||null!=s&&(e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive),r=null!=e&&(null==s||n);n&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),r&&(this.__options=v(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=i.noChange}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}exports.EventPart=m;const v=t=>t&&(_?{capture:t.capture,passive:t.passive,once:t.once}:t.capture);
17
+ },{"./directive.js":"uWh2","./dom.js":"ytxR","./part.js":"pnLb","./template-instance.js":"bn5t","./template-result.js":"cVNN","./template.js":"Av0K"}],"gbKZ":[function(require,module,exports) {
18
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.templateFactory=t,exports.templateCaches=void 0;var e=require("./template.js");function t(t){let s=r.get(t.type);void 0===s&&(s={stringsArray:new WeakMap,keyString:new Map},r.set(t.type,s));let n=s.stringsArray.get(t.strings);if(void 0!==n)return n;const a=t.strings.join(e.marker);return void 0===(n=s.keyString.get(a))&&(n=new e.Template(t,t.getTemplateElement()),s.keyString.set(a,n)),s.stringsArray.set(t.strings,n),n}const r=new Map;exports.templateCaches=r;
19
+ },{"./template.js":"Av0K"}],"Fhpq":[function(require,module,exports) {
20
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.render=exports.parts=void 0;var e=require("./dom.js"),t=require("./parts.js"),r=require("./template-factory.js");const s=new WeakMap;exports.parts=s;const o=(o,a,p)=>{let d=s.get(a);void 0===d&&((0,e.removeNodes)(a,a.firstChild),s.set(a,d=new t.NodePart(Object.assign({templateFactory:r.templateFactory},p))),d.appendInto(a)),d.setValue(o),d.commit()};exports.render=o;
21
+ },{"./dom.js":"ytxR","./parts.js":"atl2","./template-factory.js":"gbKZ"}],"LBiL":[function(require,module,exports) {
22
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultTemplateProcessor=exports.DefaultTemplateProcessor=void 0;var e=require("./parts.js");class t{handleAttributeExpressions(t,r,s,o){const a=r[0];if("."===a){return new e.PropertyCommitter(t,r.slice(1),s).parts}return"@"===a?[new e.EventPart(t,r.slice(1),o.eventContext)]:"?"===a?[new e.BooleanAttributePart(t,r.slice(1),s)]:new e.AttributeCommitter(t,r,s).parts}handleTextExpression(t){return new e.NodePart(t)}}exports.DefaultTemplateProcessor=t;const r=new t;exports.defaultTemplateProcessor=r;
23
+ },{"./parts.js":"atl2"}],"SPDu":[function(require,module,exports) {
24
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"DefaultTemplateProcessor",{enumerable:!0,get:function(){return e.DefaultTemplateProcessor}}),Object.defineProperty(exports,"defaultTemplateProcessor",{enumerable:!0,get:function(){return e.defaultTemplateProcessor}}),Object.defineProperty(exports,"SVGTemplateResult",{enumerable:!0,get:function(){return t.SVGTemplateResult}}),Object.defineProperty(exports,"TemplateResult",{enumerable:!0,get:function(){return t.TemplateResult}}),Object.defineProperty(exports,"directive",{enumerable:!0,get:function(){return r.directive}}),Object.defineProperty(exports,"isDirective",{enumerable:!0,get:function(){return r.isDirective}}),Object.defineProperty(exports,"removeNodes",{enumerable:!0,get:function(){return n.removeNodes}}),Object.defineProperty(exports,"reparentNodes",{enumerable:!0,get:function(){return n.reparentNodes}}),Object.defineProperty(exports,"noChange",{enumerable:!0,get:function(){return o.noChange}}),Object.defineProperty(exports,"nothing",{enumerable:!0,get:function(){return o.nothing}}),Object.defineProperty(exports,"AttributeCommitter",{enumerable:!0,get:function(){return i.AttributeCommitter}}),Object.defineProperty(exports,"AttributePart",{enumerable:!0,get:function(){return i.AttributePart}}),Object.defineProperty(exports,"BooleanAttributePart",{enumerable:!0,get:function(){return i.BooleanAttributePart}}),Object.defineProperty(exports,"EventPart",{enumerable:!0,get:function(){return i.EventPart}}),Object.defineProperty(exports,"isIterable",{enumerable:!0,get:function(){return i.isIterable}}),Object.defineProperty(exports,"isPrimitive",{enumerable:!0,get:function(){return i.isPrimitive}}),Object.defineProperty(exports,"NodePart",{enumerable:!0,get:function(){return i.NodePart}}),Object.defineProperty(exports,"PropertyCommitter",{enumerable:!0,get:function(){return i.PropertyCommitter}}),Object.defineProperty(exports,"PropertyPart",{enumerable:!0,get:function(){return i.PropertyPart}}),Object.defineProperty(exports,"parts",{enumerable:!0,get:function(){return u.parts}}),Object.defineProperty(exports,"render",{enumerable:!0,get:function(){return u.render}}),Object.defineProperty(exports,"templateCaches",{enumerable:!0,get:function(){return p.templateCaches}}),Object.defineProperty(exports,"templateFactory",{enumerable:!0,get:function(){return p.templateFactory}}),Object.defineProperty(exports,"TemplateInstance",{enumerable:!0,get:function(){return a.TemplateInstance}}),Object.defineProperty(exports,"createMarker",{enumerable:!0,get:function(){return s.createMarker}}),Object.defineProperty(exports,"isTemplatePartActive",{enumerable:!0,get:function(){return s.isTemplatePartActive}}),Object.defineProperty(exports,"Template",{enumerable:!0,get:function(){return s.Template}}),exports.svg=exports.html=void 0;var e=require("./lib/default-template-processor.js"),t=require("./lib/template-result.js"),r=require("./lib/directive.js"),n=require("./lib/dom.js"),o=require("./lib/part.js"),i=require("./lib/parts.js"),u=require("./lib/render.js"),p=require("./lib/template-factory.js"),a=require("./lib/template-instance.js"),s=require("./lib/template.js");"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.2.1");const l=(r,...n)=>new t.TemplateResult(r,n,"html",e.defaultTemplateProcessor);exports.html=l;const c=(r,...n)=>new t.SVGTemplateResult(r,n,"svg",e.defaultTemplateProcessor);exports.svg=c;
25
+ },{"./lib/default-template-processor.js":"LBiL","./lib/template-result.js":"cVNN","./lib/directive.js":"uWh2","./lib/dom.js":"ytxR","./lib/part.js":"pnLb","./lib/parts.js":"atl2","./lib/render.js":"Fhpq","./lib/template-factory.js":"gbKZ","./lib/template-instance.js":"bn5t","./lib/template.js":"Av0K"}],"eBH8":[function(require,module,exports) {
26
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"html",{enumerable:!0,get:function(){return a.html}}),Object.defineProperty(exports,"svg",{enumerable:!0,get:function(){return a.svg}}),Object.defineProperty(exports,"TemplateResult",{enumerable:!0,get:function(){return a.TemplateResult}}),exports.render=void 0;var e=require("./dom.js"),t=require("./modify-template.js"),r=require("./render.js"),n=require("./template-factory.js"),o=require("./template-instance.js"),s=require("./template.js"),a=require("../lit-html.js");const l=(e,t)=>`${e}--${t}`;let i=!0;void 0===window.ShadyCSS?i=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),i=!1);const d=e=>t=>{const r=l(t.type,e);let o=n.templateCaches.get(r);void 0===o&&(o={stringsArray:new WeakMap,keyString:new Map},n.templateCaches.set(r,o));let a=o.stringsArray.get(t.strings);if(void 0!==a)return a;const d=t.strings.join(s.marker);if(void 0===(a=o.keyString.get(d))){const r=t.getTemplateElement();i&&window.ShadyCSS.prepareTemplateDom(r,e),a=new s.Template(t,r),o.keyString.set(d,a)}return o.stringsArray.set(t.strings,a),a},p=["html","svg"],c=e=>{p.forEach(r=>{const o=n.templateCaches.get(l(r,e));void 0!==o&&o.keyString.forEach(e=>{const{element:{content:r}}=e,n=new Set;Array.from(r.querySelectorAll("style")).forEach(e=>{n.add(e)}),(0,t.removeNodesFromTemplate)(e,n)})})},m=new Set,y=(e,r,n)=>{m.add(e);const o=n?n.element:document.createElement("template"),s=r.querySelectorAll("style"),{length:a}=s;if(0===a)return void window.ShadyCSS.prepareTemplateStyles(o,e);const l=document.createElement("style");for(let t=0;t<a;t++){const e=s[t];e.parentNode.removeChild(e),l.textContent+=e.textContent}c(e);const i=o.content;n?(0,t.insertNodeIntoTemplate)(n,l,i.firstChild):i.insertBefore(l,i.firstChild),window.ShadyCSS.prepareTemplateStyles(o,e);const d=i.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==d)r.insertBefore(d.cloneNode(!0),r.firstChild);else if(n){i.insertBefore(l,i.firstChild);const e=new Set;e.add(l),(0,t.removeNodesFromTemplate)(n,e)}},S=(t,n,s)=>{if(!s||"object"!=typeof s||!s.scopeName)throw new Error("The `scopeName` option is required.");const a=s.scopeName,l=r.parts.has(n),p=i&&11===n.nodeType&&!!n.host,c=p&&!m.has(a),S=c?document.createDocumentFragment():n;if((0,r.render)(t,S,Object.assign({templateFactory:d(a)},s)),c){const t=r.parts.get(S);r.parts.delete(S);const s=t.value instanceof o.TemplateInstance?t.value.template:void 0;y(a,S,s),(0,e.removeNodes)(n,n.firstChild),n.appendChild(S),r.parts.set(n,t)}!l&&p&&window.ShadyCSS.styleElement(n.host)};exports.render=S;
27
+ },{"./dom.js":"ytxR","./modify-template.js":"NXoq","./render.js":"Fhpq","./template-factory.js":"gbKZ","./template-instance.js":"bn5t","./template.js":"Av0K","../lit-html.js":"SPDu"}],"fKvB":[function(require,module,exports) {
28
+ "use strict";var t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.UpdatingElement=exports.notEqual=exports.defaultConverter=void 0,window.JSCompiler_renameProperty=((t,e)=>t);const e={toAttribute(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}};exports.defaultConverter=e;const r=(t,e)=>e!==t&&(e==e||t==t);exports.notEqual=r;const s={attribute:!0,type:String,converter:e,reflect:!1,hasChanged:r},i=1,a=4,o=8,p=16,n="finalized";class h extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=new Promise(t=>this._enableUpdatingResolver=t),this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this.finalize();const t=[];return this._classProperties.forEach((e,r)=>{const s=this._attributeNameForProperty(r,e);void 0!==s&&(this._attributeToPropertyMap.set(s,r),t.push(s))}),t}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach((t,e)=>this._classProperties.set(e,t))}}static createProperty(t,e=s){if(this._ensureClassProperties(),this._classProperties.set(t,e),e.noAccessor||this.prototype.hasOwnProperty(t))return;const r="symbol"==typeof t?Symbol():`__${t}`,i=this.getPropertyDescriptor(t,r,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(r){const s=this[t];this[e]=r,this._requestUpdate(t,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this._classProperties&&this._classProperties.get(t)||s}static finalize(){const t=Object.getPrototypeOf(this);if(t.hasOwnProperty(n)||t.finalize(),this[n]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const t=this.properties,e=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(const r of e)this.createProperty(r,t[r])}}static _attributeNameForProperty(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}static _valueHasChanged(t,e,s=r){return s(t,e)}static _propertyValueFromAttribute(t,r){const s=r.type,i=r.converter||e,a="function"==typeof i?i:i.fromAttribute;return a?a(t,s):t}static _propertyValueToAttribute(t,r){if(void 0===r.reflect)return;const s=r.type,i=r.converter;return(i&&i.toAttribute||e.toAttribute)(t,s)}initialize(){this._saveInstanceProperties(),this._requestUpdate()}_saveInstanceProperties(){this.constructor._classProperties.forEach((t,e)=>{if(this.hasOwnProperty(e)){const t=this[e];delete this[e],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(e,t)}})}_applyInstanceProperties(){this._instanceProperties.forEach((t,e)=>this[e]=t),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(t,e,r){e!==r&&this._attributeToProperty(t,r)}_propertyToAttribute(t,e,r=s){const i=this.constructor,a=i._attributeNameForProperty(t,r);if(void 0!==a){const t=i._propertyValueToAttribute(e,r);if(void 0===t)return;this._updateState=this._updateState|o,null==t?this.removeAttribute(a):this.setAttribute(a,t),this._updateState=this._updateState&~o}}_attributeToProperty(t,e){if(this._updateState&o)return;const r=this.constructor,s=r._attributeToPropertyMap.get(t);if(void 0!==s){const t=r.getPropertyOptions(s);this._updateState=this._updateState|p,this[s]=r._propertyValueFromAttribute(e,t),this._updateState=this._updateState&~p}}_requestUpdate(t,e){let r=!0;if(void 0!==t){const s=this.constructor,i=s.getPropertyOptions(t);s._valueHasChanged(this[t],e,i.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==i.reflect||this._updateState&p||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,i))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(t,e){return this._requestUpdate(t,e),this.updateComplete}async _enqueueUpdate(){this._updateState=this._updateState|a;try{await this._updatePromise}catch(e){}const t=this.performUpdate();return null!=t&&await t,!this._hasRequestedUpdate}get _hasRequestedUpdate(){return this._updateState&a}get hasUpdated(){return this._updateState&i}performUpdate(){this._instanceProperties&&this._applyInstanceProperties();let t=!1;const e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(r){throw t=!1,this._markUpdated(),r}t&&(this._updateState&i||(this._updateState=this._updateState|i,this.firstUpdated(e)),this.updated(e))}_markUpdated(){this._changedProperties=new Map,this._updateState=this._updateState&~a}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(t){return!0}update(t){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((t,e)=>this._propertyToAttribute(e,this[e],t)),this._reflectingProperties=void 0),this._markUpdated()}updated(t){}firstUpdated(t){}}exports.UpdatingElement=h,h[t=n]=!0;
29
+ },{}],"FzpZ":[function(require,module,exports) {
30
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.property=i,exports.internalProperty=s,exports.query=c,exports.queryAsync=u,exports.queryAll=l,exports.eventOptions=f,exports.queryAssignedNodes=m,exports.customElement=void 0;const e=(e,t)=>(window.customElements.define(e,t),t),t=(e,t)=>{const{kind:r,elements:n}=t;return{kind:r,elements:n,finisher(t){window.customElements.define(e,t)}}},r=r=>n=>"function"==typeof n?e(r,n):t(r,n);exports.customElement=r;const n=(e,t)=>"method"!==t.kind||!t.descriptor||"value"in t.descriptor?{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(r){r.createProperty(t.key,e)}}:Object.assign(Object.assign({},t),{finisher(r){r.createProperty(t.key,e)}}),o=(e,t,r)=>{t.constructor.createProperty(r,e)};function i(e){return(t,r)=>void 0!==r?o(e,t,r):n(e,t)}function s(e){return i({attribute:!1,hasChanged:null==e?void 0:e.hasChanged})}function c(e){return(t,r)=>{const n={get(){return this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};return void 0!==r?a(n,t,r):d(n,t)}}function u(e){return(t,r)=>{const n={async get(){return await this.updateComplete,this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};return void 0!==r?a(n,t,r):d(n,t)}}function l(e){return(t,r)=>{const n={get(){return this.renderRoot.querySelectorAll(e)},enumerable:!0,configurable:!0};return void 0!==r?a(n,t,r):d(n,t)}}const a=(e,t,r)=>{Object.defineProperty(t,r,e)},d=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e}),p=(e,t)=>Object.assign(Object.assign({},t),{finisher(r){Object.assign(r.prototype[t.key],e)}}),y=(e,t,r)=>{Object.assign(t[r],e)};function f(e){return(t,r)=>void 0!==r?y(e,t,r):p(e,t)}function m(e="",t=!1){return(r,n)=>{const o={get(){const r=`slot${e?`[name=${e}]`:""}`,n=this.renderRoot.querySelector(r);return n&&n.assignedNodes({flatten:t})},enumerable:!0,configurable:!0};return void 0!==n?a(o,r,n):d(o,r)}}
31
+ },{}],"ZFCR":[function(require,module,exports) {
32
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.css=exports.unsafeCSS=exports.CSSResult=exports.supportsAdoptingStyleSheets=void 0;const e="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;exports.supportsAdoptingStyleSheets=e;const t=Symbol();class s{constructor(e,s){if(s!==t)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){return void 0===this._styleSheet&&(e?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}exports.CSSResult=s;const r=e=>new s(String(e),t);exports.unsafeCSS=r;const o=e=>{if(e instanceof s)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)},n=(e,...r)=>{const n=r.reduce((t,s,r)=>t+o(s)+e[r+1],e[0]);return new s(n,t)};exports.css=n;
33
+ },{}],"bhxD":[function(require,module,exports) {
34
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e={LitElement:!0,html:!0,svg:!0,TemplateResult:!0,SVGTemplateResult:!0};Object.defineProperty(exports,"html",{enumerable:!0,get:function(){return n.html}}),Object.defineProperty(exports,"svg",{enumerable:!0,get:function(){return n.svg}}),Object.defineProperty(exports,"TemplateResult",{enumerable:!0,get:function(){return n.TemplateResult}}),Object.defineProperty(exports,"SVGTemplateResult",{enumerable:!0,get:function(){return n.SVGTemplateResult}}),exports.LitElement=void 0;var t=require("lit-html/lib/shady-render.js"),r=require("./lib/updating-element.js");Object.keys(r).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(exports,t,{enumerable:!0,get:function(){return r[t]}}))});var s=require("./lib/decorators.js");Object.keys(s).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(exports,t,{enumerable:!0,get:function(){return s[t]}}))});var n=require("lit-html/lit-html.js"),o=require("./lib/css-tag.js");Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(exports,t,{enumerable:!0,get:function(){return o[t]}}))}),(window.litElementVersions||(window.litElementVersions=[])).push("2.3.1");const i={};class l extends r.UpdatingElement{static getStyles(){return this.styles}static _getUniqueStyles(){if(this.hasOwnProperty(JSCompiler_renameProperty("_styles",this)))return;const e=this.getStyles();if(void 0===e)this._styles=[];else if(Array.isArray(e)){const t=(e,r)=>e.reduceRight((e,r)=>Array.isArray(r)?t(r,e):(e.add(r),e),r),r=t(e,new Set),s=[];r.forEach(e=>s.unshift(e)),this._styles=s}else this._styles=[e]}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?o.supportsAdoptingStyleSheets?this.renderRoot.adoptedStyleSheets=e.map(e=>e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){const t=this.render();super.update(e),t!==i&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{const t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){return i}}exports.LitElement=l,l.finalized=!0,l.render=t.render;
35
+ },{"lit-html/lib/shady-render.js":"eBH8","./lib/updating-element.js":"fKvB","./lib/decorators.js":"FzpZ","lit-html/lit-html.js":"SPDu","./lib/css-tag.js":"ZFCR"}],"xaRr":[function(require,module,exports) {
36
+ var define;
37
+ var global = arguments[3];
38
+ var define,global=arguments[3];"undefined"!=typeof navigator&&function(t,e){"function"==typeof define&&define.amd?define(function(){return e(t)}):"object"==typeof module&&module.exports?module.exports=e(t):(t.lottie=e(t),t.bodymovin=t.lottie)}(window||{},function(window){"use strict";var svgNS="h