CTX Feed – WooCommerce Product Feed Manager Plugin - Version 4.3.2

Version Description

Download this release

Release Info

Developer wahid0003
Plugin Icon 128x128 CTX Feed – WooCommerce Product Feed Manager Plugin
Version 4.3.2
Comparing to
See all releases

Code changes from version 4.3.1 to 4.3.2

README.txt CHANGED
@@ -8,7 +8,7 @@ Google Product Review feed, product variations, rakuteen, shopping, skroutz, TSV
8
  Requires at least: 3.6
9
  Tested Up To: 5.6
10
  Requires PHP: 5.6
11
- Stable tag: 4.3.1
12
  License: GPLv2 or later
13
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
14
 
@@ -308,6 +308,10 @@ Using pro version:
308
 
309
  == Changelog ==
310
 
 
 
 
 
311
  = 4.3.1 (2020-12-03) =
312
  * Tweak : Import file popup new look.
313
  * Tweak : Bulk apply button new look.
8
  Requires at least: 3.6
9
  Tested Up To: 5.6
10
  Requires PHP: 5.6
11
+ Stable tag: 4.3.2
12
  License: GPLv2 or later
13
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
14
 
308
 
309
  == Changelog ==
310
 
311
+ = 4.3.1 (2020-12-08) =
312
+ * Tweak : Idealo delivery time, shopping cost comment updated.
313
+ * Fix : Jquery load function undefined issue solved.
314
+
315
  = 4.3.1 (2020-12-03) =
316
  * Tweak : Import file popup new look.
317
  * Tweak : Bulk apply button new look.
admin/css/fancy-select.css CHANGED
@@ -3,175 +3,175 @@
3
  * @version 1.0.0
4
  * @copyright 2020 Webappick
5
  * @author Kudratullah <mhamudul.hk@gmail.com>
6
- */
7
- .fancy-picker, .fancy-picker * {
8
- box-sizing: border-box;
9
- cursor: default;
10
- -webkit-user-select: none;
11
- -moz-user-select: none;
12
- -ms-user-select: none;
13
- user-select: none; }
14
-
15
- .fancy-picker {
16
- position: relative;
17
- display: block;
18
- width: 100%;
19
- height: 30px;
20
- margin: 0 !important;
21
- padding: 0 !important; }
22
-
23
- .fancy-picker-picked {
24
- width: 100%;
25
- height: 100%;
26
- overflow: hidden;
27
- display: block;
28
- position: relative;
29
- border: 1px solid #7e8993;
30
- border-radius: 4px;
31
- padding: 3.5px 0;
32
- box-shadow: 0 0 4px -1px rgba(0, 0, 0, 0.45); }
33
-
34
- .fancy-picker-placeholder,
35
- .fancy-picker-data {
36
- display: block;
37
- width: calc( 100% - 25px);
38
- float: left;
39
- font-weight: 500;
40
- padding: 1px 5px;
41
- overflow: hidden;
42
- text-overflow: ellipsis;
43
- white-space: pre;
44
- top: -1px; }
45
- .fancy-picker-placeholder > span,
46
- .fancy-picker-data > span {
47
- display: inline;
48
- position: relative; }
49
- .fancy-picker-placeholder > span:empty,
50
- .fancy-picker-data > span:empty {
51
- display: none; }
52
- .fancy-picker-placeholder:empty,
53
- .fancy-picker-data:empty {
54
- display: none; }
55
-
56
- .fancy-picker-separator {
57
- margin-right: 3px; }
58
-
59
- .fancy-picker-count {
60
- position: absolute;
61
- display: block;
62
- top: 50%;
63
- -webkit-transform: translateY(-50%);
64
- transform: translateY(-50%);
65
- right: 21px;
66
- color: #ffffff;
67
- background: rgba(35, 40, 45, 0.7);
68
- z-index: 1;
69
- padding: 1px 3px;
70
- font-size: 12px;
71
- line-height: normal;
72
- border-radius: 5px; }
73
- .fancy-picker-count:empty {
74
- display: none; }
75
-
76
- .fancy-picker-option {
77
- font-weight: 500;
78
- width: 100%;
79
- display: block;
80
- float: left;
81
- cursor: default;
82
- padding: 2px 8px;
83
- transition: background 300ms linear; }
84
- .fancy-picker-option:nth-child(odd) {
85
- background: #f3f3f3; }
86
- .fancy-picker-option.selected {
87
- color: #000;
88
- background: #acf; }
89
- .fancy-picker-option.disabled {
90
- color: #464646;
91
- background: #e8e8e8;
92
- cursor: not-allowed; }
93
- .fancy-picker-option:not(.disabled):hover {
94
- background: #00a1ff;
95
- color: #FFF; }
96
-
97
- .fancy-picker-content {
98
- overflow-y: auto;
99
- overflow-x: hidden;
100
- max-height: 200px;
101
- width: 100%;
102
- -webkit-overflow-scrolling: touch;
103
- padding: 3px 0 20px 0;
104
- background: #FFF; }
105
-
106
- .fancy-picker-ui {
107
- position: absolute;
108
- display: none;
109
- background: #FFF;
110
- z-index: 999;
111
- border: 1px solid #7e8993;
112
- top: 36px;
113
- padding: 0;
114
- margin: 0;
115
- box-shadow: 0 0 10px -1px rgba(0, 0, 0, 0.96); }
116
- .fancy-picker-ui:before {
117
- content: "";
118
- position: absolute;
119
- width: 10px;
120
- height: 10px;
121
- border-top: 1px solid #4f555a;
122
- border-left: 1px solid #4f555a;
123
- top: -6px;
124
- left: 10px;
125
- -webkit-transform: rotate(45deg);
126
- transform: rotate(45deg);
127
- z-index: -1;
128
- background: #4f555a; }
129
-
130
- .fancy-picker-picked:after {
131
- content: "";
132
- display: block;
133
- position: absolute;
134
- width: 0;
135
- height: 0;
136
- float: right;
137
- background: transparent;
138
- border-style: solid;
139
- border-color: #7e8993 transparent;
140
- border-width: 7px 5px 0 5px;
141
- top: 50%;
142
- -webkit-transform: translateY(-50%) rotate(0deg);
143
- transform: translateY(-50%) rotate(0deg);
144
- right: 5px;
145
- transition: all 350ms linear;
146
- cursor: pointer; }
147
-
148
- .fancy-picker-picked:before {
149
- position: relative;
150
- display: block;
151
- content: "";
152
- width: 5px;
153
- height: 15px;
154
- padding: 1px 0;
155
- background: transparent;
156
- border-left-width: 4px;
157
- border-left-color: #7e8993;
158
- border-left-style: dotted;
159
- float: left;
160
- left: 5px;
161
- top: 2px;
162
- transition: all 350ms linear; }
163
-
164
- .fancy-picker.active .fancy-picker-ui {
165
- display: block; }
166
-
167
- .fancy-picker.active .fancy-picker-picked {
168
- box-shadow: 0 0 3px -1px rgba(0, 0, 0, 0.45), inset 0 0 4px -1px rgba(0, 0, 0, 0.27); }
169
- .fancy-picker.active .fancy-picker-picked:after {
170
- border-color: #31363a transparent;
171
- -webkit-transform: translateY(-50%) rotate3d(1, 0, 0, 180deg);
172
- transform: translateY(-50%) rotate3d(1, 0, 0, 180deg); }
173
- .fancy-picker.active .fancy-picker-picked:before {
174
- border-left-color: #31363a; }
175
-
176
- .fancy-picker:hover .fancy-picker-picked:before {
177
- border-left-color: #31363a; }
3
  * @version 1.0.0
4
  * @copyright 2020 Webappick
5
  * @author Kudratullah <mhamudul.hk@gmail.com>
6
+ */
7
+ .fancy-picker, .fancy-picker * {
8
+ box-sizing: border-box;
9
+ cursor: default;
10
+ -webkit-user-select: none;
11
+ -moz-user-select: none;
12
+ -ms-user-select: none;
13
+ user-select: none; }
14
+
15
+ .fancy-picker {
16
+ position: relative;
17
+ display: block;
18
+ width: 100%;
19
+ height: 30px;
20
+ margin: 0 !important;
21
+ padding: 0 !important; }
22
+
23
+ .fancy-picker-picked {
24
+ width: 100%;
25
+ height: 100%;
26
+ overflow: hidden;
27
+ display: block;
28
+ position: relative;
29
+ border: 1px solid #7e8993;
30
+ border-radius: 4px;
31
+ padding: 3.5px 0;
32
+ box-shadow: 0 0 4px -1px rgba(0, 0, 0, 0.45); }
33
+
34
+ .fancy-picker-placeholder,
35
+ .fancy-picker-data {
36
+ display: block;
37
+ width: calc( 100% - 25px);
38
+ float: left;
39
+ font-weight: 500;
40
+ padding: 1px 5px;
41
+ overflow: hidden;
42
+ text-overflow: ellipsis;
43
+ white-space: pre;
44
+ top: -1px; }
45
+ .fancy-picker-placeholder > span,
46
+ .fancy-picker-data > span {
47
+ display: inline;
48
+ position: relative; }
49
+ .fancy-picker-placeholder > span:empty,
50
+ .fancy-picker-data > span:empty {
51
+ display: none; }
52
+ .fancy-picker-placeholder:empty,
53
+ .fancy-picker-data:empty {
54
+ display: none; }
55
+
56
+ .fancy-picker-separator {
57
+ margin-right: 3px; }
58
+
59
+ .fancy-picker-count {
60
+ position: absolute;
61
+ display: block;
62
+ top: 50%;
63
+ -webkit-transform: translateY(-50%);
64
+ transform: translateY(-50%);
65
+ right: 21px;
66
+ color: #ffffff;
67
+ background: rgba(35, 40, 45, 0.7);
68
+ z-index: 1;
69
+ padding: 1px 3px;
70
+ font-size: 12px;
71
+ line-height: normal;
72
+ border-radius: 5px; }
73
+ .fancy-picker-count:empty {
74
+ display: none; }
75
+
76
+ .fancy-picker-option {
77
+ font-weight: 500;
78
+ width: 100%;
79
+ display: block;
80
+ float: left;
81
+ cursor: default;
82
+ padding: 2px 8px;
83
+ transition: background 300ms linear; }
84
+ .fancy-picker-option:nth-child(odd) {
85
+ background: #f3f3f3; }
86
+ .fancy-picker-option.selected {
87
+ color: #000;
88
+ background: #acf; }
89
+ .fancy-picker-option.disabled {
90
+ color: #464646;
91
+ background: #e8e8e8;
92
+ cursor: not-allowed; }
93
+ .fancy-picker-option:not(.disabled):hover {
94
+ background: #00a1ff;
95
+ color: #FFF; }
96
+
97
+ .fancy-picker-content {
98
+ overflow-y: auto;
99
+ overflow-x: hidden;
100
+ max-height: 200px;
101
+ width: 100%;
102
+ -webkit-overflow-scrolling: touch;
103
+ padding: 3px 0 20px 0;
104
+ background: #FFF; }
105
+
106
+ .fancy-picker-ui {
107
+ position: absolute;
108
+ display: none;
109
+ background: #FFF;
110
+ z-index: 999;
111
+ border: 1px solid #7e8993;
112
+ top: 36px;
113
+ padding: 0;
114
+ margin: 0;
115
+ box-shadow: 0 0 10px -1px rgba(0, 0, 0, 0.96); }
116
+ .fancy-picker-ui:before {
117
+ content: "";
118
+ position: absolute;
119
+ width: 10px;
120
+ height: 10px;
121
+ border-top: 1px solid #4f555a;
122
+ border-left: 1px solid #4f555a;
123
+ top: -6px;
124
+ left: 10px;
125
+ -webkit-transform: rotate(45deg);
126
+ transform: rotate(45deg);
127
+ z-index: -1;
128
+ background: #4f555a; }
129
+
130
+ .fancy-picker-picked:after {
131
+ content: "";
132
+ display: block;
133
+ position: absolute;
134
+ width: 0;
135
+ height: 0;
136
+ float: right;
137
+ background: transparent;
138
+ border-style: solid;
139
+ border-color: #7e8993 transparent;
140
+ border-width: 7px 5px 0 5px;
141
+ top: 50%;
142
+ -webkit-transform: translateY(-50%) rotate(0deg);
143
+ transform: translateY(-50%) rotate(0deg);
144
+ right: 5px;
145
+ transition: all 350ms linear;
146
+ cursor: pointer; }
147
+
148
+ .fancy-picker-picked:before {
149
+ position: relative;
150
+ display: block;
151
+ content: "";
152
+ width: 5px;
153
+ height: 15px;
154
+ padding: 1px 0;
155
+ background: transparent;
156
+ border-left-width: 4px;
157
+ border-left-color: #7e8993;
158
+ border-left-style: dotted;
159
+ float: left;
160
+ left: 5px;
161
+ top: 2px;
162
+ transition: all 350ms linear; }
163
+
164
+ .fancy-picker.active .fancy-picker-ui {
165
+ display: block; }
166
+
167
+ .fancy-picker.active .fancy-picker-picked {
168
+ box-shadow: 0 0 3px -1px rgba(0, 0, 0, 0.45), inset 0 0 4px -1px rgba(0, 0, 0, 0.27); }
169
+ .fancy-picker.active .fancy-picker-picked:after {
170
+ border-color: #31363a transparent;
171
+ -webkit-transform: translateY(-50%) rotate3d(1, 0, 0, 180deg);
172
+ transform: translateY(-50%) rotate3d(1, 0, 0, 180deg); }
173
+ .fancy-picker.active .fancy-picker-picked:before {
174
+ border-left-color: #31363a; }
175
+
176
+ .fancy-picker:hover .fancy-picker-picked:before {
177
+ border-left-color: #31363a; }
admin/css/woo-feed-admin-pro.css CHANGED
@@ -1,632 +1,632 @@
1
- table.wf-info-table th a,
2
- table.wf-rate-table th strong {
3
- font-weight: bold; }
4
-
5
- table.wf-info-table th a,
6
- table.wf-rate-table a {
7
- color: #0073aa; }
8
-
9
- table.wf-info-table th a.get-woo-feed-pro {
10
- display: inline-block;
11
- text-decoration: none;
12
- background: #f3f5f6;
13
- color: #ff3355;
14
- vertical-align: top;
15
- font-size: 14px;
16
- line-height: 3.14285714;
17
- box-sizing: border-box;
18
- margin: 0;
19
- border-radius: 35px;
20
- box-shadow: 1px 2px 10px 1px rgba(255, 51, 85, 0.5); }
21
-
22
- table.wf-info-table th a.get-woo-feed-pro img {
23
- display: block;
24
- position: relative;
25
- margin: -2px;
26
- width: 180px;
27
- height: auto; }
28
-
29
- table.wf-info-table th a.button {
30
- border-color: #0073aa;
31
- border-radius: 35px; }
32
-
33
- table.wf-info-table th a.documentation {
34
- color: #0073aa; }
35
-
36
- table.wf-info-table th a.tutorial {
37
- color: #ee264a; }
38
-
39
- table.wf-info-table th a.support {
40
- color: #0DD41E; }
41
-
42
  /**
43
  * Premium Page Design
44
- */
45
- .wp-submenu li span.woo-feed-premium {
46
- font-weight: bold;
47
- color: #28e499; }
48
-
49
- .wp-submenu li:hover span.woo-feed-premium,
50
- .wp-submenu li.current span.woo-feed-premium {
51
- color: #1dc381; }
52
-
53
- .woo_feed_free_manage_attribute {
54
- margin: 0 auto;
55
- width: 100%; }
56
-
57
- .woo_feed_screenshort {
58
- max-width: 100%;
59
- width: 1000px;
60
- border: 3px solid #00b9eb;
61
- display: block;
62
- margin: 0 auto; }
63
-
64
- .woo-feed-screen-shot-title {
65
- font-size: 36px;
66
- text-align: center;
67
- box-sizing: content-box;
68
- color: #00b9eb; }
69
-
70
- .woo_feed_screen {
71
- background: #fff;
72
- padding: 25px 20px;
73
- margin-bottom: 20px; }
74
-
75
- .woo_feed_screen_des {
76
- text-align: center;
77
- margin: 20px 50px 20px 50px;
78
- font-size: 16px;
79
- color: #666; }
80
-
81
- .woo_feed_screen_des_2 {
82
- text-align: center;
83
- margin: 20px 50px 5px 50px;
84
- font-size: 14px;
85
- color: #32373c; }
86
-
87
- .wapk-admin .wapk-feed-upgrade {
88
- font-family: 'Open Sans', sans-serif;
89
- margin: -10px -20px 0 -22px; }
90
-
91
- .wapk-admin .wapk-feed-upgrade a {
92
- transition: all 0.2s ease; }
93
-
94
- .wapk-admin .section-title {
95
- text-align: center;
96
- font-size: 30px;
97
- line-height: 1.5em;
98
- font-weight: 400;
99
- position: relative;
100
- margin: 0 0 58px; }
101
-
102
- .wapk-admin .section-title:after {
103
- content: '';
104
- position: absolute;
105
- bottom: -21px;
106
- left: 50%;
107
- -webkit-transform: translateX(-50%);
108
- transform: translateX(-50%);
109
- width: 38px;
110
- height: 5px;
111
- border-radius: 3px;
112
- background-color: #00D4D4; }
113
-
114
- .wapk-admin .section-title .section-sub-title {
115
- font-size: 22px;
116
- font-weight: 300; }
117
-
118
- .wapk-admin .wapk-banner {
119
- background-color: #f2f2f2;
120
- font-size: 16px;
121
- display: -ms-flexbox;
122
- display: flex;
123
- -ms-flex-align: center;
124
- align-items: center;
125
- padding: 50px 8%;
126
- border-bottom: 1px solid #eee; }
127
-
128
- .wapk-admin .wapk-banner .wapk-banner__graphics {
129
- width: 100%; }
130
-
131
- .wapk-admin .wapk-banner .wapk-banner__content h1 {
132
- font-size: 27px;
133
- line-height: 1.5em; }
134
-
135
- .wapk-admin .wapk-banner .wapk-banner__content p {
136
- font-size: 16px;
137
- line-height: 1.5em;
138
- font-weight: 300;
139
- margin: 0;
140
- /*noinspection CssFloatPxLength*/
141
- letter-spacing: 0.5px; }
142
-
143
- .wapk-admin .feed-features,
144
- .wapk-admin .wapk-testimonial,
145
- .wapk-admin .feed-pricing {
146
- text-align: center;
147
- padding: 75px 30px 85px;
148
- background-color: #f7f8f9; }
149
-
150
- .wapk-admin .feed-features .feed-feature__list {
151
- display: -ms-flexbox;
152
- display: flex;
153
- -ms-flex-wrap: wrap;
154
- flex-wrap: wrap;
155
- -ms-flex-align: start;
156
- align-items: flex-start;
157
- -ms-flex-pack: center;
158
- justify-content: center; }
159
-
160
- .wapk-admin .feed-features .feed-features__more {
161
- margin-top: 25px; }
162
-
163
- .feed-feature__item {
164
- -ms-flex: 0 0 28.9%;
165
- flex: 0 0 28.9%;
166
- margin: 0 2.2% 4.4% 2.2%;
167
- text-align: center;
168
- border-radius: 5px;
169
- background-color: #ffffff;
170
- transition: all 100ms linear;
171
- overflow: hidden; }
172
-
173
- .feed-feature__item:hover {
174
- box-shadow: 5px 4px 32px -16px rgba(0, 0, 0, 0.63); }
175
-
176
- .feed-feature__thumb {
177
- overflow: hidden; }
178
-
179
- .feed-feature__item .feed-feature__thumb img {
180
- border-radius: 5px 5px 0 0;
181
- max-width: 100%;
182
- width: 100%;
183
- transition: all 100ms linear; }
184
-
185
- .feed-feature__item:hover .feed-feature__thumb img {
186
- -webkit-transform: scale(1.05);
187
- transform: scale(1.05); }
188
-
189
- .feed-feature__item .feed-feature__description {
190
- padding: 20px 15px 25px; }
191
-
192
- .feed-feature__item .feed-feature__description h3 {
193
- font-size: 15px;
194
- line-height: 1.5em;
195
- font-weight: 300;
196
- margin: 0; }
197
-
198
- .wapk-admin .feed-pro-comparison {
199
- background-color: #f1f1f1;
200
- padding: 75px; }
201
-
202
- .wapk-admin .feed-features .section-title h2,
203
- .wapk-admin .wapk-testimonial .section-title h2,
204
- .wapk-admin .feed-pro-comparison .section-title h2,
205
- .wapk-admin .feed-pricing .section-title h2 {
206
- margin-top: 0;
207
- margin-bottom: 0; }
208
-
209
- .wapk-admin .comparison-table {
210
- display: -ms-flexbox;
211
- display: flex;
212
- -ms-flex-pack: justify;
213
- justify-content: space-between; }
214
-
215
- .wapk-admin .comparison-table .comparison {
216
- -ms-flex: 0 0 48%;
217
- flex: 0 0 48%;
218
- background-color: #fff;
219
- border: 1px solid #e0e9ec;
220
- border-radius: 5px;
221
- box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
222
- padding: 50px;
223
- box-sizing: border-box; }
224
-
225
- .wapk-admin .comparison .product-header {
226
- margin-bottom: 58px;
227
- position: relative; }
228
-
229
- .wapk-admin .comparison .product-header:after {
230
- content: "";
231
- position: absolute;
232
- bottom: -23px;
233
- left: 0;
234
- width: 38px;
235
- height: 5px;
236
- border-radius: 3px;
237
- background-color: #d7d7d7; }
238
-
239
- .wapk-admin .comparison .product-header img {
240
- max-width: 160px;
241
- width: 100%; }
242
-
243
- .wapk-admin .comparison .product-features {
244
- margin: 0; }
245
-
246
- .wapk-admin .comparison li {
247
- position: relative;
248
- display: -ms-flexbox;
249
- display: flex;
250
- margin-bottom: 15px;
251
- padding-left: 30px;
252
- font-size: 14px;
253
- line-height: 1.3em;
254
- font-weight: 300;
255
- -ms-flex-align: center;
256
- align-items: center; }
257
-
258
- .wapk-admin .comparison li.unavailable {
259
- color: #CED2D6; }
260
-
261
- .wapk-admin .comparison li span.dashicons {
262
- position: absolute;
263
- top: 1px;
264
- left: 6px;
265
- width: 18px;
266
- height: 18px;
267
- border-radius: 100%;
268
- background: #00D4D4;
269
- color: #FFF;
270
- line-height: 22px;
271
- font-size: 14px;
272
- text-align: center; }
273
-
274
- .wapk-admin .comparison li.unavailable {
275
- color: #CED2D6; }
276
-
277
- .wapk-admin .comparison li.unavailable span.dashicons {
278
- background: #CED2D6; }
279
-
280
- .wapk-admin .comparison li span.dashicons-no {
281
- font-size: 12px; }
282
-
283
- .wapk-admin .comparison li span.dashicons-no:before {
284
- left: 0; }
285
-
286
- .wapk-admin .comparison li span.dashicons:before {
287
- position: relative;
288
- left: -0.5px;
289
- top: -2px; }
290
-
291
- .wapk-admin .comparison li img {
292
- width: 18px;
293
- margin-right: 12px; }
294
-
295
- .wapk-pricing__table {
296
- width: 100%;
297
- display: -ms-flexbox;
298
- display: flex;
299
- -ms-flex-wrap: wrap;
300
- flex-wrap: wrap;
301
- -ms-flex-line-pack: start;
302
- align-content: flex-start;
303
- -ms-flex-pack: center;
304
- justify-content: center; }
305
-
306
- .wapk-pricing__table__item {
307
- position: relative;
308
- -ms-flex: 0 0 23%;
309
- flex: 0 0 23%; }
310
-
311
- .wapk-price__table__wrapper {
312
- position: relative;
313
- padding: 10px; }
314
-
315
- .wapk-price__table {
316
- text-align: center;
317
- display: block;
318
- width: 100%;
319
- padding: 10px;
320
- background-color: #fff;
321
- border-radius: 8px 8px 8px 8px;
322
- box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
323
- overflow: hidden;
324
- transition: background .3s, border .3s, border-radius .3s, box-shadow .3s; }
325
-
326
- .wapk-price__table__header {
327
- background-color: #fff;
328
- padding: 40px 0 0; }
329
-
330
- .wapk-price__table__heading {
331
- color: #6d7882;
332
- font-size: 17px;
333
- font-weight: 500;
334
- text-transform: uppercase;
335
- letter-spacing: 10px;
336
- font-family: sans-serif;
337
- margin: 0;
338
- padding: 0;
339
- line-height: 1.2; }
340
-
341
- .wapk-price__table__price {
342
- font-family: sans-serif;
343
- font-weight: 600;
344
- padding: 30px 0 10px;
345
- display: -ms-flexbox;
346
- display: flex;
347
- -ms-flex-pack: center;
348
- justify-content: center;
349
- -ms-flex-align: center;
350
- align-items: center;
351
- -ms-flex-wrap: wrap;
352
- flex-wrap: wrap;
353
- -ms-flex-direction: row;
354
- flex-direction: row;
355
- color: #434363;
356
- font-size: 45px; }
357
-
358
- .wapk-price__table__currency {
359
- -ms-flex-item-align: start;
360
- align-self: flex-start;
361
- color: #434363;
362
- line-height: 1;
363
- font-size: .3em;
364
- margin-right: 3px; }
365
-
366
- .wapk-price__table__amount .free,
367
- .wapk-price__table__amount .integer-part {
368
- color: #434363;
369
- line-height: .8; }
370
-
371
- .wapk-price__table__amount .decimal-part {
372
- font-size: 14px;
373
- font-weight: 400; }
374
-
375
- .wapk-price__table__amount .period {
376
- font-size: 14px;
377
- font-weight: 400; }
378
-
379
- .wapk-price__table__amount___legend {
380
- width: 100%;
381
- color: #FF4B4B;
382
- font-size: 18px;
383
- font-weight: 500;
384
- line-height: 2.5em; }
385
-
386
- .wapk-price__table__features {
387
- list-style-type: none;
388
- margin: 0;
389
- padding: 0;
390
- line-height: 1;
391
- color: #697279;
392
- text-align: left; }
393
-
394
- .wapk-price__table__features li.item {
395
- list-style-type: none;
396
- margin: 0;
397
- padding: 0;
398
- font-size: 13px;
399
- line-height: 1.5em; }
400
-
401
- .wapk-price__table__features li:not(:first-child):before {
402
- content: "";
403
- display: block;
404
- /* border: 0 solid hsla(0,0%,48%,.3); */
405
- margin: 10px 12.5%; }
406
-
407
- .wapk-price__table__feature {
408
- display: block;
409
- margin-left: calc(((100% - 80%) / 2) + 20px);
410
- margin-right: calc((100% - 80%) / 2); }
411
-
412
- span.wapk-price__table__feature span.dashicons {
413
- margin-left: -20px;
414
- top: 2px;
415
- position: relative; }
416
-
417
- .wapk-price__table__footer {
418
- padding: 40px 0; }
419
-
420
- .wapk-price__table__footer a {
421
- font-size: 14px;
422
- text-transform: uppercase;
423
- letter-spacing: 3px;
424
- border-radius: 100px 100px 100px 100px;
425
- padding: 16px 42px;
426
- transition: all 250ms; }
427
-
428
- .wapk-price__table__footer a:hover,
429
- .wapk-price__table__footer a:focus,
430
- .wapk-price__table__footer a:active {
431
- -webkit-transform: scale(1.02) !important;
432
- transform: scale(1.02) !important; }
433
-
434
- .wapk-price__table__ribbon {
435
- pointer-events: none;
436
- -ms-touch-action: none;
437
- touch-action: none;
438
- -webkit-user-select: none;
439
- -moz-user-select: none;
440
- -ms-user-select: none;
441
- user-select: none;
442
- position: absolute;
443
- top: 10px;
444
- left: auto;
445
- right: 10px;
446
- -webkit-transform: rotate(90deg);
447
- transform: rotate(90deg);
448
- width: 150px;
449
- overflow: hidden;
450
- height: 150px; }
451
-
452
- .wapk-price__table__ribbon__inner {
453
- background: #FF4B4B;
454
- font-family: sans-serif;
455
- font-weight: 500;
456
- color: #fff;
457
- font-size: 11px;
458
- /*noinspection CssFloatPxLength*/
459
- letter-spacing: 1.1px;
460
- box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.21);
461
- text-align: center;
462
- left: 0;
463
- width: 200%;
464
- -webkit-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
465
- transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
466
- margin-top: 35px;
467
- line-height: 2;
468
- text-transform: uppercase; }
469
-
470
- .wapk-admin .wapk-payment {
471
- display: -ms-flexbox;
472
- display: flex;
473
- background: #fff;
474
- -ms-flex-pack: justify;
475
- justify-content: space-between;
476
- padding: 85px 65px 85px;
477
- -ms-flex-align: center;
478
- align-items: center; }
479
-
480
- .wapk-payment .payment-guarantee {
481
- display: -ms-flexbox;
482
- display: flex;
483
- -ms-flex: 0 0 63%;
484
- flex: 0 0 63%;
485
- -ms-flex-line-pack: center;
486
- align-content: center;
487
- -ms-flex-align: center;
488
- align-items: center;
489
- position: relative; }
490
-
491
- .wapk-payment .payment-guarantee:after {
492
- content: "";
493
- position: absolute;
494
- right: -18px;
495
- top: 50%;
496
- -webkit-transform: translateY(-50%);
497
- transform: translateY(-50%);
498
- width: 5px;
499
- height: 38px;
500
- border-radius: 3px;
501
- background: #00D4D4; }
502
-
503
- .wapk-payment .payment-guarantee .guarantee-seal img {
504
- max-width: 100%;
505
- width: 280px; }
506
-
507
- .wapk-payment .payment-guarantee .guarantee-detail {
508
- padding-left: 25px; }
509
-
510
- .wapk-payment .payment-guarantee .guarantee-detail h2 {
511
- font-size: 24px;
512
- line-height: 1.5em;
513
- font-weight: 400;
514
- margin: 0; }
515
-
516
- .wapk-payment .payment-guarantee .guarantee-detail p {
517
- font-size: 15px;
518
- line-height: 1.5em;
519
- font-weight: 300;
520
- margin: 5px 0 20px; }
521
-
522
- .wapk-payment .payment-guarantee .guarantee-detail a {
523
- color: #00D4D4;
524
- font-size: 15px;
525
- line-height: 1.5em;
526
- text-decoration: none; }
527
-
528
- .wapk-payment .payment-guarantee .guarantee-detail a span.dashicons,
529
- .wapk-payment .payment-guarantee .guarantee-detail a img {
530
- width: 18px;
531
- margin-right: 4px;
532
- margin-top: 1px; }
533
-
534
- .wapk-payment .payment-options {
535
- -ms-flex-positive: 0.5;
536
- flex-grow: 0.5; }
537
-
538
- .wapk-payment .payment-options h3 {
539
- font-size: 15px;
540
- font-weight: 300;
541
- margin: 0 0 17px; }
542
-
543
- .wapk-payment .payment-options .options h4 {
544
- color: #CED2D6; }
545
-
546
- .wapk-payment .payment-options .options li {
547
- float: left;
548
- overflow: hidden; }
549
-
550
- .wapk-payment .payment-options .options li img {
551
- height: 20px;
552
- margin-right: 5px; }
553
-
554
- /** Testimonial **/
555
- .wapk-admin .wapk-testimonial-wrapper:before {
556
- content: '';
557
- position: absolute;
558
- left: 79px;
559
- top: -15px;
560
- width: 80px;
561
- height: 56px;
562
- border-radius: 3px;
563
- background: transparent url(../images/block-quote.svg) no-repeat;
564
- background-size: cover; }
565
-
566
- .wapk-admin .wapk-testimonial-wrapper {
567
- position: relative;
568
- display: block;
569
- width: 80%;
570
- margin: 0 auto;
571
- padding: 0;
572
- text-align: center; }
573
-
574
- .testimonial-item__user .avatar {
575
- width: 100px;
576
- height: 100px;
577
- margin: 0 auto;
578
- border-radius: 100%;
579
- border: 3px solid #efefef;
580
- overflow: hidden; }
581
-
582
- .testimonial-item {
583
- margin-bottom: 25px; }
584
-
585
- .testimonial-item__user .avatar img {
586
- max-width: 100%;
587
- width: 100%;
588
- margin: 0 auto;
589
- padding: 0;
590
- display: block; }
591
-
592
- .testimonial-item__comment {
593
- position: relative;
594
- display: block;
595
- width: 70%;
596
- margin: 0 auto 30px; }
597
-
598
- .testimonial-item__user h4.author-name {
599
- font-size: 25px;
600
- font-weight: 300;
601
- margin: 10px auto; }
602
-
603
- .testimonial-item__user span.author-meta {
604
- font-size: 16px;
605
- font-weight: 300; }
606
-
607
- @media screen and (min-width: 1281px) {
608
- .wapk-admin .wapk-banner,
609
- .wapk-admin .feed-features {
610
- padding-left: 20%;
611
- padding-right: 20%; }
612
- .wapk-admin .wapk-payment {
613
- padding-left: 15%;
614
- padding-right: 15%; }
615
- .wapk-admin .feed-pro-comparison {
616
- padding-left: 21.2%;
617
- padding-right: 21.2%; }
618
- .wapk-admin .wapk-testimonial-wrapper {
619
- width: 55%; } }
620
-
621
- .wapk-feed-pro-upgrade .wapk-feed-cta,
622
- .wapk-feed-docs .wapk-feed-cta,
623
- .wapk-admin .feed-pro-comparison,
624
- .wapk-admin .wapk-payment,
625
- .wapk-admin .feed-features,
626
- .wapk-admin .wapk-testimonial,
627
- .wapk-admin .wapk-feed-banner {
628
- margin: 0; }
629
-
630
- .wapk-feed-banner .wapk-banner {
631
- margin: 0;
632
- padding: 0; }
1
+ table.wf-info-table th a,
2
+ table.wf-rate-table th strong {
3
+ font-weight: bold; }
4
+
5
+ table.wf-info-table th a,
6
+ table.wf-rate-table a {
7
+ color: #0073aa; }
8
+
9
+ table.wf-info-table th a.get-woo-feed-pro {
10
+ display: inline-block;
11
+ text-decoration: none;
12
+ background: #f3f5f6;
13
+ color: #ff3355;
14
+ vertical-align: top;
15
+ font-size: 14px;
16
+ line-height: 3.14285714;
17
+ box-sizing: border-box;
18
+ margin: 0;
19
+ border-radius: 35px;
20
+ box-shadow: 1px 2px 10px 1px rgba(255, 51, 85, 0.5); }
21
+
22
+ table.wf-info-table th a.get-woo-feed-pro img {
23
+ display: block;
24
+ position: relative;
25
+ margin: -2px;
26
+ width: 180px;
27
+ height: auto; }
28
+
29
+ table.wf-info-table th a.button {
30
+ border-color: #0073aa;
31
+ border-radius: 35px; }
32
+
33
+ table.wf-info-table th a.documentation {
34
+ color: #0073aa; }
35
+
36
+ table.wf-info-table th a.tutorial {
37
+ color: #ee264a; }
38
+
39
+ table.wf-info-table th a.support {
40
+ color: #0DD41E; }
41
+
42
  /**
43
  * Premium Page Design
44
+ */
45
+ .wp-submenu li span.woo-feed-premium {
46
+ font-weight: bold;
47
+ color: #28e499; }
48
+
49
+ .wp-submenu li:hover span.woo-feed-premium,
50
+ .wp-submenu li.current span.woo-feed-premium {
51
+ color: #1dc381; }
52
+
53
+ .woo_feed_free_manage_attribute {
54
+ margin: 0 auto;
55
+ width: 100%; }
56
+
57
+ .woo_feed_screenshort {
58
+ max-width: 100%;
59
+ width: 1000px;
60
+ border: 3px solid #00b9eb;
61
+ display: block;
62
+ margin: 0 auto; }
63
+
64
+ .woo-feed-screen-shot-title {
65
+ font-size: 36px;
66
+ text-align: center;
67
+ box-sizing: content-box;
68
+ color: #00b9eb; }
69
+
70
+ .woo_feed_screen {
71
+ background: #fff;
72
+ padding: 25px 20px;
73
+ margin-bottom: 20px; }
74
+
75
+ .woo_feed_screen_des {
76
+ text-align: center;
77
+ margin: 20px 50px 20px 50px;
78
+ font-size: 16px;
79
+ color: #666; }
80
+
81
+ .woo_feed_screen_des_2 {
82
+ text-align: center;
83
+ margin: 20px 50px 5px 50px;
84
+ font-size: 14px;
85
+ color: #32373c; }
86
+
87
+ .wapk-admin .wapk-feed-upgrade {
88
+ font-family: 'Open Sans', sans-serif;
89
+ margin: -10px -20px 0 -22px; }
90
+
91
+ .wapk-admin .wapk-feed-upgrade a {
92
+ transition: all 0.2s ease; }
93
+
94
+ .wapk-admin .section-title {
95
+ text-align: center;
96
+ font-size: 30px;
97
+ line-height: 1.5em;
98
+ font-weight: 400;
99
+ position: relative;
100
+ margin: 0 0 58px; }
101
+
102
+ .wapk-admin .section-title:after {
103
+ content: '';
104
+ position: absolute;
105
+ bottom: -21px;
106
+ left: 50%;
107
+ -webkit-transform: translateX(-50%);
108
+ transform: translateX(-50%);
109
+ width: 38px;
110
+ height: 5px;
111
+ border-radius: 3px;
112
+ background-color: #00D4D4; }
113
+
114
+ .wapk-admin .section-title .section-sub-title {
115
+ font-size: 22px;
116
+ font-weight: 300; }
117
+
118
+ .wapk-admin .wapk-banner {
119
+ background-color: #f2f2f2;
120
+ font-size: 16px;
121
+ display: -ms-flexbox;
122
+ display: flex;
123
+ -ms-flex-align: center;
124
+ align-items: center;
125
+ padding: 50px 8%;
126
+ border-bottom: 1px solid #eee; }
127
+
128
+ .wapk-admin .wapk-banner .wapk-banner__graphics {
129
+ width: 100%; }
130
+
131
+ .wapk-admin .wapk-banner .wapk-banner__content h1 {
132
+ font-size: 27px;
133
+ line-height: 1.5em; }
134
+
135
+ .wapk-admin .wapk-banner .wapk-banner__content p {
136
+ font-size: 16px;
137
+ line-height: 1.5em;
138
+ font-weight: 300;
139
+ margin: 0;
140
+ /*noinspection CssFloatPxLength*/
141
+ letter-spacing: 0.5px; }
142
+
143
+ .wapk-admin .feed-features,
144
+ .wapk-admin .wapk-testimonial,
145
+ .wapk-admin .feed-pricing {
146
+ text-align: center;
147
+ padding: 75px 30px 85px;
148
+ background-color: #f7f8f9; }
149
+
150
+ .wapk-admin .feed-features .feed-feature__list {
151
+ display: -ms-flexbox;
152
+ display: flex;
153
+ -ms-flex-wrap: wrap;
154
+ flex-wrap: wrap;
155
+ -ms-flex-align: start;
156
+ align-items: flex-start;
157
+ -ms-flex-pack: center;
158
+ justify-content: center; }
159
+
160
+ .wapk-admin .feed-features .feed-features__more {
161
+ margin-top: 25px; }
162
+
163
+ .feed-feature__item {
164
+ -ms-flex: 0 0 28.9%;
165
+ flex: 0 0 28.9%;
166
+ margin: 0 2.2% 4.4% 2.2%;
167
+ text-align: center;
168
+ border-radius: 5px;
169
+ background-color: #ffffff;
170
+ transition: all 100ms linear;
171
+ overflow: hidden; }
172
+
173
+ .feed-feature__item:hover {
174
+ box-shadow: 5px 4px 32px -16px rgba(0, 0, 0, 0.63); }
175
+
176
+ .feed-feature__thumb {
177
+ overflow: hidden; }
178
+
179
+ .feed-feature__item .feed-feature__thumb img {
180
+ border-radius: 5px 5px 0 0;
181
+ max-width: 100%;
182
+ width: 100%;
183
+ transition: all 100ms linear; }
184
+
185
+ .feed-feature__item:hover .feed-feature__thumb img {
186
+ -webkit-transform: scale(1.05);
187
+ transform: scale(1.05); }
188
+
189
+ .feed-feature__item .feed-feature__description {
190
+ padding: 20px 15px 25px; }
191
+
192
+ .feed-feature__item .feed-feature__description h3 {
193
+ font-size: 15px;
194
+ line-height: 1.5em;
195
+ font-weight: 300;
196
+ margin: 0; }
197
+
198
+ .wapk-admin .feed-pro-comparison {
199
+ background-color: #f1f1f1;
200
+ padding: 75px; }
201
+
202
+ .wapk-admin .feed-features .section-title h2,
203
+ .wapk-admin .wapk-testimonial .section-title h2,
204
+ .wapk-admin .feed-pro-comparison .section-title h2,
205
+ .wapk-admin .feed-pricing .section-title h2 {
206
+ margin-top: 0;
207
+ margin-bottom: 0; }
208
+
209
+ .wapk-admin .comparison-table {
210
+ display: -ms-flexbox;
211
+ display: flex;
212
+ -ms-flex-pack: justify;
213
+ justify-content: space-between; }
214
+
215
+ .wapk-admin .comparison-table .comparison {
216
+ -ms-flex: 0 0 48%;
217
+ flex: 0 0 48%;
218
+ background-color: #fff;
219
+ border: 1px solid #e0e9ec;
220
+ border-radius: 5px;
221
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
222
+ padding: 50px;
223
+ box-sizing: border-box; }
224
+
225
+ .wapk-admin .comparison .product-header {
226
+ margin-bottom: 58px;
227
+ position: relative; }
228
+
229
+ .wapk-admin .comparison .product-header:after {
230
+ content: "";
231
+ position: absolute;
232
+ bottom: -23px;
233
+ left: 0;
234
+ width: 38px;
235
+ height: 5px;
236
+ border-radius: 3px;
237
+ background-color: #d7d7d7; }
238
+
239
+ .wapk-admin .comparison .product-header img {
240
+ max-width: 160px;
241
+ width: 100%; }
242
+
243
+ .wapk-admin .comparison .product-features {
244
+ margin: 0; }
245
+
246
+ .wapk-admin .comparison li {
247
+ position: relative;
248
+ display: -ms-flexbox;
249
+ display: flex;
250
+ margin-bottom: 15px;
251
+ padding-left: 30px;
252
+ font-size: 14px;
253
+ line-height: 1.3em;
254
+ font-weight: 300;
255
+ -ms-flex-align: center;
256
+ align-items: center; }
257
+
258
+ .wapk-admin .comparison li.unavailable {
259
+ color: #CED2D6; }
260
+
261
+ .wapk-admin .comparison li span.dashicons {
262
+ position: absolute;
263
+ top: 1px;
264
+ left: 6px;
265
+ width: 18px;
266
+ height: 18px;
267
+ border-radius: 100%;
268
+ background: #00D4D4;
269
+ color: #FFF;
270
+ line-height: 22px;
271
+ font-size: 14px;
272
+ text-align: center; }
273
+
274
+ .wapk-admin .comparison li.unavailable {
275
+ color: #CED2D6; }
276
+
277
+ .wapk-admin .comparison li.unavailable span.dashicons {
278
+ background: #CED2D6; }
279
+
280
+ .wapk-admin .comparison li span.dashicons-no {
281
+ font-size: 12px; }
282
+
283
+ .wapk-admin .comparison li span.dashicons-no:before {
284
+ left: 0; }
285
+
286
+ .wapk-admin .comparison li span.dashicons:before {
287
+ position: relative;
288
+ left: -0.5px;
289
+ top: -2px; }
290
+
291
+ .wapk-admin .comparison li img {
292
+ width: 18px;
293
+ margin-right: 12px; }
294
+
295
+ .wapk-pricing__table {
296
+ width: 100%;
297
+ display: -ms-flexbox;
298
+ display: flex;
299
+ -ms-flex-wrap: wrap;
300
+ flex-wrap: wrap;
301
+ -ms-flex-line-pack: start;
302
+ align-content: flex-start;
303
+ -ms-flex-pack: center;
304
+ justify-content: center; }
305
+
306
+ .wapk-pricing__table__item {
307
+ position: relative;
308
+ -ms-flex: 0 0 23%;
309
+ flex: 0 0 23%; }
310
+
311
+ .wapk-price__table__wrapper {
312
+ position: relative;
313
+ padding: 10px; }
314
+
315
+ .wapk-price__table {
316
+ text-align: center;
317
+ display: block;
318
+ width: 100%;
319
+ padding: 10px;
320
+ background-color: #fff;
321
+ border-radius: 8px 8px 8px 8px;
322
+ box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
323
+ overflow: hidden;
324
+ transition: background .3s, border .3s, border-radius .3s, box-shadow .3s; }
325
+
326
+ .wapk-price__table__header {
327
+ background-color: #fff;
328
+ padding: 40px 0 0; }
329
+
330
+ .wapk-price__table__heading {
331
+ color: #6d7882;
332
+ font-size: 17px;
333
+ font-weight: 500;
334
+ text-transform: uppercase;
335
+ letter-spacing: 10px;
336
+ font-family: sans-serif;
337
+ margin: 0;
338
+ padding: 0;
339
+ line-height: 1.2; }
340
+
341
+ .wapk-price__table__price {
342
+ font-family: sans-serif;
343
+ font-weight: 600;
344
+ padding: 30px 0 10px;
345
+ display: -ms-flexbox;
346
+ display: flex;
347
+ -ms-flex-pack: center;
348
+ justify-content: center;
349
+ -ms-flex-align: center;
350
+ align-items: center;
351
+ -ms-flex-wrap: wrap;
352
+ flex-wrap: wrap;
353
+ -ms-flex-direction: row;
354
+ flex-direction: row;
355
+ color: #434363;
356
+ font-size: 45px; }
357
+
358
+ .wapk-price__table__currency {
359
+ -ms-flex-item-align: start;
360
+ align-self: flex-start;
361
+ color: #434363;
362
+ line-height: 1;
363
+ font-size: .3em;
364
+ margin-right: 3px; }
365
+
366
+ .wapk-price__table__amount .free,
367
+ .wapk-price__table__amount .integer-part {
368
+ color: #434363;
369
+ line-height: .8; }
370
+
371
+ .wapk-price__table__amount .decimal-part {
372
+ font-size: 14px;
373
+ font-weight: 400; }
374
+
375
+ .wapk-price__table__amount .period {
376
+ font-size: 14px;
377
+ font-weight: 400; }
378
+
379
+ .wapk-price__table__amount___legend {
380
+ width: 100%;
381
+ color: #FF4B4B;
382
+ font-size: 18px;
383
+ font-weight: 500;
384
+ line-height: 2.5em; }
385
+
386
+ .wapk-price__table__features {
387
+ list-style-type: none;
388
+ margin: 0;
389
+ padding: 0;
390
+ line-height: 1;
391
+ color: #697279;
392
+ text-align: left; }
393
+
394
+ .wapk-price__table__features li.item {
395
+ list-style-type: none;
396
+ margin: 0;
397
+ padding: 0;
398
+ font-size: 13px;
399
+ line-height: 1.5em; }
400
+
401
+ .wapk-price__table__features li:not(:first-child):before {
402
+ content: "";
403
+ display: block;
404
+ /* border: 0 solid hsla(0,0%,48%,.3); */
405
+ margin: 10px 12.5%; }
406
+
407
+ .wapk-price__table__feature {
408
+ display: block;
409
+ margin-left: calc(((100% - 80%) / 2) + 20px);
410
+ margin-right: calc((100% - 80%) / 2); }
411
+
412
+ span.wapk-price__table__feature span.dashicons {
413
+ margin-left: -20px;
414
+ top: 2px;
415
+ position: relative; }
416
+
417
+ .wapk-price__table__footer {
418
+ padding: 40px 0; }
419
+
420
+ .wapk-price__table__footer a {
421
+ font-size: 14px;
422
+ text-transform: uppercase;
423
+ letter-spacing: 3px;
424
+ border-radius: 100px 100px 100px 100px;
425
+ padding: 16px 42px;
426
+ transition: all 250ms; }
427
+
428
+ .wapk-price__table__footer a:hover,
429
+ .wapk-price__table__footer a:focus,
430
+ .wapk-price__table__footer a:active {
431
+ -webkit-transform: scale(1.02) !important;
432
+ transform: scale(1.02) !important; }
433
+
434
+ .wapk-price__table__ribbon {
435
+ pointer-events: none;
436
+ -ms-touch-action: none;
437
+ touch-action: none;
438
+ -webkit-user-select: none;
439
+ -moz-user-select: none;
440
+ -ms-user-select: none;
441
+ user-select: none;
442
+ position: absolute;
443
+ top: 10px;
444
+ left: auto;
445
+ right: 10px;
446
+ -webkit-transform: rotate(90deg);
447
+ transform: rotate(90deg);
448
+ width: 150px;
449
+ overflow: hidden;
450
+ height: 150px; }
451
+
452
+ .wapk-price__table__ribbon__inner {
453
+ background: #FF4B4B;
454
+ font-family: sans-serif;
455
+ font-weight: 500;
456
+ color: #fff;
457
+ font-size: 11px;
458
+ /*noinspection CssFloatPxLength*/
459
+ letter-spacing: 1.1px;
460
+ box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.21);
461
+ text-align: center;
462
+ left: 0;
463
+ width: 200%;
464
+ -webkit-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
465
+ transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
466
+ margin-top: 35px;
467
+ line-height: 2;
468
+ text-transform: uppercase; }
469
+
470
+ .wapk-admin .wapk-payment {
471
+ display: -ms-flexbox;
472
+ display: flex;
473
+ background: #fff;
474
+ -ms-flex-pack: justify;
475
+ justify-content: space-between;
476
+ padding: 85px 65px 85px;
477
+ -ms-flex-align: center;
478
+ align-items: center; }
479
+
480
+ .wapk-payment .payment-guarantee {
481
+ display: -ms-flexbox;
482
+ display: flex;
483
+ -ms-flex: 0 0 63%;
484
+ flex: 0 0 63%;
485
+ -ms-flex-line-pack: center;
486
+ align-content: center;
487
+ -ms-flex-align: center;
488
+ align-items: center;
489
+ position: relative; }
490
+
491
+ .wapk-payment .payment-guarantee:after {
492
+ content: "";
493
+ position: absolute;
494
+ right: -18px;
495
+ top: 50%;
496
+ -webkit-transform: translateY(-50%);
497
+ transform: translateY(-50%);
498
+ width: 5px;
499
+ height: 38px;
500
+ border-radius: 3px;
501
+ background: #00D4D4; }
502
+
503
+ .wapk-payment .payment-guarantee .guarantee-seal img {
504
+ max-width: 100%;
505
+ width: 280px; }
506
+
507
+ .wapk-payment .payment-guarantee .guarantee-detail {
508
+ padding-left: 25px; }
509
+
510
+ .wapk-payment .payment-guarantee .guarantee-detail h2 {
511
+ font-size: 24px;
512
+ line-height: 1.5em;
513
+ font-weight: 400;
514
+ margin: 0; }
515
+
516
+ .wapk-payment .payment-guarantee .guarantee-detail p {
517
+ font-size: 15px;
518
+ line-height: 1.5em;
519
+ font-weight: 300;
520
+ margin: 5px 0 20px; }
521
+
522
+ .wapk-payment .payment-guarantee .guarantee-detail a {
523
+ color: #00D4D4;
524
+ font-size: 15px;
525
+ line-height: 1.5em;
526
+ text-decoration: none; }
527
+
528
+ .wapk-payment .payment-guarantee .guarantee-detail a span.dashicons,
529
+ .wapk-payment .payment-guarantee .guarantee-detail a img {
530
+ width: 18px;
531
+ margin-right: 4px;
532
+ margin-top: 1px; }
533
+
534
+ .wapk-payment .payment-options {
535
+ -ms-flex-positive: 0.5;
536
+ flex-grow: 0.5; }
537
+
538
+ .wapk-payment .payment-options h3 {
539
+ font-size: 15px;
540
+ font-weight: 300;
541
+ margin: 0 0 17px; }
542
+
543
+ .wapk-payment .payment-options .options h4 {
544
+ color: #CED2D6; }
545
+
546
+ .wapk-payment .payment-options .options li {
547
+ float: left;
548
+ overflow: hidden; }
549
+
550
+ .wapk-payment .payment-options .options li img {
551
+ height: 20px;
552
+ margin-right: 5px; }
553
+
554
+ /** Testimonial **/
555
+ .wapk-admin .wapk-testimonial-wrapper:before {
556
+ content: '';
557
+ position: absolute;
558
+ left: 79px;
559
+ top: -15px;
560
+ width: 80px;
561
+ height: 56px;
562
+ border-radius: 3px;
563
+ background: transparent url(../images/block-quote.svg) no-repeat;
564
+ background-size: cover; }
565
+
566
+ .wapk-admin .wapk-testimonial-wrapper {
567
+ position: relative;
568
+ display: block;
569
+ width: 80%;
570
+ margin: 0 auto;
571
+ padding: 0;
572
+ text-align: center; }
573
+
574
+ .testimonial-item__user .avatar {
575
+ width: 100px;
576
+ height: 100px;
577
+ margin: 0 auto;
578
+ border-radius: 100%;
579
+ border: 3px solid #efefef;
580
+ overflow: hidden; }
581
+
582
+ .testimonial-item {
583
+ margin-bottom: 25px; }
584
+
585
+ .testimonial-item__user .avatar img {
586
+ max-width: 100%;
587
+ width: 100%;
588
+ margin: 0 auto;
589
+ padding: 0;
590
+ display: block; }
591
+
592
+ .testimonial-item__comment {
593
+ position: relative;
594
+ display: block;
595
+ width: 70%;
596
+ margin: 0 auto 30px; }
597
+
598
+ .testimonial-item__user h4.author-name {
599
+ font-size: 25px;
600
+ font-weight: 300;
601
+ margin: 10px auto; }
602
+
603
+ .testimonial-item__user span.author-meta {
604
+ font-size: 16px;
605
+ font-weight: 300; }
606
+
607
+ @media screen and (min-width: 1281px) {
608
+ .wapk-admin .wapk-banner,
609
+ .wapk-admin .feed-features {
610
+ padding-left: 20%;
611
+ padding-right: 20%; }
612
+ .wapk-admin .wapk-payment {
613
+ padding-left: 15%;
614
+ padding-right: 15%; }
615
+ .wapk-admin .feed-pro-comparison {
616
+ padding-left: 21.2%;
617
+ padding-right: 21.2%; }
618
+ .wapk-admin .wapk-testimonial-wrapper {
619
+ width: 55%; } }
620
+
621
+ .wapk-feed-pro-upgrade .wapk-feed-cta,
622
+ .wapk-feed-docs .wapk-feed-cta,
623
+ .wapk-admin .feed-pro-comparison,
624
+ .wapk-admin .wapk-payment,
625
+ .wapk-admin .feed-features,
626
+ .wapk-admin .wapk-testimonial,
627
+ .wapk-admin .wapk-feed-banner {
628
+ margin: 0; }
629
+
630
+ .wapk-feed-banner .wapk-banner {
631
+ margin: 0;
632
+ padding: 0; }
admin/css/woo-feed-admin.css CHANGED
@@ -1,1455 +1,1455 @@
1
  /**
2
  * All of the CSS for your admin-specific functionality should be
3
  * included in this file.
4
- */
5
- .wpf_spin {
6
- -webkit-animation: spin 1000ms infinite linear;
7
- animation: spin 1000ms infinite linear; }
8
- .wpf_spin.reverse_spin {
9
- animation-direction: reverse; }
10
-
11
- .wpf_regenerate.disabled {
12
- color: #737373;
13
- box-shadow: none;
14
- cursor: not-allowed; }
15
-
16
- @-webkit-keyframes spin {
17
- 0% {
18
- -webkit-transform: rotate(0deg);
19
- transform: rotate(0deg); }
20
- 100% {
21
- -webkit-transform: rotate(359deg);
22
- transform: rotate(359deg); } }
23
-
24
- @keyframes spin {
25
- 0% {
26
- -webkit-transform: rotate(0deg);
27
- transform: rotate(0deg); }
28
- 100% {
29
- -webkit-transform: rotate(359deg);
30
- transform: rotate(359deg); } }
31
-
32
- .wfbtn {
33
- background: #3498db;
34
- background-image: linear-gradient(125deg, #3cb0fd 0%, #152f8c 140%);
35
- border-radius: 17px;
36
- box-shadow: inset 0 1px 3px #666666;
37
- font-family: Arial, sans-serif;
38
- color: #ffffff;
39
- font-size: 20px;
40
- padding: 10px 20px 10px 20px;
41
- border: solid #2b698f 0px;
42
- text-decoration: none; }
43
- .wfbtn:hover {
44
- background: #3cb0fd;
45
- background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
46
- text-decoration: none; }
47
-
48
- .woo_feed_manage_list_table .wf_update_interval_btn {
49
- background: linear-gradient(125deg, #3cb0fd 0, #152f8c 140%); }
50
- .woo_feed_manage_list_table .wf_update_interval_btn:hover {
51
- background: linear-gradient(125deg, #3cb0fd 0, #152f8c 140%); }
52
-
53
- .woo-feed-promotion {
54
- position: relative;
55
- display: none; }
56
- .woo-feed-promotion .woo-feed-campaign-close-button {
57
- position: absolute;
58
- top: 50%;
59
- -webkit-transform: translateY(-50%);
60
- transform: translateY(-50%);
61
- right: 15px;
62
- width: 24px;
63
- height: 24px;
64
- border-radius: 12px;
65
- background: #595d6b;
66
- line-height: 24px;
67
- color: #fff;
68
- cursor: pointer;
69
- transition: .3s ease; }
70
- .woo-feed-promotion .woo-feed-campaign-close-button:hover {
71
- background: #fff;
72
- color: #d61e48; }
73
-
74
- .wftooltip {
75
- display: none;
76
- position: absolute;
77
- border: 1px solid #333;
78
- background-color: #161616;
79
- border-radius: 5px;
80
- padding: 10px;
81
- color: #fff;
82
- font-size: 12px; }
83
-
84
- .feed-actions .makeFeedResponse {
85
- width: 70%;
86
- color: green; }
87
-
88
- .woo-feed-mapping-input {
89
- width: 100%; }
90
-
91
- .requiredIn {
92
- color: red; }
93
-
94
- .generalInput {
95
- width: 200px; }
96
- .generalInput:not(.selectize-control) {
97
- margin: 5px auto; }
98
-
99
- .error {
100
- color: red; }
101
-
102
- .widefat td select, .widefat td input {
103
- max-width: 100%; }
104
-
105
- #wf_newRow {
106
- margin-left: 0; }
107
-
108
- .mtable tbody tr {
109
- height: 25px;
110
- border: 1px solid #CCC;
111
- text-align: left;
112
- -ms-flex-align: baseline;
113
- align-items: baseline;
114
- font-weight: bold; }
115
-
116
- .mtable th:nth-child(1) {
117
- width: 17px; }
118
-
119
- .mtable th:nth-child(2) {
120
- width: 160px; }
121
-
122
- .mtable th:nth-child(3) {
123
- width: 100px; }
124
-
125
- .mtable th:nth-child(4) {
126
- width: 100px; }
127
-
128
- .mtable th:nth-child(5) {
129
- width: 150px; }
130
-
131
- .mtable th:nth-child(6) {
132
- width: 100px; }
133
-
134
- .mtable th:nth-child(7) {
135
- width: 150px; }
136
-
137
- .mtable th:nth-child(8) {
138
- width: 90px; }
139
-
140
- .mtable th:nth-child(9) {
141
- width: 29px; }
142
-
143
- .mtable2 tbody tr {
144
- height: 25px;
145
- border: 1px solid #CCC;
146
- text-align: left;
147
- -ms-flex-align: baseline;
148
- align-items: baseline;
149
- font-weight: bold; }
150
-
151
- .mtable2 th:nth-child(1) {
152
- width: 30px; }
153
-
154
- .mtable2 th:nth-child(2) {
155
- width: 150px; }
156
-
157
- .mtable2 th:nth-child(3) {
158
- width: 230px; }
159
-
160
- .mtable2 th:nth-child(4) {
161
- width: 220px; }
162
-
163
- .mtable2 th:nth-child(7) {
164
- width: 50px; }
165
-
166
- .mtable2 th:nth-child(8) {
167
- width: 50px; }
168
-
169
- .mtable2 th:nth-child(9) {
170
- width: 29px; }
171
-
172
- .wp-admin select.wf_mattributes {
173
- width: 150px;
174
- left: 0;
175
- height: 25px; }
176
-
177
- div#wf-tab-content1 select:not([name^="output_type"]) {
178
- width: 100%; }
179
-
180
- div#wf-tab-content1 input {
181
- width: 100%; }
182
-
183
- div#wf-tab-content1 .dashicons {
184
- vertical-align: middle; }
185
-
186
- .wf_attributes {
187
- width: 150px;
188
- left: 0; }
189
-
190
- .wf_compare {
191
- max-width: 245px;
192
- left: 0; }
193
-
194
- .wf_ps {
195
- width: 100px;
196
- left: 0; }
197
-
198
- .wf_sortedtable {
199
- cursor: move; }
200
-
201
- .sorted_table {
202
- position: relative; }
203
- .sorted_table .dragged {
204
- position: absolute;
205
- opacity: 0.8;
206
- z-index: 9999;
207
- background: #fff;
208
- width: 100%;
209
- display: table; }
210
- .sorted_table tbody tr.placeholder td {
211
- border: 1px dashed #2cc185;
212
- height: 46px; }
213
-
214
- .wfnoempty {
215
- width: 120px; }
216
-
217
- /*==================Tab Design=======================*/
218
- p {
219
- color: #222; }
220
-
221
- .wf_tabs {
222
- position: relative;
223
- margin: 0 auto;
224
- width: 100%;
225
- list-style: none;
226
- /*bottom: 50px;*/ }
227
-
228
- .wf_tabs:after {
229
- display: table;
230
- clear: both;
231
- content: ""; }
232
-
233
- .wf_tabs li {
234
- float: left;
235
- width: 20%;
236
- display: block;
237
- border: 2px solid #CCC; }
238
-
239
- .wf_tabs li > input[type="radio"][name="wf_tabs"] {
240
- position: absolute;
241
- top: auto;
242
- left: -9999px; }
243
-
244
- .wf-tab-name {
245
- display: block;
246
- padding: 15px;
247
- font-size: 15px;
248
- font-weight: bold;
249
- line-height: 1;
250
- background: #fff;
251
- cursor: pointer;
252
- position: relative;
253
- text-align: center;
254
- text-transform: uppercase;
255
- color: #2CC185; }
256
-
257
- .wf-tab-name:hover {
258
- background: #2CC185;
259
- color: white; }
260
-
261
- .wf_tabs [id^="tab"]:checked + label {
262
- background: #2CC185;
263
- color: white; }
264
-
265
- .wf_tabs .wf-tab-content {
266
- z-index: 2;
267
- display: none;
268
- width: 100%;
269
- font-size: 0.9rem;
270
- position: absolute;
271
- left: 0;
272
- background: #fff;
273
- border: 2px solid #CCC; }
274
-
275
- .wf_tabs [id^="tab"]:checked ~ [id^="wf-tab-content"] {
276
- display: block; }
277
-
278
- [id^="wf-tab-content"] {
279
- margin-bottom: 40px; }
280
-
281
- div#wf-tab-content2 table:first-child {
282
- padding: 10px 0; }
283
-
284
- div#wf-tab-content2 table:first-child td:nth-child(1) {
285
- width: 260px; }
286
-
287
- div#wf-tab-content2 table:first-child td:nth-child(2) {
288
- width: 260px; }
289
-
290
- table.feed-actions tr td:last-child {
291
- text-align: right; }
292
-
293
- /* Selectize */
294
- select.selectize {
295
- display: none; }
296
-
297
- body.no-js select.selectize {
298
- display: block !important; }
299
-
300
- .wp-list-table .option_name .wf_feed_option_name_link {
301
- font-weight: 700;
302
- color: #30336b; }
303
-
304
- .wp-list-table #option_name a {
305
- color: #32373c; }
306
-
307
- /* fallback combat */
308
- .selectize-dropdown .active {
309
- background-color: #edf9ff; }
310
-
311
- .selectize-dropdown .create {
312
- padding: 5px 8px; }
313
-
314
- .wapk-selectize-item {
315
- background: #0073aa !important;
316
- color: #f1f1f1 !important;
317
- font-weight: bold !important;
318
- border-color: #0073aa !important;
319
- padding-left: 5px;
320
- padding-right: 5px; }
321
-
322
- .selectize-input.full #googleTaxonomyId-selectized {
323
- opacity: 0;
324
- position: absolute;
325
- left: -10000px; }
326
-
327
- .selectize-dropdown [data-selectable].option {
328
- cursor: default; }
329
-
330
- .selectize-control.plugin-remove_button [data-value] .remove {
331
- border-left: 1px solid #f1f1f1 !important; }
332
-
333
- .selectize-dropdown .optgroup-header {
334
- font-weight: 700;
335
- background: #efefef;
336
- color: #5a5a5a; }
337
-
338
- .selectize-dropdown [data-selectable].option {
339
- cursor: pointer; }
340
-
341
- /* Feed active and inactive button CSS */
342
- .wf_status_wrap label {
343
- width: 55px;
344
- height: 30px;
345
- box-sizing: border-box;
346
- float: left;
347
- border-radius: 100px;
348
- position: relative;
349
- cursor: pointer;
350
- transition: .3s ease;
351
- background: #d3d3d3; }
352
-
353
- input[class=woo_feed_status_input]:checked + label {
354
- background: #4fbe79; }
355
-
356
- input[class=woo_feed_status_input]:checked + label:before {
357
- left: 29px; }
358
-
359
- .wf_status_wrap label:before {
360
- transition: .3s ease;
361
- content: '';
362
- width: 20px;
363
- height: 20px;
364
- position: absolute;
365
- background: white;
366
- left: 6px;
367
- top: 5px;
368
- box-sizing: border-box;
369
- color: black;
370
- border-radius: 100px;
371
- box-shadow: 0px 1.5px 2px 0px #000; }
372
-
373
- .view span.dashicons.dashicons-external {
374
- color: #30336b; }
375
-
376
- .view span.dashicons.dashicons-sos {
377
- color: #22a6b3; }
378
-
379
- .view span.dashicons.dashicons-download {
380
- color: #ee5253; }
381
-
382
- .view span.dashicons.dashicons-media-code {
383
- color: #576574; }
384
-
385
- /* list table style */
386
- .widefat td.column-url, .widefat th.column-url,
387
- .column-url {
388
- color: #1e8f9a;
389
- font-weight: bold; }
390
-
391
- /** Feed Progress **/
392
- .feed-progress-container {
393
- width: 100%;
394
- color: white;
395
- text-align: center;
396
- font-weight: 300; }
397
-
398
- .feed-progress-bar {
399
- width: 100%;
400
- background: #eee;
401
- padding: 3px;
402
- border-radius: 50px;
403
- box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); }
404
-
405
- .feed-progress-bar-fill {
406
- height: 20px;
407
- display: block;
408
- background: linear-gradient(to right top, #10ac84, #13b389, #15ba8f, #18c194, #1ac89a, #13cba1, #0acfa9, #00d2b0, #00d2ba, #00d2c3, #00d2cb, #00d2d3);
409
- width: 0;
410
- border-radius: 50px;
411
- transition: width 0.8s ease; }
412
-
413
- .feed-progress-status {
414
- float: left;
415
- font-weight: bold;
416
- color: darkblue; }
417
-
418
- .feed-progress-percentage {
419
- text-align: right;
420
- font-weight: bolder;
421
- color: #1dd1a1;
422
- font-family: 'Arial Black', sans-serif;
423
- font-size: large; }
424
-
425
- #wpbody-content.woofeed-body-content {
426
- overflow: visible !important; }
427
-
428
- .clippy {
429
- position: relative;
430
- width: 13px;
431
- margin-top: -3px;
432
- margin-left: 3px;
433
- top: 3px; }
434
-
435
- .column-url .clippy {
436
- display: none; }
437
-
438
- .column-url:hover .clippy {
439
- display: inline-block; }
440
-
441
  /**
442
  * Primer Tooltip
443
- */
444
- .tooltipped {
445
- position: relative; }
446
- .tooltipped:after {
447
- position: absolute;
448
- z-index: 1000000;
449
- display: none;
450
- padding: 5px 8px;
451
- font: normal normal 11px/1.5 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
452
- color: #fff;
453
- text-align: center;
454
- text-decoration: none;
455
- text-shadow: none;
456
- text-transform: none;
457
- letter-spacing: normal;
458
- word-wrap: break-word;
459
- white-space: pre;
460
- pointer-events: none;
461
- content: attr(aria-label);
462
- background: rgba(0, 0, 0, 0.8);
463
- border-radius: 3px;
464
- -webkit-font-smoothing: subpixel-antialiased; }
465
- .tooltipped:before {
466
- position: absolute;
467
- z-index: 1000001;
468
- display: none;
469
- width: 0;
470
- height: 0;
471
- color: rgba(0, 0, 0, 0.8);
472
- pointer-events: none;
473
- content: "";
474
- border: 5px solid transparent; }
475
- .tooltipped:hover:before {
476
- display: inline-block;
477
- text-decoration: none; }
478
- .tooltipped:hover:after {
479
- display: inline-block;
480
- text-decoration: none; }
481
- .tooltipped:active:before {
482
- display: inline-block;
483
- text-decoration: none; }
484
- .tooltipped:active:after {
485
- display: inline-block;
486
- text-decoration: none; }
487
- .tooltipped:focus:before {
488
- display: inline-block;
489
- text-decoration: none; }
490
- .tooltipped:focus:after {
491
- display: inline-block;
492
- text-decoration: none; }
493
- .tooltipped-multiline:hover:after {
494
- display: table-cell; }
495
- .tooltipped-multiline:active:after {
496
- display: table-cell; }
497
- .tooltipped-multiline:focus:after {
498
- display: table-cell; }
499
- .tooltipped-multiline:after {
500
- width: -webkit-max-content;
501
- width: -moz-max-content;
502
- width: max-content;
503
- max-width: 250px;
504
- word-break: break-word;
505
- word-wrap: normal;
506
- white-space: pre-line;
507
- border-collapse: separate; }
508
- .tooltipped-s:after {
509
- top: 100%;
510
- right: 50%;
511
- margin-top: 5px;
512
- -webkit-transform: translateX(50%);
513
- transform: translateX(50%); }
514
- .tooltipped-s:before {
515
- top: auto;
516
- right: 50%;
517
- bottom: -5px;
518
- margin-right: -5px;
519
- border-bottom-color: rgba(0, 0, 0, 0.8); }
520
- .tooltipped-se:after {
521
- top: 100%;
522
- margin-top: 5px;
523
- right: auto;
524
- left: 50%;
525
- margin-left: -15px; }
526
- .tooltipped-se:before {
527
- top: auto;
528
- right: 50%;
529
- bottom: -5px;
530
- margin-right: -5px;
531
- border-bottom-color: rgba(0, 0, 0, 0.8); }
532
- .tooltipped-sw:after {
533
- top: 100%;
534
- right: 50%;
535
- margin-top: 5px;
536
- margin-right: -15px; }
537
- .tooltipped-sw:before {
538
- top: auto;
539
- right: 50%;
540
- bottom: -5px;
541
- margin-right: -5px;
542
- border-bottom-color: rgba(0, 0, 0, 0.8); }
543
- .tooltipped-n:after {
544
- right: 50%;
545
- bottom: 100%;
546
- margin-bottom: 5px;
547
- -webkit-transform: translateX(50%);
548
- transform: translateX(50%); }
549
- .tooltipped-n:before {
550
- top: -5px;
551
- right: 50%;
552
- bottom: auto;
553
- margin-right: -5px;
554
- border-top-color: rgba(0, 0, 0, 0.8); }
555
- .tooltipped-ne:after {
556
- bottom: 100%;
557
- margin-bottom: 5px;
558
- right: auto;
559
- left: 50%;
560
- margin-left: -15px; }
561
- .tooltipped-ne:before {
562
- top: -5px;
563
- right: 50%;
564
- bottom: auto;
565
- margin-right: -5px;
566
- border-top-color: rgba(0, 0, 0, 0.8); }
567
- .tooltipped-nw:after {
568
- right: 50%;
569
- bottom: 100%;
570
- margin-bottom: 5px;
571
- margin-right: -15px; }
572
- .tooltipped-nw:before {
573
- top: -5px;
574
- right: 50%;
575
- bottom: auto;
576
- margin-right: -5px;
577
- border-top-color: rgba(0, 0, 0, 0.8); }
578
- .tooltipped-w:after {
579
- right: 100%;
580
- bottom: 50%;
581
- margin-right: 5px;
582
- -webkit-transform: translateY(50%);
583
- transform: translateY(50%); }
584
- .tooltipped-w:before {
585
- top: 50%;
586
- bottom: 50%;
587
- left: -5px;
588
- margin-top: -5px;
589
- border-left-color: rgba(0, 0, 0, 0.8); }
590
- .tooltipped-e:after {
591
- bottom: 50%;
592
- left: 100%;
593
- margin-left: 5px;
594
- -webkit-transform: translateY(50%);
595
- transform: translateY(50%); }
596
- .tooltipped-e:before {
597
- top: 50%;
598
- right: -5px;
599
- bottom: 50%;
600
- margin-top: -5px;
601
- border-right-color: rgba(0, 0, 0, 0.8); }
602
- .tooltipped-multiline.tooltipped-s:after {
603
- right: auto;
604
- left: 50%;
605
- -webkit-transform: translateX(-50%);
606
- transform: translateX(-50%); }
607
- .tooltipped-multiline.tooltipped-n:after {
608
- right: auto;
609
- left: 50%;
610
- -webkit-transform: translateX(-50%);
611
- transform: translateX(-50%); }
612
- .tooltipped-multiline.tooltipped-w:after {
613
- right: 100%; }
614
- .tooltipped-multiline.tooltipped-e:after {
615
- right: 100%; }
616
- .tooltipped-sticky:before {
617
- display: inline-block; }
618
- .tooltipped-sticky:after {
619
- display: inline-block; }
620
- .tooltipped-sticky.tooltipped-multiline:after {
621
- display: table-cell; }
622
-
623
- .fullscreen-overlay-enabled.dark-theme .tooltipped:after {
624
- color: #000;
625
- background: rgba(255, 255, 255, 0.8); }
626
-
627
- .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before {
628
- border-bottom-color: rgba(255, 255, 255, 0.8); }
629
-
630
- .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before {
631
- border-bottom-color: rgba(255, 255, 255, 0.8); }
632
-
633
- .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before {
634
- border-bottom-color: rgba(255, 255, 255, 0.8); }
635
-
636
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before {
637
- border-top-color: rgba(255, 255, 255, 0.8); }
638
-
639
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before {
640
- border-top-color: rgba(255, 255, 255, 0.8); }
641
-
642
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before {
643
- border-top-color: rgba(255, 255, 255, 0.8); }
644
-
645
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before {
646
- border-right-color: rgba(255, 255, 255, 0.8); }
647
-
648
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before {
649
- border-left-color: rgba(255, 255, 255, 0.8); }
650
-
651
- @media screen and (min-width: 0\0) {
652
- .tooltipped-multiline:after {
653
- width: 250px; } }
654
-
655
- ul.tracker_collection_list {
656
- list-style: initial;
657
- padding: initial;
658
- margin: -10px 0 0 30px;
659
- font-size: 11px !important; }
660
- ul.tracker_collection_list li {
661
- margin: 0; }
662
-
663
- /** Info Message Table **/
664
- table.wf-info-table, table.wf-rate-table {
665
- vertical-align: middle;
666
- text-align: center;
667
- max-width: 100%;
668
- font-weight: 500; }
669
- table.wf-info-table th, table.wf-rate-table th {
670
- text-align: center; }
671
- table.wf-info-table th .woo-feed-top-header, table.wf-rate-table th .woo-feed-top-header {
672
- display: -ms-flexbox;
673
- display: flex;
674
- -ms-flex-pack: justify;
675
- justify-content: space-between;
676
- -ms-flex-align: center;
677
- align-items: center; }
678
- table.wf-info-table th .woo-feed-top-header .get-woo-feed-pro, table.wf-rate-table th .woo-feed-top-header .get-woo-feed-pro {
679
- margin-left: 20px; }
680
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons {
681
- float: right;
682
- display: -ms-flexbox;
683
- display: flex;
684
- border-radius: 7px;
685
- -ms-flex-pack: center;
686
- justify-content: center;
687
- -ms-flex-align: center;
688
- align-items: center; }
689
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a {
690
- padding: 8px 20px;
691
- background: #576574;
692
- color: #fff;
693
- box-sizing: border-box;
694
- display: inline-block;
695
- transition: .3s ease; }
696
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-doc-link, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-doc-link {
697
- background: #576574;
698
- border-top-left-radius: 5px;
699
- border-bottom-left-radius: 5px; }
700
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-video-link, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-video-link {
701
- background: #ee5253; }
702
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-support-link, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-support-link {
703
- background: #22a6b3;
704
- border-top-right-radius: 5px;
705
- border-bottom-right-radius: 5px; }
706
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a span.dashicons, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a span.dashicons {
707
- font-size: 18px;
708
- line-height: 1.2; }
709
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a:hover, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a:hover {
710
- background: #30336b;
711
- box-shadow: 0px 0px 33px 0px rgba(0, 0, 0, 0.12); }
712
- table.wf-info-table strong, table.wf-rate-table strong {
713
- font-weight: bold; }
714
-
715
- table.wf-info-table th:first-child img {
716
- margin: 0 0 -5px 5px; }
717
-
718
- table.wf-rate-table a {
719
- color: #0073aa; }
720
-
721
- table.wf-rate-table a.review-star:after {
722
- content: "\f155\f155\f155\f155\f155" !important;
723
- font-family: dashicons;
724
- font-size: 10px;
725
- font-weight: 100;
726
- text-rendering: auto;
727
- -webkit-font-smoothing: antialiased;
728
- -moz-osx-font-smoothing: grayscale;
729
- color: #0073aa;
730
- text-decoration: underline; }
731
-
732
- /** Admin Menu Icon **/
733
- #adminmenu #toplevel_page_webappick-manage-feeds div.wp-menu-image::before {
734
- content: "";
735
- background: url(../images/woo-feed-icon.svg) no-repeat center center;
736
- background-size: 20px 20px;
737
- opacity: 0.6;
738
- filter: alpha(opacity=60); }
739
-
740
- #adminmenu #toplevel_page_webappick-manage-feeds:hover div.wp-menu-image::before {
741
- opacity: 1;
742
- filter: alpha(opacity=100); }
743
-
744
- #adminmenu #toplevel_page_webappick-manage-feeds.wp-has-current-submenu div.wp-menu-image::before {
745
- opacity: 1;
746
- filter: alpha(opacity=100); }
747
-
748
- /** Admin Page Wrapper **/
749
- .wapk-admin, .wapk-admin * {
750
- box-sizing: border-box; }
751
-
752
- .wapk-admin {
753
- position: relative;
754
- display: block;
755
- -webkit-hyphens: manual;
756
- -ms-hyphens: manual;
757
- -moz-hyphens: manual;
758
- hyphens: manual;
759
- color: #1B2730;
760
- /* reset .warp margin to use full width except menu area */
761
- margin: 0 0 0 -10px; }
762
-
763
- @media screen and (min-width: 783px) {
764
- .wapk-admin {
765
- margin: 0 0 0 -20px; } }
766
-
767
- .text-center {
768
- text-align: center; }
769
-
770
- .wapk-admin h1, .wapk-admin h2, .wapk-admin h3,
771
- .wapk-admin h4, .wapk-admin h5, .wapk-admin h6,
772
- .wapk-admin p {
773
- color: #1B2730; }
774
-
775
- .wapk-admin sup {
776
- vertical-align: baseline;
777
- position: relative;
778
- top: -6px; }
779
-
780
- .wapk-admin sub {
781
- vertical-align: baseline;
782
- position: relative;
783
- top: 4px; }
784
-
785
- /* WP.Core.UI Compat */
786
- .wapk-admin .wapk-section {
787
- margin: 10px 20px 0 22px;
788
- position: relative;
789
- display: block; }
790
- .wapk-admin .wapk-section [class$=icon32] + h2 {
791
- font-size: 23px;
792
- font-weight: 400;
793
- margin: 0;
794
- padding: 9px 0 4px 0;
795
- line-height: 1.3; }
796
- .wapk-admin .wapk-section h1 {
797
- font-size: 23px;
798
- font-weight: 400;
799
- margin: 0;
800
- padding: 9px 0 4px 0;
801
- line-height: 1.3; }
802
- .wapk-admin .wapk-section > h2:first-child {
803
- font-size: 23px;
804
- font-weight: 400;
805
- margin: 0;
806
- padding: 9px 0 4px 0;
807
- line-height: 1.3; }
808
-
809
- .wapk-admin > .notice {
810
- margin: 10px 20px 0 22px;
811
- position: relative;
812
- display: block; }
813
-
814
- .wapk-admin span.help {
815
- display: block;
816
- float: left;
817
- width: 100%;
818
- font-size: 0.9em;
819
- color: #636363;
820
- margin-top: 5px;
821
- font-weight: 500; }
822
- .wapk-admin span.help .dashicons {
823
- width: 11px;
824
- height: 12px;
825
- font-size: inherit;
826
- vertical-align: middle; }
827
-
828
- .clear:after {
829
- content: "";
830
- display: table;
831
- clear: both; }
832
-
833
- /*.wapk-admin .help a { color: inherit; text-decoration: underline; }*/
834
- /** Extend WP Core UI PostBox For Docs **/
835
- .wapk-feed-docs .postbox {
836
- width: 355px;
837
- margin-right: 20px;
838
- display: inline-block;
839
- vertical-align: top; }
840
- .wapk-feed-docs .postbox .hndle {
841
- font-size: 14px;
842
- padding: 8px 12px;
843
- margin: 0;
844
- line-height: 1.4;
845
- cursor: pointer; }
846
- .wapk-feed-docs .postbox .dashicons {
847
- color: #ccc; }
848
- .wapk-feed-docs .postbox a {
849
- text-decoration: none; }
850
- .wapk-feed-docs .postbox .inside {
851
- margin-bottom: 0; }
852
- .wapk-feed-docs .postbox ul {
853
- margin-bottom: 0; }
854
- .wapk-feed-docs .postbox .toggle-indicator:before {
855
- content: "\F142";
856
- display: inline-block;
857
- font: 400 20px/1 dashicons;
858
- speak: none;
859
- -webkit-font-smoothing: antialiased;
860
- -moz-osx-font-smoothing: grayscale;
861
- text-decoration: none !important; }
862
- .wapk-feed-docs .postbox li {
863
- width: 100%;
864
- display: block;
865
- float: left; }
866
- .wapk-feed-docs .postbox li span {
867
- display: inline-block;
868
- float: left;
869
- margin-right: 4px; }
870
- .wapk-feed-docs .postbox li a {
871
- display: inline-block;
872
- float: left;
873
- width: calc(100% - 24px); }
874
-
875
- .wapk-feed-docs .postbox.closed .toggle-indicator:before {
876
- content: "\F140"; }
877
-
878
- .wapk-section #post-body.columns-2 #side-sortables {
879
- min-height: 196px; }
880
-
881
- #poststuff #feed_merchant_info .inside {
882
- margin: 0;
883
- padding: 0; }
884
-
885
- #feed_merchant_info ul.data {
886
- margin-left: 24px;
887
- margin-top: 5px; }
888
- #feed_merchant_info ul.data li {
889
- margin-bottom: 5px; }
890
-
891
- .merchant-info-section {
892
- padding: 6px 10px 8px; }
893
-
894
- .generateFeed .wf-tab-content table:first-child {
895
- border: none;
896
- box-shadow: none; }
897
-
898
- .generateFeed table th {
899
- font-weight: bold; }
900
-
901
- @media only screen and (max-width: 850px) {
902
- .wapk-feed-docs .postbox {
903
- display: block;
904
- width: auto;
905
- float: none;
906
- margin-right: auto; } }
907
-
908
- /** Admin Feed Help Docs **/
909
- .wp-submenu li span.woo-feed-docs {
910
- font-weight: bold;
911
- color: #f18500; }
912
-
913
- .wp-submenu li:hover span.woo-feed-docs {
914
- color: #ce7304; }
915
-
916
- .wp-submenu li.current span.woo-feed-docs {
917
- color: #ce7304; }
918
-
919
- .wapk-admin .wapk-feed-docs .postbox .hndle {
920
- cursor: default; }
921
-
922
- /** Admin Call-To-Action **/
923
- .wapk-cta {
924
- position: relative;
925
- display: -ms-flexbox;
926
- display: flex;
927
- width: 100%;
928
- padding: 100px 15px;
929
- background: linear-gradient(45deg, #6CD5FF 33%, #c2efef 100%);
930
- -ms-flex-pack: center;
931
- justify-content: center;
932
- -ms-flex-align: center;
933
- align-items: center; }
934
- .wapk-cta-icon .dashicons {
935
- font-size: 100px;
936
- width: 100px;
937
- height: auto;
938
- margin: 0 10px -8px 0;
939
- color: #02658c; }
940
- .wapk-cta-content {
941
- width: 50%; }
942
- .wapk-cta-content h2 {
943
- font-size: 2em;
944
- margin: 0.5em 0; }
945
- .wapk-cta-action a.wapk-button {
946
- font-size: 24px;
947
- height: auto !important;
948
- padding: 10px 20px; }
949
-
950
- @media (max-width: 600px) {
951
- .wapk-cta {
952
- display: block;
953
- text-align: center;
954
- padding: 4em 0; }
955
- .wapk-cta-content {
956
- width: 100%;
957
- margin: 2em 0; } }
958
-
959
- /** Override .wp-core-ui .wapk-button styles with prefix .wapk-admin **/
960
- /* Button Skin */
961
- .wapk-button {
962
- color: #00D4D4;
963
- border-color: #00D4D4;
964
- display: inline-block;
965
- text-decoration: none;
966
- font-size: 13px;
967
- line-height: 2.15384615;
968
- min-height: 30px;
969
- margin: 0;
970
- padding: 0 10px;
971
- cursor: pointer;
972
- border-width: 1px;
973
- border-style: solid;
974
- -webkit-appearance: none;
975
- border-radius: 3px;
976
- white-space: nowrap;
977
- box-sizing: border-box; }
978
- .wapk-button > svg {
979
- width: 15px;
980
- margin-left: 5px;
981
- fill: #00D4D4; }
982
- .wapk-button > .dashicons {
983
- color: #00D4D4; }
984
- .wapk-button:hover {
985
- border-color: #00bbbb;
986
- color: #00bbbb; }
987
- .wapk-button:hover > svg {
988
- fill: #00bbbb; }
989
- .wapk-button:hover > .dashicons {
990
- color: #00bbbb; }
991
- .wapk-button:focus {
992
- border-color: #00D4D4;
993
- color: #00bbbb;
994
- box-shadow: 0 0 0 1px #00D4D4; }
995
- .wapk-button:focus > svg {
996
- fill: #00bbbb; }
997
- .wapk-button:focus > .dashicons {
998
- color: #00bbbb; }
999
- .wapk-button:active {
1000
- background: #00bbbb;
1001
- border-color: #00bbbb; }
1002
- .wapk-button-secondary {
1003
- color: #00D4D4;
1004
- border-color: #00D4D4;
1005
- display: inline-block;
1006
- text-decoration: none;
1007
- font-size: 13px;
1008
- line-height: 2.15384615;
1009
- min-height: 30px;
1010
- margin: 0;
1011
- padding: 0 10px;
1012
- cursor: pointer;
1013
- border-width: 1px;
1014
- border-style: solid;
1015
- -webkit-appearance: none;
1016
- border-radius: 3px;
1017
- white-space: nowrap;
1018
- box-sizing: border-box; }
1019
- .wapk-button-secondary > svg {
1020
- width: 15px;
1021
- margin-left: 5px;
1022
- fill: #00D4D4; }
1023
- .wapk-button-secondary > .dashicons {
1024
- color: #00D4D4; }
1025
- .wapk-button-secondary:hover {
1026
- border-color: #00bbbb;
1027
- color: #00bbbb; }
1028
- .wapk-button-secondary:hover > svg {
1029
- fill: #00bbbb; }
1030
- .wapk-button-secondary:hover > .dashicons {
1031
- color: #00bbbb; }
1032
- .wapk-button-secondary:focus {
1033
- border-color: #00D4D4;
1034
- color: #00bbbb;
1035
- box-shadow: 0 0 0 1px #00D4D4; }
1036
- .wapk-button-secondary:focus > svg {
1037
- fill: #00bbbb; }
1038
- .wapk-button-secondary:focus > .dashicons {
1039
- color: #00bbbb; }
1040
- .wapk-button-primary {
1041
- display: inline-block;
1042
- text-decoration: none;
1043
- font-size: 13px;
1044
- line-height: 2.15384615;
1045
- min-height: 30px;
1046
- margin: 0;
1047
- padding: 0 10px;
1048
- cursor: pointer;
1049
- border-width: 1px;
1050
- border-style: solid;
1051
- -webkit-appearance: none;
1052
- border-radius: 3px;
1053
- white-space: nowrap;
1054
- box-sizing: border-box;
1055
- background: #00D4D4;
1056
- border-color: #00D4D4;
1057
- color: #fff;
1058
- box-shadow: 0 1px 0 #00bbbb;
1059
- text-shadow: 0 -1px 1px #00bbbb, 1px 0 1px #00bbbb, 0 1px 1px #00bbbb, -1px 0 1px #00bbbb; }
1060
- .wapk-button-primary > svg {
1061
- fill: #fff; }
1062
- .wapk-button-primary:hover {
1063
- background: #00e3e3;
1064
- border-color: #00c5c5;
1065
- color: #fff; }
1066
- .wapk-button-primary:hover > svg {
1067
- fill: #fff; }
1068
- .wapk-button-primary:focus {
1069
- background: #00e3e3;
1070
- border-color: #00c5c5;
1071
- color: #fff;
1072
- box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00D4D4; }
1073
- .wapk-button-primary:focus > svg {
1074
- fill: #fff; }
1075
- .wapk-button-primary:active {
1076
- background: #00bbbb;
1077
- border-color: #00bbbb;
1078
- color: #fff; }
1079
- .wapk-button-primary:active > svg {
1080
- fill: #fff; }
1081
- .wapk-button-primary:disabled {
1082
- color: #c7d1d1 !important;
1083
- background: #22ffff !important;
1084
- border-color: #22ffff !important;
1085
- text-shadow: none !important; }
1086
- .wapk-button-primary:disabled > svg {
1087
- fill: #c7d1d1 !important; }
1088
- .wapk-button.hover {
1089
- border-color: #00bbbb;
1090
- color: #00bbbb; }
1091
- .wapk-button.hover > svg {
1092
- fill: #00bbbb; }
1093
- .wapk-button.hover > .dashicons {
1094
- color: #00bbbb; }
1095
- .wapk-button.focus {
1096
- border-color: #00D4D4;
1097
- color: #00bbbb;
1098
- box-shadow: 0 0 0 1px #00D4D4; }
1099
- .wapk-button.focus > svg {
1100
- fill: #00bbbb; }
1101
- .wapk-button.focus > .dashicons {
1102
- color: #00bbbb; }
1103
- .wapk-button.active {
1104
- border-color: #00bbbb;
1105
- color: #00bbbb;
1106
- box-shadow: inset 0 2px 5px -3px #00bbbb; }
1107
- .wapk-button.active:focus {
1108
- border-color: #00bbbb;
1109
- color: #00bbbb;
1110
- box-shadow: inset 0 2px 5px -3px #00bbbb; }
1111
- .wapk-button.active:focus > svg {
1112
- fill: #00bbbb; }
1113
- .wapk-button.active:focus > .dashicons {
1114
- color: #00bbbb; }
1115
- .wapk-button.active:hover {
1116
- border-color: #00bbbb;
1117
- color: #00bbbb;
1118
- box-shadow: inset 0 2px 5px -3px #00bbbb; }
1119
- .wapk-button.active:hover > svg {
1120
- fill: #00bbbb; }
1121
- .wapk-button.active:hover > .dashicons {
1122
- color: #00bbbb; }
1123
- .wapk-button.active > svg {
1124
- fill: #00bbbb; }
1125
- .wapk-button.active > .dashicons {
1126
- color: #00bbbb; }
1127
- .wapk-button-primary.active {
1128
- background: #00D4D4;
1129
- color: #fff;
1130
- border-color: #008888;
1131
- box-shadow: inset 0 2px 5px -3px black; }
1132
- .wapk-button-primary.active:focus {
1133
- background: #00D4D4;
1134
- color: #fff;
1135
- border-color: #008888;
1136
- box-shadow: inset 0 2px 5px -3px black; }
1137
- .wapk-button-primary.active:focus > svg {
1138
- fill: #fff; }
1139
- .wapk-button-primary.active:hover {
1140
- background: #00D4D4;
1141
- color: #fff;
1142
- border-color: #008888;
1143
- box-shadow: inset 0 2px 5px -3px black; }
1144
- .wapk-button-primary.active:hover > svg {
1145
- fill: #fff; }
1146
- .wapk-button-primary.active > svg {
1147
- fill: #fff; }
1148
- .wapk-button-primary[disabled] {
1149
- color: #c7d1d1 !important;
1150
- background: #22ffff !important;
1151
- border-color: #22ffff !important;
1152
- text-shadow: none !important; }
1153
- .wapk-button-primary[disabled] > svg {
1154
- fill: #c7d1d1 !important; }
1155
- .wapk-button-primary.wapk-button-primary-disabled {
1156
- color: #c7d1d1 !important;
1157
- background: #22ffff !important;
1158
- border-color: #22ffff !important;
1159
- text-shadow: none !important; }
1160
- .wapk-button-primary.wapk-button-primary-disabled > svg {
1161
- fill: #c7d1d1 !important; }
1162
- .wapk-button-primary.disabled {
1163
- color: #c7d1d1 !important;
1164
- background: #22ffff !important;
1165
- border-color: #22ffff !important;
1166
- text-shadow: none !important; }
1167
- .wapk-button-primary.disabled > svg {
1168
- fill: #c7d1d1 !important; }
1169
- .wapk-button-primary.wapk-button-hero {
1170
- box-shadow: 0 2px 0 #00bbbb; }
1171
- .wapk-button-primary.wapk-button-hero:focus {
1172
- box-shadow: 0 2px 0 #00bbbb, 0 1px 0 #00c5c5, 0 0 2px 1px #00eeee; }
1173
- .wapk-button-primary.wapk-button-hero:active {
1174
- box-shadow: inset 0 3px 0 #00a1a1; }
1175
- .wapk-button-primary.wapk-button-hero.active {
1176
- box-shadow: inset 0 3px 0 #00a1a1; }
1177
- .wapk-button-primary.wapk-button-hero.active:hover, .wapk-button-primary.wapk-button-hero.active:focus {
1178
- box-shadow: inset 0 3px 0 #00a1a1; }
1179
- .wapk-button-group > .wapk-button.active {
1180
- border-color: #00D4D4; }
1181
-
1182
- /* Button Sizes */
1183
- .wapk-button.wapk-button-xl {
1184
- height: 30px;
1185
- line-height: 28px;
1186
- padding: 0 12px 2px; }
1187
-
1188
- .wapk-button-group.wapk-button-xl .wapk-button {
1189
- height: 30px;
1190
- line-height: 28px;
1191
- padding: 0 12px 2px; }
1192
-
1193
- .wapk-button.wapk-button-hero {
1194
- font-size: 18px;
1195
- height: 50px;
1196
- line-height: 48px;
1197
- padding: 0 36px;
1198
- min-height: 46px; }
1199
-
1200
- .wapk-button-group.wapk-button-hero .wapk-button {
1201
- font-size: 18px;
1202
- height: 50px;
1203
- line-height: 48px;
1204
- padding: 0 36px;
1205
- min-height: 46px; }
1206
-
1207
- @media screen and (min-width: 782px) {
1208
- th#status,
1209
- th#provider {
1210
- width: 80px; }
1211
- th#type {
1212
- width: 50px; }
1213
- th#option_name {
1214
- width: 100px; }
1215
- td.option_name.column-option_name > span:first-child {
1216
- display: none; }
1217
- th#last_updated {
1218
- width: 90px; }
1219
- th#view {
1220
- width: 111px; } }
1221
-
1222
- @media screen and (min-width: 960px) {
1223
- th#status, th#provider {
1224
- width: 100px; }
1225
- th#type {
1226
- width: 80px; }
1227
- th#option_name {
1228
- width: 150px; }
1229
- th#last_updated {
1230
- width: 140px; } }
1231
-
1232
- @media screen and (max-width: 782px) {
1233
- table.wf-info-table {
1234
- margin-top: 10px; }
1235
- table.wf-info-table th:first-child img {
1236
- margin: 0 auto;
1237
- display: block; }
1238
- .wapk-button.wapk-button-xl {
1239
- padding: 6px 14px;
1240
- line-height: normal;
1241
- font-size: 14px;
1242
- vertical-align: middle;
1243
- height: auto;
1244
- margin-bottom: 4px; } }
1245
-
1246
- .wapk-feed-docs .wapk-feed-cta {
1247
- margin: 0; }
1248
-
1249
- .campaign_configurator {
1250
- background: #FFF;
1251
- padding: 20px 0; }
1252
- .campaign_configurator table {
1253
- margin: 0 auto;
1254
- width: 51%;
1255
- min-width: 574px;
1256
- border: none;
1257
- box-shadow: none; }
1258
- .campaign_configurator th {
1259
- min-width: 120px; }
1260
-
1261
- @media screen and (max-width: 782px) {
1262
- .campaign_configurator {
1263
- padding: 0; }
1264
- .campaign_configurator table {
1265
- width: auto;
1266
- min-width: auto;
1267
- max-width: 100%; }
1268
- .campaign_configurator th {
1269
- min-width: auto; } }
1270
-
1271
- #wf-tab-content-config td > input:not([type="checkbox"]):not([type="radio"]),
1272
- #wf-tab-content-config td > select,
1273
- #wf-tab-content-config td > textarea {
1274
- width: 100% !important; }
1275
-
1276
- .woo-feed-filters td > div:nth-child(2n):not(.clear):not(.selectize) {
1277
- width: 120px;
1278
- display: block; }
1279
-
1280
- .woo-feed-filters td > div:not(.clear) {
1281
- float: left;
1282
- margin-right: 10px; }
1283
-
1284
- .woo-feed-filters tr > td:first-child {
1285
- width: 290px;
1286
- padding-left: 40px; }
1287
-
1288
- .woo-feed-filters,
1289
- .woo-feed-ftp {
1290
- margin: 15px auto 25px; }
1291
-
1292
- .wf_clean_cache_wrapper {
1293
- display: -ms-flexbox;
1294
- display: flex;
1295
- margin-left: auto; }
1296
-
1297
- @-webkit-keyframes LoaderClockWise {
1298
- from {
1299
- -webkit-transform: rotate(0deg);
1300
- transform: rotate(0deg); }
1301
- to {
1302
- -webkit-transform: rotate(360deg);
1303
- transform: rotate(360deg); } }
1304
-
1305
- @keyframes LoaderClockWise {
1306
- from {
1307
- -webkit-transform: rotate(0deg);
1308
- transform: rotate(0deg); }
1309
- to {
1310
- -webkit-transform: rotate(360deg);
1311
- transform: rotate(360deg); } }
1312
-
1313
- .woo-feed-cache-loader {
1314
- width: 18px;
1315
- margin-right: 5px;
1316
- animation: LoaderClockWise 1s linear infinite;
1317
- -webkit-animation: LoaderClockWise 1s linear infinite;
1318
- display: none; }
1319
-
1320
- .woo-feed-table-heading .woo-feed-table-heading-title {
1321
- float: left;
1322
- margin-right: auto;
1323
- display: inline-block;
1324
- line-height: 30px; }
1325
-
1326
- .woo-feed-table-heading .wf_clean_cache_wrapper {
1327
- float: right;
1328
- font-weight: normal; }
1329
-
1330
- .wf_clean_cache_wrapper button {
1331
- background: linear-gradient(125deg, #eb4d4b 0, #FF9671 130%);
1332
- color: #fff;
1333
- border: none;
1334
- font-weight: 500;
1335
- display: inline-block;
1336
- text-decoration: none;
1337
- font-size: 13px;
1338
- line-height: 2.15384615;
1339
- min-height: 30px;
1340
- margin: 0;
1341
- padding: 0 10px;
1342
- border-radius: 3px;
1343
- cursor: pointer;
1344
- outline: none; }
1345
-
1346
- .wf_clean_cache_wrapper button:hover {
1347
- background: #ff7979;
1348
- color: #fff; }
1349
-
1350
- input[type="submit"][data-id="wf_action_submit"] {
1351
- background: linear-gradient(125deg, #3cb0fd 0, #152f8c 140%);
1352
- color: #fff;
1353
- border: 1px;
1354
- padding: 0 20px; }
1355
- input[type="submit"][data-id="wf_action_submit"]:hover {
1356
- background: linear-gradient(125deg, #3cb0fd 0, #152f8c 140%);
1357
- color: #fff; }
1358
-
1359
- #TB_window {
1360
- width: 500px !important; }
1361
- #TB_window #TB_title {
1362
- border: none;
1363
- background: #fff;
1364
- text-align: center;
1365
- display: -ms-flexbox;
1366
- display: flex;
1367
- -ms-flex-pack: center;
1368
- justify-content: center;
1369
- -ms-flex-align: center;
1370
- align-items: center;
1371
- height: 35px !important; }
1372
- #TB_window #TB_title #TB_ajaxWindowTitle {
1373
- color: #30336b;
1374
- font-weight: 700; }
1375
- #TB_window #TB_closeWindowButton {
1376
- top: -14.5px;
1377
- right: -14.5px;
1378
- border: none;
1379
- outline: 0; }
1380
- #TB_window #TB_closeWindowButton .tb-close-icon {
1381
- background: #ff5e55;
1382
- color: #fff;
1383
- border-radius: 50%; }
1384
- #TB_window #TB_closeWindowButton:focus {
1385
- outline: 0;
1386
- border: 0; }
1387
- #TB_window #TB_ajaxContent {
1388
- position: relative;
1389
- width: 100% !important;
1390
- height: auto !important;
1391
- border: none;
1392
- box-sizing: border-box;
1393
- overflow: hidden;
1394
- background: #f7fcff;
1395
- padding: 30px 20px; }
1396
- #TB_window #TB_ajaxContent:before {
1397
- content: '';
1398
- width: 115%;
1399
- display: block;
1400
- background: #4bcffa;
1401
- position: absolute;
1402
- height: 130%;
1403
- z-index: 0;
1404
- left: -36%;
1405
- top: -85px;
1406
- -webkit-transform: rotate(115deg);
1407
- transform: rotate(115deg); }
1408
- #TB_window #TB_ajaxContent table {
1409
- border: none;
1410
- position: relative;
1411
- z-index: 1;
1412
- border-radius: 3px;
1413
- text-align: center;
1414
- padding: 20px;
1415
- box-shadow: 0px 12px 20px -17px #000; }
1416
- #TB_window #TB_ajaxContent table input {
1417
- width: 60%; }
1418
- #TB_window #TB_ajaxContent table input:focus {
1419
- outline: 2px solid #68B8F7; }
1420
- #TB_window #TB_ajaxContent table input[type="file"] {
1421
- padding: 3px 0;
1422
- cursor: pointer; }
1423
- #TB_window #TB_ajaxContent table input[type="text"] {
1424
- border-radius: 25px;
1425
- font-size: 14px;
1426
- padding: 1px 20px;
1427
- text-align: center; }
1428
- #TB_window #TB_ajaxContent table input[type="submit"] {
1429
- background: #17c0eb;
1430
- border-radius: 25px;
1431
- border: 0;
1432
- box-shadow: 1px 4px 7px -3px #45364A;
1433
- font-weight: 600;
1434
- transition: .3s ease; }
1435
- #TB_window #TB_ajaxContent table input[type="submit"]:hover {
1436
- -webkit-transform: translateY(-2px);
1437
- transform: translateY(-2px); }
1438
-
1439
- /* Status Page Style */
1440
- .woo-feed-status-table-wrapper .woo-feed-status-table {
1441
- width: 100%;
1442
- max-width: 900px;
1443
- border-collapse: collapse;
1444
- border-spacing: 0.5rem;
1445
- box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); }
1446
- .woo-feed-status-table-wrapper .woo-feed-status-table tr:nth-child(even) {
1447
- background: #f1f1f1; }
1448
- .woo-feed-status-table-wrapper .woo-feed-status-table tr:nth-child(odd) {
1449
- background: #fafafc; }
1450
- .woo-feed-status-table-wrapper .woo-feed-status-table tr th {
1451
- background: #353b48;
1452
- color: #fff; }
1453
- .woo-feed-status-table-wrapper .woo-feed-status-table tr th, .woo-feed-status-table-wrapper .woo-feed-status-table tr td {
1454
- padding: 0.5rem 20px;
1455
- text-align: left; }
1
  /**
2
  * All of the CSS for your admin-specific functionality should be
3
  * included in this file.
4
+ */
5
+ .wpf_spin {
6
+ -webkit-animation: spin 1000ms infinite linear;
7
+ animation: spin 1000ms infinite linear; }
8
+ .wpf_spin.reverse_spin {
9
+ animation-direction: reverse; }
10
+
11
+ .wpf_regenerate.disabled {
12
+ color: #737373;
13
+ box-shadow: none;
14
+ cursor: not-allowed; }
15
+
16
+ @-webkit-keyframes spin {
17
+ 0% {
18
+ -webkit-transform: rotate(0deg);
19
+ transform: rotate(0deg); }
20
+ 100% {
21
+ -webkit-transform: rotate(359deg);
22
+ transform: rotate(359deg); } }
23
+
24
+ @keyframes spin {
25
+ 0% {
26
+ -webkit-transform: rotate(0deg);
27
+ transform: rotate(0deg); }
28
+ 100% {
29
+ -webkit-transform: rotate(359deg);
30
+ transform: rotate(359deg); } }
31
+
32
+ .wfbtn {
33
+ background: #3498db;
34
+ background-image: linear-gradient(125deg, #3cb0fd 0%, #152f8c 140%);
35
+ border-radius: 17px;
36
+ box-shadow: inset 0 1px 3px #666666;
37
+ font-family: Arial, sans-serif;
38
+ color: #ffffff;
39
+ font-size: 20px;
40
+ padding: 10px 20px 10px 20px;
41
+ border: solid #2b698f 0px;
42
+ text-decoration: none; }
43
+ .wfbtn:hover {
44
+ background: #3cb0fd;
45
+ background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
46
+ text-decoration: none; }
47
+
48
+ .woo_feed_manage_list_table .wf_update_interval_btn {
49
+ background: linear-gradient(125deg, #3cb0fd 0, #152f8c 140%); }
50
+ .woo_feed_manage_list_table .wf_update_interval_btn:hover {
51
+ background: linear-gradient(125deg, #3cb0fd 0, #152f8c 140%); }
52
+
53
+ .woo-feed-promotion {
54
+ position: relative;
55
+ display: none; }
56
+ .woo-feed-promotion .woo-feed-campaign-close-button {
57
+ position: absolute;
58
+ top: 50%;
59
+ -webkit-transform: translateY(-50%);
60
+ transform: translateY(-50%);
61
+ right: 15px;
62
+ width: 24px;
63
+ height: 24px;
64
+ border-radius: 12px;
65
+ background: #595d6b;
66
+ line-height: 24px;
67
+ color: #fff;
68
+ cursor: pointer;
69
+ transition: .3s ease; }
70
+ .woo-feed-promotion .woo-feed-campaign-close-button:hover {
71
+ background: #fff;
72
+ color: #d61e48; }
73
+
74
+ .wftooltip {
75
+ display: none;
76
+ position: absolute;
77
+ border: 1px solid #333;
78
+ background-color: #161616;
79
+ border-radius: 5px;
80
+ padding: 10px;
81
+ color: #fff;
82
+ font-size: 12px; }
83
+
84
+ .feed-actions .makeFeedResponse {
85
+ width: 70%;
86
+ color: green; }
87
+
88
+ .woo-feed-mapping-input {
89
+ width: 100%; }
90
+
91
+ .requiredIn {
92
+ color: red; }
93
+
94
+ .generalInput {
95
+ width: 200px; }
96
+ .generalInput:not(.selectize-control) {
97
+ margin: 5px auto; }
98
+
99
+ .error {
100
+ color: red; }
101
+
102
+ .widefat td select, .widefat td input {
103
+ max-width: 100%; }
104
+
105
+ #wf_newRow {
106
+ margin-left: 0; }
107
+
108
+ .mtable tbody tr {
109
+ height: 25px;
110
+ border: 1px solid #CCC;
111
+ text-align: left;
112
+ -ms-flex-align: baseline;
113
+ align-items: baseline;
114
+ font-weight: bold; }
115
+
116
+ .mtable th:nth-child(1) {
117
+ width: 17px; }
118
+
119
+ .mtable th:nth-child(2) {
120
+ width: 160px; }
121
+
122
+ .mtable th:nth-child(3) {
123
+ width: 100px; }
124
+
125
+ .mtable th:nth-child(4) {
126
+ width: 100px; }
127
+
128
+ .mtable th:nth-child(5) {
129
+ width: 150px; }
130
+
131
+ .mtable th:nth-child(6) {
132
+ width: 100px; }
133
+
134
+ .mtable th:nth-child(7) {
135
+ width: 150px; }
136
+
137
+ .mtable th:nth-child(8) {
138
+ width: 90px; }
139
+
140
+ .mtable th:nth-child(9) {
141
+ width: 29px; }
142
+
143
+ .mtable2 tbody tr {
144
+ height: 25px;
145
+ border: 1px solid #CCC;
146
+ text-align: left;
147
+ -ms-flex-align: baseline;
148
+ align-items: baseline;
149
+ font-weight: bold; }
150
+
151
+ .mtable2 th:nth-child(1) {
152
+ width: 30px; }
153
+
154
+ .mtable2 th:nth-child(2) {
155
+ width: 150px; }
156
+
157
+ .mtable2 th:nth-child(3) {
158
+ width: 230px; }
159
+
160
+ .mtable2 th:nth-child(4) {
161
+ width: 220px; }
162
+
163
+ .mtable2 th:nth-child(7) {
164
+ width: 50px; }
165
+
166
+ .mtable2 th:nth-child(8) {
167
+ width: 50px; }
168
+
169
+ .mtable2 th:nth-child(9) {
170
+ width: 29px; }
171
+
172
+ .wp-admin select.wf_mattributes {
173
+ width: 150px;
174
+ left: 0;
175
+ height: 25px; }
176
+
177
+ div#wf-tab-content1 select:not([name^="output_type"]) {
178
+ width: 100%; }
179
+
180
+ div#wf-tab-content1 input {
181
+ width: 100%; }
182
+
183
+ div#wf-tab-content1 .dashicons {
184
+ vertical-align: middle; }
185
+
186
+ .wf_attributes {
187
+ width: 150px;
188
+ left: 0; }
189
+
190
+ .wf_compare {
191
+ max-width: 245px;
192
+ left: 0; }
193
+
194
+ .wf_ps {
195
+ width: 100px;
196
+ left: 0; }
197
+
198
+ .wf_sortedtable {
199
+ cursor: move; }
200
+
201
+ .sorted_table {
202
+ position: relative; }
203
+ .sorted_table .dragged {
204
+ position: absolute;
205
+ opacity: 0.8;
206
+ z-index: 9999;
207
+ background: #fff;
208
+ width: 100%;
209
+ display: table; }
210
+ .sorted_table tbody tr.placeholder td {
211
+ border: 1px dashed #2cc185;
212
+ height: 46px; }
213
+
214
+ .wfnoempty {
215
+ width: 120px; }
216
+
217
+ /*==================Tab Design=======================*/
218
+ p {
219
+ color: #222; }
220
+
221
+ .wf_tabs {
222
+ position: relative;
223
+ margin: 0 auto;
224
+ width: 100%;
225
+ list-style: none;
226
+ /*bottom: 50px;*/ }
227
+
228
+ .wf_tabs:after {
229
+ display: table;
230
+ clear: both;
231
+ content: ""; }
232
+
233
+ .wf_tabs li {
234
+ float: left;
235
+ width: 20%;
236
+ display: block;
237
+ border: 2px solid #CCC; }
238
+
239
+ .wf_tabs li > input[type="radio"][name="wf_tabs"] {
240
+ position: absolute;
241
+ top: auto;
242
+ left: -9999px; }
243
+
244
+ .wf-tab-name {
245
+ display: block;
246
+ padding: 15px;
247
+ font-size: 15px;
248
+ font-weight: bold;
249
+ line-height: 1;
250
+ background: #fff;
251
+ cursor: pointer;
252
+ position: relative;
253
+ text-align: center;
254
+ text-transform: uppercase;
255
+ color: #2CC185; }
256
+
257
+ .wf-tab-name:hover {
258
+ background: #2CC185;
259
+ color: white; }
260
+
261
+ .wf_tabs [id^="tab"]:checked + label {
262
+ background: #2CC185;
263
+ color: white; }
264
+
265
+ .wf_tabs .wf-tab-content {
266
+ z-index: 2;
267
+ display: none;
268
+ width: 100%;
269
+ font-size: 0.9rem;
270
+ position: absolute;
271
+ left: 0;
272
+ background: #fff;
273
+ border: 2px solid #CCC; }
274
+
275
+ .wf_tabs [id^="tab"]:checked ~ [id^="wf-tab-content"] {
276
+ display: block; }
277
+
278
+ [id^="wf-tab-content"] {
279
+ margin-bottom: 40px; }
280
+
281
+ div#wf-tab-content2 table:first-child {
282
+ padding: 10px 0; }
283
+
284
+ div#wf-tab-content2 table:first-child td:nth-child(1) {
285
+ width: 260px; }
286
+
287
+ div#wf-tab-content2 table:first-child td:nth-child(2) {
288
+ width: 260px; }
289
+
290
+ table.feed-actions tr td:last-child {
291
+ text-align: right; }
292
+
293
+ /* Selectize */
294
+ select.selectize {
295
+ display: none; }
296
+
297
+ body.no-js select.selectize {
298
+ display: block !important; }
299
+
300
+ .wp-list-table .option_name .wf_feed_option_name_link {
301
+ font-weight: 700;
302
+ color: #30336b; }
303
+
304
+ .wp-list-table #option_name a {
305
+ color: #32373c; }
306
+
307
+ /* fallback combat */
308
+ .selectize-dropdown .active {
309
+ background-color: #edf9ff; }
310
+
311
+ .selectize-dropdown .create {
312
+ padding: 5px 8px; }
313
+
314
+ .wapk-selectize-item {
315
+ background: #0073aa !important;
316
+ color: #f1f1f1 !important;
317
+ font-weight: bold !important;
318
+ border-color: #0073aa !important;
319
+ padding-left: 5px;
320
+ padding-right: 5px; }
321
+
322
+ .selectize-input.full #googleTaxonomyId-selectized {
323
+ opacity: 0;
324
+ position: absolute;
325
+ left: -10000px; }
326
+
327
+ .selectize-dropdown [data-selectable].option {
328
+ cursor: default; }
329
+
330
+ .selectize-control.plugin-remove_button [data-value] .remove {
331
+ border-left: 1px solid #f1f1f1 !important; }
332
+
333
+ .selectize-dropdown .optgroup-header {
334
+ font-weight: 700;
335
+ background: #efefef;
336
+ color: #5a5a5a; }
337
+
338
+ .selectize-dropdown [data-selectable].option {
339
+ cursor: pointer; }
340
+
341
+ /* Feed active and inactive button CSS */
342
+ .wf_status_wrap label {
343
+ width: 55px;
344
+ height: 30px;
345
+ box-sizing: border-box;
346
+ float: left;
347
+ border-radius: 100px;
348
+ position: relative;
349
+ cursor: pointer;
350
+ transition: .3s ease;
351
+ background: #d3d3d3; }
352
+
353
+ input[class=woo_feed_status_input]:checked + label {
354
+ background: #4fbe79; }
355
+
356
+ input[class=woo_feed_status_input]:checked + label:before {
357
+ left: 29px; }
358
+
359
+ .wf_status_wrap label:before {
360
+ transition: .3s ease;
361
+ content: '';
362
+ width: 20px;
363
+ height: 20px;
364
+ position: absolute;
365
+ background: white;
366
+ left: 6px;
367
+ top: 5px;
368
+ box-sizing: border-box;
369
+ color: black;
370
+ border-radius: 100px;
371
+ box-shadow: 0px 1.5px 2px 0px #000; }
372
+
373
+ .view span.dashicons.dashicons-external {
374
+ color: #22a6b3; }
375
+
376
+ .view span.dashicons.dashicons-sos {
377
+ color: #22a6b3; }
378
+
379
+ .view span.dashicons.dashicons-download {
380
+ color: #ee5253; }
381
+
382
+ .view span.dashicons.dashicons-media-code {
383
+ color: #576574; }
384
+
385
+ /* list table style */
386
+ .widefat td.column-url, .widefat th.column-url,
387
+ .column-url {
388
+ color: #1e8f9a;
389
+ font-weight: bold; }
390
+
391
+ /** Feed Progress **/
392
+ .feed-progress-container {
393
+ width: 100%;
394
+ color: white;
395
+ text-align: center;
396
+ font-weight: 300; }
397
+
398
+ .feed-progress-bar {
399
+ width: 100%;
400
+ background: #eee;
401
+ padding: 3px;
402
+ border-radius: 50px;
403
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); }
404
+
405
+ .feed-progress-bar-fill {
406
+ height: 20px;
407
+ display: block;
408
+ background: linear-gradient(to right top, #10ac84, #13b389, #15ba8f, #18c194, #1ac89a, #13cba1, #0acfa9, #00d2b0, #00d2ba, #00d2c3, #00d2cb, #00d2d3);
409
+ width: 0;
410
+ border-radius: 50px;
411
+ transition: width 0.8s ease; }
412
+
413
+ .feed-progress-status {
414
+ float: left;
415
+ font-weight: bold;
416
+ color: darkblue; }
417
+
418
+ .feed-progress-percentage {
419
+ text-align: right;
420
+ font-weight: bolder;
421
+ color: #1dd1a1;
422
+ font-family: 'Arial Black', sans-serif;
423
+ font-size: large; }
424
+
425
+ #wpbody-content.woofeed-body-content {
426
+ overflow: visible !important; }
427
+
428
+ .clippy {
429
+ position: relative;
430
+ width: 13px;
431
+ margin-top: -3px;
432
+ margin-left: 3px;
433
+ top: 3px; }
434
+
435
+ .column-url .clippy {
436
+ display: none; }
437
+
438
+ .column-url:hover .clippy {
439
+ display: inline-block; }
440
+
441
  /**
442
  * Primer Tooltip
443
+ */
444
+ .tooltipped {
445
+ position: relative; }
446
+ .tooltipped:after {
447
+ position: absolute;
448
+ z-index: 1000000;
449
+ display: none;
450
+ padding: 5px 8px;
451
+ font: normal normal 11px/1.5 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
452
+ color: #fff;
453
+ text-align: center;
454
+ text-decoration: none;
455
+ text-shadow: none;
456
+ text-transform: none;
457
+ letter-spacing: normal;
458
+ word-wrap: break-word;
459
+ white-space: pre;
460
+ pointer-events: none;
461
+ content: attr(aria-label);
462
+ background: rgba(0, 0, 0, 0.8);
463
+ border-radius: 3px;
464
+ -webkit-font-smoothing: subpixel-antialiased; }
465
+ .tooltipped:before {
466
+ position: absolute;
467
+ z-index: 1000001;
468
+ display: none;
469
+ width: 0;
470
+ height: 0;
471
+ color: rgba(0, 0, 0, 0.8);
472
+ pointer-events: none;
473
+ content: "";
474
+ border: 5px solid transparent; }
475
+ .tooltipped:hover:before {
476
+ display: inline-block;
477
+ text-decoration: none; }
478
+ .tooltipped:hover:after {
479
+ display: inline-block;
480
+ text-decoration: none; }
481
+ .tooltipped:active:before {
482
+ display: inline-block;
483
+ text-decoration: none; }
484
+ .tooltipped:active:after {
485
+ display: inline-block;
486
+ text-decoration: none; }
487
+ .tooltipped:focus:before {
488
+ display: inline-block;
489
+ text-decoration: none; }
490
+ .tooltipped:focus:after {
491
+ display: inline-block;
492
+ text-decoration: none; }
493
+ .tooltipped-multiline:hover:after {
494
+ display: table-cell; }
495
+ .tooltipped-multiline:active:after {
496
+ display: table-cell; }
497
+ .tooltipped-multiline:focus:after {
498
+ display: table-cell; }
499
+ .tooltipped-multiline:after {
500
+ width: -webkit-max-content;
501
+ width: -moz-max-content;
502
+ width: max-content;
503
+ max-width: 250px;
504
+ word-break: break-word;
505
+ word-wrap: normal;
506
+ white-space: pre-line;
507
+ border-collapse: separate; }
508
+ .tooltipped-s:after {
509
+ top: 100%;
510
+ right: 50%;
511
+ margin-top: 5px;
512
+ -webkit-transform: translateX(50%);
513
+ transform: translateX(50%); }
514
+ .tooltipped-s:before {
515
+ top: auto;
516
+ right: 50%;
517
+ bottom: -5px;
518
+ margin-right: -5px;
519
+ border-bottom-color: rgba(0, 0, 0, 0.8); }
520
+ .tooltipped-se:after {
521
+ top: 100%;
522
+ margin-top: 5px;
523
+ right: auto;
524
+ left: 50%;
525
+ margin-left: -15px; }
526
+ .tooltipped-se:before {
527
+ top: auto;
528
+ right: 50%;
529
+ bottom: -5px;
530
+ margin-right: -5px;
531
+ border-bottom-color: rgba(0, 0, 0, 0.8); }
532
+ .tooltipped-sw:after {
533
+ top: 100%;
534
+ right: 50%;
535
+ margin-top: 5px;
536
+ margin-right: -15px; }
537
+ .tooltipped-sw:before {
538
+ top: auto;
539
+ right: 50%;
540
+ bottom: -5px;
541
+ margin-right: -5px;
542
+ border-bottom-color: rgba(0, 0, 0, 0.8); }
543
+ .tooltipped-n:after {
544
+ right: 50%;
545
+ bottom: 100%;
546
+ margin-bottom: 5px;
547
+ -webkit-transform: translateX(50%);
548
+ transform: translateX(50%); }
549
+ .tooltipped-n:before {
550
+ top: -5px;
551
+ right: 50%;
552
+ bottom: auto;
553
+ margin-right: -5px;
554
+ border-top-color: rgba(0, 0, 0, 0.8); }
555
+ .tooltipped-ne:after {
556
+ bottom: 100%;
557
+ margin-bottom: 5px;
558
+ right: auto;
559
+ left: 50%;
560
+ margin-left: -15px; }
561
+ .tooltipped-ne:before {
562
+ top: -5px;
563
+ right: 50%;
564
+ bottom: auto;
565
+ margin-right: -5px;
566
+ border-top-color: rgba(0, 0, 0, 0.8); }
567
+ .tooltipped-nw:after {
568
+ right: 50%;
569
+ bottom: 100%;
570
+ margin-bottom: 5px;
571
+ margin-right: -15px; }
572
+ .tooltipped-nw:before {
573
+ top: -5px;
574
+ right: 50%;
575
+ bottom: auto;
576
+ margin-right: -5px;
577
+ border-top-color: rgba(0, 0, 0, 0.8); }
578
+ .tooltipped-w:after {
579
+ right: 100%;
580
+ bottom: 50%;
581
+ margin-right: 5px;
582
+ -webkit-transform: translateY(50%);
583
+ transform: translateY(50%); }
584
+ .tooltipped-w:before {
585
+ top: 50%;
586
+ bottom: 50%;
587
+ left: -5px;
588
+ margin-top: -5px;
589
+ border-left-color: rgba(0, 0, 0, 0.8); }
590
+ .tooltipped-e:after {
591
+ bottom: 50%;
592
+ left: 100%;
593
+ margin-left: 5px;
594
+ -webkit-transform: translateY(50%);
595
+ transform: translateY(50%); }
596
+ .tooltipped-e:before {
597
+ top: 50%;
598
+ right: -5px;
599
+ bottom: 50%;
600
+ margin-top: -5px;
601
+ border-right-color: rgba(0, 0, 0, 0.8); }
602
+ .tooltipped-multiline.tooltipped-s:after {
603
+ right: auto;
604
+ left: 50%;
605
+ -webkit-transform: translateX(-50%);
606
+ transform: translateX(-50%); }
607
+ .tooltipped-multiline.tooltipped-n:after {
608
+ right: auto;
609
+ left: 50%;
610
+ -webkit-transform: translateX(-50%);
611
+ transform: translateX(-50%); }
612
+ .tooltipped-multiline.tooltipped-w:after {
613
+ right: 100%; }
614
+ .tooltipped-multiline.tooltipped-e:after {
615
+ right: 100%; }
616
+ .tooltipped-sticky:before {
617
+ display: inline-block; }
618
+ .tooltipped-sticky:after {
619
+ display: inline-block; }
620
+ .tooltipped-sticky.tooltipped-multiline:after {
621
+ display: table-cell; }
622
+
623
+ .fullscreen-overlay-enabled.dark-theme .tooltipped:after {
624
+ color: #000;
625
+ background: rgba(255, 255, 255, 0.8); }
626
+
627
+ .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before {
628
+ border-bottom-color: rgba(255, 255, 255, 0.8); }
629
+
630
+ .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before {
631
+ border-bottom-color: rgba(255, 255, 255, 0.8); }
632
+
633
+ .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before {
634
+ border-bottom-color: rgba(255, 255, 255, 0.8); }
635
+
636
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before {
637
+ border-top-color: rgba(255, 255, 255, 0.8); }
638
+
639
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before {
640
+ border-top-color: rgba(255, 255, 255, 0.8); }
641
+
642
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before {
643
+ border-top-color: rgba(255, 255, 255, 0.8); }
644
+
645
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before {
646
+ border-right-color: rgba(255, 255, 255, 0.8); }
647
+
648
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before {
649
+ border-left-color: rgba(255, 255, 255, 0.8); }
650
+
651
+ @media screen and (min-width: 0\0) {
652
+ .tooltipped-multiline:after {
653
+ width: 250px; } }
654
+
655
+ ul.tracker_collection_list {
656
+ list-style: initial;
657
+ padding: initial;
658
+ margin: -10px 0 0 30px;
659
+ font-size: 11px !important; }
660
+ ul.tracker_collection_list li {
661
+ margin: 0; }
662
+
663
+ /** Info Message Table **/
664
+ table.wf-info-table, table.wf-rate-table {
665
+ vertical-align: middle;
666
+ text-align: center;
667
+ max-width: 100%;
668
+ font-weight: 500; }
669
+ table.wf-info-table th, table.wf-rate-table th {
670
+ text-align: center; }
671
+ table.wf-info-table th .woo-feed-top-header, table.wf-rate-table th .woo-feed-top-header {
672
+ display: -ms-flexbox;
673
+ display: flex;
674
+ -ms-flex-pack: justify;
675
+ justify-content: space-between;
676
+ -ms-flex-align: center;
677
+ align-items: center; }
678
+ table.wf-info-table th .woo-feed-top-header .get-woo-feed-pro, table.wf-rate-table th .woo-feed-top-header .get-woo-feed-pro {
679
+ margin-left: 20px; }
680
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons {
681
+ float: right;
682
+ display: -ms-flexbox;
683
+ display: flex;
684
+ border-radius: 7px;
685
+ -ms-flex-pack: center;
686
+ justify-content: center;
687
+ -ms-flex-align: center;
688
+ align-items: center; }
689
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a {
690
+ padding: 8px 20px;
691
+ background: #576574;
692
+ color: #fff;
693
+ box-sizing: border-box;
694
+ display: inline-block;
695
+ transition: .3s ease; }
696
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-doc-link, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-doc-link {
697
+ background: #576574;
698
+ border-top-left-radius: 5px;
699
+ border-bottom-left-radius: 5px; }
700
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-video-link, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-video-link {
701
+ background: #ee5253; }
702
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-support-link, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-support-link {
703
+ background: #22a6b3;
704
+ border-top-right-radius: 5px;
705
+ border-bottom-right-radius: 5px; }
706
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a span.dashicons, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a span.dashicons {
707
+ font-size: 18px;
708
+ line-height: 1.2; }
709
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a:hover, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a:hover {
710
+ background: #30336b;
711
+ box-shadow: 0px 0px 33px 0px rgba(0, 0, 0, 0.12); }
712
+ table.wf-info-table strong, table.wf-rate-table strong {
713
+ font-weight: bold; }
714
+
715
+ table.wf-info-table th:first-child img {
716
+ margin: 0 0 -5px 5px; }
717
+
718
+ table.wf-rate-table a {
719
+ color: #0073aa; }
720
+
721
+ table.wf-rate-table a.review-star:after {
722
+ content: "\f155\f155\f155\f155\f155" !important;
723
+ font-family: dashicons;
724
+ font-size: 10px;
725
+ font-weight: 100;
726
+ text-rendering: auto;
727
+ -webkit-font-smoothing: antialiased;
728
+ -moz-osx-font-smoothing: grayscale;
729
+ color: #0073aa;
730
+ text-decoration: underline; }
731
+
732
+ /** Admin Menu Icon **/
733
+ #adminmenu #toplevel_page_webappick-manage-feeds div.wp-menu-image::before {
734
+ content: "";
735
+ background: url(../images/woo-feed-icon.svg) no-repeat center center;
736
+ background-size: 20px 20px;
737
+ opacity: 0.6;
738
+ filter: alpha(opacity=60); }
739
+
740
+ #adminmenu #toplevel_page_webappick-manage-feeds:hover div.wp-menu-image::before {
741
+ opacity: 1;
742
+ filter: alpha(opacity=100); }
743
+
744
+ #adminmenu #toplevel_page_webappick-manage-feeds.wp-has-current-submenu div.wp-menu-image::before {
745
+ opacity: 1;
746
+ filter: alpha(opacity=100); }
747
+
748
+ /** Admin Page Wrapper **/
749
+ .wapk-admin, .wapk-admin * {
750
+ box-sizing: border-box; }
751
+
752
+ .wapk-admin {
753
+ position: relative;
754
+ display: block;
755
+ -webkit-hyphens: manual;
756
+ -ms-hyphens: manual;
757
+ -moz-hyphens: manual;
758
+ hyphens: manual;
759
+ color: #1B2730;
760
+ /* reset .warp margin to use full width except menu area */
761
+ margin: 0 0 0 -10px; }
762
+
763
+ @media screen and (min-width: 783px) {
764
+ .wapk-admin {
765
+ margin: 0 0 0 -20px; } }
766
+
767
+ .text-center {
768
+ text-align: center; }
769
+
770
+ .wapk-admin h1, .wapk-admin h2, .wapk-admin h3,
771
+ .wapk-admin h4, .wapk-admin h5, .wapk-admin h6,
772
+ .wapk-admin p {
773
+ color: #1B2730; }
774
+
775
+ .wapk-admin sup {
776
+ vertical-align: baseline;
777
+ position: relative;
778
+ top: -6px; }
779
+
780
+ .wapk-admin sub {
781
+ vertical-align: baseline;
782
+ position: relative;
783
+ top: 4px; }
784
+
785
+ /* WP.Core.UI Compat */
786
+ .wapk-admin .wapk-section {
787
+ margin: 10px 20px 0 22px;
788
+ position: relative;
789
+ display: block; }
790
+ .wapk-admin .wapk-section [class$=icon32] + h2 {
791
+ font-size: 23px;
792
+ font-weight: 400;
793
+ margin: 0;
794
+ padding: 9px 0 4px 0;
795
+ line-height: 1.3; }
796
+ .wapk-admin .wapk-section h1 {
797
+ font-size: 23px;
798
+ font-weight: 400;
799
+ margin: 0;
800
+ padding: 9px 0 4px 0;
801
+ line-height: 1.3; }
802
+ .wapk-admin .wapk-section > h2:first-child {
803
+ font-size: 23px;
804
+ font-weight: 400;
805
+ margin: 0;
806
+ padding: 9px 0 4px 0;
807
+ line-height: 1.3; }
808
+
809
+ .wapk-admin > .notice {
810
+ margin: 10px 20px 0 22px;
811
+ position: relative;
812
+ display: block; }
813
+
814
+ .wapk-admin span.help {
815
+ display: block;
816
+ float: left;
817
+ width: 100%;
818
+ font-size: 0.9em;
819
+ color: #636363;
820
+ margin-top: 5px;
821
+ font-weight: 500; }
822
+ .wapk-admin span.help .dashicons {
823
+ width: 11px;
824
+ height: 12px;
825
+ font-size: inherit;
826
+ vertical-align: middle; }
827
+
828
+ .clear:after {
829
+ content: "";
830
+ display: table;
831
+ clear: both; }
832
+
833
+ /*.wapk-admin .help a { color: inherit; text-decoration: underline; }*/
834
+ /** Extend WP Core UI PostBox For Docs **/
835
+ .wapk-feed-docs .postbox {
836
+ width: 355px;
837
+ margin-right: 20px;
838
+ display: inline-block;
839
+ vertical-align: top; }
840
+ .wapk-feed-docs .postbox .hndle {
841
+ font-size: 14px;
842
+ padding: 8px 12px;
843
+ margin: 0;
844
+ line-height: 1.4;
845
+ cursor: pointer; }
846
+ .wapk-feed-docs .postbox .dashicons {
847
+ color: #ccc; }
848
+ .wapk-feed-docs .postbox a {
849
+ text-decoration: none; }
850
+ .wapk-feed-docs .postbox .inside {
851
+ margin-bottom: 0; }
852
+ .wapk-feed-docs .postbox ul {
853
+ margin-bottom: 0; }
854
+ .wapk-feed-docs .postbox .toggle-indicator:before {
855
+ content: "\F142";
856
+ display: inline-block;
857
+ font: 400 20px/1 dashicons;
858
+ speak: none;
859
+ -webkit-font-smoothing: antialiased;
860
+ -moz-osx-font-smoothing: grayscale;
861
+ text-decoration: none !important; }
862
+ .wapk-feed-docs .postbox li {
863
+ width: 100%;
864
+ display: block;
865
+ float: left; }
866
+ .wapk-feed-docs .postbox li span {
867
+ display: inline-block;
868
+ float: left;
869
+ margin-right: 4px; }
870
+ .wapk-feed-docs .postbox li a {
871
+ display: inline-block;
872
+ float: left;
873
+ width: calc(100% - 24px); }
874
+
875
+ .wapk-feed-docs .postbox.closed .toggle-indicator:before {
876
+ content: "\F140"; }
877
+
878
+ .wapk-section #post-body.columns-2 #side-sortables {
879
+ min-height: 196px; }
880
+
881
+ #poststuff #feed_merchant_info .inside {
882
+ margin: 0;
883
+ padding: 0; }
884
+
885
+ #feed_merchant_info ul.data {
886
+ margin-left: 24px;
887
+ margin-top: 5px; }
888
+ #feed_merchant_info ul.data li {
889
+ margin-bottom: 5px; }
890
+
891
+ .merchant-info-section {
892
+ padding: 6px 10px 8px; }
893
+
894
+ .generateFeed .wf-tab-content table:first-child {
895
+ border: none;
896
+ box-shadow: none; }
897
+
898
+ .generateFeed table th {
899
+ font-weight: bold; }
900
+
901
+ @media only screen and (max-width: 850px) {
902
+ .wapk-feed-docs .postbox {
903
+ display: block;
904
+ width: auto;
905
+ float: none;
906
+ margin-right: auto; } }
907
+
908
+ /** Admin Feed Help Docs **/
909
+ .wp-submenu li span.woo-feed-docs {
910
+ font-weight: bold;
911
+ color: #f18500; }
912
+
913
+ .wp-submenu li:hover span.woo-feed-docs {
914
+ color: #ce7304; }
915
+
916
+ .wp-submenu li.current span.woo-feed-docs {
917
+ color: #ce7304; }
918
+
919
+ .wapk-admin .wapk-feed-docs .postbox .hndle {
920
+ cursor: default; }
921
+
922
+ /** Admin Call-To-Action **/
923
+ .wapk-cta {
924
+ position: relative;
925
+ display: -ms-flexbox;
926
+ display: flex;
927
+ width: 100%;
928
+ padding: 100px 15px;
929
+ background: linear-gradient(45deg, #6CD5FF 33%, #c2efef 100%);
930
+ -ms-flex-pack: center;
931
+ justify-content: center;
932
+ -ms-flex-align: center;
933
+ align-items: center; }
934
+ .wapk-cta-icon .dashicons {
935
+ font-size: 100px;
936
+ width: 100px;
937
+ height: auto;
938
+ margin: 0 10px -8px 0;
939
+ color: #02658c; }
940
+ .wapk-cta-content {
941
+ width: 50%; }
942
+ .wapk-cta-content h2 {
943
+ font-size: 2em;
944
+ margin: 0.5em 0; }
945
+ .wapk-cta-action a.wapk-button {
946
+ font-size: 24px;
947
+ height: auto !important;
948
+ padding: 10px 20px; }
949
+
950
+ @media (max-width: 600px) {
951
+ .wapk-cta {
952
+ display: block;
953
+ text-align: center;
954
+ padding: 4em 0; }
955
+ .wapk-cta-content {
956
+ width: 100%;
957
+ margin: 2em 0; } }
958
+
959
+ /** Override .wp-core-ui .wapk-button styles with prefix .wapk-admin **/
960
+ /* Button Skin */
961
+ .wapk-button {
962
+ color: #00D4D4;
963
+ border-color: #00D4D4;
964
+ display: inline-block;
965
+ text-decoration: none;
966
+ font-size: 13px;
967
+ line-height: 2.15384615;
968
+ min-height: 30px;
969
+ margin: 0;
970
+ padding: 0 10px;
971
+ cursor: pointer;
972
+ border-width: 1px;
973
+ border-style: solid;
974
+ -webkit-appearance: none;
975
+ border-radius: 3px;
976
+ white-space: nowrap;
977
+ box-sizing: border-box; }
978
+ .wapk-button > svg {
979
+ width: 15px;
980
+ margin-left: 5px;
981
+ fill: #00D4D4; }
982
+ .wapk-button > .dashicons {
983
+ color: #00D4D4; }
984
+ .wapk-button:hover {
985
+ border-color: #00bbbb;
986
+ color: #00bbbb; }
987
+ .wapk-button:hover > svg {
988
+ fill: #00bbbb; }
989
+ .wapk-button:hover > .dashicons {
990
+ color: #00bbbb; }
991
+ .wapk-button:focus {
992
+ border-color: #00D4D4;
993
+ color: #00bbbb;
994
+ box-shadow: 0 0 0 1px #00D4D4; }
995
+ .wapk-button:focus > svg {
996
+ fill: #00bbbb; }
997
+ .wapk-button:focus > .dashicons {
998
+ color: #00bbbb; }
999
+ .wapk-button:active {
1000
+ background: #00bbbb;
1001
+ border-color: #00bbbb; }
1002
+ .wapk-button-secondary {
1003
+ color: #00D4D4;
1004
+ border-color: #00D4D4;
1005
+ display: inline-block;
1006
+ text-decoration: none;
1007
+ font-size: 13px;
1008
+ line-height: 2.15384615;
1009
+ min-height: 30px;
1010
+ margin: 0;
1011
+ padding: 0 10px;
1012
+ cursor: pointer;
1013
+ border-width: 1px;
1014
+ border-style: solid;
1015
+ -webkit-appearance: none;
1016
+ border-radius: 3px;
1017
+ white-space: nowrap;
1018
+ box-sizing: border-box; }
1019
+ .wapk-button-secondary > svg {
1020
+ width: 15px;
1021
+ margin-left: 5px;
1022
+ fill: #00D4D4; }
1023
+ .wapk-button-secondary > .dashicons {
1024
+ color: #00D4D4; }
1025
+ .wapk-button-secondary:hover {
1026
+ border-color: #00bbbb;
1027
+ color: #00bbbb; }
1028
+ .wapk-button-secondary:hover > svg {
1029
+ fill: #00bbbb; }
1030
+ .wapk-button-secondary:hover > .dashicons {
1031
+ color: #00bbbb; }
1032
+ .wapk-button-secondary:focus {
1033
+ border-color: #00D4D4;
1034
+ color: #00bbbb;
1035
+ box-shadow: 0 0 0 1px #00D4D4; }
1036
+ .wapk-button-secondary:focus > svg {
1037
+ fill: #00bbbb; }
1038
+ .wapk-button-secondary:focus > .dashicons {
1039
+ color: #00bbbb; }
1040
+ .wapk-button-primary {
1041
+ display: inline-block;
1042
+ text-decoration: none;
1043
+ font-size: 13px;
1044
+ line-height: 2.15384615;
1045
+ min-height: 30px;
1046
+ margin: 0;
1047
+ padding: 0 10px;
1048
+ cursor: pointer;
1049
+ border-width: 1px;
1050
+ border-style: solid;
1051
+ -webkit-appearance: none;
1052
+ border-radius: 3px;
1053
+ white-space: nowrap;
1054
+ box-sizing: border-box;
1055
+ background: #00D4D4;
1056
+ border-color: #00D4D4;
1057
+ color: #fff;
1058
+ box-shadow: 0 1px 0 #00bbbb;
1059
+ text-shadow: 0 -1px 1px #00bbbb, 1px 0 1px #00bbbb, 0 1px 1px #00bbbb, -1px 0 1px #00bbbb; }
1060
+ .wapk-button-primary > svg {
1061
+ fill: #fff; }
1062
+ .wapk-button-primary:hover {
1063
+ background: #00e3e3;
1064
+ border-color: #00c5c5;
1065
+ color: #fff; }
1066
+ .wapk-button-primary:hover > svg {
1067
+ fill: #fff; }
1068
+ .wapk-button-primary:focus {
1069
+ background: #00e3e3;
1070
+ border-color: #00c5c5;
1071
+ color: #fff;
1072
+ box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00D4D4; }
1073
+ .wapk-button-primary:focus > svg {
1074
+ fill: #fff; }
1075
+ .wapk-button-primary:active {
1076
+ background: #00bbbb;
1077
+ border-color: #00bbbb;
1078
+ color: #fff; }
1079
+ .wapk-button-primary:active > svg {
1080
+ fill: #fff; }
1081
+ .wapk-button-primary:disabled {
1082
+ color: #c7d1d1 !important;
1083
+ background: #22ffff !important;
1084
+ border-color: #22ffff !important;
1085
+ text-shadow: none !important; }
1086
+ .wapk-button-primary:disabled > svg {
1087
+ fill: #c7d1d1 !important; }
1088
+ .wapk-button.hover {
1089
+ border-color: #00bbbb;
1090
+ color: #00bbbb; }
1091
+ .wapk-button.hover > svg {
1092
+ fill: #00bbbb; }
1093
+ .wapk-button.hover > .dashicons {
1094
+ color: #00bbbb; }
1095
+ .wapk-button.focus {
1096
+ border-color: #00D4D4;
1097
+ color: #00bbbb;
1098
+ box-shadow: 0 0 0 1px #00D4D4; }
1099
+ .wapk-button.focus > svg {
1100
+ fill: #00bbbb; }
1101
+ .wapk-button.focus > .dashicons {
1102
+ color: #00bbbb; }
1103
+ .wapk-button.active {
1104
+ border-color: #00bbbb;
1105
+ color: #00bbbb;
1106
+ box-shadow: inset 0 2px 5px -3px #00bbbb; }
1107
+ .wapk-button.active:focus {
1108
+ border-color: #00bbbb;
1109
+ color: #00bbbb;
1110
+ box-shadow: inset 0 2px 5px -3px #00bbbb; }
1111
+ .wapk-button.active:focus > svg {
1112
+ fill: #00bbbb; }
1113
+ .wapk-button.active:focus > .dashicons {
1114
+ color: #00bbbb; }
1115
+ .wapk-button.active:hover {
1116
+ border-color: #00bbbb;
1117
+ color: #00bbbb;
1118
+ box-shadow: inset 0 2px 5px -3px #00bbbb; }
1119
+ .wapk-button.active:hover > svg {
1120
+ fill: #00bbbb; }
1121
+ .wapk-button.active:hover > .dashicons {
1122
+ color: #00bbbb; }
1123
+ .wapk-button.active > svg {
1124
+ fill: #00bbbb; }
1125
+ .wapk-button.active > .dashicons {
1126
+ color: #00bbbb; }
1127
+ .wapk-button-primary.active {
1128
+ background: #00D4D4;
1129
+ color: #fff;
1130
+ border-color: #008888;
1131
+ box-shadow: inset 0 2px 5px -3px black; }
1132
+ .wapk-button-primary.active:focus {
1133
+ background: #00D4D4;
1134
+ color: #fff;
1135
+ border-color: #008888;
1136
+ box-shadow: inset 0 2px 5px -3px black; }
1137
+ .wapk-button-primary.active:focus > svg {
1138
+ fill: #fff; }
1139
+ .wapk-button-primary.active:hover {
1140
+ background: #00D4D4;
1141
+ color: #fff;
1142
+ border-color: #008888;
1143
+ box-shadow: inset 0 2px 5px -3px black; }
1144
+ .wapk-button-primary.active:hover > svg {
1145
+ fill: #fff; }
1146
+ .wapk-button-primary.active > svg {
1147
+ fill: #fff; }
1148
+ .wapk-button-primary[disabled] {
1149
+ color: #c7d1d1 !important;
1150
+ background: #22ffff !important;
1151
+ border-color: #22ffff !important;
1152
+ text-shadow: none !important; }
1153
+ .wapk-button-primary[disabled] > svg {
1154
+ fill: #c7d1d1 !important; }
1155
+ .wapk-button-primary.wapk-button-primary-disabled {
1156
+ color: #c7d1d1 !important;
1157
+ background: #22ffff !important;
1158
+ border-color: #22ffff !important;
1159
+ text-shadow: none !important; }
1160
+ .wapk-button-primary.wapk-button-primary-disabled > svg {
1161
+ fill: #c7d1d1 !important; }
1162
+ .wapk-button-primary.disabled {
1163
+ color: #c7d1d1 !important;
1164
+ background: #22ffff !important;
1165
+ border-color: #22ffff !important;
1166
+ text-shadow: none !important; }
1167
+ .wapk-button-primary.disabled > svg {
1168
+ fill: #c7d1d1 !important; }
1169
+ .wapk-button-primary.wapk-button-hero {
1170
+ box-shadow: 0 2px 0 #00bbbb; }
1171
+ .wapk-button-primary.wapk-button-hero:focus {
1172
+ box-shadow: 0 2px 0 #00bbbb, 0 1px 0 #00c5c5, 0 0 2px 1px #00eeee; }
1173
+ .wapk-button-primary.wapk-button-hero:active {
1174
+ box-shadow: inset 0 3px 0 #00a1a1; }
1175
+ .wapk-button-primary.wapk-button-hero.active {
1176
+ box-shadow: inset 0 3px 0 #00a1a1; }
1177
+ .wapk-button-primary.wapk-button-hero.active:hover, .wapk-button-primary.wapk-button-hero.active:focus {
1178
+ box-shadow: inset 0 3px 0 #00a1a1; }
1179
+ .wapk-button-group > .wapk-button.active {
1180
+ border-color: #00D4D4; }
1181
+
1182
+ /* Button Sizes */
1183
+ .wapk-button.wapk-button-xl {
1184
+ height: 30px;
1185
+ line-height: 28px;
1186
+ padding: 0 12px 2px; }
1187
+
1188
+ .wapk-button-group.wapk-button-xl .wapk-button {
1189
+ height: 30px;
1190
+ line-height: 28px;
1191
+ padding: 0 12px 2px; }
1192
+
1193
+ .wapk-button.wapk-button-hero {
1194
+ font-size: 18px;
1195
+ height: 50px;
1196
+ line-height: 48px;
1197
+ padding: 0 36px;
1198
+ min-height: 46px; }
1199
+
1200
+ .wapk-button-group.wapk-button-hero .wapk-button {
1201
+ font-size: 18px;
1202
+ height: 50px;
1203
+ line-height: 48px;
1204
+ padding: 0 36px;
1205
+ min-height: 46px; }
1206
+
1207
+ @media screen and (min-width: 782px) {
1208
+ th#status,
1209
+ th#provider {
1210
+ width: 80px; }
1211
+ th#type {
1212
+ width: 50px; }
1213
+ th#option_name {
1214
+ width: 100px; }
1215
+ td.option_name.column-option_name > span:first-child {
1216
+ display: none; }
1217
+ th#last_updated {
1218
+ width: 90px; }
1219
+ th#view {
1220
+ width: 111px; } }
1221
+
1222
+ @media screen and (min-width: 960px) {
1223
+ th#status, th#provider {
1224
+ width: 100px; }
1225
+ th#type {
1226
+ width: 80px; }
1227
+ th#option_name {
1228
+ width: 150px; }
1229
+ th#last_updated {
1230
+ width: 140px; } }
1231
+
1232
+ @media screen and (max-width: 782px) {
1233
+ table.wf-info-table {
1234
+ margin-top: 10px; }
1235
+ table.wf-info-table th:first-child img {
1236
+ margin: 0 auto;
1237
+ display: block; }
1238
+ .wapk-button.wapk-button-xl {
1239
+ padding: 6px 14px;
1240
+ line-height: normal;
1241
+ font-size: 14px;
1242
+ vertical-align: middle;
1243
+ height: auto;
1244
+ margin-bottom: 4px; } }
1245
+
1246
+ .wapk-feed-docs .wapk-feed-cta {
1247
+ margin: 0; }
1248
+
1249
+ .campaign_configurator {
1250
+ background: #FFF;
1251
+ padding: 20px 0; }
1252
+ .campaign_configurator table {
1253
+ margin: 0 auto;
1254
+ width: 51%;
1255
+ min-width: 574px;
1256
+ border: none;
1257
+ box-shadow: none; }
1258
+ .campaign_configurator th {
1259
+ min-width: 120px; }
1260
+
1261
+ @media screen and (max-width: 782px) {
1262
+ .campaign_configurator {
1263
+ padding: 0; }
1264
+ .campaign_configurator table {
1265
+ width: auto;
1266
+ min-width: auto;
1267
+ max-width: 100%; }
1268
+ .campaign_configurator th {
1269
+ min-width: auto; } }
1270
+
1271
+ #wf-tab-content-config td > input:not([type="checkbox"]):not([type="radio"]),
1272
+ #wf-tab-content-config td > select,
1273
+ #wf-tab-content-config td > textarea {
1274
+ width: 100% !important; }
1275
+
1276
+ .woo-feed-filters td > div:nth-child(2n):not(.clear):not(.selectize) {
1277
+ width: 120px;
1278
+ display: block; }
1279
+
1280
+ .woo-feed-filters td > div:not(.clear) {
1281
+ float: left;
1282
+ margin-right: 10px; }
1283
+
1284
+ .woo-feed-filters tr > td:first-child {
1285
+ width: 290px;
1286
+ padding-left: 40px; }
1287
+
1288
+ .woo-feed-filters,
1289
+ .woo-feed-ftp {
1290
+ margin: 15px auto 25px; }
1291
+
1292
+ .wf_clean_cache_wrapper {
1293
+ display: -ms-flexbox;
1294
+ display: flex;
1295
+ margin-left: auto; }
1296
+
1297
+ @-webkit-keyframes LoaderClockWise {
1298
+ from {
1299
+ -webkit-transform: rotate(0deg);
1300
+ transform: rotate(0deg); }
1301
+ to {
1302
+ -webkit-transform: rotate(360deg);
1303
+ transform: rotate(360deg); } }
1304
+
1305
+ @keyframes LoaderClockWise {
1306
+ from {
1307
+ -webkit-transform: rotate(0deg);
1308
+ transform: rotate(0deg); }
1309
+ to {
1310
+ -webkit-transform: rotate(360deg);
1311
+ transform: rotate(360deg); } }
1312
+
1313
+ .woo-feed-cache-loader {
1314
+ width: 18px;
1315
+ margin-right: 5px;
1316
+ animation: LoaderClockWise 1s linear infinite;
1317
+ -webkit-animation: LoaderClockWise 1s linear infinite;
1318
+ display: none; }
1319
+
1320
+ .woo-feed-table-heading .woo-feed-table-heading-title {
1321
+ float: left;
1322
+ margin-right: auto;
1323
+ display: inline-block;
1324
+ line-height: 30px; }
1325
+
1326
+ .woo-feed-table-heading .wf_clean_cache_wrapper {
1327
+ float: right;
1328
+ font-weight: normal; }
1329
+
1330
+ .wf_clean_cache_wrapper button {
1331
+ background: linear-gradient(125deg, #eb4d4b 0, #FF9671 130%);
1332
+ color: #fff;
1333
+ border: none;
1334
+ font-weight: 500;
1335
+ display: inline-block;
1336
+ text-decoration: none;
1337
+ font-size: 13px;
1338
+ line-height: 2.15384615;
1339
+ min-height: 30px;
1340
+ margin: 0;
1341
+ padding: 0 10px;
1342
+ border-radius: 3px;
1343
+ cursor: pointer;
1344
+ outline: none; }
1345
+
1346
+ .wf_clean_cache_wrapper button:hover {
1347
+ background: #ff7979;
1348
+ color: #fff; }
1349
+
1350
+ input[type="submit"][data-id="wf_action_submit"] {
1351
+ background: linear-gradient(125deg, #3cb0fd 0, #152f8c 140%);
1352
+ color: #fff;
1353
+ border: 1px;
1354
+ padding: 0 20px; }
1355
+ input[type="submit"][data-id="wf_action_submit"]:hover {
1356
+ background: linear-gradient(125deg, #3cb0fd 0, #152f8c 140%);
1357
+ color: #fff; }
1358
+
1359
+ #TB_window {
1360
+ width: 500px !important; }
1361
+ #TB_window #TB_title {
1362
+ border: none;
1363
+ background: #fff;
1364
+ text-align: center;
1365
+ display: -ms-flexbox;
1366
+ display: flex;
1367
+ -ms-flex-pack: center;
1368
+ justify-content: center;
1369
+ -ms-flex-align: center;
1370
+ align-items: center;
1371
+ height: 35px !important; }
1372
+ #TB_window #TB_title #TB_ajaxWindowTitle {
1373
+ color: #30336b;
1374
+ font-weight: 700; }
1375
+ #TB_window #TB_closeWindowButton {
1376
+ top: -14.5px;
1377
+ right: -14.5px;
1378
+ border: none;
1379
+ outline: 0; }
1380
+ #TB_window #TB_closeWindowButton .tb-close-icon {
1381
+ background: #ff5e55;
1382
+ color: #fff;
1383
+ border-radius: 50%; }
1384
+ #TB_window #TB_closeWindowButton:focus {
1385
+ outline: 0;
1386
+ border: 0; }
1387
+ #TB_window #TB_ajaxContent {
1388
+ position: relative;
1389
+ width: 100% !important;
1390
+ height: auto !important;
1391
+ border: none;
1392
+ box-sizing: border-box;
1393
+ overflow: hidden;
1394
+ background: #f7fcff;
1395
+ padding: 30px 20px; }
1396
+ #TB_window #TB_ajaxContent:before {
1397
+ content: '';
1398
+ width: 115%;
1399
+ display: block;
1400
+ background: #4bcffa;
1401
+ position: absolute;
1402
+ height: 130%;
1403
+ z-index: 0;
1404
+ left: -36%;
1405
+ top: -85px;
1406
+ -webkit-transform: rotate(115deg);
1407
+ transform: rotate(115deg); }
1408
+ #TB_window #TB_ajaxContent table {
1409
+ border: none;
1410
+ position: relative;
1411
+ z-index: 1;
1412
+ border-radius: 3px;
1413
+ text-align: center;
1414
+ padding: 20px;
1415
+ box-shadow: 0px 12px 20px -17px #000; }
1416
+ #TB_window #TB_ajaxContent table input {
1417
+ width: 60%; }
1418
+ #TB_window #TB_ajaxContent table input:focus {
1419
+ outline: 2px solid #68B8F7; }
1420
+ #TB_window #TB_ajaxContent table input[type="file"] {
1421
+ padding: 3px 0;
1422
+ cursor: pointer; }
1423
+ #TB_window #TB_ajaxContent table input[type="text"] {
1424
+ border-radius: 25px;
1425
+ font-size: 14px;
1426
+ padding: 1px 20px;
1427
+ text-align: center; }
1428
+ #TB_window #TB_ajaxContent table input[type="submit"] {
1429
+ background: #17c0eb;
1430
+ border-radius: 25px;
1431
+ border: 0;
1432
+ box-shadow: 1px 4px 7px -3px #45364A;
1433
+ font-weight: 600;
1434
+ transition: .3s ease; }
1435
+ #TB_window #TB_ajaxContent table input[type="submit"]:hover {
1436
+ -webkit-transform: translateY(-2px);
1437
+ transform: translateY(-2px); }
1438
+
1439
+ /* Status Page Style */
1440
+ .woo-feed-status-table-wrapper .woo-feed-status-table {
1441
+ width: 100%;
1442
+ max-width: 900px;
1443
+ border-collapse: collapse;
1444
+ border-spacing: 0.5rem;
1445
+ box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); }
1446
+ .woo-feed-status-table-wrapper .woo-feed-status-table tr:nth-child(even) {
1447
+ background: #f1f1f1; }
1448
+ .woo-feed-status-table-wrapper .woo-feed-status-table tr:nth-child(odd) {
1449
+ background: #fafafc; }
1450
+ .woo-feed-status-table-wrapper .woo-feed-status-table tr th {
1451
+ background: #353b48;
1452
+ color: #fff; }
1453
+ .woo-feed-status-table-wrapper .woo-feed-status-table tr th, .woo-feed-status-table-wrapper .woo-feed-status-table tr td {
1454
+ padding: 0.5rem 20px;
1455
+ text-align: left; }
admin/css/woo-feed-admin.min.css CHANGED
@@ -1 +1 @@
1
- .wpf_spin{-webkit-animation:spin 1s infinite linear;animation:spin 1s infinite linear}.wpf_spin.reverse_spin{animation-direction:reverse}.wpf_regenerate.disabled{color:#737373;box-shadow:none;cursor:not-allowed}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.wfbtn{background:#3498db;background-image:linear-gradient(125deg,#3cb0fd 0,#152f8c 140%);border-radius:17px;box-shadow:inset 0 1px 3px #666;font-family:Arial,sans-serif;color:#fff;font-size:20px;padding:10px 20px 10px 20px;border:solid #2b698f 0;text-decoration:none}.wfbtn:hover{background:#3cb0fd;background-image:linear-gradient(to bottom,#3cb0fd,#3498db);text-decoration:none}.woo_feed_manage_list_table .wf_update_interval_btn{background:linear-gradient(125deg,#3cb0fd 0,#152f8c 140%)}.woo_feed_manage_list_table .wf_update_interval_btn:hover{background:linear-gradient(125deg,#3cb0fd 0,#152f8c 140%)}.woo-feed-promotion{position:relative;display:none}.woo-feed-promotion .woo-feed-campaign-close-button{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:15px;width:24px;height:24px;border-radius:12px;background:#595d6b;line-height:24px;color:#fff;cursor:pointer;transition:.3s ease}.woo-feed-promotion .woo-feed-campaign-close-button:hover{background:#fff;color:#d61e48}.wftooltip{display:none;position:absolute;border:1px solid #333;background-color:#161616;border-radius:5px;padding:10px;color:#fff;font-size:12px}.feed-actions .makeFeedResponse{width:70%;color:green}.woo-feed-mapping-input{width:100%}.requiredIn{color:red}.generalInput{width:200px}.generalInput:not(.selectize-control){margin:5px auto}.error{color:red}.widefat td input,.widefat td select{max-width:100%}#wf_newRow{margin-left:0}.mtable tbody tr{height:25px;border:1px solid #ccc;text-align:left;-ms-flex-align:baseline;align-items:baseline;font-weight:700}.mtable th:nth-child(1){width:17px}.mtable th:nth-child(2){width:160px}.mtable th:nth-child(3){width:100px}.mtable th:nth-child(4){width:100px}.mtable th:nth-child(5){width:150px}.mtable th:nth-child(6){width:100px}.mtable th:nth-child(7){width:150px}.mtable th:nth-child(8){width:90px}.mtable th:nth-child(9){width:29px}.mtable2 tbody tr{height:25px;border:1px solid #ccc;text-align:left;-ms-flex-align:baseline;align-items:baseline;font-weight:700}.mtable2 th:nth-child(1){width:30px}.mtable2 th:nth-child(2){width:150px}.mtable2 th:nth-child(3){width:230px}.mtable2 th:nth-child(4){width:220px}.mtable2 th:nth-child(7){width:50px}.mtable2 th:nth-child(8){width:50px}.mtable2 th:nth-child(9){width:29px}.wp-admin select.wf_mattributes{width:150px;left:0;height:25px}div#wf-tab-content1 select:not([name^=output_type]){width:100%}div#wf-tab-content1 input{width:100%}div#wf-tab-content1 .dashicons{vertical-align:middle}.wf_attributes{width:150px;left:0}.wf_compare{max-width:245px;left:0}.wf_ps{width:100px;left:0}.wf_sortedtable{cursor:move}.sorted_table{position:relative}.sorted_table .dragged{position:absolute;opacity:.8;z-index:9999;background:#fff;width:100%;display:table}.sorted_table tbody tr.placeholder td{border:1px dashed #2cc185;height:46px}.wfnoempty{width:120px}p{color:#222}.wf_tabs{position:relative;margin:0 auto;width:100%;list-style:none}.wf_tabs:after{display:table;clear:both;content:""}.wf_tabs li{float:left;width:20%;display:block;border:2px solid #ccc}.wf_tabs li>input[type=radio][name=wf_tabs]{position:absolute;top:auto;left:-9999px}.wf-tab-name{display:block;padding:15px;font-size:15px;font-weight:700;line-height:1;background:#fff;cursor:pointer;position:relative;text-align:center;text-transform:uppercase;color:#2cc185}.wf-tab-name:hover{background:#2cc185;color:#fff}.wf_tabs [id^=tab]:checked+label{background:#2cc185;color:#fff}.wf_tabs .wf-tab-content{z-index:2;display:none;width:100%;font-size:.9rem;position:absolute;left:0;background:#fff;border:2px solid #ccc}.wf_tabs [id^=tab]:checked~[id^=wf-tab-content]{display:block}[id^=wf-tab-content]{margin-bottom:40px}div#wf-tab-content2 table:first-child{padding:10px 0}div#wf-tab-content2 table:first-child td:nth-child(1){width:260px}div#wf-tab-content2 table:first-child td:nth-child(2){width:260px}table.feed-actions tr td:last-child{text-align:right}select.selectize{display:none}body.no-js select.selectize{display:block!important}.wp-list-table .option_name .wf_feed_option_name_link{font-weight:700;color:#30336b}.wp-list-table #option_name a{color:#32373c}.selectize-dropdown .active{background-color:#edf9ff}.selectize-dropdown .create{padding:5px 8px}.wapk-selectize-item{background:#0073aa!important;color:#f1f1f1!important;font-weight:700!important;border-color:#0073aa!important;padding-left:5px;padding-right:5px}.selectize-input.full #googleTaxonomyId-selectized{opacity:0;position:absolute;left:-10000px}.selectize-dropdown [data-selectable].option{cursor:default}.selectize-control.plugin-remove_button [data-value] .remove{border-left:1px solid #f1f1f1!important}.selectize-dropdown .optgroup-header{font-weight:700;background:#efefef;color:#5a5a5a}.selectize-dropdown [data-selectable].option{cursor:pointer}.wf_status_wrap label{width:55px;height:30px;box-sizing:border-box;float:left;border-radius:100px;position:relative;cursor:pointer;transition:.3s ease;background:#d3d3d3}input[class=woo_feed_status_input]:checked+label{background:#4fbe79}input[class=woo_feed_status_input]:checked+label:before{left:29px}.wf_status_wrap label:before{transition:.3s ease;content:'';width:20px;height:20px;position:absolute;background:#fff;left:6px;top:5px;box-sizing:border-box;color:#000;border-radius:100px;box-shadow:0 1.5px 2px 0 #000}.view span.dashicons.dashicons-external{color:#30336b}.view span.dashicons.dashicons-sos{color:#22a6b3}.view span.dashicons.dashicons-download{color:#ee5253}.view span.dashicons.dashicons-media-code{color:#576574}.column-url,.widefat td.column-url,.widefat th.column-url{color:#1e8f9a;font-weight:700}.feed-progress-container{width:100%;color:#fff;text-align:center;font-weight:300}.feed-progress-bar{width:100%;background:#eee;padding:3px;border-radius:50px;box-shadow:inset 0 1px 3px rgba(0,0,0,.2)}.feed-progress-bar-fill{height:20px;display:block;background:linear-gradient(to right top,#10ac84,#13b389,#15ba8f,#18c194,#1ac89a,#13cba1,#0acfa9,#00d2b0,#00d2ba,#00d2c3,#00d2cb,#00d2d3);width:0;border-radius:50px;transition:width .8s ease}.feed-progress-status{float:left;font-weight:700;color:#00008b}.feed-progress-percentage{text-align:right;font-weight:bolder;color:#1dd1a1;font-family:'Arial Black',sans-serif;font-size:large}#wpbody-content.woofeed-body-content{overflow:visible!important}.clippy{position:relative;width:13px;margin-top:-3px;margin-left:3px;top:3px}.column-url .clippy{display:none}.column-url:hover .clippy{display:inline-block}.tooltipped{position:relative}.tooltipped:after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font:normal normal 11px/1.5 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,"Segoe UI Emoji","Segoe UI Symbol";color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,.8);border-radius:3px;-webkit-font-smoothing:subpixel-antialiased}.tooltipped:before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:rgba(0,0,0,.8);pointer-events:none;content:"";border:5px solid transparent}.tooltipped:hover:before{display:inline-block;text-decoration:none}.tooltipped:hover:after{display:inline-block;text-decoration:none}.tooltipped:active:before{display:inline-block;text-decoration:none}.tooltipped:active:after{display:inline-block;text-decoration:none}.tooltipped:focus:before{display:inline-block;text-decoration:none}.tooltipped:focus:after{display:inline-block;text-decoration:none}.tooltipped-multiline:hover:after{display:table-cell}.tooltipped-multiline:active:after{display:table-cell}.tooltipped-multiline:focus:after{display:table-cell}.tooltipped-multiline:after{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:250px;word-break:break-word;word-wrap:normal;white-space:pre-line;border-collapse:separate}.tooltipped-s:after{top:100%;right:50%;margin-top:5px;-webkit-transform:translateX(50%);transform:translateX(50%)}.tooltipped-s:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.tooltipped-se:after{top:100%;margin-top:5px;right:auto;left:50%;margin-left:-15px}.tooltipped-se:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.tooltipped-sw:after{top:100%;right:50%;margin-top:5px;margin-right:-15px}.tooltipped-sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.tooltipped-n:after{right:50%;bottom:100%;margin-bottom:5px;-webkit-transform:translateX(50%);transform:translateX(50%)}.tooltipped-n:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.tooltipped-ne:after{bottom:100%;margin-bottom:5px;right:auto;left:50%;margin-left:-15px}.tooltipped-ne:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.tooltipped-nw:after{right:50%;bottom:100%;margin-bottom:5px;margin-right:-15px}.tooltipped-nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.tooltipped-w:after{right:100%;bottom:50%;margin-right:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,.8)}.tooltipped-e:after{bottom:50%;left:100%;margin-left:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,.8)}.tooltipped-multiline.tooltipped-s:after{right:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tooltipped-multiline.tooltipped-n:after{right:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tooltipped-multiline.tooltipped-w:after{right:100%}.tooltipped-multiline.tooltipped-e:after{right:100%}.tooltipped-sticky:before{display:inline-block}.tooltipped-sticky:after{display:inline-block}.tooltipped-sticky.tooltipped-multiline:after{display:table-cell}.fullscreen-overlay-enabled.dark-theme .tooltipped:after{color:#000;background:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before{border-bottom-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before{border-bottom-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before{border-bottom-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before{border-top-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before{border-top-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before{border-top-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before{border-right-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before{border-left-color:rgba(255,255,255,.8)}@media screen and (min-width:0\0){.tooltipped-multiline:after{width:250px}}ul.tracker_collection_list{list-style:initial;padding:initial;margin:-10px 0 0 30px;font-size:11px!important}ul.tracker_collection_list li{margin:0}table.wf-info-table,table.wf-rate-table{vertical-align:middle;text-align:center;max-width:100%;font-weight:500}table.wf-info-table th,table.wf-rate-table th{text-align:center}table.wf-info-table th .woo-feed-top-header,table.wf-rate-table th .woo-feed-top-header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}table.wf-info-table th .woo-feed-top-header .get-woo-feed-pro,table.wf-rate-table th .woo-feed-top-header .get-woo-feed-pro{margin-left:20px}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons{float:right;display:-ms-flexbox;display:flex;border-radius:7px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a{padding:8px 20px;background:#576574;color:#fff;box-sizing:border-box;display:inline-block;transition:.3s ease}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-doc-link,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-doc-link{background:#576574;border-top-left-radius:5px;border-bottom-left-radius:5px}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-video-link,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-video-link{background:#ee5253}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-support-link,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-support-link{background:#22a6b3;border-top-right-radius:5px;border-bottom-right-radius:5px}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a span.dashicons,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a span.dashicons{font-size:18px;line-height:1.2}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a:hover,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a:hover{background:#30336b;box-shadow:0 0 33px 0 rgba(0,0,0,.12)}table.wf-info-table strong,table.wf-rate-table strong{font-weight:700}table.wf-info-table th:first-child img{margin:0 0 -5px 5px}table.wf-rate-table a{color:#0073aa}table.wf-rate-table a.review-star:after{content:"\f155\f155\f155\f155\f155"!important;font-family:dashicons;font-size:10px;font-weight:100;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#0073aa;text-decoration:underline}#adminmenu #toplevel_page_webappick-manage-feeds div.wp-menu-image::before{content:"";background:url(../images/woo-feed-icon.svg) no-repeat center center;background-size:20px 20px;opacity:.6}#adminmenu #toplevel_page_webappick-manage-feeds:hover div.wp-menu-image::before{opacity:1}#adminmenu #toplevel_page_webappick-manage-feeds.wp-has-current-submenu div.wp-menu-image::before{opacity:1}.wapk-admin,.wapk-admin *{box-sizing:border-box}.wapk-admin{position:relative;display:block;-webkit-hyphens:manual;-ms-hyphens:manual;-moz-hyphens:manual;hyphens:manual;color:#1b2730;margin:0 0 0 -10px}@media screen and (min-width:783px){.wapk-admin{margin:0 0 0 -20px}}.text-center{text-align:center}.wapk-admin h1,.wapk-admin h2,.wapk-admin h3,.wapk-admin h4,.wapk-admin h5,.wapk-admin h6,.wapk-admin p{color:#1b2730}.wapk-admin sup{vertical-align:baseline;position:relative;top:-6px}.wapk-admin sub{vertical-align:baseline;position:relative;top:4px}.wapk-admin .wapk-section{margin:10px 20px 0 22px;position:relative;display:block}.wapk-admin .wapk-section [class$=icon32]+h2{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 0;line-height:1.3}.wapk-admin .wapk-section h1{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 0;line-height:1.3}.wapk-admin .wapk-section>h2:first-child{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 0;line-height:1.3}.wapk-admin>.notice{margin:10px 20px 0 22px;position:relative;display:block}.wapk-admin span.help{display:block;float:left;width:100%;font-size:.9em;color:#636363;margin-top:5px;font-weight:500}.wapk-admin span.help .dashicons{width:11px;height:12px;font-size:inherit;vertical-align:middle}.clear:after{content:"";display:table;clear:both}.wapk-feed-docs .postbox{width:355px;margin-right:20px;display:inline-block;vertical-align:top}.wapk-feed-docs .postbox .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;cursor:pointer}.wapk-feed-docs .postbox .dashicons{color:#ccc}.wapk-feed-docs .postbox a{text-decoration:none}.wapk-feed-docs .postbox .inside{margin-bottom:0}.wapk-feed-docs .postbox ul{margin-bottom:0}.wapk-feed-docs .postbox .toggle-indicator:before{content:"\F142";display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.wapk-feed-docs .postbox li{width:100%;display:block;float:left}.wapk-feed-docs .postbox li span{display:inline-block;float:left;margin-right:4px}.wapk-feed-docs .postbox li a{display:inline-block;float:left;width:calc(100% - 24px)}.wapk-feed-docs .postbox.closed .toggle-indicator:before{content:"\F140"}.wapk-section #post-body.columns-2 #side-sortables{min-height:196px}#poststuff #feed_merchant_info .inside{margin:0;padding:0}#feed_merchant_info ul.data{margin-left:24px;margin-top:5px}#feed_merchant_info ul.data li{margin-bottom:5px}.merchant-info-section{padding:6px 10px 8px}.generateFeed .wf-tab-content table:first-child{border:none;box-shadow:none}.generateFeed table th{font-weight:700}@media only screen and (max-width:850px){.wapk-feed-docs .postbox{display:block;width:auto;float:none;margin-right:auto}}.wp-submenu li span.woo-feed-docs{font-weight:700;color:#f18500}.wp-submenu li:hover span.woo-feed-docs{color:#ce7304}.wp-submenu li.current span.woo-feed-docs{color:#ce7304}.wapk-admin .wapk-feed-docs .postbox .hndle{cursor:default}.wapk-cta{position:relative;display:-ms-flexbox;display:flex;width:100%;padding:100px 15px;background:linear-gradient(45deg,#6cd5ff 33%,#c2efef 100%);-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.wapk-cta-icon .dashicons{font-size:100px;width:100px;height:auto;margin:0 10px -8px 0;color:#02658c}.wapk-cta-content{width:50%}.wapk-cta-content h2{font-size:2em;margin:.5em 0}.wapk-cta-action a.wapk-button{font-size:24px;height:auto!important;padding:10px 20px}@media (max-width:600px){.wapk-cta{display:block;text-align:center;padding:4em 0}.wapk-cta-content{width:100%;margin:2em 0}}.wapk-button{color:#00d4d4;border-color:#00d4d4;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.wapk-button>svg{width:15px;margin-left:5px;fill:#00d4d4}.wapk-button>.dashicons{color:#00d4d4}.wapk-button:hover{border-color:#0bb;color:#0bb}.wapk-button:hover>svg{fill:#0bb}.wapk-button:hover>.dashicons{color:#0bb}.wapk-button:focus{border-color:#00d4d4;color:#0bb;box-shadow:0 0 0 1px #00d4d4}.wapk-button:focus>svg{fill:#0bb}.wapk-button:focus>.dashicons{color:#0bb}.wapk-button:active{background:#0bb;border-color:#0bb}.wapk-button-secondary{color:#00d4d4;border-color:#00d4d4;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.wapk-button-secondary>svg{width:15px;margin-left:5px;fill:#00d4d4}.wapk-button-secondary>.dashicons{color:#00d4d4}.wapk-button-secondary:hover{border-color:#0bb;color:#0bb}.wapk-button-secondary:hover>svg{fill:#0bb}.wapk-button-secondary:hover>.dashicons{color:#0bb}.wapk-button-secondary:focus{border-color:#00d4d4;color:#0bb;box-shadow:0 0 0 1px #00d4d4}.wapk-button-secondary:focus>svg{fill:#0bb}.wapk-button-secondary:focus>.dashicons{color:#0bb}.wapk-button-primary{display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;background:#00d4d4;border-color:#00d4d4;color:#fff;box-shadow:0 1px 0 #0bb;text-shadow:0 -1px 1px #0bb,1px 0 1px #0bb,0 1px 1px #0bb,-1px 0 1px #0bb}.wapk-button-primary>svg{fill:#fff}.wapk-button-primary:hover{background:#00e3e3;border-color:#00c5c5;color:#fff}.wapk-button-primary:hover>svg{fill:#fff}.wapk-button-primary:focus{background:#00e3e3;border-color:#00c5c5;color:#fff;box-shadow:0 0 0 1px #fff,0 0 0 3px #00d4d4}.wapk-button-primary:focus>svg{fill:#fff}.wapk-button-primary:active{background:#0bb;border-color:#0bb;color:#fff}.wapk-button-primary:active>svg{fill:#fff}.wapk-button-primary:disabled{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary:disabled>svg{fill:#c7d1d1!important}.wapk-button.hover{border-color:#0bb;color:#0bb}.wapk-button.hover>svg{fill:#0bb}.wapk-button.hover>.dashicons{color:#0bb}.wapk-button.focus{border-color:#00d4d4;color:#0bb;box-shadow:0 0 0 1px #00d4d4}.wapk-button.focus>svg{fill:#0bb}.wapk-button.focus>.dashicons{color:#0bb}.wapk-button.active{border-color:#0bb;color:#0bb;box-shadow:inset 0 2px 5px -3px #0bb}.wapk-button.active:focus{border-color:#0bb;color:#0bb;box-shadow:inset 0 2px 5px -3px #0bb}.wapk-button.active:focus>svg{fill:#0bb}.wapk-button.active:focus>.dashicons{color:#0bb}.wapk-button.active:hover{border-color:#0bb;color:#0bb;box-shadow:inset 0 2px 5px -3px #0bb}.wapk-button.active:hover>svg{fill:#0bb}.wapk-button.active:hover>.dashicons{color:#0bb}.wapk-button.active>svg{fill:#0bb}.wapk-button.active>.dashicons{color:#0bb}.wapk-button-primary.active{background:#00d4d4;color:#fff;border-color:#088;box-shadow:inset 0 2px 5px -3px #000}.wapk-button-primary.active:focus{background:#00d4d4;color:#fff;border-color:#088;box-shadow:inset 0 2px 5px -3px #000}.wapk-button-primary.active:focus>svg{fill:#fff}.wapk-button-primary.active:hover{background:#00d4d4;color:#fff;border-color:#088;box-shadow:inset 0 2px 5px -3px #000}.wapk-button-primary.active:hover>svg{fill:#fff}.wapk-button-primary.active>svg{fill:#fff}.wapk-button-primary[disabled]{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary[disabled]>svg{fill:#c7d1d1!important}.wapk-button-primary.wapk-button-primary-disabled{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary.wapk-button-primary-disabled>svg{fill:#c7d1d1!important}.wapk-button-primary.disabled{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary.disabled>svg{fill:#c7d1d1!important}.wapk-button-primary.wapk-button-hero{box-shadow:0 2px 0 #0bb}.wapk-button-primary.wapk-button-hero:focus{box-shadow:0 2px 0 #0bb,0 1px 0 #00c5c5,0 0 2px 1px #0ee}.wapk-button-primary.wapk-button-hero:active{box-shadow:inset 0 3px 0 #00a1a1}.wapk-button-primary.wapk-button-hero.active{box-shadow:inset 0 3px 0 #00a1a1}.wapk-button-primary.wapk-button-hero.active:focus,.wapk-button-primary.wapk-button-hero.active:hover{box-shadow:inset 0 3px 0 #00a1a1}.wapk-button-group>.wapk-button.active{border-color:#00d4d4}.wapk-button.wapk-button-xl{height:30px;line-height:28px;padding:0 12px 2px}.wapk-button-group.wapk-button-xl .wapk-button{height:30px;line-height:28px;padding:0 12px 2px}.wapk-button.wapk-button-hero{font-size:18px;height:50px;line-height:48px;padding:0 36px;min-height:46px}.wapk-button-group.wapk-button-hero .wapk-button{font-size:18px;height:50px;line-height:48px;padding:0 36px;min-height:46px}@media screen and (min-width:782px){th#provider,th#status{width:80px}th#type{width:50px}th#option_name{width:100px}td.option_name.column-option_name>span:first-child{display:none}th#last_updated{width:90px}th#view{width:111px}}@media screen and (min-width:960px){th#provider,th#status{width:100px}th#type{width:80px}th#option_name{width:150px}th#last_updated{width:140px}}@media screen and (max-width:782px){table.wf-info-table{margin-top:10px}table.wf-info-table th:first-child img{margin:0 auto;display:block}.wapk-button.wapk-button-xl{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}}.wapk-feed-docs .wapk-feed-cta{margin:0}.campaign_configurator{background:#fff;padding:20px 0}.campaign_configurator table{margin:0 auto;width:51%;min-width:574px;border:none;box-shadow:none}.campaign_configurator th{min-width:120px}@media screen and (max-width:782px){.campaign_configurator{padding:0}.campaign_configurator table{width:auto;min-width:auto;max-width:100%}.campaign_configurator th{min-width:auto}}#wf-tab-content-config td>input:not([type=checkbox]):not([type=radio]),#wf-tab-content-config td>select,#wf-tab-content-config td>textarea{width:100%!important}.woo-feed-filters td>div:nth-child(2n):not(.clear):not(.selectize){width:120px;display:block}.woo-feed-filters td>div:not(.clear){float:left;margin-right:10px}.woo-feed-filters tr>td:first-child{width:290px;padding-left:40px}.woo-feed-filters,.woo-feed-ftp{margin:15px auto 25px}.wf_clean_cache_wrapper{display:-ms-flexbox;display:flex;margin-left:auto}@-webkit-keyframes LoaderClockWise{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes LoaderClockWise{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.woo-feed-cache-loader{width:18px;margin-right:5px;animation:LoaderClockWise 1s linear infinite;-webkit-animation:LoaderClockWise 1s linear infinite;display:none}.woo-feed-table-heading .woo-feed-table-heading-title{float:left;margin-right:auto;display:inline-block;line-height:30px}.woo-feed-table-heading .wf_clean_cache_wrapper{float:right;font-weight:400}.wf_clean_cache_wrapper button{background:linear-gradient(125deg,#eb4d4b 0,#ff9671 130%);color:#fff;border:none;font-weight:500;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;border-radius:3px;cursor:pointer;outline:0}.wf_clean_cache_wrapper button:hover{background:#ff7979;color:#fff}input[type=submit][data-id=wf_action_submit]{background:linear-gradient(125deg,#3cb0fd 0,#152f8c 140%);color:#fff;border:1px;padding:0 20px}input[type=submit][data-id=wf_action_submit]:hover{background:linear-gradient(125deg,#3cb0fd 0,#152f8c 140%);color:#fff}#TB_window{width:500px!important}#TB_window #TB_title{border:none;background:#fff;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:35px!important}#TB_window #TB_title #TB_ajaxWindowTitle{color:#30336b;font-weight:700}#TB_window #TB_closeWindowButton{top:-14.5px;right:-14.5px;border:none;outline:0}#TB_window #TB_closeWindowButton .tb-close-icon{background:#ff5e55;color:#fff;border-radius:50%}#TB_window #TB_closeWindowButton:focus{outline:0;border:0}#TB_window #TB_ajaxContent{position:relative;width:100%!important;height:auto!important;border:none;box-sizing:border-box;overflow:hidden;background:#f7fcff;padding:30px 20px}#TB_window #TB_ajaxContent:before{content:'';width:115%;display:block;background:#4bcffa;position:absolute;height:130%;z-index:0;left:-36%;top:-85px;-webkit-transform:rotate(115deg);transform:rotate(115deg)}#TB_window #TB_ajaxContent table{border:none;position:relative;z-index:1;border-radius:3px;text-align:center;padding:20px;box-shadow:0 12px 20px -17px #000}#TB_window #TB_ajaxContent table input{width:60%}#TB_window #TB_ajaxContent table input:focus{outline:2px solid #68b8f7}#TB_window #TB_ajaxContent table input[type=file]{padding:3px 0;cursor:pointer}#TB_window #TB_ajaxContent table input[type=text]{border-radius:25px;font-size:14px;padding:1px 20px;text-align:center}#TB_window #TB_ajaxContent table input[type=submit]{background:#17c0eb;border-radius:25px;border:0;box-shadow:1px 4px 7px -3px #45364a;font-weight:600;transition:.3s ease}#TB_window #TB_ajaxContent table input[type=submit]:hover{-webkit-transform:translateY(-2px);transform:translateY(-2px)}.woo-feed-status-table-wrapper .woo-feed-status-table{width:100%;max-width:900px;border-collapse:collapse;border-spacing:.5rem;box-shadow:0 0 20px rgba(0,0,0,.1)}.woo-feed-status-table-wrapper .woo-feed-status-table tr:nth-child(even){background:#f1f1f1}.woo-feed-status-table-wrapper .woo-feed-status-table tr:nth-child(odd){background:#fafafc}.woo-feed-status-table-wrapper .woo-feed-status-table tr th{background:#353b48;color:#fff}.woo-feed-status-table-wrapper .woo-feed-status-table tr td,.woo-feed-status-table-wrapper .woo-feed-status-table tr th{padding:.5rem 20px;text-align:left}
1
+ .wpf_spin{-webkit-animation:spin 1s infinite linear;animation:spin 1s infinite linear}.wpf_spin.reverse_spin{animation-direction:reverse}.wpf_regenerate.disabled{color:#737373;box-shadow:none;cursor:not-allowed}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.wfbtn{background:#3498db;background-image:linear-gradient(125deg,#3cb0fd 0,#152f8c 140%);border-radius:17px;box-shadow:inset 0 1px 3px #666;font-family:Arial,sans-serif;color:#fff;font-size:20px;padding:10px 20px 10px 20px;border:solid #2b698f 0;text-decoration:none}.wfbtn:hover{background:#3cb0fd;background-image:linear-gradient(to bottom,#3cb0fd,#3498db);text-decoration:none}.woo_feed_manage_list_table .wf_update_interval_btn{background:linear-gradient(125deg,#3cb0fd 0,#152f8c 140%)}.woo_feed_manage_list_table .wf_update_interval_btn:hover{background:linear-gradient(125deg,#3cb0fd 0,#152f8c 140%)}.woo-feed-promotion{position:relative;display:none}.woo-feed-promotion .woo-feed-campaign-close-button{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:15px;width:24px;height:24px;border-radius:12px;background:#595d6b;line-height:24px;color:#fff;cursor:pointer;transition:.3s ease}.woo-feed-promotion .woo-feed-campaign-close-button:hover{background:#fff;color:#d61e48}.wftooltip{display:none;position:absolute;border:1px solid #333;background-color:#161616;border-radius:5px;padding:10px;color:#fff;font-size:12px}.feed-actions .makeFeedResponse{width:70%;color:green}.woo-feed-mapping-input{width:100%}.requiredIn{color:red}.generalInput{width:200px}.generalInput:not(.selectize-control){margin:5px auto}.error{color:red}.widefat td input,.widefat td select{max-width:100%}#wf_newRow{margin-left:0}.mtable tbody tr{height:25px;border:1px solid #ccc;text-align:left;-ms-flex-align:baseline;align-items:baseline;font-weight:700}.mtable th:nth-child(1){width:17px}.mtable th:nth-child(2){width:160px}.mtable th:nth-child(3){width:100px}.mtable th:nth-child(4){width:100px}.mtable th:nth-child(5){width:150px}.mtable th:nth-child(6){width:100px}.mtable th:nth-child(7){width:150px}.mtable th:nth-child(8){width:90px}.mtable th:nth-child(9){width:29px}.mtable2 tbody tr{height:25px;border:1px solid #ccc;text-align:left;-ms-flex-align:baseline;align-items:baseline;font-weight:700}.mtable2 th:nth-child(1){width:30px}.mtable2 th:nth-child(2){width:150px}.mtable2 th:nth-child(3){width:230px}.mtable2 th:nth-child(4){width:220px}.mtable2 th:nth-child(7){width:50px}.mtable2 th:nth-child(8){width:50px}.mtable2 th:nth-child(9){width:29px}.wp-admin select.wf_mattributes{width:150px;left:0;height:25px}div#wf-tab-content1 select:not([name^=output_type]){width:100%}div#wf-tab-content1 input{width:100%}div#wf-tab-content1 .dashicons{vertical-align:middle}.wf_attributes{width:150px;left:0}.wf_compare{max-width:245px;left:0}.wf_ps{width:100px;left:0}.wf_sortedtable{cursor:move}.sorted_table{position:relative}.sorted_table .dragged{position:absolute;opacity:.8;z-index:9999;background:#fff;width:100%;display:table}.sorted_table tbody tr.placeholder td{border:1px dashed #2cc185;height:46px}.wfnoempty{width:120px}p{color:#222}.wf_tabs{position:relative;margin:0 auto;width:100%;list-style:none}.wf_tabs:after{display:table;clear:both;content:""}.wf_tabs li{float:left;width:20%;display:block;border:2px solid #ccc}.wf_tabs li>input[type=radio][name=wf_tabs]{position:absolute;top:auto;left:-9999px}.wf-tab-name{display:block;padding:15px;font-size:15px;font-weight:700;line-height:1;background:#fff;cursor:pointer;position:relative;text-align:center;text-transform:uppercase;color:#2cc185}.wf-tab-name:hover{background:#2cc185;color:#fff}.wf_tabs [id^=tab]:checked+label{background:#2cc185;color:#fff}.wf_tabs .wf-tab-content{z-index:2;display:none;width:100%;font-size:.9rem;position:absolute;left:0;background:#fff;border:2px solid #ccc}.wf_tabs [id^=tab]:checked~[id^=wf-tab-content]{display:block}[id^=wf-tab-content]{margin-bottom:40px}div#wf-tab-content2 table:first-child{padding:10px 0}div#wf-tab-content2 table:first-child td:nth-child(1){width:260px}div#wf-tab-content2 table:first-child td:nth-child(2){width:260px}table.feed-actions tr td:last-child{text-align:right}select.selectize{display:none}body.no-js select.selectize{display:block!important}.wp-list-table .option_name .wf_feed_option_name_link{font-weight:700;color:#30336b}.wp-list-table #option_name a{color:#32373c}.selectize-dropdown .active{background-color:#edf9ff}.selectize-dropdown .create{padding:5px 8px}.wapk-selectize-item{background:#0073aa!important;color:#f1f1f1!important;font-weight:700!important;border-color:#0073aa!important;padding-left:5px;padding-right:5px}.selectize-input.full #googleTaxonomyId-selectized{opacity:0;position:absolute;left:-10000px}.selectize-dropdown [data-selectable].option{cursor:default}.selectize-control.plugin-remove_button [data-value] .remove{border-left:1px solid #f1f1f1!important}.selectize-dropdown .optgroup-header{font-weight:700;background:#efefef;color:#5a5a5a}.selectize-dropdown [data-selectable].option{cursor:pointer}.wf_status_wrap label{width:55px;height:30px;box-sizing:border-box;float:left;border-radius:100px;position:relative;cursor:pointer;transition:.3s ease;background:#d3d3d3}input[class=woo_feed_status_input]:checked+label{background:#4fbe79}input[class=woo_feed_status_input]:checked+label:before{left:29px}.wf_status_wrap label:before{transition:.3s ease;content:'';width:20px;height:20px;position:absolute;background:#fff;left:6px;top:5px;box-sizing:border-box;color:#000;border-radius:100px;box-shadow:0 1.5px 2px 0 #000}.view span.dashicons.dashicons-external{color:#22a6b3}.view span.dashicons.dashicons-sos{color:#22a6b3}.view span.dashicons.dashicons-download{color:#ee5253}.view span.dashicons.dashicons-media-code{color:#576574}.column-url,.widefat td.column-url,.widefat th.column-url{color:#1e8f9a;font-weight:700}.feed-progress-container{width:100%;color:#fff;text-align:center;font-weight:300}.feed-progress-bar{width:100%;background:#eee;padding:3px;border-radius:50px;box-shadow:inset 0 1px 3px rgba(0,0,0,.2)}.feed-progress-bar-fill{height:20px;display:block;background:linear-gradient(to right top,#10ac84,#13b389,#15ba8f,#18c194,#1ac89a,#13cba1,#0acfa9,#00d2b0,#00d2ba,#00d2c3,#00d2cb,#00d2d3);width:0;border-radius:50px;transition:width .8s ease}.feed-progress-status{float:left;font-weight:700;color:#00008b}.feed-progress-percentage{text-align:right;font-weight:bolder;color:#1dd1a1;font-family:'Arial Black',sans-serif;font-size:large}#wpbody-content.woofeed-body-content{overflow:visible!important}.clippy{position:relative;width:13px;margin-top:-3px;margin-left:3px;top:3px}.column-url .clippy{display:none}.column-url:hover .clippy{display:inline-block}.tooltipped{position:relative}.tooltipped:after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font:normal normal 11px/1.5 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,"Segoe UI Emoji","Segoe UI Symbol";color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,.8);border-radius:3px;-webkit-font-smoothing:subpixel-antialiased}.tooltipped:before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:rgba(0,0,0,.8);pointer-events:none;content:"";border:5px solid transparent}.tooltipped:hover:before{display:inline-block;text-decoration:none}.tooltipped:hover:after{display:inline-block;text-decoration:none}.tooltipped:active:before{display:inline-block;text-decoration:none}.tooltipped:active:after{display:inline-block;text-decoration:none}.tooltipped:focus:before{display:inline-block;text-decoration:none}.tooltipped:focus:after{display:inline-block;text-decoration:none}.tooltipped-multiline:hover:after{display:table-cell}.tooltipped-multiline:active:after{display:table-cell}.tooltipped-multiline:focus:after{display:table-cell}.tooltipped-multiline:after{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:250px;word-break:break-word;word-wrap:normal;white-space:pre-line;border-collapse:separate}.tooltipped-s:after{top:100%;right:50%;margin-top:5px;-webkit-transform:translateX(50%);transform:translateX(50%)}.tooltipped-s:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.tooltipped-se:after{top:100%;margin-top:5px;right:auto;left:50%;margin-left:-15px}.tooltipped-se:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.tooltipped-sw:after{top:100%;right:50%;margin-top:5px;margin-right:-15px}.tooltipped-sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.tooltipped-n:after{right:50%;bottom:100%;margin-bottom:5px;-webkit-transform:translateX(50%);transform:translateX(50%)}.tooltipped-n:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.tooltipped-ne:after{bottom:100%;margin-bottom:5px;right:auto;left:50%;margin-left:-15px}.tooltipped-ne:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.tooltipped-nw:after{right:50%;bottom:100%;margin-bottom:5px;margin-right:-15px}.tooltipped-nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.tooltipped-w:after{right:100%;bottom:50%;margin-right:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,.8)}.tooltipped-e:after{bottom:50%;left:100%;margin-left:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,.8)}.tooltipped-multiline.tooltipped-s:after{right:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tooltipped-multiline.tooltipped-n:after{right:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tooltipped-multiline.tooltipped-w:after{right:100%}.tooltipped-multiline.tooltipped-e:after{right:100%}.tooltipped-sticky:before{display:inline-block}.tooltipped-sticky:after{display:inline-block}.tooltipped-sticky.tooltipped-multiline:after{display:table-cell}.fullscreen-overlay-enabled.dark-theme .tooltipped:after{color:#000;background:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before{border-bottom-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before{border-bottom-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before{border-bottom-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before{border-top-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before{border-top-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before{border-top-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before{border-right-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before{border-left-color:rgba(255,255,255,.8)}@media screen and (min-width:0\0){.tooltipped-multiline:after{width:250px}}ul.tracker_collection_list{list-style:initial;padding:initial;margin:-10px 0 0 30px;font-size:11px!important}ul.tracker_collection_list li{margin:0}table.wf-info-table,table.wf-rate-table{vertical-align:middle;text-align:center;max-width:100%;font-weight:500}table.wf-info-table th,table.wf-rate-table th{text-align:center}table.wf-info-table th .woo-feed-top-header,table.wf-rate-table th .woo-feed-top-header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}table.wf-info-table th .woo-feed-top-header .get-woo-feed-pro,table.wf-rate-table th .woo-feed-top-header .get-woo-feed-pro{margin-left:20px}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons{float:right;display:-ms-flexbox;display:flex;border-radius:7px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a{padding:8px 20px;background:#576574;color:#fff;box-sizing:border-box;display:inline-block;transition:.3s ease}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-doc-link,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-doc-link{background:#576574;border-top-left-radius:5px;border-bottom-left-radius:5px}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-video-link,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-video-link{background:#ee5253}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-support-link,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-support-link{background:#22a6b3;border-top-right-radius:5px;border-bottom-right-radius:5px}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a span.dashicons,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a span.dashicons{font-size:18px;line-height:1.2}table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a:hover,table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a:hover{background:#30336b;box-shadow:0 0 33px 0 rgba(0,0,0,.12)}table.wf-info-table strong,table.wf-rate-table strong{font-weight:700}table.wf-info-table th:first-child img{margin:0 0 -5px 5px}table.wf-rate-table a{color:#0073aa}table.wf-rate-table a.review-star:after{content:"\f155\f155\f155\f155\f155"!important;font-family:dashicons;font-size:10px;font-weight:100;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#0073aa;text-decoration:underline}#adminmenu #toplevel_page_webappick-manage-feeds div.wp-menu-image::before{content:"";background:url(../images/woo-feed-icon.svg) no-repeat center center;background-size:20px 20px;opacity:.6}#adminmenu #toplevel_page_webappick-manage-feeds:hover div.wp-menu-image::before{opacity:1}#adminmenu #toplevel_page_webappick-manage-feeds.wp-has-current-submenu div.wp-menu-image::before{opacity:1}.wapk-admin,.wapk-admin *{box-sizing:border-box}.wapk-admin{position:relative;display:block;-webkit-hyphens:manual;-ms-hyphens:manual;-moz-hyphens:manual;hyphens:manual;color:#1b2730;margin:0 0 0 -10px}@media screen and (min-width:783px){.wapk-admin{margin:0 0 0 -20px}}.text-center{text-align:center}.wapk-admin h1,.wapk-admin h2,.wapk-admin h3,.wapk-admin h4,.wapk-admin h5,.wapk-admin h6,.wapk-admin p{color:#1b2730}.wapk-admin sup{vertical-align:baseline;position:relative;top:-6px}.wapk-admin sub{vertical-align:baseline;position:relative;top:4px}.wapk-admin .wapk-section{margin:10px 20px 0 22px;position:relative;display:block}.wapk-admin .wapk-section [class$=icon32]+h2{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 0;line-height:1.3}.wapk-admin .wapk-section h1{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 0;line-height:1.3}.wapk-admin .wapk-section>h2:first-child{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 0;line-height:1.3}.wapk-admin>.notice{margin:10px 20px 0 22px;position:relative;display:block}.wapk-admin span.help{display:block;float:left;width:100%;font-size:.9em;color:#636363;margin-top:5px;font-weight:500}.wapk-admin span.help .dashicons{width:11px;height:12px;font-size:inherit;vertical-align:middle}.clear:after{content:"";display:table;clear:both}.wapk-feed-docs .postbox{width:355px;margin-right:20px;display:inline-block;vertical-align:top}.wapk-feed-docs .postbox .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;cursor:pointer}.wapk-feed-docs .postbox .dashicons{color:#ccc}.wapk-feed-docs .postbox a{text-decoration:none}.wapk-feed-docs .postbox .inside{margin-bottom:0}.wapk-feed-docs .postbox ul{margin-bottom:0}.wapk-feed-docs .postbox .toggle-indicator:before{content:"\F142";display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.wapk-feed-docs .postbox li{width:100%;display:block;float:left}.wapk-feed-docs .postbox li span{display:inline-block;float:left;margin-right:4px}.wapk-feed-docs .postbox li a{display:inline-block;float:left;width:calc(100% - 24px)}.wapk-feed-docs .postbox.closed .toggle-indicator:before{content:"\F140"}.wapk-section #post-body.columns-2 #side-sortables{min-height:196px}#poststuff #feed_merchant_info .inside{margin:0;padding:0}#feed_merchant_info ul.data{margin-left:24px;margin-top:5px}#feed_merchant_info ul.data li{margin-bottom:5px}.merchant-info-section{padding:6px 10px 8px}.generateFeed .wf-tab-content table:first-child{border:none;box-shadow:none}.generateFeed table th{font-weight:700}@media only screen and (max-width:850px){.wapk-feed-docs .postbox{display:block;width:auto;float:none;margin-right:auto}}.wp-submenu li span.woo-feed-docs{font-weight:700;color:#f18500}.wp-submenu li:hover span.woo-feed-docs{color:#ce7304}.wp-submenu li.current span.woo-feed-docs{color:#ce7304}.wapk-admin .wapk-feed-docs .postbox .hndle{cursor:default}.wapk-cta{position:relative;display:-ms-flexbox;display:flex;width:100%;padding:100px 15px;background:linear-gradient(45deg,#6cd5ff 33%,#c2efef 100%);-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.wapk-cta-icon .dashicons{font-size:100px;width:100px;height:auto;margin:0 10px -8px 0;color:#02658c}.wapk-cta-content{width:50%}.wapk-cta-content h2{font-size:2em;margin:.5em 0}.wapk-cta-action a.wapk-button{font-size:24px;height:auto!important;padding:10px 20px}@media (max-width:600px){.wapk-cta{display:block;text-align:center;padding:4em 0}.wapk-cta-content{width:100%;margin:2em 0}}.wapk-button{color:#00d4d4;border-color:#00d4d4;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.wapk-button>svg{width:15px;margin-left:5px;fill:#00d4d4}.wapk-button>.dashicons{color:#00d4d4}.wapk-button:hover{border-color:#0bb;color:#0bb}.wapk-button:hover>svg{fill:#0bb}.wapk-button:hover>.dashicons{color:#0bb}.wapk-button:focus{border-color:#00d4d4;color:#0bb;box-shadow:0 0 0 1px #00d4d4}.wapk-button:focus>svg{fill:#0bb}.wapk-button:focus>.dashicons{color:#0bb}.wapk-button:active{background:#0bb;border-color:#0bb}.wapk-button-secondary{color:#00d4d4;border-color:#00d4d4;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.wapk-button-secondary>svg{width:15px;margin-left:5px;fill:#00d4d4}.wapk-button-secondary>.dashicons{color:#00d4d4}.wapk-button-secondary:hover{border-color:#0bb;color:#0bb}.wapk-button-secondary:hover>svg{fill:#0bb}.wapk-button-secondary:hover>.dashicons{color:#0bb}.wapk-button-secondary:focus{border-color:#00d4d4;color:#0bb;box-shadow:0 0 0 1px #00d4d4}.wapk-button-secondary:focus>svg{fill:#0bb}.wapk-button-secondary:focus>.dashicons{color:#0bb}.wapk-button-primary{display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;background:#00d4d4;border-color:#00d4d4;color:#fff;box-shadow:0 1px 0 #0bb;text-shadow:0 -1px 1px #0bb,1px 0 1px #0bb,0 1px 1px #0bb,-1px 0 1px #0bb}.wapk-button-primary>svg{fill:#fff}.wapk-button-primary:hover{background:#00e3e3;border-color:#00c5c5;color:#fff}.wapk-button-primary:hover>svg{fill:#fff}.wapk-button-primary:focus{background:#00e3e3;border-color:#00c5c5;color:#fff;box-shadow:0 0 0 1px #fff,0 0 0 3px #00d4d4}.wapk-button-primary:focus>svg{fill:#fff}.wapk-button-primary:active{background:#0bb;border-color:#0bb;color:#fff}.wapk-button-primary:active>svg{fill:#fff}.wapk-button-primary:disabled{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary:disabled>svg{fill:#c7d1d1!important}.wapk-button.hover{border-color:#0bb;color:#0bb}.wapk-button.hover>svg{fill:#0bb}.wapk-button.hover>.dashicons{color:#0bb}.wapk-button.focus{border-color:#00d4d4;color:#0bb;box-shadow:0 0 0 1px #00d4d4}.wapk-button.focus>svg{fill:#0bb}.wapk-button.focus>.dashicons{color:#0bb}.wapk-button.active{border-color:#0bb;color:#0bb;box-shadow:inset 0 2px 5px -3px #0bb}.wapk-button.active:focus{border-color:#0bb;color:#0bb;box-shadow:inset 0 2px 5px -3px #0bb}.wapk-button.active:focus>svg{fill:#0bb}.wapk-button.active:focus>.dashicons{color:#0bb}.wapk-button.active:hover{border-color:#0bb;color:#0bb;box-shadow:inset 0 2px 5px -3px #0bb}.wapk-button.active:hover>svg{fill:#0bb}.wapk-button.active:hover>.dashicons{color:#0bb}.wapk-button.active>svg{fill:#0bb}.wapk-button.active>.dashicons{color:#0bb}.wapk-button-primary.active{background:#00d4d4;color:#fff;border-color:#088;box-shadow:inset 0 2px 5px -3px #000}.wapk-button-primary.active:focus{background:#00d4d4;color:#fff;border-color:#088;box-shadow:inset 0 2px 5px -3px #000}.wapk-button-primary.active:focus>svg{fill:#fff}.wapk-button-primary.active:hover{background:#00d4d4;color:#fff;border-color:#088;box-shadow:inset 0 2px 5px -3px #000}.wapk-button-primary.active:hover>svg{fill:#fff}.wapk-button-primary.active>svg{fill:#fff}.wapk-button-primary[disabled]{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary[disabled]>svg{fill:#c7d1d1!important}.wapk-button-primary.wapk-button-primary-disabled{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary.wapk-button-primary-disabled>svg{fill:#c7d1d1!important}.wapk-button-primary.disabled{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary.disabled>svg{fill:#c7d1d1!important}.wapk-button-primary.wapk-button-hero{box-shadow:0 2px 0 #0bb}.wapk-button-primary.wapk-button-hero:focus{box-shadow:0 2px 0 #0bb,0 1px 0 #00c5c5,0 0 2px 1px #0ee}.wapk-button-primary.wapk-button-hero:active{box-shadow:inset 0 3px 0 #00a1a1}.wapk-button-primary.wapk-button-hero.active{box-shadow:inset 0 3px 0 #00a1a1}.wapk-button-primary.wapk-button-hero.active:focus,.wapk-button-primary.wapk-button-hero.active:hover{box-shadow:inset 0 3px 0 #00a1a1}.wapk-button-group>.wapk-button.active{border-color:#00d4d4}.wapk-button.wapk-button-xl{height:30px;line-height:28px;padding:0 12px 2px}.wapk-button-group.wapk-button-xl .wapk-button{height:30px;line-height:28px;padding:0 12px 2px}.wapk-button.wapk-button-hero{font-size:18px;height:50px;line-height:48px;padding:0 36px;min-height:46px}.wapk-button-group.wapk-button-hero .wapk-button{font-size:18px;height:50px;line-height:48px;padding:0 36px;min-height:46px}@media screen and (min-width:782px){th#provider,th#status{width:80px}th#type{width:50px}th#option_name{width:100px}td.option_name.column-option_name>span:first-child{display:none}th#last_updated{width:90px}th#view{width:111px}}@media screen and (min-width:960px){th#provider,th#status{width:100px}th#type{width:80px}th#option_name{width:150px}th#last_updated{width:140px}}@media screen and (max-width:782px){table.wf-info-table{margin-top:10px}table.wf-info-table th:first-child img{margin:0 auto;display:block}.wapk-button.wapk-button-xl{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}}.wapk-feed-docs .wapk-feed-cta{margin:0}.campaign_configurator{background:#fff;padding:20px 0}.campaign_configurator table{margin:0 auto;width:51%;min-width:574px;border:none;box-shadow:none}.campaign_configurator th{min-width:120px}@media screen and (max-width:782px){.campaign_configurator{padding:0}.campaign_configurator table{width:auto;min-width:auto;max-width:100%}.campaign_configurator th{min-width:auto}}#wf-tab-content-config td>input:not([type=checkbox]):not([type=radio]),#wf-tab-content-config td>select,#wf-tab-content-config td>textarea{width:100%!important}.woo-feed-filters td>div:nth-child(2n):not(.clear):not(.selectize){width:120px;display:block}.woo-feed-filters td>div:not(.clear){float:left;margin-right:10px}.woo-feed-filters tr>td:first-child{width:290px;padding-left:40px}.woo-feed-filters,.woo-feed-ftp{margin:15px auto 25px}.wf_clean_cache_wrapper{display:-ms-flexbox;display:flex;margin-left:auto}@-webkit-keyframes LoaderClockWise{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes LoaderClockWise{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.woo-feed-cache-loader{width:18px;margin-right:5px;animation:LoaderClockWise 1s linear infinite;-webkit-animation:LoaderClockWise 1s linear infinite;display:none}.woo-feed-table-heading .woo-feed-table-heading-title{float:left;margin-right:auto;display:inline-block;line-height:30px}.woo-feed-table-heading .wf_clean_cache_wrapper{float:right;font-weight:400}.wf_clean_cache_wrapper button{background:linear-gradient(125deg,#eb4d4b 0,#ff9671 130%);color:#fff;border:none;font-weight:500;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;border-radius:3px;cursor:pointer;outline:0}.wf_clean_cache_wrapper button:hover{background:#ff7979;color:#fff}input[type=submit][data-id=wf_action_submit]{background:linear-gradient(125deg,#3cb0fd 0,#152f8c 140%);color:#fff;border:1px;padding:0 20px}input[type=submit][data-id=wf_action_submit]:hover{background:linear-gradient(125deg,#3cb0fd 0,#152f8c 140%);color:#fff}#TB_window{width:500px!important}#TB_window #TB_title{border:none;background:#fff;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:35px!important}#TB_window #TB_title #TB_ajaxWindowTitle{color:#30336b;font-weight:700}#TB_window #TB_closeWindowButton{top:-14.5px;right:-14.5px;border:none;outline:0}#TB_window #TB_closeWindowButton .tb-close-icon{background:#ff5e55;color:#fff;border-radius:50%}#TB_window #TB_closeWindowButton:focus{outline:0;border:0}#TB_window #TB_ajaxContent{position:relative;width:100%!important;height:auto!important;border:none;box-sizing:border-box;overflow:hidden;background:#f7fcff;padding:30px 20px}#TB_window #TB_ajaxContent:before{content:'';width:115%;display:block;background:#4bcffa;position:absolute;height:130%;z-index:0;left:-36%;top:-85px;-webkit-transform:rotate(115deg);transform:rotate(115deg)}#TB_window #TB_ajaxContent table{border:none;position:relative;z-index:1;border-radius:3px;text-align:center;padding:20px;box-shadow:0 12px 20px -17px #000}#TB_window #TB_ajaxContent table input{width:60%}#TB_window #TB_ajaxContent table input:focus{outline:2px solid #68b8f7}#TB_window #TB_ajaxContent table input[type=file]{padding:3px 0;cursor:pointer}#TB_window #TB_ajaxContent table input[type=text]{border-radius:25px;font-size:14px;padding:1px 20px;text-align:center}#TB_window #TB_ajaxContent table input[type=submit]{background:#17c0eb;border-radius:25px;border:0;box-shadow:1px 4px 7px -3px #45364a;font-weight:600;transition:.3s ease}#TB_window #TB_ajaxContent table input[type=submit]:hover{-webkit-transform:translateY(-2px);transform:translateY(-2px)}.woo-feed-status-table-wrapper .woo-feed-status-table{width:100%;max-width:900px;border-collapse:collapse;border-spacing:.5rem;box-shadow:0 0 20px rgba(0,0,0,.1)}.woo-feed-status-table-wrapper .woo-feed-status-table tr:nth-child(even){background:#f1f1f1}.woo-feed-status-table-wrapper .woo-feed-status-table tr:nth-child(odd){background:#fafafc}.woo-feed-status-table-wrapper .woo-feed-status-table tr th{background:#353b48;color:#fff}.woo-feed-status-table-wrapper .woo-feed-status-table tr td,.woo-feed-status-table-wrapper .woo-feed-status-table tr th{padding:.5rem 20px;text-align:left}
admin/css/woo-feed-admin.scss CHANGED
@@ -484,7 +484,7 @@ input[class=woo_feed_status_input]:checked + label:before {
484
  span {
485
  &.dashicons {
486
  &.dashicons-external {
487
- color: #30336b;
488
  }
489
 
490
  &.dashicons-sos {
484
  span {
485
  &.dashicons {
486
  &.dashicons-external {
487
+ color: #22a6b3;
488
  }
489
 
490
  &.dashicons-sos {
admin/js/fancy-select.min.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";!function(v,f,m){function y(e,t){var r=this,l=v.extend(!0,{},{options:[],optgroups:[],items:[],placeholder:"",delimiter:",",splitOn:null,persist:!0,diacritics:!0,create:!1,createOnBlur:!1,createFilter:null,highlight:!0,openOnFocus:!0,maxOptions:1e3,maxItems:null,maxItemShow:3,hideSelected:null,addPrecedence:!1,selectOnTab:!1,preload:!1,allowEmptyOption:!1,closeAfterSelect:!1,scrollDuration:60,loadThrottle:300,loadingClass:"loading",dataAttr:"data-data",optgroupField:"optgroup",valueField:"value",labelField:"text",disabledField:"disabled",optgroupLabelField:"label",optgroupValueField:"value",lockOptgroupOrder:!1,sortField:"$order",searchField:["text"],searchConjunction:"and",mode:null,wrapperClass:"selectize-control",inputClass:"selectize-input",dropdownClass:"selectize-dropdown",dropdownContentClass:"selectize-dropdown-content",dropdownParent:null,copyClassesToDropdown:!0,render:{}},t),n=e[0];(n.fancySelect=r).order=0;var i=f.getComputedStyle&&f.getComputedStyle(n,null),s=i?i.getPropertyValue("direction"):n.currentStyle&&n.currentStyle.direction;s=s||e.parents("[dir]:first").attr("dir")||"",r.computedStyle=i,/android/i.test(f.navigator.userAgent)||m.createElement("input").validity;var a,o,d,c={},p={readData:function(e){var t=r.dataAttr&&e.attr(r.dataAttr);return"string"==typeof t&&t.length?JSON.parse(t):null},addOption:function(e,t){e=v(e);var n=r.hash_key(e.val());if(n||l.allowEmptyOption)if(c.hasOwnProperty(n)){if(t){var i=c[n][field_optgroup];i?v.isArray(i)?i.push(t):c[n][field_optgroup]=[i,t]:c[n][field_optgroup]=t}}else{var s=p.readData(e)||{};s[r.settings.labelField]=s[r.settings.labelField]||e.text(),s[r.settings.valueField]=s[r.settings.valueField]||n,s[r.settings.disabledField]=s[r.settings.disabledField]||e.prop("disabled"),s[r.settings.optgroupField]=s[r.settings.optgroupField]||t,s.$order=++r.order,c[n]=s,r.settings.options.push(s),e.is(":selected")&&r.settings.items.push(s)}},addGroup:function(e){var t,n,i,s,l;for((i=(e=v(e)).attr("label"))&&((s=p.readData(e)||{})[r.settings.optgroupLabelField]=i,s[r.settings.optgroupValueField]=i,s[r.settings.disabledField]=e.prop("disabled"),s.$order=++r.order,r.settings.optgroups.push(s)),t=0,n=(l=v("option",e)).length;t<n;t++)p.addOption(l[t],i)}};v.extend(r,{settings:l,$select:e,tabIndex:e.attr("tabindex")||"",tagType:1,rtl:/rtl/i.test(s),multiple:e.attr("multiple"),eventNS:".FancySelect"+ ++y.count,highlightedValue:null,isBlurring:!1,isOpen:!1,isDisabled:!1,isRequired:e.is("[required]"),isInvalid:!1,isLocked:!1,isFocused:!1,isInputHidden:!1,isSetup:!1,isRendered:!1,isShiftDown:!1,isCmdDown:!1,isCtrlDown:!1,ignoreFocus:!1,ignoreBlur:!1,ignoreHover:!1,hasOptions:!1,currentResults:null,lastValue:"",caretPos:0,loading:0,loadedSearches:{},$activeOption:null,$activeItems:[],optgroups:{},options:{},userOptions:{},items:{},renderCache:{},onSearchChange:null===l.loadThrottle?r.onSearchChange:(a=r.onSearchChange,o=l.loadThrottle,function(){var e=this,t=arguments;f.clearTimeout(d),d=f.setTimeout(function(){a.apply(e,t)},o)})}),""===r.settings.placeholder&&(r.settings.placeholder=e.attr("placeholder")||e.attr("data-placeholder"),r.settings.placeholder||r.settings.allowEmptyOption||(r.settings.placeholder=e.children('option[value=""]').text())),r.settings.maxItems=r.multiple?null:1;for(var u=0,g=r.$select.children().length;u<g;u++){var h=r.$select.children()[u].tagName.toLowerCase();"optgroup"===h?p.addGroup(r.$select.children()[u]):"option"===h&&p.addOption(r.$select.children()[u])}r.$wrapper=v('<div class="fancy-picker">').addClass(e.attr("class")),r.computedStyle.hasOwnProperty("width")&&r.$wrapper.css({width:r.computedStyle.width}),r.$outputWrapper=v('<div class="fancy-picker-picked">').appendTo(r.$wrapper),r.originalPlaceholder=v('<span class="fancy-picker-placeholder">').appendTo(r.$outputWrapper),r.dataPlaceholder=v('<span class="fancy-picker-data">').appendTo(r.$outputWrapper),r.dataCountPlaceholder=v('<span class="fancy-picker-count">').appendTo(r.$outputWrapper),r.$dropdown=v('<div class="fancy-picker-ui">').appendTo(r.$wrapper),r.$dropdownContent=v('<div class="fancy-picker-content">').appendTo(r.$dropdown),r.setup()}y.count=0,v.extend(y.prototype,{setup:function(){var s=this;s.revertSettings={$children:s.$select.children().detach(),tabindex:s.$select.attr("tabindex")},s.$select.attr("tabindex",-1).hide().after(s.$wrapper),s.$select.data("FancySelect",s),s.$select.addClass("FancySelectInit"),s.settings.items.sort(function(e,t){return e[s.settings.sortField]-t[s.settings.sortField]}),s.preload&&s.render(),s.updatePlaceholder(),s.updateOriginalInput(),s.$wrapper.on("click"+s.eventNS,".fancy-picker-picked",function(e){s.$select.trigger("show"),s.isRendered||s.render(),s.$wrapper.toggleClass("active"),s.$select.trigger("shown")}),v(m).on("click"+s.eventNS,function(e){v(e.target).closest(s.$wrapper).length||(s.$select.trigger("hide"),s.$wrapper.removeClass("active"),s.$select.trigger("hidden"))}),s.$wrapper.on("click"+s.eventNS,".fancy-picker-option:not(.disabled)",function(e){e.preventDefault();var t=v(this),n=!1,i=s.hash_key(t.data("value"));s.multiple?(t.hasClass("selected")?t.removeClass("selected"):(n=!0,t.addClass("selected")),n?s.settings.items.push(s.getSelectedOptionData(i)):s.settings.items=s.settings.items.filter(function(e){return e[s.settings.valueField]!==i}),s.settings.items.sort(function(e,t){return e[s.settings.sortField]-t[s.settings.sortField]})):(s.$dropdownContent.find(".fancy-picker-option").not(t).removeClass("selected"),t.addClass("selected"),n=!0,s.settings.items=[s.getSelectedOptionData(i)],s.$wrapper.removeClass("active")),s.updatePlaceholder(),s.updateOriginalInput()}),v(f).on("resize"+s.eventNS,function(){var e=f.getComputedStyle&&f.getComputedStyle(s.$select[0],null);e.hasOwnProperty("width")&&s.$wrapper.css({width:e.width})}),s.$select.trigger("initialize")},render:function(){function s(e){return l.isSelected(e)?"fancy-picker-option selected":"fancy-picker-option"}var l=this,r=[],a=l.settings.optgroups,o=l.settings.options;if(a.length)for(var e=function(t){r.push('<div class="fancy-picker-option-group">'),r.push('<div class="fancy-picker-option-group-label">'.concat(a[t][l.settings.labelField],"</div>"));for(var e=o.filter(function(e){return e[l.settings.optgroupField]===a[t][l.settings.valueField]}),n=0;n<e.length;n++){var i=e[t];r.push('<div class="'.concat(s(i[l.settings.valueField]),'" data-value="').concat(i[l.settings.valueField],'">').concat(i[l.settings.labelField],"</div>"))}r.push("</div>")},t=0;t<a.length;t++)e(t);else for(var n=0;n<o.length;n++){var i=o[n];r.push('<div class="'.concat(s(i[l.settings.valueField]),'" data-value="').concat(i[l.settings.valueField],'">').concat(i[l.settings.labelField],"</div>"))}l.$dropdownContent.html(r.join("")),l.$select.trigger("rendered"),l.isRendered=!0},updatePlaceholder:function(){var t=this,n=[],e=t.settings.items,i=e.length>t.settings.maxItemShow?t.settings.maxItemShow-1:t.settings.maxItemShow;if(t.originalPlaceholder.text(t.settings.placeholder),e.length?t.originalPlaceholder.hide():t.originalPlaceholder.show(),e.slice(0,i).forEach(function(e){n.push("<span>".concat(e[t.settings.labelField],"</span>"))}),t.dataPlaceholder.html(n.join('<span class="fancy-picker-separator">'.concat(t.settings.delimiter,"</span>"))),e.length>t.settings.maxItemShow){var s=[];e.forEach(function(e){s.push(e[t.settings.labelField])}),t.dataCountPlaceholder.attr("title",s.join(t.settings.delimiter.trim()+" ")),t.dataCountPlaceholder.html("+"+(e.length-i)+" More &hellip;")}else t.dataCountPlaceholder.removeAttr("title"),t.dataCountPlaceholder.html("");return t.$select.trigger("placeholderChanged"),t},updateOriginalInput:function(e){var t=this,n=[],i=!1;e=!0===e;for(var s=t.settings.items,l=0;l<s.length;l++)n.push('<option value="'+s[l][t.settings.valueField]+'" selected="selected">'+s[l][t.settings.labelField]||"</option>"),i=!0;return t.$select.html(n.join("")),!e&&i&&t.$select.trigger("change"),t},getSelectedOptionData:function(t){var n=this,e=n.settings.options.filter(function(e){return e[n.settings.valueField]===t});return!!e.length&&e[0]},isSelected:function(t){var n=this;return 0<n.settings.items.filter(function(e){return e[n.settings.valueField]===t}).length},hash_key:function(e){return e+""},destroy:function(){var e=this;e.$select.trigger("destroy"),e.trigger("destroy"),e.off(),e.$select.html("").append(e.revertSettings.$children).removeAttr("tabindex").removeClass("FancySelectInit").attr({tabindex:e.revertSettings.tabindex}).show(),e.$select.removeData("FancySelect"),e.$wrapper.remove(),0==--y.count&&y.$testInput&&(y.$testInput.remove(),y.$testInput=void 0),v(f).off(e.eventNS),v(m).off(e.eventNS),v(m.body).off(e.eventNS),delete e.$select[0].fancySelect}}),v.extend(y.prototype,{bind:function(e,t){this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(t)},unbind:function(e,t){this._events=this._events||{},e in this._events!=!1&&this._events[e].splice(this._events[e].indexOf(t),1)},trigger:function(e){if(this._events=this._events||{},e in this._events!=!1)for(var t=0;t<this._events[e].length;t++)this._events[e][t].apply(this,Array.prototype.slice.call(arguments,1))}}),v.fn.fancySelect=function(e){return this.each(function(){this.fancySelect||"select"===this.tagName.toLowerCase()&&new y(v(this),e)})}}(jQuery,window,document);
2
- //# sourceMappingURL=fancy-select.min.js.map
1
+ "use strict";!function(v,f,m){function y(e,t){var r=this,l=v.extend(!0,{},{options:[],optgroups:[],items:[],placeholder:"",delimiter:",",splitOn:null,persist:!0,diacritics:!0,create:!1,createOnBlur:!1,createFilter:null,highlight:!0,openOnFocus:!0,maxOptions:1e3,maxItems:null,maxItemShow:3,hideSelected:null,addPrecedence:!1,selectOnTab:!1,preload:!1,allowEmptyOption:!1,closeAfterSelect:!1,scrollDuration:60,loadThrottle:300,loadingClass:"loading",dataAttr:"data-data",optgroupField:"optgroup",valueField:"value",labelField:"text",disabledField:"disabled",optgroupLabelField:"label",optgroupValueField:"value",lockOptgroupOrder:!1,sortField:"$order",searchField:["text"],searchConjunction:"and",mode:null,wrapperClass:"selectize-control",inputClass:"selectize-input",dropdownClass:"selectize-dropdown",dropdownContentClass:"selectize-dropdown-content",dropdownParent:null,copyClassesToDropdown:!0,render:{}},t),n=e[0];(n.fancySelect=r).order=0;var i=f.getComputedStyle&&f.getComputedStyle(n,null),s=i?i.getPropertyValue("direction"):n.currentStyle&&n.currentStyle.direction;s=s||e.parents("[dir]:first").attr("dir")||"",r.computedStyle=i,/android/i.test(f.navigator.userAgent)||m.createElement("input").validity;var a,o,d,c={},p={readData:function(e){var t=r.dataAttr&&e.attr(r.dataAttr);return"string"==typeof t&&t.length?JSON.parse(t):null},addOption:function(e,t){e=v(e);var n=r.hash_key(e.val());if(n||l.allowEmptyOption)if(c.hasOwnProperty(n)){if(t){var i=c[n][field_optgroup];i?v.isArray(i)?i.push(t):c[n][field_optgroup]=[i,t]:c[n][field_optgroup]=t}}else{var s=p.readData(e)||{};s[r.settings.labelField]=s[r.settings.labelField]||e.text(),s[r.settings.valueField]=s[r.settings.valueField]||n,s[r.settings.disabledField]=s[r.settings.disabledField]||e.prop("disabled"),s[r.settings.optgroupField]=s[r.settings.optgroupField]||t,s.$order=++r.order,c[n]=s,r.settings.options.push(s),e.is(":selected")&&r.settings.items.push(s)}},addGroup:function(e){var t,n,i,s,l;for((i=(e=v(e)).attr("label"))&&((s=p.readData(e)||{})[r.settings.optgroupLabelField]=i,s[r.settings.optgroupValueField]=i,s[r.settings.disabledField]=e.prop("disabled"),s.$order=++r.order,r.settings.optgroups.push(s)),t=0,n=(l=v("option",e)).length;t<n;t++)p.addOption(l[t],i)}};v.extend(r,{settings:l,$select:e,tabIndex:e.attr("tabindex")||"",tagType:1,rtl:/rtl/i.test(s),multiple:e.attr("multiple"),eventNS:".FancySelect"+ ++y.count,highlightedValue:null,isBlurring:!1,isOpen:!1,isDisabled:!1,isRequired:e.is("[required]"),isInvalid:!1,isLocked:!1,isFocused:!1,isInputHidden:!1,isSetup:!1,isRendered:!1,isShiftDown:!1,isCmdDown:!1,isCtrlDown:!1,ignoreFocus:!1,ignoreBlur:!1,ignoreHover:!1,hasOptions:!1,currentResults:null,lastValue:"",caretPos:0,loading:0,loadedSearches:{},$activeOption:null,$activeItems:[],optgroups:{},options:{},userOptions:{},items:{},renderCache:{},onSearchChange:null===l.loadThrottle?r.onSearchChange:(a=r.onSearchChange,o=l.loadThrottle,function(){var e=this,t=arguments;f.clearTimeout(d),d=f.setTimeout(function(){a.apply(e,t)},o)})}),""===r.settings.placeholder&&(r.settings.placeholder=e.attr("placeholder")||e.attr("data-placeholder"),r.settings.placeholder||r.settings.allowEmptyOption||(r.settings.placeholder=e.children('option[value=""]').text())),r.settings.maxItems=r.multiple?null:1;for(var u=0,g=r.$select.children().length;u<g;u++){var h=r.$select.children()[u].tagName.toLowerCase();"optgroup"===h?p.addGroup(r.$select.children()[u]):"option"===h&&p.addOption(r.$select.children()[u])}r.$wrapper=v('<div class="fancy-picker">').addClass(e.attr("class")),r.computedStyle.hasOwnProperty("width")&&r.$wrapper.css({width:r.computedStyle.width}),r.$outputWrapper=v('<div class="fancy-picker-picked">').appendTo(r.$wrapper),r.originalPlaceholder=v('<span class="fancy-picker-placeholder">').appendTo(r.$outputWrapper),r.dataPlaceholder=v('<span class="fancy-picker-data">').appendTo(r.$outputWrapper),r.dataCountPlaceholder=v('<span class="fancy-picker-count">').appendTo(r.$outputWrapper),r.$dropdown=v('<div class="fancy-picker-ui">').appendTo(r.$wrapper),r.$dropdownContent=v('<div class="fancy-picker-content">').appendTo(r.$dropdown),r.setup()}y.count=0,v.extend(y.prototype,{setup:function(){var s=this;s.revertSettings={$children:s.$select.children().detach(),tabindex:s.$select.attr("tabindex")},s.$select.attr("tabindex",-1).hide().after(s.$wrapper),s.$select.data("FancySelect",s),s.$select.addClass("FancySelectInit"),s.settings.items.sort(function(e,t){return e[s.settings.sortField]-t[s.settings.sortField]}),s.preload&&s.render(),s.updatePlaceholder(),s.updateOriginalInput(),s.$wrapper.on("click"+s.eventNS,".fancy-picker-picked",function(e){s.$select.trigger("show"),s.isRendered||s.render(),s.$wrapper.toggleClass("active"),s.$select.trigger("shown")}),v(m).on("click"+s.eventNS,function(e){v(e.target).closest(s.$wrapper).length||(s.$select.trigger("hide"),s.$wrapper.removeClass("active"),s.$select.trigger("hidden"))}),s.$wrapper.on("click"+s.eventNS,".fancy-picker-option:not(.disabled)",function(e){e.preventDefault();var t=v(this),n=!1,i=s.hash_key(t.data("value"));s.multiple?(t.hasClass("selected")?t.removeClass("selected"):(n=!0,t.addClass("selected")),n?s.settings.items.push(s.getSelectedOptionData(i)):s.settings.items=s.settings.items.filter(function(e){return e[s.settings.valueField]!==i}),s.settings.items.sort(function(e,t){return e[s.settings.sortField]-t[s.settings.sortField]})):(s.$dropdownContent.find(".fancy-picker-option").not(t).removeClass("selected"),t.addClass("selected"),n=!0,s.settings.items=[s.getSelectedOptionData(i)],s.$wrapper.removeClass("active")),s.updatePlaceholder(),s.updateOriginalInput()}),v(f).on("resize"+s.eventNS,function(){var e=f.getComputedStyle&&f.getComputedStyle(s.$select[0],null);e.hasOwnProperty("width")&&s.$wrapper.css({width:e.width})}),s.$select.trigger("initialize")},render:function(){function s(e){return l.isSelected(e)?"fancy-picker-option selected":"fancy-picker-option"}var l=this,r=[],a=l.settings.optgroups,o=l.settings.options;if(a.length)for(var e=function(t){r.push('<div class="fancy-picker-option-group">'),r.push('<div class="fancy-picker-option-group-label">'.concat(a[t][l.settings.labelField],"</div>"));for(var e=o.filter(function(e){return e[l.settings.optgroupField]===a[t][l.settings.valueField]}),n=0;n<e.length;n++){var i=e[t];r.push('<div class="'.concat(s(i[l.settings.valueField]),'" data-value="').concat(i[l.settings.valueField],'">').concat(i[l.settings.labelField],"</div>"))}r.push("</div>")},t=0;t<a.length;t++)e(t);else for(var n=0;n<o.length;n++){var i=o[n];r.push('<div class="'.concat(s(i[l.settings.valueField]),'" data-value="').concat(i[l.settings.valueField],'">').concat(i[l.settings.labelField],"</div>"))}l.$dropdownContent.html(r.join("")),l.$select.trigger("rendered"),l.isRendered=!0},updatePlaceholder:function(){var t=this,n=[],e=t.settings.items,i=e.length>t.settings.maxItemShow?t.settings.maxItemShow-1:t.settings.maxItemShow;if(t.originalPlaceholder.text(t.settings.placeholder),e.length?t.originalPlaceholder.hide():t.originalPlaceholder.show(),e.slice(0,i).forEach(function(e){n.push("<span>".concat(e[t.settings.labelField],"</span>"))}),t.dataPlaceholder.html(n.join('<span class="fancy-picker-separator">'.concat(t.settings.delimiter,"</span>"))),e.length>t.settings.maxItemShow){var s=[];e.forEach(function(e){s.push(e[t.settings.labelField])}),t.dataCountPlaceholder.attr("title",s.join(t.settings.delimiter.trim()+" ")),t.dataCountPlaceholder.html("+"+(e.length-i)+" More &hellip;")}else t.dataCountPlaceholder.removeAttr("title"),t.dataCountPlaceholder.html("");return t.$select.trigger("placeholderChanged"),t},updateOriginalInput:function(e){var t=this,n=[],i=!1;e=!0===e;for(var s=t.settings.items,l=0;l<s.length;l++)n.push('<option value="'+s[l][t.settings.valueField]+'" selected="selected">'+s[l][t.settings.labelField]||"</option>"),i=!0;return t.$select.html(n.join("")),!e&&i&&t.$select.trigger("change"),t},getSelectedOptionData:function(t){var n=this,e=n.settings.options.filter(function(e){return e[n.settings.valueField]===t});return!!e.length&&e[0]},isSelected:function(t){var n=this;return 0<n.settings.items.filter(function(e){return e[n.settings.valueField]===t}).length},hash_key:function(e){return e+""},destroy:function(){var e=this;e.$select.trigger("destroy"),e.trigger("destroy"),e.off(),e.$select.html("").append(e.revertSettings.$children).removeAttr("tabindex").removeClass("FancySelectInit").attr({tabindex:e.revertSettings.tabindex}).show(),e.$select.removeData("FancySelect"),e.$wrapper.remove(),0==--y.count&&y.$testInput&&(y.$testInput.remove(),y.$testInput=void 0),v(f).off(e.eventNS),v(m).off(e.eventNS),v(m.body).off(e.eventNS),delete e.$select[0].fancySelect}}),v.extend(y.prototype,{bind:function(e,t){this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(t)},unbind:function(e,t){this._events=this._events||{},e in this._events!=!1&&this._events[e].splice(this._events[e].indexOf(t),1)},trigger:function(e){if(this._events=this._events||{},e in this._events!=!1)for(var t=0;t<this._events[e].length;t++)this._events[e][t].apply(this,Array.prototype.slice.call(arguments,1))}}),v.fn.fancySelect=function(e){return this.each(function(){this.fancySelect||"select"===this.tagName.toLowerCase()&&new y(v(this),e)})}}(jQuery,window,document);
2
+ //# sourceMappingURL=fancy-select.min.js.map
admin/js/jquery-sortable.min.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(u,s,a){var o={drag:!0,drop:!0,exclude:"",nested:!0,vertical:!0},n={afterMove:function(){},containerPath:"",containerSelector:"ol, ul",distance:0,delay:0,handle:"",itemPath:"",itemSelector:"li",bodyClass:"dragging",draggedClass:"dragged",isValidTarget:function(){return!0},onCancel:function(){},onDrag:function(t,e){t.css(e)},onDragStart:function(t,e){t.css({height:t.outerHeight(),width:t.outerWidth()}),t.addClass(e.group.options.draggedClass),u("body").addClass(e.group.options.bodyClass)},onDrop:function(t,e){t.removeClass(e.group.options.draggedClass).removeAttr("style"),u("body").removeClass(e.group.options.bodyClass)},onMousedown:function(t,e,i){if(!i.target.nodeName.match(/^(input|select|textarea)$/i))return i.preventDefault(),!0},placeholderClass:"placeholder",placeholder:'<li class="placeholder"></li>',pullPlaceholder:!0,serialize:function(t,e,i){var o=u.extend({},t.data());return i?[e]:(e[0]&&(o.children=e),delete o.subContainers,delete o.sortable,o)},tolerance:0},e={},r=0,p={left:0,top:0,bottom:0,right:0},h={start:"touchstart.sortable mousedown.sortable",drop:"touchend.sortable touchcancel.sortable mouseup.sortable",drag:"touchmove.sortable mousemove.sortable",scroll:"scroll.sortable"},l="subContainers";function c(t,e){return Math.max(0,t[0]-e[0],e[0]-t[1])+Math.max(0,t[2]-e[1],e[1]-t[3])}function t(t,e,i,o){var s=t.length,n=o?"offset":"position";for(i=i||0;s--;){var r=t[s].el?t[s].el:u(t[s]),a=r[n]();a.left+=parseInt(r.css("margin-left"),10),a.top+=parseInt(r.css("margin-top"),10),e[s]=[a.left-i,a.left+r.outerWidth()+i,a.top-i,a.top+r.outerHeight()+i]}}function f(t,e){var i=e.offset();return{left:t.left-i.left,top:t.top-i.top}}function d(t,e,i){e=[e.left,e.top],i=i&&[i.left,i.top];for(var o,s=t.length,n=[];s--;)o=t[s],n[s]=[s,c(o,e),i&&c(o,i)];return n=n.sort(function(t,e){return e[1]-t[1]||e[2]-t[2]||e[0]-t[0]})}function g(t){this.options=u.extend({},n,t),this.containers=[],this.options.rootGroup||(this.scrollProxy=u.proxy(this.scroll,this),this.dragProxy=u.proxy(this.drag,this),this.dropProxy=u.proxy(this.drop,this),this.placeholder=u(this.options.placeholder),t.isValidTarget||(this.options.isValidTarget=a))}function m(t,e){this.el=t,this.options=u.extend({},o,e),this.group=g.get(this.options),this.rootGroup=this.options.rootGroup||this.group,this.handle=this.rootGroup.options.handle||this.rootGroup.options.itemSelector;var i=this.rootGroup.options.itemPath;this.target=i?this.el.find(i):this.el,this.target.on(h.start,this.handle,u.proxy(this.dragInit,this)),this.options.drop&&this.group.containers.push(this)}g.get=function(t){return e[t.group]||(t.group===a&&(t.group=r++),e[t.group]=new g(t)),e[t.group]},g.prototype={dragInit:function(t,e){this.$document=u(e.el[0].ownerDocument);var i=u(t.target).closest(this.options.itemSelector);if(i.length){if(this.item=i,this.itemContainer=e,this.item.is(this.options.exclude)||!this.options.onMousedown(this.item,n.onMousedown,t))return;this.setPointer(t),this.toggleListeners("on"),this.setupDelayTimer(),this.dragInitDone=!0}},drag:function(t){if(!this.dragging){if(!this.distanceMet(t)||!this.delayMet)return;this.options.onDragStart(this.item,this.itemContainer,n.onDragStart,t),this.item.before(this.placeholder),this.dragging=!0}this.setPointer(t),this.options.onDrag(this.item,f(this.pointer,this.item.offsetParent()),n.onDrag,t);var e=this.getPointer(t),i=this.sameResultBox,o=this.options.tolerance;(!i||i.top-o>e.top||i.bottom+o<e.top||i.left-o>e.left||i.right+o<e.left)&&(this.searchValidTarget()||(this.placeholder.detach(),this.lastAppendedItem=a))},drop:function(t){this.toggleListeners("off"),this.dragInitDone=!1,this.dragging&&(this.placeholder.closest("html")[0]?this.placeholder.before(this.item).detach():this.options.onCancel(this.item,this.itemContainer,n.onCancel,t),this.options.onDrop(this.item,this.getContainer(this.item),n.onDrop,t),this.clearDimensions(),this.clearOffsetParent(),this.lastAppendedItem=this.sameResultBox=a,this.dragging=!1)},searchValidTarget:function(t,e){t||(t=this.relativePointer||this.pointer,e=this.lastRelativePointer||this.lastPointer);for(var i=d(this.getContainerDimensions(),t,e),o=i.length;o--;){var s=i[o][0];if(!i[o][1]||this.options.pullPlaceholder){var n=this.containers[s];if(!n.disabled){if(!this.$getOffsetParent()){var r=n.getItemOffsetParent();t=f(t,r),e=f(e,r)}if(n.searchValidTarget(t,e))return!0}}}this.sameResultBox&&(this.sameResultBox=a)},movePlaceholder:function(t,e,i,o){var s=this.lastAppendedItem;!o&&s&&s[0]===e[0]||(e[i](this.placeholder),this.lastAppendedItem=e,this.sameResultBox=o,this.options.afterMove(this.placeholder,t,e))},getContainerDimensions:function(){return this.containerDimensions||t(this.containers,this.containerDimensions=[],this.options.tolerance,!this.$getOffsetParent()),this.containerDimensions},getContainer:function(t){return t.closest(this.options.containerSelector).data(s)},$getOffsetParent:function(){if(this.offsetParent===a){var t=this.containers.length-1,e=this.containers[t].getItemOffsetParent();if(!this.options.rootGroup)for(;t--;)if(e[0]!=this.containers[t].getItemOffsetParent()[0]){e=!1;break}this.offsetParent=e}return this.offsetParent},setPointer:function(t){var e=this.getPointer(t);if(this.$getOffsetParent()){var i=f(e,this.$getOffsetParent());this.lastRelativePointer=this.relativePointer,this.relativePointer=i}this.lastPointer=this.pointer,this.pointer=e},distanceMet:function(t){var e=this.getPointer(t);return Math.max(Math.abs(this.pointer.left-e.left),Math.abs(this.pointer.top-e.top))>=this.options.distance},getPointer:function(t){var e=t.originalEvent||t.originalEvent.touches&&t.originalEvent.touches[0];return{left:t.pageX||e.pageX,top:t.pageY||e.pageY}},setupDelayTimer:function(){var t=this;this.delayMet=!this.options.delay,this.delayMet||(clearTimeout(this._mouseDelayTimer),this._mouseDelayTimer=setTimeout(function(){t.delayMet=!0},this.options.delay))},scroll:function(){this.clearDimensions(),this.clearOffsetParent()},toggleListeners:function(i){var o=this;u.each(["drag","drop","scroll"],function(t,e){o.$document[i](h[e],o[e+"Proxy"])})},clearOffsetParent:function(){this.offsetParent=a},clearDimensions:function(){this.traverse(function(t){t._clearDimensions()})},traverse:function(t){t(this);for(var e=this.containers.length;e--;)this.containers[e].traverse(t)},_clearDimensions:function(){this.containerDimensions=a},_destroy:function(){e[this.options.group]=a}},m.prototype={dragInit:function(t){var e=this.rootGroup;!this.disabled&&!e.dragInitDone&&this.options.drag&&this.isValidDrag(t)&&e.dragInit(t,this)},isValidDrag:function(t){return 1==t.which||"touchstart"==t.type&&1==t.originalEvent.touches.length},searchValidTarget:function(t,e){var i=d(this.getItemDimensions(),t,e),o=i.length,s=this.rootGroup,n=!s.options.isValidTarget||s.options.isValidTarget(s.item,this);if(!o&&n)return s.movePlaceholder(this,this.target,"append"),!0;for(;o--;){var r=i[o][0];if(!i[o][1]&&this.hasChildGroup(r)){if(this.getContainerGroup(r).searchValidTarget(t,e))return!0}else if(n)return this.movePlaceholder(r,t),!0}},movePlaceholder:function(t,e){var i=u(this.items[t]),o=this.itemDimensions[t],s="after",n=i.outerWidth(),r=i.outerHeight(),a=i.offset(),h={left:a.left,right:a.left+n,top:a.top,bottom:a.top+r};if(this.options.vertical){var l=(o[2]+o[3])/2;e.top<=l?(s="before",h.bottom-=r/2):h.top+=r/2}else{var c=(o[0]+o[1])/2;e.left<=c?(s="before",h.right-=n/2):h.left+=n/2}this.hasChildGroup(t)&&(h=p),this.rootGroup.movePlaceholder(this,i,s,h)},getItemDimensions:function(){return this.itemDimensions||(this.items=this.$getChildren(this.el,"item").filter(":not(."+this.group.options.placeholderClass+", ."+this.group.options.draggedClass+")").get(),t(this.items,this.itemDimensions=[],this.options.tolerance)),this.itemDimensions},getItemOffsetParent:function(){var t=this.el;return"relative"===t.css("position")||"absolute"===t.css("position")||"fixed"===t.css("position")?t:t.offsetParent()},hasChildGroup:function(t){return this.options.nested&&this.getContainerGroup(t)},getContainerGroup:function(t){var e=u.data(this.items[t],l);if(e===a){var i=this.$getChildren(this.items[t],"container");if(e=!1,i[0]){var o=u.extend({},this.options,{rootGroup:this.rootGroup,group:r++});e=i[s](o).data(s).group}u.data(this.items[t],l,e)}return e},$getChildren:function(t,e){var i=this.rootGroup.options,o=i[e+"Path"],s=i[e+"Selector"];return t=u(t),o&&(t=t.find(o)),t.children(s)},_serialize:function(t,e){var i=this,o=e?"item":"container",s=this.$getChildren(t,o).not(this.options.exclude).map(function(){return i._serialize(u(this),!e)}).get();return this.rootGroup.options.serialize(t,s,e)},traverse:function(i){u.each(this.items||[],function(t){var e=u.data(this,l);e&&e.traverse(i)}),i(this)},_clearDimensions:function(){this.itemDimensions=a},_destroy:function(){var e=this;this.target.off(h.start,this.handle),this.el.removeData(s),this.options.drop&&(this.group.containers=u.grep(this.group.containers,function(t){return t!=e})),u.each(this.items||[],function(){u.removeData(this,l)})}};var v={enable:function(){this.traverse(function(t){t.disabled=!1})},disable:function(){this.traverse(function(t){t.disabled=!0})},serialize:function(){return this._serialize(this.el,!0)},refresh:function(){this.traverse(function(t){t._clearDimensions()})},destroy:function(){this.traverse(function(t){t._destroy()})}};u.extend(m.prototype,v),u.fn[s]=function(i){var o=Array.prototype.slice.call(arguments,1);return this.map(function(){var t=u(this),e=t.data(s);return e&&v[i]?v[i].apply(e,o)||this:(e||i!==a&&"object"!==_typeof(i)||t.data(s,new m(t,i)),this)})}}(jQuery,(window,"wf_sortable"));
2
- //# sourceMappingURL=jquery-sortable.min.js.map
1
+ "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(u,s,a){var o={drag:!0,drop:!0,exclude:"",nested:!0,vertical:!0},n={afterMove:function(){},containerPath:"",containerSelector:"ol, ul",distance:0,delay:0,handle:"",itemPath:"",itemSelector:"li",bodyClass:"dragging",draggedClass:"dragged",isValidTarget:function(){return!0},onCancel:function(){},onDrag:function(t,e){t.css(e)},onDragStart:function(t,e){t.css({height:t.outerHeight(),width:t.outerWidth()}),t.addClass(e.group.options.draggedClass),u("body").addClass(e.group.options.bodyClass)},onDrop:function(t,e){t.removeClass(e.group.options.draggedClass).removeAttr("style"),u("body").removeClass(e.group.options.bodyClass)},onMousedown:function(t,e,i){if(!i.target.nodeName.match(/^(input|select|textarea)$/i))return i.preventDefault(),!0},placeholderClass:"placeholder",placeholder:'<li class="placeholder"></li>',pullPlaceholder:!0,serialize:function(t,e,i){var o=u.extend({},t.data());return i?[e]:(e[0]&&(o.children=e),delete o.subContainers,delete o.sortable,o)},tolerance:0},e={},r=0,p={left:0,top:0,bottom:0,right:0},h={start:"touchstart.sortable mousedown.sortable",drop:"touchend.sortable touchcancel.sortable mouseup.sortable",drag:"touchmove.sortable mousemove.sortable",scroll:"scroll.sortable"},l="subContainers";function c(t,e){return Math.max(0,t[0]-e[0],e[0]-t[1])+Math.max(0,t[2]-e[1],e[1]-t[3])}function t(t,e,i,o){var s=t.length,n=o?"offset":"position";for(i=i||0;s--;){var r=t[s].el?t[s].el:u(t[s]),a=r[n]();a.left+=parseInt(r.css("margin-left"),10),a.top+=parseInt(r.css("margin-top"),10),e[s]=[a.left-i,a.left+r.outerWidth()+i,a.top-i,a.top+r.outerHeight()+i]}}function f(t,e){var i=e.offset();return{left:t.left-i.left,top:t.top-i.top}}function d(t,e,i){e=[e.left,e.top],i=i&&[i.left,i.top];for(var o,s=t.length,n=[];s--;)o=t[s],n[s]=[s,c(o,e),i&&c(o,i)];return n=n.sort(function(t,e){return e[1]-t[1]||e[2]-t[2]||e[0]-t[0]})}function g(t){this.options=u.extend({},n,t),this.containers=[],this.options.rootGroup||(this.scrollProxy=u.proxy(this.scroll,this),this.dragProxy=u.proxy(this.drag,this),this.dropProxy=u.proxy(this.drop,this),this.placeholder=u(this.options.placeholder),t.isValidTarget||(this.options.isValidTarget=a))}function m(t,e){this.el=t,this.options=u.extend({},o,e),this.group=g.get(this.options),this.rootGroup=this.options.rootGroup||this.group,this.handle=this.rootGroup.options.handle||this.rootGroup.options.itemSelector;var i=this.rootGroup.options.itemPath;this.target=i?this.el.find(i):this.el,this.target.on(h.start,this.handle,u.proxy(this.dragInit,this)),this.options.drop&&this.group.containers.push(this)}g.get=function(t){return e[t.group]||(t.group===a&&(t.group=r++),e[t.group]=new g(t)),e[t.group]},g.prototype={dragInit:function(t,e){this.$document=u(e.el[0].ownerDocument);var i=u(t.target).closest(this.options.itemSelector);if(i.length){if(this.item=i,this.itemContainer=e,this.item.is(this.options.exclude)||!this.options.onMousedown(this.item,n.onMousedown,t))return;this.setPointer(t),this.toggleListeners("on"),this.setupDelayTimer(),this.dragInitDone=!0}},drag:function(t){if(!this.dragging){if(!this.distanceMet(t)||!this.delayMet)return;this.options.onDragStart(this.item,this.itemContainer,n.onDragStart,t),this.item.before(this.placeholder),this.dragging=!0}this.setPointer(t),this.options.onDrag(this.item,f(this.pointer,this.item.offsetParent()),n.onDrag,t);var e=this.getPointer(t),i=this.sameResultBox,o=this.options.tolerance;(!i||i.top-o>e.top||i.bottom+o<e.top||i.left-o>e.left||i.right+o<e.left)&&(this.searchValidTarget()||(this.placeholder.detach(),this.lastAppendedItem=a))},drop:function(t){this.toggleListeners("off"),this.dragInitDone=!1,this.dragging&&(this.placeholder.closest("html")[0]?this.placeholder.before(this.item).detach():this.options.onCancel(this.item,this.itemContainer,n.onCancel,t),this.options.onDrop(this.item,this.getContainer(this.item),n.onDrop,t),this.clearDimensions(),this.clearOffsetParent(),this.lastAppendedItem=this.sameResultBox=a,this.dragging=!1)},searchValidTarget:function(t,e){t||(t=this.relativePointer||this.pointer,e=this.lastRelativePointer||this.lastPointer);for(var i=d(this.getContainerDimensions(),t,e),o=i.length;o--;){var s=i[o][0];if(!i[o][1]||this.options.pullPlaceholder){var n=this.containers[s];if(!n.disabled){if(!this.$getOffsetParent()){var r=n.getItemOffsetParent();t=f(t,r),e=f(e,r)}if(n.searchValidTarget(t,e))return!0}}}this.sameResultBox&&(this.sameResultBox=a)},movePlaceholder:function(t,e,i,o){var s=this.lastAppendedItem;!o&&s&&s[0]===e[0]||(e[i](this.placeholder),this.lastAppendedItem=e,this.sameResultBox=o,this.options.afterMove(this.placeholder,t,e))},getContainerDimensions:function(){return this.containerDimensions||t(this.containers,this.containerDimensions=[],this.options.tolerance,!this.$getOffsetParent()),this.containerDimensions},getContainer:function(t){return t.closest(this.options.containerSelector).data(s)},$getOffsetParent:function(){if(this.offsetParent===a){var t=this.containers.length-1,e=this.containers[t].getItemOffsetParent();if(!this.options.rootGroup)for(;t--;)if(e[0]!=this.containers[t].getItemOffsetParent()[0]){e=!1;break}this.offsetParent=e}return this.offsetParent},setPointer:function(t){var e=this.getPointer(t);if(this.$getOffsetParent()){var i=f(e,this.$getOffsetParent());this.lastRelativePointer=this.relativePointer,this.relativePointer=i}this.lastPointer=this.pointer,this.pointer=e},distanceMet:function(t){var e=this.getPointer(t);return Math.max(Math.abs(this.pointer.left-e.left),Math.abs(this.pointer.top-e.top))>=this.options.distance},getPointer:function(t){var e=t.originalEvent||t.originalEvent.touches&&t.originalEvent.touches[0];return{left:t.pageX||e.pageX,top:t.pageY||e.pageY}},setupDelayTimer:function(){var t=this;this.delayMet=!this.options.delay,this.delayMet||(clearTimeout(this._mouseDelayTimer),this._mouseDelayTimer=setTimeout(function(){t.delayMet=!0},this.options.delay))},scroll:function(){this.clearDimensions(),this.clearOffsetParent()},toggleListeners:function(i){var o=this;u.each(["drag","drop","scroll"],function(t,e){o.$document[i](h[e],o[e+"Proxy"])})},clearOffsetParent:function(){this.offsetParent=a},clearDimensions:function(){this.traverse(function(t){t._clearDimensions()})},traverse:function(t){t(this);for(var e=this.containers.length;e--;)this.containers[e].traverse(t)},_clearDimensions:function(){this.containerDimensions=a},_destroy:function(){e[this.options.group]=a}},m.prototype={dragInit:function(t){var e=this.rootGroup;!this.disabled&&!e.dragInitDone&&this.options.drag&&this.isValidDrag(t)&&e.dragInit(t,this)},isValidDrag:function(t){return 1==t.which||"touchstart"==t.type&&1==t.originalEvent.touches.length},searchValidTarget:function(t,e){var i=d(this.getItemDimensions(),t,e),o=i.length,s=this.rootGroup,n=!s.options.isValidTarget||s.options.isValidTarget(s.item,this);if(!o&&n)return s.movePlaceholder(this,this.target,"append"),!0;for(;o--;){var r=i[o][0];if(!i[o][1]&&this.hasChildGroup(r)){if(this.getContainerGroup(r).searchValidTarget(t,e))return!0}else if(n)return this.movePlaceholder(r,t),!0}},movePlaceholder:function(t,e){var i=u(this.items[t]),o=this.itemDimensions[t],s="after",n=i.outerWidth(),r=i.outerHeight(),a=i.offset(),h={left:a.left,right:a.left+n,top:a.top,bottom:a.top+r};if(this.options.vertical){var l=(o[2]+o[3])/2;e.top<=l?(s="before",h.bottom-=r/2):h.top+=r/2}else{var c=(o[0]+o[1])/2;e.left<=c?(s="before",h.right-=n/2):h.left+=n/2}this.hasChildGroup(t)&&(h=p),this.rootGroup.movePlaceholder(this,i,s,h)},getItemDimensions:function(){return this.itemDimensions||(this.items=this.$getChildren(this.el,"item").filter(":not(."+this.group.options.placeholderClass+", ."+this.group.options.draggedClass+")").get(),t(this.items,this.itemDimensions=[],this.options.tolerance)),this.itemDimensions},getItemOffsetParent:function(){var t=this.el;return"relative"===t.css("position")||"absolute"===t.css("position")||"fixed"===t.css("position")?t:t.offsetParent()},hasChildGroup:function(t){return this.options.nested&&this.getContainerGroup(t)},getContainerGroup:function(t){var e=u.data(this.items[t],l);if(e===a){var i=this.$getChildren(this.items[t],"container");if(e=!1,i[0]){var o=u.extend({},this.options,{rootGroup:this.rootGroup,group:r++});e=i[s](o).data(s).group}u.data(this.items[t],l,e)}return e},$getChildren:function(t,e){var i=this.rootGroup.options,o=i[e+"Path"],s=i[e+"Selector"];return t=u(t),o&&(t=t.find(o)),t.children(s)},_serialize:function(t,e){var i=this,o=e?"item":"container",s=this.$getChildren(t,o).not(this.options.exclude).map(function(){return i._serialize(u(this),!e)}).get();return this.rootGroup.options.serialize(t,s,e)},traverse:function(i){u.each(this.items||[],function(t){var e=u.data(this,l);e&&e.traverse(i)}),i(this)},_clearDimensions:function(){this.itemDimensions=a},_destroy:function(){var e=this;this.target.off(h.start,this.handle),this.el.removeData(s),this.options.drop&&(this.group.containers=u.grep(this.group.containers,function(t){return t!=e})),u.each(this.items||[],function(){u.removeData(this,l)})}};var v={enable:function(){this.traverse(function(t){t.disabled=!1})},disable:function(){this.traverse(function(t){t.disabled=!0})},serialize:function(){return this._serialize(this.el,!0)},refresh:function(){this.traverse(function(t){t._clearDimensions()})},destroy:function(){this.traverse(function(t){t._destroy()})}};u.extend(m.prototype,v),u.fn[s]=function(i){var o=Array.prototype.slice.call(arguments,1);return this.map(function(){var t=u(this),e=t.data(s);return e&&v[i]?v[i].apply(e,o)||this:(e||i!==a&&"object"!==_typeof(i)||t.data(s,new m(t,i)),this)})}}(jQuery,(window,"wf_sortable"));
2
+ //# sourceMappingURL=jquery-sortable.min.js.map
admin/js/woo-feed-admin-pro.js CHANGED
@@ -9,7 +9,7 @@
9
  (function ($, window, document, wpAjax, opts) {
10
  "use strict";
11
  /* global ajaxurl, wpAjax, postboxes, pagenow, alert, deleteUserSetting, typenow, adminpage, thousandsSeparator, decimalPoint, isRtl */
12
- $(window).load(function () {
13
  // noinspection ES6ConvertVarToLetConst,SpellCheckingInspection
14
  var sliders = $('.wapk-slider');
15
  if( sliders.length ) {
9
  (function ($, window, document, wpAjax, opts) {
10
  "use strict";
11
  /* global ajaxurl, wpAjax, postboxes, pagenow, alert, deleteUserSetting, typenow, adminpage, thousandsSeparator, decimalPoint, isRtl */
12
+ $(window).on('load', function () {
13
  // noinspection ES6ConvertVarToLetConst,SpellCheckingInspection
14
  var sliders = $('.wapk-slider');
15
  if( sliders.length ) {
admin/js/woo-feed-admin-pro.min.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";!function(a,o){a(o).load(function(){var o=a(".wapk-slider");o.length&&o.slick({autoplay:!0,dots:!0,centerMode:!0,arrows:!1,slidesToShow:1,slidesToScroll:1,lazyLoad:"progressive"})})}(jQuery,window,(document,wp.ajax,wpf_ajax_obj));
2
- //# sourceMappingURL=woo-feed-admin-pro.min.js.map
1
+ "use strict";!function(a,o){a(o).on("load",function(){var o=a(".wapk-slider");o.length&&o.slick({autoplay:!0,dots:!0,centerMode:!0,arrows:!1,slidesToShow:1,slidesToScroll:1,lazyLoad:"progressive"})})}(jQuery,window,(document,wp.ajax,wpf_ajax_obj));
2
+ //# sourceMappingURL=woo-feed-admin-pro.min.js.map
admin/js/woo-feed-admin-pro.min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["woo-feed-admin-pro.js"],"names":["$","window","load","sliders","slick","autoplay","dots","centerMode","length","slidesToScroll","lazyLoad","wp","ajax","wpf_ajax_obj"],"mappings":"cAQC,SAAAA,EAAAC,GAAAD,EAAAC,GAAAC,KAAA,WAEG,IAAAC,EAAAH,EAAAA,gBAIIG,EAAIA,QAHED,EAAAA,MAAKE,CACXC,UAAAA,EACWC,MAAAA,EAKHC,YAAAA,EAJIC,QAAAA,EACAJ,aAAAA,EACIK,eAAAA,EACFC,SAAAA,kBATrB,CAaeD,OAAAA,QAAAA,SANUE,GAAAC,KAAAC","file":"woo-feed-admin-pro.min.js","sourcesContent":["// noinspection JSUnresolvedVariable,ES6ConvertVarToLetConst,SpellCheckingInspection\r\n/**!\r\n * WooFeed Pro Scripts\r\n * @version 1.0.0\r\n * @package WooFeed\r\n * @copyright 2020 WebAppick\r\n *\r\n */\r\n(function ($, window, document, wpAjax, opts) {\r\n \"use strict\";\r\n /* global ajaxurl, wpAjax, postboxes, pagenow, alert, deleteUserSetting, typenow, adminpage, thousandsSeparator, decimalPoint, isRtl */\r\n $(window).load(function () {\r\n // noinspection ES6ConvertVarToLetConst,SpellCheckingInspection\r\n var sliders = $('.wapk-slider');\r\n if( sliders.length ) {\r\n sliders.slick({\r\n autoplay: true,\r\n dots: true,\r\n centerMode: true,\r\n arrows: false,\r\n slidesToShow: 1,\r\n slidesToScroll: 1,\r\n lazyLoad: 'progressive'\r\n });\r\n }\r\n } );\r\n}( jQuery, window, document, wp.ajax, wpf_ajax_obj ));"]}
1
+ {"version":3,"sources":["woo-feed-admin-pro.js"],"names":["$","window","on","sliders","slick","autoplay","dots","centerMode","length","slidesToScroll","lazyLoad","wp","ajax","wpf_ajax_obj"],"mappings":"cAQC,SAAAA,EAAAC,GAAAD,EAAAC,GAAAC,GAAA,OAAA,WAEG,IAAAC,EAAAH,EAAAA,gBAIIG,EAAIA,QAHED,EAAAA,MAAGE,CACTC,UAAAA,EACWC,MAAAA,EAKHC,YAAAA,EAJIC,QAAAA,EACAJ,aAAAA,EACIK,eAAAA,EACFC,SAAAA,kBATrB,CAaeD,OAAAA,QAAAA,SANUE,GAAAC,KAAAC","file":"woo-feed-admin-pro.min.js","sourcesContent":["// noinspection JSUnresolvedVariable,ES6ConvertVarToLetConst,SpellCheckingInspection\r\n/**!\r\n * WooFeed Pro Scripts\r\n * @version 1.0.0\r\n * @package WooFeed\r\n * @copyright 2020 WebAppick\r\n *\r\n */\r\n(function ($, window, document, wpAjax, opts) {\r\n \"use strict\";\r\n /* global ajaxurl, wpAjax, postboxes, pagenow, alert, deleteUserSetting, typenow, adminpage, thousandsSeparator, decimalPoint, isRtl */\r\n $(window).on('load', function () {\r\n // noinspection ES6ConvertVarToLetConst,SpellCheckingInspection\r\n var sliders = $('.wapk-slider');\r\n if( sliders.length ) {\r\n sliders.slick({\r\n autoplay: true,\r\n dots: true,\r\n centerMode: true,\r\n arrows: false,\r\n slidesToShow: 1,\r\n slidesToScroll: 1,\r\n lazyLoad: 'progressive'\r\n });\r\n }\r\n } );\r\n}( jQuery, window, document, wp.ajax, wpf_ajax_obj ));"]}
admin/js/woo-feed-admin.js CHANGED
@@ -624,7 +624,7 @@
624
  feedEditor: feedEditor,
625
  generator: feedGenerator,
626
  };
627
- $(window).load(function() {
628
  // Template loading ui conflict
629
  if ($(location).attr("href").match(/webappick.*feed/g) !== null) {
630
  $('#wpbody-content').addClass('woofeed-body-content');
624
  feedEditor: feedEditor,
625
  generator: feedGenerator,
626
  };
627
+ $(window).on('load', function() {
628
  // Template loading ui conflict
629
  if ($(location).attr("href").match(/webappick.*feed/g) !== null) {
630
  $('#wpbody-content').addClass('woofeed-body-content');
admin/js/woo-feed-admin.min.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}!function(s,a,t,i,c){s.fn.disabled=function(n){return s(this).each(function(){var e=s(this),t="disabled";void 0!==e.prop(t)?e.prop(t,void 0===n||!0===n):!0===n?e.addClass(t):e.removeClass(t)}),self},s.fn.isDisabled=function(){var e=s(this),t="disabled";return void 0!==e.prop(t)?e.prop(t):e.hasClass(t)};function e(e){s(e.currentTarget).removeClass(function(e,t){return(t.match(/\btooltipped-\S+/g)||[]).join(" ")}).removeClass("tooltipped").removeAttr("aria-label")}function r(e,t){s(e).addClass("tooltipped tooltipped-s").attr("aria-label",t)}function o(e,t){return s.extend(!0,{},e,t)}function n(){l=s(".toClipboard"),!ClipboardJS.isSupported()||/iPhone|iPad/i.test(navigator.userAgent)?l.find("img").hide(0):(l.each(function(){s(this).on("mouseleave",e).on("blur",e)}),new ClipboardJS(".toClipboard").on("error",function(e){var t,n;r(e.trigger,(t=e.action,n="cut"===t?"X":"C",/iPhone|iPad/i.test(navigator.userAgent)?"No support :(":/Mac/i.test(navigator.userAgent)?"Press ⌘-"+n+" to "+t:"Press Ctrl-"+n+" to "+t))}).on("success",function(e){r(e.trigger,"Copied!")}))}var l,_,f={in_array:function(e,t){try{return-1!==t.indexOf(e)}catch(e){return!1}},selectize_render_item:function(e,t){return'<div class="item wapk-selectize-item">'.concat(t(e.text),"</div>")},ajax_fail:function(e){console.warn(e),alert(e.hasOwnProperty("statusText")&&e.hasOwnProperty("status")?c.ajax.error+"\n"+e.statusText+" ("+e.status+")":e)},sortable:function(e,n,a,r){return(e||s(".sorted_table")).each(function(){var e=s(this),t=e.find("tbody > tr:eq(0) > td").length||a||9;e.wf_sortable(o({containerSelector:"table",itemPath:"> tbody",itemSelector:"tr",handle:"i.wf_sortedtable",placeholder:'<tr class="placeholder"><td colspan="'.concat(t,'"></td></tr>'),onDrop:function(e,t,n,a){e.removeClass(t.group.options.draggedClass).removeAttr("style"),s("body").removeClass(t.group.options.bodyClass),r&&"function"==typeof r&&r(e,t,n,a)}},n))})},selectize:function(e,t){return(e||s("select.selectize")).not(".selectized").each(function(){var e=s(this);e.selectize(o({create:e.data("create")||!1,plugins:e.data("plugins")?e.data("plugins").split(",").map(function(e){return e.trim()}):[],render:{item:f.selectize_render_item}},t))})},fancySelect:function(e,t){return(e||s("select.fancySelect")).not(".FancySelectInit").each(function(){s(this).fancySelect(o({maxItemShow:3},t))})},reindex_config_table:function(){s("#table-1").find("tbody tr").each(function(n,e){s(e).find("[name]").each(function(e,t){s(t).attr("name",s(t).attr("name").replace(/(\[\d\])/g,"[".concat(n,"]")))})})},common:function(){f.sortable(s(".sorted_table"),{},9,f.reindex_config_table),f.selectize(),f.fancySelect(s(".outputType"))}},d={form:null,init:function(){this.form=s(".generateFeed"),this.form.length&&(f.common(),s(t).trigger(new jQuery.Event("feedEditor.init",{target:this.form})))},renderMerchantInfo:function(n,a,r){function e(e){var t;r.hasOwnProperty(e)&&(n.find(".merchant-info-section."+e+" .data").html(r[e]),"feed_file_type"===e&&((t=r[e].split(",").map(function(e){return e.trim().toLowerCase()}).filter(function(e){return""!==e&&e!==c.na.toLowerCase()})).length?(a.find("option").removeAttr("selected").each(function(){var e=s(this);e.val()&&!f.in_array(e.val(),t)?e.disabled(!0):e.disabled(!1)}),1===t.length&&a.find('option[value="'+t[0]+'"]').attr("selected","selected")):a.find("option").disabled(!1)))}for(var t in r)e(t);n.find(".spinner").removeClass("is-active"),a.disabled(!1),a.trigger("change"),a.parent().find(".spinner").removeClass("is-active")},renderMerchantTemplate:function(n,a){function e(t){if(a.hasOwnProperty(t))if("tabs"===t)n.html(a[t]);else{var e=s('[name="'+t+'"]');e.length&&e.each(function(){var e=s(this);e.is("select")?e.find('[value="'+a[t]+'"]').prop("selected",!0):(e.is("[type=checkbox]")||e.is("[type=radio]"))&&e.val()===a[t]?e.prop("checked",!0):e.val(a[t])}).trigger("change")}}for(var t in a)e(t);d.init()}},u=[],p=[],h=function(){function e(){_classCallCheck(this,e),this._feed=c.generator.feed,this._limit=c.generator.limit,this._progress=0,this._timer=null,this._color=!1,this._total_batch=0,this._current_batch=0,this._product_ids=[],this._progress_per_batch=0,this._refresh=!0,this._regenerate=c.generator.regenerate,a.isRegenerating=!1,this._all_btn=s(".wpf_regenerate"),this._current_btn=s("#".concat(this._feed.replace("wf_config","wf_feed_"))),this._current_btn_label=""}return _createClass(e,[{key:"init",value:function(){var n=this;return""!==this._feed&&this._regenerate&&!1===a.isRegenerating&&this.generate(),s(t).on("click",".woo-feed-campaign-close-button",function(e){e.preventDefault(),s(this).parent(".woo-feed-promotion").hide();var t=s(this).data("condition");1===t&&i.post("woo_feed_hide_promotion",{_ajax_nonce:c.nonce,condition:t}).then(function(e){n._log(e)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red"})}),s(t).on("click",".wpf_regenerate",function(e){e.preventDefault(),n._current_btn=s(this),n._current_btn.hasClass("disabled")||!0===a.isRegenerating||(n._feed=n._current_btn.attr("id").replace("wf_feed_","wf_config"),""!==n._feed&&n.generate())}),this}},{key:"_block_button",value:function(){this._all_btn.length&&this._all_btn.addClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").addClass("wpf_spin reverse_spin"),this._current_btn_label=this._current_btn.attr("title"),this._current_btn.attr("aria-label",c.regenerate).attr("title",c.regenerate))}},{key:"_unblock_button",value:function(){this._all_btn.length&&this._all_btn.removeClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").removeClass("wpf_spin"),this._current_btn.find("span").removeClass("reverse_spin"),this._current_btn.attr("aria-label",this._current_btn_label).attr("title",this._current_btn_label))}},{key:"generate",value:function(){var t=this,n=this;a.isRegenerating=!0,this._block_button(),this._resetProgressBar(),this._progressBarActive(),this._log("Counting Total Products"),this._updateProgressStatus("Fetching products."),this._get_product_ids().then(function(e){t._progress=10,n._log({response:e}),e.success?(n._log("Total ".concat(e.total," Products found.")),n._product_ids=e.product,n._total_batch=t._product_ids.length,n._current_batch=0,n._progress_per_batch=(90-t._progress)/t._total_batch,n._process_batch(),n._updateProgressStatus("Processing Products...")):n._updateProgressStatus(e.data.message)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red",setTimeout(function(){n._stopProgressBar(),n._unblock_button()},1500)})}},{key:"_get_product_ids",value:function(){return this._progress=5,i.post("get_product_information",{_ajax_nonce:c.nonce,feed:this._feed,limit:this._limit})}},{key:"_process_batch",value:function(){var t=this,e="Processing Batch ".concat(this._current_batch+1," of ").concat(this._total_batch);this._updateProgressStatus(e),this._log(e),i.post("make_batch_feed",{_ajax_nonce:c.nonce,feed:this._feed,products:this._product_ids[this._current_batch],loop:this._current_batch}).then(function(e){t._current_batch++,t._log("Batch ".concat(t._current_batch," Completed")),t._log(e),t._current_batch<t._total_batch&&(t._process_batch(),t._progress+=t._progress_per_batch),t._current_batch===t._total_batch&&t._save_feed_file()}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_save_feed_file",value:function(){var t=this;this._log("Saving feed file"),this._updateProgressStatus("Saving feed file"),i.post("save_feed_file",{_ajax_nonce:c.nonce,feed:this._feed}).then(function(e){t._log(e),t._progress=100,t._refresh&&(a.location.href="".concat(c.pages.list.feed,"&link=").concat(e.url,"&cat=").concat(e.cat)),setTimeout(function(){t._stopProgressBar(),setTimeout(function(){t._resetProgressBar(!0),t._unblock_button()},3e3)},2500)}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_log",value:function(e){return c.wpf_debug&&console.log(e),this}},{key:"_progressBarActive",value:function(e){var t=0<arguments.length&&void 0!==e?e:0,n=this;return this._toggleProgressBar(!0),this._timer=setInterval(function(){n._updateProgressBar()},t||1e3),this}},{key:"_stopProgressBar",value:function(){return clearInterval(this._timer),this}},{key:"_resetProgressBar",value:function(e){return this._toggleProgressBar(!1),this._updateProgressStatus(""),clearInterval(this._timer),this._color=!1,this._timer=null,this._progress=0,e&&this._updateProgressBar(),this}},{key:"_toggleProgressBar",value:function(e){var t=s("#feed_progress_table");return e?t.show():t.hide(),this}},{key:"_updateProgressStatus",value:function(e){return s(".feed-progress-status").text(e),this}},{key:"_updateProgressBar",value:function(){var e=s(".feed-progress-percentage"),t=s(".feed-progress-bar-fill"),n="".concat(Math.round(this._progress),"%");t.css({width:n}),e.text(n)}}]),e}();a.wf={helper:f,feedEditor:d,generator:h},s(a).load(function(){null!==s(location).attr("href").match(/webappick.*feed/g)&&s("#wpbody-content").addClass("woofeed-body-content");var e=a.location.search;"edit-feed"===new URLSearchParams(e).get("action")&&s(".itemWrapper").show(),n(),postboxes.add_postbox_toggles(pagenow),(new h).init(),""!==c.generator.feed&&c.generator.regenerate,d.init(),f.common(),s(".wfmasterTooltip").hover(function(){var e=s(this),t=e.attr("wftitle");e.data("tipText",t).removeAttr("wftitle"),s('<p class="wftooltip"></p>').text(t).appendTo("body").fadeIn("slow")},function(){var e=s(this);e.attr("wftitle",e.data("tipText")),s(".wftooltip").remove()}).mousemove(function(e){s(".wftooltip").css({top:e.pageY+10,left:e.pageX+20})}),s(".generateFeed").validate(),s(t).on("click","[data-toggle_slide]",function(e){e.preventDefault(),s(s(this).data("toggle_slide")).slideToggle("fast")}).on("click","#wf_newRow",function(){var e=s("#table-1 tbody"),t=s("#feed_config_template").text().trim().replace(/__idx__/g,e.find("tr").length);e.append(t),f.fancySelect(s(".outputType"))}).on("click",".single-feed-delete",function(e){e.preventDefault(),confirm(c.form.del_confirm)&&(a.location.href=s(this).attr("val"))}).on("click",".wf_clean_cache_wrapper",function(e){e.preventDefault();var t=s(".woo-feed-clean-cache-nonce").val(),n=s(".woo-feed-cache-loader");n.show(),i.post("clear_cache_data",{_ajax_clean_nonce:t}).then(function(e){e.success&&n.hide()}).fail(function(e){console.log("something wrong")})}).on("change",".wf_attr.wf_attributes",function(e){e.preventDefault(),s(".fancy-picker-picked").trigger("click");var t,n,a=s(this).val(),r=s(this).parents("tr").find(".outputType"),o=s(this).parents("tr").find(".fancy-picker-content .fancy-picker-option"),i=s(this).parents("tr").find(".fancy-picker-data span");""!==a&&-1!==a.indexOf("wf_taxo")&&(t="for_custom_taxo",n="parent_if_empty"),["price","current_price","sale_price","price_with_tax","current_price_with_tax","sale_price_with_tax"].includes(a)&&(t="for_price",n="Price"),o.removeClass("selected"),"for_custom_taxo"!==t&&"for_price"!==t||o.each(function(e){n===s(this).text()&&(s(this).addClass("selected"),i.text(n),r.find("option").text(n),r.find("option").val(s(this).data("value")))})}).on("click","#doaction, #doaction2",function(){return confirm(c.form.del_confirm_multi)}).on("change",".dType",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".value_attribute").hide(),n.find(".value_pattern").show()):"attribute"===t?(n.find(".value_attribute").show(),n.find(".value_pattern").hide()):"remove"===t&&(n.find(".value_attribute").hide(),n.find(".value_pattern").hide())}).on("click",".delRow",function(e){e.preventDefault(),s(this).closest("tr").remove(),f.reindex_config_table()}).on("submit","#generateFeed",function(){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(c.form.generate,"</b>"))}).on("submit","#updatefeed",function(e,t){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(t&&t.save?c.form.save:c.form.generate,"</b>"))}).on("change",".ftporsftp",function(){var e=s(this).val(),t=s(".ssh2_status");"sftp"===e?(t.show().css("color","dodgerblue").text(c.form.sftp_checking),i.post("get_ssh2_status",{_ajax_nonce:c.nonce,server:e}).then(function(e){"exists"===e?(t.css("color","#2CC185").text(c.form.sftp_available),setTimeout(function(){t.hide()},1500)):t.show().css("color","red").text(c.form.sftp_warning)}).fail(function(e){t.hide(),f.ajax_fail(e)})):t.hide()}).on("click",'[name="save_feed_config"]',function(e){e.preventDefault(),s("#updatefeed").trigger("submit",{save:!0})}).on("change","#provider",function(e){if(e.preventDefault(),s(this).closest(".generateFeed").hasClass("add-new")){var t=s(this).val(),n=s("#feedType"),a=s("#providerPage"),r=s("#feed_merchant_info");a.html('<h3><span style="float:none;margin: -3px 0 0;" class="spinner is-active"></span> '+c.form.loading_tmpl+"</h3>"),r.find(".spinner").addClass("is-active"),n.disabled(!0),n.parent().find(".spinner").addClass("is-active"),r.find(".merchant-info-section .data").html(""),u.hasOwnProperty(t)?d.renderMerchantInfo(r,n,u[t]):i.send("woo_feed_get_merchant_info",{type:"GET",data:{nonce:c.nonce,provider:t}}).then(function(e){u[t]=e,d.renderMerchantInfo(r,n,e)}).fail(f.ajax_fail),p.hasOwnProperty(t)?d.renderMerchantTemplate(a,p[t]):i.post("get_feed_merchant",{_ajax_nonce:c.nonce,merchant:t}).then(function(e){p[t]=e,d.renderMerchantTemplate(a,e),"bing"===t&&(s("#delimiter option").removeAttr("selected"),s('#delimiter option[value="tab"]').attr("selected","selected"),s("#enclosure option").removeAttr("selected"),s('#enclosure option[value=" "]').attr("selected","selected")),"google_product_review"!==t&&s('.wf_attributes option[value="reviewer_name"]').hide()}).fail(f.ajax_fail)}}).on("change",".woo_feed_status_input",function(){var e=s(this);i.post("update_feed_status",{_ajax_nonce:c.nonce,feedName:e.val(),status:e[0].checked?1:0})}),s(t).on("change",'[name="is_outOfStock"], [name="product_visibility"]',function(){var e=s(".out-of-stock-visibility");"n"===s('[name="is_outOfStock"]:checked').val()&&"1"===s('[name="product_visibility"]:checked').val()?e.show():e.hide()}).on("change",".attr_type",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".wf_attr").hide(),n.find(".wf_attr").val(""),n.find(".wf_default").show()):(n.find(".wf_attr").show(),n.find(".wf_default").hide(),n.find(".wf_default").val(""))}).on("change",".wf_mattributes, .attr_type",function(){var e=s(this).closest("tr"),t=e.find(".wf_mattributes"),n=e.find(".attr_type"),a=e.find("td:eq(4)"),r=s("#provider").val();if(c.form.google_category.hasOwnProperty(t.val())&&"pattern"===n.val()&&f.in_array(r,c.form.google_category[t.val()])){if(0===a.find("select.selectize").length){a.find("input.wf_default").remove(),a.append('<span class="wf_default wf_attributes"><select name="default[]" class="selectize"></select></span>'),a.append('<span style="font-size:x-small;"><a style="color: red" href="http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category" target="_blank">'.concat(c.learn_more,"</a></span>")),_||a.append('<span class="spinner is-active" style="margin: 0;"></span>');var o=a.find(".wf_attributes select");f.selectize(o,{preload:!0,placeholder:c.form.select_category,load:function(e,t){_?t(_):i.send("get_google_categories",{type:"GET",data:{_ajax_nonce:c.nonce,action:"get_google_categories",provider:r}}).then(function(e){t(_=e),a.find(".spinner").remove()}).fail(f.ajax_fail)}})}}else"current_category"!==t.val()&&0===a.find("input.wf_default").length&&(a.find("span").remove(),a.append('<input autocomplete="off" class="wf_default wf_attributes" type="text" name="default[]" value="">'),"pattern"!==n.val()&&a.find("input.wf_default").hide())}).on("change","#feedType,#provider",function(){var e=s("#feedType").val(),t=s("#provider").val(),n=s(".itemWrapper"),a=s(".wf_csvtxt");""!==e&&f.in_array(t,c.form.item_wrapper_hidden)?n.hide():"xml"===e?(n.show(),a.hide()):"csv"===e||"txt"===e?(n.hide(),a.show()):(n.hide(),a.hide())}).trigger("change")})}(jQuery,window,document,wp.ajax,wpf_ajax_obj);
2
  //# sourceMappingURL=woo-feed-admin.min.js.map
1
+ "use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}!function(s,a,t,i,c){s.fn.disabled=function(n){return s(this).each(function(){var e=s(this),t="disabled";void 0!==e.prop(t)?e.prop(t,void 0===n||!0===n):!0===n?e.addClass(t):e.removeClass(t)}),self},s.fn.isDisabled=function(){var e=s(this),t="disabled";return void 0!==e.prop(t)?e.prop(t):e.hasClass(t)};function e(e){s(e.currentTarget).removeClass(function(e,t){return(t.match(/\btooltipped-\S+/g)||[]).join(" ")}).removeClass("tooltipped").removeAttr("aria-label")}function r(e,t){s(e).addClass("tooltipped tooltipped-s").attr("aria-label",t)}function o(e,t){return s.extend(!0,{},e,t)}function n(){l=s(".toClipboard"),!ClipboardJS.isSupported()||/iPhone|iPad/i.test(navigator.userAgent)?l.find("img").hide(0):(l.each(function(){s(this).on("mouseleave",e).on("blur",e)}),new ClipboardJS(".toClipboard").on("error",function(e){var t,n;r(e.trigger,(t=e.action,n="cut"===t?"X":"C",/iPhone|iPad/i.test(navigator.userAgent)?"No support :(":/Mac/i.test(navigator.userAgent)?"Press ⌘-"+n+" to "+t:"Press Ctrl-"+n+" to "+t))}).on("success",function(e){r(e.trigger,"Copied!")}))}var l,_,f={in_array:function(e,t){try{return-1!==t.indexOf(e)}catch(e){return!1}},selectize_render_item:function(e,t){return'<div class="item wapk-selectize-item">'.concat(t(e.text),"</div>")},ajax_fail:function(e){console.warn(e),alert(e.hasOwnProperty("statusText")&&e.hasOwnProperty("status")?c.ajax.error+"\n"+e.statusText+" ("+e.status+")":e)},sortable:function(e,n,a,r){return(e||s(".sorted_table")).each(function(){var e=s(this),t=e.find("tbody > tr:eq(0) > td").length||a||9;e.wf_sortable(o({containerSelector:"table",itemPath:"> tbody",itemSelector:"tr",handle:"i.wf_sortedtable",placeholder:'<tr class="placeholder"><td colspan="'.concat(t,'"></td></tr>'),onDrop:function(e,t,n,a){e.removeClass(t.group.options.draggedClass).removeAttr("style"),s("body").removeClass(t.group.options.bodyClass),r&&"function"==typeof r&&r(e,t,n,a)}},n))})},selectize:function(e,t){return(e||s("select.selectize")).not(".selectized").each(function(){var e=s(this);e.selectize(o({create:e.data("create")||!1,plugins:e.data("plugins")?e.data("plugins").split(",").map(function(e){return e.trim()}):[],render:{item:f.selectize_render_item}},t))})},fancySelect:function(e,t){return(e||s("select.fancySelect")).not(".FancySelectInit").each(function(){s(this).fancySelect(o({maxItemShow:3},t))})},reindex_config_table:function(){s("#table-1").find("tbody tr").each(function(n,e){s(e).find("[name]").each(function(e,t){s(t).attr("name",s(t).attr("name").replace(/(\[\d\])/g,"[".concat(n,"]")))})})},common:function(){f.sortable(s(".sorted_table"),{},9,f.reindex_config_table),f.selectize(),f.fancySelect(s(".outputType"))}},d={form:null,init:function(){this.form=s(".generateFeed"),this.form.length&&(f.common(),s(t).trigger(new jQuery.Event("feedEditor.init",{target:this.form})))},renderMerchantInfo:function(n,a,r){function e(e){var t;r.hasOwnProperty(e)&&(n.find(".merchant-info-section."+e+" .data").html(r[e]),"feed_file_type"===e&&((t=r[e].split(",").map(function(e){return e.trim().toLowerCase()}).filter(function(e){return""!==e&&e!==c.na.toLowerCase()})).length?(a.find("option").removeAttr("selected").each(function(){var e=s(this);e.val()&&!f.in_array(e.val(),t)?e.disabled(!0):e.disabled(!1)}),1===t.length&&a.find('option[value="'+t[0]+'"]').attr("selected","selected")):a.find("option").disabled(!1)))}for(var t in r)e(t);n.find(".spinner").removeClass("is-active"),a.disabled(!1),a.trigger("change"),a.parent().find(".spinner").removeClass("is-active")},renderMerchantTemplate:function(n,a){function e(t){if(a.hasOwnProperty(t))if("tabs"===t)n.html(a[t]);else{var e=s('[name="'+t+'"]');e.length&&e.each(function(){var e=s(this);e.is("select")?e.find('[value="'+a[t]+'"]').prop("selected",!0):(e.is("[type=checkbox]")||e.is("[type=radio]"))&&e.val()===a[t]?e.prop("checked",!0):e.val(a[t])}).trigger("change")}}for(var t in a)e(t);d.init()}},u=[],p=[],h=function(){function e(){_classCallCheck(this,e),this._feed=c.generator.feed,this._limit=c.generator.limit,this._progress=0,this._timer=null,this._color=!1,this._total_batch=0,this._current_batch=0,this._product_ids=[],this._progress_per_batch=0,this._refresh=!0,this._regenerate=c.generator.regenerate,a.isRegenerating=!1,this._all_btn=s(".wpf_regenerate"),this._current_btn=s("#".concat(this._feed.replace("wf_config","wf_feed_"))),this._current_btn_label=""}return _createClass(e,[{key:"init",value:function(){var n=this;return""!==this._feed&&this._regenerate&&!1===a.isRegenerating&&this.generate(),s(t).on("click",".woo-feed-campaign-close-button",function(e){e.preventDefault(),s(this).parent(".woo-feed-promotion").hide();var t=s(this).data("condition");1===t&&i.post("woo_feed_hide_promotion",{_ajax_nonce:c.nonce,condition:t}).then(function(e){n._log(e)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red"})}),s(t).on("click",".wpf_regenerate",function(e){e.preventDefault(),n._current_btn=s(this),n._current_btn.hasClass("disabled")||!0===a.isRegenerating||(n._feed=n._current_btn.attr("id").replace("wf_feed_","wf_config"),""!==n._feed&&n.generate())}),this}},{key:"_block_button",value:function(){this._all_btn.length&&this._all_btn.addClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").addClass("wpf_spin reverse_spin"),this._current_btn_label=this._current_btn.attr("title"),this._current_btn.attr("aria-label",c.regenerate).attr("title",c.regenerate))}},{key:"_unblock_button",value:function(){this._all_btn.length&&this._all_btn.removeClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").removeClass("wpf_spin"),this._current_btn.find("span").removeClass("reverse_spin"),this._current_btn.attr("aria-label",this._current_btn_label).attr("title",this._current_btn_label))}},{key:"generate",value:function(){var t=this,n=this;a.isRegenerating=!0,this._block_button(),this._resetProgressBar(),this._progressBarActive(),this._log("Counting Total Products"),this._updateProgressStatus("Fetching products."),this._get_product_ids().then(function(e){t._progress=10,n._log({response:e}),e.success?(n._log("Total ".concat(e.total," Products found.")),n._product_ids=e.product,n._total_batch=t._product_ids.length,n._current_batch=0,n._progress_per_batch=(90-t._progress)/t._total_batch,n._process_batch(),n._updateProgressStatus("Processing Products...")):n._updateProgressStatus(e.data.message)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red",setTimeout(function(){n._stopProgressBar(),n._unblock_button()},1500)})}},{key:"_get_product_ids",value:function(){return this._progress=5,i.post("get_product_information",{_ajax_nonce:c.nonce,feed:this._feed,limit:this._limit})}},{key:"_process_batch",value:function(){var t=this,e="Processing Batch ".concat(this._current_batch+1," of ").concat(this._total_batch);this._updateProgressStatus(e),this._log(e),i.post("make_batch_feed",{_ajax_nonce:c.nonce,feed:this._feed,products:this._product_ids[this._current_batch],loop:this._current_batch}).then(function(e){t._current_batch++,t._log("Batch ".concat(t._current_batch," Completed")),t._log(e),t._current_batch<t._total_batch&&(t._process_batch(),t._progress+=t._progress_per_batch),t._current_batch===t._total_batch&&t._save_feed_file()}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_save_feed_file",value:function(){var t=this;this._log("Saving feed file"),this._updateProgressStatus("Saving feed file"),i.post("save_feed_file",{_ajax_nonce:c.nonce,feed:this._feed}).then(function(e){t._log(e),t._progress=100,t._refresh&&(a.location.href="".concat(c.pages.list.feed,"&link=").concat(e.url,"&cat=").concat(e.cat)),setTimeout(function(){t._stopProgressBar(),setTimeout(function(){t._resetProgressBar(!0),t._unblock_button()},3e3)},2500)}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_log",value:function(e){return c.wpf_debug&&console.log(e),this}},{key:"_progressBarActive",value:function(e){var t=0<arguments.length&&void 0!==e?e:0,n=this;return this._toggleProgressBar(!0),this._timer=setInterval(function(){n._updateProgressBar()},t||1e3),this}},{key:"_stopProgressBar",value:function(){return clearInterval(this._timer),this}},{key:"_resetProgressBar",value:function(e){return this._toggleProgressBar(!1),this._updateProgressStatus(""),clearInterval(this._timer),this._color=!1,this._timer=null,this._progress=0,e&&this._updateProgressBar(),this}},{key:"_toggleProgressBar",value:function(e){var t=s("#feed_progress_table");return e?t.show():t.hide(),this}},{key:"_updateProgressStatus",value:function(e){return s(".feed-progress-status").text(e),this}},{key:"_updateProgressBar",value:function(){var e=s(".feed-progress-percentage"),t=s(".feed-progress-bar-fill"),n="".concat(Math.round(this._progress),"%");t.css({width:n}),e.text(n)}}]),e}();a.wf={helper:f,feedEditor:d,generator:h},s(a).on("load",function(){null!==s(location).attr("href").match(/webappick.*feed/g)&&s("#wpbody-content").addClass("woofeed-body-content");var e=a.location.search;"edit-feed"===new URLSearchParams(e).get("action")&&s(".itemWrapper").show(),n(),postboxes.add_postbox_toggles(pagenow),(new h).init(),""!==c.generator.feed&&c.generator.regenerate,d.init(),f.common(),s(".wfmasterTooltip").hover(function(){var e=s(this),t=e.attr("wftitle");e.data("tipText",t).removeAttr("wftitle"),s('<p class="wftooltip"></p>').text(t).appendTo("body").fadeIn("slow")},function(){var e=s(this);e.attr("wftitle",e.data("tipText")),s(".wftooltip").remove()}).mousemove(function(e){s(".wftooltip").css({top:e.pageY+10,left:e.pageX+20})}),s(".generateFeed").validate(),s(t).on("click","[data-toggle_slide]",function(e){e.preventDefault(),s(s(this).data("toggle_slide")).slideToggle("fast")}).on("click","#wf_newRow",function(){var e=s("#table-1 tbody"),t=s("#feed_config_template").text().trim().replace(/__idx__/g,e.find("tr").length);e.append(t),f.fancySelect(s(".outputType"))}).on("click",".single-feed-delete",function(e){e.preventDefault(),confirm(c.form.del_confirm)&&(a.location.href=s(this).attr("val"))}).on("click",".wf_clean_cache_wrapper",function(e){e.preventDefault();var t=s(".woo-feed-clean-cache-nonce").val(),n=s(".woo-feed-cache-loader");n.show(),i.post("clear_cache_data",{_ajax_clean_nonce:t}).then(function(e){e.success&&n.hide()}).fail(function(e){console.log("something wrong")})}).on("change",".wf_attr.wf_attributes",function(e){e.preventDefault(),s(".fancy-picker-picked").trigger("click");var t,n,a=s(this).val(),r=s(this).parents("tr").find(".outputType"),o=s(this).parents("tr").find(".fancy-picker-content .fancy-picker-option"),i=s(this).parents("tr").find(".fancy-picker-data span");""!==a&&-1!==a.indexOf("wf_taxo")&&(t="for_custom_taxo",n="parent_if_empty"),["price","current_price","sale_price","price_with_tax","current_price_with_tax","sale_price_with_tax"].includes(a)&&(t="for_price",n="Price"),o.removeClass("selected"),"for_custom_taxo"!==t&&"for_price"!==t||o.each(function(e){n===s(this).text()&&(s(this).addClass("selected"),i.text(n),r.find("option").text(n),r.find("option").val(s(this).data("value")))})}).on("click","#doaction, #doaction2",function(){return confirm(c.form.del_confirm_multi)}).on("change",".dType",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".value_attribute").hide(),n.find(".value_pattern").show()):"attribute"===t?(n.find(".value_attribute").show(),n.find(".value_pattern").hide()):"remove"===t&&(n.find(".value_attribute").hide(),n.find(".value_pattern").hide())}).on("click",".delRow",function(e){e.preventDefault(),s(this).closest("tr").remove(),f.reindex_config_table()}).on("submit","#generateFeed",function(){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(c.form.generate,"</b>"))}).on("submit","#updatefeed",function(e,t){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(t&&t.save?c.form.save:c.form.generate,"</b>"))}).on("change",".ftporsftp",function(){var e=s(this).val(),t=s(".ssh2_status");"sftp"===e?(t.show().css("color","dodgerblue").text(c.form.sftp_checking),i.post("get_ssh2_status",{_ajax_nonce:c.nonce,server:e}).then(function(e){"exists"===e?(t.css("color","#2CC185").text(c.form.sftp_available),setTimeout(function(){t.hide()},1500)):t.show().css("color","red").text(c.form.sftp_warning)}).fail(function(e){t.hide(),f.ajax_fail(e)})):t.hide()}).on("click",'[name="save_feed_config"]',function(e){e.preventDefault(),s("#updatefeed").trigger("submit",{save:!0})}).on("change","#provider",function(e){if(e.preventDefault(),s(this).closest(".generateFeed").hasClass("add-new")){var t=s(this).val(),n=s("#feedType"),a=s("#providerPage"),r=s("#feed_merchant_info");a.html('<h3><span style="float:none;margin: -3px 0 0;" class="spinner is-active"></span> '+c.form.loading_tmpl+"</h3>"),r.find(".spinner").addClass("is-active"),n.disabled(!0),n.parent().find(".spinner").addClass("is-active"),r.find(".merchant-info-section .data").html(""),u.hasOwnProperty(t)?d.renderMerchantInfo(r,n,u[t]):i.send("woo_feed_get_merchant_info",{type:"GET",data:{nonce:c.nonce,provider:t}}).then(function(e){u[t]=e,d.renderMerchantInfo(r,n,e)}).fail(f.ajax_fail),p.hasOwnProperty(t)?d.renderMerchantTemplate(a,p[t]):i.post("get_feed_merchant",{_ajax_nonce:c.nonce,merchant:t}).then(function(e){p[t]=e,d.renderMerchantTemplate(a,e),"bing"===t&&(s("#delimiter option").removeAttr("selected"),s('#delimiter option[value="tab"]').attr("selected","selected"),s("#enclosure option").removeAttr("selected"),s('#enclosure option[value=" "]').attr("selected","selected")),"google_product_review"!==t&&s('.wf_attributes option[value="reviewer_name"]').hide()}).fail(f.ajax_fail)}}).on("change",".woo_feed_status_input",function(){var e=s(this);i.post("update_feed_status",{_ajax_nonce:c.nonce,feedName:e.val(),status:e[0].checked?1:0})}),s(t).on("change",'[name="is_outOfStock"], [name="product_visibility"]',function(){var e=s(".out-of-stock-visibility");"n"===s('[name="is_outOfStock"]:checked').val()&&"1"===s('[name="product_visibility"]:checked').val()?e.show():e.hide()}).on("change",".attr_type",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".wf_attr").hide(),n.find(".wf_attr").val(""),n.find(".wf_default").show()):(n.find(".wf_attr").show(),n.find(".wf_default").hide(),n.find(".wf_default").val(""))}).on("change",".wf_mattributes, .attr_type",function(){var e=s(this).closest("tr"),t=e.find(".wf_mattributes"),n=e.find(".attr_type"),a=e.find("td:eq(4)"),r=s("#provider").val();if(c.form.google_category.hasOwnProperty(t.val())&&"pattern"===n.val()&&f.in_array(r,c.form.google_category[t.val()])){if(0===a.find("select.selectize").length){a.find("input.wf_default").remove(),a.append('<span class="wf_default wf_attributes"><select name="default[]" class="selectize"></select></span>'),a.append('<span style="font-size:x-small;"><a style="color: red" href="http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category" target="_blank">'.concat(c.learn_more,"</a></span>")),_||a.append('<span class="spinner is-active" style="margin: 0;"></span>');var o=a.find(".wf_attributes select");f.selectize(o,{preload:!0,placeholder:c.form.select_category,load:function(e,t){_?t(_):i.send("get_google_categories",{type:"GET",data:{_ajax_nonce:c.nonce,action:"get_google_categories",provider:r}}).then(function(e){t(_=e),a.find(".spinner").remove()}).fail(f.ajax_fail)}})}}else"current_category"!==t.val()&&0===a.find("input.wf_default").length&&(a.find("span").remove(),a.append('<input autocomplete="off" class="wf_default wf_attributes" type="text" name="default[]" value="">'),"pattern"!==n.val()&&a.find("input.wf_default").hide())}).on("change","#feedType,#provider",function(){var e=s("#feedType").val(),t=s("#provider").val(),n=s(".itemWrapper"),a=s(".wf_csvtxt");""!==e&&f.in_array(t,c.form.item_wrapper_hidden)?n.hide():"xml"===e?(n.show(),a.hide()):"csv"===e||"txt"===e?(n.hide(),a.show()):(n.hide(),a.hide())}).trigger("change")})}(jQuery,window,document,wp.ajax,wpf_ajax_obj);
2
  //# sourceMappingURL=woo-feed-admin.min.js.map
admin/js/woo-feed-admin.min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["woo-feed-admin.js"],"names":["_defineProperties","target","props","descriptor","i","_createClass","Constructor","protoProps","staticProps","prototype","window","wpAjax","self","prop","showTooltip","$","hasClass","currentTarget","clearTooltip","removeClass","actionMsg","className","match","index","action","removeAttr","actionKey","elem","addClass","attr","msg","extend","_default","_args","clip","$copyBtn","feedGenerator","left","event","trigger","test","navigator","on","console","googleCategories","in_array","needle","haystack","sortable","escape","data","text","ajax_fail","column_count","find","warn","wf_sortable","selectize_render_item","e","hasOwnProperty","opts","ajax","error","statusText","status","el","config","column","_onDrop","each","this","length","selectize","itemPath","create","concat","plugins","$item","container","containerSelector","group","options","bodyClass","itemSelector","handle","onDrop","fancySelect","maxItemShow","split","map","s","trim","helper","render","item","replace","x","form","merchantInfo","document","jQuery","k","init","renderMerchantInfo","opt","feedType","r","types","html","t","toLowerCase","na","disabled","val","_loop2","feedForm","contentSettings","renderMerchantTemplate","feedEditor","is","merchantInfoCache","tooltip","css","top","isRegenerating","_feed","_current_btn","feed","_limit","generator","limit","_progress","_product_ids","_progress_per_batch","_refresh","_all_btn","generate","_ajax_nonce","condition","value","_regenerate","parent","hide","_log","response","_updateProgressStatus","message","_color","preventDefault","key","regenerate","_block_button","_current_btn_label","_this","product","setTimeout","_stopProgressBar","_process_batch","_current_batch","_total_batch","post","_save_feed_file","then","fail","_resetProgressBar","_unblock_button","refreshInterval","arguments","undefined","clearInterval","_timer","_updateProgressBar","update","table","show","width","bar","wf","load","current_page_url_query","page_action","postboxes","add_postbox_toggles","pagenow","template","common","hover","title","appendTo","userAgent","merchantTemplateCache","remove","ClipboardJS","clipboard","slideToggle","loader","tbody","confirm","del_confirm","href","_ajax_clean_nonce","current_attribute_value","outputSelect","fancyOption","fancyDataPicker","log","selectKey","selectIf","parents","percentage","includes","closest","row","get","del_confirm_multi","reindex_config_table","save","server","nonce","sftp_available","sftp_warning","merchant","price_attributes","send","type","provider","checked","outOfStockVisibilityRow","valueColumn","append","select","query","attribute","google_category","learn_more","cb","itemWrapper"],"mappings":"yHAAA,SAAAA,kBAAAC,EAAAC,+BACA,I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mJ,KAAI8D,SAAAtH,GA1FJiI,EA2FCP,EAAA1H,GA1FA3F,EAAAA,KAAAA,YAAAA,WACAoJ,KAAAvE,EAAAxC,mBAO+B,qBAAAwL,EAAAA,OAAA,IAAAR,EAAA9K,KAAA,oBAAAiB,SAhPpC6J,EAsPAJ,KAAA,QAAAjC,SA2FG6C,EAAAA,OAAA,sGAxFGT,YAHNH,EAGMG,OA2FHS,EAAAA,KAAY9F,oBAAZA,UAvFAqF,GAAAA,SAAAA,sBAAAA,WACA,IAAAH,EAAAjN,EAAA,aAAAkG,MACDgH,EAEAlN,EAAA,aA7GGkG,MAnRH2H,EAAA7N,EAAA,gBAiYAqF,EAn5BJrF,EAo5BYH","file":"woo-feed-admin.min.js","sourcesContent":["// noinspection JSUnresolvedletiable\r\n/**!\r\n * WooFeed Scripts\r\n * @version 3.3.6\r\n * @package WooFeed\r\n * @copyright 2020 WebAppick\r\n *\r\n */\r\n/* global ajaxurl, wpAjax, postboxes, pagenow, alert, deleteUserSetting, typenow, adminpage, thousandsSeparator, decimalPoint, isRtl */\r\n// noinspection JSUnresolvedVariable\r\n(function($, window, document, wpAjax, opts) {\r\n\t\"use strict\";\r\n\t/**\r\n\t * All of the code for your admin-facing JavaScript source\r\n\t * should reside in this file.\r\n\t *\r\n\t * Note: It has been assumed you will write jQuery code here, so the\r\n\t * $ function reference has been prepared for usage within the scope\r\n\t * of this function.\r\n\t *\r\n\t * This enables you to define handlers, for when the DOM is ready:\r\n\t */\r\n\r\n\t/**\r\n\t * disable element utility\r\n\t *\r\n\t * @since 3.1.9\r\n\t *\r\n\t * @param {*} status\r\n\t * @returns {jQuery|HTMLElement}\r\n\t */\r\n\t$.fn.disabled = function(status) {\r\n\t\t$(this).each(function() {\r\n\t\t\tlet self = $(this),\r\n\t\t\t\tprop = 'disabled';\r\n\r\n\t\t\tif (typeof self.prop(prop) !== 'undefined') {\r\n\t\t\t\tself.prop(prop, status === void 0 || status === true);\r\n\t\t\t} else {\r\n\t\t\t\t!0 === status ? self.addClass(prop) : self.removeClass(prop);\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn self; // method chaining\r\n\t};\r\n\t\r\n\t/**\r\n\t * Check if a HTMLElement or jQuery is disabled\r\n\t */\r\n\t$.fn.isDisabled = function() {\r\n\t\tlet self = $(this),\r\n\t\t\tprop = 'disabled';\r\n\t\treturn typeof self.prop(prop) !== 'undefined' ? self.prop(prop) : self.hasClass(prop);\r\n\t};\r\n\t\r\n\t/**\r\n\t * Clear Tooltip for clip board js\r\n\t * @param {Object} event\r\n\t */\r\n\tconst clearTooltip = (event) => {\r\n\t\t$(event.currentTarget).removeClass( (index, className) => (className.match(/\\btooltipped-\\S+/g) || []).join(' ') ).removeClass('tooltipped').removeAttr('aria-label');\r\n\t};\r\n\r\n\tconst showTooltip = (elem, msg) => {\r\n\t\t$(elem).addClass('tooltipped tooltipped-s').attr('aria-label', msg);\r\n\t};\r\n\r\n\tconst fallbackMessage = (action) =>{\r\n\t\tlet actionMsg,\r\n\t\t\tactionKey = action === 'cut' ? 'X' : 'C';\r\n\r\n\t\tif (/iPhone|iPad/i.test(navigator.userAgent)) {\r\n\t\t\tactionMsg = 'No support :(';\r\n\t\t} else if (/Mac/i.test(navigator.userAgent)) {\r\n\t\t\tactionMsg = 'Press ⌘-' + actionKey + ' to ' + action;\r\n\t\t} else {\r\n\t\t\tactionMsg = 'Press Ctrl-' + actionKey + ' to ' + action;\r\n\t\t}\r\n\r\n\t\treturn actionMsg;\r\n\t};\r\n\t\r\n\t/**\r\n\t * Alias of jQuery.extend()\r\n\t * @param {Object} _default\r\n\t * @param {Object} _args\r\n\t */\r\n\tconst extend = (_default, _args) => $.extend(true, {}, _default, _args);\r\n\t\r\n\tlet $copyBtn,\r\n\t\tclipboard,\r\n\t\tgoogleCategories,\r\n\t\thelper = {\r\n\t\t\tin_array: (needle, haystack) => {\r\n\t\t\t\ttry {\r\n\t\t\t\t\treturn haystack.indexOf(needle) !== -1;\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tselectize_render_item: (data, escape) => `<div class=\"item wapk-selectize-item\">${ escape(data.text)}</div>`, // phpcs:ignore WordPressVIPMinimum.JS.StringConcat.Found,\r\n\t\t\tajax_fail: e => {\r\n\t\t\t\tconsole.warn(e);\r\n\t\t\t\talert(e.hasOwnProperty('statusText') && e.hasOwnProperty('status') ? opts.ajax.error + '\\n' + e.statusText + ' (' + e.status + ')' : e);\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * Initialize Sortable\r\n\t\t\t * @param {jQuery|HTMLElement} el\r\n\t\t\t * @param {object} config\r\n\t\t\t * @param {int|boolean} column\r\n\t\t\t * @param {function} onDrop\r\n\t\t\t * @return {jQuery|HTMLElement}\r\n\t\t\t */\r\n\t\t\tsortable: (el, config, column, onDrop) => {\r\n\t\t\t\treturn (el || $('.sorted_table')).each(function() {\r\n\t\t\t\t\tlet self = $(this),\r\n\t\t\t\t\t\tcolumn_count = self.find('tbody > tr:eq(0) > td').length || column || 9;\r\n\t\t\t\t\tself.wf_sortable(extend({\r\n\t\t\t\t\t\tcontainerSelector: 'table',\r\n\t\t\t\t\t\titemPath: '> tbody',\r\n\t\t\t\t\t\titemSelector: 'tr',\r\n\t\t\t\t\t\thandle: 'i.wf_sortedtable',\r\n\t\t\t\t\t\tplaceholder: `<tr class=\"placeholder\"><td colspan=\"${column_count}\"></td></tr>`,\r\n\t\t\t\t\t\tonDrop: ($item, container, _super, event) => {\r\n\t\t\t\t\t\t\t$item.removeClass(container.group.options.draggedClass).removeAttr('style');\r\n\t\t\t\t\t\t\t$(\"body\").removeClass(container.group.options.bodyClass);\r\n\t\t\t\t\t\t\tif ( onDrop && 'function' === typeof( onDrop ) ) {\r\n\t\t\t\t\t\t\t\tonDrop( $item, container, _super, event );\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t}, config));\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tselectize: (el, config) => {\r\n\t\t\t\treturn (el || $('select.selectize')).not('.selectized').each(function() {\r\n\t\t\t\t\tlet self = $(this);\r\n\t\t\t\t\tself.selectize(extend({\r\n\t\t\t\t\t\tcreate: self.data('create') || false,\r\n\t\t\t\t\t\tplugins: self.data('plugins') ? self.data('plugins').split(',').map(function(s) {\r\n\t\t\t\t\t\t\treturn s.trim();\r\n\t\t\t\t\t\t}) : [],\r\n\t\t\t\t\t\t//['remove_button'],\r\n\t\t\t\t\t\trender: {\r\n\t\t\t\t\t\t\titem: helper.selectize_render_item\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}, config));\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tfancySelect: (el, config) => {\r\n\t\t\t\treturn (el || $('select.fancySelect')).not('.FancySelectInit').each(function() {\r\n\t\t\t\t\tlet self = $(this);\r\n\t\t\t\t\tself.fancySelect(extend({\r\n\t\t\t\t\t\tmaxItemShow: 3\r\n\t\t\t\t\t}, config));\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\treindex_config_table: () => {\r\n\t\t\t\t$('#table-1').find('tbody tr').each( ( x, el ) => {\r\n\t\t\t\t\t$(el).find('[name]').each( ( x1, el ) => {\r\n\t\t\t\t\t\t$(el).attr('name', $(el).attr('name').replace(/(\\[\\d\\])/g, `[${x}]`));\r\n\t\t\t\t\t} );\r\n\t\t\t\t} );\r\n\t\t\t},\r\n\t\t\tcommon: () => {\r\n\t\t\t\thelper.sortable( $('.sorted_table'), {}, 9, helper.reindex_config_table );\r\n\t\t\t\thelper.selectize();\r\n\t\t\t\thelper.fancySelect($('.outputType'));\r\n\t\t\t}\r\n\t\t},\r\n\t\t// helper functions\r\n\t\tfeedEditor = {\r\n\t\t\t/**\r\n\t\t\t * The Editor Form Elem.\r\n\t\t\t * @type {jQuery|HTMLElement}\r\n\t\t\t */\r\n\t\t\tform: null,\r\n\r\n\t\t\t/**\r\n\t\t\t * Initialize The Feed Editor {Tabs...}\r\n\t\t\t * @returns {void}\r\n\t\t\t */\r\n\t\t\tinit: function () {\r\n\t\t\t\tlet self = this;\r\n\t\t\t\tself.form = $('.generateFeed');\r\n\t\t\t\tif (!self.form.length) return;\r\n\t\t\t\thelper.common();\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t$(document).trigger(new jQuery.Event('feedEditor.init', {\r\n\t\t\t\t\ttarget: this.form\r\n\t\t\t\t}));\r\n\t\t\t},\r\n\r\n\t\t\t/**\r\n\t\t\t * Render Merchant info ajax response and handle allowed feed type for selected merchant\r\n\t\t\t * @param {jQuery|HTMLElement} merchantInfo jQuery dom object\r\n\t\t\t * @param {jQuery|HTMLElement} feedType jQuery dom object\r\n\t\t\t * @param {Object} r ajax response object\r\n\t\t\t */\r\n\t\t\trenderMerchantInfo: function (merchantInfo, feedType, r) {\r\n\t\t\t\tfor (let k in r) {\r\n\t\t\t\t\tif (r.hasOwnProperty(k)) {\r\n\t\t\t\t\t\tmerchantInfo.find('.merchant-info-section.' + k + ' .data').html(r[k]); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html\r\n\r\n\t\t\t\t\t\tif ('feed_file_type' === k) {\r\n\t\t\t\t\t\t\t(function() {\r\n\t\t\t\t\t\t\t\tlet types = r[k].split(\",\").map(function(t) {\r\n\t\t\t\t\t\t\t\t\treturn t.trim().toLowerCase();\r\n\t\t\t\t\t\t\t\t}).filter(function(t) {\r\n\t\t\t\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\t\t\t\treturn t !== '' && t !== opts.na.toLowerCase();\r\n\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\tif (types.length) {\r\n\t\t\t\t\t\t\t\t\tfeedType.find('option').removeAttr('selected').each(function() {\r\n\t\t\t\t\t\t\t\t\t\tlet opt = $(this);\r\n\t\t\t\t\t\t\t\t\t\topt.val() && !helper.in_array(opt.val(), types) ? opt.disabled(!0) : opt.disabled(!1);\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\tif (types.length === 1) feedType.find('option[value=\"' + types[0] + '\"]').attr('selected', 'selected');\r\n\t\t\t\t\t\t\t\t} else feedType.find('option').disabled(!1);\r\n\t\t\t\t\t\t\t})();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tmerchantInfo.find('.spinner').removeClass('is-active');\r\n\t\t\t\tfeedType.disabled(!1);\r\n\t\t\t\tfeedType.trigger('change');\r\n\t\t\t\tfeedType.parent().find('.spinner').removeClass('is-active');\r\n\t\t\t},\r\n\r\n\t\t\t/**\r\n\t\t\t * Render Feed Template Tabs and settings while creating new feed.\r\n\t\t\t * @param {jQuery|HTMLElement} feedForm feed from query dom object\r\n\t\t\t * @param {object} r merchant template ajax response object\r\n\t\t\t */\r\n\t\t\trenderMerchantTemplate: function (feedForm, r) {\r\n\t\t\t\tlet _loop = function _loop(k) {\r\n\t\t\t\t\tif (r.hasOwnProperty(k)) {\r\n\t\t\t\t\t\tif ('tabs' === k) {\r\n\t\t\t\t\t\t\t// noinspection JSUnresolvedFunction\r\n\t\t\t\t\t\t\tfeedForm.html(r[k]); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tlet contentSettings = $('[name=\"' + k + '\"]');\r\n\r\n\t\t\t\t\t\t\tif (contentSettings.length) {\r\n\t\t\t\t\t\t\t\tcontentSettings.each(function() {\r\n\t\t\t\t\t\t\t\t\tlet elem = $(this);\r\n\r\n\t\t\t\t\t\t\t\t\tif (elem.is('select')) {\r\n\t\t\t\t\t\t\t\t\t\telem.find('[value=\"' + r[k] + '\"]').prop('selected', true);\r\n\t\t\t\t\t\t\t\t\t} else if ((elem.is('[type=checkbox]') || elem.is('[type=radio]')) && elem.val() === r[k]) {\r\n\t\t\t\t\t\t\t\t\t\telem.prop('checked', true);\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\telem.val(r[k]); // type=text\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}).trigger('change');\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\r\n\t\t\t\tfor (let k in r) {\r\n\t\t\t\t\t_loop(k);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfeedEditor.init();\r\n\t\t\t}\r\n\t\t},\r\n\t\t// Feed Editor Table\r\n\t\tmerchantInfoCache = [],\r\n\t\tmerchantTemplateCache = [],\r\n\t\ttooltip = () => {\r\n\t\t\t// Tooltip only Text\r\n\t\t\t$('.wfmasterTooltip')\r\n\t\t\t\t.hover(function () {\r\n\t\t\t\t\t// Hover over code\r\n\t\t\t\t\tlet self = $(this), title = self.attr('wftitle');\r\n\t\t\t\t\tself.data('tipText', title).removeAttr('wftitle');\r\n\t\t\t\t\t$('<p class=\"wftooltip\"></p>').text(title).appendTo('body').fadeIn('slow');\r\n\t\t\t\t}, function () {\r\n\t\t\t\t\t// Hover out code\r\n\t\t\t\t\tlet self = $(this);\r\n\t\t\t\t\tself.attr('wftitle', self.data('tipText'));\r\n\t\t\t\t\t$('.wftooltip').remove();\r\n\t\t\t\t})\r\n\t\t\t\t.mousemove(function (e) {\r\n\t\t\t\t\t$('.wftooltip').css({\r\n\t\t\t\t\t\ttop: e.pageY + 10,\r\n\t\t\t\t\t\tleft: e.pageX + 20\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t},\r\n\t\tclip = () => {\r\n\t\t\t$copyBtn = $('.toClipboard');\r\n\t\t\tif (!ClipboardJS.isSupported() || /iPhone|iPad/i.test(navigator.userAgent)) {\r\n\t\t\t\t$copyBtn.find('img').hide(0);\r\n\t\t\t} else {\r\n\t\t\t\t$copyBtn.each(function() {\r\n\t\t\t\t\t$(this).on('mouseleave', clearTooltip).on('blur', clearTooltip);\r\n\t\t\t\t});\r\n\t\t\t\tclipboard = new ClipboardJS('.toClipboard');\r\n\t\t\t\tclipboard.on('error', function(event) {\r\n\t\t\t\t\tshowTooltip(event.trigger, fallbackMessage(event.action));\r\n\t\t\t\t}).on('success', function(event) {\r\n\t\t\t\t\tshowTooltip(event.trigger, 'Copied!');\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t};\r\n\t\r\n\t/**\r\n\t * Feed Generator Module\r\n\t */\r\n\tclass feedGenerator {\r\n\t\t\r\n\t\t/**\r\n\t\t * Constructor\r\n\t\t * @constructor\r\n\t\t */\r\n\t\tconstructor() {\r\n\t\t\tthis._feed = opts.generator.feed; // wf_config+xxxx\r\n\t\t\tthis._limit = opts.generator.limit;\r\n\t\t\tthis._progress = 0;\r\n\t\t\tthis._timer = null;\r\n\t\t\tthis._color = false;\r\n\t\t\t// batch info\r\n\t\t\tthis._total_batch = 0;\r\n\t\t\tthis._current_batch = 0;\r\n\t\t\tthis._product_ids = [];\r\n\t\t\tthis._progress_per_batch = 0;\r\n\t\t\tthis._refresh = true;\r\n\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\tthis._regenerate = opts.generator.regenerate;\r\n\t\t\twindow.isRegenerating = false;\r\n\t\t\tthis._all_btn = $('.wpf_regenerate');\r\n\t\t\tthis._current_btn = $(`#${this._feed.replace( 'wf_config', 'wf_feed_' )}`);\r\n\t\t\tthis._current_btn_label = '';\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Init Hooks (Event)\r\n\t\t * @return {feedGenerator}\r\n\t\t */\r\n\t\tinit() {\r\n\t\t\tlet self = this;\r\n\t\t\tif ( '' !== this._feed && this._regenerate && false === window.isRegenerating ) {\r\n\t\t\t\tthis.generate();\r\n\t\t\t}\r\n\t\t\t$(document).on('click', '.woo-feed-campaign-close-button', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\r\n\t\t\t\t$(this).parent('.woo-feed-promotion').hide();\r\n\t\t\t\tlet condition = $(this).data('condition');\r\n\t\t\t\tif(1 === condition) {\r\n\t\t\t\t\twpAjax.post( 'woo_feed_hide_promotion', {\r\n\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\tcondition: condition,\r\n\t\t\t\t\t} ).then( response => {\r\n\t\t\t\t\t\tself._log( response );\r\n\t\t\t\t\t} ).fail( error => {\r\n\t\t\t\t\t\tself._log( error );\r\n\t\t\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\t\t\tself._color = 'red';\r\n\t\t\t\t\t} );\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$(document).on('click', '.wpf_regenerate', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\tself._current_btn = $( this );\r\n\t\t\t\tif( self._current_btn.hasClass('disabled') || window.isRegenerating === true ) return;\r\n\t\t\t\tself._feed = self._current_btn.attr('id').replace( 'wf_feed_', 'wf_config' );\r\n\t\t\t\tif( '' !== self._feed ) {\r\n\t\t\t\t\tself.generate();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t_block_button() {\r\n\t\t\tif ( this._all_btn.length ) {\r\n\t\t\t\tthis._all_btn.addClass('disabled');\r\n\t\t\t}\r\n\t\t\tif ( this._current_btn.length ) {\r\n\t\t\t\tthis._current_btn.find('span').addClass('wpf_spin reverse_spin');\r\n\t\t\t\tthis._current_btn_label = this._current_btn.attr('title');\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tthis._current_btn.attr( 'aria-label', opts.regenerate ).attr( 'title', opts.regenerate );\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t_unblock_button() {\r\n\t\t\tif ( this._all_btn.length ) {\r\n\t\t\t\tthis._all_btn.removeClass('disabled');\r\n\t\t\t}\r\n\t\t\tif ( this._current_btn.length ) {\r\n\t\t\t\tthis._current_btn.find('span').removeClass('wpf_spin');\r\n\t\t\t\tthis._current_btn.find('span').removeClass('reverse_spin');\r\n\t\t\t\tthis._current_btn.attr( 'aria-label', this._current_btn_label ).attr( 'title', this._current_btn_label );\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Generate Feed\r\n\t\t * @return void\r\n\t\t */\r\n\t\tgenerate() {\r\n\t\t\tlet self = this;\r\n\t\t\twindow.isRegenerating = true;\r\n\t\t\tthis._block_button();\r\n\t\t\tthis._resetProgressBar();\r\n\t\t\tthis._progressBarActive();\r\n\t\t\tthis._log( 'Counting Total Products' );\r\n\t\t\tthis._updateProgressStatus( 'Fetching products.' );\r\n\t\t\tthis._get_product_ids().then( response => {\r\n\t\t\t\tthis._progress = 10;\r\n\t\t\t\tself._log( {response} );\r\n\t\t\t\tif(response.success) {\r\n\t\t\t\t\tself._log( `Total ${response.total} Products found.` );\r\n\t\t\t\t\tself._product_ids = response.product;\r\n\t\t\t\t\tself._total_batch = this._product_ids.length;\r\n\t\t\t\t\tself._current_batch = 0;\r\n\t\t\t\t\tself._progress_per_batch = ( 90 - this._progress ) / this._total_batch;\r\n\t\t\t\t\tself._process_batch();\r\n\t\t\t\t\tself._updateProgressStatus( 'Processing Products...' );\r\n\t\t\t\t} else {\r\n\t\t\t\t\tself._updateProgressStatus( response.data.message );\r\n\t\t\t\t}\r\n\t\t\t}).fail( error => {\r\n\t\t\t\tself._log( error );\r\n\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\tself._color = 'red';\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t}, 1500 );\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Get Product Ids\r\n\t\t * @returns {$.promise}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_get_product_ids() {\r\n\t\t\tthis._progress = 5;\r\n\t\t\treturn wpAjax.post( 'get_product_information', {\r\n\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\tfeed: this._feed,\r\n\t\t\t\tlimit: this._limit,\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Run the Batch\r\n\t\t * @private\r\n\t\t */\r\n\t\t_process_batch() {\r\n\t\t\tlet self = this;\r\n\t\t\tlet status = `Processing Batch ${this._current_batch+1} of ${this._total_batch}`;\r\n\t\t\tthis._updateProgressStatus( status );\r\n\t\t\tthis._log( status );\r\n\t\t\twpAjax.post( 'make_batch_feed', {\r\n\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\tfeed: this._feed,\r\n\t\t\t\tproducts: this._product_ids[this._current_batch],\r\n\t\t\t\tloop: this._current_batch,\r\n\t\t\t} ).then( response => {\r\n\t\t\t\tself._current_batch++;\r\n\t\t\t\tself._log( `Batch ${self._current_batch} Completed` );\r\n\t\t\t\tself._log( response );\r\n\t\t\t\tif ( self._current_batch < self._total_batch ) {\r\n\t\t\t\t\tself._process_batch();\r\n\t\t\t\t\tself._progress += self._progress_per_batch;\r\n\t\t\t\t}\r\n\t\t\t\tif ( self._current_batch === self._total_batch ) {\r\n\t\t\t\t\tself._save_feed_file();\r\n\t\t\t\t}\r\n\t\t\t} ).fail( error => {\r\n\t\t\t\tself._log( error );\r\n\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\tself._color = 'red';\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t}, 1500 );\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Save Feed Data from temp to feed file\r\n\t\t * @private\r\n\t\t */\r\n\t\t_save_feed_file() {\r\n\t\t\tlet self = this;\r\n\t\t\tthis._log( 'Saving feed file' );\r\n\t\t\tthis._updateProgressStatus( 'Saving feed file' );\r\n\t\t\twpAjax.post( 'save_feed_file', {\r\n\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\tfeed: this._feed,\r\n\t\t\t} ).then( response => {\r\n\t\t\t\tself._log( response );\r\n\t\t\t\tself._progress = 100;\r\n\t\t\t\tif ( self._refresh ) {\r\n\t\t\t\t\twindow.location.href = `${opts.pages.list.feed}&link=${response.url}&cat=${response.cat}`;\r\n\t\t\t\t}\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\t\tself._resetProgressBar( true );\r\n\t\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t\t}, 3000 );\r\n\t\t\t\t}, 2500 );\r\n\t\t\t} ).fail( error => {\r\n\t\t\t\tself._log( error );\r\n\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\tself._color = 'red';\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t}, 1500 );\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Console log wrapper with debug settings.\r\n\t\t * @param data\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_log( data ) {\r\n\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\tif ( opts.wpf_debug ) {\r\n\t\t\t\tconsole.log( data );\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Run the progressbar refresh interval\r\n\t\t * @param {int} refreshInterval\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_progressBarActive( refreshInterval = 0 ) {\r\n\t\t\tlet self = this;\r\n\t\t\tthis._toggleProgressBar( true );\r\n\t\t\tthis._timer = setInterval( function(){\r\n\t\t\t\tself._updateProgressBar();\r\n\t\t\t}, refreshInterval || 1000 );\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Stop Progressbar\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_stopProgressBar() {\r\n\t\t\tclearInterval( this._timer );\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Reset Progressbar\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_resetProgressBar( update ) {\r\n\t\t\tthis._toggleProgressBar( false );\r\n\t\t\tthis._updateProgressStatus( '' );\r\n\t\t\tclearInterval( this._timer );\r\n\t\t\tthis._color = false;\r\n\t\t\tthis._timer = null;\r\n\t\t\tthis._progress = 0;\r\n\t\t\tif ( update ) {\r\n\t\t\t\tthis._updateProgressBar();\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Show hide the progress bar el\r\n\t\t * @param status\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_toggleProgressBar( status ) {\r\n\t\t\tlet table = $('#feed_progress_table');\r\n\t\t\tif ( status ) {\r\n\t\t\t\ttable.show();\r\n\t\t\t} else {\r\n\t\t\t\ttable.hide();\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Update Progress bar text status\r\n\t\t * @param {string} status\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_updateProgressStatus( status ) {\r\n\t\t\t$( '.feed-progress-status' ).text( status );\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Update Progress Data\r\n\t\t * hooked with setInterval\r\n\t\t * @private\r\n\t\t */\r\n\t\t_updateProgressBar() {\r\n\t\t\tlet percentage = $( '.feed-progress-percentage' ),\r\n\t\t\t\tbar = $( '.feed-progress-bar-fill' ),\r\n\t\t\t\t_progress = `${Math.round( this._progress )}%`;\r\n\t\t\tbar.css( {\r\n\t\t\t\twidth: _progress,\r\n\t\t\t} );\r\n\t\t\tpercentage.text( _progress );\r\n\t\t}\r\n\t}\r\n\t// expose to the global scope\r\n\twindow.wf = {\r\n\t\thelper: helper,\r\n\t\tfeedEditor: feedEditor,\r\n\t\tgenerator: feedGenerator,\r\n\t};\r\n\t$(window).load(function() {\r\n\t\t// Template loading ui conflict\r\n\t\tif ($(location).attr(\"href\").match(/webappick.*feed/g) !== null) {\r\n\t\t\t$('#wpbody-content').addClass('woofeed-body-content');\r\n\t\t}\r\n\r\n\t\t// on edit page show item wrapper dropdown\r\n\t\tlet current_page_url_query = window.location.search;\r\n\t\tlet urlParams = new URLSearchParams(current_page_url_query);\r\n\t\tlet page_action = urlParams.get('action');\r\n\t\tif ( page_action === 'edit-feed' ) {\r\n\t\t\t$('.itemWrapper').show();\r\n\t\t}\r\n\r\n\t\t// ClipBoardJS\r\n\t\tclip();\r\n\t\t// postbox toggle\r\n\t\tpostboxes.add_postbox_toggles(pagenow);\r\n\t\t// initialize generator\r\n\t\tlet generator = new feedGenerator();\r\n\t\tgenerator.init();\r\n\t\t// noinspection JSUnresolvedVariable\r\n\t\tif( '' !== opts.generator.feed && opts.generator.regenerate ) {\r\n\t\t\r\n\t\t}\r\n\t\t// initialize editor\r\n\t\tfeedEditor.init();\r\n\t\thelper.common(); // Generate Feed Add Table Row\r\n\t\ttooltip();\r\n\t\t// validate feed editor\r\n\t\t$(\".generateFeed\").validate();\r\n\t\t// document events\r\n\t\t$(document)\r\n\t\t\t.on('click', '[data-toggle_slide]', function(e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\t$($(this).data('toggle_slide')).slideToggle('fast');\r\n\t\t\t})\r\n\t\t\t// XML Feed Wrapper\r\n\t\t\t.on('click', '#wf_newRow', function () {\r\n\t\t\t\tlet tbody = $('#table-1 tbody'),\r\n\t\t\t\t\ttemplate = $('#feed_config_template').text().trim().replace(/__idx__/g, tbody.find('tr').length);\r\n\t\t\t\ttbody.append(template);\r\n\t\t\t\thelper.fancySelect($('.outputType'));\r\n\t\t\t})\r\n\t\t\t// feed delete alert.\r\n\t\t\t.on('click', '.single-feed-delete', function (event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tif (confirm(opts.form.del_confirm)) {\r\n\t\t\t\t\twindow.location.href = $(this).attr('val');\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// clear cache data.\r\n\t\t\t.on('click', '.wf_clean_cache_wrapper', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\tvar nonce = $('.woo-feed-clean-cache-nonce').val();\r\n\t\t\t\tvar loader = $('.woo-feed-cache-loader');\r\n\r\n\t\t\t\t//show loader\r\n\t\t\t\tloader.show();\r\n\r\n\t\t\t\t// passed cache nonce\r\n\t\t\t\twpAjax.post('clear_cache_data', {\r\n\t\t\t\t\t_ajax_clean_nonce: nonce\r\n\t\t\t\t}).then(function (response) {\r\n\t\t\t\t\tif( response.success ) {\r\n\t\t\t\t\t\tloader.hide(); //hide loader\r\n\t\t\t\t\t}\r\n\t\t\t\t}).fail(function (e) {\r\n\t\t\t\t\tconsole.log('something wrong');\r\n\t\t\t\t});\r\n\r\n\t\t\t})\r\n\t\t\t// feed value dropdown change.\r\n\t\t\t.on('change', '.wf_attr.wf_attributes', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\r\n\t\t\t\t$('.fancy-picker-picked').trigger(\"click\"); // trigger fancy select box clicked\r\n\r\n\t\t\t\t// price attributes\r\n\t\t\t\tvar price_attributes = ['price', 'current_price', 'sale_price', 'price_with_tax', 'current_price_with_tax', 'sale_price_with_tax'];\r\n\t\t\t\t// current value\r\n\t\t\t\tvar current_attribute_value = $(this).val();\r\n\t\t\t\tvar outputSelect = $(this).parents('tr').find('.outputType');\r\n\t\t\t\tvar fancyOption = $(this).parents('tr').find('.fancy-picker-content .fancy-picker-option');\r\n\t\t\t\tvar fancyDataPicker = $(this).parents('tr').find('.fancy-picker-data span');\r\n\t\t\t\tvar selectIf, selectKey;\r\n\r\n\t\t\t\t// when select any custom taxonomy\r\n\t\t\t\tif( \"\" !== current_attribute_value && -1 !== current_attribute_value.indexOf('wf_taxo') ) {\r\n\t\t\t\t\tselectIf = 'for_custom_taxo';\r\n\t\t\t\t\tselectKey = \"parent_if_empty\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// when select any price attribute\r\n\t\t\t\tif( price_attributes.includes(current_attribute_value) ) {\r\n\t\t\t\t\tselectIf = 'for_price';\r\n\t\t\t\t\tselectKey = \"Price\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// remove selected class from old selected option\r\n\t\t\t\tfancyOption.removeClass('selected');\r\n\r\n\t\t\t\t// when value dropdown is selected as price or any custom taxonomy\r\n\t\t\t\tif( selectIf === 'for_custom_taxo' || selectIf === 'for_price' ) {\r\n\r\n\t\t\t\t\t// update \"Option Type\" when select key matches\r\n\t\t\t\t\tfancyOption.each(function(item) {\r\n\t\t\t\t\t\tif( selectKey === $(this).text() ) {\r\n\t\t\t\t\t\t\t$(this).addClass('selected');\r\n\t\t\t\t\t\t\tfancyDataPicker.text(selectKey);\r\n\t\t\t\t\t\t\toutputSelect.find(\"option\").text(selectKey);\r\n\t\t\t\t\t\t\toutputSelect.find(\"option\").val( $(this).data('value') );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t})\r\n\t\t\t// bulk delete alert.\r\n\t\t\t.on('click', '#doaction, #doaction2', function () {\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\treturn confirm(opts.form.del_confirm_multi);\r\n\t\t\t})\r\n\t\t\t// Generate Feed Table Row Delete\r\n\t\t\t.on('change', '.dType', function () {\r\n\t\t\t\tlet self = $(this),\r\n\t\t\t\t\ttype = self.val(),\r\n\t\t\t\t\trow = self.closest('tr');\r\n\t\t\t\t\r\n\t\t\t\tif (type === 'pattern') {\r\n\t\t\t\t\trow.find('.value_attribute').hide();\r\n\t\t\t\t\trow.find('.value_pattern').show();\r\n\t\t\t\t} else if (type === 'attribute') {\r\n\t\t\t\t\trow.find('.value_attribute').show();\r\n\t\t\t\t\trow.find('.value_pattern').hide();\r\n\t\t\t\t} else if (type === 'remove') {\r\n\t\t\t\t\trow.find('.value_attribute').hide();\r\n\t\t\t\t\trow.find('.value_pattern').hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// Generate Feed Form Submit\r\n\t\t\t.on('click', '.delRow', function (e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\t$(this).closest('tr').remove();\r\n\t\t\t\thelper.reindex_config_table();\r\n\t\t\t})\r\n\t\t\t.on('submit', '#generateFeed', function () {\r\n\t\t\t\t// Feed Generating form validation\r\n\t\t\t\t$(this).validate();\r\n\t\t\t\t\r\n\t\t\t\tif ($(this).valid()) {\r\n\t\t\t\t\t$(\".makeFeedResponse\")\r\n\t\t\t\t\t\t.show()\r\n\t\t\t\t\t\t.html(`<b style=\"color: darkblue;\"><i class=\"dashicons dashicons-sos wpf_spin\"></i> ${opts.form.generate}</b>`); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html, WordPressVIPMinimum.JS.StringConcat.Found\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// Generate Update Feed Form Submit\r\n\t\t\t.on('submit', '#updatefeed', function (e, data) {\r\n\t\t\t\t// Feed Generating form validation\r\n\t\t\t\t$(this).validate();\r\n\t\t\t\t\r\n\t\t\t\tif ($(this).valid()) {\r\n\t\t\t\t\t$(\".makeFeedResponse\")\r\n\t\t\t\t\t\t.show()\r\n\t\t\t\t\t\t.html(`<b style=\"color: darkblue;\"><i class=\"dashicons dashicons-sos wpf_spin\"></i> ${data && data.save ? opts.form.save : opts.form.generate}</b>`); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html, WordPressVIPMinimum.JS.StringConcat.Found\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '.ftporsftp', function () {\r\n\t\t\t\tlet server = $(this).val(),\r\n\t\t\t\t\tstatus = $('.ssh2_status');\r\n\t\t\t\t\r\n\t\t\t\tif (server === 'sftp') {\r\n\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\tstatus.show().css('color', 'dodgerblue').text(opts.form.sftp_checking);\r\n\t\t\t\t\twpAjax.post('get_ssh2_status', {\r\n\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\tserver: server\r\n\t\t\t\t\t}).then(function (response) {\r\n\t\t\t\t\t\tif (response === 'exists') {\r\n\t\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\t\tstatus.css('color', '#2CC185').text(opts.form.sftp_available);\r\n\t\t\t\t\t\t\tsetTimeout(function () {\r\n\t\t\t\t\t\t\t\tstatus.hide();\r\n\t\t\t\t\t\t\t}, 1500);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\t\tstatus.show().css('color', 'red').text(opts.form.sftp_warning);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).fail(function (e) {\r\n\t\t\t\t\t\tstatus.hide();\r\n\t\t\t\t\t\thelper.ajax_fail(e);\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tstatus.hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('click', '[name=\"save_feed_config\"]', function (e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\t$('#updatefeed').trigger('submit', {\r\n\t\t\t\t\tsave: true\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.on('change', '#provider', function (event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\t\r\n\t\t\t\tif (!$(this).closest('.generateFeed').hasClass('add-new')) return; // only for new feed.\r\n\r\n\t\t\t\tlet merchant = $(this).val(),\r\n\t\t\t\t\tfeedType = $(\"#feedType\"),\r\n\t\t\t\t\tfeedForm = $(\"#providerPage\"),\r\n\t\t\t\t\tmerchantInfo = $('#feed_merchant_info'); // set loading..\r\n\t\t\t\t\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tfeedForm.html('<h3><span style=\"float:none;margin: -3px 0 0;\" class=\"spinner is-active\"></span> ' + opts.form.loading_tmpl + '</h3>'); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html, WordPressVIPMinimum.JS.StringConcat.Found\r\n\t\t\t\t\r\n\t\t\t\tmerchantInfo.find('.spinner').addClass('is-active');\r\n\t\t\t\tfeedType.disabled(!0); // disable dropdown\r\n\t\t\t\t\r\n\t\t\t\tfeedType.parent().find('.spinner').addClass('is-active');\r\n\t\t\t\tmerchantInfo.find('.merchant-info-section .data').html(''); // remove previous data\r\n\t\t\t\t// Get Merchant info for selected Provider/Merchant\r\n\r\n\r\n\t\t\t\t\r\n\t\t\t\tif (merchantInfoCache.hasOwnProperty(merchant)) {\r\n\t\t\t\t\tfeedEditor.renderMerchantInfo(merchantInfo, feedType, merchantInfoCache[merchant]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\twpAjax.send('woo_feed_get_merchant_info', {\r\n\t\t\t\t\t\ttype: 'GET',\r\n\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\tnonce: opts.nonce,\r\n\t\t\t\t\t\t\tprovider: merchant\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).then(function (r) {\r\n\t\t\t\t\t\tmerchantInfoCache[merchant] = r;\r\n\t\t\t\t\t\tfeedEditor.renderMerchantInfo(merchantInfo, feedType, r);\r\n\t\t\t\t\t}).fail(helper.ajax_fail);\r\n\t\t\t\t} // Get FeedForm For Selected Provider/Merchant\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif (merchantTemplateCache.hasOwnProperty(merchant)) {\r\n\t\t\t\t\tfeedEditor.renderMerchantTemplate(feedForm, merchantTemplateCache[merchant]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\twpAjax.post('get_feed_merchant', {\r\n\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\tmerchant: merchant\r\n\t\t\t\t\t}).then(function (r) {\r\n\t\t\t\t\t\tmerchantTemplateCache[merchant] = r;\r\n\t\t\t\t\t\tfeedEditor.renderMerchantTemplate(feedForm, r);\r\n\r\n\t\t\t\t\t\t//when merchant is bing, change delimiter and enclosure\r\n\t\t\t\t\t\tif( 'bing' === merchant ) {\r\n\t\t\t\t\t\t\t//delimiter value\r\n\t\t\t\t\t\t\t$(\"#delimiter option\").removeAttr('selected');\r\n\t\t\t\t\t\t\t$(\"#delimiter option[value=\\\"tab\\\"]\").attr('selected', 'selected');\r\n\r\n\t\t\t\t\t\t\t//enclosure value\r\n\t\t\t\t\t\t\t$(\"#enclosure option\").removeAttr('selected');\r\n\t\t\t\t\t\t\t$(\"#enclosure option[value=\\\" \\\"]\").attr('selected', 'selected');\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t//reviewer options hide\r\n\t\t\t\t\t\tif( 'google_product_review' !== merchant) {\r\n\t\t\t\t\t\t\t$('.wf_attributes option[value=\"reviewer_name\"]').hide();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).fail(helper.ajax_fail);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// Feed Active and Inactive status change via ajax\r\n\t\t\t.on('change', '.woo_feed_status_input', function () {\r\n\t\t\t\tlet self = $(this);\r\n\t\t\t\twpAjax.post('update_feed_status', {\r\n\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\tfeedName: self.val(),\r\n\t\t\t\t\tstatus: self[0].checked ? 1 : 0\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t// event with trigger\r\n\t\t$(document)\r\n\t\t\t.on('change', '[name=\"is_outOfStock\"], [name=\"product_visibility\"]', function () {\r\n\t\t\t\tlet outOfStockVisibilityRow = $('.out-of-stock-visibility');\r\n\t\t\t\tif ($('[name=\"is_outOfStock\"]:checked').val() === 'n' && $('[name=\"product_visibility\"]:checked').val() === '1') {\r\n\t\t\t\t\toutOfStockVisibilityRow.show();\r\n\t\t\t\t} else {\r\n\t\t\t\t\toutOfStockVisibilityRow.hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '.attr_type', function () {\r\n\t\t\t\t// Attribute type selection\r\n\t\t\t\tlet self = $(this),\r\n\t\t\t\t\ttype = self.val(),\r\n\t\t\t\t\trow = self.closest('tr');\r\n\t\t\t\t\r\n\t\t\t\tif (type === 'pattern') {\r\n\t\t\t\t\trow.find('.wf_attr').hide();\r\n\t\t\t\t\trow.find('.wf_attr').val('');\r\n\t\t\t\t\trow.find('.wf_default').show();\r\n\t\t\t\t} else {\r\n\t\t\t\t\trow.find('.wf_attr').show();\r\n\t\t\t\t\trow.find('.wf_default').hide();\r\n\t\t\t\t\trow.find('.wf_default').val('');\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '.wf_mattributes, .attr_type', function () {\r\n\t\t\t\tlet row = $(this).closest('tr'),\r\n\t\t\t\t\tattribute = row.find('.wf_mattributes'),\r\n\t\t\t\t\ttype = row.find('.attr_type'),\r\n\t\t\t\t\tvalueColumn = row.find('td:eq(4)'),\r\n\t\t\t\t\tprovider = $('#provider').val();\r\n\t\t\t\t\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tif (opts.form.google_category.hasOwnProperty(attribute.val()) && type.val() === 'pattern' && helper.in_array(provider, opts.form.google_category[attribute.val()])) {\r\n\t\t\t\t\tif (valueColumn.find('select.selectize').length === 0) {\r\n\t\t\t\t\t\tvalueColumn.find('input.wf_default').remove();\r\n\t\t\t\t\t\tvalueColumn.append('<span class=\"wf_default wf_attributes\"><select name=\"default[]\" class=\"selectize\"></select></span>');\r\n\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\tvalueColumn.append(`<span style=\"font-size:x-small;\"><a style=\"color: red\" href=\"http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category\" target=\"_blank\">${opts.learn_more}</a></span>`);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (!googleCategories) {\r\n\t\t\t\t\t\t\tvalueColumn.append('<span class=\"spinner is-active\" style=\"margin: 0;\"></span>');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tlet select = valueColumn.find('.wf_attributes select');\r\n\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\thelper.selectize(select, {\r\n\t\t\t\t\t\t\tpreload: true,\r\n\t\t\t\t\t\t\tplaceholder: opts.form.select_category,\r\n\t\t\t\t\t\t\tload: function load(query, cb) {\r\n\t\t\t\t\t\t\t\tif (!googleCategories) {\r\n\t\t\t\t\t\t\t\t\twpAjax.send('get_google_categories', {\r\n\t\t\t\t\t\t\t\t\t\ttype: 'GET',\r\n\t\t\t\t\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\t\t\t\t\t\taction: \"get_google_categories\",\r\n\t\t\t\t\t\t\t\t\t\t\tprovider: provider\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}).then(function (r) {\r\n\t\t\t\t\t\t\t\t\t\tgoogleCategories = r;\r\n\t\t\t\t\t\t\t\t\t\tcb(googleCategories);\r\n\t\t\t\t\t\t\t\t\t\tvalueColumn.find('.spinner').remove();\r\n\t\t\t\t\t\t\t\t\t}).fail(helper.ajax_fail);\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tcb(googleCategories);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (attribute.val() !== 'current_category' && valueColumn.find('input.wf_default').length === 0) {\r\n\t\t\t\t\t\tvalueColumn.find('span').remove();\r\n\t\t\t\t\t\tvalueColumn.append('<input autocomplete=\"off\" class=\"wf_default wf_attributes\" type=\"text\" name=\"default[]\" value=\"\">');\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (type.val() !== 'pattern') {\r\n\t\t\t\t\t\t\tvalueColumn.find('input.wf_default').hide();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '#feedType,#provider', function () {\r\n\t\t\t\tlet type = $('#feedType').val(),\r\n\t\t\t\t\tprovider = $('#provider').val(),\r\n\t\t\t\t\titemWrapper = $('.itemWrapper'),\r\n\t\t\t\t\twf_csv_txt = $('.wf_csvtxt');\r\n\t\t\t\t\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tif (type !== '' && helper.in_array(provider, opts.form.item_wrapper_hidden)) {\r\n\t\t\t\t\titemWrapper.hide();\r\n\t\t\t\t} else if (type === 'xml') {\r\n\t\t\t\t\titemWrapper.show();\r\n\t\t\t\t\twf_csv_txt.hide();\r\n\t\t\t\t} else if (type === 'csv' || type === 'txt') {\r\n\t\t\t\t\titemWrapper.hide();\r\n\t\t\t\t\twf_csv_txt.show();\r\n\t\t\t\t} else {\r\n\t\t\t\t\titemWrapper.hide();\r\n\t\t\t\t\twf_csv_txt.hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.trigger('change');\r\n\t});\r\n})(jQuery, window, document, wp.ajax, wpf_ajax_obj);\r\n"]}
1
+ {"version":3,"sources":["woo-feed-admin.js"],"names":["_defineProperties","target","props","descriptor","i","_createClass","Constructor","protoProps","staticProps","prototype","window","wpAjax","self","prop","showTooltip","$","hasClass","currentTarget","clearTooltip","removeClass","actionMsg","className","match","index","action","removeAttr","actionKey","elem","addClass","attr","msg","extend","_default","_args","clip","$copyBtn","feedGenerator","left","event","trigger","test","navigator","on","console","googleCategories","in_array","needle","haystack","sortable","escape","data","text","ajax_fail","column_count","find","warn","wf_sortable","selectize_render_item","e","hasOwnProperty","opts","ajax","error","statusText","status","el","config","column","_onDrop","each","this","length","selectize","itemPath","create","concat","plugins","$item","container","containerSelector","group","options","bodyClass","itemSelector","handle","onDrop","fancySelect","maxItemShow","split","map","s","trim","helper","render","item","replace","x","form","merchantInfo","document","jQuery","k","init","renderMerchantInfo","opt","feedType","r","types","html","t","toLowerCase","na","disabled","val","_loop2","feedForm","contentSettings","renderMerchantTemplate","feedEditor","is","merchantInfoCache","tooltip","css","top","isRegenerating","_feed","_current_btn","feed","_limit","generator","limit","_progress","_product_ids","_progress_per_batch","_refresh","_all_btn","generate","_ajax_nonce","condition","value","_regenerate","parent","hide","_log","response","_updateProgressStatus","message","_color","preventDefault","key","regenerate","_block_button","_current_btn_label","_this","product","setTimeout","_stopProgressBar","_process_batch","_current_batch","_total_batch","post","_save_feed_file","then","fail","_resetProgressBar","_unblock_button","refreshInterval","arguments","undefined","clearInterval","_timer","_updateProgressBar","update","table","show","width","bar","wf","current_page_url_query","page_action","postboxes","add_postbox_toggles","pagenow","template","common","hover","title","appendTo","userAgent","merchantTemplateCache","remove","ClipboardJS","clipboard","slideToggle","loader","tbody","confirm","del_confirm","href","_ajax_clean_nonce","current_attribute_value","outputSelect","fancyOption","fancyDataPicker","log","selectKey","selectIf","parents","percentage","includes","closest","row","get","del_confirm_multi","reindex_config_table","save","server","nonce","sftp_available","sftp_warning","merchant","price_attributes","send","type","provider","checked","outOfStockVisibilityRow","valueColumn","append","select","load","query","attribute","google_category","learn_more","cb","itemWrapper"],"mappings":"yHAAA,SAAAA,kBAAAC,EAAAC,+BACA,IAAAC,EAAAD,EAAAE,kHADA,SAAAC,aAAAC,EAAAC,EAAAC,GAWC,OAFDD,GAAAP,kBAAAM,EAAAG,UAAAF,GARAC,GAAAE,kBAAAC,EAAAH,GAUCF,gFA0BGM,IAAAA,EAAAA,EAAAA,MACAC,EAAAD,gBAEA,IAAAA,EAAAA,KAAAC,GAHAD,EAAAA,KAAAA,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,EAAAA,OAAA,sGAxFGV,YAHNH,EAGMG,OA2FHU,EAAAA,KAAY9F,oBAAZA,UAvFAoF,GAAAA,SAAAA,sBAAAA,WACA,IAAAH,EAAAhN,EAAA,aAAAkG,MACD+G,EAEAjN,EAAA,aA7GGkG,MAnRH2H,EAAA7N,EAAA,gBAiYAqF,EAn5BJrF,EAo5BYH","file":"woo-feed-admin.min.js","sourcesContent":["// noinspection JSUnresolvedletiable\r\n/**!\r\n * WooFeed Scripts\r\n * @version 3.3.6\r\n * @package WooFeed\r\n * @copyright 2020 WebAppick\r\n *\r\n */\r\n/* global ajaxurl, wpAjax, postboxes, pagenow, alert, deleteUserSetting, typenow, adminpage, thousandsSeparator, decimalPoint, isRtl */\r\n// noinspection JSUnresolvedVariable\r\n(function($, window, document, wpAjax, opts) {\r\n\t\"use strict\";\r\n\t/**\r\n\t * All of the code for your admin-facing JavaScript source\r\n\t * should reside in this file.\r\n\t *\r\n\t * Note: It has been assumed you will write jQuery code here, so the\r\n\t * $ function reference has been prepared for usage within the scope\r\n\t * of this function.\r\n\t *\r\n\t * This enables you to define handlers, for when the DOM is ready:\r\n\t */\r\n\r\n\t/**\r\n\t * disable element utility\r\n\t *\r\n\t * @since 3.1.9\r\n\t *\r\n\t * @param {*} status\r\n\t * @returns {jQuery|HTMLElement}\r\n\t */\r\n\t$.fn.disabled = function(status) {\r\n\t\t$(this).each(function() {\r\n\t\t\tlet self = $(this),\r\n\t\t\t\tprop = 'disabled';\r\n\r\n\t\t\tif (typeof self.prop(prop) !== 'undefined') {\r\n\t\t\t\tself.prop(prop, status === void 0 || status === true);\r\n\t\t\t} else {\r\n\t\t\t\t!0 === status ? self.addClass(prop) : self.removeClass(prop);\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn self; // method chaining\r\n\t};\r\n\t\r\n\t/**\r\n\t * Check if a HTMLElement or jQuery is disabled\r\n\t */\r\n\t$.fn.isDisabled = function() {\r\n\t\tlet self = $(this),\r\n\t\t\tprop = 'disabled';\r\n\t\treturn typeof self.prop(prop) !== 'undefined' ? self.prop(prop) : self.hasClass(prop);\r\n\t};\r\n\t\r\n\t/**\r\n\t * Clear Tooltip for clip board js\r\n\t * @param {Object} event\r\n\t */\r\n\tconst clearTooltip = (event) => {\r\n\t\t$(event.currentTarget).removeClass( (index, className) => (className.match(/\\btooltipped-\\S+/g) || []).join(' ') ).removeClass('tooltipped').removeAttr('aria-label');\r\n\t};\r\n\r\n\tconst showTooltip = (elem, msg) => {\r\n\t\t$(elem).addClass('tooltipped tooltipped-s').attr('aria-label', msg);\r\n\t};\r\n\r\n\tconst fallbackMessage = (action) =>{\r\n\t\tlet actionMsg,\r\n\t\t\tactionKey = action === 'cut' ? 'X' : 'C';\r\n\r\n\t\tif (/iPhone|iPad/i.test(navigator.userAgent)) {\r\n\t\t\tactionMsg = 'No support :(';\r\n\t\t} else if (/Mac/i.test(navigator.userAgent)) {\r\n\t\t\tactionMsg = 'Press ⌘-' + actionKey + ' to ' + action;\r\n\t\t} else {\r\n\t\t\tactionMsg = 'Press Ctrl-' + actionKey + ' to ' + action;\r\n\t\t}\r\n\r\n\t\treturn actionMsg;\r\n\t};\r\n\t\r\n\t/**\r\n\t * Alias of jQuery.extend()\r\n\t * @param {Object} _default\r\n\t * @param {Object} _args\r\n\t */\r\n\tconst extend = (_default, _args) => $.extend(true, {}, _default, _args);\r\n\t\r\n\tlet $copyBtn,\r\n\t\tclipboard,\r\n\t\tgoogleCategories,\r\n\t\thelper = {\r\n\t\t\tin_array: (needle, haystack) => {\r\n\t\t\t\ttry {\r\n\t\t\t\t\treturn haystack.indexOf(needle) !== -1;\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tselectize_render_item: (data, escape) => `<div class=\"item wapk-selectize-item\">${ escape(data.text)}</div>`, // phpcs:ignore WordPressVIPMinimum.JS.StringConcat.Found,\r\n\t\t\tajax_fail: e => {\r\n\t\t\t\tconsole.warn(e);\r\n\t\t\t\talert(e.hasOwnProperty('statusText') && e.hasOwnProperty('status') ? opts.ajax.error + '\\n' + e.statusText + ' (' + e.status + ')' : e);\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * Initialize Sortable\r\n\t\t\t * @param {jQuery|HTMLElement} el\r\n\t\t\t * @param {object} config\r\n\t\t\t * @param {int|boolean} column\r\n\t\t\t * @param {function} onDrop\r\n\t\t\t * @return {jQuery|HTMLElement}\r\n\t\t\t */\r\n\t\t\tsortable: (el, config, column, onDrop) => {\r\n\t\t\t\treturn (el || $('.sorted_table')).each(function() {\r\n\t\t\t\t\tlet self = $(this),\r\n\t\t\t\t\t\tcolumn_count = self.find('tbody > tr:eq(0) > td').length || column || 9;\r\n\t\t\t\t\tself.wf_sortable(extend({\r\n\t\t\t\t\t\tcontainerSelector: 'table',\r\n\t\t\t\t\t\titemPath: '> tbody',\r\n\t\t\t\t\t\titemSelector: 'tr',\r\n\t\t\t\t\t\thandle: 'i.wf_sortedtable',\r\n\t\t\t\t\t\tplaceholder: `<tr class=\"placeholder\"><td colspan=\"${column_count}\"></td></tr>`,\r\n\t\t\t\t\t\tonDrop: ($item, container, _super, event) => {\r\n\t\t\t\t\t\t\t$item.removeClass(container.group.options.draggedClass).removeAttr('style');\r\n\t\t\t\t\t\t\t$(\"body\").removeClass(container.group.options.bodyClass);\r\n\t\t\t\t\t\t\tif ( onDrop && 'function' === typeof( onDrop ) ) {\r\n\t\t\t\t\t\t\t\tonDrop( $item, container, _super, event );\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t}, config));\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tselectize: (el, config) => {\r\n\t\t\t\treturn (el || $('select.selectize')).not('.selectized').each(function() {\r\n\t\t\t\t\tlet self = $(this);\r\n\t\t\t\t\tself.selectize(extend({\r\n\t\t\t\t\t\tcreate: self.data('create') || false,\r\n\t\t\t\t\t\tplugins: self.data('plugins') ? self.data('plugins').split(',').map(function(s) {\r\n\t\t\t\t\t\t\treturn s.trim();\r\n\t\t\t\t\t\t}) : [],\r\n\t\t\t\t\t\t//['remove_button'],\r\n\t\t\t\t\t\trender: {\r\n\t\t\t\t\t\t\titem: helper.selectize_render_item\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}, config));\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tfancySelect: (el, config) => {\r\n\t\t\t\treturn (el || $('select.fancySelect')).not('.FancySelectInit').each(function() {\r\n\t\t\t\t\tlet self = $(this);\r\n\t\t\t\t\tself.fancySelect(extend({\r\n\t\t\t\t\t\tmaxItemShow: 3\r\n\t\t\t\t\t}, config));\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\treindex_config_table: () => {\r\n\t\t\t\t$('#table-1').find('tbody tr').each( ( x, el ) => {\r\n\t\t\t\t\t$(el).find('[name]').each( ( x1, el ) => {\r\n\t\t\t\t\t\t$(el).attr('name', $(el).attr('name').replace(/(\\[\\d\\])/g, `[${x}]`));\r\n\t\t\t\t\t} );\r\n\t\t\t\t} );\r\n\t\t\t},\r\n\t\t\tcommon: () => {\r\n\t\t\t\thelper.sortable( $('.sorted_table'), {}, 9, helper.reindex_config_table );\r\n\t\t\t\thelper.selectize();\r\n\t\t\t\thelper.fancySelect($('.outputType'));\r\n\t\t\t}\r\n\t\t},\r\n\t\t// helper functions\r\n\t\tfeedEditor = {\r\n\t\t\t/**\r\n\t\t\t * The Editor Form Elem.\r\n\t\t\t * @type {jQuery|HTMLElement}\r\n\t\t\t */\r\n\t\t\tform: null,\r\n\r\n\t\t\t/**\r\n\t\t\t * Initialize The Feed Editor {Tabs...}\r\n\t\t\t * @returns {void}\r\n\t\t\t */\r\n\t\t\tinit: function () {\r\n\t\t\t\tlet self = this;\r\n\t\t\t\tself.form = $('.generateFeed');\r\n\t\t\t\tif (!self.form.length) return;\r\n\t\t\t\thelper.common();\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t$(document).trigger(new jQuery.Event('feedEditor.init', {\r\n\t\t\t\t\ttarget: this.form\r\n\t\t\t\t}));\r\n\t\t\t},\r\n\r\n\t\t\t/**\r\n\t\t\t * Render Merchant info ajax response and handle allowed feed type for selected merchant\r\n\t\t\t * @param {jQuery|HTMLElement} merchantInfo jQuery dom object\r\n\t\t\t * @param {jQuery|HTMLElement} feedType jQuery dom object\r\n\t\t\t * @param {Object} r ajax response object\r\n\t\t\t */\r\n\t\t\trenderMerchantInfo: function (merchantInfo, feedType, r) {\r\n\t\t\t\tfor (let k in r) {\r\n\t\t\t\t\tif (r.hasOwnProperty(k)) {\r\n\t\t\t\t\t\tmerchantInfo.find('.merchant-info-section.' + k + ' .data').html(r[k]); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html\r\n\r\n\t\t\t\t\t\tif ('feed_file_type' === k) {\r\n\t\t\t\t\t\t\t(function() {\r\n\t\t\t\t\t\t\t\tlet types = r[k].split(\",\").map(function(t) {\r\n\t\t\t\t\t\t\t\t\treturn t.trim().toLowerCase();\r\n\t\t\t\t\t\t\t\t}).filter(function(t) {\r\n\t\t\t\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\t\t\t\treturn t !== '' && t !== opts.na.toLowerCase();\r\n\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\tif (types.length) {\r\n\t\t\t\t\t\t\t\t\tfeedType.find('option').removeAttr('selected').each(function() {\r\n\t\t\t\t\t\t\t\t\t\tlet opt = $(this);\r\n\t\t\t\t\t\t\t\t\t\topt.val() && !helper.in_array(opt.val(), types) ? opt.disabled(!0) : opt.disabled(!1);\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\tif (types.length === 1) feedType.find('option[value=\"' + types[0] + '\"]').attr('selected', 'selected');\r\n\t\t\t\t\t\t\t\t} else feedType.find('option').disabled(!1);\r\n\t\t\t\t\t\t\t})();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tmerchantInfo.find('.spinner').removeClass('is-active');\r\n\t\t\t\tfeedType.disabled(!1);\r\n\t\t\t\tfeedType.trigger('change');\r\n\t\t\t\tfeedType.parent().find('.spinner').removeClass('is-active');\r\n\t\t\t},\r\n\r\n\t\t\t/**\r\n\t\t\t * Render Feed Template Tabs and settings while creating new feed.\r\n\t\t\t * @param {jQuery|HTMLElement} feedForm feed from query dom object\r\n\t\t\t * @param {object} r merchant template ajax response object\r\n\t\t\t */\r\n\t\t\trenderMerchantTemplate: function (feedForm, r) {\r\n\t\t\t\tlet _loop = function _loop(k) {\r\n\t\t\t\t\tif (r.hasOwnProperty(k)) {\r\n\t\t\t\t\t\tif ('tabs' === k) {\r\n\t\t\t\t\t\t\t// noinspection JSUnresolvedFunction\r\n\t\t\t\t\t\t\tfeedForm.html(r[k]); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tlet contentSettings = $('[name=\"' + k + '\"]');\r\n\r\n\t\t\t\t\t\t\tif (contentSettings.length) {\r\n\t\t\t\t\t\t\t\tcontentSettings.each(function() {\r\n\t\t\t\t\t\t\t\t\tlet elem = $(this);\r\n\r\n\t\t\t\t\t\t\t\t\tif (elem.is('select')) {\r\n\t\t\t\t\t\t\t\t\t\telem.find('[value=\"' + r[k] + '\"]').prop('selected', true);\r\n\t\t\t\t\t\t\t\t\t} else if ((elem.is('[type=checkbox]') || elem.is('[type=radio]')) && elem.val() === r[k]) {\r\n\t\t\t\t\t\t\t\t\t\telem.prop('checked', true);\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\telem.val(r[k]); // type=text\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}).trigger('change');\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\r\n\t\t\t\tfor (let k in r) {\r\n\t\t\t\t\t_loop(k);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfeedEditor.init();\r\n\t\t\t}\r\n\t\t},\r\n\t\t// Feed Editor Table\r\n\t\tmerchantInfoCache = [],\r\n\t\tmerchantTemplateCache = [],\r\n\t\ttooltip = () => {\r\n\t\t\t// Tooltip only Text\r\n\t\t\t$('.wfmasterTooltip')\r\n\t\t\t\t.hover(function () {\r\n\t\t\t\t\t// Hover over code\r\n\t\t\t\t\tlet self = $(this), title = self.attr('wftitle');\r\n\t\t\t\t\tself.data('tipText', title).removeAttr('wftitle');\r\n\t\t\t\t\t$('<p class=\"wftooltip\"></p>').text(title).appendTo('body').fadeIn('slow');\r\n\t\t\t\t}, function () {\r\n\t\t\t\t\t// Hover out code\r\n\t\t\t\t\tlet self = $(this);\r\n\t\t\t\t\tself.attr('wftitle', self.data('tipText'));\r\n\t\t\t\t\t$('.wftooltip').remove();\r\n\t\t\t\t})\r\n\t\t\t\t.mousemove(function (e) {\r\n\t\t\t\t\t$('.wftooltip').css({\r\n\t\t\t\t\t\ttop: e.pageY + 10,\r\n\t\t\t\t\t\tleft: e.pageX + 20\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t},\r\n\t\tclip = () => {\r\n\t\t\t$copyBtn = $('.toClipboard');\r\n\t\t\tif (!ClipboardJS.isSupported() || /iPhone|iPad/i.test(navigator.userAgent)) {\r\n\t\t\t\t$copyBtn.find('img').hide(0);\r\n\t\t\t} else {\r\n\t\t\t\t$copyBtn.each(function() {\r\n\t\t\t\t\t$(this).on('mouseleave', clearTooltip).on('blur', clearTooltip);\r\n\t\t\t\t});\r\n\t\t\t\tclipboard = new ClipboardJS('.toClipboard');\r\n\t\t\t\tclipboard.on('error', function(event) {\r\n\t\t\t\t\tshowTooltip(event.trigger, fallbackMessage(event.action));\r\n\t\t\t\t}).on('success', function(event) {\r\n\t\t\t\t\tshowTooltip(event.trigger, 'Copied!');\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t};\r\n\t\r\n\t/**\r\n\t * Feed Generator Module\r\n\t */\r\n\tclass feedGenerator {\r\n\t\t\r\n\t\t/**\r\n\t\t * Constructor\r\n\t\t * @constructor\r\n\t\t */\r\n\t\tconstructor() {\r\n\t\t\tthis._feed = opts.generator.feed; // wf_config+xxxx\r\n\t\t\tthis._limit = opts.generator.limit;\r\n\t\t\tthis._progress = 0;\r\n\t\t\tthis._timer = null;\r\n\t\t\tthis._color = false;\r\n\t\t\t// batch info\r\n\t\t\tthis._total_batch = 0;\r\n\t\t\tthis._current_batch = 0;\r\n\t\t\tthis._product_ids = [];\r\n\t\t\tthis._progress_per_batch = 0;\r\n\t\t\tthis._refresh = true;\r\n\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\tthis._regenerate = opts.generator.regenerate;\r\n\t\t\twindow.isRegenerating = false;\r\n\t\t\tthis._all_btn = $('.wpf_regenerate');\r\n\t\t\tthis._current_btn = $(`#${this._feed.replace( 'wf_config', 'wf_feed_' )}`);\r\n\t\t\tthis._current_btn_label = '';\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Init Hooks (Event)\r\n\t\t * @return {feedGenerator}\r\n\t\t */\r\n\t\tinit() {\r\n\t\t\tlet self = this;\r\n\t\t\tif ( '' !== this._feed && this._regenerate && false === window.isRegenerating ) {\r\n\t\t\t\tthis.generate();\r\n\t\t\t}\r\n\t\t\t$(document).on('click', '.woo-feed-campaign-close-button', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\r\n\t\t\t\t$(this).parent('.woo-feed-promotion').hide();\r\n\t\t\t\tlet condition = $(this).data('condition');\r\n\t\t\t\tif(1 === condition) {\r\n\t\t\t\t\twpAjax.post( 'woo_feed_hide_promotion', {\r\n\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\tcondition: condition,\r\n\t\t\t\t\t} ).then( response => {\r\n\t\t\t\t\t\tself._log( response );\r\n\t\t\t\t\t} ).fail( error => {\r\n\t\t\t\t\t\tself._log( error );\r\n\t\t\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\t\t\tself._color = 'red';\r\n\t\t\t\t\t} );\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$(document).on('click', '.wpf_regenerate', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\tself._current_btn = $( this );\r\n\t\t\t\tif( self._current_btn.hasClass('disabled') || window.isRegenerating === true ) return;\r\n\t\t\t\tself._feed = self._current_btn.attr('id').replace( 'wf_feed_', 'wf_config' );\r\n\t\t\t\tif( '' !== self._feed ) {\r\n\t\t\t\t\tself.generate();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t_block_button() {\r\n\t\t\tif ( this._all_btn.length ) {\r\n\t\t\t\tthis._all_btn.addClass('disabled');\r\n\t\t\t}\r\n\t\t\tif ( this._current_btn.length ) {\r\n\t\t\t\tthis._current_btn.find('span').addClass('wpf_spin reverse_spin');\r\n\t\t\t\tthis._current_btn_label = this._current_btn.attr('title');\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tthis._current_btn.attr( 'aria-label', opts.regenerate ).attr( 'title', opts.regenerate );\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t_unblock_button() {\r\n\t\t\tif ( this._all_btn.length ) {\r\n\t\t\t\tthis._all_btn.removeClass('disabled');\r\n\t\t\t}\r\n\t\t\tif ( this._current_btn.length ) {\r\n\t\t\t\tthis._current_btn.find('span').removeClass('wpf_spin');\r\n\t\t\t\tthis._current_btn.find('span').removeClass('reverse_spin');\r\n\t\t\t\tthis._current_btn.attr( 'aria-label', this._current_btn_label ).attr( 'title', this._current_btn_label );\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Generate Feed\r\n\t\t * @return void\r\n\t\t */\r\n\t\tgenerate() {\r\n\t\t\tlet self = this;\r\n\t\t\twindow.isRegenerating = true;\r\n\t\t\tthis._block_button();\r\n\t\t\tthis._resetProgressBar();\r\n\t\t\tthis._progressBarActive();\r\n\t\t\tthis._log( 'Counting Total Products' );\r\n\t\t\tthis._updateProgressStatus( 'Fetching products.' );\r\n\t\t\tthis._get_product_ids().then( response => {\r\n\t\t\t\tthis._progress = 10;\r\n\t\t\t\tself._log( {response} );\r\n\t\t\t\tif(response.success) {\r\n\t\t\t\t\tself._log( `Total ${response.total} Products found.` );\r\n\t\t\t\t\tself._product_ids = response.product;\r\n\t\t\t\t\tself._total_batch = this._product_ids.length;\r\n\t\t\t\t\tself._current_batch = 0;\r\n\t\t\t\t\tself._progress_per_batch = ( 90 - this._progress ) / this._total_batch;\r\n\t\t\t\t\tself._process_batch();\r\n\t\t\t\t\tself._updateProgressStatus( 'Processing Products...' );\r\n\t\t\t\t} else {\r\n\t\t\t\t\tself._updateProgressStatus( response.data.message );\r\n\t\t\t\t}\r\n\t\t\t}).fail( error => {\r\n\t\t\t\tself._log( error );\r\n\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\tself._color = 'red';\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t}, 1500 );\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Get Product Ids\r\n\t\t * @returns {$.promise}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_get_product_ids() {\r\n\t\t\tthis._progress = 5;\r\n\t\t\treturn wpAjax.post( 'get_product_information', {\r\n\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\tfeed: this._feed,\r\n\t\t\t\tlimit: this._limit,\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Run the Batch\r\n\t\t * @private\r\n\t\t */\r\n\t\t_process_batch() {\r\n\t\t\tlet self = this;\r\n\t\t\tlet status = `Processing Batch ${this._current_batch+1} of ${this._total_batch}`;\r\n\t\t\tthis._updateProgressStatus( status );\r\n\t\t\tthis._log( status );\r\n\t\t\twpAjax.post( 'make_batch_feed', {\r\n\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\tfeed: this._feed,\r\n\t\t\t\tproducts: this._product_ids[this._current_batch],\r\n\t\t\t\tloop: this._current_batch,\r\n\t\t\t} ).then( response => {\r\n\t\t\t\tself._current_batch++;\r\n\t\t\t\tself._log( `Batch ${self._current_batch} Completed` );\r\n\t\t\t\tself._log( response );\r\n\t\t\t\tif ( self._current_batch < self._total_batch ) {\r\n\t\t\t\t\tself._process_batch();\r\n\t\t\t\t\tself._progress += self._progress_per_batch;\r\n\t\t\t\t}\r\n\t\t\t\tif ( self._current_batch === self._total_batch ) {\r\n\t\t\t\t\tself._save_feed_file();\r\n\t\t\t\t}\r\n\t\t\t} ).fail( error => {\r\n\t\t\t\tself._log( error );\r\n\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\tself._color = 'red';\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t}, 1500 );\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Save Feed Data from temp to feed file\r\n\t\t * @private\r\n\t\t */\r\n\t\t_save_feed_file() {\r\n\t\t\tlet self = this;\r\n\t\t\tthis._log( 'Saving feed file' );\r\n\t\t\tthis._updateProgressStatus( 'Saving feed file' );\r\n\t\t\twpAjax.post( 'save_feed_file', {\r\n\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\tfeed: this._feed,\r\n\t\t\t} ).then( response => {\r\n\t\t\t\tself._log( response );\r\n\t\t\t\tself._progress = 100;\r\n\t\t\t\tif ( self._refresh ) {\r\n\t\t\t\t\twindow.location.href = `${opts.pages.list.feed}&link=${response.url}&cat=${response.cat}`;\r\n\t\t\t\t}\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\t\tself._resetProgressBar( true );\r\n\t\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t\t}, 3000 );\r\n\t\t\t\t}, 2500 );\r\n\t\t\t} ).fail( error => {\r\n\t\t\t\tself._log( error );\r\n\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\tself._color = 'red';\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t}, 1500 );\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Console log wrapper with debug settings.\r\n\t\t * @param data\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_log( data ) {\r\n\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\tif ( opts.wpf_debug ) {\r\n\t\t\t\tconsole.log( data );\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Run the progressbar refresh interval\r\n\t\t * @param {int} refreshInterval\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_progressBarActive( refreshInterval = 0 ) {\r\n\t\t\tlet self = this;\r\n\t\t\tthis._toggleProgressBar( true );\r\n\t\t\tthis._timer = setInterval( function(){\r\n\t\t\t\tself._updateProgressBar();\r\n\t\t\t}, refreshInterval || 1000 );\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Stop Progressbar\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_stopProgressBar() {\r\n\t\t\tclearInterval( this._timer );\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Reset Progressbar\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_resetProgressBar( update ) {\r\n\t\t\tthis._toggleProgressBar( false );\r\n\t\t\tthis._updateProgressStatus( '' );\r\n\t\t\tclearInterval( this._timer );\r\n\t\t\tthis._color = false;\r\n\t\t\tthis._timer = null;\r\n\t\t\tthis._progress = 0;\r\n\t\t\tif ( update ) {\r\n\t\t\t\tthis._updateProgressBar();\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Show hide the progress bar el\r\n\t\t * @param status\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_toggleProgressBar( status ) {\r\n\t\t\tlet table = $('#feed_progress_table');\r\n\t\t\tif ( status ) {\r\n\t\t\t\ttable.show();\r\n\t\t\t} else {\r\n\t\t\t\ttable.hide();\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Update Progress bar text status\r\n\t\t * @param {string} status\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_updateProgressStatus( status ) {\r\n\t\t\t$( '.feed-progress-status' ).text( status );\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Update Progress Data\r\n\t\t * hooked with setInterval\r\n\t\t * @private\r\n\t\t */\r\n\t\t_updateProgressBar() {\r\n\t\t\tlet percentage = $( '.feed-progress-percentage' ),\r\n\t\t\t\tbar = $( '.feed-progress-bar-fill' ),\r\n\t\t\t\t_progress = `${Math.round( this._progress )}%`;\r\n\t\t\tbar.css( {\r\n\t\t\t\twidth: _progress,\r\n\t\t\t} );\r\n\t\t\tpercentage.text( _progress );\r\n\t\t}\r\n\t}\r\n\t// expose to the global scope\r\n\twindow.wf = {\r\n\t\thelper: helper,\r\n\t\tfeedEditor: feedEditor,\r\n\t\tgenerator: feedGenerator,\r\n\t};\r\n\t$(window).on('load', function() {\r\n\t\t// Template loading ui conflict\r\n\t\tif ($(location).attr(\"href\").match(/webappick.*feed/g) !== null) {\r\n\t\t\t$('#wpbody-content').addClass('woofeed-body-content');\r\n\t\t}\r\n\r\n\t\t// on edit page show item wrapper dropdown\r\n\t\tlet current_page_url_query = window.location.search;\r\n\t\tlet urlParams = new URLSearchParams(current_page_url_query);\r\n\t\tlet page_action = urlParams.get('action');\r\n\t\tif ( page_action === 'edit-feed' ) {\r\n\t\t\t$('.itemWrapper').show();\r\n\t\t}\r\n\r\n\t\t// ClipBoardJS\r\n\t\tclip();\r\n\t\t// postbox toggle\r\n\t\tpostboxes.add_postbox_toggles(pagenow);\r\n\t\t// initialize generator\r\n\t\tlet generator = new feedGenerator();\r\n\t\tgenerator.init();\r\n\t\t// noinspection JSUnresolvedVariable\r\n\t\tif( '' !== opts.generator.feed && opts.generator.regenerate ) {\r\n\t\t\r\n\t\t}\r\n\t\t// initialize editor\r\n\t\tfeedEditor.init();\r\n\t\thelper.common(); // Generate Feed Add Table Row\r\n\t\ttooltip();\r\n\t\t// validate feed editor\r\n\t\t$(\".generateFeed\").validate();\r\n\t\t// document events\r\n\t\t$(document)\r\n\t\t\t.on('click', '[data-toggle_slide]', function(e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\t$($(this).data('toggle_slide')).slideToggle('fast');\r\n\t\t\t})\r\n\t\t\t// XML Feed Wrapper\r\n\t\t\t.on('click', '#wf_newRow', function () {\r\n\t\t\t\tlet tbody = $('#table-1 tbody'),\r\n\t\t\t\t\ttemplate = $('#feed_config_template').text().trim().replace(/__idx__/g, tbody.find('tr').length);\r\n\t\t\t\ttbody.append(template);\r\n\t\t\t\thelper.fancySelect($('.outputType'));\r\n\t\t\t})\r\n\t\t\t// feed delete alert.\r\n\t\t\t.on('click', '.single-feed-delete', function (event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tif (confirm(opts.form.del_confirm)) {\r\n\t\t\t\t\twindow.location.href = $(this).attr('val');\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// clear cache data.\r\n\t\t\t.on('click', '.wf_clean_cache_wrapper', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\tvar nonce = $('.woo-feed-clean-cache-nonce').val();\r\n\t\t\t\tvar loader = $('.woo-feed-cache-loader');\r\n\r\n\t\t\t\t//show loader\r\n\t\t\t\tloader.show();\r\n\r\n\t\t\t\t// passed cache nonce\r\n\t\t\t\twpAjax.post('clear_cache_data', {\r\n\t\t\t\t\t_ajax_clean_nonce: nonce\r\n\t\t\t\t}).then(function (response) {\r\n\t\t\t\t\tif( response.success ) {\r\n\t\t\t\t\t\tloader.hide(); //hide loader\r\n\t\t\t\t\t}\r\n\t\t\t\t}).fail(function (e) {\r\n\t\t\t\t\tconsole.log('something wrong');\r\n\t\t\t\t});\r\n\r\n\t\t\t})\r\n\t\t\t// feed value dropdown change.\r\n\t\t\t.on('change', '.wf_attr.wf_attributes', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\r\n\t\t\t\t$('.fancy-picker-picked').trigger(\"click\"); // trigger fancy select box clicked\r\n\r\n\t\t\t\t// price attributes\r\n\t\t\t\tvar price_attributes = ['price', 'current_price', 'sale_price', 'price_with_tax', 'current_price_with_tax', 'sale_price_with_tax'];\r\n\t\t\t\t// current value\r\n\t\t\t\tvar current_attribute_value = $(this).val();\r\n\t\t\t\tvar outputSelect = $(this).parents('tr').find('.outputType');\r\n\t\t\t\tvar fancyOption = $(this).parents('tr').find('.fancy-picker-content .fancy-picker-option');\r\n\t\t\t\tvar fancyDataPicker = $(this).parents('tr').find('.fancy-picker-data span');\r\n\t\t\t\tvar selectIf, selectKey;\r\n\r\n\t\t\t\t// when select any custom taxonomy\r\n\t\t\t\tif( \"\" !== current_attribute_value && -1 !== current_attribute_value.indexOf('wf_taxo') ) {\r\n\t\t\t\t\tselectIf = 'for_custom_taxo';\r\n\t\t\t\t\tselectKey = \"parent_if_empty\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// when select any price attribute\r\n\t\t\t\tif( price_attributes.includes(current_attribute_value) ) {\r\n\t\t\t\t\tselectIf = 'for_price';\r\n\t\t\t\t\tselectKey = \"Price\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// remove selected class from old selected option\r\n\t\t\t\tfancyOption.removeClass('selected');\r\n\r\n\t\t\t\t// when value dropdown is selected as price or any custom taxonomy\r\n\t\t\t\tif( selectIf === 'for_custom_taxo' || selectIf === 'for_price' ) {\r\n\r\n\t\t\t\t\t// update \"Option Type\" when select key matches\r\n\t\t\t\t\tfancyOption.each(function(item) {\r\n\t\t\t\t\t\tif( selectKey === $(this).text() ) {\r\n\t\t\t\t\t\t\t$(this).addClass('selected');\r\n\t\t\t\t\t\t\tfancyDataPicker.text(selectKey);\r\n\t\t\t\t\t\t\toutputSelect.find(\"option\").text(selectKey);\r\n\t\t\t\t\t\t\toutputSelect.find(\"option\").val( $(this).data('value') );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t})\r\n\t\t\t// bulk delete alert.\r\n\t\t\t.on('click', '#doaction, #doaction2', function () {\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\treturn confirm(opts.form.del_confirm_multi);\r\n\t\t\t})\r\n\t\t\t// Generate Feed Table Row Delete\r\n\t\t\t.on('change', '.dType', function () {\r\n\t\t\t\tlet self = $(this),\r\n\t\t\t\t\ttype = self.val(),\r\n\t\t\t\t\trow = self.closest('tr');\r\n\t\t\t\t\r\n\t\t\t\tif (type === 'pattern') {\r\n\t\t\t\t\trow.find('.value_attribute').hide();\r\n\t\t\t\t\trow.find('.value_pattern').show();\r\n\t\t\t\t} else if (type === 'attribute') {\r\n\t\t\t\t\trow.find('.value_attribute').show();\r\n\t\t\t\t\trow.find('.value_pattern').hide();\r\n\t\t\t\t} else if (type === 'remove') {\r\n\t\t\t\t\trow.find('.value_attribute').hide();\r\n\t\t\t\t\trow.find('.value_pattern').hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// Generate Feed Form Submit\r\n\t\t\t.on('click', '.delRow', function (e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\t$(this).closest('tr').remove();\r\n\t\t\t\thelper.reindex_config_table();\r\n\t\t\t})\r\n\t\t\t.on('submit', '#generateFeed', function () {\r\n\t\t\t\t// Feed Generating form validation\r\n\t\t\t\t$(this).validate();\r\n\t\t\t\t\r\n\t\t\t\tif ($(this).valid()) {\r\n\t\t\t\t\t$(\".makeFeedResponse\")\r\n\t\t\t\t\t\t.show()\r\n\t\t\t\t\t\t.html(`<b style=\"color: darkblue;\"><i class=\"dashicons dashicons-sos wpf_spin\"></i> ${opts.form.generate}</b>`); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html, WordPressVIPMinimum.JS.StringConcat.Found\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// Generate Update Feed Form Submit\r\n\t\t\t.on('submit', '#updatefeed', function (e, data) {\r\n\t\t\t\t// Feed Generating form validation\r\n\t\t\t\t$(this).validate();\r\n\t\t\t\t\r\n\t\t\t\tif ($(this).valid()) {\r\n\t\t\t\t\t$(\".makeFeedResponse\")\r\n\t\t\t\t\t\t.show()\r\n\t\t\t\t\t\t.html(`<b style=\"color: darkblue;\"><i class=\"dashicons dashicons-sos wpf_spin\"></i> ${data && data.save ? opts.form.save : opts.form.generate}</b>`); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html, WordPressVIPMinimum.JS.StringConcat.Found\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '.ftporsftp', function () {\r\n\t\t\t\tlet server = $(this).val(),\r\n\t\t\t\t\tstatus = $('.ssh2_status');\r\n\t\t\t\t\r\n\t\t\t\tif (server === 'sftp') {\r\n\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\tstatus.show().css('color', 'dodgerblue').text(opts.form.sftp_checking);\r\n\t\t\t\t\twpAjax.post('get_ssh2_status', {\r\n\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\tserver: server\r\n\t\t\t\t\t}).then(function (response) {\r\n\t\t\t\t\t\tif (response === 'exists') {\r\n\t\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\t\tstatus.css('color', '#2CC185').text(opts.form.sftp_available);\r\n\t\t\t\t\t\t\tsetTimeout(function () {\r\n\t\t\t\t\t\t\t\tstatus.hide();\r\n\t\t\t\t\t\t\t}, 1500);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\t\tstatus.show().css('color', 'red').text(opts.form.sftp_warning);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).fail(function (e) {\r\n\t\t\t\t\t\tstatus.hide();\r\n\t\t\t\t\t\thelper.ajax_fail(e);\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tstatus.hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('click', '[name=\"save_feed_config\"]', function (e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\t$('#updatefeed').trigger('submit', {\r\n\t\t\t\t\tsave: true\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.on('change', '#provider', function (event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\t\r\n\t\t\t\tif (!$(this).closest('.generateFeed').hasClass('add-new')) return; // only for new feed.\r\n\r\n\t\t\t\tlet merchant = $(this).val(),\r\n\t\t\t\t\tfeedType = $(\"#feedType\"),\r\n\t\t\t\t\tfeedForm = $(\"#providerPage\"),\r\n\t\t\t\t\tmerchantInfo = $('#feed_merchant_info'); // set loading..\r\n\t\t\t\t\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tfeedForm.html('<h3><span style=\"float:none;margin: -3px 0 0;\" class=\"spinner is-active\"></span> ' + opts.form.loading_tmpl + '</h3>'); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html, WordPressVIPMinimum.JS.StringConcat.Found\r\n\t\t\t\t\r\n\t\t\t\tmerchantInfo.find('.spinner').addClass('is-active');\r\n\t\t\t\tfeedType.disabled(!0); // disable dropdown\r\n\t\t\t\t\r\n\t\t\t\tfeedType.parent().find('.spinner').addClass('is-active');\r\n\t\t\t\tmerchantInfo.find('.merchant-info-section .data').html(''); // remove previous data\r\n\t\t\t\t// Get Merchant info for selected Provider/Merchant\r\n\r\n\r\n\t\t\t\t\r\n\t\t\t\tif (merchantInfoCache.hasOwnProperty(merchant)) {\r\n\t\t\t\t\tfeedEditor.renderMerchantInfo(merchantInfo, feedType, merchantInfoCache[merchant]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\twpAjax.send('woo_feed_get_merchant_info', {\r\n\t\t\t\t\t\ttype: 'GET',\r\n\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\tnonce: opts.nonce,\r\n\t\t\t\t\t\t\tprovider: merchant\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).then(function (r) {\r\n\t\t\t\t\t\tmerchantInfoCache[merchant] = r;\r\n\t\t\t\t\t\tfeedEditor.renderMerchantInfo(merchantInfo, feedType, r);\r\n\t\t\t\t\t}).fail(helper.ajax_fail);\r\n\t\t\t\t} // Get FeedForm For Selected Provider/Merchant\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif (merchantTemplateCache.hasOwnProperty(merchant)) {\r\n\t\t\t\t\tfeedEditor.renderMerchantTemplate(feedForm, merchantTemplateCache[merchant]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\twpAjax.post('get_feed_merchant', {\r\n\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\tmerchant: merchant\r\n\t\t\t\t\t}).then(function (r) {\r\n\t\t\t\t\t\tmerchantTemplateCache[merchant] = r;\r\n\t\t\t\t\t\tfeedEditor.renderMerchantTemplate(feedForm, r);\r\n\r\n\t\t\t\t\t\t//when merchant is bing, change delimiter and enclosure\r\n\t\t\t\t\t\tif( 'bing' === merchant ) {\r\n\t\t\t\t\t\t\t//delimiter value\r\n\t\t\t\t\t\t\t$(\"#delimiter option\").removeAttr('selected');\r\n\t\t\t\t\t\t\t$(\"#delimiter option[value=\\\"tab\\\"]\").attr('selected', 'selected');\r\n\r\n\t\t\t\t\t\t\t//enclosure value\r\n\t\t\t\t\t\t\t$(\"#enclosure option\").removeAttr('selected');\r\n\t\t\t\t\t\t\t$(\"#enclosure option[value=\\\" \\\"]\").attr('selected', 'selected');\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t//reviewer options hide\r\n\t\t\t\t\t\tif( 'google_product_review' !== merchant) {\r\n\t\t\t\t\t\t\t$('.wf_attributes option[value=\"reviewer_name\"]').hide();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).fail(helper.ajax_fail);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// Feed Active and Inactive status change via ajax\r\n\t\t\t.on('change', '.woo_feed_status_input', function () {\r\n\t\t\t\tlet self = $(this);\r\n\t\t\t\twpAjax.post('update_feed_status', {\r\n\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\tfeedName: self.val(),\r\n\t\t\t\t\tstatus: self[0].checked ? 1 : 0\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t// event with trigger\r\n\t\t$(document)\r\n\t\t\t.on('change', '[name=\"is_outOfStock\"], [name=\"product_visibility\"]', function () {\r\n\t\t\t\tlet outOfStockVisibilityRow = $('.out-of-stock-visibility');\r\n\t\t\t\tif ($('[name=\"is_outOfStock\"]:checked').val() === 'n' && $('[name=\"product_visibility\"]:checked').val() === '1') {\r\n\t\t\t\t\toutOfStockVisibilityRow.show();\r\n\t\t\t\t} else {\r\n\t\t\t\t\toutOfStockVisibilityRow.hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '.attr_type', function () {\r\n\t\t\t\t// Attribute type selection\r\n\t\t\t\tlet self = $(this),\r\n\t\t\t\t\ttype = self.val(),\r\n\t\t\t\t\trow = self.closest('tr');\r\n\t\t\t\t\r\n\t\t\t\tif (type === 'pattern') {\r\n\t\t\t\t\trow.find('.wf_attr').hide();\r\n\t\t\t\t\trow.find('.wf_attr').val('');\r\n\t\t\t\t\trow.find('.wf_default').show();\r\n\t\t\t\t} else {\r\n\t\t\t\t\trow.find('.wf_attr').show();\r\n\t\t\t\t\trow.find('.wf_default').hide();\r\n\t\t\t\t\trow.find('.wf_default').val('');\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '.wf_mattributes, .attr_type', function () {\r\n\t\t\t\tlet row = $(this).closest('tr'),\r\n\t\t\t\t\tattribute = row.find('.wf_mattributes'),\r\n\t\t\t\t\ttype = row.find('.attr_type'),\r\n\t\t\t\t\tvalueColumn = row.find('td:eq(4)'),\r\n\t\t\t\t\tprovider = $('#provider').val();\r\n\t\t\t\t\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tif (opts.form.google_category.hasOwnProperty(attribute.val()) && type.val() === 'pattern' && helper.in_array(provider, opts.form.google_category[attribute.val()])) {\r\n\t\t\t\t\tif (valueColumn.find('select.selectize').length === 0) {\r\n\t\t\t\t\t\tvalueColumn.find('input.wf_default').remove();\r\n\t\t\t\t\t\tvalueColumn.append('<span class=\"wf_default wf_attributes\"><select name=\"default[]\" class=\"selectize\"></select></span>');\r\n\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\tvalueColumn.append(`<span style=\"font-size:x-small;\"><a style=\"color: red\" href=\"http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category\" target=\"_blank\">${opts.learn_more}</a></span>`);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (!googleCategories) {\r\n\t\t\t\t\t\t\tvalueColumn.append('<span class=\"spinner is-active\" style=\"margin: 0;\"></span>');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tlet select = valueColumn.find('.wf_attributes select');\r\n\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\thelper.selectize(select, {\r\n\t\t\t\t\t\t\tpreload: true,\r\n\t\t\t\t\t\t\tplaceholder: opts.form.select_category,\r\n\t\t\t\t\t\t\tload: function load(query, cb) {\r\n\t\t\t\t\t\t\t\tif (!googleCategories) {\r\n\t\t\t\t\t\t\t\t\twpAjax.send('get_google_categories', {\r\n\t\t\t\t\t\t\t\t\t\ttype: 'GET',\r\n\t\t\t\t\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\t\t\t\t\t\taction: \"get_google_categories\",\r\n\t\t\t\t\t\t\t\t\t\t\tprovider: provider\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}).then(function (r) {\r\n\t\t\t\t\t\t\t\t\t\tgoogleCategories = r;\r\n\t\t\t\t\t\t\t\t\t\tcb(googleCategories);\r\n\t\t\t\t\t\t\t\t\t\tvalueColumn.find('.spinner').remove();\r\n\t\t\t\t\t\t\t\t\t}).fail(helper.ajax_fail);\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tcb(googleCategories);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (attribute.val() !== 'current_category' && valueColumn.find('input.wf_default').length === 0) {\r\n\t\t\t\t\t\tvalueColumn.find('span').remove();\r\n\t\t\t\t\t\tvalueColumn.append('<input autocomplete=\"off\" class=\"wf_default wf_attributes\" type=\"text\" name=\"default[]\" value=\"\">');\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (type.val() !== 'pattern') {\r\n\t\t\t\t\t\t\tvalueColumn.find('input.wf_default').hide();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '#feedType,#provider', function () {\r\n\t\t\t\tlet type = $('#feedType').val(),\r\n\t\t\t\t\tprovider = $('#provider').val(),\r\n\t\t\t\t\titemWrapper = $('.itemWrapper'),\r\n\t\t\t\t\twf_csv_txt = $('.wf_csvtxt');\r\n\t\t\t\t\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tif (type !== '' && helper.in_array(provider, opts.form.item_wrapper_hidden)) {\r\n\t\t\t\t\titemWrapper.hide();\r\n\t\t\t\t} else if (type === 'xml') {\r\n\t\t\t\t\titemWrapper.show();\r\n\t\t\t\t\twf_csv_txt.hide();\r\n\t\t\t\t} else if (type === 'csv' || type === 'txt') {\r\n\t\t\t\t\titemWrapper.hide();\r\n\t\t\t\t\twf_csv_txt.show();\r\n\t\t\t\t} else {\r\n\t\t\t\t\titemWrapper.hide();\r\n\t\t\t\t\twf_csv_txt.hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.trigger('change');\r\n\t});\r\n})(jQuery, window, document, wp.ajax, wpf_ajax_obj);\r\n"]}
includes/class-woo-feed.php CHANGED
@@ -156,6 +156,7 @@ class Woo_Feed {
156
  require_once WOO_FEED_FREE_PATH . 'includes/feeds/class-woo-feed-facebook.php';
157
  require_once WOO_FEED_FREE_PATH . 'includes/feeds/class-woo-feed-pinterest.php';
158
  require_once WOO_FEED_FREE_PATH . 'includes/feeds/class-woo-feed-custom.php';
 
159
  /**
160
  * Docs Page Class
161
  */
156
  require_once WOO_FEED_FREE_PATH . 'includes/feeds/class-woo-feed-facebook.php';
157
  require_once WOO_FEED_FREE_PATH . 'includes/feeds/class-woo-feed-pinterest.php';
158
  require_once WOO_FEED_FREE_PATH . 'includes/feeds/class-woo-feed-custom.php';
159
+ require_once WOO_FEED_FREE_PATH . 'includes/feeds/class-woo-feed-review.php';
160
  /**
161
  * Docs Page Class
162
  */
includes/classes/class-woo-feed-default-attributes.php CHANGED
@@ -723,6 +723,22 @@ class Woo_Feed_Default_Attributes {
723
  );
724
  }
725
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
726
  /**
727
  * Catch.com.au Attribute List
728
  *
723
  );
724
  }
725
 
726
+ /**
727
+ * Google Product Review Attribute List
728
+ *
729
+ * @return array
730
+ */
731
+ public function googlereviewAttributes() {
732
+ return array(
733
+ 'product_name' => 'Product Title [product_name]',
734
+ 'product_url' => 'Product URL [product_url]',
735
+ 'review_temp_gtin' => 'GTIN [gtin]',
736
+ 'review_temp_mpn' => 'MPN [mpn]',
737
+ 'review_temp_sku' => 'SKU [sku]',
738
+ 'review_temp_brand' => 'Brand [brand]',
739
+ );
740
+ }
741
+
742
  /**
743
  * Catch.com.au Attribute List
744
  *
includes/classes/class-woo-feed-dropdown.php CHANGED
@@ -416,6 +416,23 @@ class Woo_Feed_Dropdown {
416
  return $options;
417
  }
418
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
419
  /**
420
  * Dropdown of Catch.com.au Attribute List
421
  *
416
  return $options;
417
  }
418
 
419
+ /**
420
+ * Dropdown of Google Review Attribute List
421
+ *
422
+ * @param string $selected
423
+ *
424
+ * @return string
425
+ */
426
+ public function googlereviewAttributesDropdown( $selected = '' ) {
427
+ $options = $this->get_cached_dropdown( 'googlereviewAttributesDropdown', $selected );
428
+
429
+ if ( false === $options ) {
430
+ $attributes = new Woo_Feed_Default_Attributes();
431
+ return $this->cache_dropdown( 'googlereviewAttributesDropdown', $attributes->googlereviewAttributes(), $selected );
432
+ }
433
+ return $options;
434
+ }
435
+
436
  /**
437
  * Dropdown of Catch.com.au Attribute List
438
  *
includes/classes/class-woo-feed-merchant.php CHANGED
@@ -324,7 +324,6 @@ class Woo_Feed_Merchant {
324
  'google' => esc_html__( 'Google Shopping', 'woo-feed' ),
325
  'google_local' => esc_html__( 'Google Local Product', 'woo-feed' ),
326
  'google_local_inventory' => esc_html__( 'Google Local Product Inventory', 'woo-feed' ),
327
- 'google_product_review' => esc_html__( 'Google Product Review', 'woo-feed' ),
328
  'google_shopping_action' => esc_html__( 'Google Shopping Action', 'woo-feed' ),
329
  'adwords' => esc_html__( 'Google Adwords', 'woo-feed' ),
330
  'facebook' => esc_html__( 'Facebook', 'woo-feed' ),
324
  'google' => esc_html__( 'Google Shopping', 'woo-feed' ),
325
  'google_local' => esc_html__( 'Google Local Product', 'woo-feed' ),
326
  'google_local_inventory' => esc_html__( 'Google Local Product Inventory', 'woo-feed' ),
 
327
  'google_shopping_action' => esc_html__( 'Google Shopping Action', 'woo-feed' ),
328
  'adwords' => esc_html__( 'Google Adwords', 'woo-feed' ),
329
  'facebook' => esc_html__( 'Facebook', 'woo-feed' ),
includes/classes/class-woo-feed-products-v3.php CHANGED
@@ -553,14 +553,7 @@ class Woo_Feed_Products_v3
553
  // Strip slash from output
554
  $attributeValue = stripslashes($attributeValue);
555
 
556
- if ( 'google_product_review' === $merchant ) {
557
- $nested_attributes = array_keys( $this->feed_nested_attributes() );
558
- if ( in_array($getReplacedAttribute, $nested_attributes, true) ) {
559
- $this->feedBody .= $this->nested_attributes_element($getReplacedAttribute, $attributeValue);
560
- }else {
561
- $this->feedBody .= '<' . $getReplacedAttribute . '>' . "$attributeValue" . '</' . $getReplacedAttribute . '>';
562
- }
563
- }elseif ( 'google_shopping_action' === $merchant ) {
564
  if ( 'description' === $merchant_attribute ) {
565
  $this->feedBody .= '<g:description>' . "$attributeValue" . '</g:description>';
566
  }else {
553
  // Strip slash from output
554
  $attributeValue = stripslashes($attributeValue);
555
 
556
+ if ( 'google_shopping_action' === $merchant ) {
 
 
 
 
 
 
 
557
  if ( 'description' === $merchant_attribute ) {
558
  $this->feedBody .= '<g:description>' . "$attributeValue" . '</g:description>';
559
  }else {
includes/feeds/class-woo-feed-review.php ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php /** @noinspection PhpUnusedPrivateMethodInspection, PhpUndefinedMethodInspection, PhpUnused, PhpUnusedPrivateFieldInspection, PhpUnusedLocalVariableInspection, DuplicatedCode, PhpUnusedParameterInspection, PhpForeachNestedOuterKeyValueVariablesConflictInspection, RegExpRedundantEscape */
2
+
3
+ /**
4
+ * Class Google Product Review
5
+ *
6
+ * Responsible for processing and generating feed for Google.com
7
+ *
8
+ * @since 1.0.0
9
+ * @package Google
10
+ *
11
+ */
12
+ class Woo_Feed_Review {
13
+
14
+ /**
15
+ * This variable is responsible for holding all product attributes and their values
16
+ *
17
+ * @since 1.0.0
18
+ * @var array $products Contains all the product attributes to generate feed
19
+ * @access public
20
+ */
21
+ public $products;
22
+
23
+ /**
24
+ * This variable is responsible for holding feed configuration form values
25
+ *
26
+ * @since 1.0.0
27
+ * @var array $rules Contains feed configuration form values
28
+ * @access public
29
+ */
30
+ public $rules;
31
+
32
+ /**
33
+ * This variable is responsible for mapping store attributes to merchant attribute
34
+ *
35
+ * @since 1.0.0
36
+ * @var array $mapping Map store attributes to merchant attribute
37
+ * @access public
38
+ */
39
+ public $mapping;
40
+
41
+ /**
42
+ * This variable is responsible for generate error logs
43
+ *
44
+ * @since 1.0.0
45
+ * @var array $errorLog Generate error logs
46
+ * @access public
47
+ */
48
+ public $errorLog;
49
+
50
+ /**
51
+ * This variable is responsible for making error number
52
+ *
53
+ * @since 1.0.0
54
+ * @var int $errorCounter Generate error number
55
+ * @access public
56
+ */
57
+ public $errorCounter;
58
+
59
+ /**
60
+ * Feed Wrapper text for enclosing each product information
61
+ *
62
+ * @since 1.0.0
63
+ * @var string $feedWrapper Feed Wrapper text
64
+ * @access public
65
+ */
66
+ public $feedWrapper = 'review';
67
+
68
+ /**
69
+ * Store product information
70
+ *
71
+ * @since 1.0.0
72
+ * @var array $storeProducts
73
+ * @access public
74
+ */
75
+ private $storeProducts;
76
+
77
+ /**
78
+ * Define the core functionality to generate feed.
79
+ *
80
+ * Set the feed rules. Map products according to the rules and Check required attributes
81
+ * and their values according to merchant specification.
82
+ * @var Woo_Generate_Feed $feedRule Contain Feed Configuration
83
+ * @since 1.0.0
84
+ */
85
+ public function __construct( $feedRule ) {
86
+ $feedRule['itemWrapper'] = $this->feedWrapper;
87
+ $this->products = new Woo_Feed_Products_v3( $feedRule );
88
+ // When update via cron job then set productIds.
89
+ if ( ! isset( $feedRule['productIds'] ) ) {
90
+ $feedRule['productIds'] = $this->products->query_products();
91
+ }
92
+ $this->products->get_products( $feedRule['productIds'] );
93
+ $this->rules = $feedRule;
94
+ }
95
+
96
+
97
+ /**
98
+ * Return Feed
99
+ *
100
+ * @return array|bool|string
101
+ */
102
+ public function returnFinalProduct() {
103
+ if ( ! empty( $this->products ) ) {
104
+
105
+ if ( 'xml' == $this->rules['feedType'] ) {
106
+ // return $this->get_feed($this->products);
107
+ $feed = array(
108
+ 'header' => $this->get_xml_feed_header(),
109
+ 'body' => $this->get_xml_feed_body(),
110
+ 'footer' => $this->get_xml_feed_footer(),
111
+ );
112
+
113
+ return $feed;
114
+ }
115
+ }
116
+
117
+ $feed = array(
118
+ 'body' => '',
119
+ 'header' => '',
120
+ 'footer' => '',
121
+ );
122
+
123
+ return $feed;
124
+ }
125
+
126
+
127
+
128
+ /**
129
+ * Make xml node
130
+ *
131
+ * @param string $attribute Attribute Name
132
+ * @param string $value Attribute Value
133
+ * @param bool $cdata
134
+ * @param string $space
135
+ *
136
+ * @return string
137
+ */
138
+ function formatXMLLine( $attribute, $value, $cdata, $space = '' ) {
139
+ // Make single XML node
140
+ if ( ! empty( $value ) ) {
141
+ $value = trim( $value );
142
+ }
143
+ if ( gettype( $value ) == 'array' ) {
144
+ $value = wp_json_encode( $value );
145
+ }
146
+ if ( false === strpos( $value, '<![CDATA[' ) && 'http' === substr( trim( $value ), 0, 4 ) ) {
147
+ $value = "<![CDATA[$value]]>";
148
+ } elseif ( false === strpos( $value, '<![CDATA[' ) && true === $cdata && ! empty( $value ) ) {
149
+ $value = "<![CDATA[$value]]>";
150
+ } elseif ( $cdata ) {
151
+ if ( ! empty( $value ) ) {
152
+ $value = "<![CDATA[$value]]>";
153
+ }
154
+ }
155
+
156
+ if ( 'g:additional_image_link' == substr( $attribute, 0, 23 ) ) {
157
+ $attribute = 'g:additional_image_link';
158
+ }
159
+
160
+ return "$space<$attribute>$value</$attribute>";
161
+ }
162
+
163
+
164
+ /**
165
+ * Make XML Feed Header
166
+ * @return string
167
+ */
168
+ public function get_xml_feed_header() {
169
+ $output = '<?xml version="1.0" encoding="UTF-8" ?>
170
+ <feed xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.google.com/shopping/reviews/schema/product/2.3/product_reviews.xsd">
171
+ <publisher><name>' . html_entity_decode( get_option( 'blogname' ) ) . '</name></publisher>
172
+ <reviews>';
173
+
174
+ return $output;
175
+ }
176
+
177
+ /**
178
+ * Make XML Feed
179
+ * @param array $items items.
180
+ * @return string
181
+ */
182
+ public function get_xml_feed_body() {
183
+ $review_data = woo_feed_get_approved_reviews_data();
184
+
185
+ $feed = $this->create_xml_lines($review_data);
186
+
187
+ //$feed = '<reviewer_data></reviewer_data>';
188
+ //if ( $review_data ) {
189
+ //$this->create_xml_lines($review_data);
190
+
191
+ return $feed;
192
+ //}
193
+
194
+ }
195
+
196
+ /**
197
+ * Make XML Feed Footer
198
+ * @return string
199
+ */
200
+ public function get_xml_feed_footer() {
201
+ $footer = ' </reviews>
202
+ </feed>';
203
+
204
+ return $footer;
205
+ }
206
+
207
+ /**
208
+ * Make XML Feed Body
209
+ * @param array $data review product array
210
+ *
211
+ * @return string
212
+ */
213
+ public function create_xml_lines($data) {
214
+ $output = '';
215
+
216
+ if( !empty($data) && is_array($data) ) {
217
+ foreach($data as $data_item_key => $data_item) {
218
+ $chunk_data = array_chunk($data_item, 1, true);
219
+ $output .= '<review>';
220
+ foreach($chunk_data as $key => $value) {
221
+ foreach( $value as $item_key => $item_value ) {
222
+ if( is_array($item_value) ) {
223
+ if( is_int($item_key) ) {
224
+ $output .= '</'. key($value) .'>';
225
+ $output .= '<'. key($value) .'>';
226
+ }else {
227
+ $output .= '<'. $item_key .'>';
228
+ }
229
+ }else {
230
+ $output .= '<'. $item_key .'>';
231
+ }
232
+ if( is_array($item_value) ) {
233
+ foreach( $item_value as $item_value2_key => $item_value2 ) {
234
+ if( is_array($item_value2) ) {
235
+ if( is_int($item_value2_key) ) {
236
+ $output .= '</'. key($item_value) .'>';
237
+ $output .= '<'. key($item_value) .'>';
238
+ }else {
239
+ $output .= '<'. $item_value2_key .'>';
240
+ }
241
+ }else {
242
+ $output .= '<'. $item_value2_key .'>';
243
+ }
244
+ if( is_array($item_value2) ) {
245
+
246
+ foreach( $item_value2 as $item_value3_key => $item_value3_value ) {
247
+ if( is_array($item_value3_value) ) {
248
+ if( is_int($item_value3_key) ) {
249
+ $output .= '</'. key($item_value2) .'>';
250
+ $output .= '<'. key($item_value2) .'>';
251
+ }else {
252
+ $output .= '<'. $item_value3_key .'>';
253
+ }
254
+ }else {
255
+ $output .= '<'. $item_value3_key .'>';
256
+ }
257
+ if( is_array($item_value3_value) ) {
258
+ foreach( $item_value3_value as $item_value4_key => $item_value4_value ) {
259
+ if( is_array($item_value4_value) ) {
260
+ if( is_int($item_value4_key) ) {
261
+ $output .= '</'. key($item_value2) .'>';
262
+ $output .= '<'. key($item_value2) .'>';
263
+ }else {
264
+ $output .= '<'. $item_value4_key .'>';
265
+ }
266
+ }else {
267
+ $output .= '<'. $item_value4_key .'>';
268
+ }
269
+
270
+ if( is_array($item_value4_value) ) {
271
+ foreach( $item_value4_value as $item_value5_key => $item_value5_value ) {
272
+ if( is_array($item_value5_value) ) {
273
+ if( is_int($item_value5_key) ) {
274
+ $output .= '</'. key($item_value3_value) .'>';
275
+ $output .= '<'. key($item_value3_value) .'>';
276
+ }else {
277
+ $output .= '<'. $item_value5_key .'>';
278
+ }
279
+ }else {
280
+ $output .= '<'. $item_value5_key .'>';
281
+ }
282
+
283
+ //test end
284
+ if( is_array($item_value5_value) ) {
285
+ if( is_int($item_value5_key) ) {
286
+ $output .= '</'. key($item_value3_value) .'>';
287
+ }else {
288
+ $output .= '</'. $item_value5_key .'>';
289
+ }
290
+ }else {
291
+ $output .= '</'. $item_value5_key .'>';
292
+ }
293
+ }
294
+ }else {
295
+ $output .= $item_value4_value;
296
+ }
297
+
298
+ if( is_array($item_value4_value) ) {
299
+ if( is_int($item_value4_key) ) {
300
+ $output .= '</'. key($item_value2) .'>';
301
+ }else {
302
+ $output .= '</'. $item_value4_key .'>';
303
+ }
304
+ }else {
305
+ $output .= '</'. $item_value4_key .'>';
306
+ }
307
+ }
308
+ }else {
309
+ $output .= $item_value3_value;
310
+ }
311
+ if( is_array($item_value3_value) ) {
312
+ if( is_int($item_value3_key) ) {
313
+ $output .= '</'. key($item_value2) .'>';
314
+ }else {
315
+ $output .= '</'. $item_value3_key .'>';
316
+ }
317
+ }else {
318
+ $output .= '</'. $item_value3_key .'>';
319
+ }
320
+ }
321
+ }else {
322
+ $output .= $item_value2;
323
+ }
324
+ if( is_array($item_value2) ) {
325
+ if( is_int($item_value2_key) ) {
326
+ $output .= '</'. key($item_value) .'>';
327
+ }else {
328
+ $output .= '</'. $item_value2_key .'>';
329
+ }
330
+ }else {
331
+ $output .= '</'. $item_value2_key .'>';
332
+ }
333
+ }
334
+ }else {
335
+ $output .= $item_value;
336
+ }
337
+ if( is_array($item_value) ) {
338
+ if( is_int($item_key) ) {
339
+ $output .= '</'. key($value) .'>';
340
+ }else {
341
+ $output .= '</'. $item_key .'>';
342
+ }
343
+ }else {
344
+ $output .= '</'. $item_key .'>';
345
+ }
346
+ }
347
+ }
348
+ $output .= '</review>';
349
+ }
350
+ }
351
+
352
+ return $output;
353
+ }
354
+
355
+ /**
356
+ * Short Products
357
+ * @return array
358
+ */
359
+ public function short_products() {
360
+ if ( $this->products ) {
361
+ update_option( 'wpf_progress', esc_html__('Shorting Products', 'woo-feed' ), false );
362
+ sleep( 1 );
363
+ $array = array();
364
+ $ij = 0;
365
+ foreach ( $this->products as $key => $item ) {
366
+ $array[ $ij ] = $item;
367
+ unset( $this->products[ $key ] );
368
+ $ij ++;
369
+ }
370
+
371
+ return $this->products = $array;
372
+ }
373
+
374
+ return $this->products;
375
+ }
376
+ }
includes/feeds/merchant_infos.php CHANGED
@@ -35,7 +35,7 @@ return array(
35
  'link' => 'https://support.google.com/merchants/answer/3061342?hl=en',
36
  'feed_file_type' => array( 'XML', 'CSV', 'TSV', 'XLS', 'TXT' ),
37
  ),
38
- 'google_product_review' => array(
39
  'link' => 'https://developers.google.com/product-review-feeds/sample',
40
  'feed_file_type' => array( 'XML' ),
41
  ),
35
  'link' => 'https://support.google.com/merchants/answer/3061342?hl=en',
36
  'feed_file_type' => array( 'XML', 'CSV', 'TSV', 'XLS', 'TXT' ),
37
  ),
38
+ 'googlereview' => array(
39
  'link' => 'https://developers.google.com/product-review-feeds/sample',
40
  'feed_file_type' => array( 'XML' ),
41
  ),
includes/feeds/merchant_templates.php CHANGED
@@ -2980,6 +2980,7 @@ return array(
2980
  'Cash in advance',
2981
  'Unit price',
2982
  'Energy efficiency rating',
 
2983
  ),
2984
  'prefix' => array(
2985
  '',
@@ -2999,6 +3000,7 @@ return array(
2999
  '',
3000
  '',
3001
  '',
 
3002
  ),
3003
  'type' => array(
3004
  'attribute',
@@ -3007,6 +3009,7 @@ return array(
3007
  'attribute',
3008
  'attribute',
3009
  'attribute',
 
3010
  'attribute',
3011
  'attribute',
3012
  'attribute',
@@ -3017,7 +3020,7 @@ return array(
3017
  'attribute',
3018
  'attribute',
3019
  'attribute',
3020
- 'attribute',
3021
  ),
3022
  'attributes' => array(
3023
  '',
@@ -3037,6 +3040,7 @@ return array(
3037
  '',
3038
  '',
3039
  '',
 
3040
  ),
3041
  'default' => array(
3042
  '',
@@ -3045,6 +3049,7 @@ return array(
3045
  '',
3046
  '',
3047
  '',
 
3048
  '',
3049
  '',
3050
  '',
@@ -3075,6 +3080,7 @@ return array(
3075
  '',
3076
  '',
3077
  '',
 
3078
  ),
3079
  'output_type' => array(
3080
  '1',
@@ -3094,6 +3100,7 @@ return array(
3094
  '1',
3095
  '1',
3096
  '1',
 
3097
  ),
3098
  'limit' => array(
3099
  '',
@@ -3113,6 +3120,7 @@ return array(
3113
  '',
3114
  '',
3115
  '',
 
3116
  ),
3117
  ),
3118
  'pricespy' => array(
@@ -7675,5 +7683,15 @@ return array(
7675
  'output_type' => array ('1', '1', '2', '1', '1', '6', '1', '1', '1',),
7676
  'limit' => array ('', '', '', '', '', '', '', '', '',),
7677
  ),
 
 
 
 
 
 
 
 
 
 
7678
  );
7679
  // End of file merchant_templates.php
2980
  'Cash in advance',
2981
  'Unit price',
2982
  'Energy efficiency rating',
2983
+ 'Shipping cost comment',
2984
  ),
2985
  'prefix' => array(
2986
  '',
3000
  '',
3001
  '',
3002
  '',
3003
+ '',
3004
  ),
3005
  'type' => array(
3006
  'attribute',
3009
  'attribute',
3010
  'attribute',
3011
  'attribute',
3012
+ 'pattern',
3013
  'attribute',
3014
  'attribute',
3015
  'attribute',
3020
  'attribute',
3021
  'attribute',
3022
  'attribute',
3023
+ 'pattern',
3024
  ),
3025
  'attributes' => array(
3026
  '',
3040
  '',
3041
  '',
3042
  '',
3043
+ '',
3044
  ),
3045
  'default' => array(
3046
  '',
3049
  '',
3050
  '',
3051
  '',
3052
+ '1-3 working days',
3053
  '',
3054
  '',
3055
  '',
3080
  '',
3081
  '',
3082
  '',
3083
+ '',
3084
  ),
3085
  'output_type' => array(
3086
  '1',
3100
  '1',
3101
  '1',
3102
  '1',
3103
+ '1',
3104
  ),
3105
  'limit' => array(
3106
  '',
3120
  '',
3121
  '',
3122
  '',
3123
+ '',
3124
  ),
3125
  ),
3126
  'pricespy' => array(
7683
  'output_type' => array ('1', '1', '2', '1', '1', '6', '1', '1', '1',),
7684
  'limit' => array ('', '', '', '', '', '', '', '', '',),
7685
  ),
7686
+ 'googlereview' => array(
7687
+ 'mattributes' => array('product_name','product_url','review_temp_gtin','review_temp_mpn','review_temp_sku','review_temp_brand',),
7688
+ 'prefix' => array('','','','','','',),
7689
+ 'type' => array('attribute','attribute','pattern','pattern','pattern','pattern',),
7690
+ 'attributes' => array('title','link','','','','',),
7691
+ 'default' => array('','','','','','',),
7692
+ 'suffix' => array('','','','','','',),
7693
+ 'output_type' => array('1','1','1','1','1','1',),
7694
+ 'limit' => array('','','','','','',),
7695
+ ),
7696
  );
7697
  // End of file merchant_templates.php
includes/helper.php CHANGED
@@ -379,7 +379,9 @@ if ( ! function_exists( 'woo_feed_get_merchant_class' ) ) {
379
  function woo_feed_get_merchant_class( $provider ) {
380
  if ( in_array( $provider, [ 'google', 'google_shopping_action', 'google_local', 'google_local_inventory', 'adroll', 'smartly.io' ], true ) ) {
381
  return 'Woo_Feed_Google';
382
- } elseif ( 'pinterest' === $provider ) {
 
 
383
  return 'Woo_Feed_Pinterest';
384
  } elseif ( 'facebook' === $provider ) {
385
  return 'Woo_Feed_Facebook';
@@ -2859,6 +2861,82 @@ if ( ! function_exists('woo_feed_get_terms_list_hierarchical_order') ) {
2859
  }
2860
  }
2861
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2862
 
2863
  if( ! function_exists('woo_feed_get_system_status') ) {
2864
  /**
379
  function woo_feed_get_merchant_class( $provider ) {
380
  if ( in_array( $provider, [ 'google', 'google_shopping_action', 'google_local', 'google_local_inventory', 'adroll', 'smartly.io' ], true ) ) {
381
  return 'Woo_Feed_Google';
382
+ } elseif ( 'googlereview' === $provider ) {
383
+ return 'Woo_Feed_Review';
384
+ } elseif ( 'pinterest' === $provider ) {
385
  return 'Woo_Feed_Pinterest';
386
  } elseif ( 'facebook' === $provider ) {
387
  return 'Woo_Feed_Facebook';
2861
  }
2862
  }
2863
 
2864
+ if( ! function_exists( 'woo_feed_get_products_ids_of_reviews' ) ) {
2865
+ /**
2866
+ * Get reviews product ids .
2867
+ *
2868
+ * @return array $review_products_ids // review products ids
2869
+ * @since 4.0.5
2870
+ */
2871
+ function woo_feed_get_products_ids_of_reviews() {
2872
+ $args = array('post_type' => 'product');
2873
+ $reviews = get_comments($args);
2874
+ $review_products_ids = wp_list_pluck($reviews, 'comment_post_ID');
2875
+
2876
+
2877
+ return !empty($review_products_ids) && is_array($review_products_ids) ? array_unique($review_products_ids) : array();
2878
+
2879
+ }
2880
+ }
2881
+
2882
+ if ( ! function_exists( 'woo_feed_get_approved_reviews_data' ) ) {
2883
+ /**
2884
+ * Get approved review's data.
2885
+ *
2886
+ * @since 4.3.0
2887
+ * @return mixed
2888
+ */
2889
+ function woo_feed_get_approved_reviews_data() {
2890
+ $approved_reviews = [];
2891
+ $product_ids = woo_feed_get_products_ids_of_reviews();
2892
+
2893
+ if( !empty($product_ids) && is_array($product_ids) ) {
2894
+
2895
+ foreach( $product_ids as $product_id ) {
2896
+ $reviews = get_comments(array(
2897
+ 'post_id' => $product_id,
2898
+ 'comment_type' => 'review',
2899
+ 'comment_approved' => 1,
2900
+ 'parent' => 0,
2901
+ ));
2902
+
2903
+ $product_name = get_the_title( $product_id );
2904
+ $product_link = get_the_permalink( $product_id );
2905
+
2906
+ if( is_array($reviews) && sizeof($reviews) > 0 ) {
2907
+ foreach($reviews as $item) {
2908
+ $review = array();
2909
+ $review['review_ratings'] = get_comment_meta( $item->comment_ID, 'rating', true);
2910
+ $review['review_id'] = $item->comment_ID;
2911
+ $review['reviewer']['name'] = strip_tags(trim(ucfirst($item->comment_author)));
2912
+ $review['reviewer']['reviewer_id'] = $item->user_id;
2913
+ $review['review_timestamp'] = $item->comment_date;
2914
+ $review['review_product_name'] = $product_name;
2915
+ $review['review_url'] = $product_link;
2916
+ $review['review_product_url'] = $product_link;
2917
+ $review['title'] = $product_name;
2918
+ $review['content'] = $item->comment_content;
2919
+
2920
+ //product ids
2921
+ $review['products']['product']['product_ids']['gtins']['gtin'] = '';
2922
+ $review['products']['product']['product_ids']['mpns']['mpn'] = '';
2923
+ $review['products']['product']['product_ids']['skus']['sku'] = '';
2924
+ $review['products']['product']['product_ids']['brands']['brand'] = '';
2925
+ $review['products']['product']['product_name'] = $product_name;
2926
+ $review['products']['product']['product_url'] = $product_link;
2927
+ array_push($approved_reviews, $review);
2928
+ }
2929
+
2930
+ }
2931
+ }
2932
+
2933
+ }
2934
+
2935
+ return $approved_reviews;
2936
+
2937
+ }
2938
+ }
2939
+
2940
 
2941
  if( ! function_exists('woo_feed_get_system_status') ) {
2942
  /**
woo-feed.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: WooCommerce Product Feed
11
  * Plugin URI: https://webappick.com/
12
  * Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
13
- * Version: 4.3.1
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
@@ -38,7 +38,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
38
  * @var string
39
  * @since 3.1.6
40
  */
41
- define( 'WOO_FEED_FREE_VERSION', '4.3.1' );
42
  }
43
 
44
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
@@ -397,17 +397,24 @@ if ( ! function_exists( 'woo_feed_save_feed_file' ) ) {
397
  if ( ! $feedFooter ) {
398
  woo_feed_log_feed_process( $info['filename'], 'Unable to Get Footer Chunk' );
399
  }
400
-
401
- if ( 'csv' === $type || 'tsv' === $type || 'xls' === $type ) {
402
- $csvHead[0] = $feedHeader;
403
- if ( ! empty( $csvHead ) && ! empty( $feedBody ) ) {
404
- $string = array_merge( $csvHead, $feedBody );
405
- } else {
406
- $string = array();
407
- }
408
- } else {
409
- $string = $feedHeader . $feedBody . $feedFooter;
410
- }
 
 
 
 
 
 
 
411
 
412
  $upload_dir = wp_get_upload_dir();
413
  $path = $upload_dir['basedir'] . '/woo-feed/' . $feedService . '/' . $type;
@@ -945,4 +952,5 @@ if ( ! class_exists('webappick_suggest_plugin') ) {
945
 
946
 
947
  // End of file woo-feed.php
 
948
 
10
  * Plugin Name: WooCommerce Product Feed
11
  * Plugin URI: https://webappick.com/
12
  * Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
13
+ * Version: 4.3.2
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
38
  * @var string
39
  * @since 3.1.6
40
  */
41
+ define( 'WOO_FEED_FREE_VERSION', '4.3.2' );
42
  }
43
 
44
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
397
  if ( ! $feedFooter ) {
398
  woo_feed_log_feed_process( $info['filename'], 'Unable to Get Footer Chunk' );
399
  }
400
+
401
+ //make file xml string
402
+ if( isset($info['provider']) && 'googlereview' === $info['provider'] ) {
403
+ //review template xml string
404
+ $string = $feedHeader . $feedBody . $feedFooter;
405
+
406
+ }else {
407
+ if ( 'csv' === $type || 'tsv' === $type || 'xls' === $type ) {
408
+ $csvHead[0] = $feedHeader;
409
+ if ( ! empty( $csvHead ) && ! empty( $feedBody ) ) {
410
+ $string = array_merge( $csvHead, $feedBody );
411
+ } else {
412
+ $string = array();
413
+ }
414
+ } else {
415
+ $string = $feedHeader . $feedBody . $feedFooter;
416
+ }
417
+ }
418
 
419
  $upload_dir = wp_get_upload_dir();
420
  $path = $upload_dir['basedir'] . '/woo-feed/' . $feedService . '/' . $type;
952
 
953
 
954
  // End of file woo-feed.php
955
+ // started git flow
956