WooLentor – Elementor WooCommerce Builder Addons, Variation Swatches Addons, Gutenberg WooCommerce Product block, grid, slider, templates, widgets, Quick View, Wishlist, Products Compare, Product Filter – All in One Solution - Version 1.9.8

Version Description

Download this release

Release Info

Developer devitemsllc
Plugin Icon 128x128 WooLentor – Elementor WooCommerce Builder Addons, Variation Swatches Addons, Gutenberg WooCommerce Product block, grid, slider, templates, widgets, Quick View, Wishlist, Products Compare, Product Filter – All in One Solution
Version 1.9.8
Comparing to
See all releases

Code changes from version 1.9.7 to 1.9.8

assets/css/animate.css ADDED
@@ -0,0 +1,3273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /*!
4
+ Animate.css - http://daneden.me/animate
5
+ Version - 3.4.0
6
+ Licensed under the MIT license - http://opensource.org/licenses/MIT
7
+
8
+ Copyright (c) 2015 Daniel Eden
9
+ */
10
+
11
+ .animated {
12
+ -webkit-animation-duration: 1s;
13
+ animation-duration: 1s;
14
+ -webkit-animation-fill-mode: both;
15
+ animation-fill-mode: both;
16
+ }
17
+
18
+ .animated.infinite {
19
+ -webkit-animation-iteration-count: infinite;
20
+ animation-iteration-count: infinite;
21
+ }
22
+
23
+ .animated.hinge {
24
+ -webkit-animation-duration: 2s;
25
+ animation-duration: 2s;
26
+ }
27
+
28
+ .animated.bounceIn,
29
+ .animated.bounceOut {
30
+ -webkit-animation-duration: .75s;
31
+ animation-duration: .75s;
32
+ }
33
+
34
+ .animated.flipOutX,
35
+ .animated.flipOutY {
36
+ -webkit-animation-duration: .75s;
37
+ animation-duration: .75s;
38
+ }
39
+
40
+ @-webkit-keyframes bounce {
41
+ from, 20%, 53%, 80%, to {
42
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
43
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
44
+ -webkit-transform: translate3d(0,0,0);
45
+ transform: translate3d(0,0,0);
46
+ }
47
+
48
+ 40%, 43% {
49
+ -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
50
+ animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
51
+ -webkit-transform: translate3d(0, -30px, 0);
52
+ transform: translate3d(0, -30px, 0);
53
+ }
54
+
55
+ 70% {
56
+ -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
57
+ animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
58
+ -webkit-transform: translate3d(0, -15px, 0);
59
+ transform: translate3d(0, -15px, 0);
60
+ }
61
+
62
+ 90% {
63
+ -webkit-transform: translate3d(0,-4px,0);
64
+ transform: translate3d(0,-4px,0);
65
+ }
66
+ }
67
+
68
+ @keyframes bounce {
69
+ from, 20%, 53%, 80%, to {
70
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
71
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
72
+ -webkit-transform: translate3d(0,0,0);
73
+ transform: translate3d(0,0,0);
74
+ }
75
+
76
+ 40%, 43% {
77
+ -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
78
+ animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
79
+ -webkit-transform: translate3d(0, -30px, 0);
80
+ transform: translate3d(0, -30px, 0);
81
+ }
82
+
83
+ 70% {
84
+ -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
85
+ animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
86
+ -webkit-transform: translate3d(0, -15px, 0);
87
+ transform: translate3d(0, -15px, 0);
88
+ }
89
+
90
+ 90% {
91
+ -webkit-transform: translate3d(0,-4px,0);
92
+ transform: translate3d(0,-4px,0);
93
+ }
94
+ }
95
+
96
+ .bounce {
97
+ -webkit-animation-name: bounce;
98
+ animation-name: bounce;
99
+ -webkit-transform-origin: center bottom;
100
+ transform-origin: center bottom;
101
+ }
102
+
103
+ @-webkit-keyframes flash {
104
+ from, 50%, to {
105
+ opacity: 1;
106
+ }
107
+
108
+ 25%, 75% {
109
+ opacity: 0;
110
+ }
111
+ }
112
+
113
+ @keyframes flash {
114
+ from, 50%, to {
115
+ opacity: 1;
116
+ }
117
+
118
+ 25%, 75% {
119
+ opacity: 0;
120
+ }
121
+ }
122
+
123
+ .flash {
124
+ -webkit-animation-name: flash;
125
+ animation-name: flash;
126
+ }
127
+
128
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
129
+
130
+ @-webkit-keyframes pulse {
131
+ from {
132
+ -webkit-transform: scale3d(1, 1, 1);
133
+ transform: scale3d(1, 1, 1);
134
+ }
135
+
136
+ 50% {
137
+ -webkit-transform: scale3d(1.05, 1.05, 1.05);
138
+ transform: scale3d(1.05, 1.05, 1.05);
139
+ }
140
+
141
+ to {
142
+ -webkit-transform: scale3d(1, 1, 1);
143
+ transform: scale3d(1, 1, 1);
144
+ }
145
+ }
146
+
147
+ @keyframes pulse {
148
+ from {
149
+ -webkit-transform: scale3d(1, 1, 1);
150
+ transform: scale3d(1, 1, 1);
151
+ }
152
+
153
+ 50% {
154
+ -webkit-transform: scale3d(1.05, 1.05, 1.05);
155
+ transform: scale3d(1.05, 1.05, 1.05);
156
+ }
157
+
158
+ to {
159
+ -webkit-transform: scale3d(1, 1, 1);
160
+ transform: scale3d(1, 1, 1);
161
+ }
162
+ }
163
+
164
+ .pulse {
165
+ -webkit-animation-name: pulse;
166
+ animation-name: pulse;
167
+ }
168
+
169
+ @-webkit-keyframes rubberBand {
170
+ from {
171
+ -webkit-transform: scale3d(1, 1, 1);
172
+ transform: scale3d(1, 1, 1);
173
+ }
174
+
175
+ 30% {
176
+ -webkit-transform: scale3d(1.25, 0.75, 1);
177
+ transform: scale3d(1.25, 0.75, 1);
178
+ }
179
+
180
+ 40% {
181
+ -webkit-transform: scale3d(0.75, 1.25, 1);
182
+ transform: scale3d(0.75, 1.25, 1);
183
+ }
184
+
185
+ 50% {
186
+ -webkit-transform: scale3d(1.15, 0.85, 1);
187
+ transform: scale3d(1.15, 0.85, 1);
188
+ }
189
+
190
+ 65% {
191
+ -webkit-transform: scale3d(.95, 1.05, 1);
192
+ transform: scale3d(.95, 1.05, 1);
193
+ }
194
+
195
+ 75% {
196
+ -webkit-transform: scale3d(1.05, .95, 1);
197
+ transform: scale3d(1.05, .95, 1);
198
+ }
199
+
200
+ to {
201
+ -webkit-transform: scale3d(1, 1, 1);
202
+ transform: scale3d(1, 1, 1);
203
+ }
204
+ }
205
+
206
+ @keyframes rubberBand {
207
+ from {
208
+ -webkit-transform: scale3d(1, 1, 1);
209
+ transform: scale3d(1, 1, 1);
210
+ }
211
+
212
+ 30% {
213
+ -webkit-transform: scale3d(1.25, 0.75, 1);
214
+ transform: scale3d(1.25, 0.75, 1);
215
+ }
216
+
217
+ 40% {
218
+ -webkit-transform: scale3d(0.75, 1.25, 1);
219
+ transform: scale3d(0.75, 1.25, 1);
220
+ }
221
+
222
+ 50% {
223
+ -webkit-transform: scale3d(1.15, 0.85, 1);
224
+ transform: scale3d(1.15, 0.85, 1);
225
+ }
226
+
227
+ 65% {
228
+ -webkit-transform: scale3d(.95, 1.05, 1);
229
+ transform: scale3d(.95, 1.05, 1);
230
+ }
231
+
232
+ 75% {
233
+ -webkit-transform: scale3d(1.05, .95, 1);
234
+ transform: scale3d(1.05, .95, 1);
235
+ }
236
+
237
+ to {
238
+ -webkit-transform: scale3d(1, 1, 1);
239
+ transform: scale3d(1, 1, 1);
240
+ }
241
+ }
242
+
243
+ .rubberBand {
244
+ -webkit-animation-name: rubberBand;
245
+ animation-name: rubberBand;
246
+ }
247
+
248
+ @-webkit-keyframes shake {
249
+ from, to {
250
+ -webkit-transform: translate3d(0, 0, 0);
251
+ transform: translate3d(0, 0, 0);
252
+ }
253
+
254
+ 10%, 30%, 50%, 70%, 90% {
255
+ -webkit-transform: translate3d(-10px, 0, 0);
256
+ transform: translate3d(-10px, 0, 0);
257
+ }
258
+
259
+ 20%, 40%, 60%, 80% {
260
+ -webkit-transform: translate3d(10px, 0, 0);
261
+ transform: translate3d(10px, 0, 0);
262
+ }
263
+ }
264
+
265
+ @keyframes shake {
266
+ from, to {
267
+ -webkit-transform: translate3d(0, 0, 0);
268
+ transform: translate3d(0, 0, 0);
269
+ }
270
+
271
+ 10%, 30%, 50%, 70%, 90% {
272
+ -webkit-transform: translate3d(-10px, 0, 0);
273
+ transform: translate3d(-10px, 0, 0);
274
+ }
275
+
276
+ 20%, 40%, 60%, 80% {
277
+ -webkit-transform: translate3d(10px, 0, 0);
278
+ transform: translate3d(10px, 0, 0);
279
+ }
280
+ }
281
+
282
+ .shake {
283
+ -webkit-animation-name: shake;
284
+ animation-name: shake;
285
+ }
286
+
287
+ @-webkit-keyframes swing {
288
+ 20% {
289
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
290
+ transform: rotate3d(0, 0, 1, 15deg);
291
+ }
292
+
293
+ 40% {
294
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
295
+ transform: rotate3d(0, 0, 1, -10deg);
296
+ }
297
+
298
+ 60% {
299
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
300
+ transform: rotate3d(0, 0, 1, 5deg);
301
+ }
302
+
303
+ 80% {
304
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
305
+ transform: rotate3d(0, 0, 1, -5deg);
306
+ }
307
+
308
+ to {
309
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
310
+ transform: rotate3d(0, 0, 1, 0deg);
311
+ }
312
+ }
313
+
314
+ @keyframes swing {
315
+ 20% {
316
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
317
+ transform: rotate3d(0, 0, 1, 15deg);
318
+ }
319
+
320
+ 40% {
321
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
322
+ transform: rotate3d(0, 0, 1, -10deg);
323
+ }
324
+
325
+ 60% {
326
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
327
+ transform: rotate3d(0, 0, 1, 5deg);
328
+ }
329
+
330
+ 80% {
331
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
332
+ transform: rotate3d(0, 0, 1, -5deg);
333
+ }
334
+
335
+ to {
336
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
337
+ transform: rotate3d(0, 0, 1, 0deg);
338
+ }
339
+ }
340
+
341
+ .swing {
342
+ -webkit-transform-origin: top center;
343
+ transform-origin: top center;
344
+ -webkit-animation-name: swing;
345
+ animation-name: swing;
346
+ }
347
+
348
+ @-webkit-keyframes tada {
349
+ from {
350
+ -webkit-transform: scale3d(1, 1, 1);
351
+ transform: scale3d(1, 1, 1);
352
+ }
353
+
354
+ 10%, 20% {
355
+ -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
356
+ transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
357
+ }
358
+
359
+ 30%, 50%, 70%, 90% {
360
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
361
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
362
+ }
363
+
364
+ 40%, 60%, 80% {
365
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
366
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
367
+ }
368
+
369
+ to {
370
+ -webkit-transform: scale3d(1, 1, 1);
371
+ transform: scale3d(1, 1, 1);
372
+ }
373
+ }
374
+
375
+ @keyframes tada {
376
+ from {
377
+ -webkit-transform: scale3d(1, 1, 1);
378
+ transform: scale3d(1, 1, 1);
379
+ }
380
+
381
+ 10%, 20% {
382
+ -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
383
+ transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
384
+ }
385
+
386
+ 30%, 50%, 70%, 90% {
387
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
388
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
389
+ }
390
+
391
+ 40%, 60%, 80% {
392
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
393
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
394
+ }
395
+
396
+ to {
397
+ -webkit-transform: scale3d(1, 1, 1);
398
+ transform: scale3d(1, 1, 1);
399
+ }
400
+ }
401
+
402
+ .tada {
403
+ -webkit-animation-name: tada;
404
+ animation-name: tada;
405
+ }
406
+
407
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
408
+
409
+ @-webkit-keyframes wobble {
410
+ from {
411
+ -webkit-transform: none;
412
+ transform: none;
413
+ }
414
+
415
+ 15% {
416
+ -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
417
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
418
+ }
419
+
420
+ 30% {
421
+ -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
422
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
423
+ }
424
+
425
+ 45% {
426
+ -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
427
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
428
+ }
429
+
430
+ 60% {
431
+ -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
432
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
433
+ }
434
+
435
+ 75% {
436
+ -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
437
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
438
+ }
439
+
440
+ to {
441
+ -webkit-transform: none;
442
+ transform: none;
443
+ }
444
+ }
445
+
446
+ @keyframes wobble {
447
+ from {
448
+ -webkit-transform: none;
449
+ transform: none;
450
+ }
451
+
452
+ 15% {
453
+ -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
454
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
455
+ }
456
+
457
+ 30% {
458
+ -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
459
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
460
+ }
461
+
462
+ 45% {
463
+ -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
464
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
465
+ }
466
+
467
+ 60% {
468
+ -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
469
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
470
+ }
471
+
472
+ 75% {
473
+ -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
474
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
475
+ }
476
+
477
+ to {
478
+ -webkit-transform: none;
479
+ transform: none;
480
+ }
481
+ }
482
+
483
+ .wobble {
484
+ -webkit-animation-name: wobble;
485
+ animation-name: wobble;
486
+ }
487
+
488
+ @-webkit-keyframes jello {
489
+ from, 11.1%, to {
490
+ -webkit-transform: none;
491
+ transform: none;
492
+ }
493
+
494
+ 22.2% {
495
+ -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
496
+ transform: skewX(-12.5deg) skewY(-12.5deg);
497
+ }
498
+
499
+ 33.3% {
500
+ -webkit-transform: skewX(6.25deg) skewY(6.25deg);
501
+ transform: skewX(6.25deg) skewY(6.25deg);
502
+ }
503
+
504
+ 44.4% {
505
+ -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
506
+ transform: skewX(-3.125deg) skewY(-3.125deg);
507
+ }
508
+
509
+ 55.5% {
510
+ -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
511
+ transform: skewX(1.5625deg) skewY(1.5625deg);
512
+ }
513
+
514
+ 66.6% {
515
+ -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
516
+ transform: skewX(-0.78125deg) skewY(-0.78125deg);
517
+ }
518
+
519
+ 77.7% {
520
+ -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
521
+ transform: skewX(0.390625deg) skewY(0.390625deg);
522
+ }
523
+
524
+ 88.8% {
525
+ -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
526
+ transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
527
+ }
528
+ }
529
+
530
+ @keyframes jello {
531
+ from, 11.1%, to {
532
+ -webkit-transform: none;
533
+ transform: none;
534
+ }
535
+
536
+ 22.2% {
537
+ -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
538
+ transform: skewX(-12.5deg) skewY(-12.5deg);
539
+ }
540
+
541
+ 33.3% {
542
+ -webkit-transform: skewX(6.25deg) skewY(6.25deg);
543
+ transform: skewX(6.25deg) skewY(6.25deg);
544
+ }
545
+
546
+ 44.4% {
547
+ -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
548
+ transform: skewX(-3.125deg) skewY(-3.125deg);
549
+ }
550
+
551
+ 55.5% {
552
+ -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
553
+ transform: skewX(1.5625deg) skewY(1.5625deg);
554
+ }
555
+
556
+ 66.6% {
557
+ -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
558
+ transform: skewX(-0.78125deg) skewY(-0.78125deg);
559
+ }
560
+
561
+ 77.7% {
562
+ -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
563
+ transform: skewX(0.390625deg) skewY(0.390625deg);
564
+ }
565
+
566
+ 88.8% {
567
+ -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
568
+ transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
569
+ }
570
+ }
571
+
572
+ .jello {
573
+ -webkit-animation-name: jello;
574
+ animation-name: jello;
575
+ -webkit-transform-origin: center;
576
+ transform-origin: center;
577
+ }
578
+
579
+ @-webkit-keyframes bounceIn {
580
+ from, 20%, 40%, 60%, 80%, to {
581
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
582
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
583
+ }
584
+
585
+ 0% {
586
+ opacity: 0;
587
+ -webkit-transform: scale3d(.3, .3, .3);
588
+ transform: scale3d(.3, .3, .3);
589
+ }
590
+
591
+ 20% {
592
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
593
+ transform: scale3d(1.1, 1.1, 1.1);
594
+ }
595
+
596
+ 40% {
597
+ -webkit-transform: scale3d(.9, .9, .9);
598
+ transform: scale3d(.9, .9, .9);
599
+ }
600
+
601
+ 60% {
602
+ opacity: 1;
603
+ -webkit-transform: scale3d(1.03, 1.03, 1.03);
604
+ transform: scale3d(1.03, 1.03, 1.03);
605
+ }
606
+
607
+ 80% {
608
+ -webkit-transform: scale3d(.97, .97, .97);
609
+ transform: scale3d(.97, .97, .97);
610
+ }
611
+
612
+ to {
613
+ opacity: 1;
614
+ -webkit-transform: scale3d(1, 1, 1);
615
+ transform: scale3d(1, 1, 1);
616
+ }
617
+ }
618
+
619
+ @keyframes bounceIn {
620
+ from, 20%, 40%, 60%, 80%, to {
621
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
622
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
623
+ }
624
+
625
+ 0% {
626
+ opacity: 0;
627
+ -webkit-transform: scale3d(.3, .3, .3);
628
+ transform: scale3d(.3, .3, .3);
629
+ }
630
+
631
+ 20% {
632
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
633
+ transform: scale3d(1.1, 1.1, 1.1);
634
+ }
635
+
636
+ 40% {
637
+ -webkit-transform: scale3d(.9, .9, .9);
638
+ transform: scale3d(.9, .9, .9);
639
+ }
640
+
641
+ 60% {
642
+ opacity: 1;
643
+ -webkit-transform: scale3d(1.03, 1.03, 1.03);
644
+ transform: scale3d(1.03, 1.03, 1.03);
645
+ }
646
+
647
+ 80% {
648
+ -webkit-transform: scale3d(.97, .97, .97);
649
+ transform: scale3d(.97, .97, .97);
650
+ }
651
+
652
+ to {
653
+ opacity: 1;
654
+ -webkit-transform: scale3d(1, 1, 1);
655
+ transform: scale3d(1, 1, 1);
656
+ }
657
+ }
658
+
659
+ .bounceIn {
660
+ -webkit-animation-name: bounceIn;
661
+ animation-name: bounceIn;
662
+ }
663
+
664
+ @-webkit-keyframes bounceInDown {
665
+ from, 60%, 75%, 90%, to {
666
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
667
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
668
+ }
669
+
670
+ 0% {
671
+ opacity: 0;
672
+ -webkit-transform: translate3d(0, -3000px, 0);
673
+ transform: translate3d(0, -3000px, 0);
674
+ }
675
+
676
+ 60% {
677
+ opacity: 1;
678
+ -webkit-transform: translate3d(0, 25px, 0);
679
+ transform: translate3d(0, 25px, 0);
680
+ }
681
+
682
+ 75% {
683
+ -webkit-transform: translate3d(0, -10px, 0);
684
+ transform: translate3d(0, -10px, 0);
685
+ }
686
+
687
+ 90% {
688
+ -webkit-transform: translate3d(0, 5px, 0);
689
+ transform: translate3d(0, 5px, 0);
690
+ }
691
+
692
+ to {
693
+ -webkit-transform: none;
694
+ transform: none;
695
+ }
696
+ }
697
+
698
+ @keyframes bounceInDown {
699
+ from, 60%, 75%, 90%, to {
700
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
701
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
702
+ }
703
+
704
+ 0% {
705
+ opacity: 0;
706
+ -webkit-transform: translate3d(0, -3000px, 0);
707
+ transform: translate3d(0, -3000px, 0);
708
+ }
709
+
710
+ 60% {
711
+ opacity: 1;
712
+ -webkit-transform: translate3d(0, 25px, 0);
713
+ transform: translate3d(0, 25px, 0);
714
+ }
715
+
716
+ 75% {
717
+ -webkit-transform: translate3d(0, -10px, 0);
718
+ transform: translate3d(0, -10px, 0);
719
+ }
720
+
721
+ 90% {
722
+ -webkit-transform: translate3d(0, 5px, 0);
723
+ transform: translate3d(0, 5px, 0);
724
+ }
725
+
726
+ to {
727
+ -webkit-transform: none;
728
+ transform: none;
729
+ }
730
+ }
731
+
732
+ .bounceInDown {
733
+ -webkit-animation-name: bounceInDown;
734
+ animation-name: bounceInDown;
735
+ }
736
+
737
+ @-webkit-keyframes bounceInLeft {
738
+ from, 60%, 75%, 90%, to {
739
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
740
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
741
+ }
742
+
743
+ 0% {
744
+ opacity: 0;
745
+ -webkit-transform: translate3d(-3000px, 0, 0);
746
+ transform: translate3d(-3000px, 0, 0);
747
+ }
748
+
749
+ 60% {
750
+ opacity: 1;
751
+ -webkit-transform: translate3d(25px, 0, 0);
752
+ transform: translate3d(25px, 0, 0);
753
+ }
754
+
755
+ 75% {
756
+ -webkit-transform: translate3d(-10px, 0, 0);
757
+ transform: translate3d(-10px, 0, 0);
758
+ }
759
+
760
+ 90% {
761
+ -webkit-transform: translate3d(5px, 0, 0);
762
+ transform: translate3d(5px, 0, 0);
763
+ }
764
+
765
+ to {
766
+ -webkit-transform: none;
767
+ transform: none;
768
+ }
769
+ }
770
+
771
+ @keyframes bounceInLeft {
772
+ from, 60%, 75%, 90%, to {
773
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
774
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
775
+ }
776
+
777
+ 0% {
778
+ opacity: 0;
779
+ -webkit-transform: translate3d(-3000px, 0, 0);
780
+ transform: translate3d(-3000px, 0, 0);
781
+ }
782
+
783
+ 60% {
784
+ opacity: 1;
785
+ -webkit-transform: translate3d(25px, 0, 0);
786
+ transform: translate3d(25px, 0, 0);
787
+ }
788
+
789
+ 75% {
790
+ -webkit-transform: translate3d(-10px, 0, 0);
791
+ transform: translate3d(-10px, 0, 0);
792
+ }
793
+
794
+ 90% {
795
+ -webkit-transform: translate3d(5px, 0, 0);
796
+ transform: translate3d(5px, 0, 0);
797
+ }
798
+
799
+ to {
800
+ -webkit-transform: none;
801
+ transform: none;
802
+ }
803
+ }
804
+
805
+ .bounceInLeft {
806
+ -webkit-animation-name: bounceInLeft;
807
+ animation-name: bounceInLeft;
808
+ }
809
+
810
+ @-webkit-keyframes bounceInRight {
811
+ from, 60%, 75%, 90%, to {
812
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
813
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
814
+ }
815
+
816
+ from {
817
+ opacity: 0;
818
+ -webkit-transform: translate3d(3000px, 0, 0);
819
+ transform: translate3d(3000px, 0, 0);
820
+ }
821
+
822
+ 60% {
823
+ opacity: 1;
824
+ -webkit-transform: translate3d(-25px, 0, 0);
825
+ transform: translate3d(-25px, 0, 0);
826
+ }
827
+
828
+ 75% {
829
+ -webkit-transform: translate3d(10px, 0, 0);
830
+ transform: translate3d(10px, 0, 0);
831
+ }
832
+
833
+ 90% {
834
+ -webkit-transform: translate3d(-5px, 0, 0);
835
+ transform: translate3d(-5px, 0, 0);
836
+ }
837
+
838
+ to {
839
+ -webkit-transform: none;
840
+ transform: none;
841
+ }
842
+ }
843
+
844
+ @keyframes bounceInRight {
845
+ from, 60%, 75%, 90%, to {
846
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
847
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
848
+ }
849
+
850
+ from {
851
+ opacity: 0;
852
+ -webkit-transform: translate3d(3000px, 0, 0);
853
+ transform: translate3d(3000px, 0, 0);
854
+ }
855
+
856
+ 60% {
857
+ opacity: 1;
858
+ -webkit-transform: translate3d(-25px, 0, 0);
859
+ transform: translate3d(-25px, 0, 0);
860
+ }
861
+
862
+ 75% {
863
+ -webkit-transform: translate3d(10px, 0, 0);
864
+ transform: translate3d(10px, 0, 0);
865
+ }
866
+
867
+ 90% {
868
+ -webkit-transform: translate3d(-5px, 0, 0);
869
+ transform: translate3d(-5px, 0, 0);
870
+ }
871
+
872
+ to {
873
+ -webkit-transform: none;
874
+ transform: none;
875
+ }
876
+ }
877
+
878
+ .bounceInRight {
879
+ -webkit-animation-name: bounceInRight;
880
+ animation-name: bounceInRight;
881
+ }
882
+
883
+ @-webkit-keyframes bounceInUp {
884
+ from, 60%, 75%, 90%, to {
885
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
886
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
887
+ }
888
+
889
+ from {
890
+ opacity: 0;
891
+ -webkit-transform: translate3d(0, 3000px, 0);
892
+ transform: translate3d(0, 3000px, 0);
893
+ }
894
+
895
+ 60% {
896
+ opacity: 1;
897
+ -webkit-transform: translate3d(0, -20px, 0);
898
+ transform: translate3d(0, -20px, 0);
899
+ }
900
+
901
+ 75% {
902
+ -webkit-transform: translate3d(0, 10px, 0);
903
+ transform: translate3d(0, 10px, 0);
904
+ }
905
+
906
+ 90% {
907
+ -webkit-transform: translate3d(0, -5px, 0);
908
+ transform: translate3d(0, -5px, 0);
909
+ }
910
+
911
+ to {
912
+ -webkit-transform: translate3d(0, 0, 0);
913
+ transform: translate3d(0, 0, 0);
914
+ }
915
+ }
916
+
917
+ @keyframes bounceInUp {
918
+ from, 60%, 75%, 90%, to {
919
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
920
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
921
+ }
922
+
923
+ from {
924
+ opacity: 0;
925
+ -webkit-transform: translate3d(0, 3000px, 0);
926
+ transform: translate3d(0, 3000px, 0);
927
+ }
928
+
929
+ 60% {
930
+ opacity: 1;
931
+ -webkit-transform: translate3d(0, -20px, 0);
932
+ transform: translate3d(0, -20px, 0);
933
+ }
934
+
935
+ 75% {
936
+ -webkit-transform: translate3d(0, 10px, 0);
937
+ transform: translate3d(0, 10px, 0);
938
+ }
939
+
940
+ 90% {
941
+ -webkit-transform: translate3d(0, -5px, 0);
942
+ transform: translate3d(0, -5px, 0);
943
+ }
944
+
945
+ to {
946
+ -webkit-transform: translate3d(0, 0, 0);
947
+ transform: translate3d(0, 0, 0);
948
+ }
949
+ }
950
+
951
+ .bounceInUp {
952
+ -webkit-animation-name: bounceInUp;
953
+ animation-name: bounceInUp;
954
+ }
955
+
956
+ @-webkit-keyframes bounceOut {
957
+ 20% {
958
+ -webkit-transform: scale3d(.9, .9, .9);
959
+ transform: scale3d(.9, .9, .9);
960
+ }
961
+
962
+ 50%, 55% {
963
+ opacity: 1;
964
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
965
+ transform: scale3d(1.1, 1.1, 1.1);
966
+ }
967
+
968
+ to {
969
+ opacity: 0;
970
+ -webkit-transform: scale3d(.3, .3, .3);
971
+ transform: scale3d(.3, .3, .3);
972
+ }
973
+ }
974
+
975
+ @keyframes bounceOut {
976
+ 20% {
977
+ -webkit-transform: scale3d(.9, .9, .9);
978
+ transform: scale3d(.9, .9, .9);
979
+ }
980
+
981
+ 50%, 55% {
982
+ opacity: 1;
983
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
984
+ transform: scale3d(1.1, 1.1, 1.1);
985
+ }
986
+
987
+ to {
988
+ opacity: 0;
989
+ -webkit-transform: scale3d(.3, .3, .3);
990
+ transform: scale3d(.3, .3, .3);
991
+ }
992
+ }
993
+
994
+ .bounceOut {
995
+ -webkit-animation-name: bounceOut;
996
+ animation-name: bounceOut;
997
+ }
998
+
999
+ @-webkit-keyframes bounceOutDown {
1000
+ 20% {
1001
+ -webkit-transform: translate3d(0, 10px, 0);
1002
+ transform: translate3d(0, 10px, 0);
1003
+ }
1004
+
1005
+ 40%, 45% {
1006
+ opacity: 1;
1007
+ -webkit-transform: translate3d(0, -20px, 0);
1008
+ transform: translate3d(0, -20px, 0);
1009
+ }
1010
+
1011
+ to {
1012
+ opacity: 0;
1013
+ -webkit-transform: translate3d(0, 2000px, 0);
1014
+ transform: translate3d(0, 2000px, 0);
1015
+ }
1016
+ }
1017
+
1018
+ @keyframes bounceOutDown {
1019
+ 20% {
1020
+ -webkit-transform: translate3d(0, 10px, 0);
1021
+ transform: translate3d(0, 10px, 0);
1022
+ }
1023
+
1024
+ 40%, 45% {
1025
+ opacity: 1;
1026
+ -webkit-transform: translate3d(0, -20px, 0);
1027
+ transform: translate3d(0, -20px, 0);
1028
+ }
1029
+
1030
+ to {
1031
+ opacity: 0;
1032
+ -webkit-transform: translate3d(0, 2000px, 0);
1033
+ transform: translate3d(0, 2000px, 0);
1034
+ }
1035
+ }
1036
+
1037
+ .bounceOutDown {
1038
+ -webkit-animation-name: bounceOutDown;
1039
+ animation-name: bounceOutDown;
1040
+ }
1041
+
1042
+ @-webkit-keyframes bounceOutLeft {
1043
+ 20% {
1044
+ opacity: 1;
1045
+ -webkit-transform: translate3d(20px, 0, 0);
1046
+ transform: translate3d(20px, 0, 0);
1047
+ }
1048
+
1049
+ to {
1050
+ opacity: 0;
1051
+ -webkit-transform: translate3d(-2000px, 0, 0);
1052
+ transform: translate3d(-2000px, 0, 0);
1053
+ }
1054
+ }
1055
+
1056
+ @keyframes bounceOutLeft {
1057
+ 20% {
1058
+ opacity: 1;
1059
+ -webkit-transform: translate3d(20px, 0, 0);
1060
+ transform: translate3d(20px, 0, 0);
1061
+ }
1062
+
1063
+ to {
1064
+ opacity: 0;
1065
+ -webkit-transform: translate3d(-2000px, 0, 0);
1066
+ transform: translate3d(-2000px, 0, 0);
1067
+ }
1068
+ }
1069
+
1070
+ .bounceOutLeft {
1071
+ -webkit-animation-name: bounceOutLeft;
1072
+ animation-name: bounceOutLeft;
1073
+ }
1074
+
1075
+ @-webkit-keyframes bounceOutRight {
1076
+ 20% {
1077
+ opacity: 1;
1078
+ -webkit-transform: translate3d(-20px, 0, 0);
1079
+ transform: translate3d(-20px, 0, 0);
1080
+ }
1081
+
1082
+ to {
1083
+ opacity: 0;
1084
+ -webkit-transform: translate3d(2000px, 0, 0);
1085
+ transform: translate3d(2000px, 0, 0);
1086
+ }
1087
+ }
1088
+
1089
+ @keyframes bounceOutRight {
1090
+ 20% {
1091
+ opacity: 1;
1092
+ -webkit-transform: translate3d(-20px, 0, 0);
1093
+ transform: translate3d(-20px, 0, 0);
1094
+ }
1095
+
1096
+ to {
1097
+ opacity: 0;
1098
+ -webkit-transform: translate3d(2000px, 0, 0);
1099
+ transform: translate3d(2000px, 0, 0);
1100
+ }
1101
+ }
1102
+
1103
+ .bounceOutRight {
1104
+ -webkit-animation-name: bounceOutRight;
1105
+ animation-name: bounceOutRight;
1106
+ }
1107
+
1108
+ @-webkit-keyframes bounceOutUp {
1109
+ 20% {
1110
+ -webkit-transform: translate3d(0, -10px, 0);
1111
+ transform: translate3d(0, -10px, 0);
1112
+ }
1113
+
1114
+ 40%, 45% {
1115
+ opacity: 1;
1116
+ -webkit-transform: translate3d(0, 20px, 0);
1117
+ transform: translate3d(0, 20px, 0);
1118
+ }
1119
+
1120
+ to {
1121
+ opacity: 0;
1122
+ -webkit-transform: translate3d(0, -2000px, 0);
1123
+ transform: translate3d(0, -2000px, 0);
1124
+ }
1125
+ }
1126
+
1127
+ @keyframes bounceOutUp {
1128
+ 20% {
1129
+ -webkit-transform: translate3d(0, -10px, 0);
1130
+ transform: translate3d(0, -10px, 0);
1131
+ }
1132
+
1133
+ 40%, 45% {
1134
+ opacity: 1;
1135
+ -webkit-transform: translate3d(0, 20px, 0);
1136
+ transform: translate3d(0, 20px, 0);
1137
+ }
1138
+
1139
+ to {
1140
+ opacity: 0;
1141
+ -webkit-transform: translate3d(0, -2000px, 0);
1142
+ transform: translate3d(0, -2000px, 0);
1143
+ }
1144
+ }
1145
+
1146
+ .bounceOutUp {
1147
+ -webkit-animation-name: bounceOutUp;
1148
+ animation-name: bounceOutUp;
1149
+ }
1150
+
1151
+ @-webkit-keyframes fadeIn {
1152
+ from {
1153
+ opacity: 0;
1154
+ }
1155
+
1156
+ to {
1157
+ opacity: 1;
1158
+ }
1159
+ }
1160
+
1161
+ @keyframes fadeIn {
1162
+ from {
1163
+ opacity: 0;
1164
+ }
1165
+
1166
+ to {
1167
+ opacity: 1;
1168
+ }
1169
+ }
1170
+
1171
+ .fadeIn {
1172
+ -webkit-animation-name: fadeIn;
1173
+ animation-name: fadeIn;
1174
+ }
1175
+
1176
+ @-webkit-keyframes fadeInDown {
1177
+ from {
1178
+ opacity: 0;
1179
+ -webkit-transform: translate3d(0, -100%, 0);
1180
+ transform: translate3d(0, -100%, 0);
1181
+ }
1182
+
1183
+ to {
1184
+ opacity: 1;
1185
+ -webkit-transform: none;
1186
+ transform: none;
1187
+ }
1188
+ }
1189
+
1190
+ @keyframes fadeInDown {
1191
+ from {
1192
+ opacity: 0;
1193
+ -webkit-transform: translate3d(0, -100%, 0);
1194
+ transform: translate3d(0, -100%, 0);
1195
+ }
1196
+
1197
+ to {
1198
+ opacity: 1;
1199
+ -webkit-transform: none;
1200
+ transform: none;
1201
+ }
1202
+ }
1203
+
1204
+ .fadeInDown {
1205
+ -webkit-animation-name: fadeInDown;
1206
+ animation-name: fadeInDown;
1207
+ }
1208
+
1209
+ @-webkit-keyframes fadeInDownBig {
1210
+ from {
1211
+ opacity: 0;
1212
+ -webkit-transform: translate3d(0, -2000px, 0);
1213
+ transform: translate3d(0, -2000px, 0);
1214
+ }
1215
+
1216
+ to {
1217
+ opacity: 1;
1218
+ -webkit-transform: none;
1219
+ transform: none;
1220
+ }
1221
+ }
1222
+
1223
+ @keyframes fadeInDownBig {
1224
+ from {
1225
+ opacity: 0;
1226
+ -webkit-transform: translate3d(0, -2000px, 0);
1227
+ transform: translate3d(0, -2000px, 0);
1228
+ }
1229
+
1230
+ to {
1231
+ opacity: 1;
1232
+ -webkit-transform: none;
1233
+ transform: none;
1234
+ }
1235
+ }
1236
+
1237
+ .fadeInDownBig {
1238
+ -webkit-animation-name: fadeInDownBig;
1239
+ animation-name: fadeInDownBig;
1240
+ }
1241
+
1242
+ @-webkit-keyframes fadeInLeft {
1243
+ from {
1244
+ opacity: 0;
1245
+ -webkit-transform: translate3d(-100%, 0, 0);
1246
+ transform: translate3d(-100%, 0, 0);
1247
+ }
1248
+
1249
+ to {
1250
+ opacity: 1;
1251
+ -webkit-transform: none;
1252
+ transform: none;
1253
+ }
1254
+ }
1255
+
1256
+ @keyframes fadeInLeft {
1257
+ from {
1258
+ opacity: 0;
1259
+ -webkit-transform: translate3d(-100%, 0, 0);
1260
+ transform: translate3d(-100%, 0, 0);
1261
+ }
1262
+
1263
+ to {
1264
+ opacity: 1;
1265
+ -webkit-transform: none;
1266
+ transform: none;
1267
+ }
1268
+ }
1269
+
1270
+ .fadeInLeft {
1271
+ -webkit-animation-name: fadeInLeft;
1272
+ animation-name: fadeInLeft;
1273
+ }
1274
+
1275
+ @-webkit-keyframes fadeInLeftBig {
1276
+ from {
1277
+ opacity: 0;
1278
+ -webkit-transform: translate3d(-2000px, 0, 0);
1279
+ transform: translate3d(-2000px, 0, 0);
1280
+ }
1281
+
1282
+ to {
1283
+ opacity: 1;
1284
+ -webkit-transform: none;
1285
+ transform: none;
1286
+ }
1287
+ }
1288
+
1289
+ @keyframes fadeInLeftBig {
1290
+ from {
1291
+ opacity: 0;
1292
+ -webkit-transform: translate3d(-2000px, 0, 0);
1293
+ transform: translate3d(-2000px, 0, 0);
1294
+ }
1295
+
1296
+ to {
1297
+ opacity: 1;
1298
+ -webkit-transform: none;
1299
+ transform: none;
1300
+ }
1301
+ }
1302
+
1303
+ .fadeInLeftBig {
1304
+ -webkit-animation-name: fadeInLeftBig;
1305
+ animation-name: fadeInLeftBig;
1306
+ }
1307
+
1308
+ @-webkit-keyframes fadeInRight {
1309
+ from {
1310
+ opacity: 0;
1311
+ -webkit-transform: translate3d(100%, 0, 0);
1312
+ transform: translate3d(100%, 0, 0);
1313
+ }
1314
+
1315
+ to {
1316
+ opacity: 1;
1317
+ -webkit-transform: none;
1318
+ transform: none;
1319
+ }
1320
+ }
1321
+
1322
+ @keyframes fadeInRight {
1323
+ from {
1324
+ opacity: 0;
1325
+ -webkit-transform: translate3d(100%, 0, 0);
1326
+ transform: translate3d(100%, 0, 0);
1327
+ }
1328
+
1329
+ to {
1330
+ opacity: 1;
1331
+ -webkit-transform: none;
1332
+ transform: none;
1333
+ }
1334
+ }
1335
+
1336
+ .fadeInRight {
1337
+ -webkit-animation-name: fadeInRight;
1338
+ animation-name: fadeInRight;
1339
+ }
1340
+
1341
+ @-webkit-keyframes fadeInRightBig {
1342
+ from {
1343
+ opacity: 0;
1344
+ -webkit-transform: translate3d(2000px, 0, 0);
1345
+ transform: translate3d(2000px, 0, 0);
1346
+ }
1347
+
1348
+ to {
1349
+ opacity: 1;
1350
+ -webkit-transform: none;
1351
+ transform: none;
1352
+ }
1353
+ }
1354
+
1355
+ @keyframes fadeInRightBig {
1356
+ from {
1357
+ opacity: 0;
1358
+ -webkit-transform: translate3d(2000px, 0, 0);
1359
+ transform: translate3d(2000px, 0, 0);
1360
+ }
1361
+
1362
+ to {
1363
+ opacity: 1;
1364
+ -webkit-transform: none;
1365
+ transform: none;
1366
+ }
1367
+ }
1368
+
1369
+ .fadeInRightBig {
1370
+ -webkit-animation-name: fadeInRightBig;
1371
+ animation-name: fadeInRightBig;
1372
+ }
1373
+
1374
+ @-webkit-keyframes fadeInUp {
1375
+ from {
1376
+ opacity: 0;
1377
+ -webkit-transform: translate3d(0, 100%, 0);
1378
+ transform: translate3d(0, 100%, 0);
1379
+ }
1380
+
1381
+ to {
1382
+ opacity: 1;
1383
+ -webkit-transform: none;
1384
+ transform: none;
1385
+ }
1386
+ }
1387
+
1388
+ @keyframes fadeInUp {
1389
+ from {
1390
+ opacity: 0;
1391
+ -webkit-transform: translate3d(0, 100%, 0);
1392
+ transform: translate3d(0, 100%, 0);
1393
+ }
1394
+
1395
+ to {
1396
+ opacity: 1;
1397
+ -webkit-transform: none;
1398
+ transform: none;
1399
+ }
1400
+ }
1401
+
1402
+ .fadeInUp {
1403
+ -webkit-animation-name: fadeInUp;
1404
+ animation-name: fadeInUp;
1405
+ }
1406
+
1407
+ @-webkit-keyframes fadeInUpBig {
1408
+ from {
1409
+ opacity: 0;
1410
+ -webkit-transform: translate3d(0, 2000px, 0);
1411
+ transform: translate3d(0, 2000px, 0);
1412
+ }
1413
+
1414
+ to {
1415
+ opacity: 1;
1416
+ -webkit-transform: none;
1417
+ transform: none;
1418
+ }
1419
+ }
1420
+
1421
+ @keyframes fadeInUpBig {
1422
+ from {
1423
+ opacity: 0;
1424
+ -webkit-transform: translate3d(0, 2000px, 0);
1425
+ transform: translate3d(0, 2000px, 0);
1426
+ }
1427
+
1428
+ to {
1429
+ opacity: 1;
1430
+ -webkit-transform: none;
1431
+ transform: none;
1432
+ }
1433
+ }
1434
+
1435
+ .fadeInUpBig {
1436
+ -webkit-animation-name: fadeInUpBig;
1437
+ animation-name: fadeInUpBig;
1438
+ }
1439
+
1440
+ @-webkit-keyframes fadeOut {
1441
+ from {
1442
+ opacity: 1;
1443
+ }
1444
+
1445
+ to {
1446
+ opacity: 0;
1447
+ }
1448
+ }
1449
+
1450
+ @keyframes fadeOut {
1451
+ from {
1452
+ opacity: 1;
1453
+ }
1454
+
1455
+ to {
1456
+ opacity: 0;
1457
+ }
1458
+ }
1459
+
1460
+ .fadeOut {
1461
+ -webkit-animation-name: fadeOut;
1462
+ animation-name: fadeOut;
1463
+ }
1464
+
1465
+ @-webkit-keyframes fadeOutDown {
1466
+ from {
1467
+ opacity: 1;
1468
+ }
1469
+
1470
+ to {
1471
+ opacity: 0;
1472
+ -webkit-transform: translate3d(0, 100%, 0);
1473
+ transform: translate3d(0, 100%, 0);
1474
+ }
1475
+ }
1476
+
1477
+ @keyframes fadeOutDown {
1478
+ from {
1479
+ opacity: 1;
1480
+ }
1481
+
1482
+ to {
1483
+ opacity: 0;
1484
+ -webkit-transform: translate3d(0, 100%, 0);
1485
+ transform: translate3d(0, 100%, 0);
1486
+ }
1487
+ }
1488
+
1489
+ .fadeOutDown {
1490
+ -webkit-animation-name: fadeOutDown;
1491
+ animation-name: fadeOutDown;
1492
+ }
1493
+
1494
+ @-webkit-keyframes fadeOutDownBig {
1495
+ from {
1496
+ opacity: 1;
1497
+ }
1498
+
1499
+ to {
1500
+ opacity: 0;
1501
+ -webkit-transform: translate3d(0, 2000px, 0);
1502
+ transform: translate3d(0, 2000px, 0);
1503
+ }
1504
+ }
1505
+
1506
+ @keyframes fadeOutDownBig {
1507
+ from {
1508
+ opacity: 1;
1509
+ }
1510
+
1511
+ to {
1512
+ opacity: 0;
1513
+ -webkit-transform: translate3d(0, 2000px, 0);
1514
+ transform: translate3d(0, 2000px, 0);
1515
+ }
1516
+ }
1517
+
1518
+ .fadeOutDownBig {
1519
+ -webkit-animation-name: fadeOutDownBig;
1520
+ animation-name: fadeOutDownBig;
1521
+ }
1522
+
1523
+ @-webkit-keyframes fadeOutLeft {
1524
+ from {
1525
+ opacity: 1;
1526
+ }
1527
+
1528
+ to {
1529
+ opacity: 0;
1530
+ -webkit-transform: translate3d(-100%, 0, 0);
1531
+ transform: translate3d(-100%, 0, 0);
1532
+ }
1533
+ }
1534
+
1535
+ @keyframes fadeOutLeft {
1536
+ from {
1537
+ opacity: 1;
1538
+ }
1539
+
1540
+ to {
1541
+ opacity: 0;
1542
+ -webkit-transform: translate3d(-100%, 0, 0);
1543
+ transform: translate3d(-100%, 0, 0);
1544
+ }
1545
+ }
1546
+
1547
+ .fadeOutLeft {
1548
+ -webkit-animation-name: fadeOutLeft;
1549
+ animation-name: fadeOutLeft;
1550
+ }
1551
+
1552
+ @-webkit-keyframes fadeOutLeftBig {
1553
+ from {
1554
+ opacity: 1;
1555
+ }
1556
+
1557
+ to {
1558
+ opacity: 0;
1559
+ -webkit-transform: translate3d(-2000px, 0, 0);
1560
+ transform: translate3d(-2000px, 0, 0);
1561
+ }
1562
+ }
1563
+
1564
+ @keyframes fadeOutLeftBig {
1565
+ from {
1566
+ opacity: 1;
1567
+ }
1568
+
1569
+ to {
1570
+ opacity: 0;
1571
+ -webkit-transform: translate3d(-2000px, 0, 0);
1572
+ transform: translate3d(-2000px, 0, 0);
1573
+ }
1574
+ }
1575
+
1576
+ .fadeOutLeftBig {
1577
+ -webkit-animation-name: fadeOutLeftBig;
1578
+ animation-name: fadeOutLeftBig;
1579
+ }
1580
+
1581
+ @-webkit-keyframes fadeOutRight {
1582
+ from {
1583
+ opacity: 1;
1584
+ }
1585
+
1586
+ to {
1587
+ opacity: 0;
1588
+ -webkit-transform: translate3d(100%, 0, 0);
1589
+ transform: translate3d(100%, 0, 0);
1590
+ }
1591
+ }
1592
+
1593
+ @keyframes fadeOutRight {
1594
+ from {
1595
+ opacity: 1;
1596
+ }
1597
+
1598
+ to {
1599
+ opacity: 0;
1600
+ -webkit-transform: translate3d(100%, 0, 0);
1601
+ transform: translate3d(100%, 0, 0);
1602
+ }
1603
+ }
1604
+
1605
+ .fadeOutRight {
1606
+ -webkit-animation-name: fadeOutRight;
1607
+ animation-name: fadeOutRight;
1608
+ }
1609
+
1610
+ @-webkit-keyframes fadeOutRightBig {
1611
+ from {
1612
+ opacity: 1;
1613
+ }
1614
+
1615
+ to {
1616
+ opacity: 0;
1617
+ -webkit-transform: translate3d(2000px, 0, 0);
1618
+ transform: translate3d(2000px, 0, 0);
1619
+ }
1620
+ }
1621
+
1622
+ @keyframes fadeOutRightBig {
1623
+ from {
1624
+ opacity: 1;
1625
+ }
1626
+
1627
+ to {
1628
+ opacity: 0;
1629
+ -webkit-transform: translate3d(2000px, 0, 0);
1630
+ transform: translate3d(2000px, 0, 0);
1631
+ }
1632
+ }
1633
+
1634
+ .fadeOutRightBig {
1635
+ -webkit-animation-name: fadeOutRightBig;
1636
+ animation-name: fadeOutRightBig;
1637
+ }
1638
+
1639
+ @-webkit-keyframes fadeOutUp {
1640
+ from {
1641
+ opacity: 1;
1642
+ }
1643
+
1644
+ to {
1645
+ opacity: 0;
1646
+ -webkit-transform: translate3d(0, -100%, 0);
1647
+ transform: translate3d(0, -100%, 0);
1648
+ }
1649
+ }
1650
+
1651
+ @keyframes fadeOutUp {
1652
+ from {
1653
+ opacity: 1;
1654
+ }
1655
+
1656
+ to {
1657
+ opacity: 0;
1658
+ -webkit-transform: translate3d(0, -100%, 0);
1659
+ transform: translate3d(0, -100%, 0);
1660
+ }
1661
+ }
1662
+
1663
+ .fadeOutUp {
1664
+ -webkit-animation-name: fadeOutUp;
1665
+ animation-name: fadeOutUp;
1666
+ }
1667
+
1668
+ @-webkit-keyframes fadeOutUpBig {
1669
+ from {
1670
+ opacity: 1;
1671
+ }
1672
+
1673
+ to {
1674
+ opacity: 0;
1675
+ -webkit-transform: translate3d(0, -2000px, 0);
1676
+ transform: translate3d(0, -2000px, 0);
1677
+ }
1678
+ }
1679
+
1680
+ @keyframes fadeOutUpBig {
1681
+ from {
1682
+ opacity: 1;
1683
+ }
1684
+
1685
+ to {
1686
+ opacity: 0;
1687
+ -webkit-transform: translate3d(0, -2000px, 0);
1688
+ transform: translate3d(0, -2000px, 0);
1689
+ }
1690
+ }
1691
+
1692
+ .fadeOutUpBig {
1693
+ -webkit-animation-name: fadeOutUpBig;
1694
+ animation-name: fadeOutUpBig;
1695
+ }
1696
+
1697
+ @-webkit-keyframes flip {
1698
+ from {
1699
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1700
+ transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1701
+ -webkit-animation-timing-function: ease-out;
1702
+ animation-timing-function: ease-out;
1703
+ }
1704
+
1705
+ 40% {
1706
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1707
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1708
+ -webkit-animation-timing-function: ease-out;
1709
+ animation-timing-function: ease-out;
1710
+ }
1711
+
1712
+ 50% {
1713
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1714
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1715
+ -webkit-animation-timing-function: ease-in;
1716
+ animation-timing-function: ease-in;
1717
+ }
1718
+
1719
+ 80% {
1720
+ -webkit-transform: perspective(400px) scale3d(.95, .95, .95);
1721
+ transform: perspective(400px) scale3d(.95, .95, .95);
1722
+ -webkit-animation-timing-function: ease-in;
1723
+ animation-timing-function: ease-in;
1724
+ }
1725
+
1726
+ to {
1727
+ -webkit-transform: perspective(400px);
1728
+ transform: perspective(400px);
1729
+ -webkit-animation-timing-function: ease-in;
1730
+ animation-timing-function: ease-in;
1731
+ }
1732
+ }
1733
+
1734
+ @keyframes flip {
1735
+ from {
1736
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1737
+ transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1738
+ -webkit-animation-timing-function: ease-out;
1739
+ animation-timing-function: ease-out;
1740
+ }
1741
+
1742
+ 40% {
1743
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1744
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1745
+ -webkit-animation-timing-function: ease-out;
1746
+ animation-timing-function: ease-out;
1747
+ }
1748
+
1749
+ 50% {
1750
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1751
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1752
+ -webkit-animation-timing-function: ease-in;
1753
+ animation-timing-function: ease-in;
1754
+ }
1755
+
1756
+ 80% {
1757
+ -webkit-transform: perspective(400px) scale3d(.95, .95, .95);
1758
+ transform: perspective(400px) scale3d(.95, .95, .95);
1759
+ -webkit-animation-timing-function: ease-in;
1760
+ animation-timing-function: ease-in;
1761
+ }
1762
+
1763
+ to {
1764
+ -webkit-transform: perspective(400px);
1765
+ transform: perspective(400px);
1766
+ -webkit-animation-timing-function: ease-in;
1767
+ animation-timing-function: ease-in;
1768
+ }
1769
+ }
1770
+
1771
+ .animated.flip {
1772
+ -webkit-backface-visibility: visible;
1773
+ backface-visibility: visible;
1774
+ -webkit-animation-name: flip;
1775
+ animation-name: flip;
1776
+ }
1777
+
1778
+ @-webkit-keyframes flipInX {
1779
+ from {
1780
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1781
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1782
+ -webkit-animation-timing-function: ease-in;
1783
+ animation-timing-function: ease-in;
1784
+ opacity: 0;
1785
+ }
1786
+
1787
+ 40% {
1788
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1789
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1790
+ -webkit-animation-timing-function: ease-in;
1791
+ animation-timing-function: ease-in;
1792
+ }
1793
+
1794
+ 60% {
1795
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1796
+ transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1797
+ opacity: 1;
1798
+ }
1799
+
1800
+ 80% {
1801
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1802
+ transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1803
+ }
1804
+
1805
+ to {
1806
+ -webkit-transform: perspective(400px);
1807
+ transform: perspective(400px);
1808
+ }
1809
+ }
1810
+
1811
+ @keyframes flipInX {
1812
+ from {
1813
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1814
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1815
+ -webkit-animation-timing-function: ease-in;
1816
+ animation-timing-function: ease-in;
1817
+ opacity: 0;
1818
+ }
1819
+
1820
+ 40% {
1821
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1822
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1823
+ -webkit-animation-timing-function: ease-in;
1824
+ animation-timing-function: ease-in;
1825
+ }
1826
+
1827
+ 60% {
1828
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1829
+ transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1830
+ opacity: 1;
1831
+ }
1832
+
1833
+ 80% {
1834
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1835
+ transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1836
+ }
1837
+
1838
+ to {
1839
+ -webkit-transform: perspective(400px);
1840
+ transform: perspective(400px);
1841
+ }
1842
+ }
1843
+
1844
+ .flipInX {
1845
+ -webkit-backface-visibility: visible !important;
1846
+ backface-visibility: visible !important;
1847
+ -webkit-animation-name: flipInX;
1848
+ animation-name: flipInX;
1849
+ }
1850
+
1851
+ @-webkit-keyframes flipInY {
1852
+ from {
1853
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1854
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1855
+ -webkit-animation-timing-function: ease-in;
1856
+ animation-timing-function: ease-in;
1857
+ opacity: 0;
1858
+ }
1859
+
1860
+ 40% {
1861
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1862
+ transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1863
+ -webkit-animation-timing-function: ease-in;
1864
+ animation-timing-function: ease-in;
1865
+ }
1866
+
1867
+ 60% {
1868
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1869
+ transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1870
+ opacity: 1;
1871
+ }
1872
+
1873
+ 80% {
1874
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1875
+ transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1876
+ }
1877
+
1878
+ to {
1879
+ -webkit-transform: perspective(400px);
1880
+ transform: perspective(400px);
1881
+ }
1882
+ }
1883
+
1884
+ @keyframes flipInY {
1885
+ from {
1886
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1887
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1888
+ -webkit-animation-timing-function: ease-in;
1889
+ animation-timing-function: ease-in;
1890
+ opacity: 0;
1891
+ }
1892
+
1893
+ 40% {
1894
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1895
+ transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1896
+ -webkit-animation-timing-function: ease-in;
1897
+ animation-timing-function: ease-in;
1898
+ }
1899
+
1900
+ 60% {
1901
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1902
+ transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1903
+ opacity: 1;
1904
+ }
1905
+
1906
+ 80% {
1907
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1908
+ transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1909
+ }
1910
+
1911
+ to {
1912
+ -webkit-transform: perspective(400px);
1913
+ transform: perspective(400px);
1914
+ }
1915
+ }
1916
+
1917
+ .flipInY {
1918
+ -webkit-backface-visibility: visible !important;
1919
+ backface-visibility: visible !important;
1920
+ -webkit-animation-name: flipInY;
1921
+ animation-name: flipInY;
1922
+ }
1923
+
1924
+ @-webkit-keyframes flipOutX {
1925
+ from {
1926
+ -webkit-transform: perspective(400px);
1927
+ transform: perspective(400px);
1928
+ }
1929
+
1930
+ 30% {
1931
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1932
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1933
+ opacity: 1;
1934
+ }
1935
+
1936
+ to {
1937
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1938
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1939
+ opacity: 0;
1940
+ }
1941
+ }
1942
+
1943
+ @keyframes flipOutX {
1944
+ from {
1945
+ -webkit-transform: perspective(400px);
1946
+ transform: perspective(400px);
1947
+ }
1948
+
1949
+ 30% {
1950
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1951
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1952
+ opacity: 1;
1953
+ }
1954
+
1955
+ to {
1956
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1957
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1958
+ opacity: 0;
1959
+ }
1960
+ }
1961
+
1962
+ .flipOutX {
1963
+ -webkit-animation-name: flipOutX;
1964
+ animation-name: flipOutX;
1965
+ -webkit-backface-visibility: visible !important;
1966
+ backface-visibility: visible !important;
1967
+ }
1968
+
1969
+ @-webkit-keyframes flipOutY {
1970
+ from {
1971
+ -webkit-transform: perspective(400px);
1972
+ transform: perspective(400px);
1973
+ }
1974
+
1975
+ 30% {
1976
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1977
+ transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1978
+ opacity: 1;
1979
+ }
1980
+
1981
+ to {
1982
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1983
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1984
+ opacity: 0;
1985
+ }
1986
+ }
1987
+
1988
+ @keyframes flipOutY {
1989
+ from {
1990
+ -webkit-transform: perspective(400px);
1991
+ transform: perspective(400px);
1992
+ }
1993
+
1994
+ 30% {
1995
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1996
+ transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1997
+ opacity: 1;
1998
+ }
1999
+
2000
+ to {
2001
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
2002
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
2003
+ opacity: 0;
2004
+ }
2005
+ }
2006
+
2007
+ .flipOutY {
2008
+ -webkit-backface-visibility: visible !important;
2009
+ backface-visibility: visible !important;
2010
+ -webkit-animation-name: flipOutY;
2011
+ animation-name: flipOutY;
2012
+ }
2013
+
2014
+ @-webkit-keyframes lightSpeedIn {
2015
+ from {
2016
+ -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
2017
+ transform: translate3d(100%, 0, 0) skewX(-30deg);
2018
+ opacity: 0;
2019
+ }
2020
+
2021
+ 60% {
2022
+ -webkit-transform: skewX(20deg);
2023
+ transform: skewX(20deg);
2024
+ opacity: 1;
2025
+ }
2026
+
2027
+ 80% {
2028
+ -webkit-transform: skewX(-5deg);
2029
+ transform: skewX(-5deg);
2030
+ opacity: 1;
2031
+ }
2032
+
2033
+ to {
2034
+ -webkit-transform: none;
2035
+ transform: none;
2036
+ opacity: 1;
2037
+ }
2038
+ }
2039
+
2040
+ @keyframes lightSpeedIn {
2041
+ from {
2042
+ -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
2043
+ transform: translate3d(100%, 0, 0) skewX(-30deg);
2044
+ opacity: 0;
2045
+ }
2046
+
2047
+ 60% {
2048
+ -webkit-transform: skewX(20deg);
2049
+ transform: skewX(20deg);
2050
+ opacity: 1;
2051
+ }
2052
+
2053
+ 80% {
2054
+ -webkit-transform: skewX(-5deg);
2055
+ transform: skewX(-5deg);
2056
+ opacity: 1;
2057
+ }
2058
+
2059
+ to {
2060
+ -webkit-transform: none;
2061
+ transform: none;
2062
+ opacity: 1;
2063
+ }
2064
+ }
2065
+
2066
+ .lightSpeedIn {
2067
+ -webkit-animation-name: lightSpeedIn;
2068
+ animation-name: lightSpeedIn;
2069
+ -webkit-animation-timing-function: ease-out;
2070
+ animation-timing-function: ease-out;
2071
+ }
2072
+
2073
+ @-webkit-keyframes lightSpeedOut {
2074
+ from {
2075
+ opacity: 1;
2076
+ }
2077
+
2078
+ to {
2079
+ -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
2080
+ transform: translate3d(100%, 0, 0) skewX(30deg);
2081
+ opacity: 0;
2082
+ }
2083
+ }
2084
+
2085
+ @keyframes lightSpeedOut {
2086
+ from {
2087
+ opacity: 1;
2088
+ }
2089
+
2090
+ to {
2091
+ -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
2092
+ transform: translate3d(100%, 0, 0) skewX(30deg);
2093
+ opacity: 0;
2094
+ }
2095
+ }
2096
+
2097
+ .lightSpeedOut {
2098
+ -webkit-animation-name: lightSpeedOut;
2099
+ animation-name: lightSpeedOut;
2100
+ -webkit-animation-timing-function: ease-in;
2101
+ animation-timing-function: ease-in;
2102
+ }
2103
+
2104
+ @-webkit-keyframes rotateIn {
2105
+ from {
2106
+ -webkit-transform-origin: center;
2107
+ transform-origin: center;
2108
+ -webkit-transform: rotate3d(0, 0, 1, -200deg);
2109
+ transform: rotate3d(0, 0, 1, -200deg);
2110
+ opacity: 0;
2111
+ }
2112
+
2113
+ to {
2114
+ -webkit-transform-origin: center;
2115
+ transform-origin: center;
2116
+ -webkit-transform: none;
2117
+ transform: none;
2118
+ opacity: 1;
2119
+ }
2120
+ }
2121
+
2122
+ @keyframes rotateIn {
2123
+ from {
2124
+ -webkit-transform-origin: center;
2125
+ transform-origin: center;
2126
+ -webkit-transform: rotate3d(0, 0, 1, -200deg);
2127
+ transform: rotate3d(0, 0, 1, -200deg);
2128
+ opacity: 0;
2129
+ }
2130
+
2131
+ to {
2132
+ -webkit-transform-origin: center;
2133
+ transform-origin: center;
2134
+ -webkit-transform: none;
2135
+ transform: none;
2136
+ opacity: 1;
2137
+ }
2138
+ }
2139
+
2140
+ .rotateIn {
2141
+ -webkit-animation-name: rotateIn;
2142
+ animation-name: rotateIn;
2143
+ }
2144
+
2145
+ @-webkit-keyframes rotateInDownLeft {
2146
+ from {
2147
+ -webkit-transform-origin: left bottom;
2148
+ transform-origin: left bottom;
2149
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2150
+ transform: rotate3d(0, 0, 1, -45deg);
2151
+ opacity: 0;
2152
+ }
2153
+
2154
+ to {
2155
+ -webkit-transform-origin: left bottom;
2156
+ transform-origin: left bottom;
2157
+ -webkit-transform: none;
2158
+ transform: none;
2159
+ opacity: 1;
2160
+ }
2161
+ }
2162
+
2163
+ @keyframes rotateInDownLeft {
2164
+ from {
2165
+ -webkit-transform-origin: left bottom;
2166
+ transform-origin: left bottom;
2167
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2168
+ transform: rotate3d(0, 0, 1, -45deg);
2169
+ opacity: 0;
2170
+ }
2171
+
2172
+ to {
2173
+ -webkit-transform-origin: left bottom;
2174
+ transform-origin: left bottom;
2175
+ -webkit-transform: none;
2176
+ transform: none;
2177
+ opacity: 1;
2178
+ }
2179
+ }
2180
+
2181
+ .rotateInDownLeft {
2182
+ -webkit-animation-name: rotateInDownLeft;
2183
+ animation-name: rotateInDownLeft;
2184
+ }
2185
+
2186
+ @-webkit-keyframes rotateInDownRight {
2187
+ from {
2188
+ -webkit-transform-origin: right bottom;
2189
+ transform-origin: right bottom;
2190
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2191
+ transform: rotate3d(0, 0, 1, 45deg);
2192
+ opacity: 0;
2193
+ }
2194
+
2195
+ to {
2196
+ -webkit-transform-origin: right bottom;
2197
+ transform-origin: right bottom;
2198
+ -webkit-transform: none;
2199
+ transform: none;
2200
+ opacity: 1;
2201
+ }
2202
+ }
2203
+
2204
+ @keyframes rotateInDownRight {
2205
+ from {
2206
+ -webkit-transform-origin: right bottom;
2207
+ transform-origin: right bottom;
2208
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2209
+ transform: rotate3d(0, 0, 1, 45deg);
2210
+ opacity: 0;
2211
+ }
2212
+
2213
+ to {
2214
+ -webkit-transform-origin: right bottom;
2215
+ transform-origin: right bottom;
2216
+ -webkit-transform: none;
2217
+ transform: none;
2218
+ opacity: 1;
2219
+ }
2220
+ }
2221
+
2222
+ .rotateInDownRight {
2223
+ -webkit-animation-name: rotateInDownRight;
2224
+ animation-name: rotateInDownRight;
2225
+ }
2226
+
2227
+ @-webkit-keyframes rotateInUpLeft {
2228
+ from {
2229
+ -webkit-transform-origin: left bottom;
2230
+ transform-origin: left bottom;
2231
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2232
+ transform: rotate3d(0, 0, 1, 45deg);
2233
+ opacity: 0;
2234
+ }
2235
+
2236
+ to {
2237
+ -webkit-transform-origin: left bottom;
2238
+ transform-origin: left bottom;
2239
+ -webkit-transform: none;
2240
+ transform: none;
2241
+ opacity: 1;
2242
+ }
2243
+ }
2244
+
2245
+ @keyframes rotateInUpLeft {
2246
+ from {
2247
+ -webkit-transform-origin: left bottom;
2248
+ transform-origin: left bottom;
2249
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2250
+ transform: rotate3d(0, 0, 1, 45deg);
2251
+ opacity: 0;
2252
+ }
2253
+
2254
+ to {
2255
+ -webkit-transform-origin: left bottom;
2256
+ transform-origin: left bottom;
2257
+ -webkit-transform: none;
2258
+ transform: none;
2259
+ opacity: 1;
2260
+ }
2261
+ }
2262
+
2263
+ .rotateInUpLeft {
2264
+ -webkit-animation-name: rotateInUpLeft;
2265
+ animation-name: rotateInUpLeft;
2266
+ }
2267
+
2268
+ @-webkit-keyframes rotateInUpRight {
2269
+ from {
2270
+ -webkit-transform-origin: right bottom;
2271
+ transform-origin: right bottom;
2272
+ -webkit-transform: rotate3d(0, 0, 1, -90deg);
2273
+ transform: rotate3d(0, 0, 1, -90deg);
2274
+ opacity: 0;
2275
+ }
2276
+
2277
+ to {
2278
+ -webkit-transform-origin: right bottom;
2279
+ transform-origin: right bottom;
2280
+ -webkit-transform: none;
2281
+ transform: none;
2282
+ opacity: 1;
2283
+ }
2284
+ }
2285
+
2286
+ @keyframes rotateInUpRight {
2287
+ from {
2288
+ -webkit-transform-origin: right bottom;
2289
+ transform-origin: right bottom;
2290
+ -webkit-transform: rotate3d(0, 0, 1, -90deg);
2291
+ transform: rotate3d(0, 0, 1, -90deg);
2292
+ opacity: 0;
2293
+ }
2294
+
2295
+ to {
2296
+ -webkit-transform-origin: right bottom;
2297
+ transform-origin: right bottom;
2298
+ -webkit-transform: none;
2299
+ transform: none;
2300
+ opacity: 1;
2301
+ }
2302
+ }
2303
+
2304
+ .rotateInUpRight {
2305
+ -webkit-animation-name: rotateInUpRight;
2306
+ animation-name: rotateInUpRight;
2307
+ }
2308
+
2309
+ @-webkit-keyframes rotateOut {
2310
+ from {
2311
+ -webkit-transform-origin: center;
2312
+ transform-origin: center;
2313
+ opacity: 1;
2314
+ }
2315
+
2316
+ to {
2317
+ -webkit-transform-origin: center;
2318
+ transform-origin: center;
2319
+ -webkit-transform: rotate3d(0, 0, 1, 200deg);
2320
+ transform: rotate3d(0, 0, 1, 200deg);
2321
+ opacity: 0;
2322
+ }
2323
+ }
2324
+
2325
+ @keyframes rotateOut {
2326
+ from {
2327
+ -webkit-transform-origin: center;
2328
+ transform-origin: center;
2329
+ opacity: 1;
2330
+ }
2331
+
2332
+ to {
2333
+ -webkit-transform-origin: center;
2334
+ transform-origin: center;
2335
+ -webkit-transform: rotate3d(0, 0, 1, 200deg);
2336
+ transform: rotate3d(0, 0, 1, 200deg);
2337
+ opacity: 0;
2338
+ }
2339
+ }
2340
+
2341
+ .rotateOut {
2342
+ -webkit-animation-name: rotateOut;
2343
+ animation-name: rotateOut;
2344
+ }
2345
+
2346
+ @-webkit-keyframes rotateOutDownLeft {
2347
+ from {
2348
+ -webkit-transform-origin: left bottom;
2349
+ transform-origin: left bottom;
2350
+ opacity: 1;
2351
+ }
2352
+
2353
+ to {
2354
+ -webkit-transform-origin: left bottom;
2355
+ transform-origin: left bottom;
2356
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2357
+ transform: rotate3d(0, 0, 1, 45deg);
2358
+ opacity: 0;
2359
+ }
2360
+ }
2361
+
2362
+ @keyframes rotateOutDownLeft {
2363
+ from {
2364
+ -webkit-transform-origin: left bottom;
2365
+ transform-origin: left bottom;
2366
+ opacity: 1;
2367
+ }
2368
+
2369
+ to {
2370
+ -webkit-transform-origin: left bottom;
2371
+ transform-origin: left bottom;
2372
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2373
+ transform: rotate3d(0, 0, 1, 45deg);
2374
+ opacity: 0;
2375
+ }
2376
+ }
2377
+
2378
+ .rotateOutDownLeft {
2379
+ -webkit-animation-name: rotateOutDownLeft;
2380
+ animation-name: rotateOutDownLeft;
2381
+ }
2382
+
2383
+ @-webkit-keyframes rotateOutDownRight {
2384
+ from {
2385
+ -webkit-transform-origin: right bottom;
2386
+ transform-origin: right bottom;
2387
+ opacity: 1;
2388
+ }
2389
+
2390
+ to {
2391
+ -webkit-transform-origin: right bottom;
2392
+ transform-origin: right bottom;
2393
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2394
+ transform: rotate3d(0, 0, 1, -45deg);
2395
+ opacity: 0;
2396
+ }
2397
+ }
2398
+
2399
+ @keyframes rotateOutDownRight {
2400
+ from {
2401
+ -webkit-transform-origin: right bottom;
2402
+ transform-origin: right bottom;
2403
+ opacity: 1;
2404
+ }
2405
+
2406
+ to {
2407
+ -webkit-transform-origin: right bottom;
2408
+ transform-origin: right bottom;
2409
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2410
+ transform: rotate3d(0, 0, 1, -45deg);
2411
+ opacity: 0;
2412
+ }
2413
+ }
2414
+
2415
+ .rotateOutDownRight {
2416
+ -webkit-animation-name: rotateOutDownRight;
2417
+ animation-name: rotateOutDownRight;
2418
+ }
2419
+
2420
+ @-webkit-keyframes rotateOutUpLeft {
2421
+ from {
2422
+ -webkit-transform-origin: left bottom;
2423
+ transform-origin: left bottom;
2424
+ opacity: 1;
2425
+ }
2426
+
2427
+ to {
2428
+ -webkit-transform-origin: left bottom;
2429
+ transform-origin: left bottom;
2430
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2431
+ transform: rotate3d(0, 0, 1, -45deg);
2432
+ opacity: 0;
2433
+ }
2434
+ }
2435
+
2436
+ @keyframes rotateOutUpLeft {
2437
+ from {
2438
+ -webkit-transform-origin: left bottom;
2439
+ transform-origin: left bottom;
2440
+ opacity: 1;
2441
+ }
2442
+
2443
+ to {
2444
+ -webkit-transform-origin: left bottom;
2445
+ transform-origin: left bottom;
2446
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2447
+ transform: rotate3d(0, 0, 1, -45deg);
2448
+ opacity: 0;
2449
+ }
2450
+ }
2451
+
2452
+ .rotateOutUpLeft {
2453
+ -webkit-animation-name: rotateOutUpLeft;
2454
+ animation-name: rotateOutUpLeft;
2455
+ }
2456
+
2457
+ @-webkit-keyframes rotateOutUpRight {
2458
+ from {
2459
+ -webkit-transform-origin: right bottom;
2460
+ transform-origin: right bottom;
2461
+ opacity: 1;
2462
+ }
2463
+
2464
+ to {
2465
+ -webkit-transform-origin: right bottom;
2466
+ transform-origin: right bottom;
2467
+ -webkit-transform: rotate3d(0, 0, 1, 90deg);
2468
+ transform: rotate3d(0, 0, 1, 90deg);
2469
+ opacity: 0;
2470
+ }
2471
+ }
2472
+
2473
+ @keyframes rotateOutUpRight {
2474
+ from {
2475
+ -webkit-transform-origin: right bottom;
2476
+ transform-origin: right bottom;
2477
+ opacity: 1;
2478
+ }
2479
+
2480
+ to {
2481
+ -webkit-transform-origin: right bottom;
2482
+ transform-origin: right bottom;
2483
+ -webkit-transform: rotate3d(0, 0, 1, 90deg);
2484
+ transform: rotate3d(0, 0, 1, 90deg);
2485
+ opacity: 0;
2486
+ }
2487
+ }
2488
+
2489
+ .rotateOutUpRight {
2490
+ -webkit-animation-name: rotateOutUpRight;
2491
+ animation-name: rotateOutUpRight;
2492
+ }
2493
+
2494
+ @-webkit-keyframes hinge {
2495
+ 0% {
2496
+ -webkit-transform-origin: top left;
2497
+ transform-origin: top left;
2498
+ -webkit-animation-timing-function: ease-in-out;
2499
+ animation-timing-function: ease-in-out;
2500
+ }
2501
+
2502
+ 20%, 60% {
2503
+ -webkit-transform: rotate3d(0, 0, 1, 80deg);
2504
+ transform: rotate3d(0, 0, 1, 80deg);
2505
+ -webkit-transform-origin: top left;
2506
+ transform-origin: top left;
2507
+ -webkit-animation-timing-function: ease-in-out;
2508
+ animation-timing-function: ease-in-out;
2509
+ }
2510
+
2511
+ 40%, 80% {
2512
+ -webkit-transform: rotate3d(0, 0, 1, 60deg);
2513
+ transform: rotate3d(0, 0, 1, 60deg);
2514
+ -webkit-transform-origin: top left;
2515
+ transform-origin: top left;
2516
+ -webkit-animation-timing-function: ease-in-out;
2517
+ animation-timing-function: ease-in-out;
2518
+ opacity: 1;
2519
+ }
2520
+
2521
+ to {
2522
+ -webkit-transform: translate3d(0, 700px, 0);
2523
+ transform: translate3d(0, 700px, 0);
2524
+ opacity: 0;
2525
+ }
2526
+ }
2527
+
2528
+ @keyframes hinge {
2529
+ 0% {
2530
+ -webkit-transform-origin: top left;
2531
+ transform-origin: top left;
2532
+ -webkit-animation-timing-function: ease-in-out;
2533
+ animation-timing-function: ease-in-out;
2534
+ }
2535
+
2536
+ 20%, 60% {
2537
+ -webkit-transform: rotate3d(0, 0, 1, 80deg);
2538
+ transform: rotate3d(0, 0, 1, 80deg);
2539
+ -webkit-transform-origin: top left;
2540
+ transform-origin: top left;
2541
+ -webkit-animation-timing-function: ease-in-out;
2542
+ animation-timing-function: ease-in-out;
2543
+ }
2544
+
2545
+ 40%, 80% {
2546
+ -webkit-transform: rotate3d(0, 0, 1, 60deg);
2547
+ transform: rotate3d(0, 0, 1, 60deg);
2548
+ -webkit-transform-origin: top left;
2549
+ transform-origin: top left;
2550
+ -webkit-animation-timing-function: ease-in-out;
2551
+ animation-timing-function: ease-in-out;
2552
+ opacity: 1;
2553
+ }
2554
+
2555
+ to {
2556
+ -webkit-transform: translate3d(0, 700px, 0);
2557
+ transform: translate3d(0, 700px, 0);
2558
+ opacity: 0;
2559
+ }
2560
+ }
2561
+
2562
+ .hinge {
2563
+ -webkit-animation-name: hinge;
2564
+ animation-name: hinge;
2565
+ }
2566
+
2567
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
2568
+
2569
+ @-webkit-keyframes rollIn {
2570
+ from {
2571
+ opacity: 0;
2572
+ -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2573
+ transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2574
+ }
2575
+
2576
+ to {
2577
+ opacity: 1;
2578
+ -webkit-transform: none;
2579
+ transform: none;
2580
+ }
2581
+ }
2582
+
2583
+ @keyframes rollIn {
2584
+ from {
2585
+ opacity: 0;
2586
+ -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2587
+ transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2588
+ }
2589
+
2590
+ to {
2591
+ opacity: 1;
2592
+ -webkit-transform: none;
2593
+ transform: none;
2594
+ }
2595
+ }
2596
+
2597
+ .rollIn {
2598
+ -webkit-animation-name: rollIn;
2599
+ animation-name: rollIn;
2600
+ }
2601
+
2602
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
2603
+
2604
+ @-webkit-keyframes rollOut {
2605
+ from {
2606
+ opacity: 1;
2607
+ }
2608
+
2609
+ to {
2610
+ opacity: 0;
2611
+ -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2612
+ transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2613
+ }
2614
+ }
2615
+
2616
+ @keyframes rollOut {
2617
+ from {
2618
+ opacity: 1;
2619
+ }
2620
+
2621
+ to {
2622
+ opacity: 0;
2623
+ -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2624
+ transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2625
+ }
2626
+ }
2627
+
2628
+ .rollOut {
2629
+ -webkit-animation-name: rollOut;
2630
+ animation-name: rollOut;
2631
+ }
2632
+
2633
+ @-webkit-keyframes zoomIn {
2634
+ from {
2635
+ opacity: 0;
2636
+ -webkit-transform: scale3d(.3, .3, .3);
2637
+ transform: scale3d(.3, .3, .3);
2638
+ }
2639
+
2640
+ 50% {
2641
+ opacity: 1;
2642
+ }
2643
+ }
2644
+
2645
+ @keyframes zoomIn {
2646
+ from {
2647
+ opacity: 0;
2648
+ -webkit-transform: scale3d(.3, .3, .3);
2649
+ transform: scale3d(.3, .3, .3);
2650
+ }
2651
+
2652
+ 50% {
2653
+ opacity: 1;
2654
+ }
2655
+ }
2656
+
2657
+ .zoomIn {
2658
+ -webkit-animation-name: zoomIn;
2659
+ animation-name: zoomIn;
2660
+ }
2661
+
2662
+ @-webkit-keyframes zoomInDown {
2663
+ from {
2664
+ opacity: 0;
2665
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2666
+ transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2667
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2668
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2669
+ }
2670
+
2671
+ 60% {
2672
+ opacity: 1;
2673
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2674
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2675
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2676
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2677
+ }
2678
+ }
2679
+
2680
+ @keyframes zoomInDown {
2681
+ from {
2682
+ opacity: 0;
2683
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2684
+ transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2685
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2686
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2687
+ }
2688
+
2689
+ 60% {
2690
+ opacity: 1;
2691
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2692
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2693
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2694
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2695
+ }
2696
+ }
2697
+
2698
+ .zoomInDown {
2699
+ -webkit-animation-name: zoomInDown;
2700
+ animation-name: zoomInDown;
2701
+ }
2702
+
2703
+ @-webkit-keyframes zoomInLeft {
2704
+ from {
2705
+ opacity: 0;
2706
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2707
+ transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2708
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2709
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2710
+ }
2711
+
2712
+ 60% {
2713
+ opacity: 1;
2714
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2715
+ transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2716
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2717
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2718
+ }
2719
+ }
2720
+
2721
+ @keyframes zoomInLeft {
2722
+ from {
2723
+ opacity: 0;
2724
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2725
+ transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2726
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2727
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2728
+ }
2729
+
2730
+ 60% {
2731
+ opacity: 1;
2732
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2733
+ transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2734
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2735
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2736
+ }
2737
+ }
2738
+
2739
+ .zoomInLeft {
2740
+ -webkit-animation-name: zoomInLeft;
2741
+ animation-name: zoomInLeft;
2742
+ }
2743
+
2744
+ @-webkit-keyframes zoomInRight {
2745
+ from {
2746
+ opacity: 0;
2747
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2748
+ transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2749
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2750
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2751
+ }
2752
+
2753
+ 60% {
2754
+ opacity: 1;
2755
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2756
+ transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2757
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2758
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2759
+ }
2760
+ }
2761
+
2762
+ @keyframes zoomInRight {
2763
+ from {
2764
+ opacity: 0;
2765
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2766
+ transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2767
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2768
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2769
+ }
2770
+
2771
+ 60% {
2772
+ opacity: 1;
2773
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2774
+ transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2775
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2776
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2777
+ }
2778
+ }
2779
+
2780
+ .zoomInRight {
2781
+ -webkit-animation-name: zoomInRight;
2782
+ animation-name: zoomInRight;
2783
+ }
2784
+
2785
+ @-webkit-keyframes zoomInUp {
2786
+ from {
2787
+ opacity: 0;
2788
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2789
+ transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2790
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2791
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2792
+ }
2793
+
2794
+ 60% {
2795
+ opacity: 1;
2796
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2797
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2798
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2799
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2800
+ }
2801
+ }
2802
+
2803
+ @keyframes zoomInUp {
2804
+ from {
2805
+ opacity: 0;
2806
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2807
+ transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2808
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2809
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2810
+ }
2811
+
2812
+ 60% {
2813
+ opacity: 1;
2814
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2815
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2816
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2817
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2818
+ }
2819
+ }
2820
+
2821
+ .zoomInUp {
2822
+ -webkit-animation-name: zoomInUp;
2823
+ animation-name: zoomInUp;
2824
+ }
2825
+
2826
+ @-webkit-keyframes zoomOut {
2827
+ from {
2828
+ opacity: 1;
2829
+ }
2830
+
2831
+ 50% {
2832
+ opacity: 0;
2833
+ -webkit-transform: scale3d(.3, .3, .3);
2834
+ transform: scale3d(.3, .3, .3);
2835
+ }
2836
+
2837
+ to {
2838
+ opacity: 0;
2839
+ }
2840
+ }
2841
+
2842
+ @keyframes zoomOut {
2843
+ from {
2844
+ opacity: 1;
2845
+ }
2846
+
2847
+ 50% {
2848
+ opacity: 0;
2849
+ -webkit-transform: scale3d(.3, .3, .3);
2850
+ transform: scale3d(.3, .3, .3);
2851
+ }
2852
+
2853
+ to {
2854
+ opacity: 0;
2855
+ }
2856
+ }
2857
+
2858
+ .zoomOut {
2859
+ -webkit-animation-name: zoomOut;
2860
+ animation-name: zoomOut;
2861
+ }
2862
+
2863
+ @-webkit-keyframes zoomOutDown {
2864
+ 40% {
2865
+ opacity: 1;
2866
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2867
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2868
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2869
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2870
+ }
2871
+
2872
+ to {
2873
+ opacity: 0;
2874
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
2875
+ transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
2876
+ -webkit-transform-origin: center bottom;
2877
+ transform-origin: center bottom;
2878
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2879
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2880
+ }
2881
+ }
2882
+
2883
+ @keyframes zoomOutDown {
2884
+ 40% {
2885
+ opacity: 1;
2886
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2887
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2888
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2889
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2890
+ }
2891
+
2892
+ to {
2893
+ opacity: 0;
2894
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
2895
+ transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
2896
+ -webkit-transform-origin: center bottom;
2897
+ transform-origin: center bottom;
2898
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2899
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2900
+ }
2901
+ }
2902
+
2903
+ .zoomOutDown {
2904
+ -webkit-animation-name: zoomOutDown;
2905
+ animation-name: zoomOutDown;
2906
+ }
2907
+
2908
+ @-webkit-keyframes zoomOutLeft {
2909
+ 40% {
2910
+ opacity: 1;
2911
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
2912
+ transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
2913
+ }
2914
+
2915
+ to {
2916
+ opacity: 0;
2917
+ -webkit-transform: scale(.1) translate3d(-2000px, 0, 0);
2918
+ transform: scale(.1) translate3d(-2000px, 0, 0);
2919
+ -webkit-transform-origin: left center;
2920
+ transform-origin: left center;
2921
+ }
2922
+ }
2923
+
2924
+ @keyframes zoomOutLeft {
2925
+ 40% {
2926
+ opacity: 1;
2927
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
2928
+ transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
2929
+ }
2930
+
2931
+ to {
2932
+ opacity: 0;
2933
+ -webkit-transform: scale(.1) translate3d(-2000px, 0, 0);
2934
+ transform: scale(.1) translate3d(-2000px, 0, 0);
2935
+ -webkit-transform-origin: left center;
2936
+ transform-origin: left center;
2937
+ }
2938
+ }
2939
+
2940
+ .zoomOutLeft {
2941
+ -webkit-animation-name: zoomOutLeft;
2942
+ animation-name: zoomOutLeft;
2943
+ }
2944
+
2945
+ @-webkit-keyframes zoomOutRight {
2946
+ 40% {
2947
+ opacity: 1;
2948
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
2949
+ transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
2950
+ }
2951
+
2952
+ to {
2953
+ opacity: 0;
2954
+ -webkit-transform: scale(.1) translate3d(2000px, 0, 0);
2955
+ transform: scale(.1) translate3d(2000px, 0, 0);
2956
+ -webkit-transform-origin: right center;
2957
+ transform-origin: right center;
2958
+ }
2959
+ }
2960
+
2961
+ @keyframes zoomOutRight {
2962
+ 40% {
2963
+ opacity: 1;
2964
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
2965
+ transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
2966
+ }
2967
+
2968
+ to {
2969
+ opacity: 0;
2970
+ -webkit-transform: scale(.1) translate3d(2000px, 0, 0);
2971
+ transform: scale(.1) translate3d(2000px, 0, 0);
2972
+ -webkit-transform-origin: right center;
2973
+ transform-origin: right center;
2974
+ }
2975
+ }
2976
+
2977
+ .zoomOutRight {
2978
+ -webkit-animation-name: zoomOutRight;
2979
+ animation-name: zoomOutRight;
2980
+ }
2981
+
2982
+ @-webkit-keyframes zoomOutUp {
2983
+ 40% {
2984
+ opacity: 1;
2985
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2986
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2987
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2988
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2989
+ }
2990
+
2991
+ to {
2992
+ opacity: 0;
2993
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
2994
+ transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
2995
+ -webkit-transform-origin: center bottom;
2996
+ transform-origin: center bottom;
2997
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2998
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2999
+ }
3000
+ }
3001
+
3002
+ @keyframes zoomOutUp {
3003
+ 40% {
3004
+ opacity: 1;
3005
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
3006
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
3007
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
3008
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
3009
+ }
3010
+
3011
+ to {
3012
+ opacity: 0;
3013
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
3014
+ transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
3015
+ -webkit-transform-origin: center bottom;
3016
+ transform-origin: center bottom;
3017
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
3018
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
3019
+ }
3020
+ }
3021
+
3022
+ .zoomOutUp {
3023
+ -webkit-animation-name: zoomOutUp;
3024
+ animation-name: zoomOutUp;
3025
+ }
3026
+
3027
+ @-webkit-keyframes slideInDown {
3028
+ from {
3029
+ -webkit-transform: translate3d(0, -100%, 0);
3030
+ transform: translate3d(0, -100%, 0);
3031
+ visibility: visible;
3032
+ }
3033
+
3034
+ to {
3035
+ -webkit-transform: translate3d(0, 0, 0);
3036
+ transform: translate3d(0, 0, 0);
3037
+ }
3038
+ }
3039
+
3040
+ @keyframes slideInDown {
3041
+ from {
3042
+ -webkit-transform: translate3d(0, -100%, 0);
3043
+ transform: translate3d(0, -100%, 0);
3044
+ visibility: visible;
3045
+ }
3046
+
3047
+ to {
3048
+ -webkit-transform: translate3d(0, 0, 0);
3049
+ transform: translate3d(0, 0, 0);
3050
+ }
3051
+ }
3052
+
3053
+ .slideInDown {
3054
+ -webkit-animation-name: slideInDown;
3055
+ animation-name: slideInDown;
3056
+ }
3057
+
3058
+ @-webkit-keyframes slideInLeft {
3059
+ from {
3060
+ -webkit-transform: translate3d(-100%, 0, 0);
3061
+ transform: translate3d(-100%, 0, 0);
3062
+ visibility: visible;
3063
+ }
3064
+
3065
+ to {
3066
+ -webkit-transform: translate3d(0, 0, 0);
3067
+ transform: translate3d(0, 0, 0);
3068
+ }
3069
+ }
3070
+
3071
+ @keyframes slideInLeft {
3072
+ from {
3073
+ -webkit-transform: translate3d(-100%, 0, 0);
3074
+ transform: translate3d(-100%, 0, 0);
3075
+ visibility: visible;
3076
+ }
3077
+
3078
+ to {
3079
+ -webkit-transform: translate3d(0, 0, 0);
3080
+ transform: translate3d(0, 0, 0);
3081
+ }
3082
+ }
3083
+
3084
+ .slideInLeft {
3085
+ -webkit-animation-name: slideInLeft;
3086
+ animation-name: slideInLeft;
3087
+ }
3088
+
3089
+ @-webkit-keyframes slideInRight {
3090
+ from {
3091
+ -webkit-transform: translate3d(100%, 0, 0);
3092
+ transform: translate3d(100%, 0, 0);
3093
+ visibility: visible;
3094
+ }
3095
+
3096
+ to {
3097
+ -webkit-transform: translate3d(0, 0, 0);
3098
+ transform: translate3d(0, 0, 0);
3099
+ }
3100
+ }
3101
+
3102
+ @keyframes slideInRight {
3103
+ from {
3104
+ -webkit-transform: translate3d(100%, 0, 0);
3105
+ transform: translate3d(100%, 0, 0);
3106
+ visibility: visible;
3107
+ }
3108
+
3109
+ to {
3110
+ -webkit-transform: translate3d(0, 0, 0);
3111
+ transform: translate3d(0, 0, 0);
3112
+ }
3113
+ }
3114
+
3115
+ .slideInRight {
3116
+ -webkit-animation-name: slideInRight;
3117
+ animation-name: slideInRight;
3118
+ }
3119
+
3120
+ @-webkit-keyframes slideInUp {
3121
+ from {
3122
+ -webkit-transform: translate3d(0, 100%, 0);
3123
+ transform: translate3d(0, 100%, 0);
3124
+ visibility: visible;
3125
+ }
3126
+
3127
+ to {
3128
+ -webkit-transform: translate3d(0, 0, 0);
3129
+ transform: translate3d(0, 0, 0);
3130
+ }
3131
+ }
3132
+
3133
+ @keyframes slideInUp {
3134
+ from {
3135
+ -webkit-transform: translate3d(0, 100%, 0);
3136
+ transform: translate3d(0, 100%, 0);
3137
+ visibility: visible;
3138
+ }
3139
+
3140
+ to {
3141
+ -webkit-transform: translate3d(0, 0, 0);
3142
+ transform: translate3d(0, 0, 0);
3143
+ }
3144
+ }
3145
+
3146
+ .slideInUp {
3147
+ -webkit-animation-name: slideInUp;
3148
+ animation-name: slideInUp;
3149
+ }
3150
+
3151
+ @-webkit-keyframes slideOutDown {
3152
+ from {
3153
+ -webkit-transform: translate3d(0, 0, 0);
3154
+ transform: translate3d(0, 0, 0);
3155
+ }
3156
+
3157
+ to {
3158
+ visibility: hidden;
3159
+ -webkit-transform: translate3d(0, 100%, 0);
3160
+ transform: translate3d(0, 100%, 0);
3161
+ }
3162
+ }
3163
+
3164
+ @keyframes slideOutDown {
3165
+ from {
3166
+ -webkit-transform: translate3d(0, 0, 0);
3167
+ transform: translate3d(0, 0, 0);
3168
+ }
3169
+
3170
+ to {
3171
+ visibility: hidden;
3172
+ -webkit-transform: translate3d(0, 100%, 0);
3173
+ transform: translate3d(0, 100%, 0);
3174
+ }
3175
+ }
3176
+
3177
+ .slideOutDown {
3178
+ -webkit-animation-name: slideOutDown;
3179
+ animation-name: slideOutDown;
3180
+ }
3181
+
3182
+ @-webkit-keyframes slideOutLeft {
3183
+ from {
3184
+ -webkit-transform: translate3d(0, 0, 0);
3185
+ transform: translate3d(0, 0, 0);
3186
+ }
3187
+
3188
+ to {
3189
+ visibility: hidden;
3190
+ -webkit-transform: translate3d(-100%, 0, 0);
3191
+ transform: translate3d(-100%, 0, 0);
3192
+ }
3193
+ }
3194
+
3195
+ @keyframes slideOutLeft {
3196
+ from {
3197
+ -webkit-transform: translate3d(0, 0, 0);
3198
+ transform: translate3d(0, 0, 0);
3199
+ }
3200
+
3201
+ to {
3202
+ visibility: hidden;
3203
+ -webkit-transform: translate3d(-100%, 0, 0);
3204
+ transform: translate3d(-100%, 0, 0);
3205
+ }
3206
+ }
3207
+
3208
+ .slideOutLeft {
3209
+ -webkit-animation-name: slideOutLeft;
3210
+ animation-name: slideOutLeft;
3211
+ }
3212
+
3213
+ @-webkit-keyframes slideOutRight {
3214
+ from {
3215
+ -webkit-transform: translate3d(0, 0, 0);
3216
+ transform: translate3d(0, 0, 0);
3217
+ }
3218
+
3219
+ to {
3220
+ visibility: hidden;
3221
+ -webkit-transform: translate3d(100%, 0, 0);
3222
+ transform: translate3d(100%, 0, 0);
3223
+ }
3224
+ }
3225
+
3226
+ @keyframes slideOutRight {
3227
+ from {
3228
+ -webkit-transform: translate3d(0, 0, 0);
3229
+ transform: translate3d(0, 0, 0);
3230
+ }
3231
+
3232
+ to {
3233
+ visibility: hidden;
3234
+ -webkit-transform: translate3d(100%, 0, 0);
3235
+ transform: translate3d(100%, 0, 0);
3236
+ }
3237
+ }
3238
+
3239
+ .slideOutRight {
3240
+ -webkit-animation-name: slideOutRight;
3241
+ animation-name: slideOutRight;
3242
+ }
3243
+
3244
+ @-webkit-keyframes slideOutUp {
3245
+ from {
3246
+ -webkit-transform: translate3d(0, 0, 0);
3247
+ transform: translate3d(0, 0, 0);
3248
+ }
3249
+
3250
+ to {
3251
+ visibility: hidden;
3252
+ -webkit-transform: translate3d(0, -100%, 0);
3253
+ transform: translate3d(0, -100%, 0);
3254
+ }
3255
+ }
3256
+
3257
+ @keyframes slideOutUp {
3258
+ from {
3259
+ -webkit-transform: translate3d(0, 0, 0);
3260
+ transform: translate3d(0, 0, 0);
3261
+ }
3262
+
3263
+ to {
3264
+ visibility: hidden;
3265
+ -webkit-transform: translate3d(0, -100%, 0);
3266
+ transform: translate3d(0, -100%, 0);
3267
+ }
3268
+ }
3269
+
3270
+ .slideOutUp {
3271
+ -webkit-animation-name: slideOutUp;
3272
+ animation-name: slideOutUp;
3273
+ }
assets/css/woolentor-widgets.css CHANGED
@@ -2220,6 +2220,9 @@ span.wlvideo-button {
2220
  }
2221
 
2222
  /* Sale Notification */
 
 
 
2223
  .woolentor-notification-content {
2224
  position: fixed;
2225
  bottom: 10px;
@@ -4156,6 +4159,7 @@ h2.wl_filter_title {
4156
  .wl_single-product-item.wl_left-item .product-thumbnail .images {
4157
  height: 100%;
4158
  width: 100%;
 
4159
  -webkit-box-shadow: 0 0px 6px rgba(112, 112, 112, 0.2);
4160
  box-shadow: 0 0px 6px rgba(112, 112, 112, 0.2);
4161
  border-radius: 50%;
2220
  }
2221
 
2222
  /* Sale Notification */
2223
+ .notifake{
2224
+ max-width: 550px;
2225
+ }
2226
  .woolentor-notification-content {
2227
  position: fixed;
2228
  bottom: 10px;
4159
  .wl_single-product-item.wl_left-item .product-thumbnail .images {
4160
  height: 100%;
4161
  width: 100%;
4162
+ line-height: initial;
4163
  -webkit-box-shadow: 0 0px 6px rgba(112, 112, 112, 0.2);
4164
  box-shadow: 0 0px 6px rgba(112, 112, 112, 0.2);
4165
  border-radius: 50%;
classes/class.assest_management.php CHANGED
@@ -87,6 +87,10 @@ class Assets_Management{
87
  'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/select2.min.css',
88
  'version' => WOOLENTOR_VERSION
89
  ],
 
 
 
 
90
  'woolentor-widgets' => [
91
  'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/woolentor-widgets.css',
92
  'version' => WOOLENTOR_VERSION
87
  'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/select2.min.css',
88
  'version' => WOOLENTOR_VERSION
89
  ],
90
+ 'woolentor-animate' => [
91
+ 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/animate.css',
92
+ 'version' => WOOLENTOR_VERSION
93
+ ],
94
  'woolentor-widgets' => [
95
  'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/woolentor-widgets.css',
96
  'version' => WOOLENTOR_VERSION
includes/admin/include/admin-setting.php CHANGED
@@ -178,7 +178,7 @@ class Woolentor_Admin_Settings {
178
  'type' => 'select',
179
  'default' => '0',
180
  'options' => array(
181
- 'select'=>'Select a template for the cart page layout',
182
  ),
183
  'class'=>'proelement depend_enable_custom_layout',
184
  ),
@@ -190,7 +190,7 @@ class Woolentor_Admin_Settings {
190
  'type' => 'select',
191
  'default' => '0',
192
  'options' => array(
193
- 'select'=>'Select a template for the Checkout page layout',
194
  ),
195
  'class'=>'proelement depend_enable_custom_layout',
196
  ),
@@ -202,7 +202,7 @@ class Woolentor_Admin_Settings {
202
  'type' => 'select',
203
  'default' => '0',
204
  'options' => array(
205
- 'select'=>'Select a template for the Thank you page layout',
206
  ),
207
  'class'=>'proelement depend_enable_custom_layout',
208
  ),
@@ -214,7 +214,7 @@ class Woolentor_Admin_Settings {
214
  'type' => 'select',
215
  'default' => '0',
216
  'options' => array(
217
- 'select'=>'Select Template',
218
  ),
219
  'class'=>'proelement depend_enable_custom_layout',
220
  ),
@@ -226,7 +226,7 @@ class Woolentor_Admin_Settings {
226
  'type' => 'select',
227
  'default' => '0',
228
  'options' => array(
229
- 'select'=>'Select Template',
230
  ),
231
  'class'=>'proelement depend_enable_custom_layout',
232
  ),
@@ -238,7 +238,7 @@ class Woolentor_Admin_Settings {
238
  'type' => 'select',
239
  'default' => '0',
240
  'options' => array(
241
- 'select'=>'Select Template',
242
  ),
243
  'class'=>'proelement depend_enable_custom_layout',
244
  ),
@@ -885,154 +885,46 @@ class Woolentor_Admin_Settings {
885
  ),
886
 
887
  array(
888
- 'name' => 'wl_description_tab_menu_titlep',
889
  'label' => __( 'Description', 'woolentor' ),
890
- 'desc' => __( 'Change the tab title for the product description. <span>( Pro )</span>', 'woolentor' ),
891
  'type' => 'text',
892
  'placeholder' => __( 'Description', 'woolentor' ),
893
- 'class' => 'proelement depend_enable_rename_label',
894
  ),
895
 
896
  array(
897
- 'name' => 'wl_additional_information_tab_menu_titlep',
898
  'label' => __( 'Additional Information', 'woolentor' ),
899
- 'desc' => __( 'Change the tab title for the product additional information <span>( Pro )</span>', 'woolentor' ),
900
  'type' => 'text',
901
  'placeholder' => __( 'Additional information', 'woolentor' ),
902
- 'class' => 'proelement depend_enable_rename_label',
903
  ),
904
 
905
  array(
906
- 'name' => 'wl_reviews_tab_menu_titlep',
907
  'label' => __( 'Reviews', 'woolentor' ),
908
- 'desc' => __( 'Change the tab title for the product review <span>( Pro )</span>', 'woolentor' ),
909
  'type' => 'text',
910
  'placeholder' => __( 'Reviews', 'woolentor' ),
911
- 'class' =>'proelement depend_enable_rename_label',
912
  ),
913
 
914
  array(
915
- 'name' => 'checkout_page_headingp',
916
  'headding' => __( 'Checkout Page', 'woolentor' ),
917
  'type' => 'title',
918
  'class' => 'depend_enable_rename_label',
919
  ),
920
 
921
  array(
922
- 'name' => 'wl_checkout_firstname_labelp',
923
- 'label' => __( 'First name', 'woolentor' ),
924
- 'desc' => __( 'Change the label for the First name field <span>( Pro )</span>', 'woolentor' ),
925
- 'type' => 'text',
926
- 'placeholder' => __( 'First name', 'woolentor' ),
927
- 'class' => 'proelement depend_enable_rename_label',
928
- ),
929
-
930
- array(
931
- 'name' => 'wl_checkout_lastname_labelp',
932
- 'label' => __( 'Last name', 'woolentor' ),
933
- 'desc' => __( 'Change the label for the Last name field <span>( Pro )</span>', 'woolentor' ),
934
- 'type' => 'text',
935
- 'placeholder' => __( 'Last name', 'woolentor' ),
936
- 'class' => 'proelement depend_enable_rename_label',
937
- ),
938
-
939
- array(
940
- 'name' => 'wl_checkout_company_labelp',
941
- 'label' => __( 'Company name', 'woolentor' ),
942
- 'desc' => __( 'Change the label for the Company field. <span>( Pro )</span>', 'woolentor' ),
943
- 'type' => 'text',
944
- 'placeholder' => __( 'Company name', 'woolentor' ),
945
- 'class' => 'proelement depend_enable_rename_label',
946
- ),
947
-
948
- array(
949
- 'name' => 'wl_checkout_address_1_labelp',
950
- 'label' => __( 'Street address', 'woolentor' ),
951
- 'desc' => __( 'Change the label for the Street address field. <span>( Pro )</span>', 'woolentor' ),
952
- 'type' => 'text',
953
- 'placeholder' => __( 'Street address', 'woolentor' ),
954
- 'class' => 'proelement depend_enable_rename_label',
955
- ),
956
-
957
- array(
958
- 'name' => 'wl_checkout_address_2_labelp',
959
- 'label' => __( 'Address Optional', 'woolentor' ),
960
- 'desc' => __( 'Change the label for the Optional address field. <span>( Pro )</span>', 'woolentor' ),
961
- 'type' => 'text',
962
- 'placeholder' => __( 'Address Optional', 'woolentor' ),
963
- 'class' => 'proelement depend_enable_rename_label',
964
- ),
965
-
966
- array(
967
- 'name' => 'wl_checkout_city_labelp',
968
- 'label' => __( 'Town / City', 'woolentor' ),
969
- 'desc' => __( 'Change the label for the Town/City field. <span>( Pro )</span>', 'woolentor' ),
970
- 'type' => 'text',
971
- 'placeholder' => __( 'Town / City', 'woolentor' ),
972
- 'class' => 'proelement depend_enable_rename_label',
973
- ),
974
-
975
- array(
976
- 'name' => 'wl_checkout_postcode_labelp',
977
- 'label' => __( 'Postcode / ZIP', 'woolentor' ),
978
- 'desc' => __( 'Change the label for the Postcode / ZIP field. <span>( Pro )</span>', 'woolentor' ),
979
- 'type' => 'text',
980
- 'placeholder' => __( 'Postcode / ZIP', 'woolentor' ),
981
- 'class' => 'proelement depend_enable_rename_label',
982
- ),
983
-
984
- array(
985
- 'name' => 'wl_checkout_state_labelp',
986
- 'label' => __( 'State', 'woolentor' ),
987
- 'desc' => __( 'Change the label for the State field. <span>( Pro )</span>', 'woolentor' ),
988
- 'type' => 'text',
989
- 'placeholder' => __( 'State', 'woolentor' ),
990
- 'class' => 'proelement depend_enable_rename_label',
991
- ),
992
-
993
- array(
994
- 'name' => 'wl_checkout_phone_labelp',
995
- 'label' => __( 'Phone', 'woolentor' ),
996
- 'desc' => __( 'Change the label for the Phone field. <span>( Pro )</span>', 'woolentor' ),
997
- 'type' => 'text',
998
- 'placeholder' => __( 'Phone', 'woolentor' ),
999
- 'class' => 'proelement depend_enable_rename_label',
1000
- ),
1001
-
1002
- array(
1003
- 'name' => 'wl_checkout_email_labelp',
1004
- 'label' => __( 'Email address', 'woolentor' ),
1005
- 'desc' => __( 'Change the label for the Email address field. <span>( Pro )</span>', 'woolentor' ),
1006
- 'type' => 'text',
1007
- 'placeholder' => __( 'Email address', 'woolentor' ),
1008
- 'class' => 'proelement depend_enable_rename_label',
1009
- ),
1010
-
1011
- array(
1012
- 'name' => 'wl_checkout_country_labelp',
1013
- 'label' => __( 'Country', 'woolentor' ),
1014
- 'desc' => __( 'Change the label for the Country field. <span>( Pro )</span>', 'woolentor' ),
1015
- 'type' => 'text',
1016
- 'placeholder' => __( 'Country', 'woolentor' ),
1017
- 'class' => 'proelement depend_enable_rename_label',
1018
- ),
1019
-
1020
- array(
1021
- 'name' => 'wl_checkout_ordernote_labelp',
1022
- 'label' => __( 'Order Note', 'woolentor' ),
1023
- 'desc' => __( 'Change the label for the Order notes field. <span>( Pro )</span>', 'woolentor' ),
1024
- 'type' => 'text',
1025
- 'placeholder' => __( 'Order notes', 'woolentor' ),
1026
- 'class' => 'proelement depend_enable_rename_label',
1027
- ),
1028
-
1029
- array(
1030
- 'name' => 'wl_checkout_placeorder_btn_txtp',
1031
  'label' => __( 'Place order', 'woolentor' ),
1032
- 'desc' => __( 'Change the label for the Place order field. <span>( Pro )</span>', 'woolentor' ),
1033
  'type' => 'text',
1034
  'placeholder' => __( 'Place order', 'woolentor' ),
1035
- 'class' => 'proelement depend_enable_rename_label',
1036
  ),
1037
 
1038
  ),
@@ -1049,40 +941,52 @@ class Woolentor_Admin_Settings {
1049
  ),
1050
 
1051
  array(
1052
- 'name' => 'notification_content_typep',
1053
  'label' => __( 'Notification Content Type', 'woolentor' ),
1054
- 'desc' => __( 'Select Content Type <span>( Pro )</span>', 'woolentor' ),
1055
  'type' => 'radio',
1056
  'default' => 'actual',
1057
  'options' => array(
1058
  'actual' => __('Real','woolentor'),
1059
  'fakes' => __('Manual','woolentor'),
1060
- ),
1061
- 'class'=>'proelement',
 
 
 
 
 
 
 
 
 
1062
  ),
1063
 
1064
  array(
1065
- 'name' => 'notification_posp',
1066
  'label' => __( 'Position', 'woolentor' ),
1067
- 'desc' => __( 'Set the position of the Sales Notification.( Top Left, Top Right, Bottom Right option are pro features ) <span>( Pro )</span>', 'woolentor' ),
1068
  'type' => 'select',
1069
  'default' => 'bottomleft',
1070
  'options' => array(
1071
- 'bottomleft' =>__( 'Bottom Left','woolentor' ),
1072
- ),
1073
- 'class'=>'proelement',
 
 
1074
  ),
1075
 
1076
  array(
1077
- 'name' => 'notification_layoutp',
1078
- 'label' => __( 'Image Position', 'woolentor' ),
1079
- 'desc' => __( 'Set the image position of the notification. <span>( Pro )</span>', 'woolentor' ),
1080
  'type' => 'select',
1081
  'default' => 'imageleft',
1082
  'options' => array(
1083
- 'imageleft' =>__( 'Image Left','woolentor' ),
 
1084
  ),
1085
- 'class' => 'notification_real proelement'
1086
  ),
1087
 
1088
  array(
@@ -1112,21 +1016,34 @@ class Woolentor_Admin_Settings {
1112
  ),
1113
 
1114
  array(
1115
- 'name' => 'notification_time_showingp',
1116
  'label' => esc_html__( 'Notification showing time', 'woolentor' ),
1117
- 'desc' => __( 'How long to keep the notification. <span>( Pro )</span>', 'woolentor' ),
1118
  'type' => 'select',
1119
- 'default' => '5',
1120
  'options' => array(
 
 
1121
  '5' =>esc_html__( '5 seconds','woolentor' ),
 
 
 
 
 
 
 
 
 
 
 
 
1122
  ),
1123
- 'class' => 'proelement',
1124
  ),
1125
 
1126
  array(
1127
- 'name' => 'notification_time_intp',
1128
  'label' => __( 'Time Interval', 'woolentor' ),
1129
- 'desc' => __( 'Set the interval time between notifications. <span>( Pro )</span>', 'woolentor' ),
1130
  'type' => 'select',
1131
  'default' => '4',
1132
  'options' => array(
@@ -1146,7 +1063,6 @@ class Woolentor_Admin_Settings {
1146
  '90' =>__( '1.5 minutes','woolentor' ),
1147
  '120' =>__( '2 minutes','woolentor' ),
1148
  ),
1149
- 'class' => 'proelement',
1150
  ),
1151
 
1152
  array(
@@ -1163,71 +1079,169 @@ class Woolentor_Admin_Settings {
1163
  ),
1164
 
1165
  array(
1166
- 'name' => 'notification_uptodatep',
1167
- 'label' => __( 'Order Upto', 'woolentor' ),
1168
- 'desc' => __( 'Do not show purchases older than.( More Options are available in the Pro version ) <span>( Pro )</span>', 'woolentor' ),
1169
  'type' => 'select',
1170
  'default' => '7',
1171
  'options' => array(
1172
- '7' =>__( '1 week','woolentor' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1173
  ),
1174
  'class' => 'notification_real',
1175
  ),
1176
 
1177
  array(
1178
- 'name' => 'notification_inanimationp',
1179
- 'label' => __( 'Animation In', 'woolentor' ),
1180
- 'desc' => __( 'Choose entrance animation. <span>( Pro )</span>', 'woolentor' ),
1181
  'type' => 'select',
1182
  'default' => 'fadeInLeft',
1183
  'options' => array(
1184
- 'fadeInLeft' =>__( 'fadeInLeft','woolentor' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1185
  ),
1186
- 'class' => 'proelement',
1187
  ),
1188
 
1189
  array(
1190
- 'name' => 'notification_outanimationp',
1191
- 'label' => __( 'Animation Out', 'woolentor' ),
1192
- 'desc' => __( 'Choose exit animation. <span>( Pro )</span>', 'woolentor' ),
1193
  'type' => 'select',
1194
  'default' => 'fadeOutRight',
1195
  'options' => array(
1196
- 'fadeOutRight' =>__( 'fadeOutRight','woolentor' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1197
  ),
1198
- 'class' => 'proelement',
1199
  ),
1200
 
1201
  array(
1202
- 'name' => 'background_colorp',
1203
- 'label' => __( 'Background Color', 'woolentor' ),
1204
- 'desc' => __( 'Set the background color of the notification. <span>( Pro )</span>', 'woolentor' ),
1205
- 'type' => 'color',
1206
- 'class' => 'notification_real proelement',
1207
  ),
1208
 
1209
  array(
1210
- 'name' => 'heading_colorp',
1211
- 'label' => __( 'Heading Color', 'woolentor' ),
1212
- 'desc' => __( 'Set the heading color of the notification. <span>( Pro )</span>', 'woolentor' ),
1213
- 'type' => 'color',
1214
- 'class' => 'notification_real proelement',
1215
  ),
1216
 
1217
  array(
1218
- 'name' => 'content_colorp',
1219
- 'label' => __( 'Content Color', 'woolentor' ),
1220
- 'desc' => __( 'Set the content color of the notification. <span>( Pro )</span>', 'woolentor' ),
1221
- 'type' => 'color',
1222
- 'class' => 'notification_real proelement',
1223
  ),
1224
 
1225
  array(
1226
- 'name' => 'cross_colorp',
1227
- 'label' => __( 'Cross Icon Color', 'woolentor' ),
1228
- 'desc' => __( 'Set the cross icon color of the notification. <span>( Pro )</span>', 'woolentor' ),
1229
- 'type' => 'color',
1230
- 'class' => 'proelement',
1231
  ),
1232
 
1233
  ),
@@ -1710,7 +1724,7 @@ class Woolentor_Admin_Settings {
1710
  </a>
1711
  </div>
1712
  <div class="woolentor-column">
1713
- <a href="https://demo.hasthemes.com/doc/woolentor/index.html" target="_blank">
1714
  <img src="<?php echo WOOLENTOR_ADDONS_PL_URL; ?>includes/admin/assets/images/online-documentation.jpg" alt="<?php esc_attr_e( 'Online Documentation', 'woolentor' ); ?>">
1715
  </a>
1716
  </div>
178
  'type' => 'select',
179
  'default' => '0',
180
  'options' => array(
181
+ 'select' => __('Select a template for the cart page layout','woolentor'),
182
  ),
183
  'class'=>'proelement depend_enable_custom_layout',
184
  ),
190
  'type' => 'select',
191
  'default' => '0',
192
  'options' => array(
193
+ 'select' => __('Select a template for the Checkout page layout','woolentor'),
194
  ),
195
  'class'=>'proelement depend_enable_custom_layout',
196
  ),
202
  'type' => 'select',
203
  'default' => '0',
204
  'options' => array(
205
+ 'select' => __('Select a template for the Thank you page layout','woolentor'),
206
  ),
207
  'class'=>'proelement depend_enable_custom_layout',
208
  ),
214
  'type' => 'select',
215
  'default' => '0',
216
  'options' => array(
217
+ 'select' => __('Select a template for the My account page layout','woolentor'),
218
  ),
219
  'class'=>'proelement depend_enable_custom_layout',
220
  ),
226
  'type' => 'select',
227
  'default' => '0',
228
  'options' => array(
229
+ 'select' => __('Select a template for the My account login page layout','woolentor'),
230
  ),
231
  'class'=>'proelement depend_enable_custom_layout',
232
  ),
238
  'type' => 'select',
239
  'default' => '0',
240
  'options' => array(
241
+ 'select' => __('Select a template for the Quick view layout','woolentor'),
242
  ),
243
  'class'=>'proelement depend_enable_custom_layout',
244
  ),
885
  ),
886
 
887
  array(
888
+ 'name' => 'wl_description_tab_menu_title',
889
  'label' => __( 'Description', 'woolentor' ),
890
+ 'desc' => __( 'Change the tab title for the product description.', 'woolentor' ),
891
  'type' => 'text',
892
  'placeholder' => __( 'Description', 'woolentor' ),
893
+ 'class' => 'depend_enable_rename_label',
894
  ),
895
 
896
  array(
897
+ 'name' => 'wl_additional_information_tab_menu_title',
898
  'label' => __( 'Additional Information', 'woolentor' ),
899
+ 'desc' => __( 'Change the tab title for the product additional information', 'woolentor' ),
900
  'type' => 'text',
901
  'placeholder' => __( 'Additional information', 'woolentor' ),
902
+ 'class' => 'depend_enable_rename_label',
903
  ),
904
 
905
  array(
906
+ 'name' => 'wl_reviews_tab_menu_title',
907
  'label' => __( 'Reviews', 'woolentor' ),
908
+ 'desc' => __( 'Change the tab title for the product review', 'woolentor' ),
909
  'type' => 'text',
910
  'placeholder' => __( 'Reviews', 'woolentor' ),
911
+ 'class' =>'depend_enable_rename_label',
912
  ),
913
 
914
  array(
915
+ 'name' => 'checkout_page_heading',
916
  'headding' => __( 'Checkout Page', 'woolentor' ),
917
  'type' => 'title',
918
  'class' => 'depend_enable_rename_label',
919
  ),
920
 
921
  array(
922
+ 'name' => 'wl_checkout_placeorder_btn_txt',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
923
  'label' => __( 'Place order', 'woolentor' ),
924
+ 'desc' => __( 'Change the label for the Place order field.', 'woolentor' ),
925
  'type' => 'text',
926
  'placeholder' => __( 'Place order', 'woolentor' ),
927
+ 'class' => 'depend_enable_rename_label',
928
  ),
929
 
930
  ),
941
  ),
942
 
943
  array(
944
+ 'name' => 'notification_content_type',
945
  'label' => __( 'Notification Content Type', 'woolentor' ),
946
+ 'desc' => __( 'Select Content Type', 'woolentor' ),
947
  'type' => 'radio',
948
  'default' => 'actual',
949
  'options' => array(
950
  'actual' => __('Real','woolentor'),
951
  'fakes' => __('Manual','woolentor'),
952
+ )
953
+ ),
954
+
955
+ array(
956
+ 'name' => 'noification_fake_data',
957
+ 'label' => esc_html__( 'Choose Template', 'woolentor' ),
958
+ 'desc' => esc_html__( 'Choose Template for fakes notification.', 'woolentor' ),
959
+ 'type' => 'multiselect',
960
+ 'default' => '',
961
+ 'options' => woolentor_elementor_template(),
962
+ 'class' => 'notification_fake',
963
  ),
964
 
965
  array(
966
+ 'name' => 'notification_pos',
967
  'label' => __( 'Position', 'woolentor' ),
968
+ 'desc' => __( 'Set the position of the Sales Notification Position on frontend.', 'woolentor' ),
969
  'type' => 'select',
970
  'default' => 'bottomleft',
971
  'options' => array(
972
+ 'topleft' => esc_html__( 'Top Left','woolentor' ),
973
+ 'topright' => esc_html__( 'Top Right','woolentor' ),
974
+ 'bottomleft' => esc_html__( 'Bottom Left','woolentor' ),
975
+ 'bottomright' => esc_html__( 'Bottom Right','woolentor' ),
976
+ )
977
  ),
978
 
979
  array(
980
+ 'name' => 'notification_layout',
981
+ 'label' => esc_html__( 'Image Position', 'woolentor' ),
982
+ 'desc' => esc_html__( 'Set the image position of the notification.', 'woolentor' ),
983
  'type' => 'select',
984
  'default' => 'imageleft',
985
  'options' => array(
986
+ 'imageleft' => esc_html__( 'Image Left','woolentor' ),
987
+ 'imageright' => esc_html__( 'Image Right','woolentor' ),
988
  ),
989
+ 'class' => 'notification_real'
990
  ),
991
 
992
  array(
1016
  ),
1017
 
1018
  array(
1019
+ 'name' => 'notification_time_showing',
1020
  'label' => esc_html__( 'Notification showing time', 'woolentor' ),
1021
+ 'desc' => esc_html__( 'How long to keep the notification.', 'woolentor' ),
1022
  'type' => 'select',
1023
+ 'default' => '4',
1024
  'options' => array(
1025
+ '2' =>esc_html__( '2 seconds','woolentor' ),
1026
+ '4' =>esc_html__( '4 seconds','woolentor' ),
1027
  '5' =>esc_html__( '5 seconds','woolentor' ),
1028
+ '6' =>esc_html__( '6 seconds','woolentor' ),
1029
+ '7' =>esc_html__( '7 seconds','woolentor' ),
1030
+ '8' =>esc_html__( '8 seconds','woolentor' ),
1031
+ '9' =>esc_html__( '9 seconds','woolentor' ),
1032
+ '10' =>esc_html__( '10 seconds','woolentor' ),
1033
+ '20' =>esc_html__( '20 seconds','woolentor' ),
1034
+ '30' =>esc_html__( '30 seconds','woolentor' ),
1035
+ '40' =>esc_html__( '40 seconds','woolentor' ),
1036
+ '50' =>esc_html__( '50 seconds','woolentor' ),
1037
+ '60' =>esc_html__( '1 minute','woolentor' ),
1038
+ '90' =>esc_html__( '1.5 minutes','woolentor' ),
1039
+ '120' =>esc_html__( '2 minutes','woolentor' ),
1040
  ),
 
1041
  ),
1042
 
1043
  array(
1044
+ 'name' => 'notification_time_int',
1045
  'label' => __( 'Time Interval', 'woolentor' ),
1046
+ 'desc' => __( 'Set the interval time between notifications.', 'woolentor' ),
1047
  'type' => 'select',
1048
  'default' => '4',
1049
  'options' => array(
1063
  '90' =>__( '1.5 minutes','woolentor' ),
1064
  '120' =>__( '2 minutes','woolentor' ),
1065
  ),
 
1066
  ),
1067
 
1068
  array(
1079
  ),
1080
 
1081
  array(
1082
+ 'name' => 'notification_uptodate',
1083
+ 'label' => esc_html__( 'Order Upto', 'woolentor' ),
1084
+ 'desc' => esc_html__( 'Do not show purchases older than.', 'woolentor' ),
1085
  'type' => 'select',
1086
  'default' => '7',
1087
  'options' => array(
1088
+ '1' => esc_html__( '1 day','woolentor' ),
1089
+ '2' => esc_html__( '2 days','woolentor' ),
1090
+ '3' => esc_html__( '3 days','woolentor' ),
1091
+ '4' => esc_html__( '4 days','woolentor' ),
1092
+ '5' => esc_html__( '5 days','woolentor' ),
1093
+ '6' => esc_html__( '6 days','woolentor' ),
1094
+ '7' => esc_html__( '1 week','woolentor' ),
1095
+ '10' => esc_html__( '10 days','woolentor' ),
1096
+ '14' => esc_html__( '2 weeks','woolentor' ),
1097
+ '21' => esc_html__( '3 weeks','woolentor' ),
1098
+ '28' => esc_html__( '4 weeks','woolentor' ),
1099
+ '35' => esc_html__( '5 weeks','woolentor' ),
1100
+ '42' => esc_html__( '6 weeks','woolentor' ),
1101
+ '49' => esc_html__( '7 weeks','woolentor' ),
1102
+ '56' => esc_html__( '8 weeks','woolentor' ),
1103
  ),
1104
  'class' => 'notification_real',
1105
  ),
1106
 
1107
  array(
1108
+ 'name' => 'notification_inanimation',
1109
+ 'label' => esc_html__( 'Animation In', 'woolentor' ),
1110
+ 'desc' => esc_html__( 'Choose entrance animation.', 'woolentor' ),
1111
  'type' => 'select',
1112
  'default' => 'fadeInLeft',
1113
  'options' => array(
1114
+ 'bounce' => esc_html__( 'bounce','woolentor' ),
1115
+ 'flash' => esc_html__( 'flash','woolentor' ),
1116
+ 'pulse' => esc_html__( 'pulse','woolentor' ),
1117
+ 'rubberBand' => esc_html__( 'rubberBand','woolentor' ),
1118
+ 'shake' => esc_html__( 'shake','woolentor' ),
1119
+ 'swing' => esc_html__( 'swing','woolentor' ),
1120
+ 'tada' => esc_html__( 'tada','woolentor' ),
1121
+ 'wobble' => esc_html__( 'wobble','woolentor' ),
1122
+ 'jello' => esc_html__( 'jello','woolentor' ),
1123
+ 'heartBeat' => esc_html__( 'heartBeat','woolentor' ),
1124
+ 'bounceIn' => esc_html__( 'bounceIn','woolentor' ),
1125
+ 'bounceInDown' => esc_html__( 'bounceInDown','woolentor' ),
1126
+ 'bounceInLeft' => esc_html__( 'bounceInLeft','woolentor' ),
1127
+ 'bounceInRight' => esc_html__( 'bounceInRight','woolentor' ),
1128
+ 'bounceInUp' => esc_html__( 'bounceInUp','woolentor' ),
1129
+ 'fadeIn' => esc_html__( 'fadeIn','woolentor' ),
1130
+ 'fadeInDown' => esc_html__( 'fadeInDown','woolentor' ),
1131
+ 'fadeInDownBig' => esc_html__( 'fadeInDownBig','woolentor' ),
1132
+ 'fadeInLeft' => esc_html__( 'fadeInLeft','woolentor' ),
1133
+ 'fadeInLeftBig' => esc_html__( 'fadeInLeftBig','woolentor' ),
1134
+ 'fadeInRight' => esc_html__( 'fadeInRight','woolentor' ),
1135
+ 'fadeInRightBig' => esc_html__( 'fadeInRightBig','woolentor' ),
1136
+ 'fadeInUp' => esc_html__( 'fadeInUp','woolentor' ),
1137
+ 'fadeInUpBig' => esc_html__( 'fadeInUpBig','woolentor' ),
1138
+ 'flip' => esc_html__( 'flip','woolentor' ),
1139
+ 'flipInX' => esc_html__( 'flipInX','woolentor' ),
1140
+ 'flipInY' => esc_html__( 'flipInY','woolentor' ),
1141
+ 'lightSpeedIn' => esc_html__( 'lightSpeedIn','woolentor' ),
1142
+ 'rotateIn' => esc_html__( 'rotateIn','woolentor' ),
1143
+ 'rotateInDownLeft' => esc_html__( 'rotateInDownLeft','woolentor' ),
1144
+ 'rotateInDownRight' => esc_html__( 'rotateInDownRight','woolentor' ),
1145
+ 'rotateInUpLeft' => esc_html__( 'rotateInUpLeft','woolentor' ),
1146
+ 'rotateInUpRight' => esc_html__( 'rotateInUpRight','woolentor' ),
1147
+ 'slideInUp' => esc_html__( 'slideInUp','woolentor' ),
1148
+ 'slideInDown' => esc_html__( 'slideInDown','woolentor' ),
1149
+ 'slideInLeft' => esc_html__( 'slideInLeft','woolentor' ),
1150
+ 'slideInRight' => esc_html__( 'slideInRight','woolentor' ),
1151
+ 'zoomIn' => esc_html__( 'zoomIn','woolentor' ),
1152
+ 'zoomInDown' => esc_html__( 'zoomInDown','woolentor' ),
1153
+ 'zoomInLeft' => esc_html__( 'zoomInLeft','woolentor' ),
1154
+ 'zoomInRight' => esc_html__( 'zoomInRight','woolentor' ),
1155
+ 'zoomInUp' => esc_html__( 'zoomInUp','woolentor' ),
1156
+ 'hinge' => esc_html__( 'hinge','woolentor' ),
1157
+ 'jackInTheBox' => esc_html__( 'jackInTheBox','woolentor' ),
1158
+ 'rollIn' => esc_html__( 'rollIn','woolentor' ),
1159
+ 'rollOut' => esc_html__( 'rollOut','woolentor' ),
1160
  ),
 
1161
  ),
1162
 
1163
  array(
1164
+ 'name' => 'notification_outanimation',
1165
+ 'label' => esc_html__( 'Animation Out', 'woolentor' ),
1166
+ 'desc' => esc_html__( 'Choose exit animation.', 'woolentor' ),
1167
  'type' => 'select',
1168
  'default' => 'fadeOutRight',
1169
  'options' => array(
1170
+ 'bounce' => esc_html__( 'bounce','woolentor' ),
1171
+ 'flash' => esc_html__( 'flash','woolentor' ),
1172
+ 'pulse' => esc_html__( 'pulse','woolentor' ),
1173
+ 'rubberBand' => esc_html__( 'rubberBand','woolentor' ),
1174
+ 'shake' => esc_html__( 'shake','woolentor' ),
1175
+ 'swing' => esc_html__( 'swing','woolentor' ),
1176
+ 'tada' => esc_html__( 'tada','woolentor' ),
1177
+ 'wobble' => esc_html__( 'wobble','woolentor' ),
1178
+ 'jello' => esc_html__( 'jello','woolentor' ),
1179
+ 'heartBeat' => esc_html__( 'heartBeat','woolentor' ),
1180
+ 'bounceOut' => esc_html__( 'bounceOut','woolentor' ),
1181
+ 'bounceOutDown' => esc_html__( 'bounceOutDown','woolentor' ),
1182
+ 'bounceOutLeft' => esc_html__( 'bounceOutLeft','woolentor' ),
1183
+ 'bounceOutRight' => esc_html__( 'bounceOutRight','woolentor' ),
1184
+ 'bounceOutUp' => esc_html__( 'bounceOutUp','woolentor' ),
1185
+ 'fadeOut' => esc_html__( 'fadeOut','woolentor' ),
1186
+ 'fadeOutDown' => esc_html__( 'fadeOutDown','woolentor' ),
1187
+ 'fadeOutDownBig' => esc_html__( 'fadeOutDownBig','woolentor' ),
1188
+ 'fadeOutLeft' => esc_html__( 'fadeOutLeft','woolentor' ),
1189
+ 'fadeOutLeftBig' => esc_html__( 'fadeOutLeftBig','woolentor' ),
1190
+ 'fadeOutRight' => esc_html__( 'fadeOutRight','woolentor' ),
1191
+ 'fadeOutRightBig' => esc_html__( 'fadeOutRightBig','woolentor' ),
1192
+ 'fadeOutUp' => esc_html__( 'fadeOutUp','woolentor' ),
1193
+ 'fadeOutUpBig' => esc_html__( 'fadeOutUpBig','woolentor' ),
1194
+ 'flip' => esc_html__( 'flip','woolentor' ),
1195
+ 'flipOutX' => esc_html__( 'flipOutX','woolentor' ),
1196
+ 'flipOutY' => esc_html__( 'flipOutY','woolentor' ),
1197
+ 'lightSpeedOut' => esc_html__( 'lightSpeedOut','woolentor' ),
1198
+ 'rotateOut' => esc_html__( 'rotateOut','woolentor' ),
1199
+ 'rotateOutDownLeft' => esc_html__( 'rotateOutDownLeft','woolentor' ),
1200
+ 'rotateOutDownRight' => esc_html__( 'rotateOutDownRight','woolentor' ),
1201
+ 'rotateOutUpLeft' => esc_html__( 'rotateOutUpLeft','woolentor' ),
1202
+ 'rotateOutUpRight' => esc_html__( 'rotateOutUpRight','woolentor' ),
1203
+ 'slideOutUp' => esc_html__( 'slideOutUp','woolentor' ),
1204
+ 'slideOutDown' => esc_html__( 'slideOutDown','woolentor' ),
1205
+ 'slideOutLeft' => esc_html__( 'slideOutLeft','woolentor' ),
1206
+ 'slideOutRight' => esc_html__( 'slideOutRight','woolentor' ),
1207
+ 'zoomOut' => esc_html__( 'zoomOut','woolentor' ),
1208
+ 'zoomOutDown' => esc_html__( 'zoomOutDown','woolentor' ),
1209
+ 'zoomOutLeft' => esc_html__( 'zoomOutLeft','woolentor' ),
1210
+ 'zoomOutRight' => esc_html__( 'zoomOutRight','woolentor' ),
1211
+ 'zoomOutUp' => esc_html__( 'zoomOutUp','woolentor' ),
1212
+ 'hinge' => esc_html__( 'hinge','woolentor' ),
1213
  ),
 
1214
  ),
1215
 
1216
  array(
1217
+ 'name' => 'background_color',
1218
+ 'label' => esc_html__( 'Background Color', 'woolentor' ),
1219
+ 'desc' => wp_kses_post( 'Set the background color of the notification.', 'woolentor' ),
1220
+ 'type' => 'color',
1221
+ 'class' => 'notification_real',
1222
  ),
1223
 
1224
  array(
1225
+ 'name' => 'heading_color',
1226
+ 'label' => esc_html__( 'Heading Color', 'woolentor' ),
1227
+ 'desc' => wp_kses_post( 'Set the heading color of the notification.', 'woolentor' ),
1228
+ 'type' => 'color',
1229
+ 'class' => 'notification_real',
1230
  ),
1231
 
1232
  array(
1233
+ 'name' => 'content_color',
1234
+ 'label' => esc_html__( 'Content Color', 'woolentor' ),
1235
+ 'desc' => wp_kses_post( 'Set the content color of the notification.', 'woolentor' ),
1236
+ 'type' => 'color',
1237
+ 'class' => 'notification_real',
1238
  ),
1239
 
1240
  array(
1241
+ 'name' => 'cross_color',
1242
+ 'label' => esc_html__( 'Cross Icon Color', 'woolentor' ),
1243
+ 'desc' => wp_kses_post( 'Set the cross icon color of the notification.', 'woolentor' ),
1244
+ 'type' => 'color'
 
1245
  ),
1246
 
1247
  ),
1724
  </a>
1725
  </div>
1726
  <div class="woolentor-column">
1727
+ <a href="https://woolentor.com/documentation/" target="_blank">
1728
  <img src="<?php echo WOOLENTOR_ADDONS_PL_URL; ?>includes/admin/assets/images/online-documentation.jpg" alt="<?php esc_attr_e( 'Online Documentation', 'woolentor' ); ?>">
1729
  </a>
1730
  </div>
includes/base.php CHANGED
@@ -375,7 +375,7 @@ final class Base {
375
  require( WOOLENTOR_ADDONS_PL_PATH.'includes/wl_woo_shop.php' );
376
  require( WOOLENTOR_ADDONS_PL_PATH.'includes/archive_product_render.php' );
377
  require( WOOLENTOR_ADDONS_PL_PATH.'includes/class.product_video_gallery.php' );
378
- if( !is_admin() && !is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') && woolentor_get_option( 'enablerenamelabel', 'woolentor_rename_label_tabs', 'off' ) == 'on' ){
379
  require( WOOLENTOR_ADDONS_PL_PATH.'includes/rename_label.php' );
380
  }
381
  require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.product_query.php' );
@@ -387,8 +387,17 @@ final class Base {
387
  }
388
 
389
  // Sale Notification
390
- if( !is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') && woolentor_get_option( 'enableresalenotification', 'woolentor_sales_notification_tabs', 'off' ) == 'on' ){
391
- require( WOOLENTOR_ADDONS_PL_PATH. 'includes/class.sale_notification.php' );
 
 
 
 
 
 
 
 
 
392
  }
393
 
394
  // Single Product Ajax cart
375
  require( WOOLENTOR_ADDONS_PL_PATH.'includes/wl_woo_shop.php' );
376
  require( WOOLENTOR_ADDONS_PL_PATH.'includes/archive_product_render.php' );
377
  require( WOOLENTOR_ADDONS_PL_PATH.'includes/class.product_video_gallery.php' );
378
+ if( !is_admin() && woolentor_get_option( 'enablerenamelabel', 'woolentor_rename_label_tabs', 'off' ) == 'on' ){
379
  require( WOOLENTOR_ADDONS_PL_PATH.'includes/rename_label.php' );
380
  }
381
  require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.product_query.php' );
387
  }
388
 
389
  // Sale Notification
390
+ if( woolentor_get_option( 'enableresalenotification', 'woolentor_sales_notification_tabs', 'off' ) == 'on' && woolentor_get_option( 'notification_content_type', 'woolentor_sales_notification_tabs', 'actual' ) != 'fakes'){
391
+
392
+ }
393
+
394
+ // Sale Notification
395
+ if( woolentor_get_option( 'enableresalenotification', 'woolentor_sales_notification_tabs', 'off' ) == 'on' ){
396
+ if( woolentor_get_option( 'notification_content_type', 'woolentor_sales_notification_tabs', 'actual' ) == 'fakes' ){
397
+ include( WOOLENTOR_ADDONS_PL_PATH. 'includes/class.sale_notification_fake.php' );
398
+ }else{
399
+ require( WOOLENTOR_ADDONS_PL_PATH. 'includes/class.sale_notification.php' );
400
+ }
401
  }
402
 
403
  // Single Product Ajax cart
includes/class.sale_notification.php CHANGED
@@ -16,6 +16,7 @@ class Woolentor_Sale_Notification{
16
  function __construct(){
17
 
18
  add_action('wp_head',[ $this, 'woolentor_ajaxurl' ] );
 
19
 
20
  // ajax function
21
  add_action('wp_ajax_nopriv_woolentor_purchased_products', [ $this, 'purchased_new_products' ] );
@@ -32,12 +33,12 @@ class Woolentor_Sale_Notification{
32
  if ( ! $products ) {
33
  $args = array(
34
  'post_type' => 'shop_order',
35
- 'post_status' => 'wc-completed, wc-pending, wc-processing, wc-on-hold',
36
  'orderby' => 'ID',
37
  'order' => 'DESC',
38
  'posts_per_page' => woolentor_get_option( 'notification_limit','woolentor_sales_notification_tabs','5' ),
39
  'date_query' => array(
40
- 'after' => date('Y-m-d', strtotime('-'.'7'.' days'))
41
  )
42
  );
43
  $posts = get_posts($args);
@@ -116,19 +117,45 @@ class Woolentor_Sale_Notification{
116
  <?php
117
  }
118
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  // Ajax request
120
  function woolentor_ajax_request() {
121
 
122
- $duration = (int)woolentor_get_option( 'notification_loadduration','woolentor_sales_notification_tabs', '3' )*1000;
123
- $showing = 5000;
124
- $notposition = 'bottomleft';
125
- $notlayout = 'imageleft';
 
 
 
126
 
127
- //Set Your Nonce
128
  $ajax_nonce = wp_create_nonce( "woolentor-ajax-request" );
129
  ?>
130
  <script>
131
- jQuery( document ).ready( function( $ ) {
132
 
133
  var notposition = '<?php echo $notposition; ?>',
134
  notlayout = ' '+'<?php echo $notlayout; ?>';
@@ -146,11 +173,11 @@ class Woolentor_Sale_Notification{
146
  whatever: 1234
147
  };
148
 
149
- var intervaltime = 4000,
150
  duration = <?php echo $duration; ?>,
151
  showing_time = <?php echo $showing; ?>,
152
- inanimation = 'fadeInLeft',
153
- outanimation = 'fadeOutRight',
154
  i = 0;
155
 
156
  window.setTimeout( function(){
@@ -203,7 +230,6 @@ class Woolentor_Sale_Notification{
203
  }
204
 
205
 
206
-
207
  }
208
 
209
  Woolentor_Sale_Notification::instance();
16
  function __construct(){
17
 
18
  add_action('wp_head',[ $this, 'woolentor_ajaxurl' ] );
19
+ add_action( 'wp_enqueue_scripts', [ $this, 'woolentor_inline_styles' ] );
20
 
21
  // ajax function
22
  add_action('wp_ajax_nopriv_woolentor_purchased_products', [ $this, 'purchased_new_products' ] );
33
  if ( ! $products ) {
34
  $args = array(
35
  'post_type' => 'shop_order',
36
+ 'post_status' => array('wc-completed', 'wc-pending', 'wc-processing', 'wc-on-hold'),
37
  'orderby' => 'ID',
38
  'order' => 'DESC',
39
  'posts_per_page' => woolentor_get_option( 'notification_limit','woolentor_sales_notification_tabs','5' ),
40
  'date_query' => array(
41
+ 'after' => date('Y-m-d', strtotime('-'.woolentor_get_option('notification_uptodate','woolentor_sales_notification_tabs','5' ).' days'))
42
  )
43
  );
44
  $posts = get_posts($args);
117
  <?php
118
  }
119
 
120
+ // Inline CSS
121
+ function woolentor_inline_styles() {
122
+ wp_enqueue_style( 'woolentor-animate' );
123
+ $bgcolor = woolentor_get_option( 'background_color','woolentor_sales_notification_tabs', '#ffffff' );
124
+ $headingcolor = woolentor_get_option( 'heading_color','woolentor_sales_notification_tabs', '#000000' );
125
+ $contentcolor = woolentor_get_option( 'content_color','woolentor_sales_notification_tabs', '#7e7e7e' );
126
+ $crosscolor = woolentor_get_option( 'cross_color','woolentor_sales_notification_tabs', '#000000' );
127
+ $custom_css = "
128
+ .woolentor-notification-content{
129
+ background: {$bgcolor} !important;
130
+ }
131
+ .wlnotification_content h4,.wlnotification_content h6{
132
+ color: {$headingcolor} !important;
133
+ }
134
+ .wlnotification_content p,.woolentor-buyername{
135
+ color: {$contentcolor} !important;
136
+ }
137
+ .wlcross{
138
+ color: {$crosscolor} !important;
139
+ }";
140
+ wp_add_inline_style( 'woolentor-widgets', $custom_css );
141
+ }
142
+
143
  // Ajax request
144
  function woolentor_ajax_request() {
145
 
146
+ $intervaltime = (int)woolentor_get_option( 'notification_time_int','woolentor_sales_notification_tabs', '4' )*1000;
147
+ $duration = (int)woolentor_get_option( 'notification_loadduration','woolentor_sales_notification_tabs', '3' )*1000;
148
+ $showing = (int)woolentor_get_option( 'notification_time_showing','woolentor_sales_notification_tabs', '5' )*1000;
149
+ $inanimation = woolentor_get_option( 'notification_inanimation','woolentor_sales_notification_tabs', 'fadeInLeft' );
150
+ $outanimation = woolentor_get_option( 'notification_outanimation','woolentor_sales_notification_tabs', 'fadeOutRight' );
151
+ $notposition = woolentor_get_option( 'notification_pos','woolentor_sales_notification_tabs', 'bottomleft' );
152
+ $notlayout = woolentor_get_option( 'notification_layout','woolentor_sales_notification_tabs', 'imageleft' );
153
 
154
+ // Set Nonce
155
  $ajax_nonce = wp_create_nonce( "woolentor-ajax-request" );
156
  ?>
157
  <script>
158
+ ;jQuery( document ).ready( function( $ ) {
159
 
160
  var notposition = '<?php echo $notposition; ?>',
161
  notlayout = ' '+'<?php echo $notlayout; ?>';
173
  whatever: 1234
174
  };
175
 
176
+ var intervaltime = <?php echo $intervaltime; ?>,
177
  duration = <?php echo $duration; ?>,
178
  showing_time = <?php echo $showing; ?>,
179
+ inanimation = '<?php echo $inanimation; ?>',
180
+ outanimation = '<?php echo $outanimation; ?>',
181
  i = 0;
182
 
183
  window.setTimeout( function(){
230
  }
231
 
232
 
 
233
  }
234
 
235
  Woolentor_Sale_Notification::instance();
includes/class.sale_notification_fake.php ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class Sale Notification
4
+ */
5
+ if( !class_exists('Woolentor_Sale_Notification') ){
6
+ class Woolentor_Sale_Notification{
7
+
8
+ private static $_instance = null;
9
+ public static function instance(){
10
+ if( is_null( self::$_instance ) ){
11
+ self::$_instance = new self();
12
+ }
13
+ return self::$_instance;
14
+ }
15
+
16
+ function __construct(){
17
+ add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
18
+ add_action( 'wp_enqueue_scripts', [ $this, 'woolentor_inline_styles' ] );
19
+ add_action( 'wp_footer', [ $this, 'woolentor_ajax_request' ] );
20
+ }
21
+
22
+ public function enqueue_scripts(){
23
+ wp_enqueue_style( 'woolentor-animate' );
24
+ wp_enqueue_script( 'woolentor-widgets-scripts' );
25
+ wp_localize_script( 'woolentor-widgets-scripts', 'porduct_fake_data', $this->woolentor_fakes_notification_data() );
26
+ }
27
+
28
+ public function woolentor_fakes_notification_data(){
29
+ $notification = array();
30
+ foreach( woolentor_get_option( 'noification_fake_data','woolentor_sales_notification_tabs', '' ) as $key => $fakedata ) {
31
+ $nc = \Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $fakedata );
32
+ array_push( $notification, $nc );
33
+ }
34
+ return $notification;
35
+ }
36
+
37
+ // Inline CSS
38
+ function woolentor_inline_styles() {
39
+ $crosscolor = woolentor_get_option( 'cross_color','woolentor_sales_notification_tabs', '#000000' );
40
+ $custom_css = "
41
+ .wlcross{
42
+ color: {$crosscolor} !important;
43
+ }";
44
+ wp_add_inline_style( 'woolentor-widgets', $custom_css );
45
+ }
46
+
47
+ // Ajax request
48
+ function woolentor_ajax_request() {
49
+
50
+ $intervaltime = (int)woolentor_get_option( 'notification_time_int','woolentor_sales_notification_tabs', '4' )*1000;
51
+ $duration = (int)woolentor_get_option( 'notification_loadduration','woolentor_sales_notification_tabs', '3' )*1000;
52
+ $showing = (int)woolentor_get_option( 'notification_time_showing','woolentor_sales_notification_tabs', '5' )*1000;
53
+ $inanimation = woolentor_get_option( 'notification_inanimation','woolentor_sales_notification_tabs', 'fadeInLeft' );
54
+ $outanimation = woolentor_get_option( 'notification_outanimation','woolentor_sales_notification_tabs', 'fadeOutRight' );
55
+ $notposition = woolentor_get_option( 'notification_pos','woolentor_sales_notification_tabs', 'bottomleft' );
56
+
57
+ ?>
58
+ <script>
59
+ ;jQuery( document ).ready( function( $ ) {
60
+
61
+ var notposition = '<?php echo $notposition; ?>';
62
+
63
+ $('body').append('<div class="woolentor-sale-notification"><div class="notifake woolentor-notification-content '+notposition+'"></div></div>');
64
+
65
+ var duration = <?php echo $duration; ?>,
66
+ intervaltime = <?php echo $intervaltime; ?>,
67
+ showing_time = <?php echo $showing; ?>,
68
+ inanimation = '<?php echo $inanimation; ?>',
69
+ outanimation = '<?php echo $outanimation; ?>',
70
+ i = 0;
71
+
72
+ window.setTimeout( function(){
73
+ setTimeout( function () {
74
+ $('.woolentor-notification-content').removeClass(inanimation).addClass(outanimation);
75
+ i++;
76
+ }, showing_time );
77
+ if( porduct_fake_data.length > 0 ){
78
+ woolentor_notification_loop_start( porduct_fake_data );
79
+ }
80
+ }, duration );
81
+
82
+
83
+ function woolentor_notification_loop_start( porduct_fake_data ){
84
+
85
+ var interval = parseInt( intervaltime ) + parseInt( showing_time );
86
+
87
+ setInterval( function ( porduct_fake_data ) {
88
+ if( i == porduct_fake_data.length ){ i = 0; }
89
+
90
+ $('.woolentor-notification-content').html('');
91
+ var ordercontent = `${ porduct_fake_data[i] }<span class="wlcross">&times;</span>`;
92
+ $('.woolentor-notification-content').append( ordercontent ).addClass('animated '+inanimation).removeClass(outanimation);
93
+
94
+ var notification = porduct_fake_data;
95
+ if ( notification != undefined ) {
96
+ setTimeout( function () {
97
+ $('.woolentor-notification-content').removeClass(inanimation).addClass(outanimation);
98
+ i++;
99
+ }, showing_time );
100
+ }
101
+
102
+ }, interval, porduct_fake_data );
103
+
104
+ }
105
+
106
+ // Close Button
107
+ $('.woolentor-notification-content').on('click', '.wlcross', function(e){
108
+ e.preventDefault()
109
+ $(this).closest('.woolentor-notification-content').removeClass(inanimation).addClass(outanimation);
110
+ });
111
+
112
+ });
113
+ </script>
114
+ <?php
115
+ }
116
+
117
+ }
118
+
119
+ Woolentor_Sale_Notification::instance();
120
+ }
includes/rename_label.php CHANGED
@@ -4,9 +4,11 @@
4
  */
5
 
6
  // Add to Cart Button Text
7
- add_filter( 'woocommerce_product_add_to_cart_text', 'woolentor_custom_add_cart_button_shop_page', 99, 2 );
8
- function woolentor_custom_add_cart_button_shop_page( $label ) {
9
- return __( woolentor_get_option_label_text( 'wl_shop_add_to_cart_txt', 'woolentor_rename_label_tabs', 'Add to Cart' ), 'woolentor' );
 
 
10
  }
11
 
12
  /*
@@ -14,27 +16,58 @@ function woolentor_custom_add_cart_button_shop_page( $label ) {
14
  */
15
 
16
  // Add to Cart Button Text
17
- add_filter( 'woocommerce_product_single_add_to_cart_text', 'woolentor_custom_add_cart_button_single_product' );
18
- function woolentor_custom_add_cart_button_single_product( $label ) {
19
- return __( woolentor_get_option_label_text( 'wl_add_to_cart_txt', 'woolentor_rename_label_tabs', 'Add to Cart' ), 'woolentor-pro' );
 
 
20
  }
21
 
22
- // Translate
23
- add_filter( 'gettext', 'woolentor_translate_text', 20, 3 );
24
- function woolentor_translate_text( $translated, $untranslated, $domain ) {
25
- $wltext = '';
 
 
 
26
 
27
- // Checkout Page
28
- if( is_checkout() ){
29
- switch ( $untranslated ) {
 
 
 
30
 
31
- case 'Billing details':
32
- $wltext = woolentor_get_option_label_text( 'wl_checkout_billig_form_title', 'woolentor_rename_label_tabs', 'Billing details' );
33
- $translated = $wltext;
34
- break;
35
-
36
- }
37
  }
 
38
 
39
- return $translated;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  }
4
  */
5
 
6
  // Add to Cart Button Text
7
+ if( !function_exists('woolentor_custom_add_cart_button_shop_page') ){
8
+ add_filter( 'woocommerce_product_add_to_cart_text', 'woolentor_custom_add_cart_button_shop_page', 99, 2 );
9
+ function woolentor_custom_add_cart_button_shop_page( $label ) {
10
+ return __( woolentor_get_option_label_text( 'wl_shop_add_to_cart_txt', 'woolentor_rename_label_tabs', 'Add to Cart' ), 'woolentor-pro' );
11
+ }
12
  }
13
 
14
  /*
16
  */
17
 
18
  // Add to Cart Button Text
19
+ if( !function_exists('woolentor_custom_add_cart_button_single_product') ){
20
+ add_filter( 'woocommerce_product_single_add_to_cart_text', 'woolentor_custom_add_cart_button_single_product' );
21
+ function woolentor_custom_add_cart_button_single_product( $label ) {
22
+ return __( woolentor_get_option_label_text( 'wl_add_to_cart_txt', 'woolentor_rename_label_tabs', 'Add to Cart' ), 'woolentor-pro' );
23
+ }
24
  }
25
 
26
+ //Description tab
27
+ if( !function_exists('woolentor_rename_description_product_tab_label') ){
28
+ add_filter( 'woocommerce_product_description_tab_title', 'woolentor_rename_description_product_tab_label' );
29
+ function woolentor_rename_description_product_tab_label() {
30
+ return __( woolentor_get_option_label_text( 'wl_description_tab_menu_title', 'woolentor_rename_label_tabs', 'Description' ), 'woolentor-pro' );
31
+ }
32
+ }
33
 
34
+ if( !function_exists('woolentor_rename_description_tab_heading') ){
35
+ add_filter( 'woocommerce_product_description_heading', 'woolentor_rename_description_tab_heading' );
36
+ function woolentor_rename_description_tab_heading() {
37
+ return __( woolentor_get_option_label_text( 'wl_description_tab_menu_title', 'woolentor_rename_label_tabs', 'Description' ), 'woolentor-pro' );
38
+ }
39
+ }
40
 
41
+ //Additional Info tab
42
+ if( !function_exists('woolentor_rename_additional_information_product_tab_label') ){
43
+ add_filter( 'woocommerce_product_additional_information_tab_title', 'woolentor_rename_additional_information_product_tab_label' );
44
+ function woolentor_rename_additional_information_product_tab_label() {
45
+ return __( woolentor_get_option_label_text( 'wl_additional_information_tab_menu_title', 'woolentor_rename_label_tabs','Additional Information' ), 'woolentor-pro' );
 
46
  }
47
+ }
48
 
49
+ if( !function_exists('woolentor_rename_additional_information_tab_heading') ){
50
+ add_filter( 'woocommerce_product_additional_information_heading', 'woolentor_rename_additional_information_tab_heading' );
51
+ function woolentor_rename_additional_information_tab_heading() {
52
+ return __( woolentor_get_option_label_text( 'wl_additional_information_tab_menu_title', 'woolentor_rename_label_tabs','Additional Information' ), 'woolentor-pro' );
53
+ }
54
+ }
55
+
56
+ //Reviews Info tab
57
+ if( !function_exists('woolentor_rename_reviews_product_tab_label') ){
58
+ add_filter( 'woocommerce_product_reviews_tab_title', 'woolentor_rename_reviews_product_tab_label' );
59
+ function woolentor_rename_reviews_product_tab_label() {
60
+ return __( woolentor_get_option_label_text( 'wl_reviews_tab_menu_title', 'woolentor_rename_label_tabs','Reviews' ), 'woolentor-pro');
61
+ }
62
+ }
63
+
64
+
65
+ /*
66
+ * Checkout Page
67
+ */
68
+ if( !function_exists('woolentor_rename_place_order_button') ){
69
+ add_filter( 'woocommerce_order_button_text', 'woolentor_rename_place_order_button' );
70
+ function woolentor_rename_place_order_button() {
71
+ return __( woolentor_get_option_label_text( 'wl_checkout_placeorder_btn_txt', 'woolentor_rename_label_tabs','Place order' ), 'woolentor-pro');
72
+ }
73
  }
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: hasthemes, htplugins, devitemsllc, tarekht
3
  Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product
4
  Requires at least: 4.7
5
- Tested up to: 5.8
6
- Stable tag: 1.9.7
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -241,19 +241,19 @@ The checkout process is the most important step in your customer’s journey, an
241
 
242
  == Extensions: ==
243
 
244
- <strong>❤️ [WishSuite](https://wordpress.org/plugins/wishsuite/)</strong>
245
  WishSuite is a fantastic WordPress plugin that enables you to integrate the wishlist feature on your WooCommerce store. With the help of this extraordinary Wishlist plugin, you can provide a seamless shopping experience to your potential customers by allowing them to create a wishlist and add their desired products to that wishlist so that they find all their items in one place later.
246
 
247
- <strong>⚖️ [EverCompare](https://wordpress.org/plugins/ever-compare/)</strong>
248
  EverCompare is a wonderful WordPress plugin that lets you add a product comparison option to your WooCommerce store using which your store visitors will be able to compare different products in a table layout or a popup window. This allows them to check the differences among the products based on several attributes while helping them make the buying decision easier at the same time.
249
 
250
- <strong>💰 [Whols](https://wordpress.org/plugins/whols/)</strong>
251
  Whols is an outstanding WordPress plugin for WooCommerce that allows store owners to set wholesale prices for the products of their online stores. This plugin enables you to show special wholesale prices to the wholesaler.
252
 
253
- <strong>📋 [JustTables](https://wordpress.org/plugins/just-tables/)</strong>
254
  JustTables is an incredible WordPress plugin that lets you showcase all your WooCommerce products in a sortable and filterable table view. It allows your customers to easily navigate through different attributes of the products and compare them on a single page.
255
 
256
- <strong>💷 [Multi Currency](https://wordpress.org/plugins/wc-multi-currency/)</strong>
257
  Multi-Currency for WooCommerce is a prominent currency switcher plugin for WooCommerce. This plugin allows your website or online store visitors to switch to their preferred currency or their country’s currency.
258
 
259
  == WooLentor Pro Features: ==
@@ -322,14 +322,12 @@ Elementor Pro is not required. But you can use wooLentor with Elementor free & P
322
 
323
  == Changelog ==
324
 
325
- = Version: 1.9.7 - Date: 2021-09-15 =
326
- * Added responsive column option in some blocks.
327
- * Added image size option in category grid block.
328
- * Capability with polylang multi language plugin.
329
- * Solved product column issue.
330
- * Solved alignment icon showing issue.
331
- * Solved default data showing issue in elementor editor mode.
332
- * Improved category grid addon style option.
333
 
334
  = Version: 1.9.6 - Date: 2021-08-30 =
335
  * Added FAQ Block, Product Curvy Block.
2
  Contributors: hasthemes, htplugins, devitemsllc, tarekht
3
  Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product
4
  Requires at least: 4.7
5
+ Tested up to: 5.8.1
6
+ Stable tag: 1.9.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
241
 
242
  == Extensions: ==
243
 
244
+ <strong>❤️ [WishSuite for WooCommerce Wishlist](https://wordpress.org/plugins/wishsuite/)</strong>
245
  WishSuite is a fantastic WordPress plugin that enables you to integrate the wishlist feature on your WooCommerce store. With the help of this extraordinary Wishlist plugin, you can provide a seamless shopping experience to your potential customers by allowing them to create a wishlist and add their desired products to that wishlist so that they find all their items in one place later.
246
 
247
+ <strong>⚖️ [EverCompare for Product Compare](https://wordpress.org/plugins/ever-compare/)</strong>
248
  EverCompare is a wonderful WordPress plugin that lets you add a product comparison option to your WooCommerce store using which your store visitors will be able to compare different products in a table layout or a popup window. This allows them to check the differences among the products based on several attributes while helping them make the buying decision easier at the same time.
249
 
250
+ <strong>💰 [Whols for WooCommerce Wholesale](https://wordpress.org/plugins/whols/)</strong>
251
  Whols is an outstanding WordPress plugin for WooCommerce that allows store owners to set wholesale prices for the products of their online stores. This plugin enables you to show special wholesale prices to the wholesaler.
252
 
253
+ <strong>📋 [JustTables for WooCommerce Product Table](https://wordpress.org/plugins/just-tables/)</strong>
254
  JustTables is an incredible WordPress plugin that lets you showcase all your WooCommerce products in a sortable and filterable table view. It allows your customers to easily navigate through different attributes of the products and compare them on a single page.
255
 
256
+ <strong>💷 [Multi Currency for WooCommerce Currency Switcher](https://wordpress.org/plugins/wc-multi-currency/)</strong>
257
  Multi-Currency for WooCommerce is a prominent currency switcher plugin for WooCommerce. This plugin allows your website or online store visitors to switch to their preferred currency or their country’s currency.
258
 
259
  == WooLentor Pro Features: ==
322
 
323
  == Changelog ==
324
 
325
+ = Version: 1.9.8 - Date: 2021-09-27 =
326
+ * Added: Advance Rename Label Options.
327
+ * Added: Advance Sale notifications.
328
+ * Updated: Documentation link.
329
+ * Removed: Unnecessary fields from Polylang config file.
330
+ * Removed: Gutenberg blocks if Classic Editor is installed.
 
 
331
 
332
  = Version: 1.9.6 - Date: 2021-08-30 =
333
  * Added FAQ Block, Product Curvy Block.
woolentor-blocks/build/blocks-woolentor.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '99f1d8558200bbc18492baa2115ff536');
1
+ <?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'a2a948c37b1dd0ad60ca9fee46fd43a6');
woolentor-blocks/build/blocks-woolentor.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=49)}([function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.React},function(e,t,n){var o;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)){if(o.length){var l=r.apply(null,o);l&&e.push(l)}}else if("object"===a)if(o.toString===Object.prototype.toString)for(var i in o)n.call(o,i)&&o[i]&&e.push(i);else e.push(o.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t,n){"use strict";(function(e){var o=n(23),r=n(4),a=n.n(r),l=n(29),i=n.n(l),c=n(30),s=n(31),u=n(26),p=n(24),d=n.n(p);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var m=function(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n},b=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!Object(o.typeOf)(e)},g=Object.freeze([]),h=Object.freeze({});function y(e){return"function"==typeof e}function v(e){return e.displayName||e.name||"Component"}function w(e){return e&&"string"==typeof e.styledComponentId}var O=void 0!==e&&(e.env.REACT_APP_SC_ATTR||e.env.SC_ATTR)||"data-styled",_="undefined"!=typeof window&&"HTMLElement"in window,C=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e&&void 0!==e.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e.env.REACT_APP_SC_DISABLE_SPEEDY&&e.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e&&void 0!==e.env.SC_DISABLE_SPEEDY&&""!==e.env.SC_DISABLE_SPEEDY&&"false"!==e.env.SC_DISABLE_SPEEDY&&e.env.SC_DISABLE_SPEEDY);function E(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var R=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)(r<<=1)<0&&E(16,""+e);this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var a=o;a<r;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(e+1),i=0,c=t.length;i<c;i++)this.tag.insertRule(l,t[i])&&(this.groupSizes[e]++,l++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,a=o;a<r;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),j=new Map,k=new Map,S=1,P=function(e){if(j.has(e))return j.get(e);for(;k.has(S);)S++;var t=S++;return j.set(e,t),k.set(t,e),t},F=function(e){return k.get(e)},A=function(e,t){t>=S&&(S=t+1),j.set(e,t),k.set(t,e)},T="style["+O+'][data-styled-version="5.3.1"]',B=new RegExp("^"+O+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),x=function(e,t,n){for(var o,r=n.split(","),a=0,l=r.length;a<l;a++)(o=r[a])&&e.registerName(t,o)},z=function(e,t){for(var n=(t.innerHTML||"").split("/*!sc*/\n"),o=[],r=0,a=n.length;r<a;r++){var l=n[r].trim();if(l){var i=l.match(B);if(i){var c=0|parseInt(i[1],10),s=i[2];0!==c&&(A(s,c),x(e,s,i[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(l)}}},D=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},M=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var o=t[n];if(o&&1===o.nodeType&&o.hasAttribute(O))return o}}(n),a=void 0!==r?r.nextSibling:null;o.setAttribute(O,"active"),o.setAttribute("data-styled-version","5.3.1");var l=D();return l&&o.setAttribute("nonce",l),n.insertBefore(o,a),o},L=function(){function e(e){var t=this.element=M(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}E(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),I=function(){function e(e){var t=this.element=M(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),o=this.nodes[e];return this.element.insertBefore(n,o||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),N=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),H=_,W={isServer:!_,useCSSOMInjection:!C},G=function(){function e(e,t,n){void 0===e&&(e=h),void 0===t&&(t={}),this.options=f({},W,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&_&&H&&(H=!1,function(e){for(var t=document.querySelectorAll(T),n=0,o=t.length;n<o;n++){var r=t[n];r&&"active"!==r.getAttribute(O)&&(z(e,r),r.parentNode&&r.parentNode.removeChild(r))}}(this))}e.registerId=function(e){return P(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(f({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,o=t.useCSSOMInjection,r=t.target,e=n?new N(r):o?new L(r):new I(r),new R(e)));var e,t,n,o,r},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(P(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(P(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(P(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=0;r<n;r++){var a=F(r);if(void 0!==a){var l=e.names.get(a),i=t.getGroup(r);if(l&&i&&l.size){var c=O+".g"+r+'[id="'+a+'"]',s="";void 0!==l&&l.forEach((function(e){e.length>0&&(s+=e+",")})),o+=""+i+c+'{content:"'+s+'"}/*!sc*/\n'}}}return o}(this)},e}(),q=/(a)(d)/gi,U=function(e){return String.fromCharCode(e+(e>25?39:97))};function V(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=U(t%52)+n;return(U(t%52)+n).replace(q,"$1-$2")}var Q=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},K=function(e){return Q(5381,e)};function Y(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(y(n)&&!w(n))return!1}return!0}var X=K("5.3.1"),J=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Y(e),this.componentId=t,this.baseHash=Q(X,t),this.baseStyle=n,G.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.componentId,r=[];if(this.baseStyle&&r.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(o,this.staticRulesId))r.push(this.staticRulesId);else{var a=me(this.rules,e,t,n).join(""),l=V(Q(this.baseHash,a)>>>0);if(!t.hasNameForId(o,l)){var i=n(a,"."+l,void 0,o);t.insertRules(o,l,i)}r.push(l),this.staticRulesId=l}else{for(var c=this.rules.length,s=Q(this.baseHash,n.hash),u="",p=0;p<c;p++){var d=this.rules[p];if("string"==typeof d)u+=d;else if(d){var f=me(d,e,t,n),m=Array.isArray(f)?f.join(""):f;s=Q(s,m+p),u+=m}}if(u){var b=V(s>>>0);if(!t.hasNameForId(o,b)){var g=n(u,"."+b,void 0,o);t.insertRules(o,b,g)}r.push(b)}}return r.join(" ")},e}(),Z=/^\s*\/\/.*$/gm,$=[":","[",".","#"];function ee(e){var t,n,o,r,a=void 0===e?h:e,l=a.options,i=void 0===l?h:l,s=a.plugins,u=void 0===s?g:s,p=new c.a(i),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,o,r,a,l,i,c,s,u,p){switch(n){case 1:if(0===u&&64===o.charCodeAt(0))return e(o+";"),"";break;case 2:if(0===s)return o+"/*|*/";break;case 3:switch(s){case 102:case 112:return e(r[0]+o),"";default:return o+(0===p?"/*|*/":"")}case-2:o.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),m=function(e,o,a){return 0===o&&-1!==$.indexOf(a[n.length])||a.match(r)?e:"."+t};function b(e,a,l,i){void 0===i&&(i="&");var c=e.replace(Z,""),s=a&&l?l+" "+a+" { "+c+" }":c;return t=i,n=a,o=new RegExp("\\"+n+"\\b","g"),r=new RegExp("(\\"+n+"\\b){2,}"),p(l||!a?"":a,s)}return p.use([].concat(u,[function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(n)>0&&(r[0]=r[0].replace(o,m))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),b.hash=u.length?u.reduce((function(e,t){return t.name||E(15),Q(e,t.name)}),5381).toString():"",b}var te=a.a.createContext(),ne=(te.Consumer,a.a.createContext()),oe=(ne.Consumer,new G),re=ee();function ae(){return Object(r.useContext)(te)||oe}function le(e){var t=Object(r.useState)(e.stylisPlugins),n=t[0],o=t[1],l=ae(),c=Object(r.useMemo)((function(){var t=l;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),s=Object(r.useMemo)((function(){return ee({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return Object(r.useEffect)((function(){i()(n,e.stylisPlugins)||o(e.stylisPlugins)}),[e.stylisPlugins]),a.a.createElement(te.Provider,{value:c},a.a.createElement(ne.Provider,{value:s},e.children))}var ie=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=re);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"))},this.toString=function(){return E(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=re),this.name+e.hash},e}(),ce=/([A-Z])/,se=/([A-Z])/g,ue=/^ms-/,pe=function(e){return"-"+e.toLowerCase()};function de(e){return ce.test(e)?e.replace(se,pe).replace(ue,"-ms-"):e}var fe=function(e){return null==e||!1===e||""===e};function me(e,t,n,o){if(Array.isArray(e)){for(var r,a=[],l=0,i=e.length;l<i;l+=1)""!==(r=me(e[l],t,n,o))&&(Array.isArray(r)?a.push.apply(a,r):a.push(r));return a}return fe(e)?"":w(e)?"."+e.styledComponentId:y(e)?"function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t?e:me(e(t),t,n,o):e instanceof ie?n?(e.inject(n,o),e.getName(o)):e:b(e)?function e(t,n){var o,r,a=[];for(var l in t)t.hasOwnProperty(l)&&!fe(t[l])&&(Array.isArray(t[l])&&t[l].isCss||y(t[l])?a.push(de(l)+":",t[l],";"):b(t[l])?a.push.apply(a,e(t[l],l)):a.push(de(l)+": "+(o=l,(null==(r=t[l])||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||o in s.a?String(r).trim():r+"px")+";")));return n?[n+" {"].concat(a,["}"]):a}(e):e.toString();var c}var be=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ge(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return y(e)||b(e)?be(me(m(g,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:be(me(m(e,n)))}new Set;var he=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ye=/(^-|-$)/g;function ve(e){return e.replace(he,"-").replace(ye,"")}function we(e){return"string"==typeof e&&!0}var Oe=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},_e=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ce(e,t,n){var o=e[n];Oe(t)&&Oe(o)?Ee(o,t):e[n]=t}function Ee(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];for(var r=0,a=n;r<a.length;r++){var l=a[r];if(Oe(l))for(var i in l)_e(i)&&Ce(e,l[i],i)}return e}var Re=a.a.createContext();Re.Consumer;var je={};function ke(e,t,n){var o=w(e),l=!we(e),i=t.attrs,c=void 0===i?g:i,s=t.componentId,p=void 0===s?function(e,t){var n="string"!=typeof e?"sc":ve(e);je[n]=(je[n]||0)+1;var o=n+"-"+function(e){return V(K(e)>>>0)}("5.3.1"+n+je[n]);return t?t+"-"+o:o}(t.displayName,t.parentComponentId):s,m=t.displayName,b=void 0===m?function(e){return we(e)?"styled."+e:"Styled("+v(e)+")"}(e):m,O=t.displayName&&t.componentId?ve(t.displayName)+"-"+t.componentId:t.componentId||p,_=o&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,C=t.shouldForwardProp;o&&e.shouldForwardProp&&(C=t.shouldForwardProp?function(n,o,r){return e.shouldForwardProp(n,o,r)&&t.shouldForwardProp(n,o,r)}:e.shouldForwardProp);var E,R=new J(n,O,o?e.componentStyle:void 0),j=R.isStatic&&0===c.length,k=function(e,t){return function(e,t,n,o){var a=e.attrs,l=e.componentStyle,i=e.defaultProps,c=e.foldedComponentIds,s=e.shouldForwardProp,p=e.styledComponentId,d=e.target,m=function(e,t,n){void 0===e&&(e=h);var o=f({},t,{theme:e}),r={};return n.forEach((function(e){var t,n,a,l=e;for(t in y(l)&&(l=l(o)),l)o[t]=r[t]="className"===t?(n=r[t],a=l[t],n&&a?n+" "+a:n||a):l[t]})),[o,r]}(function(e,t,n){return void 0===n&&(n=h),e.theme!==n.theme&&e.theme||t||n.theme}(t,Object(r.useContext)(Re),i)||h,t,a),b=m[0],g=m[1],v=function(e,t,n,o){var a=ae(),l=Object(r.useContext)(ne)||re;return t?e.generateAndInjectStyles(h,a,l):e.generateAndInjectStyles(n,a,l)}(l,o,b),w=n,O=g.$as||t.$as||g.as||t.as||d,_=we(O),C=g!==t?f({},t,{},g):t,E={};for(var R in C)"$"!==R[0]&&"as"!==R&&("forwardedAs"===R?E.as=C[R]:(s?s(R,u.a,O):!_||Object(u.a)(R))&&(E[R]=C[R]));return t.style&&g.style!==t.style&&(E.style=f({},t.style,{},g.style)),E.className=Array.prototype.concat(c,p,v!==p?v:null,t.className,g.className).filter(Boolean).join(" "),E.ref=w,Object(r.createElement)(O,E)}(E,e,t,j)};return k.displayName=b,(E=a.a.forwardRef(k)).attrs=_,E.componentStyle=R,E.displayName=b,E.shouldForwardProp=C,E.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):g,E.styledComponentId=O,E.target=o?e.target:e,E.withComponent=function(e){var o=t.componentId,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,["componentId"]),a=o&&o+"-"+(we(e)?e:ve(v(e)));return ke(e,f({},r,{attrs:_,componentId:a}),n)},Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?Ee({},e.defaultProps,t):t}}),E.toString=function(){return"."+E.styledComponentId},l&&d()(E,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),E}var Se,Pe=function(e){return function e(t,n,r){if(void 0===r&&(r=h),!Object(o.isValidElementType)(n))return E(1,String(n));var a=function(){return t(n,r,ge.apply(void 0,arguments))};return a.withConfig=function(o){return e(t,n,f({},r,{},o))},a.attrs=function(o){return e(t,n,f({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},a}(ke,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Pe[e]=Pe(e)})),(Se=function(e,t){this.rules=e,this.componentId=t,this.isStatic=Y(e),G.registerId(this.componentId+1)}.prototype).createStyles=function(e,t,n,o){var r=o(me(this.rules,t,n,o).join(""),""),a=this.componentId+e;n.insertRules(a,a,r)},Se.removeStyles=function(e,t){t.clearRules(this.componentId+e)},Se.renderStyles=function(e,t,n,o){e>2&&G.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=D();return"<style "+[n&&'nonce="'+n+'"',O+'="true"','data-styled-version="5.3.1"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?E(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return E(2);var n=((t={})[O]="",t["data-styled-version"]="5.3.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=D();return o&&(n.nonce=o),[a.a.createElement("style",f({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new G({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?E(2):a.a.createElement(le,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return E(3)}}(),t.a=Pe}).call(this,n(47))},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=window.wp.url},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.data},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=c,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=t.safePreventDefault=void 0;var o,r=(o=n(4))&&o.__esModule?o:{default:o};function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t,n){return Math.max(t,Math.min(e,n))}var s=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=s;var u=function(e){for(var t=[],n=p(e),o=d(e),r=n;r<o;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t};t.getOnDemandLazySlides=u,t.getRequiredLazySlides=function(e){for(var t=[],n=p(e),o=d(e),r=n;r<o;r++)t.push(r);return t};var p=function(e){return e.currentSlide-f(e)};t.lazyStartIndex=p;var d=function(e){return e.currentSlide+m(e)};t.lazyEndIndex=d;var f=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=f;var m=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=m;var b=function(e){return e&&e.offsetWidth||0};t.getWidth=b;var g=function(e){return e&&e.offsetHeight||0};t.getHeight=g;var h=function(e){var t,n,o,r,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,o=Math.atan2(n,t),(r=Math.round(180*o/Math.PI))<0&&(r=360-Math.abs(r)),r<=45&&r>=0||r<=360&&r>=315?"left":r>=135&&r<=225?"right":!0===a?r>=35&&r<=135?"up":"down":"vertical"};t.getSwipeDirection=h;var y=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=y,t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},t.initializedState=function(e){var t,n=r.default.Children.count(e.children),o=e.listRef,a=Math.ceil(b(o)),i=e.trackRef&&e.trackRef.node,c=Math.ceil(b(i));if(e.vertical)t=a;else{var s=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(s*=a/100),t=Math.ceil((a-s)/e.slidesToShow)}var p=o&&g(o.querySelector('[data-index="0"]')),d=p*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=n-1-e.initialSlide);var m=e.lazyLoadedList||[],h=u(l(l({},e),{},{currentSlide:f,lazyLoadedList:m})),y={slideCount:n,slideWidth:t,listWidth:a,trackWidth:c,currentSlide:f,slideHeight:p,listHeight:d,lazyLoadedList:m=m.concat(h)};return null===e.autoplaying&&e.autoplay&&(y.autoplaying="playing"),y},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,o=e.fade,r=e.infinite,a=e.index,i=e.slideCount,s=e.lazyLoad,p=e.currentSlide,d=e.centerMode,f=e.slidesToScroll,m=e.slidesToShow,b=e.useCSS,g=e.lazyLoadedList;if(t&&n)return{};var h,v,w,O=a,_={},j={},k=r?a:c(a,0,i-1);if(o){if(!r&&(a<0||a>=i))return{};a<0?O=a+i:a>=i&&(O=a-i),s&&g.indexOf(O)<0&&(g=g.concat(O)),_={animating:!0,currentSlide:O,lazyLoadedList:g,targetSlide:O},j={animating:!1,targetSlide:O}}else h=O,O<0?(h=O+i,r?i%f!=0&&(h=i-i%f):h=0):!y(e)&&O>p?O=h=p:d&&O>=i?(O=r?i:i-1,h=r?0:i-1):O>=i&&(h=O-i,r?i%f!=0&&(h=0):h=i-m),!r&&O+m>=i&&(h=i-m),v=R(l(l({},e),{},{slideIndex:O})),w=R(l(l({},e),{},{slideIndex:h})),r||(v===w&&(O=h),v=w),s&&(g=g.concat(u(l(l({},e),{},{currentSlide:O})))),b?(_={animating:!0,currentSlide:h,trackStyle:E(l(l({},e),{},{left:v})),lazyLoadedList:g,targetSlide:k},j={animating:!1,currentSlide:h,trackStyle:C(l(l({},e),{},{left:w})),swipeLeft:null,targetSlide:k}):_={currentSlide:h,trackStyle:C(l(l({},e),{},{left:w})),lazyLoadedList:g,targetSlide:k};return{state:_,nextState:j}},t.changeSlide=function(e,t){var n,o,r,a,i=e.slidesToScroll,c=e.slidesToShow,s=e.slideCount,u=e.currentSlide,p=e.targetSlide,d=e.lazyLoad,f=e.infinite;if(n=s%i!=0?0:(s-u)%i,"previous"===t.message)a=u-(r=0===n?i:c-n),d&&!f&&(a=-1==(o=u-r)?s-1:o),f||(a=p-i);else if("next"===t.message)a=u+(r=0===n?i:n),d&&!f&&(a=(u+i)%s+n),f||(a=p+i);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,f){var m=P(l(l({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===m?a-=s:a<t.currentSlide&&"right"===m&&(a+=s)}}else"index"===t.message&&(a=Number(t.index));return a},t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""},t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&s(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var n=t.scrolling,o=t.animating,r=t.vertical,a=t.swipeToSlide,i=t.verticalSwiping,c=t.rtl,u=t.currentSlide,p=t.edgeFriction,d=t.edgeDragged,f=t.onEdge,m=t.swiped,b=t.swiping,g=t.slideCount,v=t.slidesToScroll,w=t.infinite,O=t.touchObject,_=t.swipeEvent,E=t.listHeight,j=t.listWidth;if(!n){if(o)return s(e);r&&a&&i&&s(e);var k,S={},P=R(t);O.curX=e.touches?e.touches[0].pageX:e.clientX,O.curY=e.touches?e.touches[0].pageY:e.clientY,O.swipeLength=Math.round(Math.sqrt(Math.pow(O.curX-O.startX,2)));var F=Math.round(Math.sqrt(Math.pow(O.curY-O.startY,2)));if(!i&&!b&&F>10)return{scrolling:!0};i&&(O.swipeLength=F);var A=(c?-1:1)*(O.curX>O.startX?1:-1);i&&(A=O.curY>O.startY?1:-1);var T=Math.ceil(g/v),B=h(t.touchObject,i),x=O.swipeLength;return w||(0===u&&("right"===B||"down"===B)||u+1>=T&&("left"===B||"up"===B)||!y(t)&&("left"===B||"up"===B))&&(x=O.swipeLength*p,!1===d&&f&&(f(B),S.edgeDragged=!0)),!m&&_&&(_(B),S.swiped=!0),k=r?P+x*(E/j)*A:c?P-x*A:P+x*A,i&&(k=P+x*A),S=l(l({},S),{},{touchObject:O,swipeLeft:k,trackStyle:C(l(l({},t),{},{left:k}))}),Math.abs(O.curX-O.startX)<.8*Math.abs(O.curY-O.startY)||O.swipeLength>10&&(S.swiping=!0,s(e)),S}},t.swipeEnd=function(e,t){var n=t.dragging,o=t.swipe,r=t.touchObject,a=t.listWidth,i=t.touchThreshold,c=t.verticalSwiping,u=t.listHeight,p=t.swipeToSlide,d=t.scrolling,f=t.onSwipe,m=t.targetSlide,b=t.currentSlide,g=t.infinite;if(!n)return o&&s(e),{};var y=c?u/i:a/i,v=h(r,c),_={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d)return _;if(!r.swipeLength)return _;if(r.swipeLength>y){var C,j;s(e),f&&f(v);var k=g?b:m;switch(v){case"left":case"up":j=k+O(t),C=p?w(t,j):j,_.currentDirection=0;break;case"right":case"down":j=k-O(t),C=p?w(t,j):j,_.currentDirection=1;break;default:C=k}_.triggerSlideHandler=C}else{var S=R(t);_.trackStyle=E(l(l({},t),{},{left:S}))}return _};var v=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,o=e.infinite?-1*e.slidesToShow:0,r=[];n<t;)r.push(n),n=o+e.slidesToScroll,o+=Math.min(e.slidesToScroll,e.slidesToShow);return r};t.getNavigableIndexes=v;var w=function(e,t){var n=v(e),o=0;if(t>n[n.length-1])t=n[n.length-1];else for(var r in n){if(t<n[r]){t=o;break}o=n[r]}return t};t.checkNavigable=w;var O=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,o=e.listRef,r=o.querySelectorAll&&o.querySelectorAll(".slick-slide")||[];if(Array.from(r).every((function(o){if(e.vertical){if(o.offsetTop+g(o)/2>-1*e.swipeLeft)return n=o,!1}else if(o.offsetLeft-t+b(o)/2>-1*e.swipeLeft)return n=o,!1;return!0})),!n)return 0;var a=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-a)||1}return e.slidesToScroll};t.getSlideCount=O;var _=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=_;var C=function(e){var t,n;_(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var o=e.slideCount+2*e.slidesToShow;e.vertical?n=o*e.slideHeight:t=S(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=l(l({},r),{},{WebkitTransform:a,transform:i,msTransform:c})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),n&&(r.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r};t.getTrackCSS=C;var E=function(e){_(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=C(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=E;var R=function(e){if(e.unslick)return 0;_(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,o=e.slideIndex,r=e.trackRef,a=e.infinite,l=e.centerMode,i=e.slideCount,c=e.slidesToShow,s=e.slidesToScroll,u=e.slideWidth,p=e.listWidth,d=e.variableWidth,f=e.slideHeight,m=e.fade,b=e.vertical;if(m||1===e.slideCount)return 0;var g=0;if(a?(g=-j(e),i%s!=0&&o+s>i&&(g=-(o>i?c-(o-i):i%s)),l&&(g+=parseInt(c/2))):(i%s!=0&&o+s>i&&(g=c-i%s),l&&(g=parseInt(c/2))),t=b?o*f*-1+g*f:o*u*-1+g*u,!0===d){var h,y=r&&r.node;if(h=o+j(e),t=(n=y&&y.childNodes[h])?-1*n.offsetLeft:0,!0===l){h=a?o+j(e):o,n=y&&y.children[h],t=0;for(var v=0;v<h;v++)t-=y&&y.children[v]&&y.children[v].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(p-n.offsetWidth)/2}}return t};t.getTrackLeft=R;var j=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=j;var k=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=k;var S=function(e){return 1===e.slideCount?1:j(e)+e.slideCount+k(e)};t.getTotalSlides=S;var P=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+F(e)?"left":"right":e.targetSlide<e.currentSlide-A(e)?"right":"left"};t.siblingDirection=P;var F=function(e){var t=e.slidesToShow,n=e.centerMode,o=e.rtl,r=e.centerPadding;if(n){var a=(t-1)/2+1;return parseInt(r)>0&&(a+=1),o&&t%2==0&&(a+=1),a}return o?0:t-1};t.slidesOnRight=F;var A=function(e){var t=e.slidesToShow,n=e.centerMode,o=e.rtl,r=e.centerPadding;if(n){var a=(t-1)/2+1;return parseInt(r)>0&&(a+=1),o||t%2!=0||(a+=1),a}return o?t-1:0};t.slidesOnLeft=A,t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},function(e,t){e.exports=window.wp.blocks},function(e){e.exports=JSON.parse('{"name":"woolentor/product-tab","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"columns":{"type":"number","default":4},"rows":{"type":"number","default":1},"productTab":{"type":"boolean","default":false},"slider":{"type":"boolean","default":false},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"slitems":{"type":"number","default":4},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"titleColor":{"type":"string","selector":".product-item .product-inner .content .title a"},"titleHoverColor":{"type":"string","selector":".product-item .product-inner .content .title a:hover"},"titleAlign":{"type":"string","selector":".product-item .product-inner .content .title"},"priceColor":{"type":"string","selector":".product-item .product-inner .content .price"},"actionBtnColor":{"type":"string","selector":".product-item .actions a"},"actionBtnBgColor":{"type":"string","selector":".product-item .actions"},"actionBtnHoverColor":{"type":"string","selector":".product-item .actions a:hover"},"actionBtnHoverBgColor":{"type":"string","selector":".product-item .actions:hover"},"contentAlign":{"type":"string","selector":".product-item .product-inner .content .price"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/promo-banner","category":"woolentor-blocks","attributes":{"style":{"type":"string","default":"1"},"contentAlignment":{"type":"string","default":"left"},"title":{"type":"string","default":"","selector":".banner_title"},"subTitle":{"type":"string","default":"","selector":".banner_subtitle"},"imgId":{"type":"number"},"imgUrl":{"type":"string","source":"attribute","attribute":"src","selector":"img"},"buttonUrl":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"buttonText":{"type":"string","source":"html","selector":"a"},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"titleColor":{"type":"string","selector":".woolentor-banner .banner_title"},"titleSize":{"type":"string"},"subTitleColor":{"type":"string","selector":".woolentor-banner .banner_subtitle"},"subTitleSize":{"type":"string"},"buttonColor":{"type":"string","selector":".woolentor-banner .banner_button"},"buttonSize":{"type":"string"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/special-day-offer","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"contentPosition":{"type":"string","default":"center"},"bannerImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Banner Title"},"subTitle":{"type":"string","default":"Banner Sub Title"},"bannerDescription":{"type":"string","default":"Banner Description"},"offerAmount":{"type":"string"},"offerTagLine":{"type":"string"},"bannerLink":{"type":"string"},"buttonText":{"type":"string"},"badgeImage":{"type":"object","default":{"id":null,"url":""}},"badgeHorizontalPos":{"type":"number","default":25},"badgeVerticlePos":{"type":"number"},"titleColor":{"type":"string","selector":".wlspcial-banner .banner-content h2"},"titleSize":{"type":"string","selector":".wlspcial-banner .banner-content h2"},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content h2"},"titlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content h2"},"titleSubColor":{"type":"string","selector":".wlspcial-banner .banner-content h6"},"titleSubSize":{"type":"string","selector":".wlspcial-banner .banner-content h6"},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"subTitlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"contentAlignment":{"type":"string","selector":".wlspcial-banner .banner-content"},"contentAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"contentAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"desColor":{"type":"string","selector":".wlspcial-banner .banner-content p"},"desSize":{"type":"string","selector":".wlspcial-banner .banner-content p"},"desMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content p"},"desPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content p"},"offerColor":{"type":"string","selector":".wlspcial-banner .banner-content h5"},"offerSize":{"type":"string","selector":".wlspcial-banner .banner-content h5"},"offerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content h5"},"offerTagColor":{"type":"string","selector":".wlspcial-banner .banner-content h5 span"},"offerTagSize":{"type":"string","selector":".wlspcial-banner .banner-content h5 span"},"offerTagMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content h5 span"},"buttonColor":{"type":"string","selector":".wlspcial-banner .banner-content a"},"buttonHoverColor":{"type":"string","selector":".wlspcial-banner .banner-content a:hover"},"buttonSize":{"type":"string","selector":".wlspcial-banner .banner-content a"},"buttonMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content a"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/image-marker","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"bgProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""}},"style":{"type":"string","default":"1"},"markerList":{"type":"array","default":[{"title":"Marker One","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":50,"verticle":15},{"title":"Marker Two","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":40,"verticle":20},{"title":"Marker Three","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":60,"verticle":30}]},"markerColor":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer::before"},"markerBGColor":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer"},"markerBorderColor":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer"},"markerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlb-marker-wrapper .wlb_image_pointer"},"markerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlb-marker-wrapper .wlb_image_pointer"},"markerContentBGColor":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box"},"markerContentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box"},"markerContentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box"},"markerTitleColor":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box h4"},"markerTitleSize":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box h4"},"markerTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box h4"},"markerDescriptionColor":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box p"},"markerDescriptionSize":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box p"},"markerDescriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box p"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/store-feature","category":"woolentor-blocks","supports":{"align":true},"attributes":{"blockUniqId":{"type":"string","default":""},"layout":{"type":"string","default":"1"},"featureImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Free shipping"},"subTitle":{"type":"string","default":"Start from $100"},"textAlignment":{"type":"string","default":"center"},"areaBorderColor":{"type":"string","selector":".ht-feature-wrap .ht-feature-inner"},"areaHoverBorderColor":{"type":"string","selector":".ht-feature-wrap:hover .ht-feature-inner"},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-feature-wrap"},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-feature-wrap"},"areaBackgroundColor":{"type":"string","selector":".ht-feature-wrap"},"titleColor":{"type":"string","selector":".ht-feature-wrap .ht-feature-content h4"},"titleSize":{"type":"string","selector":".ht-feature-wrap .ht-feature-content h4"},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-feature-wrap .ht-feature-content h4"},"subTitleColor":{"type":"string","selector":".ht-feature-wrap .ht-feature-content p"},"subTitleSize":{"type":"string","selector":".ht-feature-wrap .ht-feature-content p"},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-feature-wrap .ht-feature-content p"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/brand-logo","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"brandLogoList":{"type":"array","default":[{"title":"Brand Title One","image":{"id":"","url":""}},{"title":"Brand Title Two","image":{"id":"","url":""}},{"title":"Brand Title Three","image":{"id":"","url":""}}]},"columns":{"type":"object","default":{"desktop":6}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15},"singleItemAreaBorderType":{"type":"string","default":"","selector":".wl-single-brand"},"singleItemAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wl-single-brand"},"singleItemAreaBorderColor":{"type":"string","selector":".wl-single-brand"},"singleItemAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wl-single-brand"},"singleItemAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wl-single-brand"},"singleItemAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wl-single-brand"},"brandAlignment":{"type":"string","default":"center","selector":".wl-single-brand"},"brandImageBorderType":{"type":"string","default":"","selector":".wl-single-brand img"},"brandImageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wl-single-brand img"},"brandImageBorderColor":{"type":"string","selector":".wl-single-brand img"},"brandImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wl-single-brand img"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/category-grid","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"displayType":{"type":"string","default":"allCat"},"productCategory":{"type":"string"},"productCategories":{"type":"array","default":[]},"order":{"type":"string","default":"asc"},"displayLimit":{"type":"number","default":6},"showCount":{"type":"boolean","default":true},"imageSize":{"type":"string","default":"full"},"sliderOn":{"type":"boolean","default":false},"slitems":{"type":"number","default":3},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slIsrtl":{"type":"boolean","default":false},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"areaBackgroundColor":{"type":"string"},"imageBoxColor":{"type":"string","selector":".ht-category-wrap .ht-category-image a.ht-category-border::before"},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-category-wrap .ht-category-image"},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-category-wrap .ht-category-image"},"titleColor":{"type":"string","selector":".ht-category-wrap .ht-category-content h3 a"},"titleHoverColor":{"type":"string","selector":".ht-category-wrap .ht-category-content h3 a:hover"},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-category-wrap .ht-category-content h3"},"countColor":{"type":"string"},"countBeforeColor":{"type":"string"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/faq","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"faqList":{"type":"array","default":[{"title":"Words To Live By","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"Producing Perfume From Home","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"The Basics Of Western Astrology Explained","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"What Curling Irons Are The Best Ones","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."}]},"showFirstItem":{"type":"boolean","default":true},"iconPosition":{"type":"string","default":"right"},"headBackgroundColor":{"type":"string"},"faqTitleColor":{"type":"string"},"titleSize":{"type":"string"},"titleBorderType":{"type":"string"},"titleBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"titleBorderColor":{"type":"string"},"titleBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"iconColor":{"type":"string"},"activeHeadBackgroundColor":{"type":"string"},"activeFaqTitleColor":{"type":"string"},"activeIconColor":{"type":"string"},"contentColor":{"type":"string"},"contentSize":{"type":"string"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/product-curvy","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""}},"layout":{"type":"string"},"columns":{"type":"object","default":{"desktop":4}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"contentLimit":{"type":"number","default":6},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showContent":{"type":"boolean","default":true},"showRating":{"type":"boolean","default":true},"itemAreaBGColor":{"type":"string"},"itemMarginBottom":{"type":"number","default":15},"titleSize":{"type":"string"},"titleColor":{"type":"string"},"titleHoverColor":{"type":"string"},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"salePriceColor":{"type":"string"},"regulerPriceColor":{"type":"string"},"contentSize":{"type":"string"},"cotentColor":{"type":"string"},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"emptyRatingColor":{"type":"string"},"ratingColor":{"type":"string"},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"actionBtnAreaBGColor":{"type":"string"},"actionBtnColor":{"type":"string"},"actionBtnBGColor":{"type":"string"},"actionBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"actionBtnHoverColor":{"type":"string"},"actionBtnBgHoverColor":{"type":"string"},"imageBorderColor":{"type":"string"}}}')},function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=((o=n(32))&&o.__esModule?o:{default:o}).default;t.default=r},function(e,t,n){"use strict";e.exports=n(48)},function(e,t,n){"use strict";var o=n(23),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function c(e){return o.isMemo(e)?l:i[e.$$typeof]||r}i[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[o.Memo]=l;var s=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(m){var r=f(n);r&&r!==m&&e(t,r,o)}var l=u(n);p&&(l=l.concat(p(n)));for(var i=c(t),b=c(n),g=0;g<l.length;++g){var h=l[g];if(!(a[h]||o&&o[h]||b&&b[h]||i&&i[h])){var y=d(n,h);try{s(t,h,y)}catch(e){}}}}return t}},function(e,t){e.exports=window.wp.primitives},function(e,t,n){"use strict";var o,r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=(o={},function(e){return void 0===o[e]&&(o[e]=(t=e,r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),o[e];var t});t.a=a},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,o=e.length;n<o&&!1!==t(e[n],n);n++);}}},function(e,t){e.exports=function(e,t,n,o){var r=n?n.call(o,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var s=a[c];if(!i(s))return!1;var u=e[s],p=t[s];if(!1===(r=n?n.call(o,u,p,s):void 0)||void 0===r&&u!==p)return!1}return!0}},function(e,t,n){"use strict";t.a=function(e){function t(e,t,o){var r=t.trim().split(m);t=r;var a=r.length,l=e.length;switch(l){case 0:case 1:var i=0;for(e=0===l?"":e[0]+" ";i<a;++i)t[i]=n(e,t[i],o).trim();break;default:var c=i=0;for(t=[];i<a;++i)for(var s=0;s<l;++s)t[c++]=n(e[s]+" ",r[i],o).trim()}return t}function n(e,t,n){var o=t.charCodeAt(0);switch(33>o&&(o=(t=t.trim()).charCodeAt(0)),o){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,a){var l=e+";",i=2*t+3*n+4*a;if(944===i){e=l.indexOf(":",9)+1;var c=l.substring(e,l.length-1).trim();return c=l.substring(0,e).trim()+c+";",1===P||2===P&&r(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!r(l,1))return l;switch(i){case 1015:return 97===l.charCodeAt(10)?"-webkit-"+l+l:l;case 951:return 116===l.charCodeAt(3)?"-webkit-"+l+l:l;case 963:return 110===l.charCodeAt(5)?"-webkit-"+l+l:l;case 1009:if(100!==l.charCodeAt(4))break;case 969:case 942:return"-webkit-"+l+l;case 978:return"-webkit-"+l+"-moz-"+l+l;case 1019:case 983:return"-webkit-"+l+"-moz-"+l+"-ms-"+l+l;case 883:if(45===l.charCodeAt(8))return"-webkit-"+l+l;if(0<l.indexOf("image-set(",11))return l.replace(R,"$1-webkit-$2")+l;break;case 932:if(45===l.charCodeAt(4))switch(l.charCodeAt(5)){case 103:return"-webkit-box-"+l.replace("-grow","")+"-webkit-"+l+"-ms-"+l.replace("grow","positive")+l;case 115:return"-webkit-"+l+"-ms-"+l.replace("shrink","negative")+l;case 98:return"-webkit-"+l+"-ms-"+l.replace("basis","preferred-size")+l}return"-webkit-"+l+"-ms-"+l+l;case 964:return"-webkit-"+l+"-ms-flex-"+l+l;case 1023:if(99!==l.charCodeAt(8))break;return"-webkit-box-pack"+(c=l.substring(l.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+l+"-ms-flex-pack"+c+l;case 1005:return d.test(l)?l.replace(p,":-webkit-")+l.replace(p,":-moz-")+l:l;case 1e3:switch(t=(c=l.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=l.replace(v,"tb");break;case 232:c=l.replace(v,"tb-rl");break;case 220:c=l.replace(v,"lr");break;default:return l}return"-webkit-"+l+"-ms-"+c+l;case 1017:if(-1===l.indexOf("sticky",9))break;case 975:switch(t=(l=e).length-10,i=(c=(33===l.charCodeAt(t)?l.substring(0,t):l).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:l=l.replace(c,"-webkit-"+c)+";"+l;break;case 207:case 102:l=l.replace(c,"-webkit-"+(102<i?"inline-":"")+"box")+";"+l.replace(c,"-webkit-"+c)+";"+l.replace(c,"-ms-"+c+"box")+";"+l}return l+";";case 938:if(45===l.charCodeAt(5))switch(l.charCodeAt(6)){case 105:return c=l.replace("-items",""),"-webkit-"+l+"-webkit-box-"+c+"-ms-flex-"+c+l;case 115:return"-webkit-"+l+"-ms-flex-item-"+l.replace(_,"")+l;default:return"-webkit-"+l+"-ms-flex-line-pack"+l.replace("align-content","").replace(_,"")+l}break;case 973:case 989:if(45!==l.charCodeAt(3)||122===l.charCodeAt(4))break;case 931:case 953:if(!0===E.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,a).replace(":fill-available",":stretch"):l.replace(c,"-webkit-"+c)+l.replace(c,"-moz-"+c.replace("fill-",""))+l;break;case 962:if(l="-webkit-"+l+(102===l.charCodeAt(5)?"-ms-"+l:"")+l,211===n+a&&105===l.charCodeAt(13)&&0<l.indexOf("transform",10))return l.substring(0,l.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+l}return l}function r(e,t){var n=e.indexOf(1===t?":":"{"),o=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),B(2!==t?o:o.replace(C,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(O," or ($1)").substring(4):"("+t+")"}function l(e,t,n,o,r,a,l,i,s,u){for(var p,d=0,f=t;d<T;++d)switch(p=A[d].call(c,e,f,n,o,r,a,l,i,s,u)){case void 0:case!1:case!0:case null:break;default:f=p}if(f!==t)return f}function i(e){return void 0!==(e=e.prefix)&&(B=null,e?"function"!=typeof e?P=1:(P=2,B=e):P=0),i}function c(e,n){var i=e;if(33>i.charCodeAt(0)&&(i=i.trim()),i=[i],0<T){var c=l(-1,n,i,i,k,j,0,0,0,0);void 0!==c&&"string"==typeof c&&(n=c)}var p=function e(n,i,c,p,d){for(var f,m,b,v,O,_=0,C=0,E=0,R=0,A=0,B=0,z=b=f=0,D=0,M=0,L=0,I=0,N=c.length,H=N-1,W="",G="",q="",U="";D<N;){if(m=c.charCodeAt(D),D===H&&0!==C+R+E+_&&(0!==C&&(m=47===C?10:47),R=E=_=0,N++,H++),0===C+R+E+_){if(D===H&&(0<M&&(W=W.replace(u,"")),0<W.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:W+=c.charAt(D)}m=59}switch(m){case 123:for(f=(W=W.trim()).charCodeAt(0),b=1,I=++D;D<N;){switch(m=c.charCodeAt(D)){case 123:b++;break;case 125:b--;break;case 47:switch(m=c.charCodeAt(D+1)){case 42:case 47:e:{for(z=D+1;z<H;++z)switch(c.charCodeAt(z)){case 47:if(42===m&&42===c.charCodeAt(z-1)&&D+2!==z){D=z+1;break e}break;case 10:if(47===m){D=z+1;break e}}D=z}}break;case 91:m++;case 40:m++;case 34:case 39:for(;D++<H&&c.charCodeAt(D)!==m;);}if(0===b)break;D++}switch(b=c.substring(I,D),0===f&&(f=(W=W.replace(s,"").trim()).charCodeAt(0)),f){case 64:switch(0<M&&(W=W.replace(u,"")),m=W.charCodeAt(1)){case 100:case 109:case 115:case 45:M=i;break;default:M=F}if(I=(b=e(i,M,b,m,d+1)).length,0<T&&(O=l(3,b,M=t(F,W,L),i,k,j,I,m,d,p),W=M.join(""),void 0!==O&&0===(I=(b=O.trim()).length)&&(m=0,b="")),0<I)switch(m){case 115:W=W.replace(w,a);case 100:case 109:case 45:b=W+"{"+b+"}";break;case 107:b=(W=W.replace(g,"$1 $2"))+"{"+b+"}",b=1===P||2===P&&r("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=W+b,112===p&&(G+=b,b="")}else b="";break;default:b=e(i,t(i,W,L),b,p,d+1)}q+=b,b=L=M=z=f=0,W="",m=c.charCodeAt(++D);break;case 125:case 59:if(1<(I=(W=(0<M?W.replace(u,""):W).trim()).length))switch(0===z&&(f=W.charCodeAt(0),45===f||96<f&&123>f)&&(I=(W=W.replace(" ",":")).length),0<T&&void 0!==(O=l(1,W,i,n,k,j,G.length,p,d,p))&&0===(I=(W=O.trim()).length)&&(W="\0\0"),f=W.charCodeAt(0),m=W.charCodeAt(1),f){case 0:break;case 64:if(105===m||99===m){U+=W+c.charAt(D);break}default:58!==W.charCodeAt(I-1)&&(G+=o(W,f,m,W.charCodeAt(2)))}L=M=z=f=0,W="",m=c.charCodeAt(++D)}}switch(m){case 13:case 10:47===C?C=0:0===1+f&&107!==p&&0<W.length&&(M=1,W+="\0"),0<T*x&&l(0,W,i,n,k,j,G.length,p,d,p),j=1,k++;break;case 59:case 125:if(0===C+R+E+_){j++;break}default:switch(j++,v=c.charAt(D),m){case 9:case 32:if(0===R+_+C)switch(A){case 44:case 58:case 9:case 32:v="";break;default:32!==m&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===R+C+_&&(M=L=1,v="\f"+v);break;case 108:if(0===R+C+_+S&&0<z)switch(D-z){case 2:112===A&&58===c.charCodeAt(D-3)&&(S=A);case 8:111===B&&(S=B)}break;case 58:0===R+C+_&&(z=D);break;case 44:0===C+E+R+_&&(M=1,v+="\r");break;case 34:case 39:0===C&&(R=R===m?0:0===R?m:R);break;case 91:0===R+C+E&&_++;break;case 93:0===R+C+E&&_--;break;case 41:0===R+C+_&&E--;break;case 40:if(0===R+C+_){if(0===f)switch(2*A+3*B){case 533:break;default:f=1}E++}break;case 64:0===C+E+R+_+z+b&&(b=1);break;case 42:case 47:if(!(0<R+_+E))switch(C){case 0:switch(2*m+3*c.charCodeAt(D+1)){case 235:C=47;break;case 220:I=D,C=42}break;case 42:47===m&&42===A&&I+2!==D&&(33===c.charCodeAt(I+2)&&(G+=c.substring(I,D+1)),v="",C=0)}}0===C&&(W+=v)}B=A,A=m,D++}if(0<(I=G.length)){if(M=i,0<T&&void 0!==(O=l(2,G,M,n,k,j,I,p,d,p))&&0===(G=O).length)return U+G+q;if(G=M.join(",")+"{"+G+"}",0!=P*S){switch(2!==P||r(G,2)||(S=0),S){case 111:G=G.replace(y,":-moz-$1")+G;break;case 112:G=G.replace(h,"::-webkit-input-$1")+G.replace(h,"::-moz-$1")+G.replace(h,":-ms-input-$1")+G}S=0}}return U+G+q}(F,i,n,0,0);return 0<T&&void 0!==(c=l(-2,p,i,i,k,j,p.length,0,0,0))&&(p=c),S=0,j=k=1,p}var s=/^\0+/g,u=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,f=/([,: ])(transform)/g,m=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,h=/::(place)/g,y=/:(read-only)/g,v=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,_=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,E=/stretch|:\s*\w+\-(?:conte|avail)/,R=/([^-])(image-set\()/,j=1,k=1,S=0,P=1,F=[],A=[],T=0,B=null,x=0;return c.use=function e(t){switch(t){case void 0:case null:T=A.length=0;break;default:if("function"==typeof t)A[T++]=t;else if("object"==typeof t)for(var n=0,o=t.length;n<o;++n)e(t[n]);else x=0|!!t}return e},c.set=i,void 0!==e&&i(e),c}},function(e,t,n){"use strict";t.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(n(4)),r=n(33),a=c(n(40)),l=c(n(42)),i=n(11);function c(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=(0,i.canUseDOM)()&&n(43),w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(w,e);var t,n,c,s,p=(c=w,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(c);if(s){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return b(this,e)});function w(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),y(g(t=p.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),y(g(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),y(g(t),"slickNext",(function(){return t.innerSlider.slickNext()})),y(g(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),y(g(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),y(g(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=w,(n=[{key:"media",value:function(e,t){v.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,o){var r;r=0===o?(0,a.default)({minWidth:0,maxWidth:n}):(0,a.default)({minWidth:t[o-1]+1,maxWidth:n}),(0,i.canUseDOM)()&&e.media(r,(function(){e.setState({breakpoint:n})}))}));var n=(0,a.default)({minWidth:t.slice(-1)[0]});(0,i.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){v.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":d(d(d({},l.default),this.props),t[0].settings):d(d({},l.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var a=o.default.Children.toArray(this.props.children);a=a.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var i=[],c=null,s=0;s<a.length;s+=e.rows*e.slidesPerRow){for(var p=[],f=s;f<s+e.rows*e.slidesPerRow;f+=e.slidesPerRow){for(var m=[],b=f;b<f+e.slidesPerRow&&(e.variableWidth&&a[b].props.style&&(c=a[b].props.style.width),!(b>=a.length));b+=1)m.push(o.default.cloneElement(a[b],{key:100*s+10*f+b,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));p.push(o.default.createElement("div",{key:10*s+f},m))}e.variableWidth?i.push(o.default.createElement("div",{key:s,style:{width:c}},p)):i.push(o.default.createElement("div",{key:s},p))}if("unslick"===e){var g="regular slider "+(this.props.className||"");return o.default.createElement("div",{className:g},a)}return i.length<=e.slidesToShow&&(e.unslick=!0),o.default.createElement(r.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),i)}}])&&f(t.prototype,n),w}(o.default.Component);t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var o=d(n(4)),r=d(n(34)),a=d(n(35)),l=d(n(5)),i=n(11),c=n(36),s=n(37),u=n(38),p=d(n(39));function d(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function b(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(R,e);var t,n,d,g,E=(d=R,g=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=_(d);if(g){var n=_(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return w(this,e)});function R(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,R),C(O(t=E.call(this,e)),"listRefHandler",(function(e){return t.list=e})),C(O(t),"trackRefHandler",(function(e){return t.track=e})),C(O(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,i.getHeight)(e)+"px"}})),C(O(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,i.getOnDemandLazySlides)(h(h({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=h({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new p.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),C(O(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),C(O(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,i.getOnDemandLazySlides)(h(h({},t.props),t.state));n.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var r=h(h({listRef:t.list,trackRef:t.track},t.props),t.state),a=t.didPropsChange(e);a&&t.updateState(r,a,(function(){t.state.currentSlide>=o.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:o.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),C(O(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,a.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),C(O(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=Boolean(t.track&&t.track.node);if(n){var o=h(h({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(o,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),C(O(t),"updateState",(function(e,n,r){var a=(0,i.initializedState)(e);e=h(h(h({},e),a),{},{slideIndex:a.currentSlide});var l=(0,i.getTrackLeft)(e);e=h(h({},e),{},{left:l});var c=(0,i.getTrackCSS)(e);(n||o.default.Children.count(t.props.children)!==o.default.Children.count(e.children))&&(a.trackStyle=c),t.setState(a,r)})),C(O(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,r=[],a=(0,i.getPreClones)(h(h(h({},t.props),t.state),{},{slideCount:t.props.children.length})),l=(0,i.getPostClones)(h(h(h({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){r.push(t.props.style.width),e+=t.props.style.width}));for(var c=0;c<a;c++)n+=r[r.length-1-c],e+=r[r.length-1-c];for(var s=0;s<l;s++)e+=r[s];for(var u=0;u<t.state.currentSlide;u++)n+=r[u];var p={width:e+"px",left:-n+"px"};if(t.props.centerMode){var d="".concat(r[t.state.currentSlide],"px");p.left="calc(".concat(p.left," + (100% - ").concat(d,") / 2 ) ")}return{trackStyle:p}}var f=o.default.Children.count(t.props.children),m=h(h(h({},t.props),t.state),{},{slideCount:f}),b=(0,i.getPreClones)(m)+(0,i.getPostClones)(m)+f,g=100/t.props.slidesToShow*b,y=100/b,v=-y*((0,i.getPreClones)(m)+t.state.currentSlide)*g/100;return t.props.centerMode&&(v+=(100-y*g/100)/2),{slideWidth:y+"%",trackStyle:{width:g+"%",left:v+"%"}}})),C(O(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,o=0;Array.prototype.forEach.call(e,(function(e){var r=function(){return++o&&o>=n&&t.onWindowResized()};if(e.onclick){var a=e.onclick;e.onclick=function(){a(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=r,e.onerror=function(){r(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),C(O(t),"progressiveLazyLoad",(function(){for(var e=[],n=h(h({},t.props),t.state),o=t.state.currentSlide;o<t.state.slideCount+(0,i.getPostClones)(n);o++)if(t.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}for(var r=t.state.currentSlide-1;r>=-(0,i.getPreClones)(n);r--)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),C(O(t),"slideHandler",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=t.props,r=o.asNavFor,a=o.beforeChange,l=o.onLazyLoad,c=o.speed,s=o.afterChange,u=t.state.currentSlide,p=(0,i.slideHandler)(h(h(h({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),d=p.state,f=p.nextState;if(d){a&&a(u,d.currentSlide);var m=d.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));l&&m.length>0&&l(m),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),s&&s(u),delete t.animationEndCallback),t.setState(d,(function(){r&&t.asNavForIndex!==e&&(t.asNavForIndex=e,r.innerSlider.slideHandler(e)),f&&(t.animationEndCallback=setTimeout((function(){var e=f.animating,n=b(f,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),s&&s(d.currentSlide),delete t.animationEndCallback}))}),c))}))}})),C(O(t),"changeSlide",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=h(h({},t.props),t.state),r=(0,i.changeSlide)(o,e);if((0===r||r)&&(!0===n?t.slideHandler(r,n):t.slideHandler(r),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var a=t.list.querySelectorAll(".slick-current");a[0]&&a[0].focus()}})),C(O(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),C(O(t),"keyHandler",(function(e){var n=(0,i.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==n&&t.changeSlide({message:n})})),C(O(t),"selectHandler",(function(e){t.changeSlide(e)})),C(O(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),C(O(t),"enableBodyScroll",(function(){window.ontouchmove=null})),C(O(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,i.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)})),C(O(t),"swipeMove",(function(e){var n=(0,i.swipeMove)(e,h(h(h({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))})),C(O(t),"swipeEnd",(function(e){var n=(0,i.swipeEnd)(e,h(h(h({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var o=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==o&&(t.slideHandler(o),t.props.verticalSwiping&&t.enableBodyScroll())}})),C(O(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),C(O(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),C(O(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),C(O(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),C(O(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,i.canGoNext)(h(h({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),C(O(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),C(O(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),C(O(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),C(O(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),C(O(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),C(O(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),C(O(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),C(O(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),C(O(t),"render",(function(){var e,n,r,a=(0,l.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),p=h(h({},t.props),t.state),d=(0,i.extractObject)(p,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),f=t.props.pauseOnHover;if(d=h(h({},d),{},{onMouseEnter:f?t.onTrackOver:null,onMouseLeave:f?t.onTrackLeave:null,onMouseOver:f?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var b=(0,i.extractObject)(p,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),g=t.props.pauseOnDotsHover;b=h(h({},b),{},{clickHandler:t.changeSlide,onMouseEnter:g?t.onDotsLeave:null,onMouseOver:g?t.onDotsOver:null,onMouseLeave:g?t.onDotsLeave:null}),e=o.default.createElement(s.Dots,b)}var y=(0,i.extractObject)(p,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);y.clickHandler=t.changeSlide,t.props.arrows&&(n=o.default.createElement(u.PrevArrow,y),r=o.default.createElement(u.NextArrow,y));var v=null;t.props.vertical&&(v={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var O=h(h({},v),w),_=t.props.touchMove,C={className:"slick-list",style:O,onClick:t.clickHandler,onMouseDown:_?t.swipeStart:null,onMouseMove:t.state.dragging&&_?t.swipeMove:null,onMouseUp:_?t.swipeEnd:null,onMouseLeave:t.state.dragging&&_?t.swipeEnd:null,onTouchStart:_?t.swipeStart:null,onTouchMove:t.state.dragging&&_?t.swipeMove:null,onTouchEnd:_?t.touchEnd:null,onTouchCancel:t.state.dragging&&_?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},E={className:a,dir:"ltr",style:t.props.style};return t.props.unslick&&(C={className:"slick-list"},E={className:a}),o.default.createElement("div",E,t.props.unslick?"":n,o.default.createElement("div",m({ref:t.listRefHandler},C),o.default.createElement(c.Track,m({ref:t.trackRefHandler},d),t.props.children)),t.props.unslick?"":r,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=h(h({},r.default),{},{currentSlide:t.props.initialSlide,slideCount:o.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=h(h({},t.state),n),t}return t=R,(n=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,r=Object.keys(this.props);n<r.length;n++){var a=r[n];if(!e.hasOwnProperty(a)){t=!0;break}if("object"!==f(e[a])&&"function"!=typeof e[a]&&e[a]!==this.props[a]){t=!0;break}}return t||o.default.Children.count(this.props.children)!==o.default.Children.count(e.children)}}])&&y(t.prototype,n),R}(o.default.Component);t.InnerSlider=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,i="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,s=i||c||Function("return this")(),u=Object.prototype.toString,p=Math.max,d=Math.min,f=function(){return s.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var i=r.test(e);return i||a.test(e)?l(e.slice(2),i?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var o,r,a,l,i,c,s=0,u=!1,g=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=o,a=r;return o=r=void 0,s=t,l=e.apply(a,n)}function v(e){return s=e,i=setTimeout(O,t),u?y(e):l}function w(e){var n=e-c;return void 0===c||n>=t||n<0||g&&e-s>=a}function O(){var e=f();if(w(e))return _(e);i=setTimeout(O,function(e){var n=t-(e-c);return g?d(n,a-(e-s)):n}(e))}function _(e){return i=void 0,h&&o?y(e):(o=r=void 0,l)}function C(){var e=f(),n=w(e);if(o=arguments,r=this,c=e,n){if(void 0===i)return v(c);if(g)return i=setTimeout(O,t),y(c)}return void 0===i&&(i=setTimeout(O,t)),l}return t=b(t)||0,m(n)&&(u=!!n.leading,a=(g="maxWait"in n)?p(b(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),C.cancel=function(){void 0!==i&&clearTimeout(i),s=0,o=c=r=i=void 0},C.flush=function(){return void 0===i?l:_(f())},C}}).call(this,n(27))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var o=l(n(4)),r=l(n(5)),a=n(11);function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){var t,n,o,r,a;return o=(a=e.rtl?e.slideCount-1-e.index:e.index)<0||a>=e.slideCount,e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(a-e.currentSlide)%e.slideCount==0,a>e.currentSlide-r-1&&a<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=a&&a<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":o,"slick-current":a===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},v=function(e,t){return e.key||t},w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(w,e);var t,n,l,i,b=(l=w,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(l);if(i){var n=m(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function w(){var e;s(this,w);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return h(f(e=b.call.apply(b,[this].concat(n))),"node",null),h(f(e),"handleRef",(function(t){e.node=t})),e}return t=w,(n=[{key:"render",value:function(){var e=function(e){var t,n=[],l=[],i=[],c=o.default.Children.count(e.children),s=(0,a.lazyStartIndex)(e),u=(0,a.lazyEndIndex)(e);return o.default.Children.forEach(e.children,(function(p,d){var f,m={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};f=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(d)>=0?p:o.default.createElement("div",null);var b=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(g(g({},e),{},{index:d})),h=f.props.className||"",w=y(g(g({},e),{},{index:d}));if(n.push(o.default.cloneElement(f,{key:"original"+v(f,d),"data-index":d,className:(0,r.default)(w,h),tabIndex:"-1","aria-hidden":!w["slick-active"],style:g(g({outline:"none"},f.props.style||{}),b),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})),e.infinite&&!1===e.fade){var O=c-d;O<=(0,a.getPreClones)(e)&&c!==e.slidesToShow&&((t=-O)>=s&&(f=p),w=y(g(g({},e),{},{index:t})),l.push(o.default.cloneElement(f,{key:"precloned"+v(f,t),"data-index":t,tabIndex:"-1",className:(0,r.default)(w,h),"aria-hidden":!w["slick-active"],style:g(g({},f.props.style||{}),b),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}}))),c!==e.slidesToShow&&((t=c+d)<u&&(f=p),w=y(g(g({},e),{},{index:t})),i.push(o.default.cloneElement(f,{key:"postcloned"+v(f,t),"data-index":t,tabIndex:"-1",className:(0,r.default)(w,h),"aria-hidden":!w["slick-active"],style:g(g({},f.props.style||{}),b),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})))}})),e.rtl?l.concat(n,i).reverse():l.concat(n,i)}(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return o.default.createElement("div",c({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&u(t.prototype,n),w}(o.default.PureComponent);t.Track=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var o=l(n(4)),r=l(n(5)),a=n(11);function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(g,e);var t,n,l,i,b=(l=g,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(l);if(i){var n=m(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function g(){return u(this,g),b.apply(this,arguments)}return t=g,(n=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,l=t.onMouseOver,i=t.onMouseLeave,u=t.infinite,p=t.slidesToScroll,d=t.slidesToShow,f=t.slideCount,m=t.currentSlide,b=(e={slideCount:f,slidesToScroll:p,slidesToShow:d,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,g={onMouseEnter:n,onMouseOver:l,onMouseLeave:i},h=[],y=0;y<b;y++){var v=(y+1)*p-1,w=u?v:(0,a.clamp)(v,0,f-1),O=w-(p-1),_=u?O:(0,a.clamp)(O,0,f-1),C=(0,r.default)({"slick-active":u?m>=_&&m<=w:m===_}),E={message:"dots",index:y,slidesToScroll:p,currentSlide:m},R=this.clickHandler.bind(this,E);h=h.concat(o.default.createElement("li",{key:y,className:C},o.default.cloneElement(this.props.customPaging(y),{onClick:R})))}return o.default.cloneElement(this.props.appendDots(h),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},g))}}])&&p(t.prototype,n),g}(o.default.PureComponent);t.Dots=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var o=l(n(4)),r=l(n(5)),a=n(11);function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");var n,o;e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(n=e,o=t,(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(n,o))}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=y(e);if(t){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){b(n,e);var t=g(n);function n(){return d(this,n),t.apply(this,arguments)}return m(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,r.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?o.default.cloneElement(this.props.prevArrow,u(u({},n),a)):o.default.createElement("button",c({key:"0",type:"button"},n)," ","Previous")}}]),n}(o.default.PureComponent);t.PrevArrow=v;var w=function(e){b(n,e);var t=g(n);function n(){return d(this,n),t.apply(this,arguments)}return m(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,r.default)(e),style:{display:"block"},onClick:t},l={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?o.default.cloneElement(this.props.nextArrow,u(u({},n),l)):o.default.createElement("button",c({key:"1",type:"button"},n)," ","Next")}}]),n}(o.default.PureComponent);t.NextArrow=w},function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,r=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},l=["top","right","bottom","left","width","height","size","weight"],i="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function l(){n&&(n=!1,e()),o&&c()}function i(){a(l)}function c(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(i,20);r=e}return c}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),i?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),s=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||r},p=g(0,0,0,0);function d(e){return parseFloat(e)||0}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return o?m(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var o=u(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],a=e["padding-"+r];t[r]=d(a)}return t}(o),a=r.left+r.right,l=r.top+r.bottom,i=d(o.width),c=d(o.height);if("border-box"===o.boxSizing&&(Math.round(i+a)!==t&&(i-=f(o,"left","right")+a),Math.round(c+l)!==n&&(c-=f(o,"top","bottom")+l)),!function(e){return e===u(e).document.documentElement}(e)){var s=Math.round(i+a)-t,m=Math.round(c+l)-n;1!==Math.abs(s)&&(i-=s),1!==Math.abs(m)&&(c-=m)}return g(r.left,r.top,i,c)}(e):p}function g(e,t,n,o){return{x:e,y:t,width:n,height:o}}var h=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var n,o,r,a,l,i,c,u=(o=(n=t).x,r=n.y,a=n.width,l=n.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(i.prototype),s(c,{x:o,y:r,width:a,height:l,top:r,right:o+a,bottom:l+r,left:o}),c);s(this,{target:e,contentRect:u})},v=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new h(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new y(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new n,O=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),o=new v(t,n,this);w.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}}));var _=void 0!==r.ResizeObserver?r.ResizeObserver:O;t.default=_}.call(this,n(27))},function(e,t,n){var o=n(41),r=function(e){var t="",n=Object.keys(e);return n.forEach((function(r,a){var l=e[r];(function(e){return/[height|width]$/.test(e)})(r=o(r))&&"number"==typeof l&&(l+="px"),t+=!0===l?r:!1===l?"not "+r:"("+r+": "+l+")",a<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,o){t+=r(n),o<e.length-1&&(t+=", ")})),t):r(e)}},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=(o=n(4))&&o.__esModule?o:{default:o},a={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return r.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return r.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=a},function(e,t,n){var o=n(44);e.exports=new o},function(e,t,n){var o=n(45),r=n(28),a=r.each,l=r.isFunction,i=r.isArray;function c(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}c.prototype={constructor:c,register:function(e,t,n){var r=this.queries,c=n&&this.browserIsIncapable;return r[e]||(r[e]=new o(e,c)),l(t)&&(t={match:t}),i(t)||(t=[t]),a(t,(function(t){l(t)&&(t={match:t}),r[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=c},function(e,t,n){var o=n(46),r=n(28).each;function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}a.prototype={constuctor:a,addHandler:function(e){var t=new o(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;r(t,(function(n,o){if(n.equals(e))return n.destroy(),!t.splice(o,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){r(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";r(this.handlers,(function(t){t[e]()}))}},e.exports=a},function(e,t){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n},function(e,t){var n,o,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{o="function"==typeof clearTimeout?clearTimeout:l}catch(e){o=l}}();var c,s=[],u=!1,p=-1;function d(){u&&c&&(u=!1,c.length?s=c.concat(s):p=-1,s.length&&f())}function f(){if(!u){var e=i(d);u=!0;for(var t=s.length;t;){for(c=s,s=[];++p<t;)c&&c[p].run();p=-1,t=s.length}c=null,u=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===l||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function b(){}r.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];s.push(new m(e,t)),1!==s.length||u||i(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=b,r.addListener=b,r.once=b,r.off=b,r.removeListener=b,r.removeAllListeners=b,r.emit=b,r.prependListener=b,r.prependOnceListener=b,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,i=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,d=o?Symbol.for("react.concurrent_mode"):60111,f=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,b=o?Symbol.for("react.suspense_list"):60120,g=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,y=o?Symbol.for("react.block"):60121,v=o?Symbol.for("react.fundamental"):60117,w=o?Symbol.for("react.responder"):60118,O=o?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case p:case d:case l:case c:case i:case m:return e;default:switch(e=e&&e.$$typeof){case u:case f:case h:case g:case s:return e;default:return t}}case a:return t}}}function C(e){return _(e)===d}t.AsyncMode=p,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=l,t.Lazy=h,t.Memo=g,t.Portal=a,t.Profiler=c,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return C(e)||_(e)===p},t.isConcurrentMode=C,t.isContextConsumer=function(e){return _(e)===u},t.isContextProvider=function(e){return _(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===f},t.isFragment=function(e){return _(e)===l},t.isLazy=function(e){return _(e)===h},t.isMemo=function(e){return _(e)===g},t.isPortal=function(e){return _(e)===a},t.isProfiler=function(e){return _(e)===c},t.isStrictMode=function(e){return _(e)===i},t.isSuspense=function(e){return _(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===d||e===c||e===i||e===m||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===w||e.$$typeof===O||e.$$typeof===y)},t.typeOf=_},function(e,t,n){"use strict";n.r(t),n.d(t,"registerWoolentorBlocks",(function(){return Mr}));var o={};n.r(o),n.d(o,"name",(function(){return ue})),n.d(o,"category",(function(){return pe})),n.d(o,"metadata",(function(){return se})),n.d(o,"settings",(function(){return fe}));var r={};n.r(r),n.d(r,"name",(function(){return Me})),n.d(r,"category",(function(){return Le})),n.d(r,"metadata",(function(){return ze})),n.d(r,"settings",(function(){return Ne}));var a={};n.r(a),n.d(a,"name",(function(){return Ct})),n.d(a,"category",(function(){return Et})),n.d(a,"metadata",(function(){return Ot})),n.d(a,"settings",(function(){return jt}));var l={};n.r(l),n.d(l,"name",(function(){return sn})),n.d(l,"category",(function(){return un})),n.d(l,"metadata",(function(){return ln})),n.d(l,"settings",(function(){return dn}));var i={};n.r(i),n.d(i,"name",(function(){return Dn})),n.d(i,"category",(function(){return Mn})),n.d(i,"metadata",(function(){return xn})),n.d(i,"settings",(function(){return In}));var c={};n.r(c),n.d(c,"name",(function(){return lo})),n.d(c,"category",(function(){return io})),n.d(c,"metadata",(function(){return ro})),n.d(c,"settings",(function(){return so}));var s={};n.r(s),n.d(s,"name",(function(){return Ao})),n.d(s,"category",(function(){return To})),n.d(s,"metadata",(function(){return Po})),n.d(s,"settings",(function(){return xo}));var u={};n.r(u),n.d(u,"name",(function(){return rr})),n.d(u,"category",(function(){return ar})),n.d(u,"metadata",(function(){return nr})),n.d(u,"settings",(function(){return ir}));var p={};n.r(p),n.d(p,"name",(function(){return Fr})),n.d(p,"category",(function(){return Ar})),n.d(p,"metadata",(function(){return Sr})),n.d(p,"settings",(function(){return Br}));var d=n(12),f=n(0),m=n(1);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var g,h=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"20",height:"20",viewBox:"0 0 40 40"},React.createElement("image",{id:"woolentor-logo",width:"40",height:"40",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"}));Object(d.setCategories)([{slug:"woolentor-blocks",title:Object(f.__)("WooLentor","woolentor"),icon:React.createElement(m.Icon,{icon:h})}].concat(function(e){if(Array.isArray(e))return b(e)}(g=Object(d.getCategories)().filter((function(e){return"woolentor-blocks"!==e.slug})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(g)||function(e,t){if(e){if("string"==typeof e)return b(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,void 0):void 0}}(g)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var y=n(2),v=n(9),w=n(10);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return E(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,void 0):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){if(t&&("object"===O(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=P(o);if(r){var n=P(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return S(this,e)});function l(){return R(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e,t=this.props,n=t.setAttributes,o=t.selectedTaxonomies,r=t.attributesKey,a=t.title,l=t.type,i=t.taxnomiesList,c=function(){var e=[];return i&&i.forEach((function(t,n){e.push({label:t.name,value:t.slug})})),e};if("multiple"==l){var s=c();s.length>0&&(e=s.map((function(e,t){return React.createElement(m.CheckboxControl,{key:e.value,label:e.label,onChange:function(t){return function(e,t){var a=-1!==o.indexOf(t)?C(o):[].concat(C(o),[t]);if(0==e){var l=a.indexOf(t);a.splice(l,1)}n(_({},r,a))}(t,e.value)},checked:-1!==o.indexOf(e.value)})})))}return React.createElement(y.Fragment,null,React.createElement("div",{className:"woolentor-component-taxonomy-area"},"single"!=l&&React.createElement("h2",{className:"woolentor-component-area-title"},a),React.createElement("div",{className:"woolentor-component-taxonomy-fileds"},"single"==l?0==c().length?React.createElement(m.Spinner,null):React.createElement(m.SelectControl,{label:a,value:o,options:c(),onChange:function(e){return n(_({},r,e))}}):e||React.createElement(m.Spinner,null))))}}])&&j(t.prototype,n),l}(y.Component),A=Object(v.compose)([Object(w.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomy?t.taxonomy:"product_cat",{orderby:"name",order:"asc",hide_empty:!0})}}))])(F),T=n(3);function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){D(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){if(t&&("object"===B(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W,G,q=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=H(o);if(r){var n=H(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return N(this,e)});function l(){return M(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,o=t.style,r=t.columns,a=t.rows,l=t.productTab,i=t.slider,c=t.productFilterType,s=t.perPage,u=t.customOrder,p=t.orderBy,d=t.order,b=t.selectedCategories,g=t.slitems,h=t.slarrows,v=t.sldots,w=t.slpauseOnHover,O=t.slautolay,_=t.slautoplaySpeed,C=t.slanimationSpeed,E=t.slscrollItem,R=t.sltabletDisplayColumns,j=t.sltabletScrollColumns,k=t.sltabletWidth,S=t.slMobileDisplayColumns,P=t.slMobileScrollColumns,F=t.slMobileWidth,B={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"};return React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Layout","woolentor"),initialOpen:!0},React.createElement(m.SelectControl,{label:Object(f.__)("Product Style","woolentor"),value:o,options:[{label:Object(f.__)("Style One","woolentor"),value:"1"},{label:Object(f.__)("Style Two","woolentor"),value:"2"},{label:Object(f.__)("Style Three","woolentor"),value:"3"}],onChange:function(e){return n({style:e})}}),React.createElement(m.RangeControl,{label:Object(f.__)("Columns","woolentor"),value:r,onChange:function(e){return n({columns:e})},min:1,step:1,max:6}),React.createElement(m.RangeControl,{label:Object(f.__)("Rows","woolentor"),value:a,onChange:function(e){return n({rows:e})},min:1,step:1,max:20}),React.createElement(m.ToggleControl,{label:Object(f.__)("Tab","woolentor"),checked:l,help:l?Object(f.__)("Enable product tab.","woolentor"):Object(f.__)("Toggle to show the tab layout.","woolentor"),onChange:function(){return n({productTab:!l})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider","woolentor"),checked:i,help:i?Object(f.__)("Enable product slider ( When product tab is off, Then working slider ).","woolentor"):Object(f.__)("Toggle to show the slider layout.","woolentor"),onChange:function(){return n({slider:!i})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Query Options","woolentor"),initialOpen:!1},React.createElement(m.SelectControl,{label:Object(f.__)("Filter By","woolentor"),value:c,options:[{label:Object(f.__)("Recent Products","woolentor"),value:"recent"},{label:Object(f.__)("Featured Products","woolentor"),value:"featured"},{label:Object(f.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:Object(f.__)("Sale Products","woolentor"),value:"sale"},{label:Object(f.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:Object(f.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return n({productFilterType:e})}}),React.createElement(m.RangeControl,{label:Object(f.__)("Number Of Products","woolentor"),value:s,onChange:function(e){return n({perPage:e})},min:1,step:1,max:1e3}),React.createElement(m.ToggleControl,{label:Object(f.__)("Custom Order","woolentor"),checked:u,help:u?Object(f.__)("Enable custom order.","woolentor"):Object(f.__)("Toggle to show the custom order.","woolentor"),onChange:function(){return n({customOrder:!u})}}),React.createElement(A,{title:Object(f.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:n,selectedTaxonomies:b,type:"multiple"}),u?React.createElement(React.Fragment,null,React.createElement(m.SelectControl,{label:Object(f.__)("Order","woolentor"),value:d,options:[{label:Object(f.__)("Descending","woolentor"),value:"DESC"},{label:Object(f.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return n({order:e})}}),React.createElement(m.SelectControl,{label:Object(f.__)("Orderby","woolentor"),value:p,options:[{label:Object(f.__)("None","woolentor"),value:"none"},{label:Object(f.__)("ID","woolentor"),value:"ID"},{label:Object(f.__)("Date","woolentor"),value:"date"},{label:Object(f.__)("Name","woolentor"),value:"name"},{label:Object(f.__)("Title","woolentor"),value:"title"},{label:Object(f.__)("Comment count","woolentor"),value:"comment_count"},{label:Object(f.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return n({orderBy:e})}})):""),1==i&&React.createElement(m.PanelBody,{title:Object(f.__)("Slider Options","woolentor"),initialOpen:!1},React.createElement(m.RangeControl,{label:Object(f.__)("Slider Items","woolentor"),value:g,onChange:function(e){return n({slitems:e})},min:1,step:1,max:10}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider Arrow","woolentor"),checked:h,help:h?Object(f.__)("Enable slider arrow.","woolentor"):Object(f.__)("Toggle to show the slider arrow.","woolentor"),onChange:function(){return n({slarrows:!h})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider dots","woolentor"),checked:v,help:v?Object(f.__)("Enable slider pagination.","woolentor"):Object(f.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return n({sldots:!v})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Pause on Hover?","woolentor"),checked:w,help:v?Object(f.__)("Enable slider pagination.","woolentor"):Object(f.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return n({slpauseOnHover:!w})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider auto play","woolentor"),checked:O,help:v?Object(f.__)("Enable slider auto play.","woolentor"):Object(f.__)("Toggle to show the slider auto play.","woolentor"),onChange:function(){return n({slautolay:!O})}}),React.createElement(m.RangeControl,{label:Object(f.__)("Autoplay speed","woolentor"),value:_,onChange:function(e){return n({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(m.RangeControl,{label:Object(f.__)("Autoplay animation speed","woolentor"),value:C,onChange:function(e){return n({slanimationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(m.RangeControl,{label:Object(f.__)("Slider item to scroll","woolentor"),value:E,onChange:function(e){return n({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h3",null,Object(f.__)("Tablet Screen options","woolentor")),React.createElement(m.RangeControl,{label:Object(f.__)("Slider Items","woolentor"),value:R,onChange:function(e){return n({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Slider item to scroll","woolentor"),value:j,onChange:function(e){return n({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Tablet Screen Resolution","woolentor"),value:k,onChange:function(e){return n({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h3",null,Object(f.__)("Mobile Phone Screen options","woolentor")),React.createElement(m.RangeControl,{label:Object(f.__)("Slider Items","woolentor"),value:S,onChange:function(e){return n({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Slider item to scroll","woolentor"),value:P,onChange:function(e){return n({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Mobile Screen Resolution","woolentor"),value:F,onChange:function(e){return n({slMobileWidth:e})},min:1,step:1,max:1500})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement(y.Fragment,{key:"title"},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.titleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.titleColor,onChange:function(e){return n({titleColor:e})}}),React.createElement("h3",null,Object(f.__)("Hover Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.titleHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.titleHoverColor,onChange:function(e){return n({titleHoverColor:e})}}),React.createElement("h3",null,Object(f.__)("Alignment","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-alignment-btn-group"},React.createElement(m.Button,{icon:"editor-alignleft",value:"left",isPrimary:"left"===t.titleAlign,isSecondary:"left"!==t.titleAlign,onClick:function(){return n({titleAlign:"left"})},title:Object(f.__)("Title align left","woolentor")}),React.createElement(m.Button,{icon:"editor-aligncenter",value:"center",isPrimary:"center"===t.titleAlign,isSecondary:"center"!==t.titleAlign,onClick:function(){return n({titleAlign:"center"})},title:Object(f.__)("Title align center","woolentor")}),React.createElement(m.Button,{icon:"editor-alignright",value:"right",isPrimary:"right"===t.titleAlign,isSecondary:"right"!==t.titleAlign,onClick:function(){return n({titleAlign:"right"})},title:Object(f.__)("Title align right","woolentor")}),React.createElement(m.Button,{icon:"editor-justify",value:"justify",isPrimary:"justify"===t.titleAlign,isSecondary:"justify"!==t.titleAlign,onClick:function(){return n({titleAlign:"justify"})},title:Object(f.__)("Title align justify","woolentor")}),React.createElement("span",{onClick:function(){return n({titleAlign:""})},class:"woolentor-reset-btn dashicon dashicons dashicons-image-rotate"}))),React.createElement(y.Fragment,{key:"price"},React.createElement("h2",{className:"woolentor-blocks-section-title",style:{marginTop:15}},Object(f.__)("Price","woolentor")),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.priceColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.priceColor,onChange:function(e){return n({priceColor:e})}})),React.createElement(y.Fragment,{key:"action-button"},React.createElement("h2",{className:"woolentor-blocks-section-title",style:{marginTop:15}},Object(f.__)("Action Button","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.actionBtnColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.actionBtnColor,onChange:function(e){return n({actionBtnColor:e})}}),React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.actionBtnBgColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.actionBtnBgColor,onChange:function(e){return n({actionBtnBgColor:e})}}),React.createElement("h3",null,Object(f.__)("Hover Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.actionBtnHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.actionBtnHoverColor,onChange:function(e){return n({actionBtnHoverColor:e})}}),React.createElement("h3",null,Object(f.__)("Hover Background Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.actionBtnHoverBgColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.actionBtnHoverBgColor,onChange:function(e){return n({actionBtnHoverBgColor:e})}}),React.createElement("h3",null,Object(f.__)("Content Alignment","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-alignment-btn-group"},React.createElement(m.Button,{icon:"editor-alignleft",value:"left",isPrimary:"left"===t.contentAlign,isSecondary:"left"!==t.contentAlign,onClick:function(){return n({contentAlign:"left"})},title:Object(f.__)("Title align left","woolentor")}),React.createElement(m.Button,{icon:"editor-aligncenter",value:"center",isPrimary:"center"===t.contentAlign,isSecondary:"center"!==t.contentAlign,onClick:function(){return n({contentAlign:"center"})},title:Object(f.__)("Title align center","woolentor")}),React.createElement(m.Button,{icon:"editor-alignright",value:"right",isPrimary:"right"===t.contentAlign,isSecondary:"right"!==t.contentAlign,onClick:function(){return n({contentAlign:"right"})},title:Object(f.__)("Title align right","woolentor")}),React.createElement(m.Button,{icon:"editor-justify",value:"justify",isPrimary:"justify"===t.contentAlign,isSecondary:"justify"!==t.contentAlign,onClick:function(){return n({contentAlign:"justify"})},title:Object(f.__)("Title align justify","woolentor")}),React.createElement("span",{onClick:function(){return n({contentAlign:""})},class:"woolentor-reset-btn dashicon dashicons dashicons-image-rotate"})))))}}])&&L(t.prototype,n),l}(y.Component),U=n(5),V=n.n(U),Q=n(7),K=n.n(Q),Y=n(8),X=n(22),J=n.n(X),Z=n(6);function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function te(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function re(e,t){return(re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(e,t){if(t&&("object"===$(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function le(e){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ie=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&re(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=le(o);if(r){var n=le(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ae(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={productData:[],categoryData:[]},t}return t=l,(n=[{key:"componentDidMount",value:function(){this.fetchProductsData(),this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,n=t.perPage,o=t.productFilterType,r=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==n&&e.attributes.productFilterType==o&&e.attributes.customOrder==r&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData(),e.attributes.selectedCategories!=i&&this.fetchCategoryData()}},{key:"fetchProductsData",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(n.orderBy=this.props.attributes.orderBy,n.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(n.categories=this.props.attributes.selectedCategories),t.length>0&&(n.categories=t);var o=Object(Y.addQueryArgs)("/woolentor/v1/products",n);K()({path:o}).then((function(t){return e.setState({productData:t})}))}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:1e3,queryOrder:"ASC",queryType:"regular",querySlug:this.props.attributes.selectedCategories,wpnonce:woolentorData.security},n=Object(Y.addQueryArgs)("/woolentor/v1/category",t);K()({path:n}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this,t=this.props,n=(t.name,t.attributes),o=t.className,r=t.isSelected,a=t.setAttributes,l=t.clientId,i=n.blockUniqId;function c(e){var t=e.className,n=e.onClick;return React.createElement(m.Button,{className:t,onClick:n},React.createElement("i",{className:"fa fa-angle-right"}))}function s(e){var t=e.className,n=e.onClick;return React.createElement(m.Button,{className:t,onClick:n},React.createElement("i",{className:"fa fa-angle-left"}))}""==i&&a({blockUniqId:l});var u,p={arrows:n.slarrows,prevArrow:React.createElement(s,null),nextArrow:React.createElement(c,null),dots:n.sldots,infinite:!0,autoplay:n.slautolay,autoplaySpeed:n.slautoplaySpeed,speed:n.slanimationSpeed,fade:!1,pauseOnHover:n.slpauseOnHover,slidesToShow:n.slitems,slidesToScroll:n.slscrollItem,rtl:n.slIsrtl,responsive:[{breakpoint:n.sltabletWidth,settings:{slidesToShow:n.sltabletDisplayColumns,slidesToScroll:n.sltabletScrollColumns}},{breakpoint:n.slMobileWidth,settings:{slidesToShow:n.slMobileDisplayColumns,slidesToScroll:n.slMobileScrollColumns}}]},d=V()("woolentor-product-tab-area",ne({},"woolentor-columns-".concat(n.columns),n.columns)),b=V()("woolentor-row"),g=V()("product-item",ne({},"product_style_three",3==n.style)),h=V()(ne({},"woolentor-col-".concat(n.columns),n.columns)),v=Z.a.div(W||(W=te(["\n\t\t\t& .product-item .product-inner .content .title{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .product-inner .content .title a{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .product-inner .content .title a:hover{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .product-inner .content .woolentor-product-price,.product-item .product-inner .content .woolentor-product-price .amount{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .product-inner .content{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .actions a,.product-item .woocommerce.compare-button a.button,.product-item .actions a::before{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .actions{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .actions a:hover,.product-item .woocommerce.compare-button a.button:hover,.product-item .actions a:hover::before{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .actions:hover{\n\t\t\t\t",";\n\t\t\t}\n\t\t"])),n.titleAlign&&"text-align:"+n.titleAlign,n.titleColor&&"color:"+n.titleColor,n.titleHoverColor&&"color:"+n.titleHoverColor,n.priceColor&&"color:"+n.priceColor,n.contentAlign&&"text-align:"+n.contentAlign,n.actionBtnColor&&"color:"+n.actionBtnColor,n.actionBtnBgColor&&"background-color:"+n.actionBtnBgColor,n.actionBtnHoverColor&&"color:"+n.actionBtnHoverColor,n.actionBtnHoverBgColor&&"background-color:"+n.actionBtnHoverBgColor),w=Z.a.div(G||(G=te(["\n\t\t\n\t\t"]))),O=this.state,_=O.productData,C=O.categoryData,E=0,R=!1;_.length>0&&(u=_.map((function(e,t){return E++,n.rows>1&&E%n.rows!=0&&(R=!0),React.createElement(React.Fragment,null,React.createElement("div",{className:h},React.createElement(w,{className:1==R?g+" mb-30":g},React.createElement("div",{className:"product-inner"},React.createElement("div",{className:"image-wrap"},React.createElement(m.Disabled,null,React.createElement("a",{href:e.permalink,className:"image"},Object(y.createElement)("div",{className:"woolentor-product-image",dangerouslySetInnerHTML:{__html:e.image.full.html}}),!0===e.on_sale&&React.createElement("span",{class:"onsale"},Object(f.__)("Sale!","woolentor")))),1==n.style&&!0===e.wishlist.status?Object(y.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",3==n.style?React.createElement("div",{className:"product_information_area"},React.createElement("div",{className:"actions style_two"},!0===e.wishlist.status?Object(y.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",Object(y.createElement)("div",{className:"woolentor-product-btn"},Object(y.createElement)("a",null,Object(f.__)("Add to cart","woolentor")))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),Object(y.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))):React.createElement("div",{class:2==n.style?"actions style_two":"actions"},2==n.style?React.createElement(React.Fragment,null,!0===e.wishlist.status?Object(y.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):""):React.createElement(React.Fragment,null,!0===e.compare.status?Object(y.createElement)("span",{className:"woolentor-product-compare",dangerouslySetInnerHTML:{__html:e.compare.html}}):""))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement(m.Disabled,null,React.createElement("a",{href:e.permalink},e.title))),Object(y.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))))))})));var j,k=function(t){e.fetchProductsData(t.target.getAttribute("dataslug"))},S=0;return n.selectedCategories.length>0&&(j=C.map((function(e,t){return S++,React.createElement(React.Fragment,null,React.createElement("li",null,React.createElement("a",{class:1==S?"htactive":"",href:"#woolentortab"+i+S,onClick:k,dataslug:e.slug},e.name)))}))),React.createElement(y.Fragment,null,r&&React.createElement(q,this.props),React.createElement("div",{className:o},React.createElement(v,{className:d},n.productTab&&React.createElement("div",{class:"product-tab-list ht-text-center"},React.createElement("ul",{class:"ht-tab-menus"},j)),0==_.length?React.createElement(m.Spinner,null):React.createElement("div",{className:b},1==n.slider?React.createElement(J.a,ee({},p,{className:"product-slider"}),u):u))))}}])&&oe(t.prototype,n),l}(y.Component),ce=React.createElement(m.SVG,{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 359 359",space:"preserve"},React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,0H13C7.5,0,3,4.5,3,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C106,4.5,101.5,0,96,0z M87,84H23V20h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C231,4.5,226.5,0,221,0z M212,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,126H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,130.5,101.5,126,96,126z M87,209H23 v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,130.5,226.5,126,221,126z M212,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C356,4.5,351.5,0,346,0z M337,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,130.5,351.5,126,346,126z M337,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,256H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,260.5,101.5,256,96,256z M87,340H23 v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,260.5,226.5,256,221,256z M212,340h-64v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,260.5,351.5,256,346,256z M337,340h-64v-64h64V340z"})))),se=n(13),ue=se.name,pe=se.category,de=se.attributes,fe={title:Object(f.__)("WL : Product Tab","woolentor"),description:Object(f.__)("Display product.","woolentor"),icon:React.createElement(m.Icon,{icon:ce}),keywords:["woolentor",Object(f.__)("product tab","woolentor"),Object(f.__)("woocommerce product","woolentor")],example:{attributes:{style:"1",columns:4,rows:1,perPage:4}},attributes:de,edit:ie,save:function(){return null}};function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){he(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function we(e,t){return(we=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oe(e,t){if(t&&("object"===me(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&we(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=_e(o);if(r){var n=_e(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Oe(this,e)});function l(){return ye(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,o=t.style,r=t.contentAlignment,a=t.buttonUrl,l={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"};return React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Settings","woolentor"),initialOpen:!0},React.createElement(m.SelectControl,{label:Object(f.__)("Banner Style","woolentor"),value:o,options:[{label:Object(f.__)("Style One","woolentor"),value:"1"},{label:Object(f.__)("Style Two","woolentor"),value:"2"}],onChange:function(e){return n({style:e})}}),React.createElement(m.SelectControl,{label:Object(f.__)("Content Alignment","woolentor"),value:r,options:[{label:Object(f.__)("Left","woolentor"),value:"left"},{label:Object(f.__)("Right","woolentor"),value:"right"},{label:Object(f.__)("Bottom","woolentor"),value:"bottom"}],onChange:function(e){return n({contentAlignment:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Link","woolentor"),value:a,onChange:function(e){return n({buttonUrl:e})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ge(ge({},l),{},{backgroundColor:t.titleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.titleColor,onChange:function(e){return n({titleColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return n({titleSize:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Sub Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ge(ge({},l),{},{backgroundColor:t.subTitleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.subTitleColor,onChange:function(e){return n({subTitleColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return n({subTitleSize:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Button","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ge(ge({},l),{},{backgroundColor:t.buttonColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.buttonColor,onChange:function(e){return n({buttonColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return n({buttonSize:e})}}))))}}])&&ve(t.prototype,n),l}(y.Component),Ee=n(25),Re=Object(y.createElement)(Ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(y.createElement)(Ee.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"}));function je(e){return(je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Fe(e,t){return(Fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ae(e,t){if(t&&("object"===je(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Te(e)}function Te(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fe(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Be(o);if(r){var n=Be(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ae(this,e)});function l(){var e;return Se(this,l),(e=a.apply(this,arguments)).addImage=e.addImage.bind(Te(e)),e.onSelectImage=e.onSelectImage.bind(Te(e)),e}return t=l,(n=[{key:"onSelectImage",value:function(e){e&&e.url&&this.props.setAttributes({imgUrl:e.url})}},{key:"addImage",value:function(e){var t=this;mediaUpload({allowedTypes:["image","png"],filesList:e,onFileChange:function(e){var n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a=[],_n=!0,l=!1;try{for(n=n.call(e);!(_n=(o=n.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,r=e}finally{try{_n||null==n.return||n.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ke(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ke(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,1)[0];return t.onSelectImage(n)}})}},{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),n=e.className,o=e.isSelected,r=e.setAttributes,a=t.title,l=t.subTitle,i=t.imgUrl,c=(t.imgId,t.style),s=t.contentAlignment,u=t.buttonText,p=t.buttonUrl,d=function(e){return r({imgUrl:e.url,imgId:e.id})};return m.DropZone,this.addImage,Object(f.__)("Drop to upload as banner image","woolentor"),React.createElement(y.Fragment,null,o&&React.createElement(Ce,this.props),React.createElement("div",{className:n},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+c+" woolentor-content-align-"+s},React.createElement("div",{className:"woolentor-content"},React.createElement(T.RichText,{tagName:"h3",className:"banner_subtitle",value:l,onChange:function(e){return r({subTitle:e})},placeholder:Object(f.__)("Banner sub title...","woolentor"),keepPlaceholderOnFocus:!0,style:{color:"".concat(t.subTitleColor),fontSize:"".concat(t.subTitleSize)}}),React.createElement(T.RichText,{tagName:"h2",className:"banner_title",value:a,onChange:function(e){return r({title:e})},placeholder:Object(f.__)("Banner title...","woolentor"),keepPlaceholderOnFocus:!0,style:{color:"".concat(t.titleColor),fontSize:"".concat(t.titleSize)}}),React.createElement(T.RichText,{tagName:"a",className:"banner_button",value:u,onChange:function(e){return r({buttonText:e})},placeholder:Object(f.__)("Shop Now ....","woolentor"),href:p,keepPlaceholderOnFocus:!0,style:{color:"".concat(t.buttonColor),fontSize:"".concat(t.buttonSize)}})),i?React.createElement("div",{class:"woolentor-banner-img"},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:i,alt:"WooLentor Banner image"}),React.createElement("div",null,React.createElement(T.MediaUploadCheck,null,React.createElement(T.MediaUpload,{onSelect:d,allowedTypes:["image","png"],value:i,render:function(e){var t=e.open;return React.createElement(m.Button,{onClick:t},i?Object(f.__)("Replace Image","woolentor"):React.createElement(T.BlockIcon,{icon:Re}))}})))):React.createElement("div",{class:"woolentor-banner-img"},React.createElement(T.MediaUploadCheck,null,React.createElement(T.MediaUpload,{onSelect:d,allowedTypes:["image","png"],value:i,render:function(e){var t=e.open;return React.createElement(m.Button,{onClick:t},i?Object(f.__)("Replace Image","woolentor"):React.createElement(T.BlockIcon,{icon:Re}))}}))))))}}])&&Pe(t.prototype,n),l}(y.Component),ze=n(14),De=React.createElement("svg",{id:"_x31_","enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"}))),Me=ze.name,Le=ze.category,Ie=ze.attributes,Ne={title:Object(f.__)("WL : Promo Banner","woolentor"),description:Object(f.__)("Display promo banner.","woolentor"),icon:React.createElement(m.Icon,{icon:De}),keywords:["woolentor",Object(f.__)("product banner","woolentor"),Object(f.__)("woocommerce promo","woolentor"),Object(f.__)("promo banner","woolentor")],example:{attributes:{title:Object(f.__)("Banner Title","woolentor"),subTitle:Object(f.__)("Banner Sub Title","woolentor"),buttonText:Object(f.__)("Shop Now","woolentor")}},supports:{align:["wide","full"]},attributes:Ie,edit:xe,save:function(e){var t=e.className,n=e.attributes,o=n.title,r=n.subTitle,a=n.imgUrl,l=n.style,i=n.contentAlignment,c=n.buttonText,s=n.buttonUrl;return React.createElement("div",{className:t},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+l+" woolentor-content-align-"+i},React.createElement("div",{className:"woolentor-content"},React.createElement(T.RichText.Content,{tagName:"h3",className:"banner_subtitle",value:r,style:{color:"".concat(n.subTitleColor),fontSize:"".concat(n.subTitleSize)}}),React.createElement(T.RichText.Content,{tagName:"h2",className:"banner_title",value:o,style:{color:"".concat(n.titleColor),fontSize:"".concat(n.titleSize)}}),React.createElement(T.RichText.Content,{tagName:"a",className:"banner_button",href:s,value:c,style:{color:"".concat(n.buttonColor),fontSize:"".concat(n.buttonSize)}})),a&&React.createElement("div",{className:"woolentor-banner-img"},s?React.createElement("a",{href:s},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:o})):React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:o}))))}};function He(e){return(He="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function We(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?We(Object(n),!0).forEach((function(t){qe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ke(e,t){if(t&&("object"===He(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ye(e){return(Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Xe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ye(o);if(r){var n=Ye(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ke(this,e)});function l(){return Ue(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.setAttributes,n=e.title,o=e.ImageData,r=e.attributesKey,a=e.uploadImage,l=["image","png"],i=React.createElement("p",null,Object(f.__)("To edit the banner image, you need permission to upload media.","woolentor")),c=function(e){var n=Ge({},o);n.id=e.id,n.url=e.url,t(qe({},r,n))};return React.createElement(y.Fragment,null,React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement("h3",null,n),React.createElement(T.MediaUploadCheck,{fallback:i},React.createElement(T.MediaUpload,{title:n,onSelect:c,allowedTypes:l,value:o.id,render:function(e){var t=e.open;return React.createElement(m.Button,{className:o.id?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t},!o.id&&Object(f.__)("Set ","woolentor")+n,!!o.id&&!a&&React.createElement(m.Spinner,null),!!o.id&&a&&React.createElement("img",{src:a.source_url,alt:n}))}})),!!o.id&&a&&React.createElement(T.MediaUploadCheck,null,React.createElement(T.MediaUpload,{title:n,onSelect:c,allowedTypes:l,value:o.id,render:function(e){var t=e.open;return React.createElement(m.Button,{onClick:t,isDefault:!0,isLarge:!0},Object(f.__)("Replace image","woolentor"))}})),!!o.id&&React.createElement(T.MediaUploadCheck,null,React.createElement(m.Button,{onClick:function(){var e=Ge({},o);e.id=void 0,e.url=void 0,t(qe({},r,e))},isLink:!0,isDestructive:!0},Object(f.__)("Remove image","woolentor")))))}}])&&Ve(t.prototype,n),l}(y.Component),Je=Object(v.compose)(Object(w.withSelect)((function(e,t){var n=e("core").getMedia,o=t.ImageData;return{uploadImage:o.id?n(o.id):null}})))(Xe);function Ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(n),!0).forEach((function(t){et(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tt=function(e){var t=e.setAttributes,n=e.lavel,o=e.dimensions,r=e.attributesKey,a=function(n,a){var l=$e({},o);if(e.responsive){var i=o.hasOwnProperty(o.device)?o[o.device].link:"yes";l[o.device]="yes"===i?{top:n,right:n,bottom:n,left:n,link:"yes",unit:o.hasOwnProperty(o.device.unit)&&""!=l[o.device].unit?l[o.device].unit:"px"}:et({top:""!==l[o.device].top?l[o.device].top:"0",right:""!==l[o.device].right?l[o.device].right:"0",bottom:""!==l[o.device].bottom?l[o.device].bottom:"0",left:""!==l[o.device].left?l[o.device].left:"0",link:"no",unit:""!==l[o.device].unit?l[o.device].unit:"px"},a,n)}else"yes"===l.link?(l.top=n,l.right=n,l.bottom=n,l.left=n,l.link="yes"):(l.top=""!==l.top?l.top:"0",l.right=""!==l.right?l.right:"0",l.bottom=""!==l.bottom?l.bottom:"0",l.left=""!==l.left?l.left:"0",l.link="no",l[a]=n);t(et({},r,l))},l=function(n){var a=$e({},o);e.responsive?a[o.device].unit=n.target.value:a.unit=n.target.value,t(et({},r,a))},i=function(e,n,a){var l=$e({},o);l[n]=a,t(et({},r,l))},c=o.hasOwnProperty(o.device)?o[o.device].top:o.top?o.top:"",s=o.hasOwnProperty(o.device)?o[o.device].right:o.right?o.right:"",u=o.hasOwnProperty(o.device)?o[o.device].bottom:o.bottom?o.bottom:"",p=o.hasOwnProperty(o.device)?o[o.device].left:o.left?o.left:"",d=o.hasOwnProperty(o.device)?o[o.device].unit:o.unit?o.unit:"px",b=o.hasOwnProperty(o.device)?o[o.device].link:o.link?o.link:"yes",g=o.device;return React.createElement(y.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-dimensions-control"},React.createElement(m.PanelRow,{className:"woolentor-panel-row-height-auto",style:{minHeight:"auto"}},React.createElement("h3",null,n),e.responsive&&React.createElement(m.ButtonGroup,{className:"woolentor-device-button"},React.createElement(m.Button,{icon:"desktop",value:"desktop",label:Object(f.__)("Large","woolentor"),isPrimary:"desktop"===g,isSecondary:"desktop"!==g,onClick:function(e){return i(0,"device","desktop")}}),React.createElement(m.Button,{icon:"laptop",value:"laptop",label:Object(f.__)("Medium","woolentor"),isPrimary:"laptop"===g,isSecondary:"laptop"!==g,onClick:function(e){return i(0,"device","laptop")}}),React.createElement(m.Button,{icon:"tablet",value:"tablet",label:Object(f.__)("Small","woolentor"),isPrimary:"tablet"===g,isSecondary:"tablet"!==g,onClick:function(e){return i(0,"device","tablet")}}),React.createElement(m.Button,{icon:"smartphone",value:"mobile",label:Object(f.__)("Extra Small","woolentor"),isPrimary:"mobile"===g,isSecondary:"mobile"!==g,onClick:function(e){return i(0,"device","mobile")}})),React.createElement(m.ButtonGroup,{className:"woolentor-dimensions-btn-group"},React.createElement(m.Button,{value:"px",text:Object(f.__)("PX","woolentor"),isPrimary:"px"===d,isSecondary:"px"!==d,onClick:l,title:Object(f.__)("PX","woolentor"),focus:!1}),React.createElement(m.Button,{value:"%",text:Object(f.__)("%","woolentor"),isPrimary:"%"===d,isSecondary:"%"!==d,onClick:l,title:Object(f.__)("%","woolentor"),focus:!1}),React.createElement(m.Button,{value:"em",text:Object(f.__)("EM","woolentor"),isPrimary:"em"===d,isSecondary:"em"!==d,onClick:l,title:Object(f.__)("EM","woolentor"),focus:!1}))),React.createElement(m.PanelRow,null,React.createElement(m.__experimentalNumberControl,{label:Object(f.__)("Top","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return a(e,"top")},shiftStep:10,value:c,labelPosition:"bottom"}),React.createElement(m.__experimentalNumberControl,{label:Object(f.__)("Right","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return a(e,"right")},shiftStep:10,value:s,labelPosition:"bottom"}),React.createElement(m.__experimentalNumberControl,{label:Object(f.__)("Bottom","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return a(e,"bottom")},shiftStep:10,value:u,labelPosition:"bottom"}),React.createElement(m.__experimentalNumberControl,{label:Object(f.__)("Left","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return a(e,"left")},shiftStep:10,value:p,labelPosition:"bottom"}),React.createElement(m.Button,{icon:"admin-links",value:"yes",isPrimary:"yes"===b,isSecondary:"yes"!==b,onClick:function(){var n=$e({},o);e.responsive?"yes"===n[o.device].link?n[o.device].link="no":n[o.device].link="yes":"yes"===n.link?n.link="no":n.link="yes",t(et({},r,n))},title:Object(f.__)("Link values together","woolentor"),showTooltip:!0}))))};function nt(e){return(nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(n),!0).forEach((function(t){at(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function at(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ct(e,t){return(ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function st(e,t){if(t&&("object"===nt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ut(e){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var pt,dt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ct(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ut(o);if(r){var n=ut(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return st(this,e)});function l(){return lt(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,o=t.title,r=t.contentPosition,a=t.bannerImage,l=t.badgeImage,i=t.badgeHorizontalPos,c=t.badgeVerticlePos,s={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"};return React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Content Settings","woolentor"),initialOpen:!0},React.createElement(m.SelectControl,{label:Object(f.__)("Content Position","woolentor"),value:r,options:[{label:Object(f.__)("Top","woolentor"),value:"top"},{label:Object(f.__)("Center","woolentor"),value:"center"},{label:Object(f.__)("Bottom","woolentor"),value:"bottom"},{label:Object(f.__)("Left","woolentor"),value:"left"},{label:Object(f.__)("Right","woolentor"),value:"right"}],onChange:function(e){return n({contentPosition:e})}}),React.createElement(Je,{title:Object(f.__)("Banner image","woolentor"),ImageData:a,attributesKey:"bannerImage",setAttributes:n}),React.createElement(Je,{title:Object(f.__)("Badge image","woolentor"),ImageData:l,attributesKey:"badgeImage",setAttributes:n}),l.id&&React.createElement(React.Fragment,null,React.createElement(m.RangeControl,{label:Object(f.__)("Badge Horizontal Position","woolentor"),value:i,onChange:function(e){return n({badgeHorizontalPos:e})},min:-1e3,step:1,max:1e3}),React.createElement(m.RangeControl,{label:Object(f.__)("Badge Vertical Position","woolentor"),value:c,onChange:function(e){return n({badgeVerticlePos:e})},min:-1e3,step:1,max:1e3})),React.createElement(m.TextControl,{label:Object(f.__)("Title","woolentor"),value:o,placeholder:Object(f.__)("Banner Title","woolentor"),onChange:function(e){return n({title:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Sub Title","woolentor"),placeholder:Object(f.__)("Banner Sub Title","woolentor"),value:t.subTitle,onChange:function(e){return n({subTitle:e})}}),React.createElement(m.TextareaControl,{label:Object(f.__)("Description","woolentor"),help:Object(f.__)("Enter Banner description","woolentor"),value:t.bannerDescription,onChange:function(e){return n({bannerDescription:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Offer Amount","woolentor"),placeholder:Object(f.__)("50%","woolentor"),value:t.offerAmount,onChange:function(e){return n({offerAmount:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Offer Tag Line","woolentor"),value:t.offerTagLine,placeholder:Object(f.__)("off","woolentor"),onChange:function(e){return n({offerTagLine:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Banner Link","woolentor"),value:t.bannerLink,placeholder:Object(f.__)("https://your-link.com","woolentor"),onChange:function(e){return n({bannerLink:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Button Text","woolentor"),value:t.buttonText,placeholder:Object(f.__)("Shop Now","woolentor"),onChange:function(e){return n({buttonText:e})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Content Area","woolentor")),React.createElement("h3",null,Object(f.__)("Alignment","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-alignment-btn-group"},React.createElement(m.Button,{icon:"editor-alignleft",value:"left",isPrimary:"left"===t.contentAlignment,isSecondary:"left"!==t.contentAlignment,onClick:function(){return n({contentAlignment:"left"})},title:Object(f.__)("Align left","woolentor")}),React.createElement(m.Button,{icon:"editor-aligncenter",value:"center",isPrimary:"center"===t.contentAlignment,isSecondary:"center"!==t.contentAlignment,onClick:function(){return n({contentAlignment:"center"})},title:Object(f.__)("Align center","woolentor")}),React.createElement(m.Button,{icon:"editor-alignright",value:"right",isPrimary:"right"===t.contentAlignment,isSecondary:"right"!==t.contentAlignment,onClick:function(){return n({contentAlignment:"right"})},title:Object(f.__)("Align right","woolentor")}),React.createElement(m.Button,{icon:"editor-justify",value:"justify",isPrimary:"justify"===t.contentAlignment,isSecondary:"justify"!==t.contentAlignment,onClick:function(){return n({contentAlignment:"justify"})},title:Object(f.__)("Align justify","woolentor")}),React.createElement("span",{onClick:function(){return n({contentAlignment:""})},class:"woolentor-reset-btn dashicon dashicons dashicons-image-rotate"})),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.contentAreaMargin,attributesKey:"contentAreaMargin",setAttributes:n}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:t.contentAreaPadding,attributesKey:"contentAreaPadding",setAttributes:n}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.titleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.titleColor,onChange:function(e){return n({titleColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return n({titleSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:n}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:t.titlePadding,attributesKey:"titlePadding",setAttributes:n}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Sub Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.titleSubColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.titleSubColor,onChange:function(e){return n({titleSubColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSubSize,fallbackFontSize:t.titleSubSize,onChange:function(e){return n({titleSubSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:n}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:t.subTitlePadding,attributesKey:"subTitlePadding",setAttributes:n}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Description","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.desColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.desColor,onChange:function(e){return n({desColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.desSize,fallbackFontSize:t.desSize,onChange:function(e){return n({desSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.desMargin,attributesKey:"desMargin",setAttributes:n}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:t.desPadding,attributesKey:"desPadding",setAttributes:n}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Offer Amount","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.offerColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.offerColor,onChange:function(e){return n({offerColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerSize,fallbackFontSize:t.offerSize,onChange:function(e){return n({offerSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.offerMargin,attributesKey:"offerMargin",setAttributes:n}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Offer Tag Line","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.offerTagColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.offerTagColor,onChange:function(e){return n({offerTagColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerTagSize,fallbackFontSize:t.offerTagSize,onChange:function(e){return n({offerTagSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.offerTagMargin,attributesKey:"offerTagMargin",setAttributes:n}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Button","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.buttonColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.buttonColor,onChange:function(e){return n({buttonColor:e})}}),React.createElement("h3",null,Object(f.__)("Hover Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.buttonHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.buttonHoverColor,onChange:function(e){return n({buttonHoverColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return n({buttonSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.buttonMargin,attributesKey:"buttonMargin",setAttributes:n}))))}}])&&it(t.prototype,n),l}(y.Component);function ft(e){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gt(e,t){return(gt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ht(e,t){if(t&&("object"===ft(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vt=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512",className:"woolentor-banner-default"},React.createElement("g",null,React.createElement("path",{d:"M446.575,0H65.425C29.349,0,0,29.35,0,65.426v381.149C0,482.65,29.349,512,65.425,512h381.15 C482.651,512,512,482.65,512,446.574V65.426C512,29.35,482.651,0,446.575,0z M481.842,446.575 c0,19.447-15.821,35.267-35.267,35.267H65.425c-19.447,0-35.268-15.821-35.268-35.267v-55.007l99.255-84.451 c3.622-3.082,8.906-3.111,12.562-0.075l62.174,51.628c5.995,4.977,14.795,4.569,20.304-0.946L372.181,209.77 c2.67-2.675,5.783-2.935,7.408-2.852c1.62,0.083,4.695,0.661,7.078,3.596l95.176,117.19V446.575z M481.842,279.865l-71.766-88.366 c-7.117-8.764-17.666-14.122-28.942-14.701c-11.268-0.57-22.317,3.672-30.294,11.662L212.832,326.681l-51.59-42.839 c-14.959-12.422-36.563-12.293-51.373,0.308l-79.712,67.822V65.426c0-19.447,15.821-35.268,35.268-35.268h381.15 c19.447,0,35.267,15.821,35.267,35.268V279.865z"})),React.createElement("g",null,React.createElement("path",{d:"M161.174,62.995c-40.095,0-72.713,32.62-72.713,72.713c0,40.094,32.619,72.713,72.713,72.713s72.713-32.619,72.713-72.713 S201.269,62.995,161.174,62.995z M161.174,178.264c-23.466,0-42.556-19.091-42.556-42.556c0-23.466,19.09-42.556,42.556-42.556 c23.466,0,42.556,19.091,42.556,42.556S184.64,178.264,161.174,178.264z"}))),wt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gt(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=yt(o);if(r){var n=yt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ht(this,e)});function l(){return mt(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),n=e.className,o=e.isSelected,r=e.setAttributes,a=e.clientId;""==t.blockUniqId&&r({blockUniqId:a});var l,i,c,s,u,p=function(e){var n=t[e]?t[e]:{},o="";if(""!=n.top||""!=n.right||""!=n.bottom||""!=n.left){var r=n.unit?n.unit:"px";o=n.top?o+n.top+r+" ":"0"+r+" ",o=n.right?o+n.right+r+" ":"0"+r+" ",o=n.bottom?o+n.bottom+r+" ":"0"+r+" ",o=n.left?o+n.left+r+" ":"0"+r+" "}return o},d=V()("wlspcial-banner",(l={},i="woolentor-banner-content-pos-"+t.contentPosition,c=t.contentPosition,i in l?Object.defineProperty(l,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):l[i]=c,l)),f=Z.a.div(pt||(s=["\n\t\t\t.banner-content{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .wlbanner-badgeimage{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content h2{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content h6{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content p{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content h5{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content h5 span{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content a{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content a:hover{\n\t\t\t\t",";\n\t\t\t}\n\t\t"],u||(u=s.slice(0)),pt=Object.freeze(Object.defineProperties(s,{raw:{value:Object.freeze(u)}}))),t.contentAlignment&&"text-align:"+t.contentAlignment,t.contentAreaPadding&&"padding:"+p("contentAreaPadding"),t.contentAreaMargin&&"margin:"+p("contentAreaMargin"),t.badgeHorizontalPos&&"left:"+t.badgeHorizontalPos+"%",t.badgeVerticlePos&&"top:"+t.badgeVerticlePos+"%",t.titleColor&&"color:"+t.titleColor,t.titleSize&&"font-size:"+t.titleSize,t.titleMargin&&"margin:"+p("titleMargin"),t.titlePadding&&"padding:"+p("titlePadding"),t.titleSubColor&&"color:"+t.titleSubColor,t.titleSubSize&&"font-size:"+t.titleSubSize,t.subTitleMargin&&"margin:"+p("subTitleMargin"),t.subTitlePadding&&"padding:"+p("subTitlePadding"),t.desColor&&"color:"+t.desColor,t.desSize&&"font-size:"+t.desSize,t.desMargin&&"margin:"+p("desMargin"),t.desPadding&&"padding:"+p("desPadding"),t.offerColor&&"color:"+t.offerColor,t.offerSize&&"font-size:"+t.offerSize,t.offerMargin&&"margin:"+p("offerMargin"),t.offerTagColor&&"color:"+t.offerTagColor,t.offerTagSize&&"font-size:"+t.offerTagSize,t.offerTagMargin&&"margin:"+p("offerTagMargin"),t.buttonColor&&"color:"+t.buttonColor,t.buttonSize&&"font-size:"+t.buttonSize,t.buttonMargin&&"margin:"+p("buttonMargin"),t.buttonHoverColor&&"color:"+t.buttonHoverColor);return React.createElement(y.Fragment,null,o&&React.createElement(dt,this.props),React.createElement("div",{className:n},React.createElement(f,{className:d},React.createElement("div",{className:"banner-thumb"},React.createElement("a",{href:t.bannerLink?t.bannerLink:"#"},t.bannerImage.url?React.createElement("img",{src:t.bannerImage.url,alt:"Banner"}):React.createElement("div",{className:"woolentor-default-banner"},vt))),t.badgeImage.url&&React.createElement("div",{className:"wlbanner-badgeimage"},React.createElement("img",{src:t.badgeImage.url,alt:"Banner Badge"})),React.createElement("div",{className:"banner-content"},t.title&&React.createElement("h2",null,t.title),t.subTitle&&React.createElement("h6",null,t.subTitle),t.offerAmount&&React.createElement("h5",null,t.offerAmount,React.createElement("span",null,t.offerTagLine)),t.bannerDescription&&React.createElement("p",null,t.bannerDescription),t.buttonText&&React.createElement("a",{href:t.bannerLink?t.bannerLink:"#"},t.buttonText)))))}}])&&bt(t.prototype,n),l}(y.Component),Ot=n(15),_t=React.createElement("svg",{id:"_x31_","enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"}))),Ct=Ot.name,Et=Ot.category,Rt=Ot.attributes,jt={title:Object(f.__)("WL : Special Day Offer","woolentor"),description:Object(f.__)("Display spesial day offer banner.","woolentor"),icon:React.createElement(m.Icon,{icon:_t}),keywords:["woolentor",Object(f.__)("shop banner","woolentor"),Object(f.__)("banner","woolentor"),Object(f.__)("special day","woolentor"),Object(f.__)("offer","woolentor"),Object(f.__)("special offer","woolentor")],example:{attributes:{title:Object(f.__)("Banner Title","woolentor"),subTitle:Object(f.__)("Banner Sub Title","woolentor"),offerAmount:Object(f.__)("50%","woolentor"),bannerDescription:Object(f.__)("Banner Description","woolentor"),buttonText:Object(f.__)("Shop Now","woolentor"),offerTagLine:Object(f.__)("Off","woolentor")}},attributes:Rt,supports:{align:["wide","full"]},edit:wt,save:function(){return null}};function kt(e){return(kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function St(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(Object(n),!0).forEach((function(t){Ft(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function At(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Bt(e,t){return(Bt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xt(e,t){if(t&&("object"===kt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function zt(e){return(zt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Dt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bt(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=zt(o);if(r){var n=zt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return xt(this,e)});function l(){return At(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.setAttributes,n=e.title,o=e.bgProperty,r=e.attributesKey,a=e.uploadImage,l=function(e,n){var a=Pt({},o);a[n]=e,t(Ft({},r,a))},i=["image","png"],c=React.createElement("p",null,Object(f.__)("To edit the banner image, you need permission to upload media.","woolentor")),s=function(e){var n=Pt({},o);n.imageId=e.id,n.imageUrl=e.url,t(Ft({},r,n))};return React.createElement(y.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-background-control"},n&&React.createElement("h3",null,n),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(T.MediaUploadCheck,{fallback:c},React.createElement(T.MediaUpload,{title:n,onSelect:s,allowedTypes:i,value:o.imageId,render:function(e){var t=e.open;return React.createElement(m.Button,{className:o.imageId?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t},!o.imageId&&Object(f.__)("Set ","woolentor")+n,!!o.imageId&&!a&&React.createElement(m.Spinner,null),!!o.imageId&&a&&React.createElement("img",{src:a.source_url,alt:n}))}})),!!o.imageId&&a&&React.createElement(T.MediaUploadCheck,null,React.createElement(T.MediaUpload,{title:n,onSelect:s,allowedTypes:i,value:o.imageId,render:function(e){var t=e.open;return React.createElement(m.Button,{onClick:t,isDefault:!0,isLarge:!0},Object(f.__)("Replace image","woolentor"))}})),!!o.imageId&&React.createElement(T.MediaUploadCheck,null,React.createElement(m.Button,{onClick:function(){var e=Pt({},o);e.imageId=void 0,e.imageUrl=void 0,t(Ft({},r,e))},isLink:!0,isDestructive:!0},Object(f.__)("Remove image","woolentor")))),React.createElement(m.SelectControl,{label:Object(f.__)("Position","woolentor"),labelPosition:"side",value:o.position,options:[{label:Object(f.__)("Default","woolentor"),value:""},{label:Object(f.__)("Center Center","woolentor"),value:"center center"},{label:Object(f.__)("Center Left","woolentor"),value:"center left"},{label:Object(f.__)("Center Right","woolentor"),value:"center right"},{label:Object(f.__)("Top Center","woolentor"),value:"top center"},{label:Object(f.__)("Top Left","woolentor"),value:"top left"},{label:Object(f.__)("Top Right","woolentor"),value:"top right"},{label:Object(f.__)("Bottom Center","woolentor"),value:"bottom center"},{label:Object(f.__)("Bottom Left","woolentor"),value:"bottom left"},{label:Object(f.__)("Bottom Right","woolentor"),value:"bottom right"}],onChange:function(e){return l(e,"position")}}),React.createElement(m.SelectControl,{label:Object(f.__)("Attachment","woolentor"),labelPosition:"side",value:o.attachment,options:[{label:Object(f.__)("Default","woolentor"),value:""},{label:Object(f.__)("Scroll","woolentor"),value:"scroll"},{label:Object(f.__)("Fixed","woolentor"),value:"fixed"}],onChange:function(e){return l(e,"attachment")}}),React.createElement(m.SelectControl,{label:Object(f.__)("Repeat","woolentor"),labelPosition:"side",value:o.repeat,options:[{label:Object(f.__)("Default","woolentor"),value:""},{label:Object(f.__)("No-repeat","woolentor"),value:"no-repeat"},{label:Object(f.__)("Repeat","woolentor"),value:"repeat"},{label:Object(f.__)("Repeat-x","woolentor"),value:"repeat-x"},{label:Object(f.__)("Repeat-y","woolentor"),value:"repeat-y"}],onChange:function(e){return l(e,"repeat")}}),React.createElement(m.SelectControl,{label:Object(f.__)("Size","woolentor"),labelPosition:"side",value:o.size,options:[{label:Object(f.__)("Default","woolentor"),value:""},{label:Object(f.__)("Auto","woolentor"),value:"auto"},{label:Object(f.__)("Cover","woolentor"),value:"cover"},{label:Object(f.__)("Contain","woolentor"),value:"contain"}],onChange:function(e){return l(e,"size")}})))}}])&&Tt(t.prototype,n),l}(y.Component),Mt=Object(v.compose)(Object(w.withSelect)((function(e,t){var n=e("core").getMedia,o=t.bgProperty;return{uploadImage:o.imageId?n(o.imageId):null}})))(Dt);function Lt(e){return(Lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function It(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(Object(n),!0).forEach((function(t){Ht(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wt(e){return function(e){if(Array.isArray(e))return Gt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Gt(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gt(e,void 0):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function qt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ut(e,t){return(Ut=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Vt(e,t){if(t&&("object"===Lt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Qt(e){return(Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Kt,Yt,Xt,Jt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ut(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Qt(o);if(r){var n=Qt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Vt(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={activeClass:!1},t}return t=l,(n=[{key:"render",value:function(){var e,t=this,n=this.props,o=n.attributes,r=n.setAttributes,a=o.style,l=o.bgProperty,i={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"},c=function(e,t,n){var a=Wt(o.markerList);a[n][t]=e,r({markerList:a})};return o.markerList.length&&(e=o.markerList.map((function(e,n){var a=t.state.activeClass===n?"woolentor_active_repeter":"";return React.createElement(y.Fragment,{key:n},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,n){n===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:n})}(0,n)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.markerList[n].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(m.IconButton,{className:"woolentor__remove-marker",icon:"no-alt",label:Object(f.__)("Delete Marker","woolentor"),onClick:function(){return function(e){var t=Wt(o.markerList);t.splice(e,1),r({markerList:t})}(n)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(m.TextControl,{label:Object(f.__)("Marker Title","woolentor"),className:"woolentor__marker-title",placeholder:Object(f.__)("Marker Title","woolentor"),value:o.markerList[n].title,onChange:function(e){return c(e,"title",n)}}),React.createElement(m.TextareaControl,{label:Object(f.__)("Marker Content","woolentor"),value:o.markerList[n].content,onChange:function(e){return c(e,"content",n)}}),React.createElement(m.RangeControl,{label:Object(f.__)("Horizontal Postion","woolentor"),value:o.markerList[n].horizontal,onChange:function(e){return c(e,"horizontal",n)},min:-1e3,step:1,max:1e3}),React.createElement(m.RangeControl,{label:Object(f.__)("Vertical Postion","woolentor"),value:o.markerList[n].verticle,onChange:function(e){return c(e,"verticle",n)},min:-1e3,step:1,max:1e3}))))}))),React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Image","woolentor"),initialOpen:!0},React.createElement(Mt,{title:Object(f.__)("Background Image","woolentor"),attributesKey:"bgProperty",setAttributes:r,bgProperty:l})),React.createElement(m.PanelBody,{title:Object(f.__)("Marker","woolentor"),initialOpen:!1},React.createElement(m.SelectControl,{label:Object(f.__)("Style","woolentor"),value:a,options:[{label:Object(f.__)("Style One","woolentor"),value:"1"},{label:Object(f.__)("Style Two","woolentor"),value:"2"},{label:Object(f.__)("Style Three","woolentor"),value:"3"},{label:Object(f.__)("Style Four","woolentor"),value:"4"},{label:Object(f.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return r({style:e})}}),e,React.createElement(m.Button,{isDefault:!0,icon:"plus-alt2",onClick:function(){var e=Wt(o.markerList);e.push({title:Object(f.__)("Marker Item #"+(o.markerList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),r({markerList:e}),t.setState({activeClass:o.markerList.length})}.bind(this)},Object(f.__)("Add Marker","woolentor"))),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Marker","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:Nt(Nt({},i),{},{backgroundColor:o.markerColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.markerColor,onChange:function(e){return r({markerColor:e})}}),React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:Nt(Nt({},i),{},{backgroundColor:o.markerBGColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.markerBGColor,onChange:function(e){return r({markerBGColor:e})}}),React.createElement("h3",null,Object(f.__)("Border Color","woolentor"),React.createElement("span",{style:Nt(Nt({},i),{},{backgroundColor:o.markerBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.markerBorderColor,onChange:function(e){return r({markerBorderColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:o.markerBorderRadius,attributesKey:"markerBorderRadius",setAttributes:r}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:o.markerPadding,attributesKey:"markerPadding",setAttributes:r}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Content Area","woolentor")),React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:Nt(Nt({},i),{},{backgroundColor:o.markerContentBGColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.markerContentBGColor,onChange:function(e){return r({markerContentBGColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:o.markerContentBorderRadius,attributesKey:"markerContentBorderRadius",setAttributes:r}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:o.markerContentPadding,attributesKey:"markerContentPadding",setAttributes:r}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Marker Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:Nt(Nt({},i),{},{backgroundColor:o.markerTitleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.markerTitleColor,onChange:function(e){return r({markerTitleColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.markerTitleSize,fallbackFontSize:o.markerTitleSize,onChange:function(e){return r({markerTitleSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:o.markerTitleMargin,attributesKey:"markerTitleMargin",setAttributes:r}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Marker Description","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:Nt(Nt({},i),{},{backgroundColor:o.markerDescriptionColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.markerDescriptionColor,onChange:function(e){return r({markerDescriptionColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.markerDescriptionSize,fallbackFontSize:o.markerDescriptionSize,onChange:function(e){return r({markerDescriptionSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:o.markerDescriptionMargin,attributesKey:"markerDescriptionMargin",setAttributes:r}))))}}])&&qt(t.prototype,n),l}(y.Component);function Zt(e){return(Zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $t(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function en(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nn(e,t){return(nn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function on(e,t){if(t&&("object"===Zt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function rn(e){return(rn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var an=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nn(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=rn(o);if(r){var n=rn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return on(this,e)});function l(){return en(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),n=e.className,o=e.isSelected,r=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.bgProperty;""==l&&r({blockUniqId:a});var c,s,u,p=function(e){var n=t[e]?t[e]:{},o="";if(""!=n.top||""!=n.right||""!=n.bottom||""!=n.left){var r=n.unit?n.unit:"px";o=n.top?o+n.top+r+" ":"0"+r+" ",o=n.right?o+n.right+r+" ":"0"+r+" ",o=n.bottom?o+n.bottom+r+" ":"0"+r+" ",o=n.left?o+n.left+r+" ":"0"+r+" "}return o},d=V()((c={},s="wlb-marker-style-".concat(t.style),u=t.style,s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c)),f=Z.a.div(Kt||(Kt=$t(["\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t\n\t\t\t& .wlb_image_pointer{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .wlb_image_pointer::before{\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .wlb_image_pointer .wlb_pointer_box{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t"])),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size,t.markerBGColor&&"background-color:"+t.markerBGColor,t.markerBorderColor&&"border-color:"+t.markerBorderColor,t.markerBorderRadius&&"border-radius:"+p("markerBorderRadius"),t.markerPadding&&"padding:"+p("markerPadding"),t.markerColor&&"color:"+t.markerColor,t.markerContentBGColor&&"background-color:"+t.markerContentBGColor,t.markerContentBorderRadius&&"border-radius:"+p("markerContentBorderRadius"),t.markerContentPadding&&"padding:"+p("markerContentPadding")),m=Z.a.h4(Yt||(Yt=$t(["\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t"])),t.markerTitleColor&&"color:"+t.markerTitleColor,t.markerTitleSize&&"font-size:"+t.markerTitleSize,t.markerTitleMargin&&"margin:"+p("markerTitleMargin")),b=Z.a.p(Xt||(Xt=$t(["\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t"])),t.markerDescriptionColor&&"color:"+t.markerDescriptionColor,t.markerDescriptionSize&&"font-size:"+t.markerDescriptionSize,t.markerDescriptionMargin&&"margin:"+p("markerDescriptionMargin")),g=t.markerList.map((function(e,t){return React.createElement("div",{key:t,className:"wlb_image_pointer",style:{left:"".concat(e.horizontal,"%"),top:"".concat(e.verticle,"%")}},React.createElement("div",{className:"wlb_pointer_box"},e.title&&React.createElement(m,null,e.title),e.content&&React.createElement(b,null,e.content)))}));return React.createElement(y.Fragment,null,o&&React.createElement(Jt,this.props),React.createElement("div",{className:n},React.createElement(f,{className:d},g)))}}])&&tn(t.prototype,n),l}(y.Component),ln=n(16),cn=React.createElement("svg",{id:"_x31_","enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 193.826 193.826",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M191.495,55.511L137.449,1.465c-1.951-1.953-5.119-1.953-7.07,0l-0.229,0.229c-3.314,3.313-5.14,7.72-5.14,12.406 c0,3.019,0.767,5.916,2.192,8.485l-56.55,48.533c-4.328-3.868-9.852-5.985-15.703-5.985c-6.305,0-12.232,2.455-16.689,6.913 l-0.339,0.339c-1.953,1.952-1.953,5.118,0,7.07l32.378,32.378l-31.534,31.533c-0.631,0.649-15.557,16.03-25.37,28.27 c-9.345,11.653-11.193,13.788-11.289,13.898c-1.735,1.976-1.639,4.956,0.218,6.822c0.973,0.977,2.256,1.471,3.543,1.471 c1.173,0,2.349-0.41,3.295-1.237c0.083-0.072,2.169-1.885,13.898-11.289c12.238-9.813,27.619-24.74,28.318-25.421l31.483-31.483 l30.644,30.644c0.976,0.977,2.256,1.465,3.535,1.465s2.56-0.488,3.535-1.465l0.339-0.339c4.458-4.457,6.913-10.385,6.913-16.689 c0-5.851-2.118-11.375-5.985-15.703l48.533-56.55c2.569,1.425,5.466,2.192,8.485,2.192c4.687,0,9.093-1.825,12.406-5.14l0.229-0.229 C193.448,60.629,193.448,57.463,191.495,55.511z"})),sn=ln.name,un=ln.category,pn=ln.attributes,dn={title:Object(f.__)("WL : Image Marker","woolentor"),description:Object(f.__)("Display image marker.","woolentor"),icon:React.createElement(m.Icon,{icon:cn}),keywords:["woolentor",Object(f.__)("shop idicator","woolentor"),Object(f.__)("image indicator","woolentor"),Object(f.__)("marker","woolentor"),Object(f.__)("image marker","woolentor")],example:{attributes:{style:"1"}},supports:{align:["wide","full"]},attributes:pn,edit:an,save:function(){return null}};function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach((function(t){bn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gn=function(e){var t=e.attributes,n=e.setAttributes,o=t.title,r=t.subTitle,a=t.layout,l=t.featureImage,i={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"};return React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Content","woolentor"),initialOpen:!0},React.createElement(m.SelectControl,{label:Object(f.__)("Layout","woolentor"),value:a,options:[{label:Object(f.__)("Layout One","woolentor"),value:"1"},{label:Object(f.__)("Layout Two","woolentor"),value:"2"},{label:Object(f.__)("Layout Three","woolentor"),value:"3"},{label:Object(f.__)("Layout Four","woolentor"),value:"4"},{label:Object(f.__)("Layout Five","woolentor"),value:"5"}],onChange:function(e){return n({layout:e})}}),React.createElement(Je,{title:Object(f.__)("Image","woolentor"),ImageData:l,attributesKey:"featureImage",setAttributes:n}),React.createElement(m.TextControl,{label:Object(f.__)("Title","woolentor"),value:o,onChange:function(e){return n({title:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Sub Title","woolentor"),value:r,onChange:function(e){return n({subTitle:e})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Area","woolentor")),React.createElement("h3",null,Object(f.__)("Border Color","woolentor"),React.createElement("span",{style:mn(mn({},i),{},{backgroundColor:t.areaBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.areaBorderColor,onChange:function(e){return n({areaBorderColor:e})}}),React.createElement("h3",null,Object(f.__)("Hover Border Color","woolentor"),React.createElement("span",{style:mn(mn({},i),{},{backgroundColor:t.areaHoverBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.areaHoverBorderColor,onChange:function(e){return n({areaHoverBorderColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:n}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:n}),React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:mn(mn({},i),{},{backgroundColor:t.areaBackgroundColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.areaBackgroundColor,onChange:function(e){return n({areaBackgroundColor:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:mn(mn({},i),{},{backgroundColor:t.titleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.titleColor,onChange:function(e){return n({titleColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:n}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return n({titleSize:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Sub Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:mn(mn({},i),{},{backgroundColor:t.subTitleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.subTitleColor,onChange:function(e){return n({subTitleColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return n({subTitleSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:n}))))};function hn(e){return(hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wn(e,t){return(wn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function On(e,t){if(t&&("object"===hn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Cn(e){return(Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var En,Rn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wn(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Cn(o);if(r){var n=Cn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return On(this,e)});function l(){return yn(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes;return React.createElement(y.Fragment,null,React.createElement(T.BlockControls,null,React.createElement(T.AlignmentToolbar,{value:t.textAlignment,onChange:function(e){return n({textAlignment:e})}})))}}])&&vn(t.prototype,n),l}(y.Component);function jn(e){return(jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function kn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Fn(e,t){return(Fn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function An(e,t){if(t&&("object"===jn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Tn(e){return(Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Bn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fn(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Tn(o);if(r){var n=Tn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return An(this,e)});function l(){return Sn(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=(e.name,e.className),n=e.attributes,o=e.isSelected,r=e.setAttributes,a=e.clientId,l=n.blockUniqId,i=n.featureImage;""==l&&r({blockUniqId:a});var c,s,u=function(e){var t=n[e]?n[e]:{},o="";if(""!=t.top||""!=t.right||""!=t.bottom||""!=t.left){var r=t.unit?t.unit:"px";o=t.top?o+t.top+r+" ":"0"+r+" ",o=t.right?o+t.right+r+" ":"0"+r+" ",o=t.bottom?o+t.bottom+r+" ":"0"+r+" ",o=t.left?o+t.left+r+" ":"0"+r+" "}return o},p=V()(t,kn({},"woolentor-blocks ht-feature-wrap ht-feature-style-"+n.layout,n.layout),kn({},"woolentor-text-align-"+n.textAlignment,n.textAlignment)),d=Z.a.div(En||(c=["\n\t\t\t"," !important;\n\t\t\t",";\n\t\t\t"," !important;\n\t\t\t"," !important;\n\n\t\t\t&:hover{\n\t\t\t\t"," !important;\n\t\t\t}\n\n\t\t\t& .ht-feature-content h4{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .ht-feature-content p{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t"],s||(s=c.slice(0)),En=Object.freeze(Object.defineProperties(c,{raw:{value:Object.freeze(s)}}))),n.areaBorderColor&&"border-color:"+n.areaBorderColor,n.areaBackgroundColor&&"background-color:"+n.areaBackgroundColor,n.areaMargin&&"margin:"+u("areaMargin"),n.areaPadding&&"padding:"+u("areaPadding"),n.areaHoverBorderColor&&"border-color:"+n.areaHoverBorderColor,n.titleColor&&"color:"+n.titleColor,n.titleSize&&"font-size:"+n.titleSize,n.titleMargin&&"margin:"+u("titleMargin"),n.subTitleColor&&"color:"+n.subTitleColor,n.subTitleSize&&"font-size:"+n.subTitleSize,n.subTitleMargin&&"margin:"+u("subTitleMargin"));return React.createElement(y.Fragment,null,o&&React.createElement(gn,this.props),o&&React.createElement(Rn,this.props),React.createElement("div",{className:p},React.createElement(d,{className:"ht-feature-inner"},i.url&&React.createElement("div",{className:"ht-feature-img"},React.createElement("img",{src:i.url,alt:n.title})),React.createElement("div",{className:"ht-feature-content"},n.title&&React.createElement("h4",null,n.title),n.subTitle&&React.createElement("p",null,n.subTitle)))))}}])&&Pn(t.prototype,n),l}(y.Component),xn=n(17),zn=React.createElement("svg",{viewBox:"-27 0 512 512.00001",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m399.996094 0h-341.996094c-31.980469 0-58 26.019531-58 58v369.996094c0 16.542968 13.457031 30 30 30h131.332031c5.523438 0 10-4.476563 10-10 0-5.523438-4.476562-10-10-10h-131.332031c-5.515625 0-10-4.484375-10-10v-369.996094c0-20.953125 17.046875-38 38-38h298.234375c-8.855469 10.1875-14.238281 23.472656-14.238281 38v322.265625c0 9.226563-7.503906 16.730469-16.730469 16.730469-7.210937 0-13.589844-4.597656-15.875-11.4375l-15.070313-45.21875c-4.253906-12.765625-16.15625-21.339844-29.609374-21.339844-17.210938 0-31.210938 14-31.210938 31.207031v7.789063h-51.832031c-5.523438 0-10 4.480468-10 10 0 5.523437 4.476562 10 10 10h51.832031v49.75c0 14.765625 2.878906 29.164062 8.558594 42.789062l14.710937 35.308594c1.601563 3.839844 5.316407 6.15625 9.234375 6.15625 1.28125 0 2.585938-.246094 3.839844-.769531 5.101562-2.125 7.511719-7.980469 5.386719-13.078125l-14.710938-35.308594c-4.65625-11.175781-7.019531-22.984375-7.019531-35.09375v-77.539062c0-6.183594 5.027344-11.210938 11.210938-11.210938 4.832031 0 9.109374 3.078125 10.636718 7.664062l15.070313 45.21875c5.007812 15.019532 19.011719 25.113282 34.847656 25.113282 20.253906 0 36.730469-16.476563 36.730469-36.730469v-171.449219l13.363281 13.335938c23.84375 23.796875 36.972656 55.457031 36.972656 89.140625v106.300781c0 27.535156-6.238281 55.238281-18.035156 80.117188-2.367187 4.988281-.238281 10.953124 4.75 13.320312s10.953125.242188 13.320313-4.75c13.058593-27.539062 19.964843-58.207031 19.964843-88.6875v-106.300781c0-39.035157-15.214843-75.71875-42.84375-103.296875l-27.492187-27.441406v-9.554688h66c16.542968 0 30-13.457031 30-30v-83c0-31.980469-26.015625-58-58-58zm38 141c0 5.511719-4.484375 10-10 10h-66v-93c0-20.953125 17.046875-38 38-38s38 17.046875 38 38zm0 0"}),React.createElement("path",{d:"m205 437.996094c-2.632812 0-5.210938 1.070312-7.070312 2.929687-1.859376 1.863281-2.929688 4.441407-2.929688 7.070313 0 2.632812 1.070312 5.210937 2.929688 7.070312 1.859374 1.859375 4.4375 2.929688 7.070312 2.929688 2.628906 0 5.207031-1.070313 7.070312-2.929688 1.859376-1.859375 2.929688-4.4375 2.929688-7.070312 0-2.628906-1.070312-5.207032-2.929688-7.070313-1.863281-1.859375-4.441406-2.929687-7.070312-2.929687zm0 0"}),React.createElement("path",{d:"m137.667969 74c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m137.667969 194c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m117.667969 294h-44c-11.03125 0-20 8.96875-20 20v43.996094c0 11.03125 8.96875 20 20 20h44c11.027343 0 20-8.96875 20-20v-43.996094c0-11.03125-8.972657-20-20-20zm0 63.996094h-44v-43.996094h44l.011719 43.996094s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m296.332031 138c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-68.9375c-5.523437 0-10 4.476562-10 10s4.476563 10 10 10zm0 0"}),React.createElement("path",{d:"m181.667969 138c2.632812 0 5.210937-1.070312 7.070312-2.929688 1.859375-1.859374 2.929688-4.441406 2.929688-7.070312s-1.070313-5.210938-2.929688-7.070312c-1.859375-1.859376-4.4375-2.929688-7.070312-2.929688-2.640625 0-5.210938 1.070312-7.070313 2.929688-1.867187 1.859374-2.929687 4.441406-2.929687 7.070312s1.0625 5.210938 2.929687 7.070312c1.859375 1.859376 4.429688 2.929688 7.070313 2.929688zm0 0"}),React.createElement("path",{d:"m181.664062 258h114.667969c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-114.667969c-5.519531 0-10 4.476562-10 10s4.480469 10 10 10zm0 0"})),Dn=xn.name,Mn=xn.category,Ln=xn.attributes,In={title:Object(f.__)("WL : Store Feature","woolentor"),description:Object(f.__)("Display store feature.","woolentor"),icon:React.createElement(m.Icon,{icon:zn}),keywords:["woolentor",Object(f.__)("shop feature","woolentor"),Object(f.__)("feature","woolentor"),Object(f.__)("store","woolentor")],example:{attributes:{style:"1"}},attributes:Ln,supports:{align:["wide","full"]},edit:Bn,save:function(){return null}};function Nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Hn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(n),!0).forEach((function(t){Wn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gn(e){return function(e){if(Array.isArray(e))return Vn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Un(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a=[],_n=!0,l=!1;try{for(n=n.call(e);!(_n=(o=n.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,r=e}finally{try{_n||null==n.return||n.return()}finally{if(l)throw r}}return a}}(e,t)||Un(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Un(e,t){if(e){if("string"==typeof e)return Vn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vn(e,t):void 0}}function Vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var Qn,Kn=function(e){var t,n=e.attributes,o=e.setAttributes,r=qn(Object(y.useState)(!1),2),a=r[0],l=r[1],i=qn(Object(y.useState)([{device:"desktop"}]),2),c=i[0],s=i[1],u=(n.columns,n.noGutter),p={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"},d=function(e,t,n){var o=c[0];o[t]=n,s([].concat(Gn(c.slice(0,0)),[o],Gn(c.slice(1))))},b=function(e,t,r){var a=Gn(n.brandLogoList);a[r][t]=e,o({brandLogoList:a})},g=["image","png"],h=React.createElement("p",null,Object(f.__)("To edit the banner image, you need permission to upload media.","woolentor")),v=function(e,t){var r=Gn(n.brandLogoList);r[t].image.id=e.id,r[t].image.url=e.url,o({brandLogoList:r})};return n.brandLogoList.length>0&&(t=n.brandLogoList.map((function(e,t){var r=a===t?"woolentor_active_repeter":"";return React.createElement(y.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},n.brandLogoList[t].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(m.IconButton,{className:"woolentor__remove-marker",icon:"no-alt",label:Object(f.__)("Delete Marker","woolentor"),onClick:function(){return function(e){var t=Gn(n.brandLogoList);t.splice(e,1),o({brandLogoList:t})}(t)}}))),React.createElement("div",{className:r+" woolentor_repeater-controls"},React.createElement(m.TextControl,{label:Object(f.__)("Brand Title","woolentor"),className:"woolentor__marker-title",placeholder:Object(f.__)("Brand Title","woolentor"),value:n.brandLogoList[t].title,onChange:function(e){return b(e,"title",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(T.MediaUploadCheck,{fallback:h},React.createElement(T.MediaUpload,{title:Object(f.__)("Choose Image","woolentor"),onSelect:function(e){return v(e,t)},allowedTypes:g,value:n.brandLogoList[t].image.id,render:function(e){var o=e.open;return React.createElement(m.Button,{className:n.brandLogoList[t].image.id?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o},n.brandLogoList[t].image.id?React.createElement("img",{src:n.brandLogoList[t].image.url,alt:n.brandLogoList[t].title}):Object(f.__)("Choose Image","woolentor"))}})),!!n.brandLogoList[t].image.id&&React.createElement(T.MediaUploadCheck,null,React.createElement(T.MediaUpload,{title:Object(f.__)("Choose Image","woolentor"),onSelect:function(e){return v(e,t)},allowedTypes:g,value:n.brandLogoList[t].image.id,render:function(e){var t=e.open;return React.createElement(m.Button,{onClick:t,isDefault:!0,isLarge:!0},Object(f.__)("Replace image","woolentor"))}})),!!n.brandLogoList[t].image.id&&React.createElement(T.MediaUploadCheck,null,React.createElement(m.Button,{onClick:function(){return function(e){var t=Gn(n.brandLogoList);t[e].image.id=void 0,t[e].image.url=void 0,o({brandLogoList:t})}(t)},isLink:!0,isDestructive:!0},Object(f.__)("Remove image","woolentor")))),React.createElement(m.TextControl,{label:Object(f.__)("Brand Link","woolentor"),value:n.brandLogoList[t].link,placeholder:Object(f.__)("https://your-site.com","woolentor"),onChange:function(e){return b(e,"link",t)}}))))}))),React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Brand Logo","woolentor"),initialOpen:!0},t,React.createElement(m.Button,{isDefault:!0,icon:"plus-alt2",onClick:function(){var e=Gn(n.brandLogoList);e.push({title:Object(f.__)("Brand Item #"+(n.brandLogoList.length+1),"woolentor"),image:{id:"",url:""},link:""}),o({brandLogoList:e}),l(n.brandLogoList.length)}.bind(void 0)},Object(f.__)("Add Brand","woolentor"))),React.createElement(m.PanelBody,{title:Object(f.__)("Brand Option","woolentor"),initialOpen:!1},React.createElement(m.PanelRow,{className:"woolentor-device-row",style:{minHeight:"auto"}},React.createElement("label",null,Object(f.__)("Columns","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-device-button"},React.createElement(m.Button,{icon:"desktop",value:"desktop",label:Object(f.__)("Large","woolentor"),isPrimary:"desktop"===c[0].device,isSecondary:"desktop"!==c[0].device,onClick:function(e){return d(0,"device","desktop")}}),React.createElement(m.Button,{icon:"laptop",value:"laptop",label:Object(f.__)("Medium","woolentor"),isPrimary:"laptop"===c[0].device,isSecondary:"laptop"!==c[0].device,onClick:function(e){return d(0,"device","laptop")}}),React.createElement(m.Button,{icon:"tablet",value:"tablet",label:Object(f.__)("Small","woolentor"),isPrimary:"tablet"===c[0].device,isSecondary:"tablet"!==c[0].device,onClick:function(e){return d(0,"device","tablet")}}),React.createElement(m.Button,{icon:"smartphone",value:"mobile",label:Object(f.__)("Extra Small","woolentor"),isPrimary:"mobile"===c[0].device,isSecondary:"mobile"!==c[0].device,onClick:function(e){return d(0,"device","mobile")}}))),React.createElement(m.RangeControl,{value:n.columns[c[0].device],onChange:function(e){return function(e,t,r){var a=Hn({},n.columns);a[t]=e,o(Wn({},"columns",a))}(e,c[0].device)},min:0,step:1,max:10}),React.createElement(m.ToggleControl,{label:Object(f.__)("No Gutters","woolentor"),checked:u,help:u?Object(f.__)("Enable No Gutters.","woolentor"):Object(f.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!u})}}),!u&&React.createElement(m.RangeControl,{label:Object(f.__)("Gutter Spacing","woolentor"),value:n.itemSpace,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Brand Item","woolentor")),React.createElement(m.SelectControl,{label:Object(f.__)("Border Type","woolentor"),value:n.singleItemAreaBorderType,options:[{label:Object(f.__)("None","woolentor"),value:""},{label:Object(f.__)("Solid","woolentor"),value:"solid"},{label:Object(f.__)("Double","woolentor"),value:"double"},{label:Object(f.__)("Dotted","woolentor"),value:"dotted"},{label:Object(f.__)("Dashed","woolentor"),value:"dashed"},{label:Object(f.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return o({singleItemAreaBorderType:e})}}),n.singleItemAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(tt,{lavel:Object(f.__)("Border Width","woolentor"),dimensions:n.singleItemAreaBorderWidth,attributesKey:"singleItemAreaBorderWidth",setAttributes:o}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Border Color","woolentor"),React.createElement("span",{style:Hn(Hn({},p),{},{backgroundColor:n.singleItemAreaBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.singleItemAreaBorderColor,onChange:function(e){return o({singleItemAreaBorderColor:e})}})),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:n.singleItemAreaBorderRadius,attributesKey:"singleItemAreaBorderRadius",setAttributes:o}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.singleItemAreaMargin,attributesKey:"singleItemAreaMargin",setAttributes:o}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:n.singleItemAreaPadding,attributesKey:"singleItemAreaPadding",setAttributes:o}),React.createElement("h3",null,Object(f.__)("Alignment","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-alignment-btn-group"},React.createElement(m.Button,{icon:"editor-alignleft",value:"left",isPrimary:"left"===n.brandAlignment,isSecondary:"left"!==n.brandAlignment,onClick:function(){return o({brandAlignment:"left"})},title:Object(f.__)("Title align left","woolentor")}),React.createElement(m.Button,{icon:"editor-aligncenter",value:"center",isPrimary:"center"===n.brandAlignment,isSecondary:"center"!==n.brandAlignment,onClick:function(){return o({brandAlignment:"center"})},title:Object(f.__)("Title align center","woolentor")}),React.createElement(m.Button,{icon:"editor-alignright",value:"right",isPrimary:"right"===n.brandAlignment,isSecondary:"right"!==n.brandAlignment,onClick:function(){return o({brandAlignment:"right"})},title:Object(f.__)("Title align right","woolentor")}),React.createElement("span",{onClick:function(){return o({brandAlignment:""})},class:"woolentor-reset-btn dashicon dashicons dashicons-image-rotate"})),React.createElement("h2",{className:"woolentor-blocks-section-title",style:{marginTop:"20px"}},Object(f.__)("Brand Image","woolentor")),React.createElement(m.SelectControl,{label:Object(f.__)("Border Type","woolentor"),value:n.brandImageBorderType,options:[{label:Object(f.__)("None","woolentor"),value:""},{label:Object(f.__)("Solid","woolentor"),value:"solid"},{label:Object(f.__)("Double","woolentor"),value:"double"},{label:Object(f.__)("Dotted","woolentor"),value:"dotted"},{label:Object(f.__)("Dashed","woolentor"),value:"dashed"},{label:Object(f.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return o({brandImageBorderType:e})}}),n.brandImageBorderType&&React.createElement(React.Fragment,null,React.createElement(tt,{lavel:Object(f.__)("Border Width","woolentor"),dimensions:n.brandImageBorderWidth,attributesKey:"brandImageBorderWidth",setAttributes:o}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Border Color","woolentor"),React.createElement("span",{style:Hn(Hn({},p),{},{backgroundColor:n.brandImageBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.brandImageBorderColor,onChange:function(e){return o({brandImageBorderColor:e})}})),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:n.brandImageBorderRadius,attributesKey:"brandImageBorderRadius",setAttributes:o}))))};function Yn(e){return(Yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function $n(e,t){return($n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function eo(e,t){if(t&&("object"===Yn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function to(e){return(to=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var no=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"250",height:"150",viewBox:"0 0 300 300"},React.createElement("image",{id:"woolentor-logo",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"})),oo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$n(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=to(o);if(r){var n=to(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return eo(this,e)});function l(){return Jn(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.className,n=e.attributes,o=e.isSelected,r=e.setAttributes,a=e.clientId;""==n.blockUniqId&&r({blockUniqId:a});var l,i,c=function(e){var t=n[e]?n[e]:{},o="";if(""!=t.top||""!=t.right||""!=t.bottom||""!=t.left){var r=t.unit?t.unit:"px";o=t.top?o+t.top+r+" ":"0"+r+" ",o=t.right?o+t.right+r+" ":"0"+r+" ",o=t.bottom?o+t.bottom+r+" ":"0"+r+" ",o=t.left?o+t.left+r+" ":"0"+r+" "}return o},s=V()(t,Xn({},"woolentor-columns-".concat(n.columns.desktop),n.columns.desktop),Xn({},"woolentor-laptop-columns-".concat(n.columns.laptop),n.columns.laptop),Xn({},"woolentor-tablet-columns-".concat(n.columns.tablet),n.columns.tablet),Xn({},"woolentor-mobile-columns-".concat(n.columns.mobile),n.columns.mobile)),u=Z.a.div(Qn||(l=["\n\t\t\t"," !important;\n\t\t\t& .wl-single-brand{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& img,.woolentor-default-brand{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t"],i||(i=l.slice(0)),Qn=Object.freeze(Object.defineProperties(l,{raw:{value:Object.freeze(i)}}))),!n.noGutter&&"padding: 0 "+n.itemSpace+"px 0 "+n.itemSpace+"px",n.singleItemAreaBorderType&&"border-style:"+n.singleItemAreaBorderType,n.singleItemAreaBorderWidth&&"border-width:"+c("singleItemAreaBorderWidth"),n.singleItemAreaBorderColor&&"border-color:"+n.singleItemAreaBorderColor,n.singleItemAreaBorderRadius&&"border-radius:"+c("singleItemAreaBorderRadius"),n.singleItemAreaMargin&&"margin:"+c("singleItemAreaMargin"),n.singleItemAreaPadding&&"padding:"+c("singleItemAreaPadding"),n.brandAlignment&&"text-align:"+n.brandAlignment,n.brandImageBorderType&&"border-style:"+n.brandImageBorderType,n.brandImageBorderWidth&&"border-width:"+c("brandImageBorderWidth"),n.brandImageBorderColor&&"border-color:"+n.brandImageBorderColor,n.brandImageBorderRadius&&"border-radius:"+c("brandImageBorderRadius")),p=n.brandLogoList.map((function(e,t){return React.createElement(u,{className:"woolentor-col-"+n.columns.desktop},React.createElement("div",{className:"wl-single-brand"},e.image.url?React.createElement("img",{src:e.image.url,alt:e.title}):React.createElement("div",{className:"woolentor-default-brand"},no)))}));return React.createElement(y.Fragment,null,o&&React.createElement(Kn,this.props),React.createElement("div",{className:s},React.createElement("div",{className:!0===n.noGutter?"woolentor-row wlno-gutters":"woolentor-row"},p)))}}])&&Zn(t.prototype,n),l}(y.Component),ro=n(18),ao=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512"},React.createElement("path",{d:"M166,0H75C33.645,0,0,33.645,0,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75V75 C241,33.645,207.355,0,166,0z M211,166c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45V75c0-24.813,20.187-45,45-45h91 c24.813,0,45,20.187,45,45V166z"}),React.createElement("path",{d:"M437,271h-91c-41.355,0-75,33.645-75,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91 C512,304.645,478.355,271,437,271z M482,437c0,24.813-20.187,45-45,45h-91c-24.813,0-45-20.187-45-45v-91 c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45V437z"}),React.createElement("path",{d:"M437,0h-91c-41.355,0-75,33.645-75,75v91c0,57.897-47.103,105-105,105H75c-41.355,0-75,33.645-75,75v91 c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91c0-57.897,47.103-105,105-105h91c41.355,0,75-33.645,75-75V75 C512,33.645,478.355,0,437,0z M211,346v91c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45v-91c0-24.813,20.187-45,45-45 h91c20.827,0,40.568-4.741,58.2-13.2C215.741,305.432,211,325.173,211,346z M482,166c0,24.813-20.187,45-45,45h-91 c-20.827,0-40.568,4.741-58.2,13.2c8.459-17.632,13.2-37.373,13.2-58.2V75c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45 V166z"})),lo=ro.name,io=ro.category,co=ro.attributes,so={title:Object(f.__)("WL : Brand Logo","woolentor"),description:Object(f.__)("Display brand logo.","woolentor"),icon:React.createElement(m.Icon,{icon:ao}),keywords:["woolentor",Object(f.__)("logo","woolentor"),Object(f.__)("brand","woolentor"),Object(f.__)("brand logo","woolentor")],example:{attributes:{brandLogoList:[{title:"Brand Title one",link:"https://hasthemes.com/",image:{id:"",url:""}},{title:"Brand Title Two",link:"https://hasthemes.com/",image:{id:"",url:""}},{title:"Brand Title Three",link:"https://hasthemes.com/",image:{id:"",url:""}},{title:"Brand Title Four",link:"https://hasthemes.com/",image:{id:"",url:""}},{title:"Brand Title Five",link:"https://hasthemes.com/",image:{id:"",url:""}},{title:"Brand Title Six",link:"https://hasthemes.com/",image:{id:"",url:""}}],columns:{desktop:"3"}}},supports:{align:["wide","full"]},attributes:co,edit:oo,save:function(){return null}};function uo(e){return(uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function po(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?po(Object(n),!0).forEach((function(t){mo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):po(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bo(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function go(e,t){return(go=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ho(e,t){if(t&&("object"===uo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function yo(e){return(yo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vo,wo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&go(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=yo(o);if(r){var n=yo(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ho(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={imageSizes:[],device:"desktop"},t}return t=l,(n=[{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"fetchImageSize",value:function(){var e=this,t=Object(Y.addQueryArgs)("/woolentor/v1/imagesizes",{wpnonce:woolentorData.security});K()({path:t}).then((function(t){return e.setState({imageSizes:t})}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.setAttributes,r=n.style,a=n.displayType,l=n.productCategory,i=n.productCategories,c=n.order,s=n.displayLimit,u=n.showCount,p=n.sliderOn,d=(n.columns,n.noGutter),b=n.itemSpace,g={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"},h=function(t,n,o){e.setState(mo({},n,o))},v=this.state.imageSizes,w=function(){var e=[];return Object.keys(v).forEach((function(t){e.push({label:v[t],value:t})})),e};return React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Settings","woolentor"),initialOpen:!0},React.createElement(m.SelectControl,{label:Object(f.__)("Style","woolentor"),value:r,options:[{label:Object(f.__)("Style One","woolentor"),value:"1"},{label:Object(f.__)("Style Two","woolentor"),value:"2"},{label:Object(f.__)("Style Three","woolentor"),value:"3"},{label:Object(f.__)("Style Four","woolentor"),value:"4"},{label:Object(f.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({style:e})}}),React.createElement(m.SelectControl,{label:Object(f.__)("Category Display Type","woolentor"),value:a,options:[{label:Object(f.__)("Single Category","woolentor"),value:"singleCat"},{label:Object(f.__)("Multiple Categories","woolentor"),value:"multipleCat"},{label:Object(f.__)("All Categories","woolentor"),value:"allCat"}],onChange:function(e){return o({displayType:e})}}),"singleCat"==a&&React.createElement(A,{title:Object(f.__)("Select category","woolentor"),attributesKey:"productCategory",setAttributes:o,selectedTaxonomies:l,type:"single"}),"multipleCat"==a&&React.createElement(A,{title:Object(f.__)("Select categories","woolentor"),attributesKey:"productCategories",setAttributes:o,selectedTaxonomies:i,type:"multiple"}),"singleCat"!=a&&React.createElement(m.SelectControl,{label:Object(f.__)("Order","woolentor"),value:c,options:[{label:Object(f.__)("Ascending","woolentor"),value:"asc"},{label:Object(f.__)("Descending","woolentor"),value:"desc"}],onChange:function(e){return o({order:e})}}),"allCat"==a&&React.createElement(m.RangeControl,{label:Object(f.__)("Limit","woolentor"),value:s,onChange:function(e){return o({displayLimit:e})},min:1,step:1,max:20}),("1"==r||"4"==r)&&React.createElement(m.ToggleControl,{label:Object(f.__)("Show Count","woolentor"),checked:u,help:u?Object(f.__)("Enable show Count.","woolentor"):Object(f.__)("Toggle to show the count.","woolentor"),onChange:function(){return o({showCount:!u})}}),w().length>0&&React.createElement(m.SelectControl,{label:Object(f.__)("Image Size","woolentor"),value:n.imageSize,options:w(),onChange:function(e){return o({imageSize:e})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider On","woolentor"),checked:p,help:p?Object(f.__)("Enable slider.","woolentor"):Object(f.__)("Toggle to show the slider.","woolentor"),onChange:function(){return o({sliderOn:!p})}})),1==p&&React.createElement(m.PanelBody,{title:Object(f.__)("Slider Options","woolentor"),initialOpen:!1},React.createElement(m.RangeControl,{label:Object(f.__)("Slider Items","woolentor"),value:n.slitems,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider Arrow","woolentor"),checked:n.slarrows,help:n.slarrows?Object(f.__)("Enable slider arrow.","woolentor"):Object(f.__)("Toggle to show the slider arrow.","woolentor"),onChange:function(){return o({slarrows:!n.slarrows})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider dots","woolentor"),checked:n.sldots,help:n.sldots?Object(f.__)("Enable slider pagination.","woolentor"):Object(f.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({sldots:!n.sldots})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Pause on Hover?","woolentor"),checked:n.slpauseOnHover,help:n.slpauseOnHover?Object(f.__)("Enable slider pagination.","woolentor"):Object(f.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({slpauseOnHover:!n.slpauseOnHover})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Is RTL","woolentor"),checked:n.slIsrtl,help:n.slIsrtl?Object(f.__)("Enable RTL.","woolentor"):Object(f.__)("Toggle to show the RTL direction.","woolentor"),onChange:function(){return o({slIsrtl:!n.slIsrtl})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider auto play","woolentor"),checked:n.slautolay,help:n.slautolay?Object(f.__)("Enable slider auto play.","woolentor"):Object(f.__)("Toggle to show the slider auto play.","woolentor"),onChange:function(){return o({slautolay:!n.slautolay})}}),1==n.slautolay&&React.createElement(React.Fragment,null,React.createElement(m.RangeControl,{label:Object(f.__)("Autoplay speed","woolentor"),value:n.slautoplaySpeed,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(m.RangeControl,{label:Object(f.__)("Autoplay animation speed","woolentor"),value:n.slanimationSpeed,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5})),React.createElement(m.RangeControl,{label:Object(f.__)("Slider item to scroll","woolentor"),value:n.slscrollItem,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Tablet Screen options","woolentor")),React.createElement(m.RangeControl,{label:Object(f.__)("Slider Items","woolentor"),value:n.sltabletDisplayColumns,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Slider item to scroll","woolentor"),value:n.sltabletScrollColumns,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Tablet Screen Resolution","woolentor"),value:n.sltabletWidth,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Mobile Phone Screen options","woolentor")),React.createElement(m.RangeControl,{label:Object(f.__)("Slider Items","woolentor"),value:n.slMobileDisplayColumns,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Slider item to scroll","woolentor"),value:n.slMobileScrollColumns,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Mobile Screen Resolution","woolentor"),value:n.slMobileWidth,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500})),0==p&&React.createElement(m.PanelBody,{title:Object(f.__)("Columns","woolentor"),initialOpen:!1},React.createElement(m.PanelRow,{className:"woolentor-device-row",style:{minHeight:"auto"}},React.createElement("label",null,Object(f.__)("Columns","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-device-button"},React.createElement(m.Button,{icon:"desktop",value:"desktop",label:Object(f.__)("Large","woolentor"),isPrimary:"desktop"===this.state.device,isSecondary:"desktop"!==this.state.device,onClick:function(e){return h(0,"device","desktop")}}),React.createElement(m.Button,{icon:"laptop",value:"laptop",label:Object(f.__)("Medium","woolentor"),isPrimary:"laptop"===this.state.device,isSecondary:"laptop"!==this.state.device,onClick:function(e){return h(0,"device","laptop")}}),React.createElement(m.Button,{icon:"tablet",value:"tablet",label:Object(f.__)("Small","woolentor"),isPrimary:"tablet"===this.state.device,isSecondary:"tablet"!==this.state.device,onClick:function(e){return h(0,"device","tablet")}}),React.createElement(m.Button,{icon:"smartphone",value:"mobile",label:Object(f.__)("Extra Small","woolentor"),isPrimary:"mobile"===this.state.device,isSecondary:"mobile"!==this.state.device,onClick:function(e){return h(0,"device","mobile")}}))),React.createElement(m.RangeControl,{value:n.columns[this.state.device],onChange:function(t){return function(e,t,r){var a=fo({},n.columns);a[t]=e,o(mo({},"columns",a))}(t,e.state.device)},min:0,step:1,max:10}),React.createElement(m.ToggleControl,{label:Object(f.__)("No Gutters","woolentor"),checked:d,help:d?Object(f.__)("Enable No Gutters.","woolentor"):Object(f.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!d})}}),!d&&React.createElement(m.RangeControl,{label:Object(f.__)("Gutter Spacing","woolentor"),value:b,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Area","woolentor")),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:n.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:fo(fo({},g),{},{backgroundColor:n.areaBackgroundColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Image","woolentor")),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Box Color","woolentor"),React.createElement("span",{style:fo(fo({},g),{},{backgroundColor:n.imageBoxColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.imageBoxColor,onChange:function(e){return o({imageBoxColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.imageMargin,attributesKey:"imageMargin",setAttributes:o}),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:n.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Title","woolentor")),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Color","woolentor"),React.createElement("span",{style:fo(fo({},g),{},{backgroundColor:n.titleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.titleColor,onChange:function(e){return o({titleColor:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Hover Color","woolentor"),React.createElement("span",{style:fo(fo({},g),{},{backgroundColor:n.titleHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Count","woolentor")),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Color","woolentor"),React.createElement("span",{style:fo(fo({},g),{},{backgroundColor:n.countColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.countColor,onChange:function(e){return o({countColor:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Before Border Color","woolentor"),React.createElement("span",{style:fo(fo({},g),{},{backgroundColor:n.countBeforeColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.countBeforeColor,onChange:function(e){return o({countBeforeColor:e})}}))))}}])&&bo(t.prototype,n),l}(y.Component);function Oo(e){return(Oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _o(){return(_o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function Co(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eo(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ro(e,t){return(Ro=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jo(e,t){if(t&&("object"===Oo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ko(e){return(ko=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var So=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ro(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ko(o);if(r){var n=ko(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return jo(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={categoryData:[]},t}return t=l,(n=[{key:"componentDidMount",value:function(){this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t,n=this.props.attributes,o=n.displayLimit,r=n.order;t="singleCat"==n.displayType?n.productCategory:"multipleCat"==n.displayType?n.productCategories:"";var a=e.attributes;("singleCat"==a.displayType?a.productCategory:"multipleCat"==a.displayType?a.productCategories:"")==t&&e.attributes.displayLimit==o&&e.attributes.order==r||this.fetchCategoryData()}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:this.props.attributes.displayLimit,queryOrder:this.props.attributes.order,queryType:"regular",wpnonce:woolentorData.security};"singleCat"==this.props.attributes.displayType?t.querySlug=this.props.attributes.productCategory:"multipleCat"==this.props.attributes.displayType?t.querySlug=this.props.attributes.productCategories:t.querySlug="";var n=Object(Y.addQueryArgs)("/woolentor/v1/category",t);K()({path:n}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,o=e.isSelected,r=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.style;""==l&&r({blockUniqId:a});var c=this.state.categoryData,s=0,u=-1;function p(e){var t=e.className,n=e.onClick;return React.createElement(m.Button,{className:t,onClick:n},React.createElement("i",{className:"fa fa-angle-right"}))}function d(e){var t=e.className,n=e.onClick;return React.createElement(m.Button,{className:t,onClick:n},React.createElement("i",{className:"fa fa-angle-left"}))}var f,b,g,h={arrows:t.slarrows,prevArrow:React.createElement(d,null),nextArrow:React.createElement(p,null),dots:t.sldots,infinite:!0,autoplay:t.slautolay,autoplaySpeed:t.slautoplaySpeed,speed:t.slanimationSpeed,fade:!1,pauseOnHover:t.slpauseOnHover,slidesToShow:t.slitems,slidesToScroll:t.slscrollItem,rtl:t.slIsrtl,responsive:[{breakpoint:t.sltabletWidth,settings:{slidesToShow:t.sltabletDisplayColumns,slidesToScroll:t.sltabletScrollColumns}},{breakpoint:t.slMobileWidth,settings:{slidesToShow:t.slMobileDisplayColumns,slidesToScroll:t.slMobileScrollColumns}}]},v=function(e){var n=t[e]?t[e]:{},o="";if(""!=n.top||""!=n.right||""!=n.bottom||""!=n.left){var r=n.unit?n.unit:"px";o=n.top?o+n.top+r+" ":"0"+r+" ",o=n.right?o+n.right+r+" ":"0"+r+" ",o=n.bottom?o+n.bottom+r+" ":"0"+r+" ",o=n.left?o+n.left+r+" ":"0"+r+" "}return o},w=V()(n,Co({},"woolentor-columns-".concat(t.columns.desktop),t.columns.desktop),Co({},"woolentor-laptop-columns-".concat(t.columns.laptop),t.columns.laptop),Co({},"woolentor-tablet-columns-".concat(t.columns.tablet),t.columns.tablet),Co({},"woolentor-mobile-columns-".concat(t.columns.mobile),t.columns.mobile),Co({},"woolentor-area-".concat(t.align),t.align)),O=V()(Co({},"woolentor-row",!0!==t.sliderOn),Co({},"wlno-gutters",1==t.noGutter),Co({},"product-slider",1==t.sliderOn)),_=V()(Co({},"woolentor-col-".concat(t.columns.desktop),t.columns.desktop)),C=Z.a.div(vo||(f=["\n\t\t\t"," !important;\n\t\t\t","px !important;\n\t\t\t\n\t\t\t& [class*='ht-category-wrap']{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& [class*='ht-category-image']{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .ht-category-wrap .ht-category-image a.ht-category-border::before,.ht-category-wrap-2:hover::before,.ht-category-wrap .ht-category-image a.ht-category-border-2::before{\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& [class*='ht-category-content'] h3 a{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& [class*='ht-category-content'] h3 a:hover{\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& [class*='ht-category-content'] span{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& [class*='ht-category-content'] span::before{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t\n\t\t"],b||(b=f.slice(0)),vo=Object.freeze(Object.defineProperties(f,{raw:{value:Object.freeze(b)}}))),!t.noGutter&&"padding: 0 "+t.itemSpace+"px 0 "+t.itemSpace+"px",!0!==t.sliderOn&&!t.noGutter&&u>=t.columns&&"margin-top:"+t.itemSpace+t.itemSpace,t.areaBackgroundColor&&"background-color:"+t.areaBackgroundColor,t.areaPadding&&"padding:"+v("areaPadding"),t.imageMargin&&"margin:"+v("imageMargin"),t.imageBorderRadius&&"border-radius:"+v("imageBorderRadius"),t.imageBoxColor&&"border-color:"+t.imageBoxColor,t.titleColor&&"color:"+t.titleColor,t.titleMargin&&"margin:"+v("titleMargin"),t.titleHoverColor&&"color:"+t.titleHoverColor,t.countColor&&"color:"+t.countColor,t.countBeforeColor&&"background-color:"+t.countBeforeColor);return c.length>0&&(g=c.map((function(e,n){return s=4===s?0:s,s++,u++,React.createElement(React.Fragment,null,React.createElement(C,{className:_},"1"===i&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(m.Disabled,null,React.createElement("a",{className:"ht-category-border",href:e.link},Object(y.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image[t.imageSize].html}})))),React.createElement("div",{className:"ht-category-content"},React.createElement("h3",null,React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},e.name))),1==t.showCount&&React.createElement("span",null,e.count))),"2"===i&&React.createElement("div",{className:"ht-category-wrap-2"},React.createElement("div",{className:"ht-category-content-2"},React.createElement("h3",null,React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},e.name)))),e.image&&React.createElement("div",{className:"ht-category-image-2"},React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},Object(y.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}}))))),"3"===i&&React.createElement("div",{className:"ht-category-wrap"},e.image?React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(m.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},Object(y.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))):React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(m.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},React.createElement("img",{src:e.placeholderImg,alt:e.name})))),React.createElement("div",{className:"ht-category-content-3 ht-category-content-3-bg"+s},React.createElement("h3",null,React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},e.name))))),"4"===i&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},Object(y.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-4"},React.createElement("h3",null,React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},e.name)),1==t.showCount&&React.createElement("span",null,e.count)))),"5"===i&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image-3 ht-category-image-zoom"},React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},Object(y.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-5"},React.createElement("h3",null,React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},e.name)))))))}))),React.createElement(y.Fragment,null,o&&React.createElement(wo,this.props),React.createElement("div",{className:w},React.createElement("div",{className:O},0==c.length?React.createElement(m.Spinner,null):1==t.sliderOn?React.createElement(J.a,_o({},h,{className:"product-slider"}),g):g)))}}])&&Eo(t.prototype,n),l}(y.Component),Po=n(19),Fo=React.createElement("svg",{"enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m22.5 24h-21c-.827 0-1.5-.673-1.5-1.5v-21c0-.827.673-1.5 1.5-1.5h21c.827 0 1.5.673 1.5 1.5v21c0 .827-.673 1.5-1.5 1.5zm-21-23c-.276 0-.5.224-.5.5v21c0 .276.224.5.5.5h21c.276 0 .5-.224.5-.5v-21c0-.276-.224-.5-.5-.5z"}),React.createElement("path",{d:"m23.5 16.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m23.5 8.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m8 24c-.276 0-.5-.224-.5-.5v-23c0-.276.224-.5.5-.5s.5.224.5.5v23c0 .276-.224.5-.5.5z"})),Ao=Po.name,To=Po.category,Bo=Po.attributes,xo={title:Object(f.__)("WL : Category Grid","woolentor"),description:Object(f.__)("Display product category grid.","woolentor"),icon:React.createElement(m.Icon,{icon:Fo}),keywords:["woolentor",Object(f.__)("shop category","woolentor"),Object(f.__)("category grid","woolentor"),Object(f.__)("product category","woolentor"),Object(f.__)("woocommerce","woolentor")],example:{attributes:{style:"1",showCount:!0}},supports:{align:["wide","full"]},attributes:Bo,edit:So,save:function(){return null}};function zo(e){return(zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Do(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Mo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Do(Object(n),!0).forEach((function(t){Lo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Do(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Io(e){return function(e){if(Array.isArray(e))return No(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return No(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?No(e,void 0):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function No(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Ho(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Wo(e,t){return(Wo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Go(e,t){if(t&&("object"===zo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function qo(e){return(qo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Uo,Vo,Qo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wo(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=qo(o);if(r){var n=qo(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Go(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={activeClass:!1},t}return t=l,(n=[{key:"render",value:function(){var e,t=this,n=this.props,o=n.attributes,r=n.setAttributes,a=o.showFirstItem,l={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"},i=function(e,t,n){var a=Io(o.faqList);a[n][t]=e,r({faqList:a})};return o.faqList.length&&(e=o.faqList.map((function(e,n){var a=t.state.activeClass===n?"woolentor_active_repeter":"";return React.createElement(y.Fragment,{key:n},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,n){n===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:n})}(0,n)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.faqList[n].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(m.IconButton,{className:"woolentor__remove-marker",icon:"no-alt",label:Object(f.__)("Delete Marker","woolentor"),onClick:function(){return function(e){var t=Io(o.faqList);t.splice(e,1),r({faqList:t})}(n)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(m.TextControl,{label:Object(f.__)("Faq Title","woolentor"),className:"woolentor__marker-title",placeholder:Object(f.__)("Marker Title","woolentor"),value:o.faqList[n].title,onChange:function(e){return i(e,"title",n)}}),React.createElement(m.TextareaControl,{label:Object(f.__)("Faq Content","woolentor"),value:o.faqList[n].content,onChange:function(e){return i(e,"content",n)}}))))}))),React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("FAQ","woolentor"),initialOpen:!0},e,React.createElement(m.Button,{isDefault:!0,icon:"plus-alt2",onClick:function(){var e=Io(o.faqList);e.push({title:Object(f.__)("Faq Item #"+(o.faqList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),r({faqList:e}),t.setState({activeClass:o.faqList.length})}.bind(this)},Object(f.__)("Add FAQ","woolentor"))),React.createElement(m.PanelBody,{title:Object(f.__)("Settings","woolentor"),initialOpen:!1},React.createElement(m.ToggleControl,{label:Object(f.__)("Show First Item","woolentor"),checked:a,help:a?Object(f.__)("Enable first item.","woolentor"):Object(f.__)("Toggle to show the first item.","woolentor"),onChange:function(){return r({showFirstItem:!a})}}),React.createElement(m.SelectControl,{label:Object(f.__)("Icon Position","woolentor"),value:o.iconPosition,options:[{label:Object(f.__)("Left","woolentor"),value:"left"},{label:Object(f.__)("Right","woolentor"),value:"right"}],onChange:function(e){return r({iconPosition:e})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Title","woolentor")),React.createElement(m.SelectControl,{label:Object(f.__)("Border Type","woolentor"),value:o.titleBorderType,options:[{label:Object(f.__)("None","woolentor"),value:""},{label:Object(f.__)("Solid","woolentor"),value:"solid"},{label:Object(f.__)("Double","woolentor"),value:"double"},{label:Object(f.__)("Dotted","woolentor"),value:"dotted"},{label:Object(f.__)("Dashed","woolentor"),value:"dashed"},{label:Object(f.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return r({titleBorderType:e})}}),o.titleBorderType&&React.createElement(React.Fragment,null,React.createElement(tt,{lavel:Object(f.__)("Border Width","woolentor"),dimensions:o.titleBorderWidth,attributesKey:"titleBorderWidth",setAttributes:r}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Border Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.titleBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.titleBorderColor,onChange:function(e){return r({titleBorderColor:e})}})),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:o.titleBorderRadius,attributesKey:"titleBorderRadius",setAttributes:r}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.headBackgroundColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.headBackgroundColor,onChange:function(e){return r({headBackgroundColor:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Active Background Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.activeHeadBackgroundColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.activeHeadBackgroundColor,onChange:function(e){return r({activeHeadBackgroundColor:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.faqTitleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.faqTitleColor,onChange:function(e){return r({faqTitleColor:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Active Title Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.activeFaqTitleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.activeFaqTitleColor,onChange:function(e){return r({activeFaqTitleColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.titleSize,fallbackFontSize:o.titleSize,onChange:function(e){return r({titleSize:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Icon Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.iconColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.iconColor,onChange:function(e){return r({iconColor:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Active Icon Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.activeIconColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.activeIconColor,onChange:function(e){return r({activeIconColor:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Content","woolentor")),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.contentColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.contentColor,onChange:function(e){return r({contentColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.contentSize,fallbackFontSize:o.contentSize,onChange:function(e){return r({contentSize:e})}}))))}}])&&Ho(t.prototype,n),l}(y.Component);function Ko(e){return(Ko="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Yo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Xo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jo(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Zo(e,t){return(Zo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $o(e,t){if(t&&("object"===Ko(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function er(e){return(er=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var tr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zo(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=er(o);if(r){var n=er(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return $o(this,e)});function l(){return Xo(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"componentDidMount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id");new Accordion("#"+e,{duration:500,showItem:this.props.attributes.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"})}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,n=t.faqList;if(e.attributes.faqList!==n||t.showFirstItem!==e.attributes.showFirstItem){this.$el=jQuery(this.el);var o=this.$el.attr("id");new Accordion("#"+o,{duration:500,showItem:t.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"}),jQuery(".htwoolentor-faq-card").on("click",(function(e){jQuery(this).toggleClass("is-active")}))}}},{key:"componentWillUnmount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id"),t=jQuery("#"+e);t.accordion&&(t.accordion("destroy"),t.accordion=!1)}},{key:"render",value:function(){var e=this,t=this.props,n=(t.name,t.attributes),o=t.className,r=t.isSelected,a=t.setAttributes,l=t.clientId,i=n.blockUniqId;n.bgProperty,l!==i&&a({blockUniqId:l});var c,s,u,p=function(e){var t=n[e]?n[e]:{},o="";if(""!=t.top||""!=t.right||""!=t.bottom||""!=t.left){var r=t.unit?t.unit:"px";o=t.top?o+t.top+r+" ":"0"+r+" ",o=t.right?o+t.right+r+" ":"0"+r+" ",o=t.bottom?o+t.bottom+r+" ":"0"+r+" ",o=t.left?o+t.left+r+" ":"0"+r+" "}return o},d=V()("htwoolentor-faq",(c={},s="woolentorfaq-icon-pos-".concat(n.iconPosition),u=n.iconPosition,s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c)),f=Z.a.div(Uo||(Uo=Yo(["\n\t\t\t",";\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t& .htwoolentor-faq-head-text{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .htwoolentor-faq-head-indicator:before, .htwoolentor-faq-head-indicator:after{\n\t\t\t\t"," !important;\n\t\t\t}\n\t\t"])),n.headBackgroundColor&&"background-color:"+n.headBackgroundColor,n.titleBorderType&&"border-style:"+n.titleBorderType,n.titleBorderWidth&&"border-width:"+p("titleBorderWidth"),n.titleBorderColor&&"border-color:"+n.titleBorderColor,n.titleBorderRadius&&"border-radius:"+p("titleBorderRadius"),n.faqTitleColor&&"color:"+n.faqTitleColor,n.titleSize&&"font-size:"+n.titleSize,n.iconColor&&"background-color:"+n.iconColor),m=Z.a.div(Vo||(Vo=Yo(["\n\t\t\t",";\n\n\t\t\t& p{\n\t\t\t\t"," !important;\n\t\t\t}\n\t\t"])),n.contentColor&&"color:"+n.contentColor,n.contentSize&&"font-size:"+n.contentSize),b=React.createElement("span",{className:"htwoolentor-faq-head-indicator"}),g=n.faqList.map((function(e,t){var o=e.title?React.createElement("span",{class:"htwoolentor-faq-head-text"},e.title):"";return React.createElement("div",{key:t,className:"htwoolentor-faq-card"},"right"===n.iconPosition?React.createElement(f,{className:"htwoolentor-faq-head"},o,b):React.createElement(f,{className:"htwoolentor-faq-head"},b,o),React.createElement("div",{className:"htwoolentor-faq-body"},React.createElement(m,{className:"htwoolentor-faq-content"},e.content&&React.createElement("p",null,e.content))))}));return React.createElement(y.Fragment,null,r&&React.createElement(Qo,this.props),React.createElement("div",{className:o},React.createElement("div",{className:d,id:"htwoolentor-faq-"+i+Math.random().toString(36).substr(2,9),ref:function(t){return e.el=t}},g)))}}])&&Jo(t.prototype,n),l}(y.Component),nr=n(20),or=React.createElement("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512",space:"preserve"},React.createElement("g",null,React.createElement("path",{d:"M256,0C114.516,0,0,114.497,0,256c0,141.484,114.497,256,256,256c141.484,0,256-114.497,256-256 C512,114.516,397.503,0,256,0z M256,472c-119.377,0-216-96.607-216-216c0-119.377,96.607-216,216-216 c119.377,0,216,96.607,216,216C472,375.377,375.393,472,256,472z"}),React.createElement("path",{d:"M256,128.5c-44.112,0-80,35.888-80,80c0,11.046,8.954,20,20,20s20-8.954,20-20c0-22.056,17.944-40,40-40 c22.056,0,40,17.944,40,40c0,22.056-17.944,40-40,40c-11.046,0-20,8.954-20,20v50c0,11.046,8.954,20,20,20 c11.046,0,20-8.954,20-20v-32.531c34.466-8.903,60-40.26,60-77.469C336,164.388,300.112,128.5,256,128.5z"}))),rr=nr.name,ar=nr.category,lr=nr.attributes,ir={title:Object(f.__)("WL : FAQ","woolentor"),description:Object(f.__)("Display faq.","woolentor"),icon:React.createElement(m.Icon,{icon:or}),keywords:[Object(f.__)("WooLentor","woolentor"),Object(f.__)("faq","woolentor"),Object(f.__)("accordion","woolentor"),Object(f.__)("question","woolentor"),Object(f.__)("answer","woolentor")],example:{},supports:{align:["wide","full"]},attributes:lr,edit:tr,save:function(){return null}};function cr(e){return(cr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(n),!0).forEach((function(t){pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dr(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fr(e,t){return(fr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mr(e,t){if(t&&("object"===cr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function br(e){return(br=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var gr,hr,yr,vr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fr(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=br(o);if(r){var n=br(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return mr(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={activeTab:"general",titleTab:"normal",actionBtnTab:"normal",device:"desktop"},t}return t=l,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.setAttributes,r=n.productFilterType,a=n.perPage,l=n.customOrder,i=n.orderBy,c=n.order,s=n.selectedCategories,u={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"},p=function(t,n,o){e.setState(pr({},n,o))};return React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement("div",{className:"woolentor-tabs-menu"},React.createElement(m.ButtonGroup,{className:"woolentor-tabs-menu-btn-group"},React.createElement(m.Button,{className:"general"===this.state.activeTab?"woolentor-tab-menu-item woolentor-tab-menu-active":"woolentor-tab-menu-item",icon:"admin-tools",value:"general",isPrimary:"general"===this.state.activeTab,isSecondary:"general"!==this.state.activeTab,onClick:function(e){return p(0,"activeTab","general")}},Object(f.__)("General","woolentor")),React.createElement(m.Button,{className:"styles"===this.state.activeTab?"woolentor-tab-menu-item woolentor-tab-menu-active":"woolentor-tab-menu-item",icon:"chart-pie",value:"styles",isPrimary:"styles"===this.state.activeTab,isSecondary:"styles"!==this.state.activeTab,onClick:function(e){return p(0,"activeTab","styles")}},Object(f.__)("Styles","woolentor")),React.createElement(m.Button,{className:"advanced"===this.state.activeTab?"woolentor-tab-menu-item woolentor-tab-menu-active":"woolentor-tab-menu-item",icon:"admin-generic",value:"advanced",isPrimary:"advanced"===this.state.activeTab,isSecondary:"advanced"!==this.state.activeTab,onClick:function(e){return p(0,"activeTab","advanced")}},Object(f.__)("Advanced","woolentor")))),React.createElement("div",{className:"woolentor-tabs-content"},"general"===this.state.activeTab&&React.createElement(React.Fragment,null,React.createElement(m.PanelBody,{title:Object(f.__)("Layout","woolentor"),initialOpen:!0},React.createElement(m.SelectControl,{label:Object(f.__)("Layout","woolentor"),value:n.layout,options:[{label:Object(f.__)("Layout One","woolentor"),value:"1"},{label:Object(f.__)("Layout Two","woolentor"),value:"2"},{label:Object(f.__)("Layout Three","woolentor"),value:"3"}],onChange:function(e){return o({layout:e})}}),React.createElement(m.PanelRow,{className:"woolentor-device-row",style:{minHeight:"auto"}},React.createElement("label",null,Object(f.__)("Columns","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-device-button"},React.createElement(m.Button,{icon:"desktop",value:"desktop",label:Object(f.__)("Large","woolentor"),isPrimary:"desktop"===this.state.device,isSecondary:"desktop"!==this.state.device,onClick:function(e){return p(0,"device","desktop")}}),React.createElement(m.Button,{icon:"laptop",value:"laptop",label:Object(f.__)("Medium","woolentor"),isPrimary:"laptop"===this.state.device,isSecondary:"laptop"!==this.state.device,onClick:function(e){return p(0,"device","laptop")}}),React.createElement(m.Button,{icon:"tablet",value:"tablet",label:Object(f.__)("Small","woolentor"),isPrimary:"tablet"===this.state.device,isSecondary:"tablet"!==this.state.device,onClick:function(e){return p(0,"device","tablet")}}),React.createElement(m.Button,{icon:"smartphone",value:"mobile",label:Object(f.__)("Extra Small","woolentor"),isPrimary:"mobile"===this.state.device,isSecondary:"mobile"!==this.state.device,onClick:function(e){return p(0,"device","mobile")}}))),React.createElement(m.RangeControl,{value:n.columns[this.state.device],onChange:function(t){return function(e,t,r){var a=ur({},n.columns);a[t]=e,o(pr({},"columns",a))}(t,e.state.device)},min:0,step:1,max:6}),React.createElement(m.ToggleControl,{label:Object(f.__)("No Gutters","woolentor"),checked:n.noGutter,help:n.noGutter?Object(f.__)("Enable No Gutters.","woolentor"):Object(f.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!n.noGutter})}}),!n.noGutter&&React.createElement(m.RangeControl,{label:Object(f.__)("Gutter Spacing","woolentor"),value:n.itemSpace,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}),React.createElement(m.RangeControl,{label:Object(f.__)("Margin Bottom","woolentor"),value:n.itemMarginBottom,onChange:function(e){return o({itemMarginBottom:e})},min:0,step:1,max:1e3})),React.createElement(m.PanelBody,{title:Object(f.__)("Query Options","woolentor"),initialOpen:!1},React.createElement(m.SelectControl,{label:Object(f.__)("Filter By","woolentor"),value:r,options:[{label:Object(f.__)("Recent Products","woolentor"),value:"recent"},{label:Object(f.__)("Featured Products","woolentor"),value:"featured"},{label:Object(f.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:Object(f.__)("Sale Products","woolentor"),value:"sale"},{label:Object(f.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:Object(f.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(m.RangeControl,{label:Object(f.__)("Number Of Products","woolentor"),value:a,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(m.ToggleControl,{label:Object(f.__)("Custom Order","woolentor"),checked:l,help:l?Object(f.__)("Enable custom order.","woolentor"):Object(f.__)("Toggle to show the custom order.","woolentor"),onChange:function(){return o({customOrder:!l})}}),React.createElement(A,{title:Object(f.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:s,type:"multiple"}),l?React.createElement(React.Fragment,null,React.createElement(m.SelectControl,{label:Object(f.__)("Order","woolentor"),value:c,options:[{label:Object(f.__)("Descending","woolentor"),value:"DESC"},{label:Object(f.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(m.SelectControl,{label:Object(f.__)("Orderby","woolentor"),value:i,options:[{label:Object(f.__)("None","woolentor"),value:"none"},{label:Object(f.__)("ID","woolentor"),value:"ID"},{label:Object(f.__)("Date","woolentor"),value:"date"},{label:Object(f.__)("Name","woolentor"),value:"name"},{label:Object(f.__)("Title","woolentor"),value:"title"},{label:Object(f.__)("Comment count","woolentor"),value:"comment_count"},{label:Object(f.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(m.PanelBody,{title:Object(f.__)("Content Settings","woolentor"),initialOpen:!1},React.createElement(m.RangeControl,{label:Object(f.__)("Content Limit","woolentor"),value:n.contentLimit,onChange:function(e){return o({contentLimit:e})},min:1,step:1,max:1e3}),React.createElement(m.ToggleControl,{label:Object(f.__)("Show Title","woolentor"),checked:n.showTitle,help:n.showTitle?Object(f.__)("Enable Title.","woolentor"):Object(f.__)("Toggle to show the title.","woolentor"),onChange:function(){return o({showTitle:!n.showTitle})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Show Price","woolentor"),checked:n.showPrice,help:n.showPrice?Object(f.__)("Enable Price.","woolentor"):Object(f.__)("Toggle to show the price.","woolentor"),onChange:function(){return o({showPrice:!n.showPrice})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Show Content","woolentor"),checked:n.showContent,help:n.showContent?Object(f.__)("Enable Content.","woolentor"):Object(f.__)("Toggle to show the content.","woolentor"),onChange:function(){return o({showContent:!n.showContent})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Show Rating","woolentor"),checked:n.showRating,help:n.showRating?Object(f.__)("Enable Rating.","woolentor"):Object(f.__)("Toggle to show the rating.","woolentor"),onChange:function(){return o({showRating:!n.showRating})}}))),"styles"===this.state.activeTab&&React.createElement(React.Fragment,null,React.createElement(m.PanelBody,{title:Object(f.__)("Item","woolentor"),initialOpen:!1},React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.itemAreaBGColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.itemAreaBGColor,onChange:function(e){return o({itemAreaBGColor:e})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Title","woolentor"),initialOpen:!1},React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:n.titleSize,fallbackFontSize:n.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(m.ButtonGroup,{className:"woolentor-tabs-menu-btn-group"},React.createElement(m.Button,{className:"normal"===this.state.titleTab?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",value:"normal",isPrimary:"normal"===this.state.activeTab,isSecondary:"normal"!==this.state.activeTab,onClick:function(e){return p(0,"titleTab","normal")}},Object(f.__)("Normal","woolentor")),React.createElement(m.Button,{className:"hover"===this.state.titleTab?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",value:"hover",isPrimary:"hover"===this.state.activeTab,isSecondary:"hover"!==this.state.activeTab,onClick:function(e){return p(0,"titleTab","hover")}},Object(f.__)("Hover","woolentor"))),"normal"===this.state.titleTab&&React.createElement("div",{className:"woolentor-element-tab-content"},React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.titleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.titleColor,onChange:function(e){return o({titleColor:e})}})),"hover"===this.state.titleTab&&React.createElement("div",{className:"woolentor-element-tab-content"},React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.titleHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))),React.createElement(m.PanelBody,{title:Object(f.__)("Price","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Sale Price","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.salePriceColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.salePriceColor,onChange:function(e){return o({salePriceColor:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Reguler Price","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.regulerPriceColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.regulerPriceColor,onChange:function(e){return o({regulerPriceColor:e})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Content","woolentor"),initialOpen:!1},React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:n.contentSize,fallbackFontSize:n.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.cotentColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.cotentColor,onChange:function(e){return o({cotentColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.contentMargin,attributesKey:"contentMargin",setAttributes:o})),React.createElement(m.PanelBody,{title:Object(f.__)("Rating","woolentor"),initialOpen:!1},React.createElement("h3",null,Object(f.__)("Empty Rating Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.emptyRatingColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}}),React.createElement("h3",null,Object(f.__)("Rating Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.ratingColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.ratingColor,onChange:function(e){return o({ratingColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(m.PanelBody,{title:Object(f.__)("Action Button","woolentor"),initialOpen:!1},React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.actionBtnAreaBGColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.actionBtnAreaBGColor,onChange:function(e){return o({actionBtnAreaBGColor:e})}}),React.createElement(m.ButtonGroup,{className:"woolentor-tabs-menu-btn-group"},React.createElement(m.Button,{className:"normal"===this.state.actionBtnTab?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",value:"normal",isPrimary:"normal"===this.state.actionBtnTab,isSecondary:"normal"!==this.state.actionBtnTab,onClick:function(e){return p(0,"actionBtnTab","normal")}},Object(f.__)("Normal","woolentor")),React.createElement(m.Button,{className:"hover"===this.state.actionBtnTab?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",value:"hover",isPrimary:"hover"===this.state.actionBtnTab,isSecondary:"hover"!==this.state.actionBtnTab,onClick:function(e){return p(0,"actionBtnTab","hover")}},Object(f.__)("Hover","woolentor"))),"normal"===this.state.actionBtnTab&&React.createElement("div",{className:"woolentor-element-tab-content"},React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.actionBtnColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}}),React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.actionBtnBGColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:n.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o})),"hover"===this.state.actionBtnTab&&React.createElement("div",{className:"woolentor-element-tab-content"},React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.actionBtnHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}}),React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.actionBtnBgHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.actionBtnBgHoverColor,onChange:function(e){return o({actionBtnBgHoverColor:e})}}))),React.createElement(m.PanelBody,{title:Object(f.__)("Image","woolentor"),initialOpen:!1},React.createElement("h3",null,Object(f.__)("Border Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.imageBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),"advanced"===this.state.activeTab&&React.createElement(React.Fragment,null,React.createElement(m.PanelBody,{title:Object(f.__)("Dimension","woolentor"),initialOpen:!1},React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:n.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(m.PanelBody,{title:Object(f.__)("Background","woolentor"),initialOpen:!1},React.createElement(Mt,{title:Object(f.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:n.areaBGProperty}))))))}}])&&dr(t.prototype,n),l}(y.Component);function wr(e){return(wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Or(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cr(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Er(e,t){return(Er=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Rr(e,t){if(t&&("object"===wr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function jr(e){return(jr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var kr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Er(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=jr(o);if(r){var n=jr(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Rr(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={productData:[]},t}return t=l,(n=[{key:"componentDidMount",value:function(){this.fetchProductsData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,n=t.perPage,o=t.productFilterType,r=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==n&&e.attributes.productFilterType==o&&e.attributes.customOrder==r&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData()}},{key:"componentWillUnmount",value:function(){}},{key:"fetchProductsData",value:function(){var e=this,t={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(t.orderBy=this.props.attributes.orderBy,t.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(t.categories=this.props.attributes.selectedCategories);var n=Object(Y.addQueryArgs)("/woolentor/v1/products",t);K()({path:n}).then((function(t){return e.setState({productData:t})}))}},{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),n=e.className,o=e.isSelected,r=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;a!==l&&r({blockUniqId:a});var c,s=function(e){var n=t[e]?t[e]:{},o="";if(""!=n.top||""!=n.right||""!=n.bottom||""!=n.left){var r=n.unit?n.unit:"px";o=n.top?o+n.top+r+" ":"0"+r+" ",o=n.right?o+n.right+r+" ":"0"+r+" ",o=n.bottom?o+n.bottom+r+" ":"0"+r+" ",o=n.left?o+n.left+r+" ":"0"+r+" "}return o},u=V()("woocommerce","woolentor-product-curvy",_r({},"woolentor-columns-".concat(t.columns.desktop),t.columns.desktop),_r({},"woolentor-laptop-columns-".concat(t.columns.laptop),t.columns.laptop),_r({},"woolentor-tablet-columns-".concat(t.columns.tablet),t.columns.tablet),_r({},"woolentor-mobile-columns-".concat(t.columns.mobile),t.columns.mobile)),p=V()(_r({},"woolentor-col-".concat(t.columns.desktop),t.columns.desktop)),d=V()("wl_single-product-item",_r({},"wl_left-item",2==t.layout),_r({},"wl_dark-item",3==t.layout)),f=Z.a.div(gr||(gr=Or(["\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t"])),t.areaMargin&&"margin:"+s("areaMargin"),t.areaPadding&&"padding:"+s("areaPadding"),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size),b=Z.a.div(hr||(hr=Or(["\n\t\t\t"," !important;\n\t\t\t","\n\t\t"])),!t.noGutter&&"padding: 0 "+t.itemSpace+"px 0 "+t.itemSpace+"px",t.itemMarginBottom&&"margin-bottom:"+t.itemMarginBottom+"px;"),g=Z.a.div(yr||(yr=Or(["\n\t\t\t",";\n\n\t\t\t&.wl_dark-item .product-content{\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top .title{\n\t\t\t\t"," !important;\n\t\t\t\t"," !important;\n\t\t\t}\n\t\t\t& .product-content .product-content-top .title a{\n\t\t\t\t"," !important;\n\t\t\t}\n\t\t\t& .product-content .product-content-top .title a:hover{\n\t\t\t\t"," !important;\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top .product-price{\n\t\t\t\t"," !important;\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top .product-price del{\n\t\t\t\t"," !important;\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top p{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top .star-rating{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-content .product-content-top .star-rating::before{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-content .product-content-top .star-rating span{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-content .product-content-top .star-rating {\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .product-content .action{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .action li a, .product-content .action li .woolentor-compare.compare::before{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .action li a{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\n\t\t\t& .product-content .action li a:hover, .product-content .action li .woolentor-compare.compare:hover::before{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .action li a:hover{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-thumbnail{\n\t\t\t\t","\n\t\t\t}\n\t\t\n\t\t"])),t.itemAreaBGColor&&"background-color:"+t.itemAreaBGColor,t.itemAreaBGColor&&"background-color:"+t.itemAreaBGColor,t.titleSize&&"font-size:"+t.titleSize,t.titleMargin&&"margin:"+s("titleMargin"),t.titleColor&&"color:"+t.titleColor,t.titleHoverColor&&"color:"+t.titleHoverColor,t.salePriceColor&&"color:"+t.salePriceColor,t.regulerPriceColor&&"color:"+t.regulerPriceColor,t.cotentColor&&"color:"+t.cotentColor,t.contentSize&&"font-size:"+t.contentSize,t.contentMargin&&"margin:"+s("contentMargin"),t.emptyRatingColor&&"color:"+t.emptyRatingColor,t.emptyRatingColor&&"color:"+t.emptyRatingColor,t.ratingColor&&"color:"+t.ratingColor,t.ratingMargin&&"margin:"+s("ratingMargin"),t.actionBtnAreaBGColor&&"background-color:"+t.actionBtnAreaBGColor+"!important;",t.actionBtnColor&&"color:"+t.actionBtnColor+"!important;",t.actionBtnBGColor&&"background-color:"+t.actionBtnBGColor+"!important;",t.actionBtnBorderRadius&&"border-radius:"+s("actionBtnBorderRadius")+"!important;",t.actionBtnHoverColor&&"color:"+t.actionBtnHoverColor+"!important;",t.actionBtnBgHoverColor&&"background-color:"+t.actionBtnBgHoverColor+"!important;",t.imageBorderColor&&"border-color:"+t.imageBorderColor+"!important;"),h=this.state.productData;return h.length>0&&(c=h.map((function(e,n){return React.createElement(b,{className:p},React.createElement(g,{className:d},React.createElement(m.Disabled,null,React.createElement("a",{href:e.permalink,className:"product-thumbnail"},Object(y.createElement)("div",{className:"images",dangerouslySetInnerHTML:{__html:e.image.full.html}}))),React.createElement("div",{className:"product-content"},React.createElement("div",{className:"product-content-top"},!0===t.showTitle&&React.createElement("h6",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),!0===t.showPrice&&Object(y.createElement)("div",{className:"product-price",dangerouslySetInnerHTML:{__html:e.price_html}}),!0===t.showContent&&React.createElement("p",null,e.content.split(" ").slice(0,t.contentLimit).join(" ")),!0===t.showRating&&Object(y.createElement)("div",{className:"reading",dangerouslySetInnerHTML:{__html:e.rating.html}})),React.createElement("ul",{className:"action"},React.createElement("li",{className:"wl_cart"},React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"action-item"+e.addtocart.class,"data-product_id":e.id},React.createElement("i",{class:"fa fa-shopping-cart"}))),e.wishlist.status&&Object(y.createElement)("li",{dangerouslySetInnerHTML:{__html:e.wishlist.html}}),e.compare.status&&Object(y.createElement)("li",{dangerouslySetInnerHTML:{__html:e.compare.html}})))))}))),React.createElement(y.Fragment,null,o&&React.createElement(vr,this.props),React.createElement(f,{className:n},React.createElement("div",{className:u},0==h.length?React.createElement(m.Spinner,null):React.createElement("div",{className:!0===t.noGutter?"woolentor-row wlno-gutters":"woolentor-row"},c))))}}])&&Cr(t.prototype,n),l}(y.Component),Sr=n(21),Pr=React.createElement("svg",{id:"Capa_1","enable-background":"new 0 0 512 512",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m166.717 225.43c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m166.717 263.74c-4.309 0-7.802 3.493-7.802 7.803 0 4.309 3.493 7.802 7.802 7.802s7.803-3.493 7.803-7.802c-.001-4.31-3.494-7.803-7.803-7.803z"}),React.createElement("path",{d:"m166.717 302.049c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802c-.001-4.309-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m302.846 63.778h-90.035l-2.93-21.993c-.497-3.727-3.675-6.51-7.435-6.51h-17.57c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h11.003l2.93 21.993c.003.022.008.043.012.064.003.018.002.036.005.053l7.994 53.55c.549 3.674 3.703 6.393 7.418 6.393h80.614c3.715 0 6.869-2.719 7.418-6.393l7.994-53.55c.322-2.159-.311-4.351-1.736-6.003-1.425-1.654-3.5-2.604-5.682-2.604zm-14.458 53.55h-67.686l-5.755-38.55h79.196z"}),React.createElement("path",{d:"m248.916 165.704c0-12.407-10.094-22.5-22.5-22.5s-22.5 10.093-22.5 22.5 10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5zm-30 0c0-4.136 3.364-7.5 7.5-7.5s7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5-7.5-3.364-7.5-7.5z"}),React.createElement("path",{d:"m282.673 143.204c-12.406 0-22.5 10.093-22.5 22.5s10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5-10.094-22.5-22.5-22.5zm0 30c-4.136 0-7.5-3.364-7.5-7.5s3.364-7.5 7.5-7.5 7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5z"}),React.createElement("path",{d:"m279.948 225.733h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 264.042h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 302.351h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("g",null,React.createElement("path",{d:"m484.615 88.534h-84.393v-66.614c0-9.951-8.096-18.047-18.047-18.047h-252.349c-9.951 0-18.048 8.096-18.048 18.047v66.614h-19.645c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h19.646v259.248h-96.779v-246.862c0-6.83 5.557-12.386 12.386-12.386h34.747c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-34.747c-15.101 0-27.386 12.286-27.386 27.386v291.442c0 15.1 12.285 27.385 27.386 27.385h166.31l-8.039 58.38h-24.209c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h189.248c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-24.209l-8.039-58.38h55.225c4.142 0 7.5-3.358 7.5-7.5s-3.358-7.5-7.5-7.5h-346.287c-6.829 0-12.386-5.556-12.386-12.385v-29.58h482v29.58c0 6.829-5.556 12.385-12.385 12.385h-80.942c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h80.942c15.1 0 27.385-12.285 27.385-27.385v-291.442c0-15.1-12.285-27.386-27.385-27.386zm-173.269 404.593h-110.548l8.039-58.38h94.47zm75.208-186.168c-28.917 0-52.443-23.526-52.443-52.443s23.526-52.444 52.443-52.444 52.443 23.526 52.443 52.444-23.526 52.443-52.443 52.443zm-259.776-285.039c0-1.68 1.367-3.047 3.048-3.047h252.349c1.68 0 3.047 1.367 3.047 3.047v165.186c-36.574.715-66.111 30.669-66.111 67.41s29.537 66.695 66.111 67.41v40.61h-258.444zm273.444 340.863v-42.217c30.658-6.335 53.775-33.542 53.775-66.049s-23.118-59.714-53.775-66.05v-84.932h84.393c6.829 0 12.385 5.556 12.385 12.386v246.862z"}),React.createElement("path",{d:"m394.221 246.215c-4.215-1.49-10.156-1.779-12.221-5.464-.154-.191-.159-1.161.199-2.321.211-.685.763-1.893 2.083-2.291 1.891-.57 4.118-.173 6.035.466 2.912.971 6.118-.031 8.046-2.418.044-.054.087-.107.13-.162 3.168-3.921 1.627-9.835-3.085-11.626-.542-.206-1.099-.395-1.671-.567v-2.359c0-4.142-3.357-7.5-7.5-7.5s-7.5 3.358-7.5 7.5v2.722c-5.865 2.243-10.182 7.478-11.399 13.944-1.211 6.425.935 12.69 5.601 16.349 4.315 3.385 10.376 5.783 16.283 7.872 2.59.915 3.688 2.655 3.266 5.17-.332 1.975-2.032 5.324-6.3 5.352-4.606.03-5.695-.139-9.043-2.329-3.712-2.427-8.775-1.144-10.826 2.94-1.733 3.451-.383 7.68 2.861 9.774 3.572 2.307 6.456 3.498 9.557 4.088v3.177c0 4.142 3.357 7.5 7.5 7.5s7.5-3.358 7.5-7.5v-4.032c6.961-2.626 12.247-8.778 13.543-16.485 1.631-9.702-3.617-18.462-13.059-21.8z"})))),Fr=Sr.name,Ar=Sr.category,Tr=Sr.attributes,Br={title:Object(f.__)("WL : Product Curvy","woolentor"),description:Object(f.__)("Product Curvy.","woolentor"),icon:React.createElement(m.Icon,{icon:Pr}),keywords:[Object(f.__)("WooLentor","woolentor"),Object(f.__)("product","woolentor"),Object(f.__)("curvy","woolentor"),Object(f.__)("woocommerce","woolentor"),Object(f.__)("display product","woolentor")],example:{attributes:{columns:{desktop:"2"},perPage:"2"}},supports:{align:["wide","full"]},attributes:Tr,edit:kr,save:function(){return null}};function xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dr=function(e){if(e){var t=e.name,n=e.category,o=e.settings;Object(d.registerBlockType)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xr(Object(n),!0).forEach((function(t){zr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({category:n},o))}},Mr=function(){[o,r,a,l,i,c,s,u,p].forEach(Dr)};Mr()}]);
1
+ !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=49)}([function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.React},function(e,t,n){var o;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)){if(o.length){var l=r.apply(null,o);l&&e.push(l)}}else if("object"===a)if(o.toString===Object.prototype.toString)for(var i in o)n.call(o,i)&&o[i]&&e.push(i);else e.push(o.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t,n){"use strict";(function(e){var o=n(23),r=n(4),a=n.n(r),l=n(29),i=n.n(l),c=n(30),s=n(31),u=n(26),p=n(24),d=n.n(p);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var m=function(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n},b=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!Object(o.typeOf)(e)},g=Object.freeze([]),h=Object.freeze({});function y(e){return"function"==typeof e}function v(e){return e.displayName||e.name||"Component"}function w(e){return e&&"string"==typeof e.styledComponentId}var O=void 0!==e&&(e.env.REACT_APP_SC_ATTR||e.env.SC_ATTR)||"data-styled",_="undefined"!=typeof window&&"HTMLElement"in window,C=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e&&void 0!==e.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e.env.REACT_APP_SC_DISABLE_SPEEDY&&e.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e&&void 0!==e.env.SC_DISABLE_SPEEDY&&""!==e.env.SC_DISABLE_SPEEDY&&"false"!==e.env.SC_DISABLE_SPEEDY&&e.env.SC_DISABLE_SPEEDY);function E(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var R=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)(r<<=1)<0&&E(16,""+e);this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var a=o;a<r;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(e+1),i=0,c=t.length;i<c;i++)this.tag.insertRule(l,t[i])&&(this.groupSizes[e]++,l++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,a=o;a<r;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),j=new Map,k=new Map,S=1,P=function(e){if(j.has(e))return j.get(e);for(;k.has(S);)S++;var t=S++;return j.set(e,t),k.set(t,e),t},F=function(e){return k.get(e)},A=function(e,t){t>=S&&(S=t+1),j.set(e,t),k.set(t,e)},T="style["+O+'][data-styled-version="5.3.1"]',B=new RegExp("^"+O+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),x=function(e,t,n){for(var o,r=n.split(","),a=0,l=r.length;a<l;a++)(o=r[a])&&e.registerName(t,o)},z=function(e,t){for(var n=(t.innerHTML||"").split("/*!sc*/\n"),o=[],r=0,a=n.length;r<a;r++){var l=n[r].trim();if(l){var i=l.match(B);if(i){var c=0|parseInt(i[1],10),s=i[2];0!==c&&(A(s,c),x(e,s,i[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(l)}}},D=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},M=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var o=t[n];if(o&&1===o.nodeType&&o.hasAttribute(O))return o}}(n),a=void 0!==r?r.nextSibling:null;o.setAttribute(O,"active"),o.setAttribute("data-styled-version","5.3.1");var l=D();return l&&o.setAttribute("nonce",l),n.insertBefore(o,a),o},L=function(){function e(e){var t=this.element=M(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}E(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),I=function(){function e(e){var t=this.element=M(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),o=this.nodes[e];return this.element.insertBefore(n,o||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),N=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),H=_,W={isServer:!_,useCSSOMInjection:!C},G=function(){function e(e,t,n){void 0===e&&(e=h),void 0===t&&(t={}),this.options=f({},W,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&_&&H&&(H=!1,function(e){for(var t=document.querySelectorAll(T),n=0,o=t.length;n<o;n++){var r=t[n];r&&"active"!==r.getAttribute(O)&&(z(e,r),r.parentNode&&r.parentNode.removeChild(r))}}(this))}e.registerId=function(e){return P(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(f({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,o=t.useCSSOMInjection,r=t.target,e=n?new N(r):o?new L(r):new I(r),new R(e)));var e,t,n,o,r},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(P(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(P(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(P(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=0;r<n;r++){var a=F(r);if(void 0!==a){var l=e.names.get(a),i=t.getGroup(r);if(l&&i&&l.size){var c=O+".g"+r+'[id="'+a+'"]',s="";void 0!==l&&l.forEach((function(e){e.length>0&&(s+=e+",")})),o+=""+i+c+'{content:"'+s+'"}/*!sc*/\n'}}}return o}(this)},e}(),q=/(a)(d)/gi,U=function(e){return String.fromCharCode(e+(e>25?39:97))};function V(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=U(t%52)+n;return(U(t%52)+n).replace(q,"$1-$2")}var Q=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},K=function(e){return Q(5381,e)};function Y(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(y(n)&&!w(n))return!1}return!0}var X=K("5.3.1"),J=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Y(e),this.componentId=t,this.baseHash=Q(X,t),this.baseStyle=n,G.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.componentId,r=[];if(this.baseStyle&&r.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(o,this.staticRulesId))r.push(this.staticRulesId);else{var a=me(this.rules,e,t,n).join(""),l=V(Q(this.baseHash,a)>>>0);if(!t.hasNameForId(o,l)){var i=n(a,"."+l,void 0,o);t.insertRules(o,l,i)}r.push(l),this.staticRulesId=l}else{for(var c=this.rules.length,s=Q(this.baseHash,n.hash),u="",p=0;p<c;p++){var d=this.rules[p];if("string"==typeof d)u+=d;else if(d){var f=me(d,e,t,n),m=Array.isArray(f)?f.join(""):f;s=Q(s,m+p),u+=m}}if(u){var b=V(s>>>0);if(!t.hasNameForId(o,b)){var g=n(u,"."+b,void 0,o);t.insertRules(o,b,g)}r.push(b)}}return r.join(" ")},e}(),Z=/^\s*\/\/.*$/gm,$=[":","[",".","#"];function ee(e){var t,n,o,r,a=void 0===e?h:e,l=a.options,i=void 0===l?h:l,s=a.plugins,u=void 0===s?g:s,p=new c.a(i),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,o,r,a,l,i,c,s,u,p){switch(n){case 1:if(0===u&&64===o.charCodeAt(0))return e(o+";"),"";break;case 2:if(0===s)return o+"/*|*/";break;case 3:switch(s){case 102:case 112:return e(r[0]+o),"";default:return o+(0===p?"/*|*/":"")}case-2:o.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),m=function(e,o,a){return 0===o&&-1!==$.indexOf(a[n.length])||a.match(r)?e:"."+t};function b(e,a,l,i){void 0===i&&(i="&");var c=e.replace(Z,""),s=a&&l?l+" "+a+" { "+c+" }":c;return t=i,n=a,o=new RegExp("\\"+n+"\\b","g"),r=new RegExp("(\\"+n+"\\b){2,}"),p(l||!a?"":a,s)}return p.use([].concat(u,[function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(n)>0&&(r[0]=r[0].replace(o,m))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),b.hash=u.length?u.reduce((function(e,t){return t.name||E(15),Q(e,t.name)}),5381).toString():"",b}var te=a.a.createContext(),ne=(te.Consumer,a.a.createContext()),oe=(ne.Consumer,new G),re=ee();function ae(){return Object(r.useContext)(te)||oe}function le(e){var t=Object(r.useState)(e.stylisPlugins),n=t[0],o=t[1],l=ae(),c=Object(r.useMemo)((function(){var t=l;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),s=Object(r.useMemo)((function(){return ee({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return Object(r.useEffect)((function(){i()(n,e.stylisPlugins)||o(e.stylisPlugins)}),[e.stylisPlugins]),a.a.createElement(te.Provider,{value:c},a.a.createElement(ne.Provider,{value:s},e.children))}var ie=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=re);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"))},this.toString=function(){return E(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=re),this.name+e.hash},e}(),ce=/([A-Z])/,se=/([A-Z])/g,ue=/^ms-/,pe=function(e){return"-"+e.toLowerCase()};function de(e){return ce.test(e)?e.replace(se,pe).replace(ue,"-ms-"):e}var fe=function(e){return null==e||!1===e||""===e};function me(e,t,n,o){if(Array.isArray(e)){for(var r,a=[],l=0,i=e.length;l<i;l+=1)""!==(r=me(e[l],t,n,o))&&(Array.isArray(r)?a.push.apply(a,r):a.push(r));return a}return fe(e)?"":w(e)?"."+e.styledComponentId:y(e)?"function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t?e:me(e(t),t,n,o):e instanceof ie?n?(e.inject(n,o),e.getName(o)):e:b(e)?function e(t,n){var o,r,a=[];for(var l in t)t.hasOwnProperty(l)&&!fe(t[l])&&(Array.isArray(t[l])&&t[l].isCss||y(t[l])?a.push(de(l)+":",t[l],";"):b(t[l])?a.push.apply(a,e(t[l],l)):a.push(de(l)+": "+(o=l,(null==(r=t[l])||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||o in s.a?String(r).trim():r+"px")+";")));return n?[n+" {"].concat(a,["}"]):a}(e):e.toString();var c}var be=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ge(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return y(e)||b(e)?be(me(m(g,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:be(me(m(e,n)))}new Set;var he=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ye=/(^-|-$)/g;function ve(e){return e.replace(he,"-").replace(ye,"")}function we(e){return"string"==typeof e&&!0}var Oe=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},_e=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ce(e,t,n){var o=e[n];Oe(t)&&Oe(o)?Ee(o,t):e[n]=t}function Ee(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];for(var r=0,a=n;r<a.length;r++){var l=a[r];if(Oe(l))for(var i in l)_e(i)&&Ce(e,l[i],i)}return e}var Re=a.a.createContext();Re.Consumer;var je={};function ke(e,t,n){var o=w(e),l=!we(e),i=t.attrs,c=void 0===i?g:i,s=t.componentId,p=void 0===s?function(e,t){var n="string"!=typeof e?"sc":ve(e);je[n]=(je[n]||0)+1;var o=n+"-"+function(e){return V(K(e)>>>0)}("5.3.1"+n+je[n]);return t?t+"-"+o:o}(t.displayName,t.parentComponentId):s,m=t.displayName,b=void 0===m?function(e){return we(e)?"styled."+e:"Styled("+v(e)+")"}(e):m,O=t.displayName&&t.componentId?ve(t.displayName)+"-"+t.componentId:t.componentId||p,_=o&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,C=t.shouldForwardProp;o&&e.shouldForwardProp&&(C=t.shouldForwardProp?function(n,o,r){return e.shouldForwardProp(n,o,r)&&t.shouldForwardProp(n,o,r)}:e.shouldForwardProp);var E,R=new J(n,O,o?e.componentStyle:void 0),j=R.isStatic&&0===c.length,k=function(e,t){return function(e,t,n,o){var a=e.attrs,l=e.componentStyle,i=e.defaultProps,c=e.foldedComponentIds,s=e.shouldForwardProp,p=e.styledComponentId,d=e.target,m=function(e,t,n){void 0===e&&(e=h);var o=f({},t,{theme:e}),r={};return n.forEach((function(e){var t,n,a,l=e;for(t in y(l)&&(l=l(o)),l)o[t]=r[t]="className"===t?(n=r[t],a=l[t],n&&a?n+" "+a:n||a):l[t]})),[o,r]}(function(e,t,n){return void 0===n&&(n=h),e.theme!==n.theme&&e.theme||t||n.theme}(t,Object(r.useContext)(Re),i)||h,t,a),b=m[0],g=m[1],v=function(e,t,n,o){var a=ae(),l=Object(r.useContext)(ne)||re;return t?e.generateAndInjectStyles(h,a,l):e.generateAndInjectStyles(n,a,l)}(l,o,b),w=n,O=g.$as||t.$as||g.as||t.as||d,_=we(O),C=g!==t?f({},t,{},g):t,E={};for(var R in C)"$"!==R[0]&&"as"!==R&&("forwardedAs"===R?E.as=C[R]:(s?s(R,u.a,O):!_||Object(u.a)(R))&&(E[R]=C[R]));return t.style&&g.style!==t.style&&(E.style=f({},t.style,{},g.style)),E.className=Array.prototype.concat(c,p,v!==p?v:null,t.className,g.className).filter(Boolean).join(" "),E.ref=w,Object(r.createElement)(O,E)}(E,e,t,j)};return k.displayName=b,(E=a.a.forwardRef(k)).attrs=_,E.componentStyle=R,E.displayName=b,E.shouldForwardProp=C,E.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):g,E.styledComponentId=O,E.target=o?e.target:e,E.withComponent=function(e){var o=t.componentId,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,["componentId"]),a=o&&o+"-"+(we(e)?e:ve(v(e)));return ke(e,f({},r,{attrs:_,componentId:a}),n)},Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?Ee({},e.defaultProps,t):t}}),E.toString=function(){return"."+E.styledComponentId},l&&d()(E,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),E}var Se,Pe=function(e){return function e(t,n,r){if(void 0===r&&(r=h),!Object(o.isValidElementType)(n))return E(1,String(n));var a=function(){return t(n,r,ge.apply(void 0,arguments))};return a.withConfig=function(o){return e(t,n,f({},r,{},o))},a.attrs=function(o){return e(t,n,f({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},a}(ke,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Pe[e]=Pe(e)})),(Se=function(e,t){this.rules=e,this.componentId=t,this.isStatic=Y(e),G.registerId(this.componentId+1)}.prototype).createStyles=function(e,t,n,o){var r=o(me(this.rules,t,n,o).join(""),""),a=this.componentId+e;n.insertRules(a,a,r)},Se.removeStyles=function(e,t){t.clearRules(this.componentId+e)},Se.renderStyles=function(e,t,n,o){e>2&&G.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=D();return"<style "+[n&&'nonce="'+n+'"',O+'="true"','data-styled-version="5.3.1"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?E(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return E(2);var n=((t={})[O]="",t["data-styled-version"]="5.3.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=D();return o&&(n.nonce=o),[a.a.createElement("style",f({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new G({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?E(2):a.a.createElement(le,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return E(3)}}(),t.a=Pe}).call(this,n(47))},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=window.wp.url},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.data},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=c,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=t.safePreventDefault=void 0;var o,r=(o=n(4))&&o.__esModule?o:{default:o};function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t,n){return Math.max(t,Math.min(e,n))}var s=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=s;var u=function(e){for(var t=[],n=p(e),o=d(e),r=n;r<o;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t};t.getOnDemandLazySlides=u,t.getRequiredLazySlides=function(e){for(var t=[],n=p(e),o=d(e),r=n;r<o;r++)t.push(r);return t};var p=function(e){return e.currentSlide-f(e)};t.lazyStartIndex=p;var d=function(e){return e.currentSlide+m(e)};t.lazyEndIndex=d;var f=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=f;var m=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=m;var b=function(e){return e&&e.offsetWidth||0};t.getWidth=b;var g=function(e){return e&&e.offsetHeight||0};t.getHeight=g;var h=function(e){var t,n,o,r,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,o=Math.atan2(n,t),(r=Math.round(180*o/Math.PI))<0&&(r=360-Math.abs(r)),r<=45&&r>=0||r<=360&&r>=315?"left":r>=135&&r<=225?"right":!0===a?r>=35&&r<=135?"up":"down":"vertical"};t.getSwipeDirection=h;var y=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=y,t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},t.initializedState=function(e){var t,n=r.default.Children.count(e.children),o=e.listRef,a=Math.ceil(b(o)),i=e.trackRef&&e.trackRef.node,c=Math.ceil(b(i));if(e.vertical)t=a;else{var s=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(s*=a/100),t=Math.ceil((a-s)/e.slidesToShow)}var p=o&&g(o.querySelector('[data-index="0"]')),d=p*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=n-1-e.initialSlide);var m=e.lazyLoadedList||[],h=u(l(l({},e),{},{currentSlide:f,lazyLoadedList:m})),y={slideCount:n,slideWidth:t,listWidth:a,trackWidth:c,currentSlide:f,slideHeight:p,listHeight:d,lazyLoadedList:m=m.concat(h)};return null===e.autoplaying&&e.autoplay&&(y.autoplaying="playing"),y},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,o=e.fade,r=e.infinite,a=e.index,i=e.slideCount,s=e.lazyLoad,p=e.currentSlide,d=e.centerMode,f=e.slidesToScroll,m=e.slidesToShow,b=e.useCSS,g=e.lazyLoadedList;if(t&&n)return{};var h,v,w,O=a,_={},j={},k=r?a:c(a,0,i-1);if(o){if(!r&&(a<0||a>=i))return{};a<0?O=a+i:a>=i&&(O=a-i),s&&g.indexOf(O)<0&&(g=g.concat(O)),_={animating:!0,currentSlide:O,lazyLoadedList:g,targetSlide:O},j={animating:!1,targetSlide:O}}else h=O,O<0?(h=O+i,r?i%f!=0&&(h=i-i%f):h=0):!y(e)&&O>p?O=h=p:d&&O>=i?(O=r?i:i-1,h=r?0:i-1):O>=i&&(h=O-i,r?i%f!=0&&(h=0):h=i-m),!r&&O+m>=i&&(h=i-m),v=R(l(l({},e),{},{slideIndex:O})),w=R(l(l({},e),{},{slideIndex:h})),r||(v===w&&(O=h),v=w),s&&(g=g.concat(u(l(l({},e),{},{currentSlide:O})))),b?(_={animating:!0,currentSlide:h,trackStyle:E(l(l({},e),{},{left:v})),lazyLoadedList:g,targetSlide:k},j={animating:!1,currentSlide:h,trackStyle:C(l(l({},e),{},{left:w})),swipeLeft:null,targetSlide:k}):_={currentSlide:h,trackStyle:C(l(l({},e),{},{left:w})),lazyLoadedList:g,targetSlide:k};return{state:_,nextState:j}},t.changeSlide=function(e,t){var n,o,r,a,i=e.slidesToScroll,c=e.slidesToShow,s=e.slideCount,u=e.currentSlide,p=e.targetSlide,d=e.lazyLoad,f=e.infinite;if(n=s%i!=0?0:(s-u)%i,"previous"===t.message)a=u-(r=0===n?i:c-n),d&&!f&&(a=-1==(o=u-r)?s-1:o),f||(a=p-i);else if("next"===t.message)a=u+(r=0===n?i:n),d&&!f&&(a=(u+i)%s+n),f||(a=p+i);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,f){var m=P(l(l({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===m?a-=s:a<t.currentSlide&&"right"===m&&(a+=s)}}else"index"===t.message&&(a=Number(t.index));return a},t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""},t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&s(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var n=t.scrolling,o=t.animating,r=t.vertical,a=t.swipeToSlide,i=t.verticalSwiping,c=t.rtl,u=t.currentSlide,p=t.edgeFriction,d=t.edgeDragged,f=t.onEdge,m=t.swiped,b=t.swiping,g=t.slideCount,v=t.slidesToScroll,w=t.infinite,O=t.touchObject,_=t.swipeEvent,E=t.listHeight,j=t.listWidth;if(!n){if(o)return s(e);r&&a&&i&&s(e);var k,S={},P=R(t);O.curX=e.touches?e.touches[0].pageX:e.clientX,O.curY=e.touches?e.touches[0].pageY:e.clientY,O.swipeLength=Math.round(Math.sqrt(Math.pow(O.curX-O.startX,2)));var F=Math.round(Math.sqrt(Math.pow(O.curY-O.startY,2)));if(!i&&!b&&F>10)return{scrolling:!0};i&&(O.swipeLength=F);var A=(c?-1:1)*(O.curX>O.startX?1:-1);i&&(A=O.curY>O.startY?1:-1);var T=Math.ceil(g/v),B=h(t.touchObject,i),x=O.swipeLength;return w||(0===u&&("right"===B||"down"===B)||u+1>=T&&("left"===B||"up"===B)||!y(t)&&("left"===B||"up"===B))&&(x=O.swipeLength*p,!1===d&&f&&(f(B),S.edgeDragged=!0)),!m&&_&&(_(B),S.swiped=!0),k=r?P+x*(E/j)*A:c?P-x*A:P+x*A,i&&(k=P+x*A),S=l(l({},S),{},{touchObject:O,swipeLeft:k,trackStyle:C(l(l({},t),{},{left:k}))}),Math.abs(O.curX-O.startX)<.8*Math.abs(O.curY-O.startY)||O.swipeLength>10&&(S.swiping=!0,s(e)),S}},t.swipeEnd=function(e,t){var n=t.dragging,o=t.swipe,r=t.touchObject,a=t.listWidth,i=t.touchThreshold,c=t.verticalSwiping,u=t.listHeight,p=t.swipeToSlide,d=t.scrolling,f=t.onSwipe,m=t.targetSlide,b=t.currentSlide,g=t.infinite;if(!n)return o&&s(e),{};var y=c?u/i:a/i,v=h(r,c),_={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d)return _;if(!r.swipeLength)return _;if(r.swipeLength>y){var C,j;s(e),f&&f(v);var k=g?b:m;switch(v){case"left":case"up":j=k+O(t),C=p?w(t,j):j,_.currentDirection=0;break;case"right":case"down":j=k-O(t),C=p?w(t,j):j,_.currentDirection=1;break;default:C=k}_.triggerSlideHandler=C}else{var S=R(t);_.trackStyle=E(l(l({},t),{},{left:S}))}return _};var v=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,o=e.infinite?-1*e.slidesToShow:0,r=[];n<t;)r.push(n),n=o+e.slidesToScroll,o+=Math.min(e.slidesToScroll,e.slidesToShow);return r};t.getNavigableIndexes=v;var w=function(e,t){var n=v(e),o=0;if(t>n[n.length-1])t=n[n.length-1];else for(var r in n){if(t<n[r]){t=o;break}o=n[r]}return t};t.checkNavigable=w;var O=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,o=e.listRef,r=o.querySelectorAll&&o.querySelectorAll(".slick-slide")||[];if(Array.from(r).every((function(o){if(e.vertical){if(o.offsetTop+g(o)/2>-1*e.swipeLeft)return n=o,!1}else if(o.offsetLeft-t+b(o)/2>-1*e.swipeLeft)return n=o,!1;return!0})),!n)return 0;var a=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-a)||1}return e.slidesToScroll};t.getSlideCount=O;var _=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=_;var C=function(e){var t,n;_(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var o=e.slideCount+2*e.slidesToShow;e.vertical?n=o*e.slideHeight:t=S(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=l(l({},r),{},{WebkitTransform:a,transform:i,msTransform:c})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),n&&(r.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r};t.getTrackCSS=C;var E=function(e){_(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=C(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=E;var R=function(e){if(e.unslick)return 0;_(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,o=e.slideIndex,r=e.trackRef,a=e.infinite,l=e.centerMode,i=e.slideCount,c=e.slidesToShow,s=e.slidesToScroll,u=e.slideWidth,p=e.listWidth,d=e.variableWidth,f=e.slideHeight,m=e.fade,b=e.vertical;if(m||1===e.slideCount)return 0;var g=0;if(a?(g=-j(e),i%s!=0&&o+s>i&&(g=-(o>i?c-(o-i):i%s)),l&&(g+=parseInt(c/2))):(i%s!=0&&o+s>i&&(g=c-i%s),l&&(g=parseInt(c/2))),t=b?o*f*-1+g*f:o*u*-1+g*u,!0===d){var h,y=r&&r.node;if(h=o+j(e),t=(n=y&&y.childNodes[h])?-1*n.offsetLeft:0,!0===l){h=a?o+j(e):o,n=y&&y.children[h],t=0;for(var v=0;v<h;v++)t-=y&&y.children[v]&&y.children[v].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(p-n.offsetWidth)/2}}return t};t.getTrackLeft=R;var j=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=j;var k=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=k;var S=function(e){return 1===e.slideCount?1:j(e)+e.slideCount+k(e)};t.getTotalSlides=S;var P=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+F(e)?"left":"right":e.targetSlide<e.currentSlide-A(e)?"right":"left"};t.siblingDirection=P;var F=function(e){var t=e.slidesToShow,n=e.centerMode,o=e.rtl,r=e.centerPadding;if(n){var a=(t-1)/2+1;return parseInt(r)>0&&(a+=1),o&&t%2==0&&(a+=1),a}return o?0:t-1};t.slidesOnRight=F;var A=function(e){var t=e.slidesToShow,n=e.centerMode,o=e.rtl,r=e.centerPadding;if(n){var a=(t-1)/2+1;return parseInt(r)>0&&(a+=1),o||t%2!=0||(a+=1),a}return o?t-1:0};t.slidesOnLeft=A,t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},function(e,t){e.exports=window.wp.blocks},function(e){e.exports=JSON.parse('{"name":"woolentor/product-tab","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"columns":{"type":"number","default":4},"rows":{"type":"number","default":1},"productTab":{"type":"boolean","default":false},"slider":{"type":"boolean","default":false},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"slitems":{"type":"number","default":4},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"titleColor":{"type":"string","selector":".product-item .product-inner .content .title a"},"titleHoverColor":{"type":"string","selector":".product-item .product-inner .content .title a:hover"},"titleAlign":{"type":"string","selector":".product-item .product-inner .content .title"},"priceColor":{"type":"string","selector":".product-item .product-inner .content .price"},"actionBtnColor":{"type":"string","selector":".product-item .actions a"},"actionBtnBgColor":{"type":"string","selector":".product-item .actions"},"actionBtnHoverColor":{"type":"string","selector":".product-item .actions a:hover"},"actionBtnHoverBgColor":{"type":"string","selector":".product-item .actions:hover"},"contentAlign":{"type":"string","selector":".product-item .product-inner .content .price"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/promo-banner","category":"woolentor-blocks","attributes":{"style":{"type":"string","default":"1"},"contentAlignment":{"type":"string","default":"left"},"title":{"type":"string","default":"","selector":".banner_title"},"subTitle":{"type":"string","default":"","selector":".banner_subtitle"},"imgId":{"type":"number"},"imgUrl":{"type":"string","source":"attribute","attribute":"src","selector":"img"},"buttonUrl":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"buttonText":{"type":"string","source":"html","selector":"a"},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"titleColor":{"type":"string","selector":".woolentor-banner .banner_title"},"titleSize":{"type":"string"},"subTitleColor":{"type":"string","selector":".woolentor-banner .banner_subtitle"},"subTitleSize":{"type":"string"},"buttonColor":{"type":"string","selector":".woolentor-banner .banner_button"},"buttonSize":{"type":"string"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/special-day-offer","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"contentPosition":{"type":"string","default":"center"},"bannerImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Banner Title"},"subTitle":{"type":"string","default":"Banner Sub Title"},"bannerDescription":{"type":"string","default":"Banner Description"},"offerAmount":{"type":"string"},"offerTagLine":{"type":"string"},"bannerLink":{"type":"string"},"buttonText":{"type":"string"},"badgeImage":{"type":"object","default":{"id":null,"url":""}},"badgeHorizontalPos":{"type":"number","default":25},"badgeVerticlePos":{"type":"number"},"titleColor":{"type":"string","selector":".wlspcial-banner .banner-content h2"},"titleSize":{"type":"string","selector":".wlspcial-banner .banner-content h2"},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content h2"},"titlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content h2"},"titleSubColor":{"type":"string","selector":".wlspcial-banner .banner-content h6"},"titleSubSize":{"type":"string","selector":".wlspcial-banner .banner-content h6"},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"subTitlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"contentAlignment":{"type":"string","selector":".wlspcial-banner .banner-content"},"contentAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"contentAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"desColor":{"type":"string","selector":".wlspcial-banner .banner-content p"},"desSize":{"type":"string","selector":".wlspcial-banner .banner-content p"},"desMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content p"},"desPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content p"},"offerColor":{"type":"string","selector":".wlspcial-banner .banner-content h5"},"offerSize":{"type":"string","selector":".wlspcial-banner .banner-content h5"},"offerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content h5"},"offerTagColor":{"type":"string","selector":".wlspcial-banner .banner-content h5 span"},"offerTagSize":{"type":"string","selector":".wlspcial-banner .banner-content h5 span"},"offerTagMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content h5 span"},"buttonColor":{"type":"string","selector":".wlspcial-banner .banner-content a"},"buttonHoverColor":{"type":"string","selector":".wlspcial-banner .banner-content a:hover"},"buttonSize":{"type":"string","selector":".wlspcial-banner .banner-content a"},"buttonMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlspcial-banner .banner-content a"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/image-marker","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"bgProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""}},"style":{"type":"string","default":"1"},"markerList":{"type":"array","default":[{"title":"Marker One","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":50,"verticle":15},{"title":"Marker Two","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":40,"verticle":20},{"title":"Marker Three","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":60,"verticle":30}]},"markerColor":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer::before"},"markerBGColor":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer"},"markerBorderColor":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer"},"markerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlb-marker-wrapper .wlb_image_pointer"},"markerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlb-marker-wrapper .wlb_image_pointer"},"markerContentBGColor":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box"},"markerContentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box"},"markerContentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box"},"markerTitleColor":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box h4"},"markerTitleSize":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box h4"},"markerTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box h4"},"markerDescriptionColor":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box p"},"markerDescriptionSize":{"type":"string","selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box p"},"markerDescriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wlb-marker-wrapper .wlb_image_pointer .wlb_pointer_box p"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/store-feature","category":"woolentor-blocks","supports":{"align":true},"attributes":{"blockUniqId":{"type":"string","default":""},"layout":{"type":"string","default":"1"},"featureImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Free shipping"},"subTitle":{"type":"string","default":"Start from $100"},"textAlignment":{"type":"string","default":"center"},"areaBorderColor":{"type":"string","selector":".ht-feature-wrap .ht-feature-inner"},"areaHoverBorderColor":{"type":"string","selector":".ht-feature-wrap:hover .ht-feature-inner"},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-feature-wrap"},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-feature-wrap"},"areaBackgroundColor":{"type":"string","selector":".ht-feature-wrap"},"titleColor":{"type":"string","selector":".ht-feature-wrap .ht-feature-content h4"},"titleSize":{"type":"string","selector":".ht-feature-wrap .ht-feature-content h4"},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-feature-wrap .ht-feature-content h4"},"subTitleColor":{"type":"string","selector":".ht-feature-wrap .ht-feature-content p"},"subTitleSize":{"type":"string","selector":".ht-feature-wrap .ht-feature-content p"},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-feature-wrap .ht-feature-content p"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/brand-logo","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"brandLogoList":{"type":"array","default":[{"title":"Brand Title One","image":{"id":"","url":""}},{"title":"Brand Title Two","image":{"id":"","url":""}},{"title":"Brand Title Three","image":{"id":"","url":""}}]},"columns":{"type":"object","default":{"desktop":6}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15},"singleItemAreaBorderType":{"type":"string","default":"","selector":".wl-single-brand"},"singleItemAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wl-single-brand"},"singleItemAreaBorderColor":{"type":"string","selector":".wl-single-brand"},"singleItemAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wl-single-brand"},"singleItemAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wl-single-brand"},"singleItemAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wl-single-brand"},"brandAlignment":{"type":"string","default":"center","selector":".wl-single-brand"},"brandImageBorderType":{"type":"string","default":"","selector":".wl-single-brand img"},"brandImageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wl-single-brand img"},"brandImageBorderColor":{"type":"string","selector":".wl-single-brand img"},"brandImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".wl-single-brand img"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/category-grid","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"displayType":{"type":"string","default":"allCat"},"productCategory":{"type":"string"},"productCategories":{"type":"array","default":[]},"order":{"type":"string","default":"asc"},"displayLimit":{"type":"number","default":6},"showCount":{"type":"boolean","default":true},"imageSize":{"type":"string","default":"full"},"sliderOn":{"type":"boolean","default":false},"slitems":{"type":"number","default":3},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slIsrtl":{"type":"boolean","default":false},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"areaBackgroundColor":{"type":"string"},"imageBoxColor":{"type":"string","selector":".ht-category-wrap .ht-category-image a.ht-category-border::before"},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-category-wrap .ht-category-image"},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-category-wrap .ht-category-image"},"titleColor":{"type":"string","selector":".ht-category-wrap .ht-category-content h3 a"},"titleHoverColor":{"type":"string","selector":".ht-category-wrap .ht-category-content h3 a:hover"},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"selector":".ht-category-wrap .ht-category-content h3"},"countColor":{"type":"string"},"countBeforeColor":{"type":"string"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/faq","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"faqList":{"type":"array","default":[{"title":"Words To Live By","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"Producing Perfume From Home","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"The Basics Of Western Astrology Explained","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"What Curling Irons Are The Best Ones","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."}]},"showFirstItem":{"type":"boolean","default":true},"iconPosition":{"type":"string","default":"right"},"headBackgroundColor":{"type":"string"},"faqTitleColor":{"type":"string"},"titleSize":{"type":"string"},"titleBorderType":{"type":"string"},"titleBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"titleBorderColor":{"type":"string"},"titleBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"iconColor":{"type":"string"},"activeHeadBackgroundColor":{"type":"string"},"activeFaqTitleColor":{"type":"string"},"activeIconColor":{"type":"string"},"contentColor":{"type":"string"},"contentSize":{"type":"string"}}}')},function(e){e.exports=JSON.parse('{"name":"woolentor/product-curvy","category":"woolentor-blocks","attributes":{"blockUniqId":{"type":"string","default":""},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""}},"layout":{"type":"string"},"columns":{"type":"object","default":{"desktop":4}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"contentLimit":{"type":"number","default":6},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showContent":{"type":"boolean","default":true},"showRating":{"type":"boolean","default":true},"itemAreaBGColor":{"type":"string"},"itemMarginBottom":{"type":"number","default":15},"titleSize":{"type":"string"},"titleColor":{"type":"string"},"titleHoverColor":{"type":"string"},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"salePriceColor":{"type":"string"},"regulerPriceColor":{"type":"string"},"contentSize":{"type":"string"},"cotentColor":{"type":"string"},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"emptyRatingColor":{"type":"string"},"ratingColor":{"type":"string"},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"actionBtnAreaBGColor":{"type":"string"},"actionBtnColor":{"type":"string"},"actionBtnBGColor":{"type":"string"},"actionBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"}},"actionBtnHoverColor":{"type":"string"},"actionBtnBgHoverColor":{"type":"string"},"imageBorderColor":{"type":"string"}}}')},function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=((o=n(32))&&o.__esModule?o:{default:o}).default;t.default=r},function(e,t,n){"use strict";e.exports=n(48)},function(e,t,n){"use strict";var o=n(23),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function c(e){return o.isMemo(e)?l:i[e.$$typeof]||r}i[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[o.Memo]=l;var s=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(m){var r=f(n);r&&r!==m&&e(t,r,o)}var l=u(n);p&&(l=l.concat(p(n)));for(var i=c(t),b=c(n),g=0;g<l.length;++g){var h=l[g];if(!(a[h]||o&&o[h]||b&&b[h]||i&&i[h])){var y=d(n,h);try{s(t,h,y)}catch(e){}}}}return t}},function(e,t){e.exports=window.wp.primitives},function(e,t,n){"use strict";var o,r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=(o={},function(e){return void 0===o[e]&&(o[e]=(t=e,r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),o[e];var t});t.a=a},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,o=e.length;n<o&&!1!==t(e[n],n);n++);}}},function(e,t){e.exports=function(e,t,n,o){var r=n?n.call(o,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var s=a[c];if(!i(s))return!1;var u=e[s],p=t[s];if(!1===(r=n?n.call(o,u,p,s):void 0)||void 0===r&&u!==p)return!1}return!0}},function(e,t,n){"use strict";t.a=function(e){function t(e,t,o){var r=t.trim().split(m);t=r;var a=r.length,l=e.length;switch(l){case 0:case 1:var i=0;for(e=0===l?"":e[0]+" ";i<a;++i)t[i]=n(e,t[i],o).trim();break;default:var c=i=0;for(t=[];i<a;++i)for(var s=0;s<l;++s)t[c++]=n(e[s]+" ",r[i],o).trim()}return t}function n(e,t,n){var o=t.charCodeAt(0);switch(33>o&&(o=(t=t.trim()).charCodeAt(0)),o){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,a){var l=e+";",i=2*t+3*n+4*a;if(944===i){e=l.indexOf(":",9)+1;var c=l.substring(e,l.length-1).trim();return c=l.substring(0,e).trim()+c+";",1===P||2===P&&r(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!r(l,1))return l;switch(i){case 1015:return 97===l.charCodeAt(10)?"-webkit-"+l+l:l;case 951:return 116===l.charCodeAt(3)?"-webkit-"+l+l:l;case 963:return 110===l.charCodeAt(5)?"-webkit-"+l+l:l;case 1009:if(100!==l.charCodeAt(4))break;case 969:case 942:return"-webkit-"+l+l;case 978:return"-webkit-"+l+"-moz-"+l+l;case 1019:case 983:return"-webkit-"+l+"-moz-"+l+"-ms-"+l+l;case 883:if(45===l.charCodeAt(8))return"-webkit-"+l+l;if(0<l.indexOf("image-set(",11))return l.replace(R,"$1-webkit-$2")+l;break;case 932:if(45===l.charCodeAt(4))switch(l.charCodeAt(5)){case 103:return"-webkit-box-"+l.replace("-grow","")+"-webkit-"+l+"-ms-"+l.replace("grow","positive")+l;case 115:return"-webkit-"+l+"-ms-"+l.replace("shrink","negative")+l;case 98:return"-webkit-"+l+"-ms-"+l.replace("basis","preferred-size")+l}return"-webkit-"+l+"-ms-"+l+l;case 964:return"-webkit-"+l+"-ms-flex-"+l+l;case 1023:if(99!==l.charCodeAt(8))break;return"-webkit-box-pack"+(c=l.substring(l.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+l+"-ms-flex-pack"+c+l;case 1005:return d.test(l)?l.replace(p,":-webkit-")+l.replace(p,":-moz-")+l:l;case 1e3:switch(t=(c=l.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=l.replace(v,"tb");break;case 232:c=l.replace(v,"tb-rl");break;case 220:c=l.replace(v,"lr");break;default:return l}return"-webkit-"+l+"-ms-"+c+l;case 1017:if(-1===l.indexOf("sticky",9))break;case 975:switch(t=(l=e).length-10,i=(c=(33===l.charCodeAt(t)?l.substring(0,t):l).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:l=l.replace(c,"-webkit-"+c)+";"+l;break;case 207:case 102:l=l.replace(c,"-webkit-"+(102<i?"inline-":"")+"box")+";"+l.replace(c,"-webkit-"+c)+";"+l.replace(c,"-ms-"+c+"box")+";"+l}return l+";";case 938:if(45===l.charCodeAt(5))switch(l.charCodeAt(6)){case 105:return c=l.replace("-items",""),"-webkit-"+l+"-webkit-box-"+c+"-ms-flex-"+c+l;case 115:return"-webkit-"+l+"-ms-flex-item-"+l.replace(_,"")+l;default:return"-webkit-"+l+"-ms-flex-line-pack"+l.replace("align-content","").replace(_,"")+l}break;case 973:case 989:if(45!==l.charCodeAt(3)||122===l.charCodeAt(4))break;case 931:case 953:if(!0===E.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,a).replace(":fill-available",":stretch"):l.replace(c,"-webkit-"+c)+l.replace(c,"-moz-"+c.replace("fill-",""))+l;break;case 962:if(l="-webkit-"+l+(102===l.charCodeAt(5)?"-ms-"+l:"")+l,211===n+a&&105===l.charCodeAt(13)&&0<l.indexOf("transform",10))return l.substring(0,l.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+l}return l}function r(e,t){var n=e.indexOf(1===t?":":"{"),o=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),B(2!==t?o:o.replace(C,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(O," or ($1)").substring(4):"("+t+")"}function l(e,t,n,o,r,a,l,i,s,u){for(var p,d=0,f=t;d<T;++d)switch(p=A[d].call(c,e,f,n,o,r,a,l,i,s,u)){case void 0:case!1:case!0:case null:break;default:f=p}if(f!==t)return f}function i(e){return void 0!==(e=e.prefix)&&(B=null,e?"function"!=typeof e?P=1:(P=2,B=e):P=0),i}function c(e,n){var i=e;if(33>i.charCodeAt(0)&&(i=i.trim()),i=[i],0<T){var c=l(-1,n,i,i,k,j,0,0,0,0);void 0!==c&&"string"==typeof c&&(n=c)}var p=function e(n,i,c,p,d){for(var f,m,b,v,O,_=0,C=0,E=0,R=0,A=0,B=0,z=b=f=0,D=0,M=0,L=0,I=0,N=c.length,H=N-1,W="",G="",q="",U="";D<N;){if(m=c.charCodeAt(D),D===H&&0!==C+R+E+_&&(0!==C&&(m=47===C?10:47),R=E=_=0,N++,H++),0===C+R+E+_){if(D===H&&(0<M&&(W=W.replace(u,"")),0<W.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:W+=c.charAt(D)}m=59}switch(m){case 123:for(f=(W=W.trim()).charCodeAt(0),b=1,I=++D;D<N;){switch(m=c.charCodeAt(D)){case 123:b++;break;case 125:b--;break;case 47:switch(m=c.charCodeAt(D+1)){case 42:case 47:e:{for(z=D+1;z<H;++z)switch(c.charCodeAt(z)){case 47:if(42===m&&42===c.charCodeAt(z-1)&&D+2!==z){D=z+1;break e}break;case 10:if(47===m){D=z+1;break e}}D=z}}break;case 91:m++;case 40:m++;case 34:case 39:for(;D++<H&&c.charCodeAt(D)!==m;);}if(0===b)break;D++}switch(b=c.substring(I,D),0===f&&(f=(W=W.replace(s,"").trim()).charCodeAt(0)),f){case 64:switch(0<M&&(W=W.replace(u,"")),m=W.charCodeAt(1)){case 100:case 109:case 115:case 45:M=i;break;default:M=F}if(I=(b=e(i,M,b,m,d+1)).length,0<T&&(O=l(3,b,M=t(F,W,L),i,k,j,I,m,d,p),W=M.join(""),void 0!==O&&0===(I=(b=O.trim()).length)&&(m=0,b="")),0<I)switch(m){case 115:W=W.replace(w,a);case 100:case 109:case 45:b=W+"{"+b+"}";break;case 107:b=(W=W.replace(g,"$1 $2"))+"{"+b+"}",b=1===P||2===P&&r("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=W+b,112===p&&(G+=b,b="")}else b="";break;default:b=e(i,t(i,W,L),b,p,d+1)}q+=b,b=L=M=z=f=0,W="",m=c.charCodeAt(++D);break;case 125:case 59:if(1<(I=(W=(0<M?W.replace(u,""):W).trim()).length))switch(0===z&&(f=W.charCodeAt(0),45===f||96<f&&123>f)&&(I=(W=W.replace(" ",":")).length),0<T&&void 0!==(O=l(1,W,i,n,k,j,G.length,p,d,p))&&0===(I=(W=O.trim()).length)&&(W="\0\0"),f=W.charCodeAt(0),m=W.charCodeAt(1),f){case 0:break;case 64:if(105===m||99===m){U+=W+c.charAt(D);break}default:58!==W.charCodeAt(I-1)&&(G+=o(W,f,m,W.charCodeAt(2)))}L=M=z=f=0,W="",m=c.charCodeAt(++D)}}switch(m){case 13:case 10:47===C?C=0:0===1+f&&107!==p&&0<W.length&&(M=1,W+="\0"),0<T*x&&l(0,W,i,n,k,j,G.length,p,d,p),j=1,k++;break;case 59:case 125:if(0===C+R+E+_){j++;break}default:switch(j++,v=c.charAt(D),m){case 9:case 32:if(0===R+_+C)switch(A){case 44:case 58:case 9:case 32:v="";break;default:32!==m&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===R+C+_&&(M=L=1,v="\f"+v);break;case 108:if(0===R+C+_+S&&0<z)switch(D-z){case 2:112===A&&58===c.charCodeAt(D-3)&&(S=A);case 8:111===B&&(S=B)}break;case 58:0===R+C+_&&(z=D);break;case 44:0===C+E+R+_&&(M=1,v+="\r");break;case 34:case 39:0===C&&(R=R===m?0:0===R?m:R);break;case 91:0===R+C+E&&_++;break;case 93:0===R+C+E&&_--;break;case 41:0===R+C+_&&E--;break;case 40:if(0===R+C+_){if(0===f)switch(2*A+3*B){case 533:break;default:f=1}E++}break;case 64:0===C+E+R+_+z+b&&(b=1);break;case 42:case 47:if(!(0<R+_+E))switch(C){case 0:switch(2*m+3*c.charCodeAt(D+1)){case 235:C=47;break;case 220:I=D,C=42}break;case 42:47===m&&42===A&&I+2!==D&&(33===c.charCodeAt(I+2)&&(G+=c.substring(I,D+1)),v="",C=0)}}0===C&&(W+=v)}B=A,A=m,D++}if(0<(I=G.length)){if(M=i,0<T&&void 0!==(O=l(2,G,M,n,k,j,I,p,d,p))&&0===(G=O).length)return U+G+q;if(G=M.join(",")+"{"+G+"}",0!=P*S){switch(2!==P||r(G,2)||(S=0),S){case 111:G=G.replace(y,":-moz-$1")+G;break;case 112:G=G.replace(h,"::-webkit-input-$1")+G.replace(h,"::-moz-$1")+G.replace(h,":-ms-input-$1")+G}S=0}}return U+G+q}(F,i,n,0,0);return 0<T&&void 0!==(c=l(-2,p,i,i,k,j,p.length,0,0,0))&&(p=c),S=0,j=k=1,p}var s=/^\0+/g,u=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,f=/([,: ])(transform)/g,m=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,h=/::(place)/g,y=/:(read-only)/g,v=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,_=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,E=/stretch|:\s*\w+\-(?:conte|avail)/,R=/([^-])(image-set\()/,j=1,k=1,S=0,P=1,F=[],A=[],T=0,B=null,x=0;return c.use=function e(t){switch(t){case void 0:case null:T=A.length=0;break;default:if("function"==typeof t)A[T++]=t;else if("object"==typeof t)for(var n=0,o=t.length;n<o;++n)e(t[n]);else x=0|!!t}return e},c.set=i,void 0!==e&&i(e),c}},function(e,t,n){"use strict";t.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(n(4)),r=n(33),a=c(n(40)),l=c(n(42)),i=n(11);function c(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=(0,i.canUseDOM)()&&n(43),w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(w,e);var t,n,c,s,p=(c=w,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(c);if(s){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return b(this,e)});function w(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),y(g(t=p.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),y(g(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),y(g(t),"slickNext",(function(){return t.innerSlider.slickNext()})),y(g(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),y(g(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),y(g(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=w,(n=[{key:"media",value:function(e,t){v.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,o){var r;r=0===o?(0,a.default)({minWidth:0,maxWidth:n}):(0,a.default)({minWidth:t[o-1]+1,maxWidth:n}),(0,i.canUseDOM)()&&e.media(r,(function(){e.setState({breakpoint:n})}))}));var n=(0,a.default)({minWidth:t.slice(-1)[0]});(0,i.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){v.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":d(d(d({},l.default),this.props),t[0].settings):d(d({},l.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var a=o.default.Children.toArray(this.props.children);a=a.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var i=[],c=null,s=0;s<a.length;s+=e.rows*e.slidesPerRow){for(var p=[],f=s;f<s+e.rows*e.slidesPerRow;f+=e.slidesPerRow){for(var m=[],b=f;b<f+e.slidesPerRow&&(e.variableWidth&&a[b].props.style&&(c=a[b].props.style.width),!(b>=a.length));b+=1)m.push(o.default.cloneElement(a[b],{key:100*s+10*f+b,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));p.push(o.default.createElement("div",{key:10*s+f},m))}e.variableWidth?i.push(o.default.createElement("div",{key:s,style:{width:c}},p)):i.push(o.default.createElement("div",{key:s},p))}if("unslick"===e){var g="regular slider "+(this.props.className||"");return o.default.createElement("div",{className:g},a)}return i.length<=e.slidesToShow&&(e.unslick=!0),o.default.createElement(r.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),i)}}])&&f(t.prototype,n),w}(o.default.Component);t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var o=d(n(4)),r=d(n(34)),a=d(n(35)),l=d(n(5)),i=n(11),c=n(36),s=n(37),u=n(38),p=d(n(39));function d(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function b(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(R,e);var t,n,d,g,E=(d=R,g=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=_(d);if(g){var n=_(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return w(this,e)});function R(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,R),C(O(t=E.call(this,e)),"listRefHandler",(function(e){return t.list=e})),C(O(t),"trackRefHandler",(function(e){return t.track=e})),C(O(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,i.getHeight)(e)+"px"}})),C(O(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,i.getOnDemandLazySlides)(h(h({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=h({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new p.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),C(O(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),C(O(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,i.getOnDemandLazySlides)(h(h({},t.props),t.state));n.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var r=h(h({listRef:t.list,trackRef:t.track},t.props),t.state),a=t.didPropsChange(e);a&&t.updateState(r,a,(function(){t.state.currentSlide>=o.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:o.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),C(O(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,a.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),C(O(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=Boolean(t.track&&t.track.node);if(n){var o=h(h({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(o,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),C(O(t),"updateState",(function(e,n,r){var a=(0,i.initializedState)(e);e=h(h(h({},e),a),{},{slideIndex:a.currentSlide});var l=(0,i.getTrackLeft)(e);e=h(h({},e),{},{left:l});var c=(0,i.getTrackCSS)(e);(n||o.default.Children.count(t.props.children)!==o.default.Children.count(e.children))&&(a.trackStyle=c),t.setState(a,r)})),C(O(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,r=[],a=(0,i.getPreClones)(h(h(h({},t.props),t.state),{},{slideCount:t.props.children.length})),l=(0,i.getPostClones)(h(h(h({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){r.push(t.props.style.width),e+=t.props.style.width}));for(var c=0;c<a;c++)n+=r[r.length-1-c],e+=r[r.length-1-c];for(var s=0;s<l;s++)e+=r[s];for(var u=0;u<t.state.currentSlide;u++)n+=r[u];var p={width:e+"px",left:-n+"px"};if(t.props.centerMode){var d="".concat(r[t.state.currentSlide],"px");p.left="calc(".concat(p.left," + (100% - ").concat(d,") / 2 ) ")}return{trackStyle:p}}var f=o.default.Children.count(t.props.children),m=h(h(h({},t.props),t.state),{},{slideCount:f}),b=(0,i.getPreClones)(m)+(0,i.getPostClones)(m)+f,g=100/t.props.slidesToShow*b,y=100/b,v=-y*((0,i.getPreClones)(m)+t.state.currentSlide)*g/100;return t.props.centerMode&&(v+=(100-y*g/100)/2),{slideWidth:y+"%",trackStyle:{width:g+"%",left:v+"%"}}})),C(O(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,o=0;Array.prototype.forEach.call(e,(function(e){var r=function(){return++o&&o>=n&&t.onWindowResized()};if(e.onclick){var a=e.onclick;e.onclick=function(){a(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=r,e.onerror=function(){r(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),C(O(t),"progressiveLazyLoad",(function(){for(var e=[],n=h(h({},t.props),t.state),o=t.state.currentSlide;o<t.state.slideCount+(0,i.getPostClones)(n);o++)if(t.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}for(var r=t.state.currentSlide-1;r>=-(0,i.getPreClones)(n);r--)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),C(O(t),"slideHandler",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=t.props,r=o.asNavFor,a=o.beforeChange,l=o.onLazyLoad,c=o.speed,s=o.afterChange,u=t.state.currentSlide,p=(0,i.slideHandler)(h(h(h({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),d=p.state,f=p.nextState;if(d){a&&a(u,d.currentSlide);var m=d.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));l&&m.length>0&&l(m),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),s&&s(u),delete t.animationEndCallback),t.setState(d,(function(){r&&t.asNavForIndex!==e&&(t.asNavForIndex=e,r.innerSlider.slideHandler(e)),f&&(t.animationEndCallback=setTimeout((function(){var e=f.animating,n=b(f,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),s&&s(d.currentSlide),delete t.animationEndCallback}))}),c))}))}})),C(O(t),"changeSlide",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=h(h({},t.props),t.state),r=(0,i.changeSlide)(o,e);if((0===r||r)&&(!0===n?t.slideHandler(r,n):t.slideHandler(r),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var a=t.list.querySelectorAll(".slick-current");a[0]&&a[0].focus()}})),C(O(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),C(O(t),"keyHandler",(function(e){var n=(0,i.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==n&&t.changeSlide({message:n})})),C(O(t),"selectHandler",(function(e){t.changeSlide(e)})),C(O(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),C(O(t),"enableBodyScroll",(function(){window.ontouchmove=null})),C(O(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,i.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)})),C(O(t),"swipeMove",(function(e){var n=(0,i.swipeMove)(e,h(h(h({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))})),C(O(t),"swipeEnd",(function(e){var n=(0,i.swipeEnd)(e,h(h(h({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var o=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==o&&(t.slideHandler(o),t.props.verticalSwiping&&t.enableBodyScroll())}})),C(O(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),C(O(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),C(O(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),C(O(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),C(O(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,i.canGoNext)(h(h({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),C(O(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),C(O(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),C(O(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),C(O(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),C(O(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),C(O(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),C(O(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),C(O(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),C(O(t),"render",(function(){var e,n,r,a=(0,l.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),p=h(h({},t.props),t.state),d=(0,i.extractObject)(p,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),f=t.props.pauseOnHover;if(d=h(h({},d),{},{onMouseEnter:f?t.onTrackOver:null,onMouseLeave:f?t.onTrackLeave:null,onMouseOver:f?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var b=(0,i.extractObject)(p,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),g=t.props.pauseOnDotsHover;b=h(h({},b),{},{clickHandler:t.changeSlide,onMouseEnter:g?t.onDotsLeave:null,onMouseOver:g?t.onDotsOver:null,onMouseLeave:g?t.onDotsLeave:null}),e=o.default.createElement(s.Dots,b)}var y=(0,i.extractObject)(p,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);y.clickHandler=t.changeSlide,t.props.arrows&&(n=o.default.createElement(u.PrevArrow,y),r=o.default.createElement(u.NextArrow,y));var v=null;t.props.vertical&&(v={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var O=h(h({},v),w),_=t.props.touchMove,C={className:"slick-list",style:O,onClick:t.clickHandler,onMouseDown:_?t.swipeStart:null,onMouseMove:t.state.dragging&&_?t.swipeMove:null,onMouseUp:_?t.swipeEnd:null,onMouseLeave:t.state.dragging&&_?t.swipeEnd:null,onTouchStart:_?t.swipeStart:null,onTouchMove:t.state.dragging&&_?t.swipeMove:null,onTouchEnd:_?t.touchEnd:null,onTouchCancel:t.state.dragging&&_?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},E={className:a,dir:"ltr",style:t.props.style};return t.props.unslick&&(C={className:"slick-list"},E={className:a}),o.default.createElement("div",E,t.props.unslick?"":n,o.default.createElement("div",m({ref:t.listRefHandler},C),o.default.createElement(c.Track,m({ref:t.trackRefHandler},d),t.props.children)),t.props.unslick?"":r,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=h(h({},r.default),{},{currentSlide:t.props.initialSlide,slideCount:o.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=h(h({},t.state),n),t}return t=R,(n=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,r=Object.keys(this.props);n<r.length;n++){var a=r[n];if(!e.hasOwnProperty(a)){t=!0;break}if("object"!==f(e[a])&&"function"!=typeof e[a]&&e[a]!==this.props[a]){t=!0;break}}return t||o.default.Children.count(this.props.children)!==o.default.Children.count(e.children)}}])&&y(t.prototype,n),R}(o.default.Component);t.InnerSlider=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,i="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,s=i||c||Function("return this")(),u=Object.prototype.toString,p=Math.max,d=Math.min,f=function(){return s.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var i=r.test(e);return i||a.test(e)?l(e.slice(2),i?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var o,r,a,l,i,c,s=0,u=!1,g=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=o,a=r;return o=r=void 0,s=t,l=e.apply(a,n)}function v(e){return s=e,i=setTimeout(O,t),u?y(e):l}function w(e){var n=e-c;return void 0===c||n>=t||n<0||g&&e-s>=a}function O(){var e=f();if(w(e))return _(e);i=setTimeout(O,function(e){var n=t-(e-c);return g?d(n,a-(e-s)):n}(e))}function _(e){return i=void 0,h&&o?y(e):(o=r=void 0,l)}function C(){var e=f(),n=w(e);if(o=arguments,r=this,c=e,n){if(void 0===i)return v(c);if(g)return i=setTimeout(O,t),y(c)}return void 0===i&&(i=setTimeout(O,t)),l}return t=b(t)||0,m(n)&&(u=!!n.leading,a=(g="maxWait"in n)?p(b(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),C.cancel=function(){void 0!==i&&clearTimeout(i),s=0,o=c=r=i=void 0},C.flush=function(){return void 0===i?l:_(f())},C}}).call(this,n(27))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var o=l(n(4)),r=l(n(5)),a=n(11);function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){var t,n,o,r,a;return o=(a=e.rtl?e.slideCount-1-e.index:e.index)<0||a>=e.slideCount,e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(a-e.currentSlide)%e.slideCount==0,a>e.currentSlide-r-1&&a<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=a&&a<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":o,"slick-current":a===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},v=function(e,t){return e.key||t},w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(w,e);var t,n,l,i,b=(l=w,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(l);if(i){var n=m(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function w(){var e;s(this,w);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return h(f(e=b.call.apply(b,[this].concat(n))),"node",null),h(f(e),"handleRef",(function(t){e.node=t})),e}return t=w,(n=[{key:"render",value:function(){var e=function(e){var t,n=[],l=[],i=[],c=o.default.Children.count(e.children),s=(0,a.lazyStartIndex)(e),u=(0,a.lazyEndIndex)(e);return o.default.Children.forEach(e.children,(function(p,d){var f,m={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};f=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(d)>=0?p:o.default.createElement("div",null);var b=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(g(g({},e),{},{index:d})),h=f.props.className||"",w=y(g(g({},e),{},{index:d}));if(n.push(o.default.cloneElement(f,{key:"original"+v(f,d),"data-index":d,className:(0,r.default)(w,h),tabIndex:"-1","aria-hidden":!w["slick-active"],style:g(g({outline:"none"},f.props.style||{}),b),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})),e.infinite&&!1===e.fade){var O=c-d;O<=(0,a.getPreClones)(e)&&c!==e.slidesToShow&&((t=-O)>=s&&(f=p),w=y(g(g({},e),{},{index:t})),l.push(o.default.cloneElement(f,{key:"precloned"+v(f,t),"data-index":t,tabIndex:"-1",className:(0,r.default)(w,h),"aria-hidden":!w["slick-active"],style:g(g({},f.props.style||{}),b),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}}))),c!==e.slidesToShow&&((t=c+d)<u&&(f=p),w=y(g(g({},e),{},{index:t})),i.push(o.default.cloneElement(f,{key:"postcloned"+v(f,t),"data-index":t,tabIndex:"-1",className:(0,r.default)(w,h),"aria-hidden":!w["slick-active"],style:g(g({},f.props.style||{}),b),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})))}})),e.rtl?l.concat(n,i).reverse():l.concat(n,i)}(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return o.default.createElement("div",c({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&u(t.prototype,n),w}(o.default.PureComponent);t.Track=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var o=l(n(4)),r=l(n(5)),a=n(11);function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(g,e);var t,n,l,i,b=(l=g,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(l);if(i){var n=m(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function g(){return u(this,g),b.apply(this,arguments)}return t=g,(n=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,l=t.onMouseOver,i=t.onMouseLeave,u=t.infinite,p=t.slidesToScroll,d=t.slidesToShow,f=t.slideCount,m=t.currentSlide,b=(e={slideCount:f,slidesToScroll:p,slidesToShow:d,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,g={onMouseEnter:n,onMouseOver:l,onMouseLeave:i},h=[],y=0;y<b;y++){var v=(y+1)*p-1,w=u?v:(0,a.clamp)(v,0,f-1),O=w-(p-1),_=u?O:(0,a.clamp)(O,0,f-1),C=(0,r.default)({"slick-active":u?m>=_&&m<=w:m===_}),E={message:"dots",index:y,slidesToScroll:p,currentSlide:m},R=this.clickHandler.bind(this,E);h=h.concat(o.default.createElement("li",{key:y,className:C},o.default.cloneElement(this.props.customPaging(y),{onClick:R})))}return o.default.cloneElement(this.props.appendDots(h),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},g))}}])&&p(t.prototype,n),g}(o.default.PureComponent);t.Dots=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var o=l(n(4)),r=l(n(5)),a=n(11);function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");var n,o;e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(n=e,o=t,(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(n,o))}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=y(e);if(t){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){b(n,e);var t=g(n);function n(){return d(this,n),t.apply(this,arguments)}return m(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,r.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?o.default.cloneElement(this.props.prevArrow,u(u({},n),a)):o.default.createElement("button",c({key:"0",type:"button"},n)," ","Previous")}}]),n}(o.default.PureComponent);t.PrevArrow=v;var w=function(e){b(n,e);var t=g(n);function n(){return d(this,n),t.apply(this,arguments)}return m(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,r.default)(e),style:{display:"block"},onClick:t},l={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?o.default.cloneElement(this.props.nextArrow,u(u({},n),l)):o.default.createElement("button",c({key:"1",type:"button"},n)," ","Next")}}]),n}(o.default.PureComponent);t.NextArrow=w},function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,r=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},l=["top","right","bottom","left","width","height","size","weight"],i="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function l(){n&&(n=!1,e()),o&&c()}function i(){a(l)}function c(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(i,20);r=e}return c}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),i?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),s=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||r},p=g(0,0,0,0);function d(e){return parseFloat(e)||0}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return o?m(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var o=u(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],a=e["padding-"+r];t[r]=d(a)}return t}(o),a=r.left+r.right,l=r.top+r.bottom,i=d(o.width),c=d(o.height);if("border-box"===o.boxSizing&&(Math.round(i+a)!==t&&(i-=f(o,"left","right")+a),Math.round(c+l)!==n&&(c-=f(o,"top","bottom")+l)),!function(e){return e===u(e).document.documentElement}(e)){var s=Math.round(i+a)-t,m=Math.round(c+l)-n;1!==Math.abs(s)&&(i-=s),1!==Math.abs(m)&&(c-=m)}return g(r.left,r.top,i,c)}(e):p}function g(e,t,n,o){return{x:e,y:t,width:n,height:o}}var h=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var n,o,r,a,l,i,c,u=(o=(n=t).x,r=n.y,a=n.width,l=n.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(i.prototype),s(c,{x:o,y:r,width:a,height:l,top:r,right:o+a,bottom:l+r,left:o}),c);s(this,{target:e,contentRect:u})},v=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new h(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new y(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new n,O=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),o=new v(t,n,this);w.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}}));var _=void 0!==r.ResizeObserver?r.ResizeObserver:O;t.default=_}.call(this,n(27))},function(e,t,n){var o=n(41),r=function(e){var t="",n=Object.keys(e);return n.forEach((function(r,a){var l=e[r];(function(e){return/[height|width]$/.test(e)})(r=o(r))&&"number"==typeof l&&(l+="px"),t+=!0===l?r:!1===l?"not "+r:"("+r+": "+l+")",a<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,o){t+=r(n),o<e.length-1&&(t+=", ")})),t):r(e)}},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=(o=n(4))&&o.__esModule?o:{default:o},a={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return r.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return r.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=a},function(e,t,n){var o=n(44);e.exports=new o},function(e,t,n){var o=n(45),r=n(28),a=r.each,l=r.isFunction,i=r.isArray;function c(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}c.prototype={constructor:c,register:function(e,t,n){var r=this.queries,c=n&&this.browserIsIncapable;return r[e]||(r[e]=new o(e,c)),l(t)&&(t={match:t}),i(t)||(t=[t]),a(t,(function(t){l(t)&&(t={match:t}),r[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=c},function(e,t,n){var o=n(46),r=n(28).each;function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}a.prototype={constuctor:a,addHandler:function(e){var t=new o(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;r(t,(function(n,o){if(n.equals(e))return n.destroy(),!t.splice(o,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){r(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";r(this.handlers,(function(t){t[e]()}))}},e.exports=a},function(e,t){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n},function(e,t){var n,o,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{o="function"==typeof clearTimeout?clearTimeout:l}catch(e){o=l}}();var c,s=[],u=!1,p=-1;function d(){u&&c&&(u=!1,c.length?s=c.concat(s):p=-1,s.length&&f())}function f(){if(!u){var e=i(d);u=!0;for(var t=s.length;t;){for(c=s,s=[];++p<t;)c&&c[p].run();p=-1,t=s.length}c=null,u=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===l||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function b(){}r.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];s.push(new m(e,t)),1!==s.length||u||i(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=b,r.addListener=b,r.once=b,r.off=b,r.removeListener=b,r.removeAllListeners=b,r.emit=b,r.prependListener=b,r.prependOnceListener=b,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,i=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,d=o?Symbol.for("react.concurrent_mode"):60111,f=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,b=o?Symbol.for("react.suspense_list"):60120,g=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,y=o?Symbol.for("react.block"):60121,v=o?Symbol.for("react.fundamental"):60117,w=o?Symbol.for("react.responder"):60118,O=o?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case p:case d:case l:case c:case i:case m:return e;default:switch(e=e&&e.$$typeof){case u:case f:case h:case g:case s:return e;default:return t}}case a:return t}}}function C(e){return _(e)===d}t.AsyncMode=p,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=l,t.Lazy=h,t.Memo=g,t.Portal=a,t.Profiler=c,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return C(e)||_(e)===p},t.isConcurrentMode=C,t.isContextConsumer=function(e){return _(e)===u},t.isContextProvider=function(e){return _(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===f},t.isFragment=function(e){return _(e)===l},t.isLazy=function(e){return _(e)===h},t.isMemo=function(e){return _(e)===g},t.isPortal=function(e){return _(e)===a},t.isProfiler=function(e){return _(e)===c},t.isStrictMode=function(e){return _(e)===i},t.isSuspense=function(e){return _(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===d||e===c||e===i||e===m||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===w||e.$$typeof===O||e.$$typeof===y)},t.typeOf=_},function(e,t,n){"use strict";n.r(t),n.d(t,"registerWoolentorBlocks",(function(){return Mr}));var o={};n.r(o),n.d(o,"name",(function(){return ue})),n.d(o,"category",(function(){return pe})),n.d(o,"metadata",(function(){return se})),n.d(o,"settings",(function(){return fe}));var r={};n.r(r),n.d(r,"name",(function(){return Me})),n.d(r,"category",(function(){return Le})),n.d(r,"metadata",(function(){return ze})),n.d(r,"settings",(function(){return Ne}));var a={};n.r(a),n.d(a,"name",(function(){return Ct})),n.d(a,"category",(function(){return Et})),n.d(a,"metadata",(function(){return Ot})),n.d(a,"settings",(function(){return jt}));var l={};n.r(l),n.d(l,"name",(function(){return sn})),n.d(l,"category",(function(){return un})),n.d(l,"metadata",(function(){return ln})),n.d(l,"settings",(function(){return dn}));var i={};n.r(i),n.d(i,"name",(function(){return Dn})),n.d(i,"category",(function(){return Mn})),n.d(i,"metadata",(function(){return xn})),n.d(i,"settings",(function(){return In}));var c={};n.r(c),n.d(c,"name",(function(){return lo})),n.d(c,"category",(function(){return io})),n.d(c,"metadata",(function(){return ro})),n.d(c,"settings",(function(){return so}));var s={};n.r(s),n.d(s,"name",(function(){return Ao})),n.d(s,"category",(function(){return To})),n.d(s,"metadata",(function(){return Po})),n.d(s,"settings",(function(){return xo}));var u={};n.r(u),n.d(u,"name",(function(){return rr})),n.d(u,"category",(function(){return ar})),n.d(u,"metadata",(function(){return nr})),n.d(u,"settings",(function(){return ir}));var p={};n.r(p),n.d(p,"name",(function(){return Fr})),n.d(p,"category",(function(){return Ar})),n.d(p,"metadata",(function(){return Sr})),n.d(p,"settings",(function(){return Br}));var d=n(12),f=n(0),m=n(1);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var g,h=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"20",height:"20",viewBox:"0 0 40 40"},React.createElement("image",{id:"woolentor-logo",width:"40",height:"40",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"}));Object(d.setCategories)([{slug:"woolentor-blocks",title:Object(f.__)("WooLentor","woolentor"),icon:React.createElement(m.Icon,{icon:h})}].concat(function(e){if(Array.isArray(e))return b(e)}(g=Object(d.getCategories)().filter((function(e){return"woolentor-blocks"!==e.slug})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(g)||function(e,t){if(e){if("string"==typeof e)return b(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,void 0):void 0}}(g)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var y=n(2),v=n(9),w=n(10);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return E(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,void 0):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){if(t&&("object"===O(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=P(o);if(r){var n=P(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return S(this,e)});function l(){return R(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e,t=this.props,n=t.setAttributes,o=t.selectedTaxonomies,r=t.attributesKey,a=t.title,l=t.type,i=t.taxnomiesList,c=function(){var e=[];return i&&i.forEach((function(t,n){e.push({label:t.name,value:t.slug})})),e};if("multiple"==l){var s=c();s.length>0&&(e=s.map((function(e,t){return React.createElement(m.CheckboxControl,{key:e.value,label:e.label,onChange:function(t){return function(e,t){var a=-1!==o.indexOf(t)?C(o):[].concat(C(o),[t]);if(0==e){var l=a.indexOf(t);a.splice(l,1)}n(_({},r,a))}(t,e.value)},checked:-1!==o.indexOf(e.value)})})))}return React.createElement(y.Fragment,null,React.createElement("div",{className:"woolentor-component-taxonomy-area"},"single"!=l&&React.createElement("h2",{className:"woolentor-component-area-title"},a),React.createElement("div",{className:"woolentor-component-taxonomy-fileds"},"single"==l?0==c().length?React.createElement(m.Spinner,null):React.createElement(m.SelectControl,{label:a,value:o,options:c(),onChange:function(e){return n(_({},r,e))}}):e||React.createElement(m.Spinner,null))))}}])&&j(t.prototype,n),l}(y.Component),A=Object(v.compose)([Object(w.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomy?t.taxonomy:"product_cat",{orderby:"name",order:"asc",hide_empty:!0})}}))])(F),T=n(3);function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){D(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){if(t&&("object"===B(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W,G,q=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=H(o);if(r){var n=H(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return N(this,e)});function l(){return M(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,o=t.style,r=t.columns,a=t.rows,l=t.productTab,i=t.slider,c=t.productFilterType,s=t.perPage,u=t.customOrder,p=t.orderBy,d=t.order,b=t.selectedCategories,g=t.slitems,h=t.slarrows,v=t.sldots,w=t.slpauseOnHover,O=t.slautolay,_=t.slautoplaySpeed,C=t.slanimationSpeed,E=t.slscrollItem,R=t.sltabletDisplayColumns,j=t.sltabletScrollColumns,k=t.sltabletWidth,S=t.slMobileDisplayColumns,P=t.slMobileScrollColumns,F=t.slMobileWidth,B={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"};return React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Layout","woolentor"),initialOpen:!0},React.createElement(m.SelectControl,{label:Object(f.__)("Product Style","woolentor"),value:o,options:[{label:Object(f.__)("Style One","woolentor"),value:"1"},{label:Object(f.__)("Style Two","woolentor"),value:"2"},{label:Object(f.__)("Style Three","woolentor"),value:"3"}],onChange:function(e){return n({style:e})}}),React.createElement(m.RangeControl,{label:Object(f.__)("Columns","woolentor"),value:r,onChange:function(e){return n({columns:e})},min:1,step:1,max:6}),React.createElement(m.RangeControl,{label:Object(f.__)("Rows","woolentor"),value:a,onChange:function(e){return n({rows:e})},min:1,step:1,max:20}),React.createElement(m.ToggleControl,{label:Object(f.__)("Tab","woolentor"),checked:l,help:l?Object(f.__)("Enable product tab.","woolentor"):Object(f.__)("Toggle to show the tab layout.","woolentor"),onChange:function(){return n({productTab:!l})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider","woolentor"),checked:i,help:i?Object(f.__)("Enable product slider ( When product tab is off, Then working slider ).","woolentor"):Object(f.__)("Toggle to show the slider layout.","woolentor"),onChange:function(){return n({slider:!i})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Query Options","woolentor"),initialOpen:!1},React.createElement(m.SelectControl,{label:Object(f.__)("Filter By","woolentor"),value:c,options:[{label:Object(f.__)("Recent Products","woolentor"),value:"recent"},{label:Object(f.__)("Featured Products","woolentor"),value:"featured"},{label:Object(f.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:Object(f.__)("Sale Products","woolentor"),value:"sale"},{label:Object(f.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:Object(f.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return n({productFilterType:e})}}),React.createElement(m.RangeControl,{label:Object(f.__)("Number Of Products","woolentor"),value:s,onChange:function(e){return n({perPage:e})},min:1,step:1,max:1e3}),React.createElement(m.ToggleControl,{label:Object(f.__)("Custom Order","woolentor"),checked:u,help:u?Object(f.__)("Enable custom order.","woolentor"):Object(f.__)("Toggle to show the custom order.","woolentor"),onChange:function(){return n({customOrder:!u})}}),React.createElement(A,{title:Object(f.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:n,selectedTaxonomies:b,type:"multiple"}),u?React.createElement(React.Fragment,null,React.createElement(m.SelectControl,{label:Object(f.__)("Order","woolentor"),value:d,options:[{label:Object(f.__)("Descending","woolentor"),value:"DESC"},{label:Object(f.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return n({order:e})}}),React.createElement(m.SelectControl,{label:Object(f.__)("Orderby","woolentor"),value:p,options:[{label:Object(f.__)("None","woolentor"),value:"none"},{label:Object(f.__)("ID","woolentor"),value:"ID"},{label:Object(f.__)("Date","woolentor"),value:"date"},{label:Object(f.__)("Name","woolentor"),value:"name"},{label:Object(f.__)("Title","woolentor"),value:"title"},{label:Object(f.__)("Comment count","woolentor"),value:"comment_count"},{label:Object(f.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return n({orderBy:e})}})):""),1==i&&React.createElement(m.PanelBody,{title:Object(f.__)("Slider Options","woolentor"),initialOpen:!1},React.createElement(m.RangeControl,{label:Object(f.__)("Slider Items","woolentor"),value:g,onChange:function(e){return n({slitems:e})},min:1,step:1,max:10}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider Arrow","woolentor"),checked:h,help:h?Object(f.__)("Enable slider arrow.","woolentor"):Object(f.__)("Toggle to show the slider arrow.","woolentor"),onChange:function(){return n({slarrows:!h})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider dots","woolentor"),checked:v,help:v?Object(f.__)("Enable slider pagination.","woolentor"):Object(f.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return n({sldots:!v})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Pause on Hover?","woolentor"),checked:w,help:v?Object(f.__)("Enable slider pagination.","woolentor"):Object(f.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return n({slpauseOnHover:!w})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider auto play","woolentor"),checked:O,help:v?Object(f.__)("Enable slider auto play.","woolentor"):Object(f.__)("Toggle to show the slider auto play.","woolentor"),onChange:function(){return n({slautolay:!O})}}),React.createElement(m.RangeControl,{label:Object(f.__)("Autoplay speed","woolentor"),value:_,onChange:function(e){return n({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(m.RangeControl,{label:Object(f.__)("Autoplay animation speed","woolentor"),value:C,onChange:function(e){return n({slanimationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(m.RangeControl,{label:Object(f.__)("Slider item to scroll","woolentor"),value:E,onChange:function(e){return n({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h3",null,Object(f.__)("Tablet Screen options","woolentor")),React.createElement(m.RangeControl,{label:Object(f.__)("Slider Items","woolentor"),value:R,onChange:function(e){return n({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Slider item to scroll","woolentor"),value:j,onChange:function(e){return n({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Tablet Screen Resolution","woolentor"),value:k,onChange:function(e){return n({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h3",null,Object(f.__)("Mobile Phone Screen options","woolentor")),React.createElement(m.RangeControl,{label:Object(f.__)("Slider Items","woolentor"),value:S,onChange:function(e){return n({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Slider item to scroll","woolentor"),value:P,onChange:function(e){return n({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Mobile Screen Resolution","woolentor"),value:F,onChange:function(e){return n({slMobileWidth:e})},min:1,step:1,max:1500})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement(y.Fragment,{key:"title"},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.titleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.titleColor,onChange:function(e){return n({titleColor:e})}}),React.createElement("h3",null,Object(f.__)("Hover Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.titleHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.titleHoverColor,onChange:function(e){return n({titleHoverColor:e})}}),React.createElement("h3",null,Object(f.__)("Alignment","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-alignment-btn-group"},React.createElement(m.Button,{icon:"editor-alignleft",value:"left",isPrimary:"left"===t.titleAlign,isSecondary:"left"!==t.titleAlign,onClick:function(){return n({titleAlign:"left"})},title:Object(f.__)("Title align left","woolentor")}),React.createElement(m.Button,{icon:"editor-aligncenter",value:"center",isPrimary:"center"===t.titleAlign,isSecondary:"center"!==t.titleAlign,onClick:function(){return n({titleAlign:"center"})},title:Object(f.__)("Title align center","woolentor")}),React.createElement(m.Button,{icon:"editor-alignright",value:"right",isPrimary:"right"===t.titleAlign,isSecondary:"right"!==t.titleAlign,onClick:function(){return n({titleAlign:"right"})},title:Object(f.__)("Title align right","woolentor")}),React.createElement(m.Button,{icon:"editor-justify",value:"justify",isPrimary:"justify"===t.titleAlign,isSecondary:"justify"!==t.titleAlign,onClick:function(){return n({titleAlign:"justify"})},title:Object(f.__)("Title align justify","woolentor")}),React.createElement("span",{onClick:function(){return n({titleAlign:""})},class:"woolentor-reset-btn dashicon dashicons dashicons-image-rotate"}))),React.createElement(y.Fragment,{key:"price"},React.createElement("h2",{className:"woolentor-blocks-section-title",style:{marginTop:15}},Object(f.__)("Price","woolentor")),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.priceColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.priceColor,onChange:function(e){return n({priceColor:e})}})),React.createElement(y.Fragment,{key:"action-button"},React.createElement("h2",{className:"woolentor-blocks-section-title",style:{marginTop:15}},Object(f.__)("Action Button","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.actionBtnColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.actionBtnColor,onChange:function(e){return n({actionBtnColor:e})}}),React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.actionBtnBgColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.actionBtnBgColor,onChange:function(e){return n({actionBtnBgColor:e})}}),React.createElement("h3",null,Object(f.__)("Hover Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.actionBtnHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.actionBtnHoverColor,onChange:function(e){return n({actionBtnHoverColor:e})}}),React.createElement("h3",null,Object(f.__)("Hover Background Color","woolentor"),React.createElement("span",{style:z(z({},B),{},{backgroundColor:t.actionBtnHoverBgColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.actionBtnHoverBgColor,onChange:function(e){return n({actionBtnHoverBgColor:e})}}),React.createElement("h3",null,Object(f.__)("Content Alignment","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-alignment-btn-group"},React.createElement(m.Button,{icon:"editor-alignleft",value:"left",isPrimary:"left"===t.contentAlign,isSecondary:"left"!==t.contentAlign,onClick:function(){return n({contentAlign:"left"})},title:Object(f.__)("Title align left","woolentor")}),React.createElement(m.Button,{icon:"editor-aligncenter",value:"center",isPrimary:"center"===t.contentAlign,isSecondary:"center"!==t.contentAlign,onClick:function(){return n({contentAlign:"center"})},title:Object(f.__)("Title align center","woolentor")}),React.createElement(m.Button,{icon:"editor-alignright",value:"right",isPrimary:"right"===t.contentAlign,isSecondary:"right"!==t.contentAlign,onClick:function(){return n({contentAlign:"right"})},title:Object(f.__)("Title align right","woolentor")}),React.createElement(m.Button,{icon:"editor-justify",value:"justify",isPrimary:"justify"===t.contentAlign,isSecondary:"justify"!==t.contentAlign,onClick:function(){return n({contentAlign:"justify"})},title:Object(f.__)("Title align justify","woolentor")}),React.createElement("span",{onClick:function(){return n({contentAlign:""})},class:"woolentor-reset-btn dashicon dashicons dashicons-image-rotate"})))))}}])&&L(t.prototype,n),l}(y.Component),U=n(5),V=n.n(U),Q=n(7),K=n.n(Q),Y=n(8),X=n(22),J=n.n(X),Z=n(6);function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function te(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function re(e,t){return(re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(e,t){if(t&&("object"===$(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function le(e){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ie=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&re(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=le(o);if(r){var n=le(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ae(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={productData:[],categoryData:[]},t}return t=l,(n=[{key:"componentDidMount",value:function(){this.fetchProductsData(),this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,n=t.perPage,o=t.productFilterType,r=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==n&&e.attributes.productFilterType==o&&e.attributes.customOrder==r&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData(),e.attributes.selectedCategories!=i&&this.fetchCategoryData()}},{key:"fetchProductsData",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(n.orderBy=this.props.attributes.orderBy,n.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(n.categories=this.props.attributes.selectedCategories),t.length>0&&(n.categories=t);var o=Object(Y.addQueryArgs)("/woolentor/v1/products",n);K()({path:o}).then((function(t){return e.setState({productData:t})}))}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:1e3,queryOrder:"ASC",queryType:"regular",querySlug:this.props.attributes.selectedCategories,wpnonce:woolentorData.security},n=Object(Y.addQueryArgs)("/woolentor/v1/category",t);K()({path:n}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this,t=this.props,n=(t.name,t.attributes),o=t.className,r=t.isSelected,a=t.setAttributes,l=t.clientId,i=n.blockUniqId;function c(e){var t=e.className,n=e.onClick;return React.createElement(m.Button,{className:t,onClick:n},React.createElement("i",{className:"fa fa-angle-right"}))}function s(e){var t=e.className,n=e.onClick;return React.createElement(m.Button,{className:t,onClick:n},React.createElement("i",{className:"fa fa-angle-left"}))}""==i&&a({blockUniqId:l});var u,p={arrows:n.slarrows,prevArrow:React.createElement(s,null),nextArrow:React.createElement(c,null),dots:n.sldots,infinite:!0,autoplay:n.slautolay,autoplaySpeed:n.slautoplaySpeed,speed:n.slanimationSpeed,fade:!1,pauseOnHover:n.slpauseOnHover,slidesToShow:n.slitems,slidesToScroll:n.slscrollItem,rtl:n.slIsrtl,responsive:[{breakpoint:n.sltabletWidth,settings:{slidesToShow:n.sltabletDisplayColumns,slidesToScroll:n.sltabletScrollColumns}},{breakpoint:n.slMobileWidth,settings:{slidesToShow:n.slMobileDisplayColumns,slidesToScroll:n.slMobileScrollColumns}}]},d=V()("woolentor-product-tab-area",ne({},"woolentor-columns-".concat(n.columns),n.columns)),b=V()("woolentor-row"),g=V()("product-item",ne({},"product_style_three",3==n.style)),h=V()(ne({},"woolentor-col-".concat(n.columns),n.columns)),v=Z.a.div(W||(W=te(["\n\t\t\t& .product-item .product-inner .content .title{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .product-inner .content .title a{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .product-inner .content .title a:hover{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .product-inner .content .woolentor-product-price,.product-item .product-inner .content .woolentor-product-price .amount{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .product-inner .content{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .actions a,.product-item .woocommerce.compare-button a.button,.product-item .actions a::before{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .actions{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .actions a:hover,.product-item .woocommerce.compare-button a.button:hover,.product-item .actions a:hover::before{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .actions:hover{\n\t\t\t\t",";\n\t\t\t}\n\t\t"])),n.titleAlign&&"text-align:"+n.titleAlign,n.titleColor&&"color:"+n.titleColor,n.titleHoverColor&&"color:"+n.titleHoverColor,n.priceColor&&"color:"+n.priceColor,n.contentAlign&&"text-align:"+n.contentAlign,n.actionBtnColor&&"color:"+n.actionBtnColor,n.actionBtnBgColor&&"background-color:"+n.actionBtnBgColor,n.actionBtnHoverColor&&"color:"+n.actionBtnHoverColor,n.actionBtnHoverBgColor&&"background-color:"+n.actionBtnHoverBgColor),w=Z.a.div(G||(G=te(["\n\t\t\n\t\t"]))),O=this.state,_=O.productData,C=O.categoryData,E=0,R=!1;_.length>0&&(u=_.map((function(e,t){return E++,n.rows>1&&E%n.rows!=0&&(R=!0),React.createElement(React.Fragment,null,React.createElement("div",{className:h},React.createElement(w,{className:1==R?g+" mb-30":g},React.createElement("div",{className:"product-inner"},React.createElement("div",{className:"image-wrap"},React.createElement(m.Disabled,null,React.createElement("a",{href:e.permalink,className:"image"},Object(y.createElement)("div",{className:"woolentor-product-image",dangerouslySetInnerHTML:{__html:e.image.full.html}}),!0===e.on_sale&&React.createElement("span",{class:"onsale"},Object(f.__)("Sale!","woolentor")))),1==n.style&&!0===e.wishlist.status?Object(y.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",3==n.style?React.createElement("div",{className:"product_information_area"},React.createElement("div",{className:"actions style_two"},!0===e.wishlist.status?Object(y.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",Object(y.createElement)("div",{className:"woolentor-product-btn"},Object(y.createElement)("a",null,Object(f.__)("Add to cart","woolentor")))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),Object(y.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))):React.createElement("div",{class:2==n.style?"actions style_two":"actions"},2==n.style?React.createElement(React.Fragment,null,!0===e.wishlist.status?Object(y.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):""):React.createElement(React.Fragment,null,!0===e.compare.status?Object(y.createElement)("span",{className:"woolentor-product-compare",dangerouslySetInnerHTML:{__html:e.compare.html}}):""))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement(m.Disabled,null,React.createElement("a",{href:e.permalink},e.title))),Object(y.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))))))})));var j,k=function(t){e.fetchProductsData(t.target.getAttribute("dataslug"))},S=0;return n.selectedCategories.length>0&&(j=C.map((function(e,t){return S++,React.createElement(React.Fragment,null,React.createElement("li",null,React.createElement("a",{class:1==S?"htactive":"",href:"#woolentortab"+i+S,onClick:k,dataslug:e.slug},e.name)))}))),React.createElement(y.Fragment,null,r&&React.createElement(q,this.props),React.createElement("div",{className:o},React.createElement(v,{className:d},n.productTab&&React.createElement("div",{class:"product-tab-list ht-text-center"},React.createElement("ul",{class:"ht-tab-menus"},j)),0==_.length?React.createElement(m.Spinner,null):React.createElement("div",{className:b},1==n.slider?React.createElement(J.a,ee({},p,{className:"product-slider"}),u):u))))}}])&&oe(t.prototype,n),l}(y.Component),ce=React.createElement(m.SVG,{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 359 359",space:"preserve"},React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,0H13C7.5,0,3,4.5,3,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C106,4.5,101.5,0,96,0z M87,84H23V20h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C231,4.5,226.5,0,221,0z M212,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,126H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,130.5,101.5,126,96,126z M87,209H23 v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,130.5,226.5,126,221,126z M212,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C356,4.5,351.5,0,346,0z M337,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,130.5,351.5,126,346,126z M337,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,256H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,260.5,101.5,256,96,256z M87,340H23 v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,260.5,226.5,256,221,256z M212,340h-64v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,260.5,351.5,256,346,256z M337,340h-64v-64h64V340z"})))),se=n(13),ue=se.name,pe=se.category,de=se.attributes,fe={title:Object(f.__)("WL : Product Tab","woolentor"),description:Object(f.__)("Display product.","woolentor"),icon:React.createElement(m.Icon,{icon:ce}),keywords:["woolentor",Object(f.__)("product tab","woolentor"),Object(f.__)("woocommerce product","woolentor")],example:{attributes:{style:"1",columns:4,rows:1,perPage:4}},attributes:de,edit:ie,save:function(){return null}};function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){he(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function we(e,t){return(we=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oe(e,t){if(t&&("object"===me(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&we(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=_e(o);if(r){var n=_e(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Oe(this,e)});function l(){return ye(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,o=t.style,r=t.contentAlignment,a=t.buttonUrl,l={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"};return React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Settings","woolentor"),initialOpen:!0},React.createElement(m.SelectControl,{label:Object(f.__)("Banner Style","woolentor"),value:o,options:[{label:Object(f.__)("Style One","woolentor"),value:"1"},{label:Object(f.__)("Style Two","woolentor"),value:"2"}],onChange:function(e){return n({style:e})}}),React.createElement(m.SelectControl,{label:Object(f.__)("Content Alignment","woolentor"),value:r,options:[{label:Object(f.__)("Left","woolentor"),value:"left"},{label:Object(f.__)("Right","woolentor"),value:"right"},{label:Object(f.__)("Bottom","woolentor"),value:"bottom"}],onChange:function(e){return n({contentAlignment:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Link","woolentor"),value:a,onChange:function(e){return n({buttonUrl:e})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ge(ge({},l),{},{backgroundColor:t.titleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.titleColor,onChange:function(e){return n({titleColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return n({titleSize:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Sub Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ge(ge({},l),{},{backgroundColor:t.subTitleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.subTitleColor,onChange:function(e){return n({subTitleColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return n({subTitleSize:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Button","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ge(ge({},l),{},{backgroundColor:t.buttonColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.buttonColor,onChange:function(e){return n({buttonColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return n({buttonSize:e})}}))))}}])&&ve(t.prototype,n),l}(y.Component),Ee=n(25),Re=Object(y.createElement)(Ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(y.createElement)(Ee.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"}));function je(e){return(je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Fe(e,t){return(Fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ae(e,t){if(t&&("object"===je(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Te(e)}function Te(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fe(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Be(o);if(r){var n=Be(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ae(this,e)});function l(){var e;return Se(this,l),(e=a.apply(this,arguments)).addImage=e.addImage.bind(Te(e)),e.onSelectImage=e.onSelectImage.bind(Te(e)),e}return t=l,(n=[{key:"onSelectImage",value:function(e){e&&e.url&&this.props.setAttributes({imgUrl:e.url})}},{key:"addImage",value:function(e){var t=this;mediaUpload({allowedTypes:["image","png"],filesList:e,onFileChange:function(e){var n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a=[],_n=!0,l=!1;try{for(n=n.call(e);!(_n=(o=n.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,r=e}finally{try{_n||null==n.return||n.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ke(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ke(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,1)[0];return t.onSelectImage(n)}})}},{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),n=e.className,o=e.isSelected,r=e.setAttributes,a=t.title,l=t.subTitle,i=t.imgUrl,c=(t.imgId,t.style),s=t.contentAlignment,u=t.buttonText,p=t.buttonUrl,d=function(e){return r({imgUrl:e.url,imgId:e.id})};return m.DropZone,this.addImage,Object(f.__)("Drop to upload as banner image","woolentor"),React.createElement(y.Fragment,null,o&&React.createElement(Ce,this.props),React.createElement("div",{className:n},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+c+" woolentor-content-align-"+s},React.createElement("div",{className:"woolentor-content"},React.createElement(T.RichText,{tagName:"h3",className:"banner_subtitle",value:l,onChange:function(e){return r({subTitle:e})},placeholder:Object(f.__)("Banner sub title...","woolentor"),keepPlaceholderOnFocus:!0,style:{color:"".concat(t.subTitleColor),fontSize:"".concat(t.subTitleSize)}}),React.createElement(T.RichText,{tagName:"h2",className:"banner_title",value:a,onChange:function(e){return r({title:e})},placeholder:Object(f.__)("Banner title...","woolentor"),keepPlaceholderOnFocus:!0,style:{color:"".concat(t.titleColor),fontSize:"".concat(t.titleSize)}}),React.createElement(T.RichText,{tagName:"a",className:"banner_button",value:u,onChange:function(e){return r({buttonText:e})},placeholder:Object(f.__)("Shop Now ....","woolentor"),href:p,keepPlaceholderOnFocus:!0,style:{color:"".concat(t.buttonColor),fontSize:"".concat(t.buttonSize)}})),i?React.createElement("div",{class:"woolentor-banner-img"},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:i,alt:"WooLentor Banner image"}),React.createElement("div",null,React.createElement(T.MediaUploadCheck,null,React.createElement(T.MediaUpload,{onSelect:d,allowedTypes:["image","png"],value:i,render:function(e){var t=e.open;return React.createElement(m.Button,{onClick:t},i?Object(f.__)("Replace Image","woolentor"):React.createElement(T.BlockIcon,{icon:Re}))}})))):React.createElement("div",{class:"woolentor-banner-img"},React.createElement(T.MediaUploadCheck,null,React.createElement(T.MediaUpload,{onSelect:d,allowedTypes:["image","png"],value:i,render:function(e){var t=e.open;return React.createElement(m.Button,{onClick:t},i?Object(f.__)("Replace Image","woolentor"):React.createElement(T.BlockIcon,{icon:Re}))}}))))))}}])&&Pe(t.prototype,n),l}(y.Component),ze=n(14),De=React.createElement("svg",{id:"_x31_","enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"}))),Me=ze.name,Le=ze.category,Ie=ze.attributes,Ne={title:Object(f.__)("WL : Promo Banner","woolentor"),description:Object(f.__)("Display promo banner.","woolentor"),icon:React.createElement(m.Icon,{icon:De}),keywords:["woolentor",Object(f.__)("product banner","woolentor"),Object(f.__)("woocommerce promo","woolentor"),Object(f.__)("promo banner","woolentor")],example:{attributes:{title:Object(f.__)("Banner Title","woolentor"),subTitle:Object(f.__)("Banner Sub Title","woolentor"),buttonText:Object(f.__)("Shop Now","woolentor")}},supports:{align:["wide","full"]},attributes:Ie,edit:xe,save:function(e){var t=e.className,n=e.attributes,o=n.title,r=n.subTitle,a=n.imgUrl,l=n.style,i=n.contentAlignment,c=n.buttonText,s=n.buttonUrl;return React.createElement("div",{className:t},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+l+" woolentor-content-align-"+i},React.createElement("div",{className:"woolentor-content"},React.createElement(T.RichText.Content,{tagName:"h3",className:"banner_subtitle",value:r,style:{color:"".concat(n.subTitleColor),fontSize:"".concat(n.subTitleSize)}}),React.createElement(T.RichText.Content,{tagName:"h2",className:"banner_title",value:o,style:{color:"".concat(n.titleColor),fontSize:"".concat(n.titleSize)}}),React.createElement(T.RichText.Content,{tagName:"a",className:"banner_button",href:s,value:c,style:{color:"".concat(n.buttonColor),fontSize:"".concat(n.buttonSize)}})),a&&React.createElement("div",{className:"woolentor-banner-img"},s?React.createElement("a",{href:s},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:o})):React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:o}))))}};function He(e){return(He="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function We(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?We(Object(n),!0).forEach((function(t){qe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ke(e,t){if(t&&("object"===He(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ye(e){return(Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Xe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ye(o);if(r){var n=Ye(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ke(this,e)});function l(){return Ue(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.setAttributes,n=e.title,o=e.ImageData,r=e.attributesKey,a=e.uploadImage,l=["image","png"],i=React.createElement("p",null,Object(f.__)("To edit the banner image, you need permission to upload media.","woolentor")),c=function(e){var n=Ge({},o);n.id=e.id,n.url=e.url,t(qe({},r,n))};return React.createElement(y.Fragment,null,React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement("h3",null,n),React.createElement(T.MediaUploadCheck,{fallback:i},React.createElement(T.MediaUpload,{title:n,onSelect:c,allowedTypes:l,value:o.id,render:function(e){var t=e.open;return React.createElement(m.Button,{className:o.id?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t},!o.id&&Object(f.__)("Set ","woolentor")+n,!!o.id&&!a&&React.createElement(m.Spinner,null),!!o.id&&a&&React.createElement("img",{src:a.source_url,alt:n}))}})),!!o.id&&a&&React.createElement(T.MediaUploadCheck,null,React.createElement(T.MediaUpload,{title:n,onSelect:c,allowedTypes:l,value:o.id,render:function(e){var t=e.open;return React.createElement(m.Button,{onClick:t,isDefault:!0,isLarge:!0},Object(f.__)("Replace image","woolentor"))}})),!!o.id&&React.createElement(T.MediaUploadCheck,null,React.createElement(m.Button,{onClick:function(){var e=Ge({},o);e.id=void 0,e.url=void 0,t(qe({},r,e))},isLink:!0,isDestructive:!0},Object(f.__)("Remove image","woolentor")))))}}])&&Ve(t.prototype,n),l}(y.Component),Je=Object(v.compose)(Object(w.withSelect)((function(e,t){var n=e("core").getMedia,o=t.ImageData;return{uploadImage:o.id?n(o.id):null}})))(Xe);function Ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(n),!0).forEach((function(t){et(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tt=function(e){var t=e.setAttributes,n=e.lavel,o=e.dimensions,r=e.attributesKey,a=function(n,a){var l=$e({},o);if(e.responsive){var i=o.hasOwnProperty(o.device)?o[o.device].link:"yes";l[o.device]="yes"===i?{top:n,right:n,bottom:n,left:n,link:"yes",unit:o.hasOwnProperty(o.device.unit)&&""!=l[o.device].unit?l[o.device].unit:"px"}:et({top:""!==l[o.device].top?l[o.device].top:"0",right:""!==l[o.device].right?l[o.device].right:"0",bottom:""!==l[o.device].bottom?l[o.device].bottom:"0",left:""!==l[o.device].left?l[o.device].left:"0",link:"no",unit:""!==l[o.device].unit?l[o.device].unit:"px"},a,n)}else"yes"===l.link?(l.top=n,l.right=n,l.bottom=n,l.left=n,l.link="yes"):(l.top=""!==l.top?l.top:"0",l.right=""!==l.right?l.right:"0",l.bottom=""!==l.bottom?l.bottom:"0",l.left=""!==l.left?l.left:"0",l.link="no",l[a]=n);t(et({},r,l))},l=function(n){var a=$e({},o);e.responsive?a[o.device].unit=n.target.value:a.unit=n.target.value,t(et({},r,a))},i=function(e,n,a){var l=$e({},o);l[n]=a,t(et({},r,l))},c=o.hasOwnProperty(o.device)?o[o.device].top:o.top?o.top:"",s=o.hasOwnProperty(o.device)?o[o.device].right:o.right?o.right:"",u=o.hasOwnProperty(o.device)?o[o.device].bottom:o.bottom?o.bottom:"",p=o.hasOwnProperty(o.device)?o[o.device].left:o.left?o.left:"",d=o.hasOwnProperty(o.device)?o[o.device].unit:o.unit?o.unit:"px",b=o.hasOwnProperty(o.device)?o[o.device].link:o.link?o.link:"yes",g=o.device;return React.createElement(y.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-dimensions-control"},React.createElement(m.PanelRow,{className:"woolentor-panel-row-height-auto",style:{minHeight:"auto"}},React.createElement("h3",null,n),e.responsive&&React.createElement(m.ButtonGroup,{className:"woolentor-device-button"},React.createElement(m.Button,{icon:"desktop",value:"desktop",label:Object(f.__)("Large","woolentor"),isPrimary:"desktop"===g,isSecondary:"desktop"!==g,onClick:function(e){return i(0,"device","desktop")}}),React.createElement(m.Button,{icon:"laptop",value:"laptop",label:Object(f.__)("Medium","woolentor"),isPrimary:"laptop"===g,isSecondary:"laptop"!==g,onClick:function(e){return i(0,"device","laptop")}}),React.createElement(m.Button,{icon:"tablet",value:"tablet",label:Object(f.__)("Small","woolentor"),isPrimary:"tablet"===g,isSecondary:"tablet"!==g,onClick:function(e){return i(0,"device","tablet")}}),React.createElement(m.Button,{icon:"smartphone",value:"mobile",label:Object(f.__)("Extra Small","woolentor"),isPrimary:"mobile"===g,isSecondary:"mobile"!==g,onClick:function(e){return i(0,"device","mobile")}})),React.createElement(m.ButtonGroup,{className:"woolentor-dimensions-btn-group"},React.createElement(m.Button,{value:"px",text:Object(f.__)("PX","woolentor"),isPrimary:"px"===d,isSecondary:"px"!==d,onClick:l,title:Object(f.__)("PX","woolentor"),focus:!1}),React.createElement(m.Button,{value:"%",text:Object(f.__)("%","woolentor"),isPrimary:"%"===d,isSecondary:"%"!==d,onClick:l,title:Object(f.__)("%","woolentor"),focus:!1}),React.createElement(m.Button,{value:"em",text:Object(f.__)("EM","woolentor"),isPrimary:"em"===d,isSecondary:"em"!==d,onClick:l,title:Object(f.__)("EM","woolentor"),focus:!1}))),React.createElement(m.PanelRow,null,React.createElement(m.__experimentalNumberControl,{label:Object(f.__)("Top","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return a(e,"top")},shiftStep:10,value:c,labelPosition:"bottom"}),React.createElement(m.__experimentalNumberControl,{label:Object(f.__)("Right","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return a(e,"right")},shiftStep:10,value:s,labelPosition:"bottom"}),React.createElement(m.__experimentalNumberControl,{label:Object(f.__)("Bottom","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return a(e,"bottom")},shiftStep:10,value:u,labelPosition:"bottom"}),React.createElement(m.__experimentalNumberControl,{label:Object(f.__)("Left","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return a(e,"left")},shiftStep:10,value:p,labelPosition:"bottom"}),React.createElement(m.Button,{icon:"admin-links",value:"yes",isPrimary:"yes"===b,isSecondary:"yes"!==b,onClick:function(){var n=$e({},o);e.responsive?"yes"===n[o.device].link?n[o.device].link="no":n[o.device].link="yes":"yes"===n.link?n.link="no":n.link="yes",t(et({},r,n))},title:Object(f.__)("Link values together","woolentor"),showTooltip:!0}))))};function nt(e){return(nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(n),!0).forEach((function(t){at(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function at(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ct(e,t){return(ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function st(e,t){if(t&&("object"===nt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ut(e){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var pt,dt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ct(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ut(o);if(r){var n=ut(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return st(this,e)});function l(){return lt(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,o=t.title,r=t.contentPosition,a=t.bannerImage,l=t.badgeImage,i=t.badgeHorizontalPos,c=t.badgeVerticlePos,s={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"};return React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Content Settings","woolentor"),initialOpen:!0},React.createElement(m.SelectControl,{label:Object(f.__)("Content Position","woolentor"),value:r,options:[{label:Object(f.__)("Top","woolentor"),value:"top"},{label:Object(f.__)("Center","woolentor"),value:"center"},{label:Object(f.__)("Bottom","woolentor"),value:"bottom"},{label:Object(f.__)("Left","woolentor"),value:"left"},{label:Object(f.__)("Right","woolentor"),value:"right"}],onChange:function(e){return n({contentPosition:e})}}),React.createElement(Je,{title:Object(f.__)("Banner image","woolentor"),ImageData:a,attributesKey:"bannerImage",setAttributes:n}),React.createElement(Je,{title:Object(f.__)("Badge image","woolentor"),ImageData:l,attributesKey:"badgeImage",setAttributes:n}),l.id&&React.createElement(React.Fragment,null,React.createElement(m.RangeControl,{label:Object(f.__)("Badge Horizontal Position","woolentor"),value:i,onChange:function(e){return n({badgeHorizontalPos:e})},min:-1e3,step:1,max:1e3}),React.createElement(m.RangeControl,{label:Object(f.__)("Badge Vertical Position","woolentor"),value:c,onChange:function(e){return n({badgeVerticlePos:e})},min:-1e3,step:1,max:1e3})),React.createElement(m.TextControl,{label:Object(f.__)("Title","woolentor"),value:o,placeholder:Object(f.__)("Banner Title","woolentor"),onChange:function(e){return n({title:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Sub Title","woolentor"),placeholder:Object(f.__)("Banner Sub Title","woolentor"),value:t.subTitle,onChange:function(e){return n({subTitle:e})}}),React.createElement(m.TextareaControl,{label:Object(f.__)("Description","woolentor"),help:Object(f.__)("Enter Banner description","woolentor"),value:t.bannerDescription,onChange:function(e){return n({bannerDescription:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Offer Amount","woolentor"),placeholder:Object(f.__)("50%","woolentor"),value:t.offerAmount,onChange:function(e){return n({offerAmount:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Offer Tag Line","woolentor"),value:t.offerTagLine,placeholder:Object(f.__)("off","woolentor"),onChange:function(e){return n({offerTagLine:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Banner Link","woolentor"),value:t.bannerLink,placeholder:Object(f.__)("https://your-link.com","woolentor"),onChange:function(e){return n({bannerLink:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Button Text","woolentor"),value:t.buttonText,placeholder:Object(f.__)("Shop Now","woolentor"),onChange:function(e){return n({buttonText:e})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Content Area","woolentor")),React.createElement("h3",null,Object(f.__)("Alignment","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-alignment-btn-group"},React.createElement(m.Button,{icon:"editor-alignleft",value:"left",isPrimary:"left"===t.contentAlignment,isSecondary:"left"!==t.contentAlignment,onClick:function(){return n({contentAlignment:"left"})},title:Object(f.__)("Align left","woolentor")}),React.createElement(m.Button,{icon:"editor-aligncenter",value:"center",isPrimary:"center"===t.contentAlignment,isSecondary:"center"!==t.contentAlignment,onClick:function(){return n({contentAlignment:"center"})},title:Object(f.__)("Align center","woolentor")}),React.createElement(m.Button,{icon:"editor-alignright",value:"right",isPrimary:"right"===t.contentAlignment,isSecondary:"right"!==t.contentAlignment,onClick:function(){return n({contentAlignment:"right"})},title:Object(f.__)("Align right","woolentor")}),React.createElement(m.Button,{icon:"editor-justify",value:"justify",isPrimary:"justify"===t.contentAlignment,isSecondary:"justify"!==t.contentAlignment,onClick:function(){return n({contentAlignment:"justify"})},title:Object(f.__)("Align justify","woolentor")}),React.createElement("span",{onClick:function(){return n({contentAlignment:""})},class:"woolentor-reset-btn dashicon dashicons dashicons-image-rotate"})),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.contentAreaMargin,attributesKey:"contentAreaMargin",setAttributes:n}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:t.contentAreaPadding,attributesKey:"contentAreaPadding",setAttributes:n}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.titleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.titleColor,onChange:function(e){return n({titleColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return n({titleSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:n}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:t.titlePadding,attributesKey:"titlePadding",setAttributes:n}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Sub Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.titleSubColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.titleSubColor,onChange:function(e){return n({titleSubColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSubSize,fallbackFontSize:t.titleSubSize,onChange:function(e){return n({titleSubSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:n}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:t.subTitlePadding,attributesKey:"subTitlePadding",setAttributes:n}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Description","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.desColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.desColor,onChange:function(e){return n({desColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.desSize,fallbackFontSize:t.desSize,onChange:function(e){return n({desSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.desMargin,attributesKey:"desMargin",setAttributes:n}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:t.desPadding,attributesKey:"desPadding",setAttributes:n}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Offer Amount","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.offerColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.offerColor,onChange:function(e){return n({offerColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerSize,fallbackFontSize:t.offerSize,onChange:function(e){return n({offerSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.offerMargin,attributesKey:"offerMargin",setAttributes:n}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Offer Tag Line","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.offerTagColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.offerTagColor,onChange:function(e){return n({offerTagColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerTagSize,fallbackFontSize:t.offerTagSize,onChange:function(e){return n({offerTagSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.offerTagMargin,attributesKey:"offerTagMargin",setAttributes:n}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Button","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.buttonColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.buttonColor,onChange:function(e){return n({buttonColor:e})}}),React.createElement("h3",null,Object(f.__)("Hover Color","woolentor"),React.createElement("span",{style:rt(rt({},s),{},{backgroundColor:t.buttonHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.buttonHoverColor,onChange:function(e){return n({buttonHoverColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return n({buttonSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.buttonMargin,attributesKey:"buttonMargin",setAttributes:n}))))}}])&&it(t.prototype,n),l}(y.Component);function ft(e){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gt(e,t){return(gt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ht(e,t){if(t&&("object"===ft(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vt=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512",className:"woolentor-banner-default"},React.createElement("g",null,React.createElement("path",{d:"M446.575,0H65.425C29.349,0,0,29.35,0,65.426v381.149C0,482.65,29.349,512,65.425,512h381.15 C482.651,512,512,482.65,512,446.574V65.426C512,29.35,482.651,0,446.575,0z M481.842,446.575 c0,19.447-15.821,35.267-35.267,35.267H65.425c-19.447,0-35.268-15.821-35.268-35.267v-55.007l99.255-84.451 c3.622-3.082,8.906-3.111,12.562-0.075l62.174,51.628c5.995,4.977,14.795,4.569,20.304-0.946L372.181,209.77 c2.67-2.675,5.783-2.935,7.408-2.852c1.62,0.083,4.695,0.661,7.078,3.596l95.176,117.19V446.575z M481.842,279.865l-71.766-88.366 c-7.117-8.764-17.666-14.122-28.942-14.701c-11.268-0.57-22.317,3.672-30.294,11.662L212.832,326.681l-51.59-42.839 c-14.959-12.422-36.563-12.293-51.373,0.308l-79.712,67.822V65.426c0-19.447,15.821-35.268,35.268-35.268h381.15 c19.447,0,35.267,15.821,35.267,35.268V279.865z"})),React.createElement("g",null,React.createElement("path",{d:"M161.174,62.995c-40.095,0-72.713,32.62-72.713,72.713c0,40.094,32.619,72.713,72.713,72.713s72.713-32.619,72.713-72.713 S201.269,62.995,161.174,62.995z M161.174,178.264c-23.466,0-42.556-19.091-42.556-42.556c0-23.466,19.09-42.556,42.556-42.556 c23.466,0,42.556,19.091,42.556,42.556S184.64,178.264,161.174,178.264z"}))),wt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gt(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=yt(o);if(r){var n=yt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ht(this,e)});function l(){return mt(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),n=e.className,o=e.isSelected,r=e.setAttributes,a=e.clientId;""==t.blockUniqId&&r({blockUniqId:a});var l,i,c,s,u,p=function(e){var n=t[e]?t[e]:{},o="";if(""!=n.top||""!=n.right||""!=n.bottom||""!=n.left){var r=n.unit?n.unit:"px";o=n.top?o+n.top+r+" ":"0"+r+" ",o=n.right?o+n.right+r+" ":"0"+r+" ",o=n.bottom?o+n.bottom+r+" ":"0"+r+" ",o=n.left?o+n.left+r+" ":"0"+r+" "}return o},d=V()("wlspcial-banner",(l={},i="woolentor-banner-content-pos-"+t.contentPosition,c=t.contentPosition,i in l?Object.defineProperty(l,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):l[i]=c,l)),f=Z.a.div(pt||(s=["\n\t\t\t.banner-content{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .wlbanner-badgeimage{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content h2{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content h6{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content p{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content h5{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content h5 span{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content a{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content a:hover{\n\t\t\t\t",";\n\t\t\t}\n\t\t"],u||(u=s.slice(0)),pt=Object.freeze(Object.defineProperties(s,{raw:{value:Object.freeze(u)}}))),t.contentAlignment&&"text-align:"+t.contentAlignment,t.contentAreaPadding&&"padding:"+p("contentAreaPadding"),t.contentAreaMargin&&"margin:"+p("contentAreaMargin"),t.badgeHorizontalPos&&"left:"+t.badgeHorizontalPos+"%",t.badgeVerticlePos&&"top:"+t.badgeVerticlePos+"%",t.titleColor&&"color:"+t.titleColor,t.titleSize&&"font-size:"+t.titleSize,t.titleMargin&&"margin:"+p("titleMargin"),t.titlePadding&&"padding:"+p("titlePadding"),t.titleSubColor&&"color:"+t.titleSubColor,t.titleSubSize&&"font-size:"+t.titleSubSize,t.subTitleMargin&&"margin:"+p("subTitleMargin"),t.subTitlePadding&&"padding:"+p("subTitlePadding"),t.desColor&&"color:"+t.desColor,t.desSize&&"font-size:"+t.desSize,t.desMargin&&"margin:"+p("desMargin"),t.desPadding&&"padding:"+p("desPadding"),t.offerColor&&"color:"+t.offerColor,t.offerSize&&"font-size:"+t.offerSize,t.offerMargin&&"margin:"+p("offerMargin"),t.offerTagColor&&"color:"+t.offerTagColor,t.offerTagSize&&"font-size:"+t.offerTagSize,t.offerTagMargin&&"margin:"+p("offerTagMargin"),t.buttonColor&&"color:"+t.buttonColor,t.buttonSize&&"font-size:"+t.buttonSize,t.buttonMargin&&"margin:"+p("buttonMargin"),t.buttonHoverColor&&"color:"+t.buttonHoverColor);return React.createElement(y.Fragment,null,o&&React.createElement(dt,this.props),React.createElement("div",{className:n},React.createElement(f,{className:d},React.createElement("div",{className:"banner-thumb"},React.createElement("a",{href:t.bannerLink?t.bannerLink:"#"},t.bannerImage.url?React.createElement("img",{src:t.bannerImage.url,alt:"Banner"}):React.createElement("div",{className:"woolentor-default-banner"},vt))),t.badgeImage.url&&React.createElement("div",{className:"wlbanner-badgeimage"},React.createElement("img",{src:t.badgeImage.url,alt:"Banner Badge"})),React.createElement("div",{className:"banner-content"},t.title&&React.createElement("h2",null,t.title),t.subTitle&&React.createElement("h6",null,t.subTitle),t.offerAmount&&React.createElement("h5",null,t.offerAmount,React.createElement("span",null,t.offerTagLine)),t.bannerDescription&&React.createElement("p",null,t.bannerDescription),t.buttonText&&React.createElement("a",{href:t.bannerLink?t.bannerLink:"#"},t.buttonText)))))}}])&&bt(t.prototype,n),l}(y.Component),Ot=n(15),_t=React.createElement("svg",{id:"_x31_","enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"}))),Ct=Ot.name,Et=Ot.category,Rt=Ot.attributes,jt={title:Object(f.__)("WL : Special Day Offer","woolentor"),description:Object(f.__)("Display spesial day offer banner.","woolentor"),icon:React.createElement(m.Icon,{icon:_t}),keywords:["woolentor",Object(f.__)("shop banner","woolentor"),Object(f.__)("banner","woolentor"),Object(f.__)("special day","woolentor"),Object(f.__)("offer","woolentor"),Object(f.__)("special offer","woolentor")],example:{attributes:{title:Object(f.__)("Banner Title","woolentor"),subTitle:Object(f.__)("Banner Sub Title","woolentor"),offerAmount:Object(f.__)("50%","woolentor"),bannerDescription:Object(f.__)("Banner Description","woolentor"),buttonText:Object(f.__)("Shop Now","woolentor"),offerTagLine:Object(f.__)("Off","woolentor")}},attributes:Rt,supports:{align:["wide","full"]},edit:wt,save:function(){return null}};function kt(e){return(kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function St(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(Object(n),!0).forEach((function(t){Ft(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function At(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Bt(e,t){return(Bt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xt(e,t){if(t&&("object"===kt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function zt(e){return(zt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Dt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bt(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=zt(o);if(r){var n=zt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return xt(this,e)});function l(){return At(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.setAttributes,n=e.title,o=e.bgProperty,r=e.attributesKey,a=e.uploadImage,l=function(e,n){var a=Pt({},o);a[n]=e,t(Ft({},r,a))},i=["image","png"],c=React.createElement("p",null,Object(f.__)("To edit the banner image, you need permission to upload media.","woolentor")),s=function(e){var n=Pt({},o);n.imageId=e.id,n.imageUrl=e.url,t(Ft({},r,n))};return React.createElement(y.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-background-control"},n&&React.createElement("h3",null,n),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(T.MediaUploadCheck,{fallback:c},React.createElement(T.MediaUpload,{title:n,onSelect:s,allowedTypes:i,value:o.imageId,render:function(e){var t=e.open;return React.createElement(m.Button,{className:o.imageId?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t},!o.imageId&&Object(f.__)("Set ","woolentor")+n,!!o.imageId&&!a&&React.createElement(m.Spinner,null),!!o.imageId&&a&&React.createElement("img",{src:a.source_url,alt:n}))}})),!!o.imageId&&a&&React.createElement(T.MediaUploadCheck,null,React.createElement(T.MediaUpload,{title:n,onSelect:s,allowedTypes:i,value:o.imageId,render:function(e){var t=e.open;return React.createElement(m.Button,{onClick:t,isDefault:!0,isLarge:!0},Object(f.__)("Replace image","woolentor"))}})),!!o.imageId&&React.createElement(T.MediaUploadCheck,null,React.createElement(m.Button,{onClick:function(){var e=Pt({},o);e.imageId=void 0,e.imageUrl=void 0,t(Ft({},r,e))},isLink:!0,isDestructive:!0},Object(f.__)("Remove image","woolentor")))),React.createElement(m.SelectControl,{label:Object(f.__)("Position","woolentor"),labelPosition:"side",value:o.position,options:[{label:Object(f.__)("Default","woolentor"),value:""},{label:Object(f.__)("Center Center","woolentor"),value:"center center"},{label:Object(f.__)("Center Left","woolentor"),value:"center left"},{label:Object(f.__)("Center Right","woolentor"),value:"center right"},{label:Object(f.__)("Top Center","woolentor"),value:"top center"},{label:Object(f.__)("Top Left","woolentor"),value:"top left"},{label:Object(f.__)("Top Right","woolentor"),value:"top right"},{label:Object(f.__)("Bottom Center","woolentor"),value:"bottom center"},{label:Object(f.__)("Bottom Left","woolentor"),value:"bottom left"},{label:Object(f.__)("Bottom Right","woolentor"),value:"bottom right"}],onChange:function(e){return l(e,"position")}}),React.createElement(m.SelectControl,{label:Object(f.__)("Attachment","woolentor"),labelPosition:"side",value:o.attachment,options:[{label:Object(f.__)("Default","woolentor"),value:""},{label:Object(f.__)("Scroll","woolentor"),value:"scroll"},{label:Object(f.__)("Fixed","woolentor"),value:"fixed"}],onChange:function(e){return l(e,"attachment")}}),React.createElement(m.SelectControl,{label:Object(f.__)("Repeat","woolentor"),labelPosition:"side",value:o.repeat,options:[{label:Object(f.__)("Default","woolentor"),value:""},{label:Object(f.__)("No-repeat","woolentor"),value:"no-repeat"},{label:Object(f.__)("Repeat","woolentor"),value:"repeat"},{label:Object(f.__)("Repeat-x","woolentor"),value:"repeat-x"},{label:Object(f.__)("Repeat-y","woolentor"),value:"repeat-y"}],onChange:function(e){return l(e,"repeat")}}),React.createElement(m.SelectControl,{label:Object(f.__)("Size","woolentor"),labelPosition:"side",value:o.size,options:[{label:Object(f.__)("Default","woolentor"),value:""},{label:Object(f.__)("Auto","woolentor"),value:"auto"},{label:Object(f.__)("Cover","woolentor"),value:"cover"},{label:Object(f.__)("Contain","woolentor"),value:"contain"}],onChange:function(e){return l(e,"size")}})))}}])&&Tt(t.prototype,n),l}(y.Component),Mt=Object(v.compose)(Object(w.withSelect)((function(e,t){var n=e("core").getMedia,o=t.bgProperty;return{uploadImage:o.imageId?n(o.imageId):null}})))(Dt);function Lt(e){return(Lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function It(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(Object(n),!0).forEach((function(t){Ht(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wt(e){return function(e){if(Array.isArray(e))return Gt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Gt(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gt(e,void 0):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function qt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ut(e,t){return(Ut=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Vt(e,t){if(t&&("object"===Lt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Qt(e){return(Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Kt,Yt,Xt,Jt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ut(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Qt(o);if(r){var n=Qt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Vt(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={activeClass:!1},t}return t=l,(n=[{key:"render",value:function(){var e,t=this,n=this.props,o=n.attributes,r=n.setAttributes,a=o.style,l=o.bgProperty,i={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"},c=function(e,t,n){var a=Wt(o.markerList);a[n][t]=e,r({markerList:a})};return o.markerList.length&&(e=o.markerList.map((function(e,n){var a=t.state.activeClass===n?"woolentor_active_repeter":"";return React.createElement(y.Fragment,{key:n},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,n){n===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:n})}(0,n)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.markerList[n].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(m.IconButton,{className:"woolentor__remove-marker",icon:"no-alt",label:Object(f.__)("Delete Marker","woolentor"),onClick:function(){return function(e){var t=Wt(o.markerList);t.splice(e,1),r({markerList:t})}(n)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(m.TextControl,{label:Object(f.__)("Marker Title","woolentor"),className:"woolentor__marker-title",placeholder:Object(f.__)("Marker Title","woolentor"),value:o.markerList[n].title,onChange:function(e){return c(e,"title",n)}}),React.createElement(m.TextareaControl,{label:Object(f.__)("Marker Content","woolentor"),value:o.markerList[n].content,onChange:function(e){return c(e,"content",n)}}),React.createElement(m.RangeControl,{label:Object(f.__)("Horizontal Postion","woolentor"),value:o.markerList[n].horizontal,onChange:function(e){return c(e,"horizontal",n)},min:-1e3,step:1,max:1e3}),React.createElement(m.RangeControl,{label:Object(f.__)("Vertical Postion","woolentor"),value:o.markerList[n].verticle,onChange:function(e){return c(e,"verticle",n)},min:-1e3,step:1,max:1e3}))))}))),React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Image","woolentor"),initialOpen:!0},React.createElement(Mt,{title:Object(f.__)("Background Image","woolentor"),attributesKey:"bgProperty",setAttributes:r,bgProperty:l})),React.createElement(m.PanelBody,{title:Object(f.__)("Marker","woolentor"),initialOpen:!1},React.createElement(m.SelectControl,{label:Object(f.__)("Style","woolentor"),value:a,options:[{label:Object(f.__)("Style One","woolentor"),value:"1"},{label:Object(f.__)("Style Two","woolentor"),value:"2"},{label:Object(f.__)("Style Three","woolentor"),value:"3"},{label:Object(f.__)("Style Four","woolentor"),value:"4"},{label:Object(f.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return r({style:e})}}),e,React.createElement(m.Button,{isDefault:!0,icon:"plus-alt2",onClick:function(){var e=Wt(o.markerList);e.push({title:Object(f.__)("Marker Item #"+(o.markerList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),r({markerList:e}),t.setState({activeClass:o.markerList.length})}.bind(this)},Object(f.__)("Add Marker","woolentor"))),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Marker","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:Nt(Nt({},i),{},{backgroundColor:o.markerColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.markerColor,onChange:function(e){return r({markerColor:e})}}),React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:Nt(Nt({},i),{},{backgroundColor:o.markerBGColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.markerBGColor,onChange:function(e){return r({markerBGColor:e})}}),React.createElement("h3",null,Object(f.__)("Border Color","woolentor"),React.createElement("span",{style:Nt(Nt({},i),{},{backgroundColor:o.markerBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.markerBorderColor,onChange:function(e){return r({markerBorderColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:o.markerBorderRadius,attributesKey:"markerBorderRadius",setAttributes:r}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:o.markerPadding,attributesKey:"markerPadding",setAttributes:r}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Content Area","woolentor")),React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:Nt(Nt({},i),{},{backgroundColor:o.markerContentBGColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.markerContentBGColor,onChange:function(e){return r({markerContentBGColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:o.markerContentBorderRadius,attributesKey:"markerContentBorderRadius",setAttributes:r}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:o.markerContentPadding,attributesKey:"markerContentPadding",setAttributes:r}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Marker Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:Nt(Nt({},i),{},{backgroundColor:o.markerTitleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.markerTitleColor,onChange:function(e){return r({markerTitleColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.markerTitleSize,fallbackFontSize:o.markerTitleSize,onChange:function(e){return r({markerTitleSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:o.markerTitleMargin,attributesKey:"markerTitleMargin",setAttributes:r}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Marker Description","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:Nt(Nt({},i),{},{backgroundColor:o.markerDescriptionColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.markerDescriptionColor,onChange:function(e){return r({markerDescriptionColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.markerDescriptionSize,fallbackFontSize:o.markerDescriptionSize,onChange:function(e){return r({markerDescriptionSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:o.markerDescriptionMargin,attributesKey:"markerDescriptionMargin",setAttributes:r}))))}}])&&qt(t.prototype,n),l}(y.Component);function Zt(e){return(Zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $t(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function en(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nn(e,t){return(nn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function on(e,t){if(t&&("object"===Zt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function rn(e){return(rn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var an=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nn(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=rn(o);if(r){var n=rn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return on(this,e)});function l(){return en(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),n=e.className,o=e.isSelected,r=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.bgProperty;""==l&&r({blockUniqId:a});var c,s,u,p=function(e){var n=t[e]?t[e]:{},o="";if(""!=n.top||""!=n.right||""!=n.bottom||""!=n.left){var r=n.unit?n.unit:"px";o=n.top?o+n.top+r+" ":"0"+r+" ",o=n.right?o+n.right+r+" ":"0"+r+" ",o=n.bottom?o+n.bottom+r+" ":"0"+r+" ",o=n.left?o+n.left+r+" ":"0"+r+" "}return o},d=V()((c={},s="wlb-marker-style-".concat(t.style),u=t.style,s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c)),f=Z.a.div(Kt||(Kt=$t(["\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t\n\t\t\t& .wlb_image_pointer{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .wlb_image_pointer::before{\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .wlb_image_pointer .wlb_pointer_box{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t"])),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size,t.markerBGColor&&"background-color:"+t.markerBGColor,t.markerBorderColor&&"border-color:"+t.markerBorderColor,t.markerBorderRadius&&"border-radius:"+p("markerBorderRadius"),t.markerPadding&&"padding:"+p("markerPadding"),t.markerColor&&"color:"+t.markerColor,t.markerContentBGColor&&"background-color:"+t.markerContentBGColor,t.markerContentBorderRadius&&"border-radius:"+p("markerContentBorderRadius"),t.markerContentPadding&&"padding:"+p("markerContentPadding")),m=Z.a.h4(Yt||(Yt=$t(["\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t"])),t.markerTitleColor&&"color:"+t.markerTitleColor,t.markerTitleSize&&"font-size:"+t.markerTitleSize,t.markerTitleMargin&&"margin:"+p("markerTitleMargin")),b=Z.a.p(Xt||(Xt=$t(["\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t"])),t.markerDescriptionColor&&"color:"+t.markerDescriptionColor,t.markerDescriptionSize&&"font-size:"+t.markerDescriptionSize,t.markerDescriptionMargin&&"margin:"+p("markerDescriptionMargin")),g=t.markerList.map((function(e,t){return React.createElement("div",{key:t,className:"wlb_image_pointer",style:{left:"".concat(e.horizontal,"%"),top:"".concat(e.verticle,"%")}},React.createElement("div",{className:"wlb_pointer_box"},e.title&&React.createElement(m,null,e.title),e.content&&React.createElement(b,null,e.content)))}));return React.createElement(y.Fragment,null,o&&React.createElement(Jt,this.props),React.createElement("div",{className:n},React.createElement(f,{className:d},g)))}}])&&tn(t.prototype,n),l}(y.Component),ln=n(16),cn=React.createElement("svg",{id:"_x31_","enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 193.826 193.826",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M191.495,55.511L137.449,1.465c-1.951-1.953-5.119-1.953-7.07,0l-0.229,0.229c-3.314,3.313-5.14,7.72-5.14,12.406 c0,3.019,0.767,5.916,2.192,8.485l-56.55,48.533c-4.328-3.868-9.852-5.985-15.703-5.985c-6.305,0-12.232,2.455-16.689,6.913 l-0.339,0.339c-1.953,1.952-1.953,5.118,0,7.07l32.378,32.378l-31.534,31.533c-0.631,0.649-15.557,16.03-25.37,28.27 c-9.345,11.653-11.193,13.788-11.289,13.898c-1.735,1.976-1.639,4.956,0.218,6.822c0.973,0.977,2.256,1.471,3.543,1.471 c1.173,0,2.349-0.41,3.295-1.237c0.083-0.072,2.169-1.885,13.898-11.289c12.238-9.813,27.619-24.74,28.318-25.421l31.483-31.483 l30.644,30.644c0.976,0.977,2.256,1.465,3.535,1.465s2.56-0.488,3.535-1.465l0.339-0.339c4.458-4.457,6.913-10.385,6.913-16.689 c0-5.851-2.118-11.375-5.985-15.703l48.533-56.55c2.569,1.425,5.466,2.192,8.485,2.192c4.687,0,9.093-1.825,12.406-5.14l0.229-0.229 C193.448,60.629,193.448,57.463,191.495,55.511z"})),sn=ln.name,un=ln.category,pn=ln.attributes,dn={title:Object(f.__)("WL : Image Marker","woolentor"),description:Object(f.__)("Display image marker.","woolentor"),icon:React.createElement(m.Icon,{icon:cn}),keywords:["woolentor",Object(f.__)("shop idicator","woolentor"),Object(f.__)("image indicator","woolentor"),Object(f.__)("marker","woolentor"),Object(f.__)("image marker","woolentor")],example:{attributes:{style:"1"}},supports:{align:["wide","full"]},attributes:pn,edit:an,save:function(){return null}};function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach((function(t){bn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gn=function(e){var t=e.attributes,n=e.setAttributes,o=t.title,r=t.subTitle,a=t.layout,l=t.featureImage,i={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"};return React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Content","woolentor"),initialOpen:!0},React.createElement(m.SelectControl,{label:Object(f.__)("Layout","woolentor"),value:a,options:[{label:Object(f.__)("Layout One","woolentor"),value:"1"},{label:Object(f.__)("Layout Two","woolentor"),value:"2"},{label:Object(f.__)("Layout Three","woolentor"),value:"3"},{label:Object(f.__)("Layout Four","woolentor"),value:"4"},{label:Object(f.__)("Layout Five","woolentor"),value:"5"}],onChange:function(e){return n({layout:e})}}),React.createElement(Je,{title:Object(f.__)("Image","woolentor"),ImageData:l,attributesKey:"featureImage",setAttributes:n}),React.createElement(m.TextControl,{label:Object(f.__)("Title","woolentor"),value:o,onChange:function(e){return n({title:e})}}),React.createElement(m.TextControl,{label:Object(f.__)("Sub Title","woolentor"),value:r,onChange:function(e){return n({subTitle:e})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Area","woolentor")),React.createElement("h3",null,Object(f.__)("Border Color","woolentor"),React.createElement("span",{style:mn(mn({},i),{},{backgroundColor:t.areaBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.areaBorderColor,onChange:function(e){return n({areaBorderColor:e})}}),React.createElement("h3",null,Object(f.__)("Hover Border Color","woolentor"),React.createElement("span",{style:mn(mn({},i),{},{backgroundColor:t.areaHoverBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.areaHoverBorderColor,onChange:function(e){return n({areaHoverBorderColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:n}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:n}),React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:mn(mn({},i),{},{backgroundColor:t.areaBackgroundColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.areaBackgroundColor,onChange:function(e){return n({areaBackgroundColor:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:mn(mn({},i),{},{backgroundColor:t.titleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.titleColor,onChange:function(e){return n({titleColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:n}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return n({titleSize:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Sub Title","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:mn(mn({},i),{},{backgroundColor:t.subTitleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:t.subTitleColor,onChange:function(e){return n({subTitleColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return n({subTitleSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:n}))))};function hn(e){return(hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wn(e,t){return(wn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function On(e,t){if(t&&("object"===hn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Cn(e){return(Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var En,Rn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wn(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Cn(o);if(r){var n=Cn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return On(this,e)});function l(){return yn(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes;return React.createElement(y.Fragment,null,React.createElement(T.BlockControls,null,React.createElement(T.AlignmentToolbar,{value:t.textAlignment,onChange:function(e){return n({textAlignment:e})}})))}}])&&vn(t.prototype,n),l}(y.Component);function jn(e){return(jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function kn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Fn(e,t){return(Fn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function An(e,t){if(t&&("object"===jn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Tn(e){return(Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Bn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fn(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Tn(o);if(r){var n=Tn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return An(this,e)});function l(){return Sn(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=(e.name,e.className),n=e.attributes,o=e.isSelected,r=e.setAttributes,a=e.clientId,l=n.blockUniqId,i=n.featureImage;""==l&&r({blockUniqId:a});var c,s,u=function(e){var t=n[e]?n[e]:{},o="";if(""!=t.top||""!=t.right||""!=t.bottom||""!=t.left){var r=t.unit?t.unit:"px";o=t.top?o+t.top+r+" ":"0"+r+" ",o=t.right?o+t.right+r+" ":"0"+r+" ",o=t.bottom?o+t.bottom+r+" ":"0"+r+" ",o=t.left?o+t.left+r+" ":"0"+r+" "}return o},p=V()(t,kn({},"woolentor-blocks ht-feature-wrap ht-feature-style-"+n.layout,n.layout),kn({},"woolentor-text-align-"+n.textAlignment,n.textAlignment)),d=Z.a.div(En||(c=["\n\t\t\t"," !important;\n\t\t\t",";\n\t\t\t"," !important;\n\t\t\t"," !important;\n\n\t\t\t&:hover{\n\t\t\t\t"," !important;\n\t\t\t}\n\n\t\t\t& .ht-feature-content h4{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .ht-feature-content p{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t"],s||(s=c.slice(0)),En=Object.freeze(Object.defineProperties(c,{raw:{value:Object.freeze(s)}}))),n.areaBorderColor&&"border-color:"+n.areaBorderColor,n.areaBackgroundColor&&"background-color:"+n.areaBackgroundColor,n.areaMargin&&"margin:"+u("areaMargin"),n.areaPadding&&"padding:"+u("areaPadding"),n.areaHoverBorderColor&&"border-color:"+n.areaHoverBorderColor,n.titleColor&&"color:"+n.titleColor,n.titleSize&&"font-size:"+n.titleSize,n.titleMargin&&"margin:"+u("titleMargin"),n.subTitleColor&&"color:"+n.subTitleColor,n.subTitleSize&&"font-size:"+n.subTitleSize,n.subTitleMargin&&"margin:"+u("subTitleMargin"));return React.createElement(y.Fragment,null,o&&React.createElement(gn,this.props),o&&React.createElement(Rn,this.props),React.createElement("div",{className:p},React.createElement(d,{className:"ht-feature-inner"},i.url&&React.createElement("div",{className:"ht-feature-img"},React.createElement("img",{src:i.url,alt:n.title})),React.createElement("div",{className:"ht-feature-content"},n.title&&React.createElement("h4",null,n.title),n.subTitle&&React.createElement("p",null,n.subTitle)))))}}])&&Pn(t.prototype,n),l}(y.Component),xn=n(17),zn=React.createElement("svg",{viewBox:"-27 0 512 512.00001",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m399.996094 0h-341.996094c-31.980469 0-58 26.019531-58 58v369.996094c0 16.542968 13.457031 30 30 30h131.332031c5.523438 0 10-4.476563 10-10 0-5.523438-4.476562-10-10-10h-131.332031c-5.515625 0-10-4.484375-10-10v-369.996094c0-20.953125 17.046875-38 38-38h298.234375c-8.855469 10.1875-14.238281 23.472656-14.238281 38v322.265625c0 9.226563-7.503906 16.730469-16.730469 16.730469-7.210937 0-13.589844-4.597656-15.875-11.4375l-15.070313-45.21875c-4.253906-12.765625-16.15625-21.339844-29.609374-21.339844-17.210938 0-31.210938 14-31.210938 31.207031v7.789063h-51.832031c-5.523438 0-10 4.480468-10 10 0 5.523437 4.476562 10 10 10h51.832031v49.75c0 14.765625 2.878906 29.164062 8.558594 42.789062l14.710937 35.308594c1.601563 3.839844 5.316407 6.15625 9.234375 6.15625 1.28125 0 2.585938-.246094 3.839844-.769531 5.101562-2.125 7.511719-7.980469 5.386719-13.078125l-14.710938-35.308594c-4.65625-11.175781-7.019531-22.984375-7.019531-35.09375v-77.539062c0-6.183594 5.027344-11.210938 11.210938-11.210938 4.832031 0 9.109374 3.078125 10.636718 7.664062l15.070313 45.21875c5.007812 15.019532 19.011719 25.113282 34.847656 25.113282 20.253906 0 36.730469-16.476563 36.730469-36.730469v-171.449219l13.363281 13.335938c23.84375 23.796875 36.972656 55.457031 36.972656 89.140625v106.300781c0 27.535156-6.238281 55.238281-18.035156 80.117188-2.367187 4.988281-.238281 10.953124 4.75 13.320312s10.953125.242188 13.320313-4.75c13.058593-27.539062 19.964843-58.207031 19.964843-88.6875v-106.300781c0-39.035157-15.214843-75.71875-42.84375-103.296875l-27.492187-27.441406v-9.554688h66c16.542968 0 30-13.457031 30-30v-83c0-31.980469-26.015625-58-58-58zm38 141c0 5.511719-4.484375 10-10 10h-66v-93c0-20.953125 17.046875-38 38-38s38 17.046875 38 38zm0 0"}),React.createElement("path",{d:"m205 437.996094c-2.632812 0-5.210938 1.070312-7.070312 2.929687-1.859376 1.863281-2.929688 4.441407-2.929688 7.070313 0 2.632812 1.070312 5.210937 2.929688 7.070312 1.859374 1.859375 4.4375 2.929688 7.070312 2.929688 2.628906 0 5.207031-1.070313 7.070312-2.929688 1.859376-1.859375 2.929688-4.4375 2.929688-7.070312 0-2.628906-1.070312-5.207032-2.929688-7.070313-1.863281-1.859375-4.441406-2.929687-7.070312-2.929687zm0 0"}),React.createElement("path",{d:"m137.667969 74c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m137.667969 194c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m117.667969 294h-44c-11.03125 0-20 8.96875-20 20v43.996094c0 11.03125 8.96875 20 20 20h44c11.027343 0 20-8.96875 20-20v-43.996094c0-11.03125-8.972657-20-20-20zm0 63.996094h-44v-43.996094h44l.011719 43.996094s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m296.332031 138c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-68.9375c-5.523437 0-10 4.476562-10 10s4.476563 10 10 10zm0 0"}),React.createElement("path",{d:"m181.667969 138c2.632812 0 5.210937-1.070312 7.070312-2.929688 1.859375-1.859374 2.929688-4.441406 2.929688-7.070312s-1.070313-5.210938-2.929688-7.070312c-1.859375-1.859376-4.4375-2.929688-7.070312-2.929688-2.640625 0-5.210938 1.070312-7.070313 2.929688-1.867187 1.859374-2.929687 4.441406-2.929687 7.070312s1.0625 5.210938 2.929687 7.070312c1.859375 1.859376 4.429688 2.929688 7.070313 2.929688zm0 0"}),React.createElement("path",{d:"m181.664062 258h114.667969c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-114.667969c-5.519531 0-10 4.476562-10 10s4.480469 10 10 10zm0 0"})),Dn=xn.name,Mn=xn.category,Ln=xn.attributes,In={title:Object(f.__)("WL : Store Feature","woolentor"),description:Object(f.__)("Display store feature.","woolentor"),icon:React.createElement(m.Icon,{icon:zn}),keywords:["woolentor",Object(f.__)("shop feature","woolentor"),Object(f.__)("feature","woolentor"),Object(f.__)("store","woolentor")],example:{attributes:{style:"1"}},attributes:Ln,supports:{align:["wide","full"]},edit:Bn,save:function(){return null}};function Nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Hn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(n),!0).forEach((function(t){Wn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gn(e){return function(e){if(Array.isArray(e))return Vn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Un(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a=[],_n=!0,l=!1;try{for(n=n.call(e);!(_n=(o=n.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,r=e}finally{try{_n||null==n.return||n.return()}finally{if(l)throw r}}return a}}(e,t)||Un(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Un(e,t){if(e){if("string"==typeof e)return Vn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vn(e,t):void 0}}function Vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var Qn,Kn=function(e){var t,n=e.attributes,o=e.setAttributes,r=qn(Object(y.useState)(!1),2),a=r[0],l=r[1],i=qn(Object(y.useState)([{device:"desktop"}]),2),c=i[0],s=i[1],u=(n.columns,n.noGutter),p={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"},d=function(e,t,n){var o=c[0];o[t]=n,s([].concat(Gn(c.slice(0,0)),[o],Gn(c.slice(1))))},b=function(e,t,r){var a=Gn(n.brandLogoList);a[r][t]=e,o({brandLogoList:a})},g=["image","png"],h=React.createElement("p",null,Object(f.__)("To edit the banner image, you need permission to upload media.","woolentor")),v=function(e,t){var r=Gn(n.brandLogoList);r[t].image.id=e.id,r[t].image.url=e.url,o({brandLogoList:r})};return n.brandLogoList.length>0&&(t=n.brandLogoList.map((function(e,t){var r=a===t?"woolentor_active_repeter":"";return React.createElement(y.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},n.brandLogoList[t].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(m.IconButton,{className:"woolentor__remove-marker",icon:"no-alt",label:Object(f.__)("Delete Marker","woolentor"),onClick:function(){return function(e){var t=Gn(n.brandLogoList);t.splice(e,1),o({brandLogoList:t})}(t)}}))),React.createElement("div",{className:r+" woolentor_repeater-controls"},React.createElement(m.TextControl,{label:Object(f.__)("Brand Title","woolentor"),className:"woolentor__marker-title",placeholder:Object(f.__)("Brand Title","woolentor"),value:n.brandLogoList[t].title,onChange:function(e){return b(e,"title",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(T.MediaUploadCheck,{fallback:h},React.createElement(T.MediaUpload,{title:Object(f.__)("Choose Image","woolentor"),onSelect:function(e){return v(e,t)},allowedTypes:g,value:n.brandLogoList[t].image.id,render:function(e){var o=e.open;return React.createElement(m.Button,{className:n.brandLogoList[t].image.id?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o},n.brandLogoList[t].image.id?React.createElement("img",{src:n.brandLogoList[t].image.url,alt:n.brandLogoList[t].title}):Object(f.__)("Choose Image","woolentor"))}})),!!n.brandLogoList[t].image.id&&React.createElement(T.MediaUploadCheck,null,React.createElement(T.MediaUpload,{title:Object(f.__)("Choose Image","woolentor"),onSelect:function(e){return v(e,t)},allowedTypes:g,value:n.brandLogoList[t].image.id,render:function(e){var t=e.open;return React.createElement(m.Button,{onClick:t,isDefault:!0,isLarge:!0},Object(f.__)("Replace image","woolentor"))}})),!!n.brandLogoList[t].image.id&&React.createElement(T.MediaUploadCheck,null,React.createElement(m.Button,{onClick:function(){return function(e){var t=Gn(n.brandLogoList);t[e].image.id=void 0,t[e].image.url=void 0,o({brandLogoList:t})}(t)},isLink:!0,isDestructive:!0},Object(f.__)("Remove image","woolentor")))),React.createElement(m.TextControl,{label:Object(f.__)("Brand Link","woolentor"),value:n.brandLogoList[t].link,placeholder:Object(f.__)("https://your-site.com","woolentor"),onChange:function(e){return b(e,"link",t)}}))))}))),React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Brand Logo","woolentor"),initialOpen:!0},t,React.createElement(m.Button,{isDefault:!0,icon:"plus-alt2",onClick:function(){var e=Gn(n.brandLogoList);e.push({title:Object(f.__)("Brand Item #"+(n.brandLogoList.length+1),"woolentor"),image:{id:"",url:""},link:""}),o({brandLogoList:e}),l(n.brandLogoList.length)}.bind(void 0)},Object(f.__)("Add Brand","woolentor"))),React.createElement(m.PanelBody,{title:Object(f.__)("Brand Option","woolentor"),initialOpen:!1},React.createElement(m.PanelRow,{className:"woolentor-device-row",style:{minHeight:"auto"}},React.createElement("label",null,Object(f.__)("Columns","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-device-button"},React.createElement(m.Button,{icon:"desktop",value:"desktop",label:Object(f.__)("Large","woolentor"),isPrimary:"desktop"===c[0].device,isSecondary:"desktop"!==c[0].device,onClick:function(e){return d(0,"device","desktop")}}),React.createElement(m.Button,{icon:"laptop",value:"laptop",label:Object(f.__)("Medium","woolentor"),isPrimary:"laptop"===c[0].device,isSecondary:"laptop"!==c[0].device,onClick:function(e){return d(0,"device","laptop")}}),React.createElement(m.Button,{icon:"tablet",value:"tablet",label:Object(f.__)("Small","woolentor"),isPrimary:"tablet"===c[0].device,isSecondary:"tablet"!==c[0].device,onClick:function(e){return d(0,"device","tablet")}}),React.createElement(m.Button,{icon:"smartphone",value:"mobile",label:Object(f.__)("Extra Small","woolentor"),isPrimary:"mobile"===c[0].device,isSecondary:"mobile"!==c[0].device,onClick:function(e){return d(0,"device","mobile")}}))),React.createElement(m.RangeControl,{value:n.columns[c[0].device],onChange:function(e){return function(e,t,r){var a=Hn({},n.columns);a[t]=e,o(Wn({},"columns",a))}(e,c[0].device)},min:0,step:1,max:10}),React.createElement(m.ToggleControl,{label:Object(f.__)("No Gutters","woolentor"),checked:u,help:u?Object(f.__)("Enable No Gutters.","woolentor"):Object(f.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!u})}}),!u&&React.createElement(m.RangeControl,{label:Object(f.__)("Gutter Spacing","woolentor"),value:n.itemSpace,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Brand Item","woolentor")),React.createElement(m.SelectControl,{label:Object(f.__)("Border Type","woolentor"),value:n.singleItemAreaBorderType,options:[{label:Object(f.__)("None","woolentor"),value:""},{label:Object(f.__)("Solid","woolentor"),value:"solid"},{label:Object(f.__)("Double","woolentor"),value:"double"},{label:Object(f.__)("Dotted","woolentor"),value:"dotted"},{label:Object(f.__)("Dashed","woolentor"),value:"dashed"},{label:Object(f.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return o({singleItemAreaBorderType:e})}}),n.singleItemAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(tt,{lavel:Object(f.__)("Border Width","woolentor"),dimensions:n.singleItemAreaBorderWidth,attributesKey:"singleItemAreaBorderWidth",setAttributes:o}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Border Color","woolentor"),React.createElement("span",{style:Hn(Hn({},p),{},{backgroundColor:n.singleItemAreaBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.singleItemAreaBorderColor,onChange:function(e){return o({singleItemAreaBorderColor:e})}})),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:n.singleItemAreaBorderRadius,attributesKey:"singleItemAreaBorderRadius",setAttributes:o}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.singleItemAreaMargin,attributesKey:"singleItemAreaMargin",setAttributes:o}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:n.singleItemAreaPadding,attributesKey:"singleItemAreaPadding",setAttributes:o}),React.createElement("h3",null,Object(f.__)("Alignment","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-alignment-btn-group"},React.createElement(m.Button,{icon:"editor-alignleft",value:"left",isPrimary:"left"===n.brandAlignment,isSecondary:"left"!==n.brandAlignment,onClick:function(){return o({brandAlignment:"left"})},title:Object(f.__)("Title align left","woolentor")}),React.createElement(m.Button,{icon:"editor-aligncenter",value:"center",isPrimary:"center"===n.brandAlignment,isSecondary:"center"!==n.brandAlignment,onClick:function(){return o({brandAlignment:"center"})},title:Object(f.__)("Title align center","woolentor")}),React.createElement(m.Button,{icon:"editor-alignright",value:"right",isPrimary:"right"===n.brandAlignment,isSecondary:"right"!==n.brandAlignment,onClick:function(){return o({brandAlignment:"right"})},title:Object(f.__)("Title align right","woolentor")}),React.createElement("span",{onClick:function(){return o({brandAlignment:""})},class:"woolentor-reset-btn dashicon dashicons dashicons-image-rotate"})),React.createElement("h2",{className:"woolentor-blocks-section-title",style:{marginTop:"20px"}},Object(f.__)("Brand Image","woolentor")),React.createElement(m.SelectControl,{label:Object(f.__)("Border Type","woolentor"),value:n.brandImageBorderType,options:[{label:Object(f.__)("None","woolentor"),value:""},{label:Object(f.__)("Solid","woolentor"),value:"solid"},{label:Object(f.__)("Double","woolentor"),value:"double"},{label:Object(f.__)("Dotted","woolentor"),value:"dotted"},{label:Object(f.__)("Dashed","woolentor"),value:"dashed"},{label:Object(f.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return o({brandImageBorderType:e})}}),n.brandImageBorderType&&React.createElement(React.Fragment,null,React.createElement(tt,{lavel:Object(f.__)("Border Width","woolentor"),dimensions:n.brandImageBorderWidth,attributesKey:"brandImageBorderWidth",setAttributes:o}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Border Color","woolentor"),React.createElement("span",{style:Hn(Hn({},p),{},{backgroundColor:n.brandImageBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.brandImageBorderColor,onChange:function(e){return o({brandImageBorderColor:e})}})),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:n.brandImageBorderRadius,attributesKey:"brandImageBorderRadius",setAttributes:o}))))};function Yn(e){return(Yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function $n(e,t){return($n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function eo(e,t){if(t&&("object"===Yn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function to(e){return(to=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var no=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"250",height:"150",viewBox:"0 0 300 300"},React.createElement("image",{id:"woolentor-logo",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"})),oo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$n(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=to(o);if(r){var n=to(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return eo(this,e)});function l(){return Jn(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.className,n=e.attributes,o=e.isSelected,r=e.setAttributes,a=e.clientId;""==n.blockUniqId&&r({blockUniqId:a});var l,i,c=function(e){var t=n[e]?n[e]:{},o="";if(""!=t.top||""!=t.right||""!=t.bottom||""!=t.left){var r=t.unit?t.unit:"px";o=t.top?o+t.top+r+" ":"0"+r+" ",o=t.right?o+t.right+r+" ":"0"+r+" ",o=t.bottom?o+t.bottom+r+" ":"0"+r+" ",o=t.left?o+t.left+r+" ":"0"+r+" "}return o},s=V()(t,Xn({},"woolentor-columns-".concat(n.columns.desktop),n.columns.desktop),Xn({},"woolentor-laptop-columns-".concat(n.columns.laptop),n.columns.laptop),Xn({},"woolentor-tablet-columns-".concat(n.columns.tablet),n.columns.tablet),Xn({},"woolentor-mobile-columns-".concat(n.columns.mobile),n.columns.mobile)),u=Z.a.div(Qn||(l=["\n\t\t\t"," !important;\n\t\t\t& .wl-single-brand{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& img,.woolentor-default-brand{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t"],i||(i=l.slice(0)),Qn=Object.freeze(Object.defineProperties(l,{raw:{value:Object.freeze(i)}}))),!n.noGutter&&"padding: 0 "+n.itemSpace+"px 0 "+n.itemSpace+"px",n.singleItemAreaBorderType&&"border-style:"+n.singleItemAreaBorderType,n.singleItemAreaBorderWidth&&"border-width:"+c("singleItemAreaBorderWidth"),n.singleItemAreaBorderColor&&"border-color:"+n.singleItemAreaBorderColor,n.singleItemAreaBorderRadius&&"border-radius:"+c("singleItemAreaBorderRadius"),n.singleItemAreaMargin&&"margin:"+c("singleItemAreaMargin"),n.singleItemAreaPadding&&"padding:"+c("singleItemAreaPadding"),n.brandAlignment&&"text-align:"+n.brandAlignment,n.brandImageBorderType&&"border-style:"+n.brandImageBorderType,n.brandImageBorderWidth&&"border-width:"+c("brandImageBorderWidth"),n.brandImageBorderColor&&"border-color:"+n.brandImageBorderColor,n.brandImageBorderRadius&&"border-radius:"+c("brandImageBorderRadius")),p=n.brandLogoList.map((function(e,t){return React.createElement(u,{className:"woolentor-col-"+n.columns.desktop},React.createElement("div",{className:"wl-single-brand"},e.image.url?React.createElement("img",{src:e.image.url,alt:e.title}):React.createElement("div",{className:"woolentor-default-brand"},no)))}));return React.createElement(y.Fragment,null,o&&React.createElement(Kn,this.props),React.createElement("div",{className:s},React.createElement("div",{className:!0===n.noGutter?"woolentor-row wlno-gutters":"woolentor-row"},p)))}}])&&Zn(t.prototype,n),l}(y.Component),ro=n(18),ao=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512"},React.createElement("path",{d:"M166,0H75C33.645,0,0,33.645,0,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75V75 C241,33.645,207.355,0,166,0z M211,166c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45V75c0-24.813,20.187-45,45-45h91 c24.813,0,45,20.187,45,45V166z"}),React.createElement("path",{d:"M437,271h-91c-41.355,0-75,33.645-75,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91 C512,304.645,478.355,271,437,271z M482,437c0,24.813-20.187,45-45,45h-91c-24.813,0-45-20.187-45-45v-91 c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45V437z"}),React.createElement("path",{d:"M437,0h-91c-41.355,0-75,33.645-75,75v91c0,57.897-47.103,105-105,105H75c-41.355,0-75,33.645-75,75v91 c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91c0-57.897,47.103-105,105-105h91c41.355,0,75-33.645,75-75V75 C512,33.645,478.355,0,437,0z M211,346v91c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45v-91c0-24.813,20.187-45,45-45 h91c20.827,0,40.568-4.741,58.2-13.2C215.741,305.432,211,325.173,211,346z M482,166c0,24.813-20.187,45-45,45h-91 c-20.827,0-40.568,4.741-58.2,13.2c8.459-17.632,13.2-37.373,13.2-58.2V75c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45 V166z"})),lo=ro.name,io=ro.category,co=ro.attributes,so={title:Object(f.__)("WL : Brand Logo","woolentor"),description:Object(f.__)("Display brand logo.","woolentor"),icon:React.createElement(m.Icon,{icon:ao}),keywords:["woolentor",Object(f.__)("logo","woolentor"),Object(f.__)("brand","woolentor"),Object(f.__)("brand logo","woolentor")],example:{attributes:{brandLogoList:[{title:"Brand Title one",link:"https://hasthemes.com/",image:{id:"",url:""}},{title:"Brand Title Two",link:"https://hasthemes.com/",image:{id:"",url:""}},{title:"Brand Title Three",link:"https://hasthemes.com/",image:{id:"",url:""}},{title:"Brand Title Four",link:"https://hasthemes.com/",image:{id:"",url:""}},{title:"Brand Title Five",link:"https://hasthemes.com/",image:{id:"",url:""}},{title:"Brand Title Six",link:"https://hasthemes.com/",image:{id:"",url:""}}],columns:{desktop:"3"}}},supports:{align:["wide","full"]},attributes:co,edit:oo,save:function(){return null}};function uo(e){return(uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function po(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?po(Object(n),!0).forEach((function(t){mo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):po(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bo(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function go(e,t){return(go=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ho(e,t){if(t&&("object"===uo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function yo(e){return(yo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vo,wo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&go(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=yo(o);if(r){var n=yo(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ho(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={imageSizes:[],device:"desktop"},t}return t=l,(n=[{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"fetchImageSize",value:function(){var e=this,t=Object(Y.addQueryArgs)("/woolentor/v1/imagesizes",{wpnonce:woolentorData.security});K()({path:t}).then((function(t){return e.setState({imageSizes:t})}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.setAttributes,r=n.style,a=n.displayType,l=n.productCategory,i=n.productCategories,c=n.order,s=n.displayLimit,u=n.showCount,p=n.sliderOn,d=(n.columns,n.noGutter),b=n.itemSpace,g={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"},h=function(t,n,o){e.setState(mo({},n,o))},v=this.state.imageSizes,w=function(){var e=[];return Object.keys(v).forEach((function(t){e.push({label:v[t],value:t})})),e};return React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("Settings","woolentor"),initialOpen:!0},React.createElement(m.SelectControl,{label:Object(f.__)("Style","woolentor"),value:r,options:[{label:Object(f.__)("Style One","woolentor"),value:"1"},{label:Object(f.__)("Style Two","woolentor"),value:"2"},{label:Object(f.__)("Style Three","woolentor"),value:"3"},{label:Object(f.__)("Style Four","woolentor"),value:"4"},{label:Object(f.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({style:e})}}),React.createElement(m.SelectControl,{label:Object(f.__)("Category Display Type","woolentor"),value:a,options:[{label:Object(f.__)("Single Category","woolentor"),value:"singleCat"},{label:Object(f.__)("Multiple Categories","woolentor"),value:"multipleCat"},{label:Object(f.__)("All Categories","woolentor"),value:"allCat"}],onChange:function(e){return o({displayType:e})}}),"singleCat"==a&&React.createElement(A,{title:Object(f.__)("Select category","woolentor"),attributesKey:"productCategory",setAttributes:o,selectedTaxonomies:l,type:"single"}),"multipleCat"==a&&React.createElement(A,{title:Object(f.__)("Select categories","woolentor"),attributesKey:"productCategories",setAttributes:o,selectedTaxonomies:i,type:"multiple"}),"singleCat"!=a&&React.createElement(m.SelectControl,{label:Object(f.__)("Order","woolentor"),value:c,options:[{label:Object(f.__)("Ascending","woolentor"),value:"asc"},{label:Object(f.__)("Descending","woolentor"),value:"desc"}],onChange:function(e){return o({order:e})}}),"allCat"==a&&React.createElement(m.RangeControl,{label:Object(f.__)("Limit","woolentor"),value:s,onChange:function(e){return o({displayLimit:e})},min:1,step:1,max:20}),("1"==r||"4"==r)&&React.createElement(m.ToggleControl,{label:Object(f.__)("Show Count","woolentor"),checked:u,help:u?Object(f.__)("Enable show Count.","woolentor"):Object(f.__)("Toggle to show the count.","woolentor"),onChange:function(){return o({showCount:!u})}}),w().length>0&&React.createElement(m.SelectControl,{label:Object(f.__)("Image Size","woolentor"),value:n.imageSize,options:w(),onChange:function(e){return o({imageSize:e})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider On","woolentor"),checked:p,help:p?Object(f.__)("Enable slider.","woolentor"):Object(f.__)("Toggle to show the slider.","woolentor"),onChange:function(){return o({sliderOn:!p})}})),1==p&&React.createElement(m.PanelBody,{title:Object(f.__)("Slider Options","woolentor"),initialOpen:!1},React.createElement(m.RangeControl,{label:Object(f.__)("Slider Items","woolentor"),value:n.slitems,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider Arrow","woolentor"),checked:n.slarrows,help:n.slarrows?Object(f.__)("Enable slider arrow.","woolentor"):Object(f.__)("Toggle to show the slider arrow.","woolentor"),onChange:function(){return o({slarrows:!n.slarrows})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider dots","woolentor"),checked:n.sldots,help:n.sldots?Object(f.__)("Enable slider pagination.","woolentor"):Object(f.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({sldots:!n.sldots})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Pause on Hover?","woolentor"),checked:n.slpauseOnHover,help:n.slpauseOnHover?Object(f.__)("Enable slider pagination.","woolentor"):Object(f.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({slpauseOnHover:!n.slpauseOnHover})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Is RTL","woolentor"),checked:n.slIsrtl,help:n.slIsrtl?Object(f.__)("Enable RTL.","woolentor"):Object(f.__)("Toggle to show the RTL direction.","woolentor"),onChange:function(){return o({slIsrtl:!n.slIsrtl})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Slider auto play","woolentor"),checked:n.slautolay,help:n.slautolay?Object(f.__)("Enable slider auto play.","woolentor"):Object(f.__)("Toggle to show the slider auto play.","woolentor"),onChange:function(){return o({slautolay:!n.slautolay})}}),1==n.slautolay&&React.createElement(React.Fragment,null,React.createElement(m.RangeControl,{label:Object(f.__)("Autoplay speed","woolentor"),value:n.slautoplaySpeed,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(m.RangeControl,{label:Object(f.__)("Autoplay animation speed","woolentor"),value:n.slanimationSpeed,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5})),React.createElement(m.RangeControl,{label:Object(f.__)("Slider item to scroll","woolentor"),value:n.slscrollItem,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Tablet Screen options","woolentor")),React.createElement(m.RangeControl,{label:Object(f.__)("Slider Items","woolentor"),value:n.sltabletDisplayColumns,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Slider item to scroll","woolentor"),value:n.sltabletScrollColumns,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Tablet Screen Resolution","woolentor"),value:n.sltabletWidth,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Mobile Phone Screen options","woolentor")),React.createElement(m.RangeControl,{label:Object(f.__)("Slider Items","woolentor"),value:n.slMobileDisplayColumns,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Slider item to scroll","woolentor"),value:n.slMobileScrollColumns,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(m.RangeControl,{label:Object(f.__)("Mobile Screen Resolution","woolentor"),value:n.slMobileWidth,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500})),0==p&&React.createElement(m.PanelBody,{title:Object(f.__)("Columns","woolentor"),initialOpen:!1},React.createElement(m.PanelRow,{className:"woolentor-device-row",style:{minHeight:"auto"}},React.createElement("label",null,Object(f.__)("Columns","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-device-button"},React.createElement(m.Button,{icon:"desktop",value:"desktop",label:Object(f.__)("Large","woolentor"),isPrimary:"desktop"===this.state.device,isSecondary:"desktop"!==this.state.device,onClick:function(e){return h(0,"device","desktop")}}),React.createElement(m.Button,{icon:"laptop",value:"laptop",label:Object(f.__)("Medium","woolentor"),isPrimary:"laptop"===this.state.device,isSecondary:"laptop"!==this.state.device,onClick:function(e){return h(0,"device","laptop")}}),React.createElement(m.Button,{icon:"tablet",value:"tablet",label:Object(f.__)("Small","woolentor"),isPrimary:"tablet"===this.state.device,isSecondary:"tablet"!==this.state.device,onClick:function(e){return h(0,"device","tablet")}}),React.createElement(m.Button,{icon:"smartphone",value:"mobile",label:Object(f.__)("Extra Small","woolentor"),isPrimary:"mobile"===this.state.device,isSecondary:"mobile"!==this.state.device,onClick:function(e){return h(0,"device","mobile")}}))),React.createElement(m.RangeControl,{value:n.columns[this.state.device],onChange:function(t){return function(e,t,r){var a=fo({},n.columns);a[t]=e,o(mo({},"columns",a))}(t,e.state.device)},min:0,step:1,max:10}),React.createElement(m.ToggleControl,{label:Object(f.__)("No Gutters","woolentor"),checked:d,help:d?Object(f.__)("Enable No Gutters.","woolentor"):Object(f.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!d})}}),!d&&React.createElement(m.RangeControl,{label:Object(f.__)("Gutter Spacing","woolentor"),value:b,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Area","woolentor")),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:n.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:fo(fo({},g),{},{backgroundColor:n.areaBackgroundColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Image","woolentor")),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Box Color","woolentor"),React.createElement("span",{style:fo(fo({},g),{},{backgroundColor:n.imageBoxColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.imageBoxColor,onChange:function(e){return o({imageBoxColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.imageMargin,attributesKey:"imageMargin",setAttributes:o}),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:n.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Title","woolentor")),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Color","woolentor"),React.createElement("span",{style:fo(fo({},g),{},{backgroundColor:n.titleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.titleColor,onChange:function(e){return o({titleColor:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Hover Color","woolentor"),React.createElement("span",{style:fo(fo({},g),{},{backgroundColor:n.titleHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Count","woolentor")),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Color","woolentor"),React.createElement("span",{style:fo(fo({},g),{},{backgroundColor:n.countColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.countColor,onChange:function(e){return o({countColor:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Before Border Color","woolentor"),React.createElement("span",{style:fo(fo({},g),{},{backgroundColor:n.countBeforeColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.countBeforeColor,onChange:function(e){return o({countBeforeColor:e})}}))))}}])&&bo(t.prototype,n),l}(y.Component);function Oo(e){return(Oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _o(){return(_o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function Co(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eo(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ro(e,t){return(Ro=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jo(e,t){if(t&&("object"===Oo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ko(e){return(ko=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var So=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ro(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ko(o);if(r){var n=ko(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return jo(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={categoryData:[]},t}return t=l,(n=[{key:"componentDidMount",value:function(){this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t,n=this.props.attributes,o=n.displayLimit,r=n.order;t="singleCat"==n.displayType?n.productCategory:"multipleCat"==n.displayType?n.productCategories:"";var a=e.attributes;("singleCat"==a.displayType?a.productCategory:"multipleCat"==a.displayType?a.productCategories:"")==t&&e.attributes.displayLimit==o&&e.attributes.order==r||this.fetchCategoryData()}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:this.props.attributes.displayLimit,queryOrder:this.props.attributes.order,queryType:"regular",wpnonce:woolentorData.security};"singleCat"==this.props.attributes.displayType?t.querySlug=this.props.attributes.productCategory:"multipleCat"==this.props.attributes.displayType?t.querySlug=this.props.attributes.productCategories:t.querySlug="";var n=Object(Y.addQueryArgs)("/woolentor/v1/category",t);K()({path:n}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,o=e.isSelected,r=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.style;""==l&&r({blockUniqId:a});var c=this.state.categoryData,s=0,u=-1;function p(e){var t=e.className,n=e.onClick;return React.createElement(m.Button,{className:t,onClick:n},React.createElement("i",{className:"fa fa-angle-right"}))}function d(e){var t=e.className,n=e.onClick;return React.createElement(m.Button,{className:t,onClick:n},React.createElement("i",{className:"fa fa-angle-left"}))}var f,b,g,h={arrows:t.slarrows,prevArrow:React.createElement(d,null),nextArrow:React.createElement(p,null),dots:t.sldots,infinite:!0,autoplay:t.slautolay,autoplaySpeed:t.slautoplaySpeed,speed:t.slanimationSpeed,fade:!1,pauseOnHover:t.slpauseOnHover,slidesToShow:t.slitems,slidesToScroll:t.slscrollItem,rtl:t.slIsrtl,responsive:[{breakpoint:t.sltabletWidth,settings:{slidesToShow:t.sltabletDisplayColumns,slidesToScroll:t.sltabletScrollColumns}},{breakpoint:t.slMobileWidth,settings:{slidesToShow:t.slMobileDisplayColumns,slidesToScroll:t.slMobileScrollColumns}}]},v=function(e){var n=t[e]?t[e]:{},o="";if(""!=n.top||""!=n.right||""!=n.bottom||""!=n.left){var r=n.unit?n.unit:"px";o=n.top?o+n.top+r+" ":"0"+r+" ",o=n.right?o+n.right+r+" ":"0"+r+" ",o=n.bottom?o+n.bottom+r+" ":"0"+r+" ",o=n.left?o+n.left+r+" ":"0"+r+" "}return o},w=V()(n,Co({},"woolentor-columns-".concat(t.columns.desktop),t.columns.desktop),Co({},"woolentor-laptop-columns-".concat(t.columns.laptop),t.columns.laptop),Co({},"woolentor-tablet-columns-".concat(t.columns.tablet),t.columns.tablet),Co({},"woolentor-mobile-columns-".concat(t.columns.mobile),t.columns.mobile),Co({},"woolentor-area-".concat(t.align),t.align)),O=V()(Co({},"woolentor-row",!0!==t.sliderOn),Co({},"wlno-gutters",1==t.noGutter),Co({},"product-slider",1==t.sliderOn)),_=V()(Co({},"woolentor-col-".concat(t.columns.desktop),t.columns.desktop)),C=Z.a.div(vo||(f=["\n\t\t\t"," !important;\n\t\t\t","px !important;\n\t\t\t\n\t\t\t& [class*='ht-category-wrap']{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& [class*='ht-category-image']{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .ht-category-wrap .ht-category-image a.ht-category-border::before,.ht-category-wrap-2:hover::before,.ht-category-wrap .ht-category-image a.ht-category-border-2::before{\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& [class*='ht-category-content'] h3 a{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& [class*='ht-category-content'] h3 a:hover{\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& [class*='ht-category-content'] span{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& [class*='ht-category-content'] span::before{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t\n\t\t"],b||(b=f.slice(0)),vo=Object.freeze(Object.defineProperties(f,{raw:{value:Object.freeze(b)}}))),!t.noGutter&&"padding: 0 "+t.itemSpace+"px 0 "+t.itemSpace+"px",!0!==t.sliderOn&&!t.noGutter&&u>=t.columns&&"margin-top:"+t.itemSpace+t.itemSpace,t.areaBackgroundColor&&"background-color:"+t.areaBackgroundColor,t.areaPadding&&"padding:"+v("areaPadding"),t.imageMargin&&"margin:"+v("imageMargin"),t.imageBorderRadius&&"border-radius:"+v("imageBorderRadius"),t.imageBoxColor&&"border-color:"+t.imageBoxColor,t.titleColor&&"color:"+t.titleColor,t.titleMargin&&"margin:"+v("titleMargin"),t.titleHoverColor&&"color:"+t.titleHoverColor,t.countColor&&"color:"+t.countColor,t.countBeforeColor&&"background-color:"+t.countBeforeColor);return c.length>0&&(g=c.map((function(e,n){return s=4===s?0:s,s++,u++,React.createElement(React.Fragment,null,React.createElement(C,{className:_},"1"===i&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(m.Disabled,null,React.createElement("a",{className:"ht-category-border",href:e.link},Object(y.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image[t.imageSize].html}})))),React.createElement("div",{className:"ht-category-content"},React.createElement("h3",null,React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},e.name))),1==t.showCount&&React.createElement("span",null,e.count))),"2"===i&&React.createElement("div",{className:"ht-category-wrap-2"},React.createElement("div",{className:"ht-category-content-2"},React.createElement("h3",null,React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},e.name)))),e.image&&React.createElement("div",{className:"ht-category-image-2"},React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},Object(y.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}}))))),"3"===i&&React.createElement("div",{className:"ht-category-wrap"},e.image?React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(m.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},Object(y.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))):React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(m.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},React.createElement("img",{src:e.placeholderImg,alt:e.name})))),React.createElement("div",{className:"ht-category-content-3 ht-category-content-3-bg"+s},React.createElement("h3",null,React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},e.name))))),"4"===i&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},Object(y.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-4"},React.createElement("h3",null,React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},e.name)),1==t.showCount&&React.createElement("span",null,e.count)))),"5"===i&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image-3 ht-category-image-zoom"},React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},Object(y.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-5"},React.createElement("h3",null,React.createElement(m.Disabled,null,React.createElement("a",{href:e.link},e.name)))))))}))),React.createElement(y.Fragment,null,o&&React.createElement(wo,this.props),React.createElement("div",{className:w},React.createElement("div",{className:O},0==c.length?React.createElement(m.Spinner,null):1==t.sliderOn?React.createElement(J.a,_o({},h,{className:"product-slider"}),g):g)))}}])&&Eo(t.prototype,n),l}(y.Component),Po=n(19),Fo=React.createElement("svg",{"enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m22.5 24h-21c-.827 0-1.5-.673-1.5-1.5v-21c0-.827.673-1.5 1.5-1.5h21c.827 0 1.5.673 1.5 1.5v21c0 .827-.673 1.5-1.5 1.5zm-21-23c-.276 0-.5.224-.5.5v21c0 .276.224.5.5.5h21c.276 0 .5-.224.5-.5v-21c0-.276-.224-.5-.5-.5z"}),React.createElement("path",{d:"m23.5 16.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m23.5 8.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m8 24c-.276 0-.5-.224-.5-.5v-23c0-.276.224-.5.5-.5s.5.224.5.5v23c0 .276-.224.5-.5.5z"})),Ao=Po.name,To=Po.category,Bo=Po.attributes,xo={title:Object(f.__)("WL : Category Grid","woolentor"),description:Object(f.__)("Display product category grid.","woolentor"),icon:React.createElement(m.Icon,{icon:Fo}),keywords:["woolentor",Object(f.__)("shop category","woolentor"),Object(f.__)("category grid","woolentor"),Object(f.__)("product category","woolentor"),Object(f.__)("woocommerce","woolentor")],example:{attributes:{style:"1",showCount:!0}},supports:{align:["wide","full"]},attributes:Bo,edit:So,save:function(){return null}};function zo(e){return(zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Do(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Mo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Do(Object(n),!0).forEach((function(t){Lo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Do(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Io(e){return function(e){if(Array.isArray(e))return No(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return No(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?No(e,void 0):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function No(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Ho(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Wo(e,t){return(Wo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Go(e,t){if(t&&("object"===zo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function qo(e){return(qo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Uo,Vo,Qo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wo(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=qo(o);if(r){var n=qo(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Go(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={activeClass:!1},t}return t=l,(n=[{key:"render",value:function(){var e,t=this,n=this.props,o=n.attributes,r=n.setAttributes,a=o.showFirstItem,l={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"},i=function(e,t,n){var a=Io(o.faqList);a[n][t]=e,r({faqList:a})};return o.faqList.length&&(e=o.faqList.map((function(e,n){var a=t.state.activeClass===n?"woolentor_active_repeter":"";return React.createElement(y.Fragment,{key:n},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,n){n===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:n})}(0,n)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.faqList[n].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(m.IconButton,{className:"woolentor__remove-marker",icon:"no-alt",label:Object(f.__)("Delete Marker","woolentor"),onClick:function(){return function(e){var t=Io(o.faqList);t.splice(e,1),r({faqList:t})}(n)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(m.TextControl,{label:Object(f.__)("Faq Title","woolentor"),className:"woolentor__marker-title",placeholder:Object(f.__)("Marker Title","woolentor"),value:o.faqList[n].title,onChange:function(e){return i(e,"title",n)}}),React.createElement(m.TextareaControl,{label:Object(f.__)("Faq Content","woolentor"),value:o.faqList[n].content,onChange:function(e){return i(e,"content",n)}}))))}))),React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement(m.PanelBody,{title:Object(f.__)("FAQ","woolentor"),initialOpen:!0},e,React.createElement(m.Button,{isDefault:!0,icon:"plus-alt2",onClick:function(){var e=Io(o.faqList);e.push({title:Object(f.__)("Faq Item #"+(o.faqList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),r({faqList:e}),t.setState({activeClass:o.faqList.length})}.bind(this)},Object(f.__)("Add FAQ","woolentor"))),React.createElement(m.PanelBody,{title:Object(f.__)("Settings","woolentor"),initialOpen:!1},React.createElement(m.ToggleControl,{label:Object(f.__)("Show First Item","woolentor"),checked:a,help:a?Object(f.__)("Enable first item.","woolentor"):Object(f.__)("Toggle to show the first item.","woolentor"),onChange:function(){return r({showFirstItem:!a})}}),React.createElement(m.SelectControl,{label:Object(f.__)("Icon Position","woolentor"),value:o.iconPosition,options:[{label:Object(f.__)("Left","woolentor"),value:"left"},{label:Object(f.__)("Right","woolentor"),value:"right"}],onChange:function(e){return r({iconPosition:e})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Style","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Title","woolentor")),React.createElement(m.SelectControl,{label:Object(f.__)("Border Type","woolentor"),value:o.titleBorderType,options:[{label:Object(f.__)("None","woolentor"),value:""},{label:Object(f.__)("Solid","woolentor"),value:"solid"},{label:Object(f.__)("Double","woolentor"),value:"double"},{label:Object(f.__)("Dotted","woolentor"),value:"dotted"},{label:Object(f.__)("Dashed","woolentor"),value:"dashed"},{label:Object(f.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return r({titleBorderType:e})}}),o.titleBorderType&&React.createElement(React.Fragment,null,React.createElement(tt,{lavel:Object(f.__)("Border Width","woolentor"),dimensions:o.titleBorderWidth,attributesKey:"titleBorderWidth",setAttributes:r}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Border Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.titleBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.titleBorderColor,onChange:function(e){return r({titleBorderColor:e})}})),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:o.titleBorderRadius,attributesKey:"titleBorderRadius",setAttributes:r}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.headBackgroundColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.headBackgroundColor,onChange:function(e){return r({headBackgroundColor:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Active Background Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.activeHeadBackgroundColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.activeHeadBackgroundColor,onChange:function(e){return r({activeHeadBackgroundColor:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.faqTitleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.faqTitleColor,onChange:function(e){return r({faqTitleColor:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Active Title Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.activeFaqTitleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.activeFaqTitleColor,onChange:function(e){return r({activeFaqTitleColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.titleSize,fallbackFontSize:o.titleSize,onChange:function(e){return r({titleSize:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Icon Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.iconColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.iconColor,onChange:function(e){return r({iconColor:e})}}),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Active Icon Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.activeIconColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.activeIconColor,onChange:function(e){return r({activeIconColor:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Content","woolentor")),React.createElement("h3",{style:{marginTop:15}},Object(f.__)("Color","woolentor"),React.createElement("span",{style:Mo(Mo({},l),{},{backgroundColor:o.contentColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:o.contentColor,onChange:function(e){return r({contentColor:e})}}),React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.contentSize,fallbackFontSize:o.contentSize,onChange:function(e){return r({contentSize:e})}}))))}}])&&Ho(t.prototype,n),l}(y.Component);function Ko(e){return(Ko="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Yo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Xo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jo(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Zo(e,t){return(Zo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $o(e,t){if(t&&("object"===Ko(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function er(e){return(er=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var tr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zo(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=er(o);if(r){var n=er(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return $o(this,e)});function l(){return Xo(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"componentDidMount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id");new Accordion("#"+e,{duration:500,showItem:this.props.attributes.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"})}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,n=t.faqList;if(e.attributes.faqList!==n||t.showFirstItem!==e.attributes.showFirstItem){this.$el=jQuery(this.el);var o=this.$el.attr("id");new Accordion("#"+o,{duration:500,showItem:t.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"}),jQuery(".htwoolentor-faq-card").on("click",(function(e){jQuery(this).toggleClass("is-active")}))}}},{key:"componentWillUnmount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id"),t=jQuery("#"+e);t.accordion&&(t.accordion("destroy"),t.accordion=!1)}},{key:"render",value:function(){var e=this,t=this.props,n=(t.name,t.attributes),o=t.className,r=t.isSelected,a=t.setAttributes,l=t.clientId,i=n.blockUniqId;n.bgProperty,l!==i&&a({blockUniqId:l});var c,s,u,p=function(e){var t=n[e]?n[e]:{},o="";if(""!=t.top||""!=t.right||""!=t.bottom||""!=t.left){var r=t.unit?t.unit:"px";o=t.top?o+t.top+r+" ":"0"+r+" ",o=t.right?o+t.right+r+" ":"0"+r+" ",o=t.bottom?o+t.bottom+r+" ":"0"+r+" ",o=t.left?o+t.left+r+" ":"0"+r+" "}return o},d=V()("htwoolentor-faq",(c={},s="woolentorfaq-icon-pos-".concat(n.iconPosition),u=n.iconPosition,s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c)),f=Z.a.div(Uo||(Uo=Yo(["\n\t\t\t",";\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t& .htwoolentor-faq-head-text{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .htwoolentor-faq-head-indicator:before, .htwoolentor-faq-head-indicator:after{\n\t\t\t\t"," !important;\n\t\t\t}\n\t\t"])),n.headBackgroundColor&&"background-color:"+n.headBackgroundColor,n.titleBorderType&&"border-style:"+n.titleBorderType,n.titleBorderWidth&&"border-width:"+p("titleBorderWidth"),n.titleBorderColor&&"border-color:"+n.titleBorderColor,n.titleBorderRadius&&"border-radius:"+p("titleBorderRadius"),n.faqTitleColor&&"color:"+n.faqTitleColor,n.titleSize&&"font-size:"+n.titleSize,n.iconColor&&"background-color:"+n.iconColor),m=Z.a.div(Vo||(Vo=Yo(["\n\t\t\t",";\n\n\t\t\t& p{\n\t\t\t\t"," !important;\n\t\t\t}\n\t\t"])),n.contentColor&&"color:"+n.contentColor,n.contentSize&&"font-size:"+n.contentSize),b=React.createElement("span",{className:"htwoolentor-faq-head-indicator"}),g=n.faqList.map((function(e,t){var o=e.title?React.createElement("span",{class:"htwoolentor-faq-head-text"},e.title):"";return React.createElement("div",{key:t,className:"htwoolentor-faq-card"},"right"===n.iconPosition?React.createElement(f,{className:"htwoolentor-faq-head"},o,b):React.createElement(f,{className:"htwoolentor-faq-head"},b,o),React.createElement("div",{className:"htwoolentor-faq-body"},React.createElement(m,{className:"htwoolentor-faq-content"},e.content&&React.createElement("p",null,e.content))))}));return React.createElement(y.Fragment,null,r&&React.createElement(Qo,this.props),React.createElement("div",{className:o},React.createElement("div",{className:d,id:"htwoolentor-faq-"+i+Math.random().toString(36).substr(2,9),ref:function(t){return e.el=t}},g)))}}])&&Jo(t.prototype,n),l}(y.Component),nr=n(20),or=React.createElement("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512",space:"preserve"},React.createElement("g",null,React.createElement("path",{d:"M256,0C114.516,0,0,114.497,0,256c0,141.484,114.497,256,256,256c141.484,0,256-114.497,256-256 C512,114.516,397.503,0,256,0z M256,472c-119.377,0-216-96.607-216-216c0-119.377,96.607-216,216-216 c119.377,0,216,96.607,216,216C472,375.377,375.393,472,256,472z"}),React.createElement("path",{d:"M256,128.5c-44.112,0-80,35.888-80,80c0,11.046,8.954,20,20,20s20-8.954,20-20c0-22.056,17.944-40,40-40 c22.056,0,40,17.944,40,40c0,22.056-17.944,40-40,40c-11.046,0-20,8.954-20,20v50c0,11.046,8.954,20,20,20 c11.046,0,20-8.954,20-20v-32.531c34.466-8.903,60-40.26,60-77.469C336,164.388,300.112,128.5,256,128.5z"}))),rr=nr.name,ar=nr.category,lr=nr.attributes,ir={title:Object(f.__)("WL : FAQ","woolentor"),description:Object(f.__)("Display faq.","woolentor"),icon:React.createElement(m.Icon,{icon:or}),keywords:[Object(f.__)("WooLentor","woolentor"),Object(f.__)("faq","woolentor"),Object(f.__)("accordion","woolentor"),Object(f.__)("question","woolentor"),Object(f.__)("answer","woolentor")],example:{},supports:{align:["wide","full"]},attributes:lr,edit:tr,save:function(){return null}};function cr(e){return(cr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(n),!0).forEach((function(t){pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dr(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fr(e,t){return(fr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mr(e,t){if(t&&("object"===cr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function br(e){return(br=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var gr,hr,yr,vr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fr(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=br(o);if(r){var n=br(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return mr(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={activeTab:"general",titleTab:"normal",actionBtnTab:"normal",device:"desktop"},t}return t=l,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.setAttributes,r=n.productFilterType,a=n.perPage,l=n.customOrder,i=n.orderBy,c=n.order,s=n.selectedCategories,u={width:30,height:12,display:"inline-block",marginLeft:10,verticalAlign:"middle"},p=function(t,n,o){e.setState(pr({},n,o))};return React.createElement(y.Fragment,null,React.createElement(T.InspectorControls,null,React.createElement("div",{className:"woolentor-tabs-menu"},React.createElement(m.ButtonGroup,{className:"woolentor-tabs-menu-btn-group"},React.createElement(m.Button,{className:"general"===this.state.activeTab?"woolentor-tab-menu-item woolentor-tab-menu-active":"woolentor-tab-menu-item",icon:"admin-tools",value:"general",isPrimary:"general"===this.state.activeTab,isSecondary:"general"!==this.state.activeTab,onClick:function(e){return p(0,"activeTab","general")}},Object(f.__)("General","woolentor")),React.createElement(m.Button,{className:"styles"===this.state.activeTab?"woolentor-tab-menu-item woolentor-tab-menu-active":"woolentor-tab-menu-item",icon:"chart-pie",value:"styles",isPrimary:"styles"===this.state.activeTab,isSecondary:"styles"!==this.state.activeTab,onClick:function(e){return p(0,"activeTab","styles")}},Object(f.__)("Styles","woolentor")),React.createElement(m.Button,{className:"advanced"===this.state.activeTab?"woolentor-tab-menu-item woolentor-tab-menu-active":"woolentor-tab-menu-item",icon:"admin-generic",value:"advanced",isPrimary:"advanced"===this.state.activeTab,isSecondary:"advanced"!==this.state.activeTab,onClick:function(e){return p(0,"activeTab","advanced")}},Object(f.__)("Advanced","woolentor")))),React.createElement("div",{className:"woolentor-tabs-content"},"general"===this.state.activeTab&&React.createElement(React.Fragment,null,React.createElement(m.PanelBody,{title:Object(f.__)("Layout","woolentor"),initialOpen:!0},React.createElement(m.SelectControl,{label:Object(f.__)("Layout","woolentor"),value:n.layout,options:[{label:Object(f.__)("Layout One","woolentor"),value:"1"},{label:Object(f.__)("Layout Two","woolentor"),value:"2"},{label:Object(f.__)("Layout Three","woolentor"),value:"3"}],onChange:function(e){return o({layout:e})}}),React.createElement(m.PanelRow,{className:"woolentor-device-row",style:{minHeight:"auto"}},React.createElement("label",null,Object(f.__)("Columns","woolentor")),React.createElement(m.ButtonGroup,{className:"woolentor-device-button"},React.createElement(m.Button,{icon:"desktop",value:"desktop",label:Object(f.__)("Large","woolentor"),isPrimary:"desktop"===this.state.device,isSecondary:"desktop"!==this.state.device,onClick:function(e){return p(0,"device","desktop")}}),React.createElement(m.Button,{icon:"laptop",value:"laptop",label:Object(f.__)("Medium","woolentor"),isPrimary:"laptop"===this.state.device,isSecondary:"laptop"!==this.state.device,onClick:function(e){return p(0,"device","laptop")}}),React.createElement(m.Button,{icon:"tablet",value:"tablet",label:Object(f.__)("Small","woolentor"),isPrimary:"tablet"===this.state.device,isSecondary:"tablet"!==this.state.device,onClick:function(e){return p(0,"device","tablet")}}),React.createElement(m.Button,{icon:"smartphone",value:"mobile",label:Object(f.__)("Extra Small","woolentor"),isPrimary:"mobile"===this.state.device,isSecondary:"mobile"!==this.state.device,onClick:function(e){return p(0,"device","mobile")}}))),React.createElement(m.RangeControl,{value:n.columns[this.state.device],onChange:function(t){return function(e,t,r){var a=ur({},n.columns);a[t]=e,o(pr({},"columns",a))}(t,e.state.device)},min:0,step:1,max:6}),React.createElement(m.ToggleControl,{label:Object(f.__)("No Gutters","woolentor"),checked:n.noGutter,help:n.noGutter?Object(f.__)("Enable No Gutters.","woolentor"):Object(f.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!n.noGutter})}}),!n.noGutter&&React.createElement(m.RangeControl,{label:Object(f.__)("Gutter Spacing","woolentor"),value:n.itemSpace,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}),React.createElement(m.RangeControl,{label:Object(f.__)("Margin Bottom","woolentor"),value:n.itemMarginBottom,onChange:function(e){return o({itemMarginBottom:e})},min:0,step:1,max:1e3})),React.createElement(m.PanelBody,{title:Object(f.__)("Query Options","woolentor"),initialOpen:!1},React.createElement(m.SelectControl,{label:Object(f.__)("Filter By","woolentor"),value:r,options:[{label:Object(f.__)("Recent Products","woolentor"),value:"recent"},{label:Object(f.__)("Featured Products","woolentor"),value:"featured"},{label:Object(f.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:Object(f.__)("Sale Products","woolentor"),value:"sale"},{label:Object(f.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:Object(f.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(m.RangeControl,{label:Object(f.__)("Number Of Products","woolentor"),value:a,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(m.ToggleControl,{label:Object(f.__)("Custom Order","woolentor"),checked:l,help:l?Object(f.__)("Enable custom order.","woolentor"):Object(f.__)("Toggle to show the custom order.","woolentor"),onChange:function(){return o({customOrder:!l})}}),React.createElement(A,{title:Object(f.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:s,type:"multiple"}),l?React.createElement(React.Fragment,null,React.createElement(m.SelectControl,{label:Object(f.__)("Order","woolentor"),value:c,options:[{label:Object(f.__)("Descending","woolentor"),value:"DESC"},{label:Object(f.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(m.SelectControl,{label:Object(f.__)("Orderby","woolentor"),value:i,options:[{label:Object(f.__)("None","woolentor"),value:"none"},{label:Object(f.__)("ID","woolentor"),value:"ID"},{label:Object(f.__)("Date","woolentor"),value:"date"},{label:Object(f.__)("Name","woolentor"),value:"name"},{label:Object(f.__)("Title","woolentor"),value:"title"},{label:Object(f.__)("Comment count","woolentor"),value:"comment_count"},{label:Object(f.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(m.PanelBody,{title:Object(f.__)("Content Settings","woolentor"),initialOpen:!1},React.createElement(m.RangeControl,{label:Object(f.__)("Content Limit","woolentor"),value:n.contentLimit,onChange:function(e){return o({contentLimit:e})},min:1,step:1,max:1e3}),React.createElement(m.ToggleControl,{label:Object(f.__)("Show Title","woolentor"),checked:n.showTitle,help:n.showTitle?Object(f.__)("Enable Title.","woolentor"):Object(f.__)("Toggle to show the title.","woolentor"),onChange:function(){return o({showTitle:!n.showTitle})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Show Price","woolentor"),checked:n.showPrice,help:n.showPrice?Object(f.__)("Enable Price.","woolentor"):Object(f.__)("Toggle to show the price.","woolentor"),onChange:function(){return o({showPrice:!n.showPrice})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Show Content","woolentor"),checked:n.showContent,help:n.showContent?Object(f.__)("Enable Content.","woolentor"):Object(f.__)("Toggle to show the content.","woolentor"),onChange:function(){return o({showContent:!n.showContent})}}),React.createElement(m.ToggleControl,{label:Object(f.__)("Show Rating","woolentor"),checked:n.showRating,help:n.showRating?Object(f.__)("Enable Rating.","woolentor"):Object(f.__)("Toggle to show the rating.","woolentor"),onChange:function(){return o({showRating:!n.showRating})}}))),"styles"===this.state.activeTab&&React.createElement(React.Fragment,null,React.createElement(m.PanelBody,{title:Object(f.__)("Item","woolentor"),initialOpen:!1},React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.itemAreaBGColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.itemAreaBGColor,onChange:function(e){return o({itemAreaBGColor:e})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Title","woolentor"),initialOpen:!1},React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:n.titleSize,fallbackFontSize:n.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(m.ButtonGroup,{className:"woolentor-tabs-menu-btn-group"},React.createElement(m.Button,{className:"normal"===this.state.titleTab?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",value:"normal",isPrimary:"normal"===this.state.activeTab,isSecondary:"normal"!==this.state.activeTab,onClick:function(e){return p(0,"titleTab","normal")}},Object(f.__)("Normal","woolentor")),React.createElement(m.Button,{className:"hover"===this.state.titleTab?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",value:"hover",isPrimary:"hover"===this.state.activeTab,isSecondary:"hover"!==this.state.activeTab,onClick:function(e){return p(0,"titleTab","hover")}},Object(f.__)("Hover","woolentor"))),"normal"===this.state.titleTab&&React.createElement("div",{className:"woolentor-element-tab-content"},React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.titleColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.titleColor,onChange:function(e){return o({titleColor:e})}})),"hover"===this.state.titleTab&&React.createElement("div",{className:"woolentor-element-tab-content"},React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.titleHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))),React.createElement(m.PanelBody,{title:Object(f.__)("Price","woolentor"),initialOpen:!1},React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Sale Price","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.salePriceColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.salePriceColor,onChange:function(e){return o({salePriceColor:e})}}),React.createElement("h2",{className:"woolentor-blocks-section-title"},Object(f.__)("Reguler Price","woolentor")),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.regulerPriceColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.regulerPriceColor,onChange:function(e){return o({regulerPriceColor:e})}})),React.createElement(m.PanelBody,{title:Object(f.__)("Content","woolentor"),initialOpen:!1},React.createElement(m.FontSizePicker,{fontSizes:[{name:Object(f.__)("Small","woolentor"),slug:"small",size:"12px"},{name:Object(f.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:Object(f.__)("Large","woolentor"),slug:"large",size:"24px"}],value:n.contentSize,fallbackFontSize:n.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.cotentColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.cotentColor,onChange:function(e){return o({cotentColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.contentMargin,attributesKey:"contentMargin",setAttributes:o})),React.createElement(m.PanelBody,{title:Object(f.__)("Rating","woolentor"),initialOpen:!1},React.createElement("h3",null,Object(f.__)("Empty Rating Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.emptyRatingColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}}),React.createElement("h3",null,Object(f.__)("Rating Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.ratingColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.ratingColor,onChange:function(e){return o({ratingColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(m.PanelBody,{title:Object(f.__)("Action Button","woolentor"),initialOpen:!1},React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.actionBtnAreaBGColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.actionBtnAreaBGColor,onChange:function(e){return o({actionBtnAreaBGColor:e})}}),React.createElement(m.ButtonGroup,{className:"woolentor-tabs-menu-btn-group"},React.createElement(m.Button,{className:"normal"===this.state.actionBtnTab?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",value:"normal",isPrimary:"normal"===this.state.actionBtnTab,isSecondary:"normal"!==this.state.actionBtnTab,onClick:function(e){return p(0,"actionBtnTab","normal")}},Object(f.__)("Normal","woolentor")),React.createElement(m.Button,{className:"hover"===this.state.actionBtnTab?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",value:"hover",isPrimary:"hover"===this.state.actionBtnTab,isSecondary:"hover"!==this.state.actionBtnTab,onClick:function(e){return p(0,"actionBtnTab","hover")}},Object(f.__)("Hover","woolentor"))),"normal"===this.state.actionBtnTab&&React.createElement("div",{className:"woolentor-element-tab-content"},React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.actionBtnColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}}),React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.actionBtnBGColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}}),React.createElement(tt,{lavel:Object(f.__)("Border Radius","woolentor"),dimensions:n.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o})),"hover"===this.state.actionBtnTab&&React.createElement("div",{className:"woolentor-element-tab-content"},React.createElement("h3",null,Object(f.__)("Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.actionBtnHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}}),React.createElement("h3",null,Object(f.__)("Background Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.actionBtnBgHoverColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.actionBtnBgHoverColor,onChange:function(e){return o({actionBtnBgHoverColor:e})}}))),React.createElement(m.PanelBody,{title:Object(f.__)("Image","woolentor"),initialOpen:!1},React.createElement("h3",null,Object(f.__)("Border Color","woolentor"),React.createElement("span",{style:ur(ur({},u),{},{backgroundColor:n.imageBorderColor})})),React.createElement(m.ColorPalette,{colors:[{name:"Black",color:"#000000"},{name:"Orange",color:"#FF6900"},{name:"Vivid Red",color:"#CF2E2E"},{name:"Pink",color:"#F78DA7"},{name:"White",color:"#FFFFFF"},{name:"Blue",color:"#8ED1FC"}],value:n.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),"advanced"===this.state.activeTab&&React.createElement(React.Fragment,null,React.createElement(m.PanelBody,{title:Object(f.__)("Dimension","woolentor"),initialOpen:!1},React.createElement(tt,{lavel:Object(f.__)("Margin","woolentor"),dimensions:n.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(tt,{lavel:Object(f.__)("Padding","woolentor"),dimensions:n.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(m.PanelBody,{title:Object(f.__)("Background","woolentor"),initialOpen:!1},React.createElement(Mt,{title:Object(f.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:n.areaBGProperty}))))))}}])&&dr(t.prototype,n),l}(y.Component);function wr(e){return(wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Or(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cr(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Er(e,t){return(Er=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Rr(e,t){if(t&&("object"===wr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function jr(e){return(jr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var kr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Er(e,t)}(l,e);var t,n,o,r,a=(o=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=jr(o);if(r){var n=jr(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Rr(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={productData:[]},t}return t=l,(n=[{key:"componentDidMount",value:function(){this.fetchProductsData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,n=t.perPage,o=t.productFilterType,r=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==n&&e.attributes.productFilterType==o&&e.attributes.customOrder==r&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData()}},{key:"componentWillUnmount",value:function(){}},{key:"fetchProductsData",value:function(){var e=this,t={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(t.orderBy=this.props.attributes.orderBy,t.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(t.categories=this.props.attributes.selectedCategories);var n=Object(Y.addQueryArgs)("/woolentor/v1/products",t);K()({path:n}).then((function(t){return e.setState({productData:t})}))}},{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),n=e.className,o=e.isSelected,r=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;a!==l&&r({blockUniqId:a});var c,s=function(e){var n=t[e]?t[e]:{},o="";if(""!=n.top||""!=n.right||""!=n.bottom||""!=n.left){var r=n.unit?n.unit:"px";o=n.top?o+n.top+r+" ":"0"+r+" ",o=n.right?o+n.right+r+" ":"0"+r+" ",o=n.bottom?o+n.bottom+r+" ":"0"+r+" ",o=n.left?o+n.left+r+" ":"0"+r+" "}return o},u=V()("woocommerce","woolentor-product-curvy",_r({},"woolentor-columns-".concat(t.columns.desktop),t.columns.desktop),_r({},"woolentor-laptop-columns-".concat(t.columns.laptop),t.columns.laptop),_r({},"woolentor-tablet-columns-".concat(t.columns.tablet),t.columns.tablet),_r({},"woolentor-mobile-columns-".concat(t.columns.mobile),t.columns.mobile)),p=V()(_r({},"woolentor-col-".concat(t.columns.desktop),t.columns.desktop)),d=V()("wl_single-product-item",_r({},"wl_left-item",2==t.layout),_r({},"wl_dark-item",3==t.layout)),f=Z.a.div(gr||(gr=Or(["\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t"])),t.areaMargin&&"margin:"+s("areaMargin"),t.areaPadding&&"padding:"+s("areaPadding"),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size),b=Z.a.div(hr||(hr=Or(["\n\t\t\t"," !important;\n\t\t\t","\n\t\t"])),!t.noGutter&&"padding: 0 "+t.itemSpace+"px 0 "+t.itemSpace+"px",t.itemMarginBottom&&"margin-bottom:"+t.itemMarginBottom+"px;"),g=Z.a.div(yr||(yr=Or(["\n\t\t\t",";\n\n\t\t\t&.wl_dark-item .product-content{\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top .title{\n\t\t\t\t"," !important;\n\t\t\t\t"," !important;\n\t\t\t}\n\t\t\t& .product-content .product-content-top .title a{\n\t\t\t\t"," !important;\n\t\t\t}\n\t\t\t& .product-content .product-content-top .title a:hover{\n\t\t\t\t"," !important;\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top .product-price{\n\t\t\t\t"," !important;\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top .product-price del{\n\t\t\t\t"," !important;\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top p{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top .star-rating{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-content .product-content-top .star-rating::before{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-content .product-content-top .star-rating span{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-content .product-content-top .star-rating {\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .product-content .action{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .action li a, .product-content .action li .woolentor-compare.compare::before{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .action li a{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\n\t\t\t& .product-content .action li a:hover, .product-content .action li .woolentor-compare.compare:hover::before{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .action li a:hover{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-thumbnail{\n\t\t\t\t","\n\t\t\t}\n\t\t\n\t\t"])),t.itemAreaBGColor&&"background-color:"+t.itemAreaBGColor,t.itemAreaBGColor&&"background-color:"+t.itemAreaBGColor,t.titleSize&&"font-size:"+t.titleSize,t.titleMargin&&"margin:"+s("titleMargin"),t.titleColor&&"color:"+t.titleColor,t.titleHoverColor&&"color:"+t.titleHoverColor,t.salePriceColor&&"color:"+t.salePriceColor,t.regulerPriceColor&&"color:"+t.regulerPriceColor,t.cotentColor&&"color:"+t.cotentColor,t.contentSize&&"font-size:"+t.contentSize,t.contentMargin&&"margin:"+s("contentMargin"),t.emptyRatingColor&&"color:"+t.emptyRatingColor,t.emptyRatingColor&&"color:"+t.emptyRatingColor,t.ratingColor&&"color:"+t.ratingColor,t.ratingMargin&&"margin:"+s("ratingMargin"),t.actionBtnAreaBGColor&&"background-color:"+t.actionBtnAreaBGColor+"!important;",t.actionBtnColor&&"color:"+t.actionBtnColor+"!important;",t.actionBtnBGColor&&"background-color:"+t.actionBtnBGColor+"!important;",t.actionBtnBorderRadius&&"border-radius:"+s("actionBtnBorderRadius")+"!important;",t.actionBtnHoverColor&&"color:"+t.actionBtnHoverColor+"!important;",t.actionBtnBgHoverColor&&"background-color:"+t.actionBtnBgHoverColor+"!important;",t.imageBorderColor&&"border-color:"+t.imageBorderColor+"!important;"),h=this.state.productData;return h.length>0&&(c=h.map((function(e,n){return React.createElement(b,{className:p},React.createElement(g,{className:d},React.createElement(m.Disabled,null,React.createElement("a",{href:e.permalink,className:"product-thumbnail"},Object(y.createElement)("div",{className:"images",dangerouslySetInnerHTML:{__html:e.image.full.html}}))),React.createElement("div",{className:"product-content"},React.createElement("div",{className:"product-content-top"},!0===t.showTitle&&React.createElement("h6",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),!0===t.showPrice&&Object(y.createElement)("div",{className:"product-price",dangerouslySetInnerHTML:{__html:e.price_html}}),!0===t.showContent&&React.createElement("p",null,e.content.split(" ").slice(0,t.contentLimit).join(" ")),!0===t.showRating&&Object(y.createElement)("div",{className:"reading",dangerouslySetInnerHTML:{__html:e.rating.html}})),React.createElement("ul",{className:"action"},React.createElement("li",{className:"wl_cart"},React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"action-item"+e.addtocart.class,"data-product_id":e.id},React.createElement("i",{class:"fa fa-shopping-cart"}))),e.wishlist.status&&Object(y.createElement)("li",{dangerouslySetInnerHTML:{__html:e.wishlist.html}}),e.compare.status&&Object(y.createElement)("li",{dangerouslySetInnerHTML:{__html:e.compare.html}})))))}))),React.createElement(y.Fragment,null,o&&React.createElement(vr,this.props),React.createElement(f,{className:n},React.createElement("div",{className:u},0==h.length?React.createElement(m.Spinner,null):React.createElement("div",{className:!0===t.noGutter?"woolentor-row wlno-gutters":"woolentor-row"},c))))}}])&&Cr(t.prototype,n),l}(y.Component),Sr=n(21),Pr=React.createElement("svg",{id:"Capa_1","enable-background":"new 0 0 512 512",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m166.717 225.43c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m166.717 263.74c-4.309 0-7.802 3.493-7.802 7.803 0 4.309 3.493 7.802 7.802 7.802s7.803-3.493 7.803-7.802c-.001-4.31-3.494-7.803-7.803-7.803z"}),React.createElement("path",{d:"m166.717 302.049c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802c-.001-4.309-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m302.846 63.778h-90.035l-2.93-21.993c-.497-3.727-3.675-6.51-7.435-6.51h-17.57c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h11.003l2.93 21.993c.003.022.008.043.012.064.003.018.002.036.005.053l7.994 53.55c.549 3.674 3.703 6.393 7.418 6.393h80.614c3.715 0 6.869-2.719 7.418-6.393l7.994-53.55c.322-2.159-.311-4.351-1.736-6.003-1.425-1.654-3.5-2.604-5.682-2.604zm-14.458 53.55h-67.686l-5.755-38.55h79.196z"}),React.createElement("path",{d:"m248.916 165.704c0-12.407-10.094-22.5-22.5-22.5s-22.5 10.093-22.5 22.5 10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5zm-30 0c0-4.136 3.364-7.5 7.5-7.5s7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5-7.5-3.364-7.5-7.5z"}),React.createElement("path",{d:"m282.673 143.204c-12.406 0-22.5 10.093-22.5 22.5s10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5-10.094-22.5-22.5-22.5zm0 30c-4.136 0-7.5-3.364-7.5-7.5s3.364-7.5 7.5-7.5 7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5z"}),React.createElement("path",{d:"m279.948 225.733h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 264.042h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 302.351h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("g",null,React.createElement("path",{d:"m484.615 88.534h-84.393v-66.614c0-9.951-8.096-18.047-18.047-18.047h-252.349c-9.951 0-18.048 8.096-18.048 18.047v66.614h-19.645c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h19.646v259.248h-96.779v-246.862c0-6.83 5.557-12.386 12.386-12.386h34.747c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-34.747c-15.101 0-27.386 12.286-27.386 27.386v291.442c0 15.1 12.285 27.385 27.386 27.385h166.31l-8.039 58.38h-24.209c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h189.248c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-24.209l-8.039-58.38h55.225c4.142 0 7.5-3.358 7.5-7.5s-3.358-7.5-7.5-7.5h-346.287c-6.829 0-12.386-5.556-12.386-12.385v-29.58h482v29.58c0 6.829-5.556 12.385-12.385 12.385h-80.942c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h80.942c15.1 0 27.385-12.285 27.385-27.385v-291.442c0-15.1-12.285-27.386-27.385-27.386zm-173.269 404.593h-110.548l8.039-58.38h94.47zm75.208-186.168c-28.917 0-52.443-23.526-52.443-52.443s23.526-52.444 52.443-52.444 52.443 23.526 52.443 52.444-23.526 52.443-52.443 52.443zm-259.776-285.039c0-1.68 1.367-3.047 3.048-3.047h252.349c1.68 0 3.047 1.367 3.047 3.047v165.186c-36.574.715-66.111 30.669-66.111 67.41s29.537 66.695 66.111 67.41v40.61h-258.444zm273.444 340.863v-42.217c30.658-6.335 53.775-33.542 53.775-66.049s-23.118-59.714-53.775-66.05v-84.932h84.393c6.829 0 12.385 5.556 12.385 12.386v246.862z"}),React.createElement("path",{d:"m394.221 246.215c-4.215-1.49-10.156-1.779-12.221-5.464-.154-.191-.159-1.161.199-2.321.211-.685.763-1.893 2.083-2.291 1.891-.57 4.118-.173 6.035.466 2.912.971 6.118-.031 8.046-2.418.044-.054.087-.107.13-.162 3.168-3.921 1.627-9.835-3.085-11.626-.542-.206-1.099-.395-1.671-.567v-2.359c0-4.142-3.357-7.5-7.5-7.5s-7.5 3.358-7.5 7.5v2.722c-5.865 2.243-10.182 7.478-11.399 13.944-1.211 6.425.935 12.69 5.601 16.349 4.315 3.385 10.376 5.783 16.283 7.872 2.59.915 3.688 2.655 3.266 5.17-.332 1.975-2.032 5.324-6.3 5.352-4.606.03-5.695-.139-9.043-2.329-3.712-2.427-8.775-1.144-10.826 2.94-1.733 3.451-.383 7.68 2.861 9.774 3.572 2.307 6.456 3.498 9.557 4.088v3.177c0 4.142 3.357 7.5 7.5 7.5s7.5-3.358 7.5-7.5v-4.032c6.961-2.626 12.247-8.778 13.543-16.485 1.631-9.702-3.617-18.462-13.059-21.8z"})))),Fr=Sr.name,Ar=Sr.category,Tr=Sr.attributes,Br={title:Object(f.__)("WL : Product Curvy","woolentor"),description:Object(f.__)("Product Curvy.","woolentor"),icon:React.createElement(m.Icon,{icon:Pr}),keywords:[Object(f.__)("WooLentor","woolentor"),Object(f.__)("product","woolentor"),Object(f.__)("curvy","woolentor"),Object(f.__)("woocommerce","woolentor"),Object(f.__)("display product","woolentor")],example:{attributes:{columns:{desktop:"2"},perPage:"2"}},supports:{align:["wide","full"]},attributes:Tr,edit:kr,save:function(){return null}};function xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dr=function(e){if(e){var t=e.name;if(t=t.replace("woolentor/",""),-1!=woolentorData.options.indexOf(t)){var n=e.name,o=e.category,r=e.settings;Object(d.registerBlockType)(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xr(Object(n),!0).forEach((function(t){zr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({category:o},r))}}},Mr=function(){[o,r,a,l,i,c,s,u,p].forEach(Dr)};Mr()}]);
woolentor-blocks/includes/classes/Blocks_init.php CHANGED
@@ -17,6 +17,7 @@ class Blocks_init {
17
  * @var null
18
  */
19
  private static $_instance = null;
 
20
 
21
  /**
22
  * [instance] Initializes a singleton instance
@@ -40,11 +41,24 @@ class Blocks_init {
40
  * Load Dynamic blocks
41
  */
42
  public function dynamic_blocks_include(){
43
- foreach ( glob( WOOLENTOR_BLOCK_PATH . '/src/blocks/*/index.php' ) as $woolentor_block ) {
44
- if( file_exists( $woolentor_block ) ){
45
- require_once ( $woolentor_block );
 
 
 
 
 
 
 
 
 
 
 
46
  }
47
- }
 
 
48
  }
49
 
50
  /**
@@ -53,47 +67,47 @@ class Blocks_init {
53
  public static function block_list(){
54
 
55
  $blockList = [
56
- array(
57
  'label' => 'Brand Logo',
58
  'name' => 'woolentor/brand-logo',
59
  'active' => true,
60
  ),
61
- array(
62
  'label' => 'Category Grid',
63
  'name' => 'woolentor/category-grid',
64
  'active' => true,
65
  ),
66
- array(
67
  'label' => 'Image Marker',
68
  'name' => 'woolentor/image-marker',
69
  'active' => true,
70
  ),
71
- array(
72
  'label' => 'Special Day Offer',
73
  'name' => 'woolentor/special-day-offer',
74
  'active' => true,
75
  ),
76
- array(
77
  'label' => 'Store Feature',
78
  'name' => 'woolentor/store-feature',
79
  'active' => true,
80
  ),
81
- array(
82
  'label' => 'Product tab',
83
  'name' => 'woolentor/product-tab',
84
  'active' => true,
85
  ),
86
- array(
87
  'label' => 'Promo Banner',
88
  'name' => 'woolentor/promo-banner',
89
  'active' => true,
90
  ),
91
- array(
92
  'label' => 'FAQ',
93
  'name' => 'woolentor/faq',
94
  'active' => true,
95
  ),
96
- array(
97
  'label' => 'Product Curvy',
98
  'name' => 'woolentor/product-curvy',
99
  'active' => true,
17
  * @var null
18
  */
19
  private static $_instance = null;
20
+ public static $blocksList = [];
21
 
22
  /**
23
  * [instance] Initializes a singleton instance
41
  * Load Dynamic blocks
42
  */
43
  public function dynamic_blocks_include(){
44
+
45
+ $blockList = self::block_list();
46
+ $blockDir = WOOLENTOR_BLOCK_PATH . '/src/blocks/';
47
+
48
+ foreach ( $blockList as $key => $block ) {
49
+
50
+ $blockDirName = str_replace('woolentor/', '', trim(preg_replace('/\(.+\)/', '', $block['name'])));
51
+ $blockFilepath = $blockDir . $blockDirName . '/index.php';
52
+
53
+ if( $block['active'] === true ){
54
+ array_push( self::$blocksList, $blockDirName );
55
+ if( file_exists( $blockFilepath ) ){
56
+ require_once ( $blockFilepath );
57
+ }
58
  }
59
+
60
+ }
61
+
62
  }
63
 
64
  /**
67
  public static function block_list(){
68
 
69
  $blockList = [
70
+ 'brand_logo' => array(
71
  'label' => 'Brand Logo',
72
  'name' => 'woolentor/brand-logo',
73
  'active' => true,
74
  ),
75
+ 'category_grid' => array(
76
  'label' => 'Category Grid',
77
  'name' => 'woolentor/category-grid',
78
  'active' => true,
79
  ),
80
+ 'image_marker' => array(
81
  'label' => 'Image Marker',
82
  'name' => 'woolentor/image-marker',
83
  'active' => true,
84
  ),
85
+ 'special_day_offer' => array(
86
  'label' => 'Special Day Offer',
87
  'name' => 'woolentor/special-day-offer',
88
  'active' => true,
89
  ),
90
+ 'store_feature' => array(
91
  'label' => 'Store Feature',
92
  'name' => 'woolentor/store-feature',
93
  'active' => true,
94
  ),
95
+ 'product_tab' => array(
96
  'label' => 'Product tab',
97
  'name' => 'woolentor/product-tab',
98
  'active' => true,
99
  ),
100
+ 'promo_banner' => array(
101
  'label' => 'Promo Banner',
102
  'name' => 'woolentor/promo-banner',
103
  'active' => true,
104
  ),
105
+ 'faq' => array(
106
  'label' => 'FAQ',
107
  'name' => 'woolentor/faq',
108
  'active' => true,
109
  ),
110
+ 'product_curvy' => array(
111
  'label' => 'Product Curvy',
112
  'name' => 'woolentor/product-curvy',
113
  'active' => true,
woolentor-blocks/includes/classes/Scripts.php CHANGED
@@ -81,6 +81,7 @@ class Scripts {
81
  'url' => WOOLENTOR_BLOCK_URL,
82
  'ajax' => admin_url('admin-ajax.php'),
83
  'security' => wp_create_nonce('woolentorblock-nonce'),
 
84
  ));
85
 
86
  }
@@ -156,6 +157,7 @@ class Scripts {
156
  public function block_attribute_css(){
157
 
158
  $get_blocks = array_unique( woolentorBlocks_get_blocks(), SORT_REGULAR );
 
159
  $blocks_css = "";
160
 
161
  foreach( $get_blocks as $block ){
81
  'url' => WOOLENTOR_BLOCK_URL,
82
  'ajax' => admin_url('admin-ajax.php'),
83
  'security' => wp_create_nonce('woolentorblock-nonce'),
84
+ 'options' => Blocks_init::$blocksList,
85
  ));
86
 
87
  }
157
  public function block_attribute_css(){
158
 
159
  $get_blocks = array_unique( woolentorBlocks_get_blocks(), SORT_REGULAR );
160
+ $blockList = Blocks_init::block_list();
161
  $blocks_css = "";
162
 
163
  foreach( $get_blocks as $block ){
woolentor-blocks/src/blocks/faq/index.php CHANGED
@@ -80,7 +80,7 @@ class WooLentorBlocks_Faq{
80
 
81
  <?php
82
  foreach ( $settings['faqList'] as $item ):
83
-
84
  $title = ( !empty( $item['title'] ) ? '<span class="htwoolentor-faq-head-text">'.$item['title'].'</span>' : '' );
85
 
86
  ?>
80
 
81
  <?php
82
  foreach ( $settings['faqList'] as $item ):
83
+
84
  $title = ( !empty( $item['title'] ) ? '<span class="htwoolentor-faq-head-text">'.$item['title'].'</span>' : '' );
85
 
86
  ?>
woolentor-blocks/woolentor-blocks.php CHANGED
@@ -80,6 +80,8 @@ endif;
80
  function woolentorblocks() {
81
  if ( ! empty( $_REQUEST['action'] ) && 'elementor' === $_REQUEST['action'] ) {
82
  return;
 
 
83
  }else{
84
  return WooLentorBlocks::instance();
85
  }
80
  function woolentorblocks() {
81
  if ( ! empty( $_REQUEST['action'] ) && 'elementor' === $_REQUEST['action'] ) {
82
  return;
83
+ }elseif( class_exists( 'Classic_Editor' ) ){
84
+ return;
85
  }else{
86
  return WooLentorBlocks::instance();
87
  }
woolentor_addons_elementor.php CHANGED
@@ -3,21 +3,21 @@
3
  * Plugin Name: WooLentor - WooCommerce Elementor Addons + Builder
4
  * Description: The WooCommerce elements library for Elementor page builder plugin for WordPress.
5
  * Plugin URI: https://woolentor.com/
6
- * Version: 1.9.7
7
  * Author: HasThemes
8
  * Author URI: https://hasthemes.com/plugins/woolentor-pro/
9
  * License: GPL-2.0+
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11
  * Text Domain: woolentor
12
  * Domain Path: /languages
13
- * WC tested up to: 5.6.0
14
  * Elementor tested up to: 3.4.4
15
  * Elementor Pro tested up to: 3.3.4
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
19
 
20
- define( 'WOOLENTOR_VERSION', '1.9.7' );
21
  define( 'WOOLENTOR_ADDONS_PL_ROOT', __FILE__ );
22
  define( 'WOOLENTOR_ADDONS_PL_URL', plugins_url( '/', WOOLENTOR_ADDONS_PL_ROOT ) );
23
  define( 'WOOLENTOR_ADDONS_PL_PATH', plugin_dir_path( WOOLENTOR_ADDONS_PL_ROOT ) );
3
  * Plugin Name: WooLentor - WooCommerce Elementor Addons + Builder
4
  * Description: The WooCommerce elements library for Elementor page builder plugin for WordPress.
5
  * Plugin URI: https://woolentor.com/
6
+ * Version: 1.9.8
7
  * Author: HasThemes
8
  * Author URI: https://hasthemes.com/plugins/woolentor-pro/
9
  * License: GPL-2.0+
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11
  * Text Domain: woolentor
12
  * Domain Path: /languages
13
+ * WC tested up to: 5.7.1
14
  * Elementor tested up to: 3.4.4
15
  * Elementor Pro tested up to: 3.3.4
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
19
 
20
+ define( 'WOOLENTOR_VERSION', '1.9.8' );
21
  define( 'WOOLENTOR_ADDONS_PL_ROOT', __FILE__ );
22
  define( 'WOOLENTOR_ADDONS_PL_URL', plugins_url( '/', WOOLENTOR_ADDONS_PL_ROOT ) );
23
  define( 'WOOLENTOR_ADDONS_PL_PATH', plugin_dir_path( WOOLENTOR_ADDONS_PL_ROOT ) );
wpml-config.xml CHANGED
@@ -1,8 +1,6 @@
1
  <wpml-config>
2
  <admin-texts>
3
  <key name="woolentor_woo_template_tabs">
4
- <key name="enablecustomlayout"/>
5
- <key name="shoppageproductlimit"/>
6
  <key name="singleproductpage"/>
7
  <key name="productarchivepage"/>
8
  <key name="productallarchivepage"/>
@@ -17,28 +15,12 @@
17
  <key name="mini_cart_layout"/>
18
  </key>
19
  <key name="woolentor_rename_label_tabs">
20
- <key name="enablerenamelabel"/>
21
- <key name="shop_page_heading"/>
22
  <key name="wl_shop_add_to_cart_txt"/>
23
- <key name="product_details_page_heading"/>
24
  <key name="wl_add_to_cart_txt"/>
25
- <key name="wl_description_tab_menu_titlep"/>
26
- <key name="wl_additional_information_tab_menu_titlep"/>
27
- <key name="wl_reviews_tab_menu_titlep"/>
28
- <key name="checkout_page_headingp"/>
29
- <key name="wl_checkout_firstname_labelp"/>
30
- <key name="wl_checkout_lastname_labelp"/>
31
- <key name="wl_checkout_company_labelp"/>
32
- <key name="wl_checkout_address_1_labelp"/>
33
- <key name="wl_checkout_address_2_labelp"/>
34
- <key name="wl_checkout_city_labelp"/>
35
- <key name="wl_checkout_postcode_labelp"/>
36
- <key name="wl_checkout_state_labelp"/>
37
- <key name="wl_checkout_phone_labelp"/>
38
- <key name="wl_checkout_email_labelp"/>
39
- <key name="wl_checkout_country_labelp"/>
40
- <key name="wl_checkout_ordernote_labelp"/>
41
- <key name="wl_checkout_placeorder_btn_txtp"/>
42
  </key>
43
  </admin-texts>
44
  </wpml-config>
1
  <wpml-config>
2
  <admin-texts>
3
  <key name="woolentor_woo_template_tabs">
 
 
4
  <key name="singleproductpage"/>
5
  <key name="productarchivepage"/>
6
  <key name="productallarchivepage"/>
15
  <key name="mini_cart_layout"/>
16
  </key>
17
  <key name="woolentor_rename_label_tabs">
 
 
18
  <key name="wl_shop_add_to_cart_txt"/>
 
19
  <key name="wl_add_to_cart_txt"/>
20
+ <key name="wl_description_tab_menu_title"/>
21
+ <key name="wl_additional_information_tab_menu_title"/>
22
+ <key name="wl_reviews_tab_menu_title"/>
23
+ <key name="wl_checkout_placeorder_btn_txt"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  </key>
25
  </admin-texts>
26
  </wpml-config>