Dokan – Best WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy - Version 3.7.2

Version Description

Download this release

Release Info

Developer tareq1988
Plugin Icon wp plugin Dokan – Best WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy
Version 3.7.2
Comparing to
See all releases

Code changes from version 3.7.1 to 3.7.2

Files changed (41) hide show
  1. assets/css/dokan-admin-product.css +14 -0
  2. assets/css/dokan-admin-product.css.map +1 -0
  3. assets/js/dokan-admin-product.js +78 -0
  4. assets/js/dokan-admin-product.min.js +1 -0
  5. assets/js/dokan.js +17 -3
  6. assets/js/helper.js +49 -10
  7. assets/js/vendor-registration.js +2 -1
  8. assets/js/vue-admin.js +32 -1
  9. assets/js/vue-admin.min.js +1 -1
  10. assets/js/vue-vendor.js +1 -1
  11. assets/js/vue-vendor.min.js +1 -1
  12. assets/vendors/jquery-ui/timepicker/timepicker.min.js +5 -0
  13. assets/vendors/minitoggle/minitoggle.css +45 -0
  14. assets/vendors/minitoggle/minitoggle.js +37 -0
  15. dokan.php +3 -3
  16. includes/Admin/Hooks.php +64 -19
  17. includes/Admin/Settings.php +1 -1
  18. includes/Admin/functions.php +28 -2
  19. includes/Assets.php +62 -9
  20. includes/Dashboard/Templates/Settings.php +4 -6
  21. includes/REST/StoreController.php +1 -1
  22. includes/Upgrade/Upgrades/V_3_6_4.php +3 -1
  23. includes/Widgets/ProductCategoryMenu.php +1 -1
  24. includes/functions.php +42 -1
  25. languages/dokan-lite.pot +229 -167
  26. readme.txt +11 -3
  27. templates/admin-setup-wizard/step-store.php +1 -1
  28. templates/my-orders.php +5 -3
  29. templates/orders/listing.php +1 -1
  30. templates/products/inventory.php +1 -1
  31. templates/settings/store-form.php +35 -40
  32. templates/settings/store-time.php +13 -4
  33. templates/store-toc.php +1 -1
  34. templates/sub-orders.php +9 -3
  35. templates/whats-new.php +30 -0
  36. vendor/appsero/client/src/License.php +7 -7
  37. vendor/autoload.php +1 -1
  38. vendor/composer/autoload_real.php +7 -7
  39. vendor/composer/autoload_static.php +4 -4
  40. vendor/composer/installed.json +5 -5
  41. vendor/composer/installed.php +1 -1
assets/css/dokan-admin-product.css ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .dokan_product_author_override__avatar {
2
+ display: inline-block;
3
+ float: left;
4
+ }
5
+ .dokan_product_author_override__avatar img {
6
+ width: 22px;
7
+ height: auto;
8
+ border-radius: 50%;
9
+ border: 1px solid #eaeaea;
10
+ }
11
+ .dokan_product_author_override__title {
12
+ line-height: 1.7;
13
+ padding-left: 28px;
14
+ }
assets/css/dokan-admin-product.css.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["dokan-admin-product.css"],"names":[],"mappings":"AAAA,uCACE,oBAAqB,CACrB,UACF,CACA,2CACE,UAAW,CACX,WAAY,CACZ,iBAAkB,CAClB,wBACF,CACA,sCACE,eAAgB,CAChB,iBACF","file":"dokan-admin-product.css","sourcesContent":[".dokan_product_author_override__avatar {\n display: inline-block;\n float: left;\n}\n.dokan_product_author_override__avatar img {\n width: 22px;\n height: auto;\n border-radius: 50%;\n border: 1px solid #eaeaea;\n}\n.dokan_product_author_override__title {\n line-height: 1.7;\n padding-left: 28px;\n}\n"]}
assets/js/dokan-admin-product.js ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dokanWebpack([7],{
2
+
3
+ /***/ 292:
4
+ /***/ (function(module, exports) {
5
+
6
+ (function ($) {
7
+ var DokanAdminProduct = {
8
+ searchVendors: function searchVendors(element) {
9
+ $(element).each(function () {
10
+ var selector = $(this);
11
+ var attributes = $(selector).data();
12
+ $(selector).selectWoo({
13
+ closeOnSelect: attributes['close_on_select'] ? true : false,
14
+ minimumInputLength: attributes['minimum_input_length'] ? attributes['minimum_input_length'] : '0',
15
+ ajax: {
16
+ url: dokan_admin_product.ajaxurl,
17
+ dataType: 'json',
18
+ delay: 250,
19
+ data: function data(params) {
20
+ return {
21
+ action: attributes['action'],
22
+ _wpnonce: dokan_admin_product.nonce,
23
+ s: params.term
24
+ };
25
+ },
26
+ processResults: function processResults(data, params) {
27
+ params.page = params.page || 1;
28
+ return {
29
+ results: data.data.vendors,
30
+ pagination: {
31
+ more: false // (params.page * 30) < data.total_count
32
+
33
+ }
34
+ };
35
+ },
36
+ cache: false
37
+ },
38
+ language: {
39
+ errorLoading: function errorLoading() {
40
+ return dokan_admin_product.i18n.error_loading;
41
+ },
42
+ searching: function searching() {
43
+ return dokan_admin_product.i18n.searching + '...';
44
+ },
45
+ inputTooShort: function inputTooShort() {
46
+ return dokan_admin_product.i18n.input_too_short + '...';
47
+ }
48
+ },
49
+ escapeMarkup: function escapeMarkup(markup) {
50
+ return markup;
51
+ },
52
+ templateResult: function templateResult(vendor) {
53
+ if (vendor.loading) {
54
+ return vendor.text;
55
+ }
56
+
57
+ var markup = "<div class='dokan_product_author_override-results clearfix'>" + "<div class='dokan_product_author_override__avatar'><img src='" + vendor.avatar + "' /></div>" + "<div class='dokan_product_author_override__title'>" + vendor.text + "</div></div>";
58
+ return markup;
59
+ },
60
+ templateSelection: function templateSelection(vendor) {
61
+ return vendor.text;
62
+ }
63
+ });
64
+ });
65
+ },
66
+ init: function init() {
67
+ dokan_admin.vendor_selectwoo('.dokan_product_author_override');
68
+ }
69
+ };
70
+ $(document).ready(function () {
71
+ window.dokan_admin.vendor_selectwoo = DokanAdminProduct.searchVendors;
72
+ DokanAdminProduct.init();
73
+ });
74
+ })(jQuery);
75
+
76
+ /***/ })
77
+
78
+ },[292]);
assets/js/dokan-admin-product.min.js ADDED
@@ -0,0 +1 @@
 
1
+ dokanWebpack([7],{292:function(n,t){!function(n){var t=function(t){n(t).each(function(){var t=n(this),o=n(t).data();n(t).selectWoo({closeOnSelect:!!o.close_on_select,minimumInputLength:o.minimum_input_length?o.minimum_input_length:"0",ajax:{url:dokan_admin_product.ajaxurl,dataType:"json",delay:250,data:function(n){return{action:o.action,_wpnonce:dokan_admin_product.nonce,s:n.term}},processResults:function(n,t){return t.page=t.page||1,{results:n.data.vendors,pagination:{more:!1}}},cache:!1},language:{errorLoading:function(){return dokan_admin_product.i18n.error_loading},searching:function(){return dokan_admin_product.i18n.searching+"..."},inputTooShort:function(){return dokan_admin_product.i18n.input_too_short+"..."}},escapeMarkup:function(n){return n},templateResult:function(n){return n.loading?n.text:"<div class='dokan_product_author_override-results clearfix'><div class='dokan_product_author_override__avatar'><img src='"+n.avatar+"' /></div><div class='dokan_product_author_override__title'>"+n.text+"</div></div>"},templateSelection:function(n){return n.text}})})},o=function(){dokan_admin.vendor_selectwoo(".dokan_product_author_override")};n(document).ready(function(){window.dokan_admin.vendor_selectwoo=t,o()})}(jQuery)}},[292]);
assets/js/dokan.js CHANGED
@@ -478,11 +478,19 @@ jQuery(function($) {
478
  $( 'td.line_tax', $row ).each( function() {
479
  var line_total_tax = $( 'input.line_tax', $( this ) );
480
  var refund_line_total_tax = $( 'input.refund_line_tax', $( this ) );
481
- var unit_total_tax = accounting.unformat( line_total_tax.attr( 'data-total_tax' ), dokan_refund.mon_decimal_point ) / qty;
 
 
 
482
 
483
  if ( 0 < unit_total_tax ) {
 
 
 
 
 
484
  refund_line_total_tax.val(
485
- parseFloat( accounting.formatNumber( unit_total_tax * refund_qty, dokan_refund.rounding_precision, '' ) )
486
  .toString()
487
  .replace( '.', dokan_refund.mon_decimal_point )
488
  ).trigger( 'change' );
@@ -1132,7 +1140,6 @@ jQuery(function($) {
1132
  $($html).find('.dokan-product-attribute-heading').css({ borderBottom: '1px solid #e3e3e3' });
1133
 
1134
  attributeWrapper.append( $html );
1135
- $( 'select#product_type' ).trigger('change');
1136
  Dokan_Editor.loadSelect2();
1137
  Dokan_Editor.bindProductTagDropdown();
1138
  Dokan_Editor.attribute.reArrangeAttribute();
@@ -1156,6 +1163,9 @@ jQuery(function($) {
1156
  attrWrap.find( 'option[value="' + attribute + '"]' ).attr( 'disabled','disabled' );
1157
  attrWrap.val( '' );
1158
  }
 
 
 
1159
  });
1160
  },
1161
 
@@ -1270,6 +1280,10 @@ jQuery(function($) {
1270
  } else {
1271
  $('.show_if_stock').slideUp('fast');
1272
  }
 
 
 
 
1273
  },
1274
 
1275
  gallery: {
478
  $( 'td.line_tax', $row ).each( function() {
479
  var line_total_tax = $( 'input.line_tax', $( this ) );
480
  var refund_line_total_tax = $( 'input.refund_line_tax', $( this ) );
481
+ var unit_total_tax = accounting.unformat(
482
+ line_total_tax.attr( 'data-total_tax' ),
483
+ dokan_refund.mon_decimal_point
484
+ ) / qty;
485
 
486
  if ( 0 < unit_total_tax ) {
487
+ var round_at_subtotal = 'yes' === dokan_refund.round_at_subtotal;
488
+ var precision = dokan_refund[
489
+ round_at_subtotal ? 'rounding_precision' : 'currency_format_num_decimals'
490
+ ];
491
+
492
  refund_line_total_tax.val(
493
+ parseFloat( accounting.formatNumber( unit_total_tax * refund_qty, precision, '' ) )
494
  .toString()
495
  .replace( '.', dokan_refund.mon_decimal_point )
496
  ).trigger( 'change' );
1140
  $($html).find('.dokan-product-attribute-heading').css({ borderBottom: '1px solid #e3e3e3' });
1141
 
1142
  attributeWrapper.append( $html );
 
1143
  Dokan_Editor.loadSelect2();
1144
  Dokan_Editor.bindProductTagDropdown();
1145
  Dokan_Editor.attribute.reArrangeAttribute();
1163
  attrWrap.find( 'option[value="' + attribute + '"]' ).attr( 'disabled','disabled' );
1164
  attrWrap.val( '' );
1165
  }
1166
+ })
1167
+ .done(function() {
1168
+ $( 'select#product_type' ).trigger('change');
1169
  });
1170
  },
1171
 
1280
  } else {
1281
  $('.show_if_stock').slideUp('fast');
1282
  }
1283
+
1284
+ if ( 'simple' === product_type ) {
1285
+ $(this).is(':checked') ? $('.hide_if_stock_global').slideUp('fast') : $('.hide_if_stock_global').slideDown('fast');
1286
+ }
1287
  },
1288
 
1289
  gallery: {
assets/js/helper.js CHANGED
@@ -50,7 +50,7 @@ function dokan_get_i18n_date_format( format = true ) {
50
  *
51
  * @return {string} Return a specific time format
52
  */
53
- function dokan_get_i18n_time_format( format = true ) {
54
  if ( ! format ) {
55
  return dokan_helper.i18n_time_format;
56
  }
@@ -86,6 +86,13 @@ function dokan_get_i18n_date_format( format = true ) {
86
  timeFormat = '';
87
 
88
  for ( i = 0; i < dokan_helper.i18n_time_format.length; i++ ) {
 
 
 
 
 
 
 
89
  char = dokan_helper.i18n_time_format[ i ];
90
 
91
  if ( char in replacements ) {
@@ -108,14 +115,23 @@ function dokan_get_i18n_date_format( format = true ) {
108
  *
109
  * @return {string} Return formatted time.
110
  */
111
- function dokan_get_formatted_time( time, format ) {
112
- const times = new Date( Date.parse( `Jan 1 ${time}` ) ), // We used this dummy date for getting time info.
 
 
 
 
 
 
113
  add0 = function( t ) { return t < 10 ? '0' + t : t; },
114
- hours = times.getHours(),
115
- minutes = times.getMinutes(),
116
- seconds = times.getSeconds(),
117
  sampm = hours >= 12 ? 'pm' : 'am',
118
  campm = hours >= 12 ? 'PM' : 'AM',
 
 
 
119
  convertTime = ( time ) => {
120
  // Check correct time format and split into components
121
  time = time.toString().match(/^([01]\d|2[0-3])(:)([0-5]\d)(:[0-5]\d)?$/) || [time];
@@ -127,7 +143,7 @@ function dokan_get_formatted_time( time, format ) {
127
 
128
  return time[0];
129
  },
130
- hour12 = convertTime (`${add0( hours )}:${add0( minutes )}`),
131
  replaceMent = {
132
  'hh' : add0( hour12 ),
133
  'h' : hour12,
@@ -145,11 +161,34 @@ function dokan_get_formatted_time( time, format ) {
145
  'a' : sampm,
146
  };
147
 
148
- for ( let key in replaceMent ) {
149
- format = format.replace( key, replaceMent[ key ] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
  }
151
 
152
- return format;
 
 
153
  }
154
 
155
  /**
50
  *
51
  * @return {string} Return a specific time format
52
  */
53
+ function dokan_get_i18n_time_format( format = true ) {
54
  if ( ! format ) {
55
  return dokan_helper.i18n_time_format;
56
  }
86
  timeFormat = '';
87
 
88
  for ( i = 0; i < dokan_helper.i18n_time_format.length; i++ ) {
89
+ if ( '\\' === dokan_helper.i18n_time_format[ i ] ) {
90
+ timeFormat += dokan_helper.i18n_time_format[ i ];
91
+ i++;
92
+ timeFormat += dokan_helper.i18n_time_format[ i ];
93
+ continue;
94
+ }
95
+
96
  char = dokan_helper.i18n_time_format[ i ];
97
 
98
  if ( char in replacements ) {
115
  *
116
  * @return {string} Return formatted time.
117
  */
118
+ function dokan_get_formatted_time( time_string, output_format, input_format = dokan_get_i18n_time_format() ) {
119
+ const length = output_format.length;
120
+ // return if no length is provided
121
+ if ( length <= 0 ) {
122
+ return '';
123
+ }
124
+
125
+ const times = moment( time_string, input_format ).toDate(), // We used this date for getting time info.
126
  add0 = function( t ) { return t < 10 ? '0' + t : t; },
127
+ hours = String( times.getHours() ),
128
+ minutes = String( times.getMinutes() ),
129
+ seconds = String( times.getSeconds() ),
130
  sampm = hours >= 12 ? 'pm' : 'am',
131
  campm = hours >= 12 ? 'PM' : 'AM',
132
+ checkFormat = ( formats, format ) => {
133
+ return formats[format] ? formats[format] : format;
134
+ }
135
  convertTime = ( time ) => {
136
  // Check correct time format and split into components
137
  time = time.toString().match(/^([01]\d|2[0-3])(:)([0-5]\d)(:[0-5]\d)?$/) || [time];
143
 
144
  return time[0];
145
  },
146
+ hour12 = convertTime (`${add0( hours )}:${add0( minutes )}`),
147
  replaceMent = {
148
  'hh' : add0( hour12 ),
149
  'h' : hour12,
161
  'a' : sampm,
162
  };
163
 
164
+ let formatted_string = '',
165
+ temp_string = '',
166
+ current_string = '';
167
+
168
+ for ( let i = 0; i < length; i++ ) {
169
+ // get current string
170
+ current_string = output_format[i];
171
+
172
+ if ( '\\' === current_string ) {
173
+ if ( temp_string.length > 0 ) {
174
+ formatted_string += checkFormat( replaceMent, temp_string );
175
+ temp_string = '';
176
+ }
177
+ i++;
178
+ formatted_string += output_format[i];
179
+ } else if ( temp_string.length === 0 ) {
180
+ temp_string = current_string;
181
+ } else if ( temp_string !== current_string ) {
182
+ formatted_string += checkFormat( replaceMent, temp_string );
183
+ temp_string = current_string;
184
+ } else if ( temp_string === current_string ) {
185
+ temp_string += current_string;
186
+ }
187
  }
188
 
189
+ formatted_string += temp_string.length ? checkFormat( replaceMent, temp_string ) : '';
190
+
191
+ return formatted_string;
192
  }
193
 
194
  /**
assets/js/vendor-registration.js CHANGED
@@ -173,7 +173,8 @@ var Dokan_Vendor_Registration = {
173
 
174
  // boot the class onReady
175
  $(function() {
176
- Dokan_Vendor_Registration.init();
 
177
 
178
  $('.show_if_seller').find( 'input, select' ).attr( 'disabled', 'disabled' );
179
 
173
 
174
  // boot the class onReady
175
  $(function() {
176
+ window.Dokan_Vendor_Registration = Dokan_Vendor_Registration;
177
+ window.Dokan_Vendor_Registration.init();
178
 
179
  $('.show_if_seller').find( 'input, select' ).attr( 'disabled', 'disabled' );
180
 
assets/js/vue-admin.js CHANGED
@@ -7388,6 +7388,13 @@ var RefreshSettingOptions = dokan_get_lib('RefreshSettingOptions');
7388
  //
7389
  //
7390
  //
 
 
 
 
 
 
 
7391
 
7392
 
7393
  var ListTable = dokan_get_lib('ListTable');
@@ -7458,7 +7465,8 @@ var AdminNotice = dokan_get_lib('AdminNotice');
7458
  vendors: [],
7459
  loadAddVendor: false,
7460
  dokanVendorHeaderArea: dokan.hooks.applyFilters('getDokanVendorHeaderArea', []),
7461
- isVendorSwitchingEnabled: false
 
7462
  };
7463
  },
7464
  watch: {
@@ -7525,6 +7533,13 @@ var AdminNotice = dokan_get_lib('AdminNotice');
7525
  addNew: function addNew() {
7526
  this.loadAddVendor = true;
7527
  },
 
 
 
 
 
 
 
7528
  doSearch: function doSearch(payload) {
7529
  var _this2 = this;
7530
 
@@ -7564,6 +7579,7 @@ var AdminNotice = dokan_get_lib('AdminNotice');
7564
  order: self.sortOrder,
7565
  store_category: self.storeCategory
7566
  };
 
7567
  dokan.api.get('/stores', data).done(function (response, status, xhr) {
7568
  self.vendors = response;
7569
  self.loading = false;
@@ -17031,6 +17047,21 @@ var render = function() {
17031
  )
17032
  })
17033
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17034
  }
17035
  ])
17036
  }),
7388
  //
7389
  //
7390
  //
7391
+ //
7392
+ //
7393
+ //
7394
+ //
7395
+ //
7396
+ //
7397
+ //
7398
 
7399
 
7400
  var ListTable = dokan_get_lib('ListTable');
7465
  vendors: [],
7466
  loadAddVendor: false,
7467
  dokanVendorHeaderArea: dokan.hooks.applyFilters('getDokanVendorHeaderArea', []),
7468
+ isVendorSwitchingEnabled: false,
7469
+ dokanVendorFilterSectionStart: dokan.hooks.applyFilters('dokanVendorFilterSectionStart', [])
7470
  };
7471
  },
7472
  watch: {
7533
  addNew: function addNew() {
7534
  this.loadAddVendor = true;
7535
  },
7536
+ updateVendorComponent: function updateVendorComponent() {
7537
+ var rerender = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
7538
+
7539
+ if (rerender) {
7540
+ this.fetchVendors();
7541
+ }
7542
+ },
7543
  doSearch: function doSearch(payload) {
7544
  var _this2 = this;
7545
 
7579
  order: self.sortOrder,
7580
  store_category: self.storeCategory
7581
  };
7582
+ data = dokan.hooks.applyFilters('DokanGetVendorArgs', data, this.$route.query);
7583
  dokan.api.get('/stores', data).done(function (response, status, xhr) {
7584
  self.vendors = response;
7585
  self.loading = false;
17047
  )
17048
  })
17049
  }
17050
+ },
17051
+ {
17052
+ key: "filters",
17053
+ fn: function(data) {
17054
+ return _vm._l(_vm.dokanVendorFilterSectionStart, function(
17055
+ dokanVendorFilterSection,
17056
+ index
17057
+ ) {
17058
+ return _c(dokanVendorFilterSection, {
17059
+ key: index,
17060
+ tag: "component",
17061
+ on: { updateVendorComponent: _vm.updateVendorComponent }
17062
+ })
17063
+ })
17064
+ }
17065
  }
17066
  ])
17067
  }),
assets/js/vue-admin.min.js CHANGED
@@ -1 +1 @@
1
- dokanWebpack([0],[,function(e,t){e.exports=jQuery},function(e,t,a){"use strict";var s=a(11),n=a(32),i=!1;var o=function(e){i||a(31)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Switches.vue",t.a=r.exports},,function(e,t,a){"use strict";var s=a(54),n=a(135),i=!1;var o=function(e){i||a(134)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UpgradeBanner.vue",t.a=r.exports},,,,function(e,t,a){"use strict";var s=a(18);a(26);t.a={extends:s.Line,props:["data"],data:function(){return{options:{responsive:!0,maintainAspectRatio:!0,scales:{x:{type:"time",title:{display:!1},gridLines:{display:!1},ticks:{fontColor:"#aaa",fontSize:11}},y:{title:{display:!1},ticks:{fontColor:"#aaa"}}},legend:{position:"top",onClick:!1},elements:{line:{tension:0,borderWidth:4},point:{radius:5,borderWidth:3,backgroundColor:"#fff",borderColor:"#fff"}},tooltips:{displayColors:!1,callbacks:{label:function(e,t){var a=t.datasets[e.datasetIndex].label||"",s=t.datasets[e.datasetIndex].tooltipLabel||"",n=t.datasets[e.datasetIndex].tooltipPrefix||"",i=s?s+": ":a+": ";return i+=n+e.yLabel}}}}}},mounted:function(){this.renderChart(this.data,this.options)}}},,function(e,t,a){"use strict";var s=a(65);t.a={components:{Sketch:s.a},props:{value:{type:String,default:"",required:!0},format:{type:String,required:!1,default:"hex",validator:function(e){return-1!==["hsl","hex","rgba","hsv"].indexOf(e)}},presetColors:{type:Array,required:!1,default:function(){return["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]}},disableAlpha:{type:Boolean,default:!0,required:!1},disableFields:{type:Boolean,default:!0,required:!1},customData:{type:Object,required:!0},itemKey:{type:String,required:!0}},data:function(){return{isPicked:!1,prevColor:"",showColorPicker:!1,selectedColor:""}},watch:{customData:{handler:function(){this.showColorPicker=this.customData.show_pallete,this.showColorPicker||this.updateColor({hex:this.prevColor})},deep:!0}},methods:{updateColor:function(e){var t="";e[this.format]&&(t=e[this.format],this.selectedColor=t),this.$emit("input",t),this.$emit("custom-change",t)},toggleColorPicker:function(){this.prevColor=this.value;var e={key:this.itemKey,values:this.customData};this.isPicked||this.updateColor({hex:this.prevColor}),this.$emit("toggleColorPicker",e)},setLastColor:function(e){var t={key:this.itemKey,values:this.customData};this.updateColor({hex:e}),this.$emit("toggleColorPicker",t)},setHexColor:function(e){this.updateColor({hex:e})}}}},function(e,t,a){"use strict";t.a={name:"Switches",props:{enabled:{type:Boolean,required:!0,default:!1},value:{type:[String,Number]}},data:function(){return{}},methods:{trigger:function(e){this.$emit("input",e.target.checked,e.target.value)}}}},function(e,t,a){"use strict";var s=a(5),n=(a.n(s),a(2)),i=a(22),o=a(23);t.a={name:"VendorAccountFields",components:{Switches:n.a,UploadImage:i.a,PasswordGenerator:o.a},props:{vendorInfo:{type:Object},errors:{type:Array,required:!1}},data:function(){return{showStoreUrl:!0,showPassword:!1,otherStoreUrl:null,banner:"",defaultUrl:dokan.urls.siteUrl+dokan.urls.storePrefix+"/",showButton:!0,placeholderData:"",delay:500,storeAvailable:null,userNameAvailable:null,emailAvailable:null,storeAvailabilityText:"",userNameAvailabilityText:"",emailAvailabilityText:"",getAccountFields:dokan.hooks.applyFilters("getVendorAccountFields",[])}},watch:{"vendorInfo.store_name":function(e){this.showStoreUrl=!0},"vendorInfo.user_nicename":function(e){void 0!==e&&(this.showStoreUrl=!1,this.otherStoreUrl=this.defaultUrl+e.trim().split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-"),this.vendorInfo.user_nicename=e.split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-"),this.checkStoreName())},"vendorInfo.user_login":function(e){this.checkUsername()},"vendorInfo.email":function(e){this.checkEmail()}},computed:{storeUrl:function(){var e=this.vendorInfo.store_name.trim().split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-");return this.vendorInfo.user_nicename=e,this.otherStoreUrl=this.defaultUrl+e,this.defaultUrl+e}},created:function(){var e=this;this.checkStoreName=Object(s.debounce)(this.checkStore,this.delay),this.checkUsername=Object(s.debounce)(this.searchUsername,this.delay),this.checkEmail=Object(s.debounce)(this.searchEmail,this.delay),this.$root.$on("passwordCancelled",function(){e.showPassword=!1})},methods:{uploadBanner:function(e){this.vendorInfo.banner_id=e.id,this.showButton=!1},uploadGravatar:function(e){this.vendorInfo.gravatar_id=e.id},getId:function(){return this.$route.params.id},onSelectBanner:function(e){this.banner=e.url,this.vendorInfo.banner_id=e.id},getError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},checkStore:function(){var e=this,t=this.vendorInfo.user_nicename;t&&(this.storeAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{store_slug:t}).then(function(t){t.available?(e.storeAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Available","dokan-lite")):(e.storeAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchUsername:function(){var e=this,t=this.vendorInfo.user_login;t&&(this.userNameAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{username:t}).then(function(t){t.available?(e.userNameAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Available","dokan-lite")):(e.userNameAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchEmail:function(){var e=this,t=this.vendorInfo.email;t&&(this.emailAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{email:t}).then(function(t){t.available?(e.emailAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=e.__("Available","dokan-lite")):(e.emailAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=t.message?t.message:e.__("This email is already registered, please choose another one.","dokan-lite"))}))},setPassword:function(e){this.showPassword=!0,this.vendorInfo.user_pass=e},sendEmail:function(e,t){"notify_vendor"===t&&(this.vendorInfo.notify_vendor=e)},getUploadBannerText:function(){var e=dokan.store_banner_dimension.width,t=dokan.store_banner_dimension.height;return this.__("Upload banner for your store. Banner size is (".concat(e,"x").concat(t,") pixels."),"dokan-lite")}}}},function(e,t,a){"use strict";t.a={name:"UploadImage",inheritAttrs:!1,props:{src:{default:dokan.urls.assetsUrl+"/images/store-pic.png"},showButton:{type:Boolean,default:!1},buttonLabel:{type:String,default:"Upload Image"},croppingWidth:{type:Number},croppingHeight:{type:Number}},data:function(){return{image:{src:"",id:""}}},methods:{uploadImage:function(){this.openMediaManager(this.onSelectImage)},onSelectImage:function(e){this.image.src=e.url,this.image.id=e.id,this.$emit("uploadedImage",this.image)},openMediaManager:function(e){var t=this;if(t.fileFrame)t.fileFrame.open();else{var a={library:wp.media.query(),multiple:!1,title:this.__("Select & Crop Image","dokan-lite"),priority:20,filterable:"uploaded",autoSelect:!0,suggestedWidth:500,suggestedHeight:300},s={id:"control-id",params:{width:this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),height:this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),flex_width:!!parseInt(dokan.store_banner_dimension["flex-width"],10),flex_height:!!parseInt(dokan.store_banner_dimension["flex-height"],10)},mustBeCropped:function(e,t,a,s,n,i){return(!0!==e||!0!==t)&&((!0!==e||s!==i)&&((!0!==t||a!==n)&&((a!==n||s!==i)&&!(n<=a))))}},n=[new wp.media.controller.Library(a),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:t.calculateImageSelectOptions,control:s})],i={title:this.__("Select Image","dokan-lite"),button:{text:this.__("Select Image","dokan-lite"),close:!1},multiple:!1};i.states=n,t.fileFrame=wp.media(i),t.fileFrame.on("select",function(){t.fileFrame.setState("cropper")}),t.fileFrame.on("cropped",function(a){e(a),t.fileFrame=null}),t.fileFrame.on("skippedcrop",function(){var a=t.fileFrame.state().get("selection").map(function(e){return e.toJSON()}).pop();e(a),t.fileFrame=null}),t.fileFrame.on("close",function(){t.fileFrame=null}),t.fileFrame.on("ready",function(){t.fileFrame.uploader.options.uploader.params={type:"dokan-vendor-option-media"}}),t.fileFrame.open()}},calculateImageSelectOptions:function(e,t){var a,s,n,i,o,r,l=this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),d=this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),c=!!parseInt(dokan.store_banner_dimension["flex-width"],10),u=!!parseInt(dokan.store_banner_dimension["flex-height"],10);o=e.get("width"),i=e.get("height");var p=t.get("control");return t.set("canSkipCrop",!p.mustBeCropped(c,u,l,d,o,i)),(s=o)/(n=i)>(a=l/d)?l=(d=n)*a:d=(l=s)/a,r={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:o,imageHeight:i,x1:0,y1:0,x2:l,y2:d},!1===u&&!1===c&&(r.aspectRatio=l+":"+d),!1===u&&(r.maxHeight=d),!1===c&&(r.maxWidth=l),r}}}},function(e,t,a){"use strict";t.a={name:"PasswordGenerator",props:{title:{type:String,default:"Generate Password"},cancelTitle:{type:String,default:"Cancel"},regenrateTitle:{type:String,default:"Regenrate"},length:{type:Number,default:25}},data:function(){return{password:"",hideGenerateButton:!1,showCancelButton:!1}},methods:{generatePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password),this.hideGenerateButton=!0,this.showCancelButton=!0},makePassword:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:25,t="",a=0;a<=e;a++){t+="abcdefghijklmnopqurstuvwxyz"[Math.floor(Math.random()*e)]+"ABCDEFGHIJKLMNOPQURSTUVWXYZ"[Math.floor(10*Math.random())]+"!@#$%^&*()"[Math.floor(Math.random()*"!@#$%^&*()".length)]}return t.slice(-e)},cancelButton:function(){this.hideGenerateButton=!1,this.showCancelButton=!1,this.$root.$emit("passwordCancelled")},regenratePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password)}}}},function(e,t,a){"use strict";var s=a(6);a.n(s);t.a={name:"VendorAddressFields",components:{Multiselect:s.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{countries:[],states:[],selectedCountry:{},selectedState:{},getAddressFields:dokan.hooks.applyFilters("getVendorAddressFields",[])}},computed:{selectedCode:function(){var e=this.vendorInfo.address.country;return""!==e?e:[]}},created:function(){this.countries=this.transformCountries(dokan.countries),this.states=dokan.states;var e=this.vendorInfo.address.country,t=this.vendorInfo.address.state;""!==e&&(this.selectedCountry={name:this.getCountryFromCountryCode(e),code:e},this.selectedState={name:this.getStateFromStateCode(t,e),code:t})},methods:{transformCountries:function(e){var t=[];for(var a in e)t.push({name:e[a],code:a});return t},getCountryFromCountryCode:function(e){if(""!==e)return dokan.countries[e]},getStateFromStateCode:function(e,t){if(""!==e){var a=dokan.states[t],s=a&&a[e];return void 0!==s?s:[]}},getStatesFromCountryCode:function(e){if(""!==e){var t=[],a=this.states;for(var s in a)if(s===e&&!(a[s]&&a[s].length<1))for(var n in a[s])t.push({name:a[s][n],code:n});return t}},saveCountry:function(e){e&&(this.vendorInfo.address.state=null,this.selectedState={},this.vendorInfo.address.country=e.code)},saveState:function(e){e&&(this.vendorInfo.address.state=e.code)}}}},function(e,t,a){"use strict";var s=a(2),n=a(6);a.n(n);t.a={name:"VendorPaymentFields",components:{Switches:s.a,Multiselect:n.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{enabled:!1,trusted:!1,featured:!1,commissionTypes:[{name:"flat",label:this.__("Flat","dokan-lite")},{name:"percentage",label:this.__("Percentage","dokan-lite")},{name:"combine",label:this.__("Combine","dokan-lite")}],selectedCommissionType:{name:"flat",label:this.__("Flat","dokan-lite")},getBankFields:dokan.hooks.applyFilters("getVendorBankFields",[]),getPyamentFields:dokan.hooks.applyFilters("AfterPyamentFields",[])}},created:function(){this.vendorInfo.enabled&&(this.enabled=!0,this.vendorInfo.enabled=!0),this.vendorInfo.trusted&&(this.trusted=!0,this.vendorInfo.trusted=!0),this.vendorInfo.featured&&(this.featured=!0,this.vendorInfo.featured=!0);var e=this.vendorInfo.admin_commission_type;if(e){var t=_.findWhere(this.commissionTypes,{name:e}),a=t.name,s=t.label;this.selectedCommissionType.name=a,this.selectedCommissionType.label=s}},methods:{setValue:function(e,t){"enabled"===t&&(this.vendorInfo.enabled=!!e),"trusted"===t&&(this.vendorInfo.trusted=!!e),"featured"===t&&(this.vendorInfo.featured=!!e)},getId:function(){return this.$route.params.id},saveCommissionType:function(e){var t=e.name;t||(this.vendorInfo.admin_commission_type="flat"),this.vendorInfo.admin_commission_type=t}}}},,,,,,function(e,t,a){"use strict";var s=a(13),n=a(35),i=!1;var o=function(e){i||a(34)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UploadImage.vue",t.a=r.exports},function(e,t,a){"use strict";var s=a(14),n=a(36),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/PasswordGenerator.vue",t.a=i.exports},,function(e,t,a){"use strict";var s=a(8),n=a(0)(s.a,null,!1,null,null,null);n.options.__file="src/admin/components/Chart.vue",t.a=n.exports},,,function(e,t,a){"use strict";var s=a(10),n=a(30),i=!1;var o=function(e){i||a(29)},r=a(0)(s.a,n.a,!1,o,"data-v-01dc0d51",null);r.options.__file="src/admin/components/ColorPicker.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("div",{staticClass:"color",style:{backgroundColor:e.value}}),e._v(" "),a("span",{staticClass:"dashicons dashicons-arrow-down-alt2"})]),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e(),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){return e.setHexColor(t.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small dashicons dashicons-no-alt",attrs:{type:"button"},on:{click:function(t){return e.setLastColor(e.prevColor)}}}),e._v(" "),a("button",{staticClass:"button button-small dashicons dashicons-saved",attrs:{type:"button"},on:{click:e.toggleColorPicker}})]):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("label",{staticClass:"switch tips"},[t("input",{staticClass:"toogle-checkbox",attrs:{type:"checkbox"},domProps:{checked:this.enabled,value:this.value},on:{change:this.trigger}}),this._v(" "),t("span",{staticClass:"slider round"})])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(12),n=a(37),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/pages/VendorAccountFields.vue",t.a=i.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-upload-image",on:{click:e.uploadImage}},[e.showButton?e._e():a("img",{attrs:{src:e.image.src?e.image.src:e.src}}),e._v(" "),e.showButton?a("button",{on:{click:function(t){return t.preventDefault(),e.uploadImage.apply(null,arguments)}}},[e._v("\n "+e._s(e.buttonLabel)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"password-generator"},[e.hideGenerateButton?e._e():a("button",{staticClass:"button button-secondary",on:{click:function(t){return t.preventDefault(),e.generatePassword.apply(null,arguments)}}},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),e.showCancelButton?a("button",{staticClass:"button regen-button",on:{click:function(t){return t.preventDefault(),e.regenratePassword.apply(null,arguments)}}},[a("span",{staticClass:"dashicons dashicons-controls-repeat"}),e._v("\n "+e._s(e.regenrateTitle)+"\n ")]):e._e(),e._v(" "),e.showCancelButton?a("button",{staticClass:"button cancel-button",on:{click:function(t){return t.preventDefault(),e.cancelButton.apply(null,arguments)}}},[e._v("\n "+e._s(e.cancelTitle)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Account Info","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[e.getId()?e._e():a("div",{staticClass:"vendor-image"},[a("div",{staticClass:"picture"},[a("p",{staticClass:"picture-header"},[e._v(e._s(e.__("Vendor Picture","dokan-lite")))]),e._v(" "),a("div",{staticClass:"profile-image"},[a("upload-image",{attrs:{croppingWidth:150,croppingHeight:150},on:{uploadedImage:e.uploadGravatar}})],1),e._v(" "),a("p",{staticClass:"picture-footer",domProps:{innerHTML:e._s(e.sprintf(e.__("You can change your profile picture on %s","dokan-lite"),"<a href='https://gravatar.com/' target='_blank'>Gravatar</a>"))}})]),e._v(" "),a("div",{class:["picture banner",{"has-banner":e.vendorInfo.banner_id}]},[a("div",{staticClass:"banner-image"},[a("upload-image",{attrs:{showButton:e.showButton,buttonLabel:e.__("Upload Banner","dokan-lite")},on:{uploadedImage:e.uploadBanner}})],1),e._v(" "),e.showButton?a("p",{staticClass:"picture-footer"},[e._v(e._s(e.getUploadBannerText()))]):e._e()])]),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"first-name"}},[e._v(e._s(e.__("First Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.first_name,expression:"vendorInfo.first_name"}],staticClass:"dokan-form-input",attrs:{type:"email",id:"first-name",placeholder:e.__("First Name","dokan-lite")},domProps:{value:e.vendorInfo.first_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"first_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"last-name"}},[e._v(e._s(e.__("Last Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.last_name,expression:"vendorInfo.last_name"}],staticClass:"dokan-form-input",attrs:{type:"email",id:"last-name",placeholder:e.__("Last Name","dokan-lite")},domProps:{value:e.vendorInfo.last_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"last_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-name"}},[e._v(e._s(e.__("Store Name","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.store_name,expression:"vendorInfo.store_name"}],class:{"dokan-form-input":!0,"has-error":e.getError("store_name")},attrs:{type:"text",id:"store-name",placeholder:e.getError("store_name")?e.__("Store Name is required","dokan-lite"):e.__("Store Name","dokan-lite")},domProps:{value:e.vendorInfo.store_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"store_name",t.target.value)}}})]),e._v(" "),e.getId()?e._e():a("div",{staticClass:"column"},[a("label",{attrs:{for:"user-nicename"}},[e._v(e._s(e.__("Store URL","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_nicename,expression:"vendorInfo.user_nicename"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"user-nicename",placeholder:e.__("Store Url","dokan-lite")},domProps:{value:e.vendorInfo.user_nicename},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_nicename",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[e.showStoreUrl?a("p",{staticClass:"store-url"},[e._v(e._s(e.storeUrl))]):a("p",{staticClass:"store-url"},[e._v(e._s(e.otherStoreUrl))]),e._v(" "),a("span",{class:{"is-available":e.storeAvailable,"not-available":!e.storeAvailable}},[e._v(e._s(e.storeAvailabilityText))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-phone"}},[e._v(e._s(e.__("Phone Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.phone,expression:"vendorInfo.phone"}],staticClass:"dokan-form-input",attrs:{type:"number",id:"store-phone",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.phone},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"phone",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Email","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.email,expression:"vendorInfo.email"}],class:{"dokan-form-input":!0,"has-error":e.getError("email")},attrs:{type:"email",id:"store-email",placeholder:e.getError("email")?e.__("Email is required","dokan-lite"):e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"email",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.emailAvailable,"not-available":!e.emailAvailable}},[e._v(e._s(e.emailAvailabilityText))])])]),e._v(" "),e.getId()?e._e():[a("div",{staticClass:"column"},[a("label",{attrs:{for:"user-login"}},[e._v(e._s(e.__("Username","dokan-lite")))]),a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_login,expression:"vendorInfo.user_login"}],staticClass:"dokan-form-input",class:{"dokan-form-input":!0,"has-error":e.getError("user_login")},attrs:{type:"text",id:"user-login",placeholder:e.getError("user_login")?e.__("Username is required","dokan-lite"):e.__("Username","dokan-lite")},domProps:{value:e.vendorInfo.user_login},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_login",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.userNameAvailable,"not-available":!e.userNameAvailable}},[e._v(e._s(e.userNameAvailabilityText))])]),e._v(" "),a("div",{staticClass:"checkbox-left notify-vendor"},[a("switches",{attrs:{enabled:!0,value:"notify_vendor"},on:{input:e.sendEmail}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Send the vendor an email about their account.","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-password"}},[e._v(e._s(e.__("Password","dokan-lite")))]),e._v(" "),e.showPassword?a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_pass,expression:"vendorInfo.user_pass"}],staticClass:"dokan-form-input",attrs:{id:"store-password",type:"text",placeholder:"********"},domProps:{value:e.vendorInfo.user_pass},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_pass",t.target.value)}}}):e._e(),e._v(" "),a("password-generator",{attrs:{title:e.__("Generate Password","dokan-lite")},on:{passwordGenerated:e.setPassword}})],1)],e._v(" "),e._l(e.getAccountFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(15),n=a(40),i=!1;var o=function(e){i||a(39)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorAddressFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Address","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-1"}},[e._v(e._s(e.__("Street 1","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_1,expression:"vendorInfo.address.street_1"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"street-1",placeholder:e.__("Street 1","dokan-lite")},domProps:{value:e.vendorInfo.address.street_1},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_1",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-2"}},[e._v(e._s(e.__("Street 2","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_2,expression:"vendorInfo.address.street_2"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"street-2",placeholder:e.__("Street 2","dokan-lite")},domProps:{value:e.vendorInfo.address.street_2},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_2",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"city"}},[e._v(e._s(e.__("City","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.city,expression:"vendorInfo.address.city"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"city",placeholder:e.__("City","dokan-lite")},domProps:{value:e.vendorInfo.address.city},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"city",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"zip"}},[e._v(e._s(e.__("Zip","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.zip,expression:"vendorInfo.address.zip"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"zip",placeholder:e.__("Zip","dokan-lite")},domProps:{value:e.vendorInfo.address.zip},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"zip",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"country"}},[e._v(e._s(e.__("Country","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{id:"country",options:e.countries,multiselect:!1,label:"name","track-by":"name",showLabels:!1,placeholder:e.__("Select Country","dokan-lite")},on:{input:e.saveCountry},model:{value:e.selectedCountry,callback:function(t){e.selectedCountry=t},expression:"selectedCountry"}})],1),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"state"}},[e._v(e._s(e.__("State","dokan-lite")))]),e._v(" "),e.getStatesFromCountryCode(e.selectedCode).length<1?[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.state,expression:"vendorInfo.address.state"}],staticClass:"dokan-form-input",attrs:{id:"state",type:"text",placeholder:e.__("State","dokan-lite")},domProps:{value:e.vendorInfo.address.state},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"state",t.target.value)}}})]:[a("Multiselect",{attrs:{id:"state",options:e.getStatesFromCountryCode(e.selectedCode),multiselect:!1,showLabels:!1,label:"name","track-by":"name",placeholder:e.__("Select State","dokan-lite")},on:{input:e.saveState},model:{value:e.selectedState,callback:function(t){e.selectedState=t},expression:"selectedState"}})]],2),e._v(" "),e._l(e.getAddressFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(16),n=a(43),i=!1;var o=function(e){i||a(42)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorPaymentFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"payment-info":!0,"edit-mode":e.getId()}},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Payment Options","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("Account Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_name,expression:"vendorInfo.payment.bank.ac_name"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"account-name",placeholder:e.__("Account Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-number"}},[e._v(e._s(e.__("Account Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_number,expression:"vendorInfo.payment.bank.ac_number"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"account-number",placeholder:e.__("1233456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-type"}},[e._v(e._s(e.__("Account Type","dokan-lite")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_type,expression:"vendorInfo.payment.bank.ac_type"}],staticClass:"dokan-form-input",attrs:{id:"account-type"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.vendorInfo.payment.bank,"ac_type",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:""}},[e._v(e._s(e.__("Please Select...","dokan-lite")))]),e._v(" "),a("option",{attrs:{value:"personal"}},[e._v(e._s(e.__("Personal","dokan-lite")))]),e._v(" "),a("option",{attrs:{value:"business"}},[e._v(e._s(e.__("Business","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-name"}},[e._v(e._s(e.__("Bank Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_name,expression:"vendorInfo.payment.bank.bank_name"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"bank-name",placeholder:e.__("Bank Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-address"}},[e._v(e._s(e.__("Bank Address","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_addr,expression:"vendorInfo.payment.bank.bank_addr"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"bank-address",placeholder:e.__("Bank Address","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_addr},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_addr",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"routing-number"}},[e._v(e._s(e.__("Routing Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.routing_number,expression:"vendorInfo.payment.bank.routing_number"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"routing-number",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.routing_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"routing_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"iban"}},[e._v(e._s(e.__("IBAN","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.iban,expression:"vendorInfo.payment.bank.iban"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"iban",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.iban},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"iban",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"swift"}},[e._v(e._s(e.__("Swift","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.swift,expression:"vendorInfo.payment.bank.swift"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"swift",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.swift},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"swift",t.target.value)}}})]),e._v(" "),e._l(e.getBankFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{class:{column:e.getId(),"checkbox-group":!e.getId()}},[a("label",{attrs:{for:"paypal-email"}},[e._v(e._s(e.__("PayPal Email","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.paypal.email,expression:"vendorInfo.payment.paypal.email"}],staticClass:"dokan-form-input",attrs:{type:"email",id:"paypal-email",placeholder:e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.payment.paypal.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.paypal,"email",t.target.value)}}})]),e._v(" "),e.getId()?[a("div",{staticClass:"column"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"commission-type"}},[e._v(e._s(e.__("Admin Commission Type","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{id:"commission-type",options:e.commissionTypes,"track-by":"name",label:"label","allow-empty":!1,multiselect:!1,searchable:!1,showLabels:!1},on:{input:e.saveCommissionType},model:{value:e.selectedCommissionType,callback:function(t){e.selectedCommissionType=t},expression:"selectedCommissionType"}})],1)]),e._v(" "),"combine"===e.selectedCommissionType.name?a("div",{staticClass:"column combine-commission"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("div",{staticClass:"combine-commission-field"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"wc_input_decimal dokan-form-input percent_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}}),e._v("\n "+e._s("%    +")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_additional_fee,expression:"vendorInfo.admin_additional_fee"}],staticClass:"wc_input_price dokan-form-input fixed_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_additional_fee},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_additional_fee",t.target.value)}}})])]):a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"dokan-form-input",class:{wc_input_price:"flat"==e.selectedCommissionType.name,wc_input_decimal:"flat"!=e.selectedCommissionType.name},attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}})])]:e._e(),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.enabled,value:"enabled"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Enable Selling","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.trusted,value:"trusted"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Publish Product Directly","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.featured,value:"featured"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Make Vendor Featured","dokan-lite")))])],1)])],2),e._v(" "),e._l(e.getPyamentFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,,,,function(e,t,a){"use strict";t.a={name:"App"}},function(e,t,a){"use strict";var s=a(25),n=a(4),i=dokan_get_lib("Postbox"),o=dokan_get_lib("Loading"),r=dokan_get_lib("Currency"),l=dokan_get_lib("AdminNotice");t.a={name:"Dashboard",components:{Postbox:i,Loading:o,Chart:s.a,Currency:r,UpgradeBanner:n.a,AdminNotice:l},data:function(){return{overview:null,feed:null,report:null,subscribe:{success:!1,loading:!1,email:"",full_name:""},hasPro:!!dokan.hasPro}},created:function(){this.fetchOverview(),this.fetchFeed(),this.fetchReport()},methods:{fetchOverview:function(){var e=this;dokan.api.get("/admin/report/summary").done(function(t){e.overview=t})},fetchFeed:function(){var e=this;dokan.api.get("/admin/dashboard/feed").done(function(t){e.feed=t})},fetchReport:function(){var e=this;dokan.api.get("/admin/report/overview").done(function(t){e.report=t})},validEmail:function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},emailSubscribe:function(){var e=this;if(this.validEmail(this.subscribe.email)){this.subscribe.loading=!0;var t={type:"POST",url:"https://api.getwemail.io/v1/embed/subscribe/8da67b42-c367-4ad3-ae70-5cf63635a832",data:{email:this.subscribe.email,full_name:this.subscribe.full_name,tag:"8e0ae2bb-e838-4ec8-9aa1-c9e5dd96fe34"},headers:{"X-Requested-With":"XMLHttpRequest"}};wp.ajax.send(t,t.data).always(function(t){e.subscribe.success=!0,e.subscribe.loading=!1})}}}}},,function(e,t,a){"use strict";t.a={name:"UpgradeBanner",data:function(){return{show:dokan.showPromoBanner,upgradeURL:dokan.urls.upgradeToPro}},computed:{showUpgrade:function(){return!dokan.hasPro&&"show"===dokan.proNag}},methods:{dismiss:function(){this.show=!1,wp.ajax.post("dokan-upgrade-dissmiss")}}}},function(e,t,a){"use strict";var s=a(1),n=a.n(s),i=a(4),o=dokan_get_lib("ListTable"),r=dokan_get_lib("Modal"),l=dokan_get_lib("Currency"),d=dokan_get_lib("AdminNotice");t.a={name:"Withdraw",components:{ListTable:o,Modal:r,Currency:l,UpgradeBanner:i.a,AdminNotice:d},data:function(){return{showModal:!1,editing:{id:null,note:null},totalPages:1,perPage:10,totalItems:0,filter:{user_id:0},counts:{pending:0,approved:0,cancelled:0},notFound:this.__("No requests found.","dokan-lite"),massPayment:this.__("Paypal Mass Payment File is Generated.","dokan-lite"),showCb:!0,loading:!1,columns:{seller:{label:this.__("Vendor","dokan-lite")},amount:{label:this.__("Amount","dokan-lite")},status:{label:this.__("Status","dokan-lite")},method_title:{label:this.__("Method","dokan-lite")},method_details:{label:this.__("Details","dokan-lite")},note:{label:this.__("Note","dokan-lite")},created:{label:this.__("Date","dokan-lite")},actions:{label:this.__("Actions","dokan-lite")}},requests:[],actionColumn:"seller",hasPro:!!dokan.hasPro}},watch:{"$route.query.status":function(){this.filter.user_id=0,this.clearSelection("#filter-vendors"),this.fetchRequests()},"$route.query.page":function(){this.fetchRequests()},"$route.query.user_id":function(){this.fetchRequests()},"filter.user_id":function(e){0===e&&this.clearSelection("#filter-vendors"),this.goTo(this.query)}},computed:{currentStatus:function(){return this.$route.query.status||"pending"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},actions:function(){return"pending"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"cancel",label:this.__("Cancel","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"pending",label:this.__("Pending","dokan-lite")}]:[]},bulkActions:function(){return"pending"==this.currentStatus?[{key:"approved",label:this.__("Approve","dokan-lite")},{key:"cancelled",label:this.__("Cancel","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"pending",label:this.__("Pending","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:[{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]}},created:function(){this.fetchRequests()},mounted:function(){var e=this;n()("#filter-vendors").selectWoo({ajax:{url:"".concat(dokan.rest.root,"dokan/v1/stores"),dataType:"json",headers:{"X-WP-Nonce":dokan.rest.nonce},data:function(e){return{search:e.term}},processResults:function(e){return{results:e.map(function(e){return{id:e.id,text:e.store_name}})}}}}),n()("#filter-vendors").on("select2:select",function(t){e.filter.user_id=t.params.data.id})},methods:{updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Completed")),this.counts.cancelled=parseInt(e.getResponseHeader("X-Status-Cancelled"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},vendorUrl:function(e){return"1"===window.dokan.hasPro?dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e:dokan.urls.adminRoot+"user-edit.php?user_id="+e},fetchRequests:function(){var e=this;this.loading=!0;var t="";parseInt(this.filter.user_id)>0&&(t=this.filter.user_id);var a={per_page:this.perPage,page:this.currentPage,status:this.currentStatus,user_id:t};dokan.api.get("/withdraw",a).done(function(t,a,s){e.requests=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},goToPage:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,page:e,user_id:this.filter.user_id}})},goTo:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,user_id:this.filter.user_id}})},updateItem:function(e,t){var a=this.requests.findIndex(function(t){return t.id==e});this.$set(this.requests,a,t)},changeStatus:function(e,t){var a=this;this.loading=!0,dokan.api.put("/withdraw/"+t,{status:e}).done(function(e){a.loading=!1,a.fetchRequests()})},onActionClick:function(e,t){var a=this;"cancel"===e&&this.changeStatus("cancelled",t.id),"pending"===e&&this.changeStatus("pending",t.id),"trash"===e&&confirm(this.__("Are you sure?","dokan-lite"))&&(this.loading=!0,dokan.api.delete("/withdraw/"+t.id).done(function(e){a.loading=!1,a.fetchRequests()}))},getPaymentTitle:function(e,t){var a,s=t.method_title;void 0!==t.details[e]&&"dokan_custom"===e&&(s=null!==(a=t.details[e].method)&&void 0!==a?a:"");return dokan.hooks.applyFilters("dokan_get_payment_title",s,e,t)},getPaymentDetails:function(e,t){var a="—";if(void 0!==t[e])if("paypal"===e||"skrill"===e)a=t[e].email||"";else if("bank"===e)t.bank.hasOwnProperty("ac_name")&&(a="<p>"+this.sprintf(this.__("Account Name: %s","dokan-lite"),t.bank.ac_name)+"</p>"),t.bank.hasOwnProperty("ac_number")&&(a+="<p>"+this.sprintf(this.__("Account Number: %s","dokan-lite"),t.bank.ac_number)+"</p>"),t.bank.hasOwnProperty("bank_name")&&(a+="<p>"+this.sprintf(this.__("Bank Name: %s","dokan-lite"),t.bank.bank_name)+"</p>"),t.bank.hasOwnProperty("iban")&&(a+="<p>"+this.sprintf(this.__("IBAN: %s","dokan-lite"),t.bank.iban)+"</p>"),t.bank.hasOwnProperty("routing_number")&&(a+="<p>"+this.sprintf(this.__("Routing Number: %s","dokan-lite"),t.bank.routing_number)+"</p>"),t.bank.hasOwnProperty("swift")&&(a+="<p>"+this.sprintf(this.__("Swift Code: %s","dokan-lite"),t.bank.swift)+"</p>");else if("dokan_custom"===e){var s;a=null!==(s=t[e].value)&&void 0!==s?s:""}return dokan.hooks.applyFilters("dokan_get_payment_details",a,e,t)},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),onBulkAction:function(e,t){var a=this,s=this;if(_.contains(["delete","approved","cancelled","pending"],e)){var n={};n[e]=t,this.loading=!0,dokan.api.put("/withdraw/batch",n).done(function(e){a.loading=!1,a.fetchRequests()})}if("paypal"===e){var i=t.join(",");jQuery.post(ajaxurl,{dokan_withdraw_bulk:"paypal",id:i,action:"withdraw_ajax_submission",nonce:dokan.nonce},function(e,t,a){if("html/csv"===a.getResponseHeader("Content-type")){var n="",i=a.getResponseHeader("Content-Disposition");if(i&&-1!==i.indexOf("attachment")){var o=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i);null!=o&&o[1]&&(n=o[1].replace(/['"]/g,""))}var r=a.getResponseHeader("Content-Type"),l="function"==typeof File?new File([e],n,{type:r}):new Blob([e],{type:r});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(l,n);else{var d=window.URL||window.webkitURL,c=d.createObjectURL(l);if(n){var u=document.createElement("a");void 0===u.download?window.location=c:(u.href=c,u.download=n,document.body.appendChild(u),u.click())}else window.location=c;setTimeout(function(){d.revokeObjectURL(c)},100)}}e&&alert(s.massPayment)})}},openNoteModal:function(e,t){this.showModal=!0,this.editing={id:t,note:e}},updateNote:function(){var e=this;this.showModal=!1,this.loading=!0,dokan.api.put("/withdraw/"+this.editing.id,{note:this.editing.note}).done(function(t){e.loading=!1,e.updateItem(e.editing.id,t),e.editing={id:null,note:null}})},clearSelection:function(e){n()(e).val(null).trigger("change")}}}},function(e,t,a){"use strict";var s=a(57),n=a(144),i=(a.n(n),a(147));t.a={name:"Premium",components:{Slick:i.a,ProCta:s.a},data:function(){return{asstesUrl:dokan.urls.assetsUrl,buyNowProUrl:"https://wedevs.com/account/",services:[{title:this.__("Premium modules to make everything easier & better","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-01@2x.png"},{title:this.__("Frontend dashboard for vendors with advanced controls","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-02@2x.png"},{title:this.__("Unlimited Product Variations and group product upload","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-03@2x.png"},{title:this.__("Zone wise shipping with multiple method for vendors","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-04@2x.png"},{title:this.__("Store support based on ticket system for your customers","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-05@2x.png"},{title:this.__("Vendors will be able to generate coupon codes","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-06@2x.png"},{title:this.__("Earning, Selling and Commission Reports & Statement","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-07@2x.png"},{title:this.__("24/7 super fast premium customer support for you","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-08@2x.png"},{title:this.__("Add Social profile to your vendor’s store and support for store SEO","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-09@2x.png"}],comparisons:[{title:this.__("Frontend order management","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Seller Statement Reports","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Making Announcements","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Customized Product Categories","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store SEO","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Back Ordering System","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store Contact Form","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Single Product Multiple Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Seller Verification","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Featured Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Multiple Commission Types","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Frontend Shipping Tracking","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Setup Wizard","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Google Maps","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Manage reviews","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Bookable Product","dokan-lite"),compare:{lite:"unavailable",pro:"available"}}],modules:[{title:"Domain",url:"https://wedevs.com/dokan/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"03"},business:{type:"numeric",value:"05"},enterprise:{type:"numeric",value:"20"}},{title:"Modules",url:"https://wedevs.com/dokan/modules/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"08"},business:{type:"numeric",value:"14"},enterprise:{type:"numeric",value:"14"}},{title:"Color Scheme",url:"https://wedevs.com/dokan/modules/color-scheme-customizer/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Review",url:"https://wedevs.com/dokan/modules/dokan-vendor-review/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Store Support",url:"https://wedevs.com/dokan/modules/store-support/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Auction",url:"https://wedevs.com/dokan/modules/dokan-simple-auctions/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Ajax Live Search",url:"https://wedevs.com/dokan/modules/ajax-live-search/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Stripe Connect",url:"https://wedevs.com/dokan/modules/stripe-connect/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Subscriptions",url:"https://wedevs.com/dokan/modules/subscription/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Single Product Multivendor",url:"https://wedevs.com/dokan/modules/single-product-multivendor/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Seller Verification",url:"https://wedevs.com/dokan/modules/seller-verification/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"WC Booking Integration",url:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Staff Manager",url:"https://wedevs.com/dokan/modules/vendor-staff-manager/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Export Import",url:"https://wedevs.com/dokan/modules/export-import/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Product Enquiry",url:"https://wedevs.com/dokan/modules/product-enquiry/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Vacation",url:"https://wedevs.com/dokan/modules/vendor-vacation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Return and Warranty Request",url:"https://wedevs.com/dokan/modules/rma/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Moip",url:"https://wedevs.com/dokan/modules/moip/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Follow Store",url:"https://wedevs.com/dokan/modules/follow-store/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Geolocation",url:"https://wedevs.com/dokan/modules/geolocation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Shipstation",url:"https://wedevs.com/dokan/modules/shipstation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Wholesale",url:"https://wedevs.com/dokan/modules/wholesale/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}}],payment:{thumbnail:dokan.urls.assetsUrl+"/images/premium/payment-options.png",guaranteeThumbnail:dokan.urls.assetsUrl+"/images/premium/gaurantee-thumb.png",viewIcon:dokan.urls.assetsUrl+"/images/premium/view-icon@2x.png",termsPolicyUrl:"https://wedevs.com/refund-policy/"},slickOptions:{slidesToShow:1,fade:!0,speed:500,cssEase:"linear",autoplay:!0,autoplaySpeed:2e3,infinite:!0,accessibility:!0,adaptiveHeight:!1,arrows:!1,dots:!0,draggable:!0,edgeFriction:.3,swipe:!0},testimonials:[{name:"Melissa McGovern",designation:"Director, Hawk And PeddleProjects",pic:dokan.urls.assetsUrl+"/images/premium/melissa.jpg",content:"We're still a new business and are continuing to build our platform. Dokan has halved the time it would take us to build our ecommerce platform by being feature rich and easy to install and configure."},{name:"Morten J. Christensen",designation:"Owner, Dincatering",pic:dokan.urls.assetsUrl+"/images/premium/Morten-J.-Christensen.jpg",content:"First and foremost it enables the possibility for actually creating the kind of marketplace i wanted. The plugin lets me create a local marketplace for local danish catering suppliers to showcase and sell their offers of the season."},{name:"Cédric Lefrancq",designation:"Webmaster, Unwebmaster.Be",pic:dokan.urls.assetsUrl+"/images/premium/cedric-lefrancq.jpeg",content:"The support is very good. The plugin is perfect. Bugs are fixed very quickly. That’s a very good plugin."},{name:"David Gaz",designation:"Founder, The Bureau Of Small Projects",pic:dokan.urls.assetsUrl+"/images/premium/david-gaz.jpeg",content:"It’s hands down an amazing plugin. But their support is even more amazing. They got back to me within hours on the weekend."}],cta:{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.buynowpro}}},methods:{next:function(){this.$refs.slick.next()},prev:function(){this.$refs.slick.prev()},reInit:function(){var e=this;this.$nextTick(function(){e.$refs.slick.reSlick()})}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(58),n=a(143),i=!1;var o=function(e){i||a(142)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ProCta.vue",t.a=r.exports},function(e,t,a){"use strict";t.a={name:"ProCta",data:function(){return{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.upgradeToPro}}}},function(e,t,a){"use strict";var s=a(4),n=dokan_get_lib("Postbox"),i=dokan_get_lib("Loading"),o=dokan_get_lib("AdminNotice");t.a={name:"Help",components:{Postbox:n,Loading:i,UpgradeBanner:s.a,AdminNotice:o},data:function(){return{docs:null,hasPro:!!dokan.hasPro}},created:function(){this.fetch()},methods:{fetch:function(){var e=this;dokan.api.get("/admin/help").done(function(t){e.docs=t})}}}},function(e,t,a){"use strict";var s=a(1),n=a.n(s),i=a(4),o=dokan_get_lib("Loading"),r=dokan_get_lib("AdminNotice");t.a={name:"ChangeLog",components:{Loading:o,UpgradeBanner:i.a,AdminNotice:r},data:function(){return{active_package:"lite",current_version:"lite-0",scrollPosition:null,openVersions:[],activeVersionBorder:"",lite_versions:null,pro_versions:null,loading:!1,hasPro:!!dokan.hasPro}},methods:{formatReleaseDate:function(e){return n.a.datepicker.formatDate(dokan_get_i18n_date_format(),new Date(e))},badgeClass:function(e){switch(e){case"New":case"New Module":case"New Feature":return"badge-green";case"Fix":return"badge-red";default:return"badge-blue"}},getDokanLiteChangeLog:function(){var e=this;this.loading=!0,dokan.api.get("/admin/changelog/lite").done(function(t){e.lite_versions=JSON.parse(t),e.loading=!1}).fail(function(t){e.loading=!1,e.$notify({type:"error",title:e.__("Error","dokan-lite"),text:e.__("Something went wrong","dokan-lite")})})},getDokanProChangeLog:function(){var e=this;this.loading=!0,dokan.api.get("/admin/changelog/pro").done(function(t){e.pro_versions=JSON.parse(t),e.loading=!1}).fail(function(t){e.loading=!1,e.$notify({type:"error",title:e.__("Error","dokan-lite"),text:e.__("Something went wrong","dokan-lite")})})},dismissWhatsNewNotice:function(){var e="pro"===this.active_package?"dokan-pro-whats-new-notice":"dokan-whats-new-notice";n.a.ajax({url:dokan.ajaxurl,method:"post",dataType:"json",data:{action:e,nonce:dokan.nonce,dokan_promotion_dismissed:!0}})},toggleReading:function(e){return this.isOpenVersion(e)?this.openVersions.splice(this.openVersions.indexOf(e),1):this.openVersions.push(e)},isOpenVersion:function(e){return this.openVersions.includes(e)},switchPackage:function(e){this.active_package=e,null===this.pro_versions&&"pro"===e&&this.getDokanProChangeLog(),null===this.lite_versions&&"lite"===e&&this.getDokanLiteChangeLog(),dokan.hasNewVersion&&this.dismissWhatsNewNotice()},isActivePackage:function(e){return this.active_package===e},addBorder:function(){var e,t=this;clearTimeout(e),this.activeVersionBorder="border: 1px solid #2271b1",e=setTimeout(function(){t.activeVersionBorder=""},3e3)},jumpVersion:function(e){this.current_version=e,this.goToPosition(e),this.addBorder()},isCurrentVersion:function(e){return this.current_version===e},updatePosition:function(){this.scrollPosition=window.scrollY},scrollTop:function(){this.goToPosition("change-log")},goToPosition:function(e){n()("html, body").animate({scrollTop:n()("#".concat(e)).offset().top-50},500)},loadChangelogData:function(){"dokan-pro"===this.$route.query.plugin?this.switchPackage("pro"):this.switchPackage("lite")}},watch:{"$route.query.plugin":function(){this.loadChangelogData()}},created:function(){this.loadChangelogData(),window.addEventListener("scroll",this.updatePosition)},destroyed:function(){window.removeEventListener("scroll",this.updatePosition)}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(20),o=a.n(i),r=a(21),l=a.n(r),d=a(159),c=a(190),u=a(4);function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}var _=dokan_get_lib("Loading"),m=dokan_get_lib("AdminNotice");t.a={name:"Settings",components:{Fields:d.a,Loading:_,SettingsBanner:c.a,UpgradeBanner:u.a,AdminNotice:m},data:function(){return{isSaved:!1,showLoading:!1,isUpdated:!1,isLoaded:!1,message:"",currentTab:null,settingSections:[],settingFields:{},settingValues:{},requiredFields:[],errors:[],validationErrors:[],hasPro:!!dokan.hasPro,searchText:"",awaitingSearch:!1,withdrawMethods:{},isSaveConfirm:!1,dokanAssetsUrl:dokan.urls.assetsUrl}},computed:{refreshable_props:function(){var e,t={};for(e in this.settingFields){var a=this.settingFields[e],s=void 0;for(s in a)a[s].refresh_after_save&&(t["".concat(e,".").concat(s)]=!0)}return t}},methods:{changeTab:function(e){this.currentTab=e.id,this.requiredFields=[],this.$refs.settingsWrapper.scrollIntoView({behavior:"smooth"}),"undefined"!=typeof localStorage&&localStorage.setItem("activetab",this.currentTab)},fetchSettingValues:function(){var e=this,t={action:"dokan_get_setting_values",nonce:dokan.nonce};e.showLoading=!0,jQuery.post(dokan.ajaxurl,t,function(t){t.success&&(Object.keys(e.settingFields).forEach(function(a,s){Object.keys(e.settingFields[a]).forEach(function(s,n){e.settingValues[a]||(e.settingValues[a]={}),void 0===t.data[a][s]?void 0===e.settingFields[a][s].default?e.settingValues[a][s]="":e.settingValues[a][s]=e.settingFields[a][s].default:e.settingValues[a]=t.data[a]})}),e.settingValues=jQuery.extend({},e.settingValues),e.showLoading=!1,e.isLoaded=!0,e.setWithdrawMethods())})},showMedia:function(e,t){var a=this,s=wp.media.frames.file_frame=wp.media({title:this.__("Choose your file","dokan-lite"),button:{text:this.__("Select","dokan-lite")},multiple:!1});s.on("select",function(){var t=s.state().get("selection").first().toJSON();a.settingValues[e.sectionId][e.name]=t.url}),s.open()},saveSettings:function(e,t){var a=this;return o()(l.a.mark(function s(){var n,i,o;return l.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(a.formIsValid(t)){s.next=2;break}return s.abrupt("return");case 2:if("dokan_withdraw"!==t){s.next=9;break}return s.next=5,a.setPaymentChangeAnnouncementAction(e,t);case 5:n=s.sent,e.send_announcement_for_payment_change=!1,"value"in n&&!0===n.value&&(e.send_announcement_for_payment_change=a.getDifference(a.withdrawMethods,e.withdraw_methods)),a.withdrawMethods=e.withdraw_methods;case 9:i=a,o={action:"dokan_save_settings",nonce:dokan.nonce,settingsData:e,section:t},i.showLoading=!0,jQuery.post(dokan.ajaxurl,o).done(function(a){var s,n=a.data.settings;for(s in i.isSaved=!0,i.isUpdated=!0,i.message=a.data.message,i.settingValues[n.name]=n.value,e){var o="".concat(t,".").concat(s);if(i.refreshable_props[o]){window.location.reload();break}}i.validationErrors=[]}).fail(function(e){i.validationErrors=e.responseJSON.data.errors}).always(function(){i.showLoading=!1}),a.$refs.settingsWrapper.scrollIntoView({behavior:"smooth"});case 13:case"end":return s.stop()}},s)}))()},setWithdrawMethods:function(){"withdraw_methods"in this.settingValues.dokan_withdraw&&(this.withdrawMethods=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?p(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},this.settingValues.dokan_withdraw.withdraw_methods))},setPaymentChangeAnnouncementAction:function(e,t){var a=this;return o()(l.a.mark(function s(){var n;return l.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if("withdraw_methods"in e&&"dokan_withdraw"===t){s.next=2;break}return s.abrupt("return",Promise.resolve({value:!1}));case 2:if(n=a.getDifference(a.withdrawMethods,e.withdraw_methods),0!==Object.keys(n).length){s.next=5;break}return s.abrupt("return",Promise.resolve({value:!1}));case 5:return s.abrupt("return",swal.fire({title:a.__("Withdraw Method Changed","dokan-lite"),text:a.__("Do you want to send an announcement to vendors about the removal of currently active payment method?","dokan-lite"),icon:"warning",showCancelButton:!0,confirmButtonText:a.__("Save & send announcement","dokan-lite"),cancelButtonText:a.__("Save only","dokan-lite"),allowOutsideClick:!1,allowEscapeKey:!1}));case 6:case"end":return s.stop()}},s)}))()},getDifference:function(e,t){var a={};return Object.keys(t).forEach(function(s){""!==e[s]&&""===t[s]&&(a[s]=s)}),a},formIsValid:function(e){var t=this,a=Object.keys(this.settingFields),s=this.requiredFields;return!!a&&(a.forEach(function(a,n){if(e===a){var i=t.settingFields[a];Object.values(i).forEach(function(e){var t=e.fields;t&&Object.values(t).forEach(function(e){e&&e.required&&"yes"===e.required&&!s.includes(e.name)&&s.push(e.name)}),e&&e.required&&"yes"===e.required&&(s.includes(e.name)||s.push(e.name))})}}),this.errors=[],s.forEach(function(e){Object.values(t.settingValues).forEach(function(a){e in a&&a[e].length<1&&(t.errors.includes(e)||(t.errors.push(e),"flat"!==a.commission_type&&"percentage"!==a.commission_type||(t.errors=t.arrayRemove(t.errors,"admin_percentage"),t.errors=t.arrayRemove(t.errors,"additional_fee"))))})}),this.errors.length<1)},arrayRemove:function(e,t){return e.filter(function(e){return e!==t})},toggleLoadingState:function(){this.showLoading=!this.showLoading},clearSearch:function(){this.searchText="",this.validateBlankSearch()},validateBlankSearch:function(){return""!==this.searchText.toLowerCase()||(this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields,!1)},searchInSettings:function(e){var t=this;this.validateBlankSearch()&&(this.awaitingSearch||setTimeout(function(){var e=t.$refs.searchInSettings.value.toLowerCase();t.doSearch(e),t.awaitingSearch=!1},1e3),this.awaitingSearch=!0)},doSearch:function(e){var t=this,a={},s=[],n=[],i=dokan.settings_fields;Object.keys(i).forEach(function(t,n){Object.keys(i[t]).forEach(function(n,o){if("sub_section"!==i[t][n].type){var r=i[t][n].label.toLowerCase();r&&r.includes(e)&&(a[t]||(a[t]={}),a[t][n]=i[t][n],-1===s.indexOf(t)&&s.push(t))}})});var o=0;Object.keys(dokan.settings_sections).forEach(function(e,a){-1!==s.indexOf(dokan.settings_sections[e].id)&&(o||(t.changeTab(dokan.settings_sections[e]),o=1),n.push(dokan.settings_sections[e]))}),this.settingFields=a,this.settingSections=n},scrollToTop:function(){this.$refs.settingsWrapper.scrollIntoView({behavior:"smooth"})},handleScroll:function(){"Settings"===this.$route.name&&this.$refs.backToTop&&(this.$refs.backToTop.style.transform=window.scrollY>document.body.scrollHeight-800?"scale(1)":"scale(0)")}},created:function(){var e=this;this.fetchSettingValues(),this.currentTab="dokan_general","undefined"!=typeof localStorage&&(this.currentTab=localStorage.getItem("activetab")?localStorage.getItem("activetab"):"dokan_general"),this.$root.$on("onFieldSwitched",function(t,a){"on"===t&&"dokan_general"in e.settingValues&&"data_clear_on_uninstall"===a&&swal.fire({icon:"warning",html:e.__("All data and tables related to Dokan and Dokan Pro will be deleted permanently after deleting the Dokan plugin. You will not be able to recover your lost data unless you keep a backup. Do you want to continue?","dokan-lite"),title:e.__("Are you sure?","dokan-lite"),showCancelButton:!0,cancelButtonText:e.__("Cancel","dokan-lite"),confirmButtonText:e.__("Okay","dokan-lite")}).then(function(t){t.dismiss&&(e.settingValues.dokan_general.data_clear_on_uninstall="off",e.$emit("switcHandler","data_clear_on_uninstall",e.settingValues.dokan_general.data_clear_on_uninstall))})}),this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields,window.addEventListener("scroll",this.handleScroll)}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(161),o=a.n(i),r=a(28),l=a(2),d=a(185),c=a(187);function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var m=dokan_get_lib("Mapbox"),v=dokan_get_lib("TextEditor"),f=dokan_get_lib("GoogleMaps"),h=dokan_get_lib("RefreshSettingOptions");t.a={name:"Fields",components:{Mapbox:m,Switches:l.a,TextEditor:v,GoogleMaps:f,colorPicker:r.a,FieldHeading:c.a,SocialFields:d.a,RefreshSettingOptions:h},props:["id","fieldData","sectionId","fieldValue","allSettingsValues","errors","toggleLoadingState","validationErrors","dokanAssetsUrl"],data:function(){return{hideMap:!1,checked:this.isChecked(),expandSocials:!1,repeatableItem:{},repeatableTime:[],singleColorPicker:{default:this.fieldData.default,label:"",show_pallete:!1},yourStringTimeValue:"",customFieldComponents:dokan.hooks.applyFilters("getDokanCustomFieldComponents",[])}},created:function(){var e=this;this.$root.$on("hasError",function(t){e.hasValidationError(t)}),this.$root.$on("getError",function(t){e.getValidationErrorMessage(t)}),this.$parent.$on("switcHandler",function(t,a){e.fieldData.name===t&&(e.checked=a)})},computed:{shouldShow:function(e){var t=!0;if(this.fieldData.show_if){var a=this.fieldData.show_if,s=Object.keys(a),n=0;for(n=0;n<s.length;n++){var i=s[n],r=i.split(".").reverse(),l=o()(r,2),d=l[0],c=l[1],u=void 0===c?this.sectionId:c,p=this.allSettingsValues[u][d],m=_.chain(a[i]).pairs().first().value(),v=o()(m,2),f=v[0],h=v[1];switch(f){case"greater_than":p>h||(t=!1);break;case"greater_than_equal":p>=h||(t=!1);break;case"less_than":p<h||(t=!1);break;case"less_than":p<=h||(t=!1);break;case"contains":Object.values(p).includes(h)||(t=!1);break;case"equal":default:p!==h&&(t=!1)}if(!t)break}}return t},mapApiSource:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.map_api_source},mapLocation:function(){var e=p(p({},{latitude:23.709921,longitude:90.40714300000002,address:"Dhaka",zoom:10}),this.fieldValue[this.fieldData.name]);return e={zoom:parseInt(e.zoom),address:"".concat(e.address),latitude:parseFloat(e.latitude),longitude:parseFloat(e.longitude)}},googleMapApiKey:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.gmap_api_key},mapboxAccessToken:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.mapbox_access_token}},beforeMount:function(){"multicheck"!==this.fieldData.type||this.fieldValue[this.fieldData.name]||(this.fieldValue[this.fieldData.name]=this.fieldData.default)},methods:{containCommonFields:function(e){return _.contains([void 0,"text","email","url","phone","time"],e)},setCheckedValue:function(e,t){this.fieldValue[this.fieldData.name][t]=e?t:""},addItem:function(e,t){this.fieldValue[t]=this.fieldValue[t]||[],void 0!==this.repeatableItem[t]&&this.repeatableItem[t]&&(this.fieldValue[t].push({id:this.repeatableItem[t].trim().replace(/\s+/g,"_").toLowerCase(),value:this.repeatableItem[t]}),this.repeatableItem[t]="")},removeItem:function(e,t){this.fieldValue[t].splice(e,1)},haveCondition:function(e){return e.hasOwnProperty("condition")},checkConditionLogic:function(e,t){var a=e.condition.logic,s=!1;return _.each(a,function(e,a){_.contains(e,t[a])&&(s=!0)}),s},onHideMap:function(e){this.hideMap=e},onUpdateMap:function(e){this.fieldValue[this.fieldData.name]=p(p({},this.mapLocation),e)},isSocialChecked:function(){return this.fieldValue[this.fieldData.name]?this.fieldValue[this.fieldData.name]:this.fieldData.default},thisSomeEvent:function(e){console.log("hello priting...",e)},isSwitchOptionChecked:function(e){return"multicheck"===this.fieldData.type?this.fieldValue[this.fieldData.name]&&this.fieldValue[this.fieldData.name][e]===e:"radio"===this.fieldData.type&&(this.fieldValue[this.fieldData.name]&&this.fieldValue[this.fieldData.name]===e)},expandSocial:function(){this.expandSocials=!this.expandSocials},getSocialValue:function(e){this.fieldValue[e.name]=this.fieldValue[e.name]?this.fieldValue[e.name]:""},isChecked:function(){return this.fieldValue[this.fieldData.name]?this.fieldValue[this.fieldData.name]:this.fieldData.default},onToggleSwitch:function(e,t){"isChecked"===t&&(this.checked=e?"on":"off",this.fieldValue[this.fieldData.name]=e?"on":"off",this.$root.$emit("onFieldSwitched",this.fieldValue[this.fieldData.name],this.fieldData.name))},hasError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},getError:function(e){return e+" "+this.__("is required.","dokan-lite")},hasValidationError:function(e){if(this.validationErrors.filter(function(t){return t.name===e}).length>0)return e},getValidationErrorMessage:function(e){var t="";return this.validationErrors.forEach(function(a){a.name===e&&(t=a.error)}),t},toggleColorPicker:function(e){this.fieldData.name===e.key?this.singleColorPicker.show_pallete=!e.values.show_pallete:this.singleColorPicker.show_pallete=!1},setCustomColor:function(e,t){t&&(this.fieldData[t]=e)}}}},,,,,,,,,,,function(e,t,a){"use strict";t.a={props:{fieldData:{type:Object,required:!0},fieldValue:{type:Object,required:!0}},methods:{isSocialOptionChecked:function(e){return"radio"===this.fieldData.type&&this.fieldValue[this.fieldData.name]===e}}}},function(e,t,a){"use strict";t.a={name:"FieldHeading",props:["fieldData"]}},function(e,t,a){"use strict";t.a={name:"SettingsBanner",data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},computed:{bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(196),n=a(4),i=dokan_get_lib("ListTable"),o=dokan_get_lib("Switches"),r=dokan_get_lib("Search"),l=dokan_get_lib("AdminNotice");t.a={name:"Vendors",components:{ListTable:i,Switches:o,Search:r,AddVendor:s.a,UpgradeBanner:n.a,AdminNotice:l},data:function(){return{showCb:!0,hasPro:dokan.hasPro,counts:{pending:0,approved:0,all:0},vendorId:0,totalItems:0,perPage:20,totalPages:1,loading:!1,columns:{store_name:{label:this.__("Store","dokan-lite"),sortable:!0},email:{label:this.__("E-mail","dokan-lite")},phone:{label:this.__("Phone","dokan-lite")},registered:{label:this.__("Registered","dokan-lite"),sortable:!0},enabled:{label:this.__("Status","dokan-lite")}},actionColumn:"title",actions:[{key:"edit",label:this.__("Edit","dokan-lite")},{key:"products",label:this.__("Products","dokan-lite")},{key:"orders",label:this.__("Orders","dokan-lite")}],bulkActions:[{key:"approved",label:this.__("Approve Vendors","dokan-lite")},{key:"pending",label:this.__("Disable Selling","dokan-lite")}],vendors:[],loadAddVendor:!1,dokanVendorHeaderArea:dokan.hooks.applyFilters("getDokanVendorHeaderArea",[]),isVendorSwitchingEnabled:!1}},watch:{"$route.query.status":function(){this.fetchVendors()},"$route.query.page":function(){this.fetchVendors()},"$route.query.orderby":function(){this.fetchVendors()},"$route.query.order":function(){this.fetchVendors()}},computed:{currentStatus:function(){return this.$route.query.status||"all"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},sortBy:function(){return this.$route.query.orderby||"ID"},sortOrder:function(){return this.$route.query.order||"desc"},storeCategory:function(){return this.$route.query.store_category||null}},created:function(){var e=this;this.$root.$on("modalClosed",function(){e.loadAddVendor=!1,e.vendorId=0}),this.fetchVendors(),this.$root.$on("vendorAdded",function(t){e.vendors.unshift(t)}),this.$root.$on("addAnotherVendor",function(){e.loadAddVendor=!0}),this.$root.$on("categoryFetched",function(t){e.categories=t.categories,e.isCategoryMultiple=t.isCategoryMultiple,e.columns=t.columns}),this.isVendorSwitchingEnabled=!!dokan.is_vendor_switching_enabled,this.isVendorSwitchingEnabled&&this.actions.push({key:"switch_to",label:this.__("Switch To","dokan-lite")})},methods:{addNew:function(){this.loadAddVendor=!0},doSearch:function(e){var t=this,a=this;a.loading=!0,dokan.api.get("/stores",{search:e,page:this.currentPage,orderby:this.sortBy,order:this.sortOrder}).done(function(e,s,n){a.vendors=e,a.loading=!1,t.updatedCounts(n),t.updatePagination(n)})},updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Approved")),this.counts.all=parseInt(e.getResponseHeader("X-Status-All"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},fetchVendors:function(){var e=this;e.loading=!0;var t={per_page:e.perPage,page:e.currentPage,status:e.currentStatus,orderby:e.sortBy,order:e.sortOrder,store_category:e.storeCategory};dokan.api.get("/stores",t).done(function(t,a,s){e.vendors=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},onActionClick:function(e,t){"trash"===e&&confirm("Are you sure to delete?")&&alert("deleted: "+t.title)},onSwitch:function(e,t){var a=this,s=!1===e?this.__("The vendor has been disabled.","dokan-lite"):this.__("Selling has been enabled","dokan-lite");dokan.api.put("/stores/"+t+"/status",{status:!1===e?"inactive":"active"}).done(function(e){a.$notify({title:a.__("Success!","dokan-lite"),type:"success",text:s}),"all"!==a.currentStatus&&"pending"!==a.currentStatus&&"approved"!==a.currentStatus||a.fetchVendors()})},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),goToPage:function(e){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:e}})},onBulkAction:function(e,t){var a=this,s={};s[e]=t,this.loading=!0,dokan.api.put("/stores/batch",s).done(function(e){a.loading=!1,a.fetchVendors()})},sortCallback:function(e,t){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:1,orderby:e,order:t}})},productUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=product&author="+e},ordersUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=shop_order&vendor_id="+e},editUrl:function(e){return dokan.urls.adminRoot+"user-edit.php?user_id="+e},switchToUrl:function(e){return e.switch_url}}}},function(e,t,a){"use strict";var s=a(33),n=a(38),i=a(41),o=dokan_get_lib("Modal"),r=dokan_get_lib("Loading");t.a={name:"AddVendor",props:["vendorId"],components:{Modal:o,Loading:r,VendorAccountFields:s.a,VendorAddressFields:n.a,VendorPaymentFields:i.a},data:function(){return{isLoading:!1,storeId:"",nextBtn:this.__("Next","dokan-lite"),title:this.__("Add New Vendor","dokan-lite"),tabs:{VendorAccountFields:{label:this.__("Account Info","dokan-lite"),name:"VendorAccountFields",icon:"dashicons dashicons-admin-users"},VendorAddressFields:{label:this.__("Address","dokan-lite"),name:"VendorAddressFields",icon:"dashicons dashicons-admin-home"},VendorPaymentFields:{label:this.__("Payment Options","dokan-lite"),name:"VendorPaymentFields",icon:"dashicons dashicons-money"}},currentTab:"VendorAccountFields",store:{store_name:"",user_pass:"",store_url:"",user_login:"",email:"",user_nicename:"",notify_vendor:!0,phone:"",banner:"",banner_id:"",gravatar:"",gravatar_id:"",social:{fb:"",youtube:"",twitter:"",linkedin:"",pinterest:"",instagram:""},payment:{bank:{ac_name:"",ac_type:"",ac_number:"",bank_name:"",bank_addr:"",routing_number:"",iban:"",swift:""},paypal:{email:""}},address:{street_1:"",street_2:"",city:"",zip:"",state:"",country:""}},requiredFields:["store_name","user_login","email"],errors:[],storeAvailable:!1,userNameAvailable:!1,emailAvailable:!1,hasPro:dokan.hasPro}},created:function(){var e=this;this.$root.$on("vendorInfoChecked",function(t){e.storeAvailable=t.storeAvailable,e.userNameAvailable=t.userNameAvailable,e.emailAvailable=t.emailAvailable})},methods:{getId:function(){return this.$route.params.id},showAlert:function(e,t,a){swal.fire(e,t,a)},createVendor:function(){var e=this;this.formIsValid()&&("VendorPaymentFields"===this.currentTab&&(this.isLoading=!0,dokan.api.post("/stores/",this.store).done(function(t){e.$root.$emit("vendorAdded",t),swal.fire({icon:"success",title:e.__("Vendor Created","dokan-lite"),text:e.__("A vendor has been created successfully!","dokan-lite"),showCloseButton:!0,showCancelButton:!0,confirmButtonText:e.__("Add Another","dokan-lite"),cancelButtonText:e.__("Edit Vendor","dokan-lite"),focusConfirm:!1}).then(function(a){a.value?e.$root.$emit("addAnotherVendor"):a.dismiss===swal.DismissReason.cancel&&(e.hasPro?e.$router.push({path:"vendors/"+t.id,query:{edit:"true"}}):window.location.replace("".concat(dokan.urls.adminRoot,"user-edit.php?user_id=").concat(t.id)))})}).fail(function(t){e.showAlert(e.__(t.responseJSON.message,"dokan-lite"),"","error")}).always(function(){e.$root.$emit("modalClosed")})),this.currentTab="VendorPaymentFields"===this.currentTab?"VendorPaymentFields":this.nextTab(this.tabs,this.currentTab))},nextTab:function(e,t){var a=Object.keys(e),s=a[a.indexOf(t)+1];return s},closeModal:function(){this.$root.$emit("modalClosed")},formIsValid:function(){var e=this,t=this.requiredFields,a=this.store;return this.errors=[],t.forEach(function(t){t in a&&a[t].length<1&&e.errors.push(t)}),!!(this.errors.length<1&&this.storeAvailable&&this.userNameAvailable&&this.emailAvailable)||(this.currentTab="VendorAccountFields",!1)}}}},function(e,t,a){"use strict";var s=a(20),n=a.n(s),i=a(21),o=a.n(i),r=a(79);a.n(r);t.a={name:"DummyData",data:function(){return{errorMsg:"",csvFileUrl:dokan.urls.dummy_data,progress:0,dummyData:[],loading:!0,allVendors:[],allProducts:[],done:!1,statusLoader:!0,vendorsDataToRemove:["sku","status","catalog_visibility","short_description","date_on_sale_from","date_on_sale_to","tax_status","tax_class","stock_status","manage_stock","stock_quantity","children","backorders","sold_individually","reviews_allowed","purchase_note","sale_price","regular_price","category_ids","tag_ids","shipping_class_id","raw_image_id","raw_gallery_image_ids","download_limit","download_expiry","parent_id","grouped_products","upsell_ids","cross_sell_ids","product_url","button_text","menu_order","virtual","downloadable","status","attribute_1_name","attribute_1_value","attribute_1_visible","attribute_1_global","attribute_2_name","attribute_2_value","attribute_2_visible","attribute_2_global","_wpcom_is_markdown","download1_name","download_1_url","download_2_name","download_2_url","vendor"],productsDataToRemove:["email","password","store_name","social","payment","phone","show_email","address","location","banner","icon","gravatar","show_more_tpab","show_ppp","enable_tnc","store_tnc","show_min_order_discount","store_seo","dokan_store_time","enabled","trusted","attribute_1_name","attribute_1_value","attribute_1_visible","attribute_1_global","attribute_2_name","attribute_2_value","attribute_2_visible","attribute_2_global"]}},created:function(){this.loadImportStatus(),this.loadCsvFile()},methods:{loadImportStatus:function(){this.statusLoader=!0;var e=this;dokan.api.get("/dummy-data/status",{nonce:dokan.nonce}).done(function(t,a,s){"yes"==t.import_status&&(e.done=!0),e.statusLoader=!1}).fail(function(e){var t=window.dokan_handle_ajax_error(e);t&&swal.fire(t,"","error")})},resetDataState:function(){this.dummyData=[],this.allVendors=[],this.allProducts=[]},loadCsvFile:function(){var e=this;e.loading=!0,e.resetDataState(),jQuery.ajax({type:"GET",url:this.csvFileUrl,data:{},success:function(t){Object(r.parse)(t,{header:!0,complete:function(t){e.loading=!1,e.dummyData=t.data,e.loadCsvData()}}),e.loading=!1}})},loadCsvData:function(){var e=this;this.dummyData.forEach(function(t){"vendor"===t.type?e.allVendors.push(e.formatVendorData(t)):e.allProducts.push(e.formatProductData(t))})},requestToImport:function(e){var t=this;dokan.api.post("/dummy-data/import",e).done(function(e,a,s){t.handleImport(e.vendor_index),t.updateProgress(e.vendor_index)}).fail(function(e){var t=window.dokan_handle_ajax_error(e);t&&swal.fire(t,"","error")})},importBtnHandler:function(){this.handleImport()},updateProgress:function(e){this.progress=100*e/this.allVendors.length},handleImport:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.allVendors[e];if(!t||void 0==t)return this.loading=!1,void(this.done=!0);var a={nonce:dokan.nonce,vendor_data:t,vendor_products:this.getVendorProducts(t.id),vendor_index:e,total_vendors:this.allVendors.length};this.loading=!0,this.requestToImport(a)},formatVendorData:function(e){return this.vendorsDataToRemove.forEach(function(t){delete e[t]}),e},formatProductData:function(e){return e.raw_attributes=[{name:e.attribute_1_name,value:e.attribute_1_value.split(","),visible:e.attribute_1_visible,taxonomy:e.attribute_1_global},{name:e.attribute_2_name,value:e.attribute_2_value.split(","),visible:e.attribute_2_visible,taxonomy:e.attribute_2_global}],e.manage_stock=Boolean(e.manage_stock),this.productsDataToRemove.forEach(function(t){delete e[t]}),e},getVendorProducts:function(e){return this.allProducts.filter(function(t){return t.vendor==e})},resetToImport:function(){this.errorMsg="",this.progress=0,this.loading=!1,this.done=!1},clearAllDummyData:function(){var e=this;return n()(o.a.mark(function t(){var a,s;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,dokan_sweetalert("Are you sure? You want to remove all dummy data!",{action:"confirm",icon:"warning"});case 3:"undefined"!==(s=t.sent)&&s.isConfirmed&&(a.loading=!0,dokan.api.delete("/dummy-data/clear",{nonce:dokan.nonce}).done(function(e,t,s){dokan_sweetalert("",{toast:!0,icon:"success",title:e.message,position:"bottom-right",showConfirmButton:!1,timer:3e3,timerProgressBar:!0,didOpen:function(e){e.addEventListener("mouseenter",swal.stopTimer),e.addEventListener("mouseleave",swal.resumeTimer)}}),a.resetToImport()}).fail(function(e){var t=window.dokan_handle_ajax_error(e);t&&swal.fire(t,"","error")}));case 5:case"end":return t.stop()}},t)}))()},getProductsPageUrl:function(){return"".concat(dokan.urls.adminRoot,"edit.php?post_type=product")}}}},,function(e,t,a){"use strict";var s=a(57);t.a={name:"VendorCapabilities",components:{ProCta:s.a},data:function(){return{showPopup:!1,selectedCapabilityImage:"",capabilityCards:[{title:this.__("Coupons","dokan-lite"),content:this.__("Each vendor can create unlimited discount coupon codes for their products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-coupon.svg")},{title:this.__("Shipping","dokan-lite"),content:this.__("Vendors can configure their own shipping costs for each country, state & single products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-shipping.svg")},{title:this.__("Duplicate Product","dokan-lite"),content:this.__("Vendors can duplicate their own products for ease and time saving.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-duplicate-product.svg")},{title:this.__("Reporting","dokan-lite"),content:this.__("Earning, selling and commissions reports for vendors to improve sales & take major decisions.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-reports.svg")},{title:this.__("Create Tags","dokan-lite"),content:this.__("Vendors can create & attach tags to products to categorize & for better search engine optimization.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-create-tags.svg")},{title:this.__("Vendor Biography","dokan-lite"),content:this.__("Vendors can write about themselves & about their store in a text field which visitors can see from the store page","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-biography.svg")},{title:this.__("Vendor Product Upload","dokan-lite"),content:this.__("New vendors can start uploading products upon registration if admins allow.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-product-upload.svg")},{title:this.__("Order Status Change","dokan-lite"),content:this.__("Vendors will be able to mark products as draft & update the order status to inform customers about progress.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-order-status-change.svg")},{title:this.__("Social Share","dokan-lite"),content:this.__("Visitors and customers can share a store page with their friends and acquaintances on their social profiles.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-share.svg")},{title:this.__("Variable Product","dokan-lite"),content:this.__("Vendors can create variable products with predefined and custom attributes.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-variable-product.svg")},{title:this.__("Store Opening & Closing Time","dokan-lite"),content:this.__("Vendors can define the working hours of their online store for each day of the week for visitors to see.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-opening-closing-hours.svg")},{title:this.__("Woocommerce Booking Integration","dokan-lite"),content:this.__("Create hotel rooms, resorts, conference rooms, cars, bikes, etc for renting out.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-woocommerce-booking.svg")},{title:this.__("Announcement For Vendors","dokan-lite"),content:this.__("Admins can make announcements targeted to a single vendor, multiple or all vendors.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-announcement-vendors.svg")},{title:this.__("Woocommerce Simple Auctions Integration","dokan-lite"),content:this.__("Sell auction-able products in your store with Dokan’s integration.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-simple-auction.svg")},{title:this.__("Social Profiles","dokan-lite"),content:this.__("Vendors can upload & showcase their Facebook, Twitter and Linkedin profiles on their store page.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-profile.svg")},{title:this.__("Refund","dokan-lite"),content:this.__("Vendors can send refund requests for an order to the admins who can approve or deny it from the dashboard.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-refund.svg")},{title:this.__("Store Seo","dokan-lite"),content:this.__("The Yoast SEO integration lets vendors define Store Title, Description, Slug and Keyword to appear in search engine results.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-store-seo.svg")}]}},methods:{closePopup:function(){this.showPopup=!1},openPopup:function(e){this.showPopup=!0,this.selectedCapabilityImage=e}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner.svg")}}}},function(e,t,a){"use strict";var s=a(208);t.a={name:"ProModules",components:{ModuleUpgradePopup:s.a},data:function(){return{modules:[{name:this.__("WooCommerce Booking Integration","dokan-lite"),description:this.__("Integrates WooCommerce Booking with Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/booking.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-bookings/",modLink:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/"},{name:this.__("Color Scheme Customizer","dokan-lite"),description:this.__("A Dokan plugin Add-on to Customize Colors of Dokan Dashboard","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/color-scheme-customizer.png"),docLink:"https://wedevs.com/docs/dokan/modules/color-scheme/",modLink:"https://wedevs.com/dokan/modules/color-scheme-customizer/"},{name:this.__("Elementor","dokan-lite"),description:this.__("Elementor Page Builder widgets for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/elementor.png"),docLink:"https://wedevs.com/docs/dokan/modules/elementor-dokan/",modLink:"https://wedevs.com/dokan/modules/elementor/"},{name:this.__("Vendor Product Importer and Exporter","dokan-lite"),description:this.__("This is simple product import and export plugin for vendor","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/import-export.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-dokan-exportimport-add/",modLink:"https://wedevs.com/dokan/modules/export-import/"},{name:this.__("Follow Store","dokan-lite"),description:this.__("Send emails to customers when their favorite store updates.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/follow-store.png"),docLink:"https://wedevs.com/docs/dokan/modules/follow-store/",modLink:"https://wedevs.com/dokan/modules/follow-store/"},{name:this.__("Geolocation","dokan-lite"),description:this.__("Search Products and Vendors by geolocation.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/geolocation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-geolocation/",modLink:"https://wedevs.com/dokan/modules/geolocation/"},{name:this.__("Live Chat","dokan-lite"),description:this.__("Live Chat Between Vendor & Customer.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/live-chat.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-live-chat/",modLink:"https://wedevs.com/dokan/modules/live-chat/"},{name:this.__("Live Search","dokan-lite"),description:this.__("Live product search for WooCommerce store.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/ajax-live-search.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-live-search/",modLink:"https://wedevs.com/dokan/modules/ajax-live-search/"},{name:this.__("Wirecard","dokan-lite"),description:this.__("Wirecard payment gateway for Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wirecard-connect.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-moip-connect/",modLink:"https://wedevs.com/dokan/modules/moip/"},{name:this.__("PayPal Adaptive Payment","dokan-lite"),description:this.__("Allows to send split payments to vendor via PayPal Adaptive Payment gateway.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/paypal-adaptive.png"),docLink:"#",modLink:"#"},{name:this.__("Product Addon","dokan-lite"),description:this.__("WooCommerce Product Addon support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-addon.png"),docLink:"https://wedevs.com/docs/dokan/modules/product-addon/",modLink:"https://wedevs.com/dokan/modules/product-addons/"},{name:this.__("Product Enquiry","dokan-lite"),description:this.__("Enquiry for a specific product to a seller.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-enquiry.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-product-enquiry/",modLink:"https://wedevs.com/dokan/modules/product-enquiry/"},{name:this.__("Report Abuse","dokan-lite"),description:this.__("Let customers report fraudulent or fake products.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/"},{name:this.__("Return and Warranty Request","dokan-lite"),description:this.__("Manage return and warranty from vendor end.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-rma/",modLink:"https://wedevs.com/dokan/modules/rma/"},{name:this.__("Seller Vacation","dokan-lite"),description:this.__("Using this plugin seller can go to vacation by closing their stores.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/seller-vacation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-vacation/",modLink:"https://wedevs.com/dokan/modules/vendor-vacation/"},{name:this.__("ShipStation Integration","dokan-lite"),description:this.__("Adds ShipStation label printing support to Dokan. Requires server DomDocument support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/shipstation.png"),docLink:"https://wedevs.com/docs/dokan/modules/shipstation-dokan-wedevs/",modLink:"https://wedevs.com/dokan/modules/shipstation/"},{name:this.__("Auction Integration","dokan-lite"),description:this.__("A plugin that combined WooCommerce simple auction and Dokan plugin.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/auction.png"),docLink:"https://wedevs.com/docs/dokan/modules/woocommerce-auctions-frontend-multivendor-marketplace/",modLink:"https://wedevs.com/dokan/modules/dokan-simple-auctions/"},{name:this.__("Single Product Multiple Vendor","dokan-lite"),description:this.__("A module that offers multiple vendor to sell a single product.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/single-product-multivendor.png"),docLink:"https://wedevs.com/docs/dokan/modules/single-product-multiple-vendor/",modLink:"https://wedevs.com/dokan/modules/single-product-multivendor/"},{name:this.__("Store Reviews","dokan-lite"),description:this.__("A plugin that allows customers to rate the sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-review.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-review/",modLink:"https://wedevs.com/dokan/modules/dokan-vendor-review/"},{name:this.__("Store Support","dokan-lite"),description:this.__("Enable vendors to provide support to customers from store page.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/store-support.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-store-support/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Stripe Connect","dokan-lite"),description:this.__("Accept credit card payments and allow your sellers to get automatic split payment in Dokan via Stripe.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/stripe.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-configure-dokan-stripe-connect/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Vendor Subscription","dokan-lite"),description:this.__("Product subscription pack add-on for Dokan vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/subscription.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-use-dokan-subscription/",modLink:"https://wedevs.com/dokan/modules/subscription/"},{name:this.__("Vendor Analytics","dokan-lite"),description:this.__("A plugin for store and product analytics for vendor.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/analytics.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/"},{name:this.__("Vendor Staff Manager","dokan-lite"),description:this.__("A plugin for manage store via vendor staffs.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-staff.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-staff-manager/",modLink:"https://wedevs.com/dokan/modules/vendor-staff-manager/"},{name:this.__("Vendor Subscription Product","dokan-lite"),description:this.__("WooCommerce Subscription integration for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-subscription-product.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-subscription-product/",modLink:"https://wedevs.com/dokan/modules/vendor-subscription-product/"},{name:this.__("Vendor Verification","dokan-lite"),description:this.__("Dokan add-on to verify sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-verification.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-seller-verification-admin-settings/",modLink:"https://wedevs.com/dokan/modules/seller-verification/"},{name:this.__("Wholesale","dokan-lite"),description:this.__("Offer any customer to buy product as a wholesale price from any vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wholesale.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-wholesale/",modLink:"https://wedevs.com/dokan/modules/wholesale/"}],showPopup:!0}},methods:{togglePopup:function(e){this.showPopup=e}}}},function(e,t,a){"use strict";t.a={name:"ModuleUpgradePopup",props:{showPopup:{type:Boolean,required:!0,default:!0}},data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},methods:{closePopup:function(){this.$emit("toggle",!1)}}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(1),o=a.n(i),r=a(19),l=a.n(r);function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}var c=dokan_get_lib("ListTable"),u=dokan_get_lib("Multiselect"),p=dokan_get_lib("debounce"),_=dokan_get_lib("DateRangePicker"),m=dokan_get_lib("AdminNotice"),v=dokan_get_lib("Currency"),f=dokan_get_lib("CardFunFact"),h=Swal.mixin({customClass:{confirmButton:"button button-primary",cancelButton:"button button-secondary"},buttonsStyling:!1});t.a={name:"ReverseWithdrawal",components:{Currency:v,ListTable:c,Multiselect:u,Debounce:p,swal:h,DateRangePicker:_,AdminNotice:m,CardFunFact:f},data:function(){return{transactionData:[],loading:!1,clearingFilters:!1,counts:{debit:0,credit:0,balance:0,total_transactions:0,total_vendors:0},dateTimePickerFormat:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({format:dokan_get_daterange_picker_format().toLowerCase()},dokan_helper.daterange_picker_local),dateRangePickerRanges:{Today:[l()().toDate(),l()().toDate()],"Last 30 Days":[l()().subtract(29,"days").toDate(),l()().toDate()],"This Month":[l()().startOf("month").toDate(),l()().endOf("month").toDate()],"Last Month":[l()().subtract(1,"month").startOf("month").toDate(),l()().subtract(1,"month").endOf("month").toDate()],"This Year":[l()().month(0).startOf("month").toDate(),l()().month(11).endOf("month").toDate()],"Last Year":[l()().month(0).subtract(1,"year").startOf("month").toDate(),l()().month(11).subtract(1,"year").endOf("month").toDate()]},totalPages:1,perPage:20,totalItems:0,showCb:!0,notFound:this.__("No transaction found.","dokan-lite"),columns:{store_name:{label:this.__("Stores","dokan-lite")},balance:{label:this.__("Balance","dokan-lite")},last_payment_date:{label:this.__("Last Payment Date","dokan-lite")}},actions:[],filter:{stores:this.getDefaultStore(),selected_store:this.getDefaultStore()[0],transaction_date:{startDate:"",endDate:""}}}},created:function(){this.setDefaultTransactionDate(),this.fetchStoreLists(),this.fetchBalances()},mounted:function(){this.mountToolTips()},updated:function(){this.mountToolTips()},filters:{getFormattedDate:function(e){return e?o.a.datepicker.formatDate(dokan_get_i18n_date_format(),new Date(e)):""}},computed:{getCurrentPage:function(){return this.$route.query.page?parseInt(this.$route.query.page):1},getSortBy:function(){var e;return null!==(e=this.$route.query.orderby)&&void 0!==e?e:"added"},getSortOrder:function(){var e;return null!==(e=this.$route.query.order)&&void 0!==e?e:"desc"},filterStoreID:function(){return this.filter.selected_store?this.filter.selected_store.id:0},filterTransactionDate:function(){var e={from:"",to:""};return this.filter.transaction_date.startDate&&this.filter.transaction_date.endDate?(e.from=o.a.datepicker.formatDate("yy-mm-dd",this.filter.transaction_date.startDate),e.to=o.a.datepicker.formatDate("yy-mm-dd",this.filter.transaction_date.endDate),e.from===e.to&&(e.from=""),e):e},bulkActions:function(){return[]}},watch:{"$route.query.page":function(){this.fetchBalances()},"$route.query.orderby":function(){this.fetchBalances()},"$route.query.order":function(){this.fetchBalances()},"filter.selected_store":function(){this.clearingFilters||this.loading||this.fetchBalances()},"filter.transaction_date.startDate":function(){this.clearingFilters||this.loading||this.fetchBalances()}},methods:{updatedCounts:function(e){var t,a,s,n,i;this.counts.debit=parseInt(null!==(t=e.getResponseHeader("X-Status-Debit"))&&void 0!==t?t:0),this.counts.credit=parseInt(null!==(a=e.getResponseHeader("X-Status-Credit"))&&void 0!==a?a:0),this.counts.balance=parseInt(null!==(s=e.getResponseHeader("X-Status-Balance"))&&void 0!==s?s:0),this.counts.total_transactions=parseInt(null!==(n=e.getResponseHeader("X-Status-Total-Transactions"))&&void 0!==n?n:0),this.counts.total_vendors=parseInt(null!==(i=e.getResponseHeader("X-Status-Total-Vendors"))&&void 0!==i?i:0)},updatePagination:function(e){var t,a;this.totalPages=parseInt(null!==(t=e.getResponseHeader("X-WP-TotalPages"))&&void 0!==t?t:0),this.totalItems=parseInt(null!==(a=e.getResponseHeader("X-WP-Total"))&&void 0!==a?a:0)},resetCounts:function(){this.counts.debit=0,this.counts.credit=0,this.counts.balance=0,this.counts.total_transactions=0,this.counts.total_vendors=0,this.totalPages=0,this.totalItems=0},clearFilters:function(){this.clearingFilters=!0,this.filter.selected_store=this.getDefaultStore()[0],this.setDefaultTransactionDate(),this.clearingFilters=!1,this.fetchBalances()},getDefaultStore:function(){return[{id:0,name:this.__("All Stores","dokan-lite")}]},fetchStoreLists:p(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this;dokan.api.get("/reverse-withdrawal/stores",{paged:1,search:e}).done(function(e){t.filter.stores=t.getDefaultStore().concat(e)}).fail(function(e){t.filter.stores=t.getDefaultStore()})},300),getDefaultTransactionDate:function(){var e=l()().endOf("today").hour(23).minute(59).second(59).toDate();return{startDate:e,endDate:e}},setDefaultTransactionDate:function(){var e=this.getDefaultTransactionDate();this.filter.transaction_date.startDate=e.startDate,this.filter.transaction_date.endDate=e.endDate,this.$refs.picker&&this.$refs.picker.togglePicker(!1)},fetchBalances:function(){this.loading=!0;var e=this,t={per_page:e.perPage,page:e.getCurrentPage,orderby:e.getSortBy,order:e.getSortOrder,trn_date:e.filterTransactionDate};e.filterStoreID&&(t.vendor_id=e.filterStoreID),dokan.api.get("/reverse-withdrawal/stores-balance",t).done(function(t,a,s){e.transactionData=t,e.updatedCounts(s),e.updatePagination(s)}).always(function(){e.loading=!1}).fail(function(t){e.transactionData=[],e.resetCounts();var a=e.renderApiError(t);a&&e.showErrorAlert(a)})},goToPage:function(e){this.$router.push({name:"ReverseWithdrawal",query:{page:e}})},doSort:function(e,t){this.$router.push({name:"ReverseWithdrawal",query:{page:1,orderby:e,order:t}})},orderUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},vendorUrl:function(e){return dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e},productUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},mountToolTips:function(){o()(".tips").tooltip()},moment:function(e){return l()(e)},showErrorAlert:function(e){h.fire(this.__("Something went wrong","dokan-lite"),e,"error")},renderApiError:function(e){var t="";return e.responseJSON&&e.responseJSON.message?t=e.responseJSON.message:e.responseJSON&&e.responseJSON.data&&e.responseJSON.data.message?t=e.responseJSON.data.message:e.responseText&&(t=e.responseText),t}}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(1),o=a.n(i),r=a(19),l=a.n(r);function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}var c=dokan_get_lib("ListTable"),u=dokan_get_lib("Multiselect"),p=dokan_get_lib("debounce"),_=dokan_get_lib("DateRangePicker"),m=dokan_get_lib("AdminNotice"),v=dokan_get_lib("Currency"),f=dokan_get_lib("CardFunFact"),h=Swal.mixin({customClass:{confirmButton:"button button-primary",cancelButton:"button button-secondary"},buttonsStyling:!1});t.a={name:"ReverseWithdrawalTransactions",components:{Currency:v,ListTable:c,Multiselect:u,Debounce:p,swal:h,DateRangePicker:_,AdminNotice:m,CardFunFact:f},data:function(){return{storeDetails:{},transactionData:[],loading:!1,clearingFilters:!1,counts:{debit:0,credit:0,total_transaction:0},dateTimePickerFormat:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({format:dokan_get_daterange_picker_format().toLowerCase()},dokan_helper.daterange_picker_local),dateRangePickerRanges:{Today:[l()().toDate(),l()().toDate()],"Last 30 Days":[l()().subtract(29,"days").toDate(),l()().toDate()],"This Month":[l()().startOf("month").toDate(),l()().endOf("month").toDate()],"Last Month":[l()().subtract(1,"month").startOf("month").toDate(),l()().subtract(1,"month").endOf("month").toDate()],"This Year":[l()().month(0).startOf("month").toDate(),l()().month(11).endOf("month").toDate()],"Last Year":[l()().month(0).subtract(1,"year").startOf("month").toDate(),l()().month(11).subtract(1,"year").endOf("month").toDate()]},totalPages:1,perPage:100,totalItems:0,showCb:!0,notFound:this.__("No transaction found.","dokan-lite"),columns:{trn_id:{label:this.__("Transaction ID","dokan-lite")},trn_date:{label:this.__("Date","dokan-lite")},trn_type:{label:this.__("Transaction Type","dokan-lite")},note:{label:this.__("Note","dokan-lite")},debit:{label:this.__("Debit","dokan-lite")},credit:{label:this.__("Credit","dokan-lite")},balance:{label:this.__("Balance","dokan-lite")}},actions:[],filter:{transaction_date:{startDate:"",endDate:""}}}},created:function(){this.setDefaultTransactionDate(),this.fetchTransactions()},mounted:function(){this.fetchStoreDetails(),this.mountToolTips(),this.scrollToTop()},updated:function(){this.mountToolTips()},filters:{getFormattedDate:function(e){return e?o.a.datepicker.formatDate(dokan_get_i18n_date_format(),new Date(e)):""}},computed:{ID:function(){return this.$route.params.store_id},getCurrentPage:function(){return this.$route.query.page?parseInt(this.$route.query.page):1},getSortBy:function(){var e;return null!==(e=this.$route.query.orderby)&&void 0!==e?e:"added"},getSortOrder:function(){var e;return null!==(e=this.$route.query.order)&&void 0!==e?e:"desc"},filterTransactionDate:function(){var e={};return this.filter.transaction_date.startDate&&this.filter.transaction_date.endDate?(e.from=o.a.datepicker.formatDate("yy-mm-dd",new Date(this.filter.transaction_date.startDate)),e.to=o.a.datepicker.formatDate("yy-mm-dd",new Date(this.filter.transaction_date.endDate)),e):e},bulkActions:function(){return[]}},watch:{"$route.query.page":function(){this.fetchTransactions()},"$route.query.orderby":function(){this.fetchTransactions()},"$route.query.order":function(){this.fetchTransactions()},"filter.transaction_date.startDate":function(){this.clearingFilters||this.loading||this.fetchTransactions()}},methods:{updatedCounts:function(e){var t,a,s,n;this.counts.debit=parseInt(null!==(t=e.getResponseHeader("X-Status-Debit"))&&void 0!==t?t:0),this.counts.credit=parseInt(null!==(a=e.getResponseHeader("X-Status-Credit"))&&void 0!==a?a:0),this.counts.balance=parseInt(null!==(s=e.getResponseHeader("X-Status-Balance"))&&void 0!==s?s:0),this.counts.total_transactions=parseInt(null!==(n=e.getResponseHeader("X-Status-Total-Transactions"))&&void 0!==n?n:0)},updatePagination:function(e){var t,a;this.totalPages=parseInt(null!==(t=e.getResponseHeader("X-WP-TotalPages"))&&void 0!==t?t:0),this.totalItems=parseInt(null!==(a=e.getResponseHeader("X-WP-Total"))&&void 0!==a?a:0)},resetCounts:function(){this.counts.debit=0,this.counts.credit=0,this.counts.balance=0,this.counts.total_transaction=0},resetPagination:function(){this.totalPages=0,this.totalItems=0},clearFilters:function(){this.clearingFilters=!0,this.setDefaultTransactionDate(),this.fetchTransactions(),this.clearingFilters=!1},getDefaultTransactionDate:function(){return{startDate:l()().subtract(29,"days").hour(0).minute(0).second(0).toDate(),endDate:l()().hour(23).minute(59).second(59).toDate()}},setDefaultTransactionDate:function(){var e=this.getDefaultTransactionDate();this.filter.transaction_date.startDate=e.startDate,this.filter.transaction_date.endDate=e.endDate,this.$refs.picker&&this.$refs.picker.togglePicker(!1)},goToPage:function(e){this.$router.push({name:"ReverseWithdrawalTransactions",query:{page:e}})},fetchTransactions:function(){this.loading=!0;var e=this,t={orderby:e.getSortBy,order:e.getSortOrder,vendor_id:e.ID,trn_date:e.filterTransactionDate,per_page:-1};dokan.api.get("/reverse-withdrawal/transactions/"+e.ID,t).done(function(t,a,s){e.transactionData=t,e.updatedCounts(s),e.updatePagination(s)}).always(function(){e.loading=!1}).fail(function(t){e.transactionData=[],e.resetPagination();var a=dokan_handle_ajax_error(t);a&&e.showErrorAlert(a)})},fetchStoreDetails:function(){var e=this;dokan.api.get("/stores/"+e.ID).done(function(t,a,s){e.storeDetails=t}).always(function(){}).fail(function(t){e.storeDetails={};var a=dokan_handle_ajax_error(t);a&&e.showErrorAlert(a)})},doSort:function(e,t){this.$router.push({name:"ReverseWithdrawalTransactions",query:{page:1,orderby:e,order:t}})},reverseWithdrawalUrl:function(e){return dokan.urls.adminRoot+"admin.php?page=dokan#/reverse-withdrawal"},orderUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},vendorUrl:function(e){return dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e},productUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},mountToolTips:function(){o()(".tips").tooltip()},moment:function(e){return l()(e)},showErrorAlert:function(e){h.fire(this.__("Something went wrong","dokan-lite"),e,"error")},scrollToTop:function(){window.scrollTo(0,0)}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(125),n=a(128),i=a(218);new(dokan_get_lib("Vue"))({el:"#dokan-vue-admin",router:n.a,render:function(e){return e(s.a)},created:function(){this.setLocaleData(dokan.i18n["dokan-lite"]),dokan.dokan_pro_i18n&&this.setLocaleData(dokan.dokan_pro_i18n.dokan)},methods:{listTableTexts:function(){return{loading:this.__("Loading","dokan-lite"),select_bulk_action:this.__("Select bulk action","dokan-lite"),bulk_actions:this.__("Bulk Actions","dokan-lite"),items:this.__("items","dokan-lite"),apply:this.__("Apply","dokan-lite")}}}}),Object(i.a)("dokan")},function(e,t,a){"use strict";var s=a(51),n=a(127),i=!1;var o=function(e){i||a(126)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/App.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"vue-backend-app"}},[t("router-view"),this._v(" "),t("notifications",{attrs:{position:"bottom right"}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(129),n=a.n(s),i=a(130),o=a(137),r=a(140),l=a(150),d=a(153),c=a(156),u=a(194),p=a(200),_=a(203),m=a(206),v=a(212),f=a(215),h=dokan_get_lib("Vue"),g=dokan_get_lib("Router"),k=dokan_get_lib("VersionCompare");h.use(g),dokan_add_route(i.a),dokan_add_route(o.a),dokan_add_route(r.a),dokan_add_route(d.a),dokan_add_route(l.a),dokan_add_route(c.a),dokan_add_route(_.a),dokan_add_route(m.a),dokan_add_route(p.a),dokan_add_route(v.a),dokan_add_route(f.a),dokan.hasPro&&!k(dokan.proVersion,"2.9.14",">")||dokan_add_route(u.a),function e(t){for(var a=0;a<t.length;a++)"object"===n()(t[a].children)?(e(t[a].children),void 0!==t[a].component&&(t[a].component=dokan.routeComponents[t[a].component])):t[a].component=dokan.routeComponents[t[a].component]}(dokan.routes),t.a=new g({routes:dokan.routes})},,function(e,t,a){"use strict";var s=a(52),n=a(136),i=!1;var o=function(e){i||a(131)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Dashboard.vue",t.a=r.exports},function(e,t){},,,function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.show&&e.showUpgrade?a("div",{staticClass:"dokan-promo-banner"},[a("div",{staticClass:"thumbnail"},[a("svg",{attrs:{width:"219",height:"146",viewBox:"0 0 219 146",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("g",{attrs:{filter:"url(#filter0_d_248_61)"}},[a("rect",{attrs:{x:"38.7051",y:"24.564",width:"122.83",height:"92.5357",rx:"2.75404",fill:"white"}})]),e._v(" "),a("path",{attrs:{d:"M38.7051 27.318C38.7051 25.797 39.9381 24.564 41.4591 24.564H158.781C160.302 24.564 161.535 25.797 161.535 27.318V34.4785H38.7051V27.318Z",fill:"#5165FF"}}),e._v(" "),a("circle",{attrs:{cx:"46.1409",cy:"29.7966",r:"1.37702",fill:"#FF2323"}}),e._v(" "),a("circle",{attrs:{cx:"51.0982",cy:"29.7966",r:"1.37702",fill:"#FF9A23"}}),e._v(" "),a("circle",{attrs:{cx:"56.0555",cy:"29.7966",r:"1.37702",fill:"#3FD826"}}),e._v(" "),a("rect",{attrs:{x:"48.6196",y:"42.7406",width:"58.9364",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"56.5109",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"62.0189",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"67.527",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"73.035",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"78.5431",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"84.0513",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"89.5592",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"95.0674",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{x:"48.6196",y:"46.5962",width:"25.888",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{x:"48.6196",y:"102.779",width:"21.4815",height:"4.95727",rx:"2.47864",fill:"#F86C57"}}),e._v(" "),a("circle",{attrs:{opacity:"0.91",cx:"165.911",cy:"71.0891",r:"48.0891",fill:"url(#paint0_linear_248_61)","fill-opacity":"0.08"}}),e._v(" "),a("circle",{attrs:{opacity:"0.91",cx:"165.911",cy:"71.0891",r:"42.9732",fill:"url(#paint1_linear_248_61)","fill-opacity":"0.08"}}),e._v(" "),a("circle",{attrs:{opacity:"0.91",cx:"165.911",cy:"71.0892",r:"38.3689",fill:"url(#paint2_linear_248_61)","fill-opacity":"0.09"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter1_d_248_61)"}},[a("circle",{attrs:{cx:"166.253",cy:"71.0891",r:"33.2531",fill:"url(#paint3_linear_248_61)"}})]),e._v(" "),a("path",{attrs:{d:"M161.113 57.209H157.627V54.7871H160.933V54.0059H157.627V51.7451H161.113V50.9541H156.748V58H161.113V57.209ZM162.144 58H162.993V55.0117C162.993 54.1523 163.516 53.5859 164.316 53.5859C165.098 53.5859 165.483 54.0352 165.483 54.8555V58H166.333V54.7041C166.333 53.5518 165.688 52.834 164.575 52.834C163.789 52.834 163.247 53.1855 162.964 53.7324H162.944V52.9219H162.144V58ZM168.311 52.9219H167.461V58.2588C167.461 58.8252 167.261 59.0352 166.709 59.0352C166.704 59.0352 166.587 59.0352 166.577 59.0352V59.7432C166.587 59.748 166.724 59.748 166.738 59.748C167.822 59.748 168.311 59.2793 168.311 58.249V52.9219ZM167.886 52.0674C168.179 52.0674 168.418 51.8281 168.418 51.54C168.418 51.2471 168.179 51.0127 167.886 51.0127C167.598 51.0127 167.358 51.2471 167.358 51.54C167.358 51.8281 167.598 52.0674 167.886 52.0674ZM171.562 58.0879C172.964 58.0879 173.911 57.0771 173.911 55.4609C173.911 53.8398 172.964 52.834 171.562 52.834C170.156 52.834 169.209 53.8398 169.209 55.4609C169.209 57.0771 170.156 58.0879 171.562 58.0879ZM171.562 57.3408C170.664 57.3408 170.073 56.6572 170.073 55.4609C170.073 54.2646 170.664 53.5811 171.562 53.5811C172.461 53.5811 173.047 54.2646 173.047 55.4609C173.047 56.6572 172.461 57.3408 171.562 57.3408ZM175.044 59.8994C175.962 59.8994 176.382 59.543 176.816 58.3564L178.813 52.9219H177.92L176.514 57.1504H176.499L175.093 52.9219H174.185L176.06 58.0049L175.942 58.3613C175.747 58.9521 175.483 59.1816 175.01 59.1816C174.902 59.1816 174.771 59.1768 174.678 59.1572V59.8701C174.771 59.8896 174.941 59.8994 175.044 59.8994Z",fill:"white"}}),e._v(" "),a("path",{attrs:{d:"M159.657 85.8369C157.66 85.8369 156.41 87.2432 156.41 89.4795C156.41 91.7158 157.66 93.1172 159.657 93.1172C161.654 93.1172 162.904 91.7158 162.904 89.4795C162.904 87.2432 161.654 85.8369 159.657 85.8369ZM159.657 86.6475C161.098 86.6475 162.001 87.7412 162.001 89.4795C162.001 91.2129 161.098 92.3066 159.657 92.3066C158.217 92.3066 157.313 91.2129 157.313 89.4795C157.313 87.7412 158.217 86.6475 159.657 86.6475ZM164.877 93V89.9482H167.997V89.167H164.877V86.7451H168.275V85.9541H163.998V93H164.877ZM170.16 93V89.9482H173.28V89.167H170.16V86.7451H173.559V85.9541H169.281V93H170.16Z",fill:"white"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter2_d_248_61)"}},[a("path",{attrs:{d:"M149.708 73.6738H151.268C152.344 73.6738 152.98 74.176 152.98 75.0188C152.98 75.8527 152.308 76.4086 151.304 76.4086C150.192 76.4086 149.51 75.8796 149.483 75.0188H145.861C145.986 77.655 148.085 79.3587 151.223 79.3587C154.657 79.3587 156.845 77.8254 156.845 75.4044C156.845 73.638 155.599 72.5171 153.698 72.3109V72.2392C155.258 71.9612 156.397 70.8314 156.397 69.2712C156.397 67.0834 154.46 65.7025 151.402 65.7025C148.219 65.7025 146.112 67.4151 146.103 70.0065H149.528C149.528 69.1008 150.219 68.4732 151.241 68.4732C152.281 68.4732 152.9 68.9753 152.9 69.7913C152.9 70.6162 152.281 71.1273 151.286 71.1273H149.708V73.6738ZM163.83 79.3587C167.327 79.3587 169.524 76.7583 169.524 72.4902C169.524 68.1863 167.3 65.6935 163.83 65.6935C160.36 65.6935 158.127 68.1952 158.127 72.4992C158.127 76.7763 160.333 79.3587 163.83 79.3587ZM163.83 76.4355C162.772 76.4355 162.001 75.1623 162.001 72.4992C162.001 69.8271 162.772 68.6167 163.83 68.6167C164.888 68.6167 165.65 69.8271 165.65 72.4992C165.65 75.1623 164.888 76.4355 163.83 76.4355ZM176.939 69.2174C176.939 67.0565 175.729 65.7294 173.756 65.7294C171.783 65.7294 170.573 67.0565 170.573 69.2174C170.573 71.3784 171.783 72.7054 173.756 72.7054C175.729 72.7054 176.939 71.3784 176.939 69.2174ZM173.756 70.6252C173.38 70.6252 173.155 70.0961 173.155 69.1905C173.155 68.2849 173.38 67.7559 173.756 67.7559C174.133 67.7559 174.357 68.2849 174.357 69.1905C174.357 70.0961 174.133 70.6252 173.756 70.6252ZM175.146 79L179.665 72.7951L184.57 66.0612H181.79L177.415 72.0688L172.366 79H175.146ZM186.363 75.7451C186.363 73.5842 185.153 72.2571 183.18 72.2571C181.207 72.2571 179.997 73.5842 179.997 75.7451C179.997 77.9061 181.207 79.2331 183.18 79.2331C185.153 79.2331 186.363 77.9061 186.363 75.7451ZM183.18 77.1529C182.803 77.1529 182.579 76.6238 182.579 75.7182C182.579 74.8126 182.803 74.2836 183.18 74.2836C183.557 74.2836 183.781 74.8126 183.781 75.7182C183.781 76.6238 183.557 77.1529 183.18 77.1529Z",fill:"white"}})]),e._v(" "),a("g",{attrs:{filter:"url(#filter3_d_248_61)"}},[a("rect",{attrs:{x:"19",y:"38.3818",width:"50.2355",height:"17.2853",rx:"8.64266",fill:"white"}})]),e._v(" "),a("path",{attrs:{d:"M42.394 48.9926C42.394 50.0814 41.6317 50.7359 40.0117 50.7359C38.3917 50.7359 37.6294 50.0814 37.6294 48.9926V47.1386C37.6294 46.0497 38.3931 45.3953 40.0117 45.3953C41.6303 45.3953 42.394 46.0497 42.394 47.1386V48.9926ZM41.1062 47.2885C41.1062 46.6831 40.9184 46.337 40.0061 46.337C39.0938 46.337 38.9074 46.6831 38.9074 47.2885V48.844C38.9074 49.448 39.0952 49.7941 40.0061 49.7941C40.917 49.7941 41.1062 49.448 41.1062 48.844V47.2885Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M46.011 47.7439C47.4881 48.2694 47.5371 49.4676 48.1425 50.5578C47.9012 50.6184 47.6557 50.6614 47.4082 50.6867C46.0419 50.6867 46.814 48.6253 44.7736 48.289V50.6867C44.7736 50.6867 43.4844 50.6867 43.4844 50.0421V43.0465C43.4844 43.0465 44.7736 43.0465 44.7736 43.6911V47.2982C45.358 47.2086 45.6845 46.7727 46.1302 45.9305C46.3193 45.5732 46.6907 45.4442 47.0817 45.4442C47.3199 45.4489 47.556 45.489 47.7824 45.5634C47.24 46.3061 46.9037 47.3865 46.011 47.7439Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M51.6206 47.0307C51.6206 46.6733 51.4216 46.3566 50.6592 46.3566C49.8268 46.3566 49.0743 46.6369 49.0743 47.4777C48.7856 47.0909 48.6973 46.784 48.6973 46.5164C48.6973 45.6545 49.8563 45.3953 50.669 45.3953C52.1251 45.3953 52.8986 46.0091 52.8986 47.0895V50.712C52.6603 50.5991 52.3984 50.5448 52.1349 50.5537C51.6402 50.5537 51.1441 50.7317 50.5794 50.7317C49.5592 50.7317 48.5586 50.3547 48.5586 49.1761C48.5586 47.3277 51.2142 47.8126 51.6206 47.0307ZM51.65 48.041C51.4216 48.5666 49.8366 48.2793 49.8366 49.1621C49.8366 49.6078 50.1632 49.8362 50.7279 49.8362C51.0439 49.8362 51.357 49.7753 51.65 49.6568V48.041Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M57.2093 47.1792C57.2093 46.6537 56.9613 46.3566 56.2578 46.3566C55.9389 46.3599 55.6221 46.4071 55.3161 46.4967V50.6868C55.3161 50.6868 54.0282 50.6868 54.0282 50.0422V45.3953C54.3062 45.5298 54.6106 45.6007 54.9195 45.6027C55.4057 45.6027 55.8612 45.3953 56.3965 45.3953C57.4167 45.3953 58.4986 45.7414 58.4986 47.0307V50.6868C58.4986 50.6868 57.2107 50.6672 57.2107 50.0422L57.2093 47.1792Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M29.8406 42.6191C29.8406 42.6191 34.4371 42.2814 34.4371 46.2486C34.4371 50.2159 33.2221 51.0133 32.157 51.2641C32.157 51.2641 36.5881 52.332 36.5881 46.7503C36.5881 41.1687 30.9364 41.9745 29.8406 42.6191Z",fill:"#F2634D"}}),e._v(" "),a("path",{attrs:{d:"M33.5781 49.3681C33.5781 49.3681 33.1352 50.9082 31.7899 51.103C30.4446 51.2978 30.2022 50.5719 29.2675 50.6209C29.2568 50.522 29.266 50.422 29.2945 50.3267C29.323 50.2314 29.3702 50.1427 29.4333 50.0658C29.4965 49.989 29.5743 49.9255 29.6623 49.8791C29.7503 49.8327 29.8466 49.8042 29.9457 49.7955C30.7011 49.6932 32.115 49.8922 33.0554 49.298C33.0554 49.298 33.6159 49.0065 33.721 48.865L33.5781 49.3681Z",fill:"#F2634D"}}),e._v(" "),a("path",{attrs:{d:"M29.7705 42.8966V44.8066V49.5615C29.8165 49.549 29.8634 49.5397 29.9106 49.5334C30.1755 49.505 30.4417 49.491 30.708 49.4914C30.9883 49.4914 31.2868 49.4802 31.5895 49.4536V47.2086C31.5895 46.4644 31.5432 45.7021 31.5895 44.9664C31.6149 44.7457 31.7 44.5361 31.8355 44.36C31.971 44.184 32.152 44.0482 32.3588 43.9672C32.5252 43.9058 32.7028 43.8801 32.8798 43.892C33.0568 43.9038 33.2293 43.9528 33.386 44.0359C32.3334 43.2799 31.0664 42.8807 29.7705 42.8966Z",fill:"#F2634D"}}),e._v(" "),a("defs",[a("filter",{attrs:{id:"filter0_d_248_61",x:"1.43361",y:"0.796654",width:"197.373",height:"167.079",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"13.5042"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"18.6357"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter1_d_248_61",x:"113.644",y:"28.4061",width:"105.219",height:"105.219",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"9.92629"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"9.67814"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter2_d_248_61",x:"131.878",y:"65.3495",width:"68.4692",height:"41.6322",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"13.6395"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"6.99175"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.633333 0 0 0 0 0.0860081 0 0 0 0 0 0 0 0 0.38 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter3_d_248_61",x:"0.094183",y:"29.7392",width:"88.0471",height:"55.0969",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"10.2632"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"9.45291"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0.095 0 0 0 0 0.2375 0 0 0 0.25 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint0_linear_248_61",x1:"216.161",y1:"71.332",x2:"122.442",y2:"71.332",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FFA5A5"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#FFA5A5","stop-opacity":"0"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint1_linear_248_61",x1:"218.051",y1:"74.8431",x2:"133.515",y2:"74.3029",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FF6262"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#FF6262","stop-opacity":"0"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint2_linear_248_61",x1:"212.38",y1:"71.3321",x2:"133.245",y2:"71.3321",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FE6868"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#FE6868","stop-opacity":"0"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint3_linear_248_61",x1:"166.253",y1:"28.3761",x2:"166.253",y2:"104.342",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FF9F8F"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#F95F47"}})],1)],1)])]),e._v(" "),a("div",{staticClass:"content"},[a("div",{staticClass:"details"},[a("h3",[e._v(e._s(e.__("Dokan Premium","dokan-lite"))+" "),a("span",{staticClass:"dokan-offer"},[e._v(e._s(e.__("Enjoy","dokan-lite"))+" "),a("span",{staticClass:"penchant-off"},[e._v(e._s(e.__("30%","dokan-lite")))]),e._v(e._s(e.__("OFF","dokan-lite")))])]),e._v(" "),a("p",[e._v(e._s(e.__("Unleash the full potential of your marketplace with more premium features.","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"features"},[a("label",[e._v("\n "+e._s(e.__("Table rate shipping","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",[e._v("\n "+e._s(e.__("Vendor Reviews","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",{staticClass:"hidden-sm"},[e._v("\n "+e._s(e.__("Product Subscriptions","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",{staticClass:"hidden-sm"},[e._v("\n "+e._s(e.__("Auction","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",{staticClass:"hidden-sm"},[e._v("\n "+e._s(e.__("Delivery Time","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("a",{attrs:{target:"_blank",href:"https://wedevs.com/dokan/modules"}},[e._v(e._s(e.__("See All Premium Modules","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"btn-upgrade"},[a("a",{attrs:{target:"_blank",href:"https://wedevs.com/dokan-lite-upgrade-to-pro/?utm_source=dokan-plugin-dashboard&utm_medium=wp-admin-promotion&utm_campaign=dokan-lite"}},[e._v(e._s(e.__("Upgrade to Premium","dokan-lite")))])]),e._v(" "),a("button",{staticClass:"close-banner",on:{click:function(t){return e.dismiss()}}},[a("span",{staticClass:"dashicons dashicons-no-alt"})])]):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-dashboard"},[a("h1",[e._v(e._s(e.__("Dashboard","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"widgets-wrapper"},[a("div",{staticClass:"left-side"},[a("postbox",{attrs:{title:e.__("At a Glance","dokan-lite"),extraClass:"dokan-status"}},[null!==e.overview?a("div",{staticClass:"dokan-status"},[a("ul",[a("li",{staticClass:"sale"},[a("div",{staticClass:"dashicons dashicons-chart-bar"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.sales.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("net sales this month","dokan-lite"))+" "),a("span",{class:e.overview.sales.class},[e._v(e._s(e.overview.sales.parcent))])])])],1),e._v(" "),a("li",{staticClass:"commission"},[a("div",{staticClass:"dashicons dashicons-chart-pie"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.earning.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("commission earned","dokan-lite"))+" "),a("span",{class:e.overview.earning.class},[e._v(e._s(e.overview.earning.parcent))])])])],1),e._v(" "),a("li",{staticClass:"vendor"},[a("div",{staticClass:"dashicons dashicons-id"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors"}:""}},[a("strong",[e._v(e._s(e.overview.vendors.this_month)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("signup this month","dokan-lite"))+" "),a("span",{class:e.overview.vendors.class},[e._v(e._s(e.overview.vendors.parcent))])])])],1),e._v(" "),a("li",{staticClass:"approval"},[a("div",{staticClass:"dashicons dashicons-businessman"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors",query:{status:"pending"}}:""}},[a("strong",[e._v(e._s(e.overview.vendors.inactive)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1),e._v(" "),a("li",{staticClass:"product"},[a("div",{staticClass:"dashicons dashicons-cart"}),e._v(" "),a("a",{attrs:{href:"#"}},[a("strong",[e._v(e._s(e.overview.products.this_month)+" "+e._s(e.__("Products","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("created this month","dokan-lite"))+" "),a("span",{class:e.overview.products.class},[e._v(e._s(e.overview.products.parcent))])])])]),e._v(" "),a("li",{staticClass:"withdraw"},[a("div",{staticClass:"dashicons dashicons-money"}),e._v(" "),a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[a("strong",[e._v(e._s(e.overview.withdraw.pending)+" "+e._s(e.__("Withdrawals","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1)])]):a("div",{staticClass:"loading"},[a("loading")],1)]),e._v(" "),a("postbox",{attrs:{title:e.__("Dokan News Updates","dokan-lite")}},[null!==e.feed?a("div",{staticClass:"rss-widget"},[a("ul",e._l(e.feed,function(t){return a("li",[a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_campaign=dokan-news",target:"_blank"}},[e._v(e._s(t.title))])])}),0),e._v(" "),a("div",{staticClass:"subscribe-box"},[e.subscribe.success?a("div",{staticClass:"thank-you"},[e._v(e._s(e.__("Thank you for subscribing!","dokan-lite")))]):[e.subscribe.loading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),a("h3",[e._v(e._s(e.__("Stay up-to-date","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("We're constantly developing new features, stay up-to-date by subscribing to our newsletter.","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"form-wrap"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.subscribe.full_name,expression:"subscribe.full_name"}],attrs:{type:"text",placeholder:e.__("Your Name","dokan-lite")},domProps:{value:e.subscribe.full_name},on:{input:function(t){t.target.composing||e.$set(e.subscribe,"full_name",t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.subscribe.email,expression:"subscribe.email"}],attrs:{type:"email",placeholder:e.__("Your Email Address","dokan-lite")},domProps:{value:e.subscribe.email},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.emailSubscribe()},input:function(t){t.target.composing||e.$set(e.subscribe,"email",t.target.value)}}}),e._v(" "),a("button",{staticClass:"button",on:{click:function(t){return e.emailSubscribe()}}},[e._v(e._s(e.__("Subscribe","dokan-lite")))])])]],2)]):a("div",{staticClass:"loading"},[a("loading")],1)])],1),e._v(" "),a("div",{staticClass:"right-side"},[a("postbox",{staticClass:"overview-chart",attrs:{title:e.__("Overview","dokan-lite")}},[null!==e.report?a("div",[a("chart",{attrs:{data:e.report}})],1):a("div",{staticClass:"loading"},[a("loading")],1)])],1)])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(55),n=a(139),i=!1;var o=function(e){i||a(138)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Withdraw.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"withdraw-requests"},[a("h1",[e._v(e._s(e.__("Withdraw Requests","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),e.showModal?a("modal",{attrs:{title:e.__("Update Note","dokan-lite")},on:{close:function(t){e.showModal=!1}}},[a("template",{slot:"body"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.editing.note,expression:"editing.note"}],attrs:{rows:"3"},domProps:{value:e.editing.note},on:{input:function(t){t.target.composing||e.$set(e.editing,"note",t.target.value)}}})]),e._v(" "),a("template",{slot:"footer"},[a("button",{staticClass:"button button-primary button-large",on:{click:function(t){return e.updateNote()}}},[e._v(e._s(e.__("Update Note","dokan-lite")))])])],2):e._e(),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{class:{current:"pending"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{class:{current:"approved"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"approved"}}}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{class:{current:"cancelled"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"cancelled"}}}},[e._v(e._s(e.__("Cancelled","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.cancelled))])]),e._v(" | ")],1)]),e._v(" "),a("list-table",{attrs:{columns:e.columns,rows:e.requests,loading:e.loading,"action-column":e.actionColumn,actions:e.actions,"show-cb":e.showCb,"bulk-actions":e.bulkActions,"not-found":e.notFound,"total-pages":e.totalPages,"total-items":e.totalItems,"per-page":e.perPage,"current-page":e.currentPage,text:e.$root.listTableTexts()},on:{pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction},scopedSlots:e._u([{key:"seller",fn:function(t){return[a("img",{attrs:{src:t.row.user.gravatar,alt:t.row.user.store_name,width:"50"}}),e._v(" "),a("strong",[a("a",{attrs:{href:e.vendorUrl(t.row.user.id)}},[e._v(e._s(t.row.user.store_name?t.row.user.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"vendor",fn:function(t){var s=t.row;return[a("router-link",{attrs:{to:"/vendors/"+s.vendor.id}},[e._v("\n "+e._s(s.vendor.name?s.vendor.name:e.__("(no name)","dokan-lite"))+"\n ")])]}},{key:"amount",fn:function(e){return[a("currency",{attrs:{amount:e.row.amount}})]}},{key:"status",fn:function(t){return[a("span",{class:t.row.status},[e._v(e._s(e._f("capitalize")(t.row.status)))])]}},{key:"created",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.created).format("MMM D, YYYY"))+"\n ")]}},{key:"method_title",fn:function(t){return[a("div",{staticClass:"method_title_inner",domProps:{innerHTML:e._s(e.getPaymentTitle(t.row.method,t.row))}})]}},{key:"method_details",fn:function(t){return[a("div",{staticClass:"method_details_inner",domProps:{innerHTML:e._s(e.getPaymentDetails(t.row.method,t.row.details))}})]}},{key:"actions",fn:function(t){return["pending"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Approve Request","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("approved",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-yes"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:"approved"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Mark as Pending","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("pending",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-backup"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]]}}])},[e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("select",{staticStyle:{width:"190px"},attrs:{id:"filter-vendors","data-placeholder":e.__("Filter by vendor","dokan-lite")}}),e._v(" "),e.filter.user_id?a("button",{staticClass:"button",attrs:{type:"button"},on:{click:function(t){e.filter.user_id=0}}},[e._v("×")]):e._e()])],2)],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(56),n=a(149),i=!1;var o=function(e){i||a(141)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Premium.vue",t.a=r.exports},function(e,t){},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"cta-section",style:{"background-image":"url("+e.styles.bgPattern+"), linear-gradient( 45deg, rgb(255,125,144) 33%, rgb(255,173,111) 100%)"}},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.thumbnail,alt:"Dokan Lite"}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h2",[e._v(e._s(e.__("Convinced?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("With all the advance features you get it’s hard to resist buying Dokan Pro.","dokan-lite")))]),e._v(" "),a("a",{staticClass:"btn",attrs:{href:e.url,target:"_blank"}},[e._v("\n "+e._s(e.__("Upgrade to Pro","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,,function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-pro-features"},[a("div",{staticClass:"header-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/header-feature-thumb@2x.png",alt:e.__("Upgrade to Dokan Pro!","dokan-lite"),title:e.__("Upgrade to Dokan Pro!","dokan-lite")}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h1",[e._v(e._s(e.__("Upgrade to Dokan Pro!","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Seems To Be Convinced, You Need More Out Of Your Marketplace","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")]),e._v(" "),a("router-link",{staticClass:"button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)]),e._v(" "),a("div",{staticClass:"service-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Why Upgrade","dokan-lite")))]),e._v(" "),a("div",{staticClass:"service-list"},e._l(e.services,function(t){return a("div",{staticClass:"service-box"},[a("div",{staticClass:"service-thumb"},[a("img",{attrs:{src:t.thumbnail,alt:t.title,title:t.title}})]),e._v(" "),a("div",{staticClass:"service-detail"},[a("h3",{staticClass:"title"},[e._v(e._s(t.title))])])])}),0),e._v(" "),a("a",{staticClass:"btn",attrs:{href:"https://wedevs.com/dokan/features/",target:"_blank"}},[e._v("\n "+e._s(e.__("And Many More","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])]),e._v(" "),a("div",{staticClass:"comparison-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Comparison With Dokan PRO","dokan-lite")))]),e._v(" "),a("div",{staticClass:"comparison-area"},[a("div",{staticClass:"compare-box dokan-lite"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-lite-logo@2x.png",alt:"Dokan Lite"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.lite},["available"===t.compare.lite?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)]),e._v(" "),a("div",{staticClass:"compare-box dokan-pro"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-pro-logo@2x.png",alt:"Dokan Pro"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.pro},["available"===t.compare.pro?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)])])]),e._v(" "),a("div",{staticClass:"pricing-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("The Packages We Provide","dokan-lite")))]),e._v(" "),a("div",{staticClass:"pricing-wrapper"},[e._m(0),e._v(" "),e._l(e.modules,function(t){return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"},[a("a",{staticClass:"module-name",attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.title))])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.starter.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.starter.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.starter.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col popular"},["numeric"===t.professional.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.professional.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.professional.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.business.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.business.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.business.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.enterprise.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.enterprise.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.enterprise.value,alt:""}})])])])}),e._v(" "),a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn starter",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15316&attribute_pa_license=starter",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("a",{staticClass:"buy-btn professional",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15314&attribute_pa_license=professional",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn business",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15315&attribute_pa_license=business",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn enterprise",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=103829&attribute_pa_license=enterprise",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])])])],2)]),e._v(" "),a("div",{staticClass:"payment-section"},[a("div",{staticClass:"guarantee-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.payment.guaranteeThumbnail,alt:"Dokan"}})]),e._v(" "),a("div",{staticClass:"guarantee-detail"},[a("h2",[e._v(e._s(e.__("14 Days Money Back Guarantee","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("After successful purchase, you will be eligible for conditional refund","dokan-lite")))]),e._v(" "),a("a",{attrs:{href:e.payment.termsPolicyUrl,target:"_blank"}},[a("img",{attrs:{src:e.payment.viewIcon,alt:"Dokan"}}),e._v(" "+e._s(e.__("Terms & Condition Applied","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"payment-area"},[a("h3",[e._v(e._s(e.__("Payment Options:","dokan-lite")))]),e._v(" "),a("div",{staticClass:"option"},[a("img",{attrs:{src:e.payment.thumbnail,alt:"Credit Card"}})])])]),e._v(" "),a("div",{staticClass:"testimonial-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("People We Have Helped","dokan-lite")))]),e._v(" "),a("div",{staticClass:"testimonial-wrapper"},[a("slick",{ref:"slick",attrs:{options:e.slickOptions}},e._l(e.testimonials,function(t){return a("div",{staticClass:"testimonial-box"},[a("div",{staticClass:"profile-pic"},[a("img",{attrs:{src:t.pic,alt:""}})]),e._v(" "),a("div",{staticClass:"content-detail",style:{"background-image":"url("+e.asstesUrl+"/images/premium/quote-icon.png)"}},[a("h4",[e._v(e._s(t.name))]),e._v(" "),a("span",[e._v(e._s(t.designation))]),e._v(" "),a("p",[e._v(e._s(t.content))])])])}),0)],1),e._v(" "),a("p",{domProps:{innerHTML:e._s(e.sprintf("%s <a href='%s' target='_blank'>%s</a> %s",e.__("We are proud to say the official","dokan-lite"),"https://themes.getbootstrap.com/","Bootstrap theme marketplace",e.__("is built using Dokan","dokan-lite")))}})]),e._v(" "),a("ProCta")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name starter"},[e._v("Starter")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("149")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("div",{staticClass:"plan-name professional"},[e._v("Professional")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("249")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name business"},[e._v("Business")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("499")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name enterprise"},[e._v("Enterprise")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("999")]),e._v(" "),a("span",[e._v("/year")])])])])}]};t.a=n},function(e,t,a){"use strict";var s=a(59),n=a(152),i=!1;var o=function(e){i||a(151)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Help.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-help-page"},[a("h1",[e._v(e._s(e.__("Help","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),null!==e.docs?a("div",{staticClass:"section-wrapper"},e._l(e.docs,function(t,s){return a("postbox",{key:s,attrs:{title:t.title}},[a("ul",e._l(t.questions,function(t){return a("li",[a("span",{staticClass:"dashicons dashicons-media-text"}),e._v(" "),a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_medium=dokan-help-page",target:"_blank"}},[e._v(e._s(t.title))])])}),0)])}),1):a("div",{staticClass:"loading"},[a("loading")],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(60),n=a(155),i=!1;var o=function(e){i||a(154)},r=a(0)(s.a,n.a,!1,o,"data-v-254fdb80",null);r.options.__file="src/admin/pages/ChangeLog.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-help-page"},[a("div",{staticClass:"section-wrapper"},[a("div",{staticClass:"dokan-notice"},[a("h2"),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner")],1),e._v(" "),a("div",{staticClass:"change-log",class:e.hasPro?"pro-change-log":"lite-change-log",attrs:{id:"change-log"}},[a("h3",[e._v(e._s(e.__("Dokan Changelog","dokan-lite")))]),e._v(" "),e.hasPro?a("div",{staticClass:"switch-button-wrap"},[a("transition-group",{attrs:{name:"fade"}},[a("span",{key:1,staticClass:"active",style:e.isActivePackage("pro")?"right: 0":"left: 0"}),e._v(" "),a("button",{key:2,staticClass:"switch-button lite",class:{"active-case":e.isActivePackage("lite")},on:{click:function(t){return e.switchPackage("lite")}}},[e._v(e._s(e.__("Lite","dokan-lite")))]),e._v(" "),a("button",{key:3,staticClass:"switch-button pro",class:{"active-case":e.isActivePackage("pro")},on:{click:function(t){return e.switchPackage("pro")}}},[e._v(e._s(e.__("PRO","dokan-lite")))])])],1):e._e(),e._v(" "),e.loading?a("div",{staticClass:"loading"},[a("loading")],1):a("div",{staticClass:"jump-version"},[a("p",[e._v(e._s(e.__("Jump to version","dokan-lite"))+"... "),a("span",{staticClass:"dashicons dashicons-arrow-down-alt2"})]),e._v(" "),a("div",{staticClass:"version-menu"},[a("div",{staticClass:"version-dropdown"},[a("ul",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("lite"),expression:"isActivePackage( 'lite' )"}]},e._l(e.lite_versions,function(t,s){return a("li",{class:{current:e.isCurrentVersion("lite-"+s)},on:{click:function(t){return e.jumpVersion("lite-"+s)}}},[e._v("\n "+e._s(t.version)+"\n "),0===s?a("span",[e._v("("+e._s(e.__("Latest","dokan-lite"))+")")]):e._e(),e._v(" "),e.isCurrentVersion("lite-"+s)&&0!==s?a("span",[e._v("("+e._s(e.__("Current","dokan-lite"))+")")]):e._e()])}),0),e._v(" "),a("ul",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("pro"),expression:"isActivePackage( 'pro' )"}]},e._l(e.pro_versions,function(t,s){return a("li",{class:{current:e.isCurrentVersion("pro-"+s)},on:{click:function(t){return e.jumpVersion("pro-"+s)}}},[e._v("\n "+e._s(t.version)+"\n "),0===s?a("span",[e._v("("+e._s(e.__("Latest","dokan-lite"))+")")]):e._e(),e._v(" "),e.isCurrentVersion("pro-"+s)&&0!==s?a("span",[e._v("("+e._s(e.__("Current","dokan-lite"))+")")]):e._e()])}),0)])])])]),e._v(" "),a("div",{staticClass:"version-list"},[e._l(e.lite_versions,function(t,s){return a("div",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("lite"),expression:"isActivePackage( 'lite' )"}],staticClass:"version",class:0===s?"latest-version":"old-version",attrs:{id:"lite-"+s}},[a("div",{staticClass:"version-number"},[a("h4",[e._v(e._s(t.version))]),e._v(" "),a("p",[e._v(e._s(e.formatReleaseDate(t.released))+" "),0===s?a("label",[e._v(e._s(e.__("Latest","dokan-lite")))]):e._e()])]),e._v(" "),a("div",{staticClass:"card-version",style:e.isCurrentVersion("lite-"+s)?e.activeVersionBorder:""},[a("transition-group",{attrs:{name:"slide",tag:"div"}},e._l(t.changes,function(t,n,i){return 0===s||i<1||e.isOpenVersion("lite-"+s)?a("div",{key:"index-"+i,staticClass:"feature-list"},[a("span",{staticClass:"feature-badge",class:e.badgeClass(n)},[e._v(e._s(n))]),e._v(" "),e._l(t,function(t,n){return 0===s||n<2||e.isOpenVersion("lite-"+s)?a("div",{staticClass:"feature"},[a("h5",[e._v(e._s(t.title))]),e._v(" "),a("div",{domProps:{innerHTML:e._s(t.description)}})]):e._e()})],2):e._e()}),0),e._v(" "),0!==s&&Object.keys(t.changes).length>1?a("div",{staticClass:"continue-reading"},[a("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.toggleReading("lite-"+s)}}},[e._v(e._s(e.isOpenVersion("lite-"+s)?e.__("View Less...","dokan-lite"):e.__("Continue reading...","dokan-lite")))])]):e._e()],1)])}),e._v(" "),e._l(e.pro_versions,function(t,s){return a("div",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("pro"),expression:"isActivePackage( 'pro' )"}],staticClass:"version",class:0===s?"latest-version":"old-version",attrs:{id:"pro-"+s}},[a("div",{staticClass:"version-number"},[a("h4",[e._v(e._s(t.version))]),e._v(" "),a("p",[e._v(e._s(e.formatReleaseDate(t.released))+" "),0===s?a("label",[e._v(e._s(e.__("Latest","dokan-lite")))]):e._e()])]),e._v(" "),a("div",{staticClass:"card-version",style:e.isCurrentVersion("pro-"+s)?e.activeVersionBorder:""},[a("transition-group",{attrs:{name:"slide",tag:"div"}},e._l(t.changes,function(t,n,i){return 0===s||i<1||e.isOpenVersion("pro-"+s)?a("div",{key:"index-"+i,staticClass:"feature-list"},[a("span",{staticClass:"feature-badge",class:e.badgeClass(n)},[e._v(e._s(n))]),e._v(" "),e._l(t,function(t,n){return 0===s||n<2||e.isOpenVersion("pro-"+s)?a("div",{staticClass:"feature"},[a("h5",[e._v(e._s(t.title))]),e._v(" "),a("div",{domProps:{innerHTML:e._s(t.description)}})]):e._e()})],2):e._e()}),0),e._v(" "),0!==s&&Object.keys(t.changes).length>1?a("div",{staticClass:"continue-reading"},[a("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.toggleReading("pro-"+s)}}},[e._v(e._s(e.isOpenVersion("pro-"+s)?e.__("View Less...","dokan-lite"):e.__("Continue reading...","dokan-lite")))])]):e._e()],1)])})],2)]),e._v(" "),a("button",{staticClass:"scroll-to-top",style:e.scrollPosition>300?"opacity: 1; visibility: visible":"",on:{click:e.scrollTop}},[a("span",{staticClass:"dashicons dashicons-arrow-up-alt"})])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(61),n=a(193),i=!1;var o=function(e){i||a(157)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Settings.vue",t.a=r.exports},function(e,t){},,function(e,t,a){"use strict";var s=a(62),n=a(189),i=!1;var o=function(e){i||a(160)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Fields.vue",t.a=r.exports},function(e,t){},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var s=a(73),n=a(186),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/SocialFields.vue",t.a=i.exports},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("fieldset",[a("div",{staticClass:"html_contents"},[a("h3",{staticClass:"field_heading",attrs:{scope:"row"}},[e._v("\n "+e._s(e.fieldData.label)+"\n "),e.fieldData.tooltip?a("span",[a("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.fieldData.tooltip,expression:"fieldData.tooltip"}],staticClass:"dashicons dashicons-editor-help tips",attrs:{title:e.fieldData.tooltip}})]):e._e()]),e._v(" "),a("p",{staticClass:"field_desc",domProps:{innerHTML:e._s(e.fieldData.desc)}})]),e._v(" "),e.fieldData.url||"html"!==e.fieldData.type?a("div",{staticClass:"fields",class:["radio"===e.fieldData.type?"radio_fields":""]},[e.fieldData.url?a("input",{staticClass:"regular-text large",attrs:{disabled:"",type:"text"},domProps:{value:e.fieldData.url}}):e._e(),e._v(" "),"checkbox"===e.fieldData.type&&"text"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text large",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=!!s.checked;if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}):"radio"===e.fieldData.type&&"text"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text large",attrs:{type:"radio"},domProps:{checked:e._q(e.fieldValue[e.fieldData.name],null)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,null)}}}):"text"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text large",attrs:{type:e.fieldData.type},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}):e._e(),e._v(" "),"textarea"===e.fieldData.type?a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"large",domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}):e._e(),e._v(" "),"radio"===e.fieldData.type?e._l(e.fieldData.options,function(t,s){return a("label",{key:s,class:e.isSocialOptionChecked(s)?"checked":""},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "),"checkbox"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{name:s,type:"checkbox"},domProps:{value:s,checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],s)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],n=t.target,i=!!n.checked;if(Array.isArray(a)){var o=s,r=e._i(a,o);n.checked?r<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([o])):r>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.fieldValue,e.fieldData.name,i)}}}):"radio"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{name:s,type:"radio"},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{name:s,type:e.fieldData.type},domProps:{value:s,value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v("\n "+e._s(t)+"\n ")])}):e._e()],2):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(74),n=a(188),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/FieldHeading.vue",t.a=i.exports},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"field_data"},[a("h3",{staticClass:"field_heading",attrs:{scope:"row"}},[e._v("\n "+e._s(e.fieldData.label)+"\n "),e.fieldData.icon_class?a("span"):e._e(),e._v(" "),e.fieldData.tooltip||e.fieldData.field_icon?a("span",[a("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.fieldData.tooltip?e.fieldData.tooltip:e.fieldData.field_icon,expression:"fieldData.tooltip ? fieldData.tooltip : fieldData.field_icon"}],staticClass:"tips",class:[{"dashicons dashicons-editor-help":e.fieldData.tooltip},{"fas fa-exclamation-triangle":e.fieldData.field_icon}],attrs:{title:e.fieldData.tooltip?e.fieldData.tooltip:e.fieldData.field_icon}})]):e._e()]),e._v(" "),a("p",{staticClass:"field_desc",domProps:{innerHTML:e._s(e.fieldData.desc)}})])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.shouldShow?a("div",{class:[e.id,"dokan-settings-field-type-"+e.fieldData.type]},["sub_section"===e.fieldData.type?[a("div",{staticClass:"dokan-settings-sub-section",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("h3",{staticClass:"sub-section-title"},[e._v(e._s(e.fieldData.label))]),e._v(" "),a("p",{staticClass:"sub-section-description"},[e._v("\n "+e._s(e.fieldData.description)+"\n ")])])]:e._e(),e._v(" "),e.containCommonFields(e.fieldData.type)?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},["checkbox"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"checkbox"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=!!s.checked;if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}):"radio"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"radio"},domProps:{checked:e._q(e.fieldValue[e.fieldData.name],null)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,null)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:e.fieldData.type||"text"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"number"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{type:"number",min:e.fieldData.min,max:e.fieldData.max,step:e.fieldData.step,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"price"===e.fieldData.type&&e.allSettingsValues.dokan_selling&&"combine"!==e.allSettingsValues.dokan_selling.commission_type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:{wc_input_decimal:"percentage"==e.allSettingsValues.dokan_selling.commission_type,wc_input_price:"flat"==e.allSettingsValues.dokan_selling.commission_type},attrs:{type:"text",min:e.fieldData.min,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"combine"===e.fieldData.type&&e.haveCondition(e.fieldData)&&"show"==e.fieldData.condition.type&&e.checkConditionLogic(e.fieldData,e.fieldValue)?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field combine_fields"},[a("div",{staticClass:"percent_fee"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.percent_fee.name],expression:"fieldValue[fieldData.fields.percent_fee.name]"}],staticClass:"wc_input_decimal regular-text medium",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][percent_fee]",name:e.sectionId+"["+e.fieldData.fields.percent_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.percent_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.percent_fee.name,t.target.value)}}}),e._v("\n "+e._s("%")+"\n ")]),e._v(" "),a("div",{staticClass:"fixed_fee"},[e._v("\n "+e._s("+")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.fixed_fee.name],expression:"fieldValue[fieldData.fields.fixed_fee.name]"}],staticClass:"wc_input_price regular-text medium",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][fixed_fee]",name:e.sectionId+"["+e.fieldData.fields.fixed_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.fixed_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.fixed_fee.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.fields.percent_fee.name)&&e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.__("Both percentage and fixed fee is required.","dokan-lite"))+"\n ")]):e.hasError(e.fieldData.fields.percent_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.percent_fee.label))+"\n ")]):e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.fixed_fee.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"textarea"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",attrs:{type:"textarea",rows:e.fieldData.rows,cols:e.fieldData.cols,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"switcher"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("switches",{attrs:{enabled:"on"===e.checked,value:"isChecked"},on:{input:e.onToggleSwitch}})],1)])],1),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"multicheck"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field multicheck_fields"},[e._l(e.fieldData.options,function(t,s){return[a("div",{key:s},[e._v("\n "+e._s(t)+"\n "),a("switches",{attrs:{enabled:e.isSwitchOptionChecked(s),value:s},on:{input:e.setCheckedValue}})],1)]})],2)],1),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"select"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[e.fieldData.grouped?a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular medium",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:"",disabled:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,s){return a("optgroup",{key:s,attrs:{label:t.group_label}},e._l(t.group_values,function(t,s){return a("option",{key:s,domProps:{value:t.value,innerHTML:e._s(t.label)}})}),0)})],2):a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular medium",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,s){return a("option",{key:s,domProps:{value:s,innerHTML:e._s(t)}})})],2),e._v(" "),e.fieldData.refresh_options?a("RefreshSettingOptions",{attrs:{field:e.fieldData,section:e.sectionId,"toggle-loading-state":e.toggleLoadingState}}):e._e()],1)],1),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"file"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field add_files"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{staticClass:"button wpsa-browse",attrs:{type:"button",value:"Choose File"},on:{click:function(t){return t.preventDefault(),e.$emit("openMedia",{sectionId:e.sectionId,name:e.fieldData.name},t)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium wpsa-url",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"color"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("color-picker",{attrs:{itemKey:e.fieldData.name,customData:e.singleColorPicker},on:{"custom-change":function(t){return e.setCustomColor(t,e.fieldData.name)},toggleColorPicker:e.toggleColorPicker},model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}})],1)],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"html"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"warning"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("div",{staticClass:"field_data"},[a("h3",{staticClass:"field_heading dokan-setting-warning error",attrs:{scope:"row"}},[a("span",{staticClass:"dokan-setting-warning-label"},[a("span",{staticClass:"dashicons dashicons-warning"}),e._v("\n "+e._s(e.fieldData.label)+"\n ")]),e._v(" "),a("span",{staticClass:"field_desc",domProps:{innerHTML:e._s(e.fieldData.desc)}})])])])])]:e._e(),e._v(" "),"radio"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field radio_fields"},[e._l(e.fieldData.options,function(t,s){return[a("label",{key:s,class:e.isSwitchOptionChecked(s)?"checked":"",attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:s,id:e.sectionId+"["+e.fieldData.name+"]["+s+"]"},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v("\n "+e._s(t)+"\n ")])]})],2)],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"wpeditor"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field editor_field"},[a("text-editor",{domProps:{innerHTML:e._s(e.fieldData.default)},model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}})],1)])]:e._e(),e._v(" "),"repeatable"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field repeatable_fields"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.repeatableItem[e.fieldData.name],expression:"repeatableItem[fieldData.name]"}],staticClass:"regular-text medium",attrs:{type:"text"},domProps:{value:e.repeatableItem[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.repeatableItem,e.fieldData.name,t.target.value)}}}),e._v(" "),a("a",{staticClass:"button dokan-repetable-add-item-btn",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.addItem(e.fieldData.type,e.fieldData.name)}}},[a("span",{staticClass:"dashicons dashicons-plus-alt2"})])])],1),e._v(" "),a("ul",{staticClass:"dokan-settings-repeatable-list"},[e._l(e.fieldValue[e.fieldData.name],function(t,s){return[e.fieldValue[e.fieldData.name]?a("li",{key:s},[e._v("\n "+e._s(t.value)+"\n "),t.must_use?e._e():a("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(t){return t.preventDefault(),e.removeItem(s,e.fieldData.name)}}}),e._v(" "),a("span",{staticClass:"repeatable-item-description",domProps:{innerHTML:e._s(t.desc)}})]):e._e()]})],2)])]:e._e(),e._v(" "),"radio_image"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field radio-image-container"},[e._l(e.fieldData.options,function(t,s){return[a("label",{key:s,staticClass:"radio-image",class:{active:e.fieldValue[e.fieldData.name]===s,"not-active":e.fieldValue[e.fieldData.name]!==s}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:e.fieldData.name},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "),a("span",{staticClass:"current-option-indicator"},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v("\n "+e._s(e.__("Active","dokan-lite"))+"\n ")]),e._v(" "),a("img",{attrs:{src:t}}),e._v(" "),a("span",{staticClass:"active-option"},[a("button",{staticClass:"button button-primary button-hero",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.fieldValue[e.fieldData.name]=s}}},[e._v("\n "+e._s(e.__("Select","dokan-lite"))+"\n ")])])])]})],2)])]:e._e(),e._v(" "),"gmap"!==e.fieldData.type||e.hideMap?e._e():[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field gmap-field"},[a("input",{attrs:{type:"hidden",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.mapLocation}}),e._v(" "),"mapbox"===e.mapApiSource?a("Mapbox",{attrs:{width:"100%",height:"300px",location:e.mapLocation,accessToken:e.mapboxAccessToken},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}}):a("GoogleMaps",{attrs:{location:e.mapLocation,apiKey:e.googleMapApiKey},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}})],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])],e._v(" "),"social"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field scl_fields"},[a("div",{staticClass:"scl_header"},[a("div",{staticClass:"scl_contents"},[a("div",{staticClass:"scl_icon"},[a("img",{attrs:{src:e.fieldData.icon_url,alt:e.fieldData.label}})]),e._v(" "),a("p",{staticClass:"scl_desc"},[e._v(e._s(e.fieldData.social_desc))])]),e._v(" "),a("div",{staticClass:"expand_btn",on:{click:e.expandSocial}},[a("span",{staticClass:"dashicons",class:[this.expandSocials?"dashicons-arrow-up-alt2":"dashicons-arrow-down-alt2"]})])]),e._v(" "),e._l(e.fieldData,function(t,s){return[e.expandSocials&&t.social_field?a("div",{key:s,staticClass:"scl_info"},[a("div",{class:[{scl_html:"html"===t.type},{scl_text:"html"!==t.type},t.content_class?t.content_class:""]},[a("SocialFields",{attrs:{fieldData:t,fieldValue:e.fieldValue}})],1)]):e._e()]})],2)])]:e._e(),e._v(" "),e.customFieldComponents?e._l(e.customFieldComponents,function(t,s){return a(t,{key:s,tag:"component",attrs:{sectionId:e.sectionId,fieldData:e.fieldData,fieldValue:e.fieldValue,assetsUrl:e.dokanAssetsUrl,validationErrors:e.validationErrors,toggleLoadingState:e.toggleLoadingState},on:{"some-event":e.thisSomeEvent}})}):e._e()],2):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(75),n=a(192),i=!1;var o=function(e){i||a(191)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/SettingsBanner.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-settings-banner"}},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Settings Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("h1",[e._v(e._s(e.__("Looking for Coupons, Variable Products, SEO or Shipping?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Unlock these awesome frontend features with Dokan PRO","dokan-lite")))]),e._v(" "),a("a",{staticClass:"button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("router-link",{staticClass:"button custom-button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"dokan-settings"},[a("h2",{staticStyle:{"margin-bottom":"15px"}},[e._v(e._s(e.__("Settings","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),e.isSaved?a("div",{staticClass:"settings-error notice is-dismissible",class:{updated:e.isUpdated,error:!e.isUpdated},attrs:{id:"setting-message_updated"}},[a("p",[a("strong",{domProps:{innerHTML:e._s(e.message)}})]),e._v(" "),a("button",{staticClass:"notice-dismiss",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.isSaved=!1}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Dismiss this notice.","dokan-lite")))])])]):e._e(),e._v(" "),a("div",{ref:"settingsWrapper",staticClass:"dokan-settings-wrap"},[a("div",{staticClass:"nav-tab-wrapper"},[a("div",{staticClass:"nab-section"},[a("div",{staticClass:"search-box"},[a("label",{staticClass:"dashicons dashicons-search",attrs:{for:"dokan-admin-search"}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],ref:"searchInSettings",staticClass:"dokan-admin-search-settings",attrs:{type:"text",id:"dokan-admin-search",placeholder:e.__("Search e.g. vendor","dokan-lite")},domProps:{value:e.searchText},on:{input:[function(t){t.target.composing||(e.searchText=t.target.value)},e.searchInSettings]}}),e._v(" "),""!==e.searchText?a("span",{staticClass:"dashicons dashicons-no-alt",on:{click:function(t){return t.preventDefault(),e.clearSearch.apply(null,arguments)}}}):e._e()]),e._v(" "),e._l(e.settingSections,function(t){return[a("div",{key:t.id,class:["nav-tab",e.currentTab===t.id?"nav-tab-active":""],on:{click:function(a){return a.preventDefault(),e.changeTab(t)}}},[a("img",{attrs:{src:t.icon_url,alt:t.settings_title}}),e._v(" "),a("div",{staticClass:"nav-content"},[a("div",{staticClass:"nav-title"},[e._v(e._s(t.title))]),e._v(" "),a("div",{staticClass:"nav-description"},[e._v(e._s(t.description))])])])]})],2)]),e._v(" "),a("div",{staticClass:"metabox-holder"},[e._l(e.settingSections,function(t){return e.currentTab===t.id?a("fieldset",{staticClass:"settings-header"},[a("div",{staticClass:"settings-content"},[a("h2",{staticClass:"settings-title"},[e._v(e._s(t.settings_title))]),e._v(" "),a("p",{staticClass:"settings-description"},[e._v(e._s(t.settings_description))])]),e._v(" "),t.document_link?a("div",{staticClass:"settings-document-button"},[a("a",{staticClass:"doc-link",attrs:{href:t.document_link,target:"_blank"}},[e._v(e._s(e.__("Documentation","dokan-lite")))])]):e._e()]):e._e()}),e._v(" "),e._l(e.settingFields,function(t,s){return e.isLoaded?[e.currentTab===s?a("div",{key:s,staticClass:"group",attrs:{id:s}},[a("form",{attrs:{method:"post",action:"options.php"}},[a("input",{attrs:{type:"hidden",name:"option_page"},domProps:{value:s}}),e._v(" "),a("input",{attrs:{type:"hidden",name:"action",value:"update"}}),e._v(" "),a("div",{staticClass:"form-table"},[a("div",{staticClass:"dokan-settings-fields"},e._l(t,function(t,n){return a("Fields",{key:n,attrs:{"section-id":s,id:n,"field-data":t,"field-value":e.settingValues[s],"all-settings-values":e.settingValues,errors:e.errors,validationErrors:e.validationErrors,"toggle-loading-state":e.toggleLoadingState,dokanAssetsUrl:e.dokanAssetsUrl},on:{openMedia:e.showMedia}})}),1)]),e._v(" "),a("p",{staticClass:"submit"},[a("input",{staticClass:"button button-primary",attrs:{type:"submit",name:"submit",id:"submit",value:"Save Changes"},on:{click:function(t){return t.preventDefault(),e.saveSettings(e.settingValues[s],s)}}})])])]):e._e()]:e._e()}),e._v(" "),a("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.__("Back to top","dokan-lite"),expression:"__( 'Back to top', 'dokan-lite' )"}],ref:"backToTop",staticClass:"back-to-top tips",attrs:{title:e.__("Back to top","dokan-lite")},on:{click:e.scrollToTop}},[a("img",{attrs:{src:e.dokanAssetsUrl+"/images/up-arrow.svg",alt:e.__("Dokan Back to Top Button","dokan-lite")}})])],2),e._v(" "),e.showLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e()])],1),e._v(" "),e.hasPro?e._e():a("SettingsBanner")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(76),n=a(199),i=!1;var o=function(e){i||a(195)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Vendors.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(77),n=a(198),i=!1;var o=function(e){i||a(197)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/AddVendor.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-vendor-edit"},[a("modal",{attrs:{title:e.title,width:"800px"},on:{close:e.closeModal}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("div",{staticClass:"tab-header"},[a("ul",{staticClass:"tab-list"},e._l(e.tabs,function(t,s){return a("li",{key:s,class:{"tab-title":!0,active:e.currentTab===t.name,last:"VendorPaymentFields"===t.name}},[a("div",{staticClass:"tab-link"},[a("a",{class:{first:"VendorAccountFields"===t.name},attrs:{href:"#"},on:{click:function(a){a.preventDefault(),e.currentTab=t.name}}},[a("span",{class:[t.icon]}),e._v("\n "+e._s(t.label)+"\n ")])])])}),0)]),e._v(" "),e.currentTab?a("div",{staticClass:"tab-contents"},[e.isLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),e.isLoading?e._e():a("transition",{attrs:{name:"component-fade",mode:"out-in"}},[a(e.currentTab,{tag:"component",attrs:{vendorInfo:e.store,errors:e.errors}})],1)],1):e._e()]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("button",{staticClass:"button button-primary button-hero",on:{click:e.createVendor}},[e._v(e._s("VendorPaymentFields"===e.currentTab?e.__("Create Vendor","dokan-lite"):this.nextBtn))])])])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"vendor-list"},[a("h1",{staticClass:"wp-heading-inline"},[e._v(e._s(e.__("Vendors","dokan-lite")))]),e._v(" "),a("button",{staticClass:"page-title-action",on:{click:function(t){return e.addNew()}}},[e._v(e._s(e.__("Add New","dokan-lite")))]),e._v(" "),e._l(e.dokanVendorHeaderArea,function(e,t){return a(e,{key:t,tag:"component"})}),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"all"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("All","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.all))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"approved"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"pending"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1)]),e._v(" "),a("search",{attrs:{title:e.__("Search Vendors","dokan-lite")},on:{searched:e.doSearch}}),e._v(" "),a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.vendors,actions:e.actions,actionColumn:"store_name","show-cb":e.showCb,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.currentPage,"action-column":e.actionColumn,"not-found":"No vendors found.","sort-by":e.sortBy,"sort-order":e.sortOrder,text:e.$root.listTableTexts()},on:{sort:e.sortCallback,pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction,searched:e.doSearch},scopedSlots:e._u([{key:"store_name",fn:function(t){return[a("img",{attrs:{src:t.row.gravatar,alt:t.row.store_name,width:"50"}}),e._v(" "),a("strong",[e.hasPro?a("router-link",{attrs:{to:"/vendors/"+t.row.id}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))])],1)]}},{key:"email",fn:function(t){return[a("a",{attrs:{href:"mailto:"+t.row.email}},[e._v(e._s(t.row.email))])]}},{key:"categories",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.categories.map(function(e){return e.name}).join(", "))+"\n ")]}},{key:"registered",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.registered).format("MMM D, YYYY"))+"\n ")]}},{key:"enabled",fn:function(t){return[a("switches",{attrs:{enabled:t.row.enabled,value:t.row.id},on:{input:e.onSwitch}})]}},{key:"row-actions",fn:function(t){return e._l(e.actions,function(s,n){return a("span",{class:s.key},[e.hasPro&&"edit"==s.key?a("router-link",{attrs:{to:{path:"vendors/"+t.row.id,query:{edit:"true"}}}},[e._v(e._s(s.label))]):e.hasPro||"edit"!=s.key?"products"==s.key?a("a",{attrs:{href:e.productUrl(t.row.id)}},[e._v(e._s(s.label))]):"orders"==s.key?a("a",{attrs:{href:e.ordersUrl(t.row.id)}},[e._v(e._s(s.label))]):"switch_to"==s.key?a("a",{attrs:{href:e.switchToUrl(t.row)}},[e._v(e._s(s.label))]):a("a",{attrs:{href:"#"}},[e._v(e._s(s.label))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(s.label))]),e._v(" "),n!==e.actions.length-1?[e._v(" | ")]:e._e()],2)})}}])}),e._v(" "),e.loadAddVendor?a("add-vendor",{attrs:{"vendor-id":e.vendorId}}):e._e()],2)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(78),n=a(202),i=!1;var o=function(e){i||a(201)},r=a(0)(s.a,n.a,!1,o,"data-v-33b27104",null);r.options.__file="src/admin/pages/DummyData.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h1",[e._v(e._s(e.__("Import dummy data","dokan-lite")))]),e._v(" "),e.statusLoader?a("div",{staticClass:"dokan-importer-wrapper"},[e._m(0)]):a("div",{staticClass:"dokan-importer-wrapper"},[a("ol",{staticClass:"dokan-importer-progress-steps"},[a("li",{staticClass:"active"},[e._v(e._s(e.__("Import","dokan-lite")))]),e._v(" "),a("li",{class:e.done?"active":""},[e._v(e._s(e.__("Done!","dokan-lite")))])]),e._v(" "),""!=e.errorMsg?a("div",{staticClass:"error inline"},[a("p",[e._v(e._s(e.errorMsg))])]):e._e(),e._v(" "),e.done?a("div",{staticClass:"dokan-importer"},[a("section",{staticClass:"import-done"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"100",height:"100"}},[a("path",{attrs:{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z",fill:"#1BAC9E"}})]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("Import complete!","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"links"},[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"all"}},exact:""}},[e._v(e._s(e.__("View vendors","dokan-lite")))]),e._v("\n  \n "),a("a",{attrs:{href:e.getProductsPageUrl()}},[e._v(e._s(e.__("View products","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"dokan-importer-action"},[a("button",{staticClass:"cancel-btn dokan-import-continue-btn",class:e.loading?"is-busy":"",attrs:{disabled:e.loading},on:{click:e.clearAllDummyData}},[e._v(e._s(e.__("Clear dummy data","dokan-lite")))])])]):a("div",{staticClass:"dokan-importer"},[a("header",[a("h2",[e._v(e._s(e.__("Import dummy vendors and products","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("This tool allows you to import vendor and some products for vendors to your marketplace.","dokan-lite")))])]),e._v(" "),a("section",[a("div",[a("progress",{staticClass:"dokan-dummy-data-progress-bar",attrs:{max:"100"},domProps:{value:e.progress}})])]),e._v(" "),a("div",{staticClass:"dokan-importer-action"},[a("button",{staticClass:"dokan-import-continue-btn",class:e.loading?"is-loading":"",attrs:{disabled:e.loading},on:{click:e.importBtnHandler}},[e._v(e._s(e.__("Run the importer","dokan-lite")))])])])])])};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"dokan-importer"},[t("header",[t("span",{staticClass:"loader-title skeleton-loader"}),this._v(" "),t("span",{staticClass:"loader-description skeleton-loader"})]),this._v(" "),t("section",[t("div",[t("span",{staticClass:"loader-loader skeleton-loader"})])]),this._v(" "),t("div",{staticClass:"dokan-importer-action"},[t("span",{staticClass:"loader-btn skeleton-loader"})])])}]};t.a=n},function(e,t,a){"use strict";var s=a(80),n=a(205),i=!1;var o=function(e){i||a(204)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorCapabilities.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-vendor-capabilities"}},[a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")])])]),e._v(" "),a("div",{staticClass:"grid"},e._l(e.capabilityCards,function(t){return a("div",{staticClass:"col-6"},[a("div",{staticClass:"capability-card"},[a("div",{staticClass:"capability-image"},[a("img",{staticClass:"image",attrs:{src:t.image,alt:e.__("Dokan Capability","dokan-lite")}}),e._v(" "),a("div",{staticClass:"middle"},[a("div",{staticClass:"zoom",on:{click:function(a){return e.openPopup(t.image)}}},[a("div",{staticClass:"dashicons dashicons-search"})])])]),e._v(" "),a("p",{staticClass:"title"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"content"},[e._v(e._s(t.content))])])])}),0),e._v(" "),a("ProCta"),e._v(" "),e.showPopup?a("div",{attrs:{id:"dokan-capability-image-popup"},on:{click:e.closePopup}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"body"},[a("img",{attrs:{src:this.selectedCapabilityImage,alt:e.__("Dokan Capability","dokan-lite")}})])])]):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(81),n=a(211),i=!1;var o=function(e){i||a(207)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ProModules.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(82),n=a(210),i=!1;var o=function(e){i||a(209)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ModuleUpgradePopup.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-upgrade-to-pro-wrapper"}},[e.showPopup?a("div",{attrs:{id:"dokan-upgrade-popup"},on:{click:function(t){return t.target!==t.currentTarget?null:e.closePopup.apply(null,arguments)}}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"body"},[a("svg",{attrs:{width:"128",height:"109",viewBox:"0 0 128 109",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M127.502 37.5077C127.406 37.2181 127.141 37.0125 126.827 36.9851L122.568 36.6104L120.884 32.7907C120.76 32.5108 120.477 32.3296 120.163 32.3296C119.848 32.3296 119.566 32.5108 119.441 32.7914L117.757 36.6104L113.497 36.9851C113.184 37.0132 112.92 37.2181 112.823 37.5077C112.726 37.7972 112.815 38.1148 113.052 38.315L116.272 41.0508L115.322 45.1028C115.253 45.4008 115.372 45.7087 115.627 45.8874C115.764 45.9834 115.925 46.0323 116.087 46.0323C116.226 46.0323 116.364 45.9959 116.489 45.9239L120.163 43.7962L123.835 45.9239C124.104 46.0805 124.443 46.0662 124.697 45.8874C124.953 45.7082 125.072 45.4001 125.002 45.1028L124.053 41.0508L127.272 38.3155C127.509 38.1148 127.6 37.7978 127.502 37.5077Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M16.8209 38.1758C16.7105 37.8194 16.4076 37.5663 16.0492 37.5326L11.1816 37.0714L9.25677 32.3703C9.11485 32.0258 8.79162 31.8027 8.4325 31.8027C8.07338 31.8027 7.75015 32.0258 7.60823 32.3711L5.68343 37.0714L0.815005 37.5326C0.457297 37.5671 0.155176 37.8194 0.0441323 38.1758C-0.0669114 38.5321 0.0356399 38.923 0.306237 39.1693L3.98561 42.5365L2.90064 47.5236C2.82125 47.8903 2.95765 48.2694 3.24922 48.4893C3.40594 48.6074 3.5893 48.6676 3.7742 48.6676C3.93362 48.6676 4.09176 48.6228 4.23368 48.5341L8.4325 45.9155L12.6298 48.5341C12.9369 48.7269 13.3241 48.7094 13.615 48.4893C13.9067 48.2687 14.043 47.8895 13.9636 47.5236L12.8786 42.5365L16.558 39.17C16.8286 38.923 16.9319 38.5328 16.8209 38.1758Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M110.124 10.7456C110.062 10.5674 109.891 10.4409 109.69 10.424L106.952 10.1934L105.869 7.84286C105.789 7.67059 105.607 7.55908 105.405 7.55908C105.203 7.55908 105.022 7.67059 104.942 7.84326L103.859 10.1934L101.121 10.424C100.919 10.4413 100.749 10.5674 100.687 10.7456C100.624 10.9238 100.682 11.1192 100.834 11.2424L102.904 12.926L102.294 15.4195C102.249 15.6029 102.326 15.7924 102.49 15.9024C102.578 15.9614 102.681 15.9915 102.785 15.9915C102.875 15.9915 102.964 15.9691 103.044 15.9248L105.405 14.6155L107.766 15.9248C107.939 16.0212 108.157 16.0124 108.321 15.9024C108.485 15.7921 108.561 15.6025 108.517 15.4195L107.906 12.926L109.976 11.2427C110.128 11.1192 110.186 10.9241 110.124 10.7456Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M34.2322 8.63769C34.1701 8.45951 33.9998 8.33297 33.7982 8.31612L31.0601 8.08551L29.9774 5.73495C29.8976 5.56268 29.7158 5.45117 29.5138 5.45117C29.3118 5.45117 29.13 5.56268 29.0501 5.73535L27.9674 8.08551L25.2289 8.31612C25.0277 8.33337 24.8578 8.45951 24.7953 8.63769C24.7329 8.81586 24.7906 9.01129 24.9428 9.13448L27.0124 10.8181L26.4021 13.3116C26.3575 13.495 26.4342 13.6845 26.5982 13.7945C26.6863 13.8535 26.7895 13.8836 26.8935 13.8836C26.9832 13.8836 27.0721 13.8612 27.152 13.8169L29.5138 12.5076L31.8748 13.8169C32.0475 13.9133 32.2653 13.9045 32.429 13.7945C32.593 13.6842 32.6697 13.4946 32.625 13.3116L32.0147 10.8181L34.0844 9.13481C34.2366 9.01129 34.2947 8.8162 34.2322 8.63769Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M36.3471 79.5168C36.3023 79.3832 36.1792 79.2883 36.0337 79.2757L34.0562 79.1027L33.2742 77.3398C33.2166 77.2106 33.0853 77.127 32.9394 77.127C32.7935 77.127 32.6622 77.2106 32.6045 77.3401L31.8226 79.1027L29.8448 79.2757C29.6994 79.2886 29.5767 79.3832 29.5316 79.5168C29.4865 79.6505 29.5282 79.797 29.6381 79.8894L31.1328 81.1521L30.6921 83.0223C30.6598 83.1598 30.7152 83.3019 30.8337 83.3844C30.8973 83.4287 30.9718 83.4513 31.0469 83.4513C31.1117 83.4513 31.1759 83.4345 31.2336 83.4012L32.9394 82.4192L34.6445 83.4012C34.7693 83.4735 34.9266 83.4669 35.0448 83.3844C35.1633 83.3017 35.2186 83.1595 35.1864 83.0223L34.7456 81.1521L36.2404 79.8897C36.3503 79.797 36.3923 79.6507 36.3471 79.5168Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M115.928 67.9221C115.883 67.7885 115.76 67.6936 115.615 67.6809L113.637 67.508L112.855 65.7451C112.798 65.6159 112.666 65.5322 112.52 65.5322C112.375 65.5322 112.243 65.6159 112.186 65.7454L111.404 67.508L109.426 67.6809C109.281 67.6939 109.158 67.7885 109.113 67.9221C109.068 68.0557 109.109 68.2023 109.219 68.2947L110.714 69.5574L110.273 71.4276C110.241 71.5651 110.296 71.7072 110.415 71.7897C110.478 71.834 110.553 71.8566 110.628 71.8566C110.693 71.8566 110.757 71.8397 110.815 71.8065L112.52 70.8245L114.226 71.8065C114.35 71.8788 114.508 71.8722 114.626 71.7897C114.744 71.707 114.8 71.5648 114.767 71.4276L114.327 69.5574L115.821 68.295C115.931 68.2023 115.973 68.056 115.928 67.9221Z",fill:"#FFC107"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter0_d_1098_419)"}},[a("circle",{attrs:{cx:"65.5727",cy:"47.0224",r:"35.0473",fill:"url(#paint0_linear_1098_419)"}})]),e._v(" "),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M73.2509 40.3179C73.2509 35.8737 69.6482 32.271 65.204 32.271C60.7598 32.271 57.1571 35.8737 57.1571 40.3179V44.2984H56.5271C54.9772 44.2984 53.7207 45.5549 53.7207 47.1048V58.5595C53.7207 60.1094 54.9772 61.3659 56.5271 61.3659H74.11C75.6599 61.3659 76.9164 60.1094 76.9164 58.5595V47.1048C76.9164 45.5549 75.6599 44.2984 74.11 44.2984H59.3335V40.4324L59.3345 40.3196C59.3947 37.1295 61.9995 34.5619 65.204 34.5619C68.4462 34.5619 71.0745 37.1902 71.0745 40.4324L71.0745 40.5756H73.2509V40.3179ZM65.3185 50.9994C66.4098 50.9994 67.2944 51.884 67.2944 52.9753C67.2944 53.9393 66.6042 54.742 65.6909 54.9162L65.6908 57.7863C65.6908 57.9919 65.5241 58.1585 65.3185 58.1585C65.1129 58.1585 64.9462 57.9919 64.9462 57.7863L64.9464 54.9163C64.033 54.7422 63.3426 53.9394 63.3426 52.9753C63.3426 51.884 64.2272 50.9994 65.3185 50.9994Z",fill:"white"}}),e._v(" "),a("defs",[a("filter",{attrs:{id:"filter0_d_1098_419",x:"11.5524",y:"0.90753",width:"108.041",height:"108.041",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"7.90541"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"9.48649"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.743854 0 0 0 0 0.925 0 0 0 0 0.850411 0 0 0 1 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1098_419"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1098_419",result:"shape"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint0_linear_1098_419",x1:"65.5727",y1:"11.9751",x2:"65.5727",y2:"82.0697",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#01CB70"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#1CE385"}})],1)],1)]),e._v(" "),a("p",{staticClass:"unlock"},[e._v(e._s(e.__("Unlock","dokan-lite")))]),e._v(" "),a("h1",[e._v(e._s(e.__("20+ Modules","dokan-lite")))]),e._v(" "),a("p",{staticClass:"text-brand"},[e._v(e._s(e.__("with Dokan Premium Plans","dokan-lite")))]),e._v(" "),a("p",{staticClass:"upgrade-text",domProps:{innerHTML:e._s(e.sprintf(e.__("We’re sorry %s Dokan Modules are not available on %s. Please upgrade to a PRO plan to unlock the modules of your choice.","dokan-lite"),"<br>","<strong>Dokan Lite</strong>"))}}),e._v(" "),a("a",{staticClass:"upgrade-button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("div",{staticClass:"promo-card"},[a("svg",{attrs:{width:"318",height:"181",viewBox:"0 0 318 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("rect",{attrs:{width:"318",height:"181",rx:"10",fill:"url(#paint0_linear_1061_678)"}}),e._v(" "),a("path",{attrs:{d:"M69.7623 78.1796C19.6582 89.3268 8.33272 60.917 0 47.3061V10C0 4.47715 4.47714 0 9.99999 0H308C313.523 0 318 4.47716 318 10V122C287.77 58.7592 226.42 82.2094 166.516 91.1265C119.684 98.098 114.527 68.2204 69.7623 78.1796Z",fill:"#7867FF","fill-opacity":"0.1"}}),e._v(" "),a("path",{attrs:{d:"M50.6582 112H54.5068C56.6055 112 57.8496 110.968 57.8496 109.238V109.225C57.8496 107.926 56.9951 107.003 55.6484 106.832V106.723C56.5986 106.552 57.3506 105.622 57.3506 104.604V104.59C57.3506 103.086 56.2432 102.136 54.4316 102.136H50.6582V112ZM54.1719 103.223C55.3955 103.223 56.1064 103.804 56.1064 104.802V104.815C56.1064 105.854 55.3477 106.388 53.8574 106.388H51.8887V103.223H54.1719ZM54.2061 107.447C55.7783 107.447 56.585 108.028 56.585 109.163V109.177C56.585 110.312 55.8057 110.913 54.3223 110.913H51.8887V107.447H54.2061ZM62.7373 112.13C64.8359 112.13 66.1348 110.681 66.1348 108.322V108.309C66.1348 105.943 64.8359 104.501 62.7373 104.501C60.6387 104.501 59.3398 105.943 59.3398 108.309V108.322C59.3398 110.681 60.6387 112.13 62.7373 112.13ZM62.7373 111.077C61.3428 111.077 60.5566 110.059 60.5566 108.322V108.309C60.5566 106.565 61.3428 105.554 62.7373 105.554C64.1318 105.554 64.918 106.565 64.918 108.309V108.322C64.918 110.059 64.1318 111.077 62.7373 111.077ZM67.9805 112H69.1699V107.639C69.1699 106.347 69.915 105.554 71.0908 105.554C72.2666 105.554 72.8135 106.189 72.8135 107.516V112H74.0029V107.229C74.0029 105.479 73.0801 104.501 71.4258 104.501C70.3389 104.501 69.6484 104.959 69.2793 105.738H69.1699V104.631H67.9805V112ZM78.624 112.13C79.7041 112.13 80.4492 111.686 80.8115 110.899H80.9209V112H82.1104V104.631H80.9209V108.992C80.9209 110.284 80.2305 111.077 78.9316 111.077C77.7559 111.077 77.2773 110.441 77.2773 109.115V104.631H76.0879V109.402C76.0879 111.146 76.9492 112.13 78.624 112.13ZM86.8613 112.13C88.5361 112.13 89.8145 111.221 89.8145 109.908V109.895C89.8145 108.842 89.1445 108.24 87.7568 107.905L86.6221 107.632C85.7539 107.42 85.3848 107.105 85.3848 106.606V106.593C85.3848 105.943 86.0273 105.492 86.9023 105.492C87.791 105.492 88.3652 105.896 88.5225 106.477H89.6914C89.5273 105.273 88.4541 104.501 86.9092 104.501C85.3438 104.501 84.168 105.424 84.168 106.647V106.654C84.168 107.714 84.79 108.315 86.1709 108.644L87.3125 108.917C88.2217 109.136 88.5977 109.484 88.5977 109.983V109.997C88.5977 110.667 87.8936 111.139 86.9023 111.139C85.959 111.139 85.3711 110.735 85.1729 110.12H83.9561C84.0928 111.337 85.2207 112.13 86.8613 112.13ZM92.6309 106.777C93.123 106.777 93.5195 106.374 93.5195 105.889C93.5195 105.396 93.123 105 92.6309 105C92.1455 105 91.7422 105.396 91.7422 105.889C91.7422 106.374 92.1455 106.777 92.6309 106.777ZM92.6309 112.068C93.123 112.068 93.5195 111.665 93.5195 111.18C93.5195 110.688 93.123 110.291 92.6309 110.291C92.1455 110.291 91.7422 110.688 91.7422 111.18C91.7422 111.665 92.1455 112.068 92.6309 112.068ZM99.9043 112H103.288C106.221 112 107.943 110.175 107.943 107.071V107.058C107.943 103.961 106.214 102.136 103.288 102.136H99.9043V112ZM101.135 110.893V103.243H103.206C105.394 103.243 106.686 104.665 106.686 107.071V107.085C106.686 109.484 105.407 110.893 103.206 110.893H101.135ZM112.954 112.13C115.053 112.13 116.352 110.681 116.352 108.322V108.309C116.352 105.943 115.053 104.501 112.954 104.501C110.855 104.501 109.557 105.943 109.557 108.309V108.322C109.557 110.681 110.855 112.13 112.954 112.13ZM112.954 111.077C111.56 111.077 110.773 110.059 110.773 108.322V108.309C110.773 106.565 111.56 105.554 112.954 105.554C114.349 105.554 115.135 106.565 115.135 108.309V108.322C115.135 110.059 114.349 111.077 112.954 111.077ZM118.266 112H119.455V109.204L120.146 108.534L122.907 112H124.404L120.979 107.728L124.192 104.631H122.75L119.564 107.851H119.455V101.705H118.266V112ZM127.617 112.13C128.608 112.13 129.381 111.699 129.846 110.913H129.955V112H131.145V106.955C131.145 105.424 130.14 104.501 128.342 104.501C126.77 104.501 125.648 105.28 125.457 106.436L125.45 106.477H126.64L126.646 106.456C126.838 105.882 127.419 105.554 128.301 105.554C129.401 105.554 129.955 106.046 129.955 106.955V107.625L127.843 107.755C126.127 107.857 125.156 108.616 125.156 109.929V109.942C125.156 111.282 126.216 112.13 127.617 112.13ZM126.373 109.915V109.901C126.373 109.17 126.865 108.773 127.986 108.705L129.955 108.582V109.252C129.955 110.305 129.073 111.098 127.863 111.098C127.009 111.098 126.373 110.66 126.373 109.915ZM133.318 112H134.508V107.639C134.508 106.347 135.253 105.554 136.429 105.554C137.604 105.554 138.151 106.189 138.151 107.516V112H139.341V107.229C139.341 105.479 138.418 104.501 136.764 104.501C135.677 104.501 134.986 104.959 134.617 105.738H134.508V104.631H133.318V112ZM145.582 112H151.57V110.893H146.812V102.136H145.582V112ZM154.018 103.209C154.469 103.209 154.838 102.84 154.838 102.389C154.838 101.938 154.469 101.568 154.018 101.568C153.566 101.568 153.197 101.938 153.197 102.389C153.197 102.84 153.566 103.209 154.018 103.209ZM153.416 112H154.605V104.631H153.416V112ZM159.466 112.055C159.698 112.055 159.924 112.027 160.156 111.986V110.975C159.938 110.995 159.821 111.002 159.609 111.002C158.844 111.002 158.543 110.653 158.543 109.785V105.615H160.156V104.631H158.543V102.724H157.312V104.631H156.15V105.615H157.312V110.086C157.312 111.494 157.948 112.055 159.466 112.055ZM164.832 112.13C166.568 112.13 167.621 111.146 167.874 110.147L167.888 110.093H166.698L166.671 110.154C166.473 110.599 165.857 111.07 164.859 111.07C163.547 111.07 162.706 110.182 162.672 108.657H167.977V108.192C167.977 105.991 166.76 104.501 164.757 104.501C162.754 104.501 161.455 106.06 161.455 108.336V108.343C161.455 110.653 162.727 112.13 164.832 112.13ZM164.75 105.561C165.837 105.561 166.644 106.251 166.767 107.707H162.692C162.822 106.306 163.656 105.561 164.75 105.561ZM176.228 112.13C177.308 112.13 178.053 111.686 178.415 110.899H178.524V112H179.714V104.631H178.524V108.992C178.524 110.284 177.834 111.077 176.535 111.077C175.359 111.077 174.881 110.441 174.881 109.115V104.631H173.691V109.402C173.691 111.146 174.553 112.13 176.228 112.13ZM184.465 112.13C186.14 112.13 187.418 111.221 187.418 109.908V109.895C187.418 108.842 186.748 108.24 185.36 107.905L184.226 107.632C183.357 107.42 182.988 107.105 182.988 106.606V106.593C182.988 105.943 183.631 105.492 184.506 105.492C185.395 105.492 185.969 105.896 186.126 106.477H187.295C187.131 105.273 186.058 104.501 184.513 104.501C182.947 104.501 181.771 105.424 181.771 106.647V106.654C181.771 107.714 182.394 108.315 183.774 108.644L184.916 108.917C185.825 109.136 186.201 109.484 186.201 109.983V109.997C186.201 110.667 185.497 111.139 184.506 111.139C183.562 111.139 182.975 110.735 182.776 110.12H181.56C181.696 111.337 182.824 112.13 184.465 112.13ZM192.271 112.13C194.008 112.13 195.061 111.146 195.313 110.147L195.327 110.093H194.138L194.11 110.154C193.912 110.599 193.297 111.07 192.299 111.07C190.986 111.07 190.146 110.182 190.111 108.657H195.416V108.192C195.416 105.991 194.199 104.501 192.196 104.501C190.193 104.501 188.895 106.06 188.895 108.336V108.343C188.895 110.653 190.166 112.13 192.271 112.13ZM192.189 105.561C193.276 105.561 194.083 106.251 194.206 107.707H190.132C190.262 106.306 191.096 105.561 192.189 105.561ZM197.262 112H198.451V107.434C198.451 106.354 199.258 105.636 200.393 105.636C200.652 105.636 200.878 105.663 201.124 105.704V104.549C201.008 104.528 200.755 104.501 200.529 104.501C199.531 104.501 198.841 104.952 198.561 105.725H198.451V104.631H197.262V112ZM204.986 112.13C206.661 112.13 207.939 111.221 207.939 109.908V109.895C207.939 108.842 207.27 108.24 205.882 107.905L204.747 107.632C203.879 107.42 203.51 107.105 203.51 106.606V106.593C203.51 105.943 204.152 105.492 205.027 105.492C205.916 105.492 206.49 105.896 206.647 106.477H207.816C207.652 105.273 206.579 104.501 205.034 104.501C203.469 104.501 202.293 105.424 202.293 106.647V106.654C202.293 107.714 202.915 108.315 204.296 108.644L205.438 108.917C206.347 109.136 206.723 109.484 206.723 109.983V109.997C206.723 110.667 206.019 111.139 205.027 111.139C204.084 111.139 203.496 110.735 203.298 110.12H202.081C202.218 111.337 203.346 112.13 204.986 112.13ZM216.758 114.598C218.768 114.598 220.039 113.545 220.039 111.897V104.631H218.85V105.848H218.768C218.316 105.014 217.51 104.501 216.471 104.501C214.543 104.501 213.354 105.998 213.354 108.062V108.076C213.354 110.141 214.536 111.617 216.443 111.617C217.455 111.617 218.289 111.159 218.754 110.346H218.863V111.836C218.863 112.923 218.077 113.545 216.758 113.545C215.698 113.545 215.042 113.148 214.912 112.588L214.905 112.581H213.675L213.661 112.588C213.846 113.798 214.98 114.598 216.758 114.598ZM216.703 110.564C215.336 110.564 214.57 109.539 214.57 108.076V108.062C214.57 106.6 215.336 105.554 216.703 105.554C218.063 105.554 218.891 106.6 218.891 108.062V108.076C218.891 109.539 218.07 110.564 216.703 110.564ZM225.262 112.13C226.998 112.13 228.051 111.146 228.304 110.147L228.317 110.093H227.128L227.101 110.154C226.902 110.599 226.287 111.07 225.289 111.07C223.977 111.07 223.136 110.182 223.102 108.657H228.406V108.192C228.406 105.991 227.189 104.501 225.187 104.501C223.184 104.501 221.885 106.06 221.885 108.336V108.343C221.885 110.653 223.156 112.13 225.262 112.13ZM225.18 105.561C226.267 105.561 227.073 106.251 227.196 107.707H223.122C223.252 106.306 224.086 105.561 225.18 105.561ZM232.87 112.055C233.103 112.055 233.328 112.027 233.561 111.986V110.975C233.342 110.995 233.226 111.002 233.014 111.002C232.248 111.002 231.947 110.653 231.947 109.785V105.615H233.561V104.631H231.947V102.724H230.717V104.631H229.555V105.615H230.717V110.086C230.717 111.494 231.353 112.055 232.87 112.055ZM242.304 112.13C244.402 112.13 245.701 110.681 245.701 108.322V108.309C245.701 105.943 244.402 104.501 242.304 104.501C240.205 104.501 238.906 105.943 238.906 108.309V108.322C238.906 110.681 240.205 112.13 242.304 112.13ZM242.304 111.077C240.909 111.077 240.123 110.059 240.123 108.322V108.309C240.123 106.565 240.909 105.554 242.304 105.554C243.698 105.554 244.484 106.565 244.484 108.309V108.322C244.484 110.059 243.698 111.077 242.304 111.077ZM248.039 112H249.229V105.615H250.903V104.631H249.229V103.845C249.229 103.038 249.57 102.621 250.418 102.621C250.63 102.621 250.828 102.628 250.972 102.655V101.705C250.726 101.657 250.466 101.637 250.179 101.637C248.777 101.637 248.039 102.341 248.039 103.811V104.631H246.815V105.615H248.039V112ZM253.111 112H254.301V105.615H255.976V104.631H254.301V103.845C254.301 103.038 254.643 102.621 255.49 102.621C255.702 102.621 255.9 102.628 256.044 102.655V101.705C255.798 101.657 255.538 101.637 255.251 101.637C253.85 101.637 253.111 102.341 253.111 103.811V104.631H251.888V105.615H253.111V112ZM260.385 112.13C262.121 112.13 263.174 111.146 263.427 110.147L263.44 110.093H262.251L262.224 110.154C262.025 110.599 261.41 111.07 260.412 111.07C259.1 111.07 258.259 110.182 258.225 108.657H263.529V108.192C263.529 105.991 262.312 104.501 260.31 104.501C258.307 104.501 257.008 106.06 257.008 108.336V108.343C257.008 110.653 258.279 112.13 260.385 112.13ZM260.303 105.561C261.39 105.561 262.196 106.251 262.319 107.707H258.245C258.375 106.306 259.209 105.561 260.303 105.561ZM265.375 112H266.564V107.434C266.564 106.354 267.371 105.636 268.506 105.636C268.766 105.636 268.991 105.663 269.237 105.704V104.549C269.121 104.528 268.868 104.501 268.643 104.501C267.645 104.501 266.954 104.952 266.674 105.725H266.564V104.631H265.375V112ZM30.335 133H31.5244L33.165 127.299H33.2744L34.9219 133H36.1182L38.1826 125.631H37L35.5508 131.523H35.4414L33.7939 125.631H32.666L31.0186 131.523H30.9092L29.46 125.631H28.2705L30.335 133ZM40.3838 124.209C40.835 124.209 41.2041 123.84 41.2041 123.389C41.2041 122.938 40.835 122.568 40.3838 122.568C39.9326 122.568 39.5635 122.938 39.5635 123.389C39.5635 123.84 39.9326 124.209 40.3838 124.209ZM39.7822 133H40.9717V125.631H39.7822V133ZM45.832 133.055C46.0645 133.055 46.29 133.027 46.5225 132.986V131.975C46.3037 131.995 46.1875 132.002 45.9756 132.002C45.21 132.002 44.9092 131.653 44.9092 130.785V126.615H46.5225V125.631H44.9092V123.724H43.6787V125.631H42.5166V126.615H43.6787V131.086C43.6787 132.494 44.3145 133.055 45.832 133.055ZM48.3682 133H49.5576V128.639C49.5576 127.347 50.3027 126.554 51.4785 126.554C52.6543 126.554 53.2012 127.189 53.2012 128.516V133H54.3906V128.229C54.3906 126.479 53.4678 125.501 51.8135 125.501C50.7266 125.501 50.0361 125.959 49.667 126.738H49.5576V122.705H48.3682V133ZM60.4814 133H61.6709V128.434C61.6709 127.354 62.4775 126.636 63.6123 126.636C63.8721 126.636 64.0977 126.663 64.3438 126.704V125.549C64.2275 125.528 63.9746 125.501 63.749 125.501C62.751 125.501 62.0605 125.952 61.7803 126.725H61.6709V125.631H60.4814V133ZM68.6162 133.13C70.3525 133.13 71.4053 132.146 71.6582 131.147L71.6719 131.093H70.4824L70.4551 131.154C70.2568 131.599 69.6416 132.07 68.6436 132.07C67.3311 132.07 66.4902 131.182 66.4561 129.657H71.7607V129.192C71.7607 126.991 70.5439 125.501 68.541 125.501C66.5381 125.501 65.2393 127.06 65.2393 129.336V129.343C65.2393 131.653 66.5107 133.13 68.6162 133.13ZM68.5342 126.561C69.6211 126.561 70.4277 127.251 70.5508 128.707H66.4766C66.6064 127.306 67.4404 126.561 68.5342 126.561ZM76.6416 135.598C78.6514 135.598 79.9229 134.545 79.9229 132.897V125.631H78.7334V126.848H78.6514C78.2002 126.014 77.3936 125.501 76.3545 125.501C74.4268 125.501 73.2373 126.998 73.2373 129.062V129.076C73.2373 131.141 74.4199 132.617 76.3271 132.617C77.3389 132.617 78.1729 132.159 78.6377 131.346H78.7471V132.836C78.7471 133.923 77.9609 134.545 76.6416 134.545C75.582 134.545 74.9258 134.148 74.7959 133.588L74.7891 133.581H73.5586L73.5449 133.588C73.7295 134.798 74.8643 135.598 76.6416 135.598ZM76.5869 131.564C75.2197 131.564 74.4541 130.539 74.4541 129.076V129.062C74.4541 127.6 75.2197 126.554 76.5869 126.554C77.9473 126.554 78.7744 127.6 78.7744 129.062V129.076C78.7744 130.539 77.9541 131.564 76.5869 131.564ZM84.6055 133.13C85.6855 133.13 86.4307 132.686 86.793 131.899H86.9023V133H88.0918V125.631H86.9023V129.992C86.9023 131.284 86.2119 132.077 84.9131 132.077C83.7373 132.077 83.2588 131.441 83.2588 130.115V125.631H82.0693V130.402C82.0693 132.146 82.9307 133.13 84.6055 133.13ZM90.3818 133H91.5713V122.705H90.3818V133ZM95.8779 133.13C96.8691 133.13 97.6416 132.699 98.1064 131.913H98.2158V133H99.4053V127.955C99.4053 126.424 98.4004 125.501 96.6025 125.501C95.0303 125.501 93.9092 126.28 93.7178 127.436L93.7109 127.477H94.9004L94.9072 127.456C95.0986 126.882 95.6797 126.554 96.5615 126.554C97.6621 126.554 98.2158 127.046 98.2158 127.955V128.625L96.1035 128.755C94.3877 128.857 93.417 129.616 93.417 130.929V130.942C93.417 132.282 94.4766 133.13 95.8779 133.13ZM94.6338 130.915V130.901C94.6338 130.17 95.126 129.773 96.2471 129.705L98.2158 129.582V130.252C98.2158 131.305 97.334 132.098 96.124 132.098C95.2695 132.098 94.6338 131.66 94.6338 130.915ZM101.579 133H102.769V128.434C102.769 127.354 103.575 126.636 104.71 126.636C104.97 126.636 105.195 126.663 105.441 126.704V125.549C105.325 125.528 105.072 125.501 104.847 125.501C103.849 125.501 103.158 125.952 102.878 126.725H102.769V125.631H101.579V133ZM110.849 135.461H112.038V131.838H112.147C112.551 132.624 113.433 133.13 114.444 133.13C116.317 133.13 117.534 131.633 117.534 129.322V129.309C117.534 127.012 116.311 125.501 114.444 125.501C113.419 125.501 112.599 125.986 112.147 126.807H112.038V125.631H110.849V135.461ZM114.171 132.077C112.831 132.077 112.011 131.024 112.011 129.322V129.309C112.011 127.606 112.831 126.554 114.171 126.554C115.518 126.554 116.317 127.593 116.317 129.309V129.322C116.317 131.038 115.518 132.077 114.171 132.077ZM119.394 133H120.583V128.434C120.583 127.354 121.39 126.636 122.524 126.636C122.784 126.636 123.01 126.663 123.256 126.704V125.549C123.14 125.528 122.887 125.501 122.661 125.501C121.663 125.501 120.973 125.952 120.692 126.725H120.583V125.631H119.394V133ZM125.354 124.209C125.806 124.209 126.175 123.84 126.175 123.389C126.175 122.938 125.806 122.568 125.354 122.568C124.903 122.568 124.534 122.938 124.534 123.389C124.534 123.84 124.903 124.209 125.354 124.209ZM124.753 133H125.942V125.631H124.753V133ZM131.199 133.13C132.97 133.13 133.961 132.18 134.262 130.847L134.275 130.771L133.1 130.778L133.086 130.819C132.812 131.64 132.184 132.077 131.192 132.077C129.88 132.077 129.032 130.99 129.032 129.295V129.281C129.032 127.62 129.866 126.554 131.192 126.554C132.252 126.554 132.908 127.142 133.093 127.866L133.1 127.887H134.282L134.275 127.846C134.057 126.533 132.983 125.501 131.192 125.501C129.128 125.501 127.815 126.991 127.815 129.281V129.295C127.815 131.633 129.135 133.13 131.199 133.13ZM139.026 133.13C140.763 133.13 141.815 132.146 142.068 131.147L142.082 131.093H140.893L140.865 131.154C140.667 131.599 140.052 132.07 139.054 132.07C137.741 132.07 136.9 131.182 136.866 129.657H142.171V129.192C142.171 126.991 140.954 125.501 138.951 125.501C136.948 125.501 135.649 127.06 135.649 129.336V129.343C135.649 131.653 136.921 133.13 139.026 133.13ZM138.944 126.561C140.031 126.561 140.838 127.251 140.961 128.707H136.887C137.017 127.306 137.851 126.561 138.944 126.561ZM143.716 135.509H144.598L145.671 131.619H144.311L143.716 135.509ZM154.134 133.13C155.125 133.13 155.897 132.699 156.362 131.913H156.472V133H157.661V127.955C157.661 126.424 156.656 125.501 154.858 125.501C153.286 125.501 152.165 126.28 151.974 127.436L151.967 127.477H153.156L153.163 127.456C153.354 126.882 153.936 126.554 154.817 126.554C155.918 126.554 156.472 127.046 156.472 127.955V128.625L154.359 128.755C152.644 128.857 151.673 129.616 151.673 130.929V130.942C151.673 132.282 152.732 133.13 154.134 133.13ZM152.89 130.915V130.901C152.89 130.17 153.382 129.773 154.503 129.705L156.472 129.582V130.252C156.472 131.305 155.59 132.098 154.38 132.098C153.525 132.098 152.89 131.66 152.89 130.915ZM162.303 133.13C163.383 133.13 164.128 132.686 164.49 131.899H164.6V133H165.789V125.631H164.6V129.992C164.6 131.284 163.909 132.077 162.61 132.077C161.435 132.077 160.956 131.441 160.956 130.115V125.631H159.767V130.402C159.767 132.146 160.628 133.13 162.303 133.13ZM170.629 133.055C170.861 133.055 171.087 133.027 171.319 132.986V131.975C171.101 131.995 170.984 132.002 170.772 132.002C170.007 132.002 169.706 131.653 169.706 130.785V126.615H171.319V125.631H169.706V123.724H168.476V125.631H167.313V126.615H168.476V131.086C168.476 132.494 169.111 133.055 170.629 133.055ZM176.016 133.13C178.114 133.13 179.413 131.681 179.413 129.322V129.309C179.413 126.943 178.114 125.501 176.016 125.501C173.917 125.501 172.618 126.943 172.618 129.309V129.322C172.618 131.681 173.917 133.13 176.016 133.13ZM176.016 132.077C174.621 132.077 173.835 131.059 173.835 129.322V129.309C173.835 127.565 174.621 126.554 176.016 126.554C177.41 126.554 178.196 127.565 178.196 129.309V129.322C178.196 131.059 177.41 132.077 176.016 132.077ZM181.259 133H182.448V128.434C182.448 127.395 183.18 126.554 184.144 126.554C185.073 126.554 185.675 127.121 185.675 127.996V133H186.864V128.263C186.864 127.326 187.541 126.554 188.566 126.554C189.605 126.554 190.104 127.094 190.104 128.181V133H191.294V127.907C191.294 126.362 190.453 125.501 188.949 125.501C187.931 125.501 187.09 126.014 186.693 126.793H186.584C186.242 126.027 185.545 125.501 184.547 125.501C183.583 125.501 182.886 125.959 182.558 126.752H182.448V125.631H181.259V133ZM195.464 133.13C196.455 133.13 197.228 132.699 197.692 131.913H197.802V133H198.991V127.955C198.991 126.424 197.986 125.501 196.188 125.501C194.616 125.501 193.495 126.28 193.304 127.436L193.297 127.477H194.486L194.493 127.456C194.685 126.882 195.266 126.554 196.147 126.554C197.248 126.554 197.802 127.046 197.802 127.955V128.625L195.689 128.755C193.974 128.857 193.003 129.616 193.003 130.929V130.942C193.003 132.282 194.062 133.13 195.464 133.13ZM194.22 130.915V130.901C194.22 130.17 194.712 129.773 195.833 129.705L197.802 129.582V130.252C197.802 131.305 196.92 132.098 195.71 132.098C194.855 132.098 194.22 131.66 194.22 130.915ZM203.783 133.055C204.016 133.055 204.241 133.027 204.474 132.986V131.975C204.255 131.995 204.139 132.002 203.927 132.002C203.161 132.002 202.86 131.653 202.86 130.785V126.615H204.474V125.631H202.86V123.724H201.63V125.631H200.468V126.615H201.63V131.086C201.63 132.494 202.266 133.055 203.783 133.055ZM206.88 124.209C207.331 124.209 207.7 123.84 207.7 123.389C207.7 122.938 207.331 122.568 206.88 122.568C206.429 122.568 206.06 122.938 206.06 123.389C206.06 123.84 206.429 124.209 206.88 124.209ZM206.278 133H207.468V125.631H206.278V133ZM212.725 133.13C214.495 133.13 215.486 132.18 215.787 130.847L215.801 130.771L214.625 130.778L214.611 130.819C214.338 131.64 213.709 132.077 212.718 132.077C211.405 132.077 210.558 130.99 210.558 129.295V129.281C210.558 127.62 211.392 126.554 212.718 126.554C213.777 126.554 214.434 127.142 214.618 127.866L214.625 127.887H215.808L215.801 127.846C215.582 126.533 214.509 125.501 212.718 125.501C210.653 125.501 209.341 126.991 209.341 129.281V129.295C209.341 131.633 210.66 133.13 212.725 133.13ZM219.567 133.13C220.559 133.13 221.331 132.699 221.796 131.913H221.905V133H223.095V127.955C223.095 126.424 222.09 125.501 220.292 125.501C218.72 125.501 217.599 126.28 217.407 127.436L217.4 127.477H218.59L218.597 127.456C218.788 126.882 219.369 126.554 220.251 126.554C221.352 126.554 221.905 127.046 221.905 127.955V128.625L219.793 128.755C218.077 128.857 217.106 129.616 217.106 130.929V130.942C217.106 132.282 218.166 133.13 219.567 133.13ZM218.323 130.915V130.901C218.323 130.17 218.815 129.773 219.937 129.705L221.905 129.582V130.252C221.905 131.305 221.023 132.098 219.813 132.098C218.959 132.098 218.323 131.66 218.323 130.915ZM225.337 133H226.526V122.705H225.337V133ZM228.878 133H230.067V122.705H228.878V133ZM232.979 135.584C234.285 135.584 234.894 135.105 235.502 133.451L238.38 125.631H237.129L235.112 131.694H235.003L232.979 125.631H231.708L234.436 133.007L234.299 133.444C234.032 134.292 233.622 134.6 232.945 134.6C232.781 134.6 232.597 134.593 232.453 134.565V135.543C232.617 135.57 232.822 135.584 232.979 135.584ZM245.913 133.13C246.904 133.13 247.677 132.699 248.142 131.913H248.251V133H249.44V127.955C249.44 126.424 248.436 125.501 246.638 125.501C245.065 125.501 243.944 126.28 243.753 127.436L243.746 127.477H244.936L244.942 127.456C245.134 126.882 245.715 126.554 246.597 126.554C247.697 126.554 248.251 127.046 248.251 127.955V128.625L246.139 128.755C244.423 128.857 243.452 129.616 243.452 130.929V130.942C243.452 132.282 244.512 133.13 245.913 133.13ZM244.669 130.915V130.901C244.669 130.17 245.161 129.773 246.282 129.705L248.251 129.582V130.252C248.251 131.305 247.369 132.098 246.159 132.098C245.305 132.098 244.669 131.66 244.669 130.915ZM251.614 135.461H252.804V131.838H252.913C253.316 132.624 254.198 133.13 255.21 133.13C257.083 133.13 258.3 131.633 258.3 129.322V129.309C258.3 127.012 257.076 125.501 255.21 125.501C254.185 125.501 253.364 125.986 252.913 126.807H252.804V125.631H251.614V135.461ZM254.937 132.077C253.597 132.077 252.776 131.024 252.776 129.322V129.309C252.776 127.606 253.597 126.554 254.937 126.554C256.283 126.554 257.083 127.593 257.083 129.309V129.322C257.083 131.038 256.283 132.077 254.937 132.077ZM260.159 135.461H261.349V131.838H261.458C261.861 132.624 262.743 133.13 263.755 133.13C265.628 133.13 266.845 131.633 266.845 129.322V129.309C266.845 127.012 265.621 125.501 263.755 125.501C262.729 125.501 261.909 125.986 261.458 126.807H261.349V125.631H260.159V135.461ZM263.481 132.077C262.142 132.077 261.321 131.024 261.321 129.322V129.309C261.321 127.606 262.142 126.554 263.481 126.554C264.828 126.554 265.628 127.593 265.628 129.309V129.322C265.628 131.038 264.828 132.077 263.481 132.077ZM268.772 133H269.962V122.705H268.772V133ZM272.874 124.209C273.325 124.209 273.694 123.84 273.694 123.389C273.694 122.938 273.325 122.568 272.874 122.568C272.423 122.568 272.054 122.938 272.054 123.389C272.054 123.84 272.423 124.209 272.874 124.209ZM272.272 133H273.462V125.631H272.272V133ZM278.712 133.13C280.448 133.13 281.501 132.146 281.754 131.147L281.768 131.093H280.578L280.551 131.154C280.353 131.599 279.737 132.07 278.739 132.07C277.427 132.07 276.586 131.182 276.552 129.657H281.856V129.192C281.856 126.991 280.64 125.501 278.637 125.501C276.634 125.501 275.335 127.06 275.335 129.336V129.343C275.335 131.653 276.606 133.13 278.712 133.13ZM278.63 126.561C279.717 126.561 280.523 127.251 280.646 128.707H276.572C276.702 127.306 277.536 126.561 278.63 126.561ZM286.423 133.13C287.448 133.13 288.269 132.645 288.72 131.824H288.829V133H290.019V122.705H288.829V126.793H288.72C288.316 126.007 287.435 125.501 286.423 125.501C284.55 125.501 283.333 126.998 283.333 129.309V129.322C283.333 131.619 284.557 133.13 286.423 133.13ZM286.696 132.077C285.35 132.077 284.55 131.038 284.55 129.322V129.309C284.55 127.593 285.35 126.554 286.696 126.554C288.036 126.554 288.856 127.606 288.856 129.309V129.322C288.856 131.024 288.036 132.077 286.696 132.077ZM122.203 155.055C122.436 155.055 122.661 155.027 122.894 154.986V153.975C122.675 153.995 122.559 154.002 122.347 154.002C121.581 154.002 121.28 153.653 121.28 152.785V148.615H122.894V147.631H121.28V145.724H120.05V147.631H118.888V148.615H120.05V153.086C120.05 154.494 120.686 155.055 122.203 155.055ZM127.59 155.13C129.688 155.13 130.987 153.681 130.987 151.322V151.309C130.987 148.943 129.688 147.501 127.59 147.501C125.491 147.501 124.192 148.943 124.192 151.309V151.322C124.192 153.681 125.491 155.13 127.59 155.13ZM127.59 154.077C126.195 154.077 125.409 153.059 125.409 151.322V151.309C125.409 149.565 126.195 148.554 127.59 148.554C128.984 148.554 129.771 149.565 129.771 151.309V151.322C129.771 153.059 128.984 154.077 127.59 154.077ZM139.785 155.13C141.556 155.13 142.547 154.18 142.848 152.847L142.861 152.771L141.686 152.778L141.672 152.819C141.398 153.64 140.77 154.077 139.778 154.077C138.466 154.077 137.618 152.99 137.618 151.295V151.281C137.618 149.62 138.452 148.554 139.778 148.554C140.838 148.554 141.494 149.142 141.679 149.866L141.686 149.887H142.868L142.861 149.846C142.643 148.533 141.569 147.501 139.778 147.501C137.714 147.501 136.401 148.991 136.401 151.281V151.295C136.401 153.633 137.721 155.13 139.785 155.13ZM144.673 155H145.862V150.639C145.862 149.347 146.607 148.554 147.783 148.554C148.959 148.554 149.506 149.189 149.506 150.516V155H150.695V150.229C150.695 148.479 149.772 147.501 148.118 147.501C147.031 147.501 146.341 147.959 145.972 148.738H145.862V144.705H144.673V155ZM155.856 155.13C157.593 155.13 158.646 154.146 158.898 153.147L158.912 153.093H157.723L157.695 153.154C157.497 153.599 156.882 154.07 155.884 154.07C154.571 154.07 153.73 153.182 153.696 151.657H159.001V151.192C159.001 148.991 157.784 147.501 155.781 147.501C153.778 147.501 152.479 149.06 152.479 151.336V151.343C152.479 153.653 153.751 155.13 155.856 155.13ZM155.774 148.561C156.861 148.561 157.668 149.251 157.791 150.707H153.717C153.847 149.306 154.681 148.561 155.774 148.561ZM163.861 155.13C165.632 155.13 166.623 154.18 166.924 152.847L166.938 152.771L165.762 152.778L165.748 152.819C165.475 153.64 164.846 154.077 163.854 154.077C162.542 154.077 161.694 152.99 161.694 151.295V151.281C161.694 149.62 162.528 148.554 163.854 148.554C164.914 148.554 165.57 149.142 165.755 149.866L165.762 149.887H166.944L166.938 149.846C166.719 148.533 165.646 147.501 163.854 147.501C161.79 147.501 160.478 148.991 160.478 151.281V151.295C160.478 153.633 161.797 155.13 163.861 155.13ZM168.749 155H169.938V152.204L170.629 151.534L173.391 155H174.888L171.463 150.728L174.676 147.631H173.233L170.048 150.851H169.938V144.705H168.749V155ZM178.969 155.13C181.067 155.13 182.366 153.681 182.366 151.322V151.309C182.366 148.943 181.067 147.501 178.969 147.501C176.87 147.501 175.571 148.943 175.571 151.309V151.322C175.571 153.681 176.87 155.13 178.969 155.13ZM178.969 154.077C177.574 154.077 176.788 153.059 176.788 151.322V151.309C176.788 149.565 177.574 148.554 178.969 148.554C180.363 148.554 181.149 149.565 181.149 151.309V151.322C181.149 153.059 180.363 154.077 178.969 154.077ZM186.68 155.13C187.76 155.13 188.505 154.686 188.867 153.899H188.977V155H190.166V147.631H188.977V151.992C188.977 153.284 188.286 154.077 186.987 154.077C185.812 154.077 185.333 153.441 185.333 152.115V147.631H184.144V152.402C184.144 154.146 185.005 155.13 186.68 155.13ZM195.006 155.055C195.238 155.055 195.464 155.027 195.696 154.986V153.975C195.478 153.995 195.361 154.002 195.149 154.002C194.384 154.002 194.083 153.653 194.083 152.785V148.615H195.696V147.631H194.083V145.724H192.853V147.631H191.69V148.615H192.853V153.086C192.853 154.494 193.488 155.055 195.006 155.055ZM198.444 155.068C198.937 155.068 199.333 154.665 199.333 154.18C199.333 153.688 198.937 153.291 198.444 153.291C197.959 153.291 197.556 153.688 197.556 154.18C197.556 154.665 197.959 155.068 198.444 155.068Z",fill:"white"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter0_d_1061_678)"}},[a("path",{attrs:{d:"M133.607 56.5262C139.149 56.5262 142.849 53.6156 142.849 49.3072V49.2743C142.849 46.0512 140.547 44.0121 137.011 43.6832V43.5845C139.79 43.009 141.961 41.085 141.961 38.125V38.0921C141.961 34.3099 138.672 31.7446 133.574 31.7446C128.592 31.7446 125.254 34.5073 124.908 38.7499L124.892 38.9472H129.463L129.48 38.7992C129.677 36.8259 131.239 35.5597 133.574 35.5597C135.91 35.5597 137.274 36.7766 137.274 38.7499V38.7828C137.274 40.7068 135.663 42.0223 133.163 42.0223H130.516V45.5578H133.229C136.107 45.5578 137.801 46.8076 137.801 49.0769V49.1098C137.801 51.116 136.14 52.5302 133.607 52.5302C131.042 52.5302 129.348 51.2147 129.134 49.3729L129.118 49.192H124.366L124.382 49.4058C124.711 53.6485 128.246 56.5262 133.607 56.5262ZM156.235 56.6084C162.105 56.6084 165.657 51.8067 165.657 44.1436V44.1107C165.657 36.4312 162.105 31.6624 156.235 31.6624C150.381 31.6624 146.812 36.4312 146.812 44.1107V44.1436C146.812 51.8067 150.381 56.6084 156.235 56.6084ZM156.235 52.6782C153.439 52.6782 151.844 49.5045 151.844 44.1436V44.1107C151.844 38.7334 153.439 35.5926 156.235 35.5926C159.047 35.5926 160.642 38.7334 160.642 44.1107V44.1436C160.642 49.5045 159.047 52.6782 156.235 52.6782ZM175.475 45.2783C178.961 45.2783 181.082 42.713 181.082 38.6019V38.5854C181.082 34.4744 178.961 31.9255 175.475 31.9255C172.005 31.9255 169.867 34.4744 169.867 38.5854V38.6019C169.867 42.713 172.005 45.2783 175.475 45.2783ZM179.125 56L195.093 32.2708H191.294L175.327 56H179.125ZM175.475 42.6472C174.044 42.6472 173.238 41.1837 173.238 38.6019V38.5854C173.238 35.9872 174.044 34.5566 175.475 34.5566C176.922 34.5566 177.727 35.9872 177.727 38.5854V38.6019C177.727 41.1837 176.922 42.6472 175.475 42.6472ZM194.928 56.3453C198.414 56.3453 200.536 53.78 200.536 49.6689V49.6525C200.536 45.5414 198.414 42.9925 194.928 42.9925C191.458 42.9925 189.321 45.5414 189.321 49.6525V49.6689C189.321 53.78 191.458 56.3453 194.928 56.3453ZM194.928 53.7142C193.498 53.7142 192.692 52.2507 192.692 49.6689V49.6525C192.692 47.0543 193.498 45.6236 194.928 45.6236C196.375 45.6236 197.181 47.0543 197.181 49.6525V49.6689C197.181 52.2507 196.375 53.7142 194.928 53.7142Z",fill:"white"}})]),e._v(" "),a("path",{attrs:{d:"M55.2031 48H60.4414V47.0508H56.2578V44.1445H60.2246V43.207H56.2578V40.4941H60.4414V39.5449H55.2031V48ZM62.2227 48H63.2422V44.2617C63.2422 43.1543 63.8809 42.4746 64.8887 42.4746C65.8965 42.4746 66.3652 43.0195 66.3652 44.1562V48H67.3848V43.9102C67.3848 42.4102 66.5938 41.5723 65.1758 41.5723C64.2441 41.5723 63.6523 41.9648 63.3359 42.6328H63.2422V41.6836H62.2227V48ZM69.7578 40.4648C70.1445 40.4648 70.4609 40.1484 70.4609 39.7617C70.4609 39.375 70.1445 39.0586 69.7578 39.0586C69.3711 39.0586 69.0547 39.375 69.0547 39.7617C69.0547 40.1484 69.3711 40.4648 69.7578 40.4648ZM68.3281 50.168C69.6523 50.168 70.2676 49.6113 70.2676 48.3105V41.6836H69.248V48.3281C69.248 49.0254 68.9902 49.2656 68.3047 49.2656H68.1523V50.168H68.3281ZM74.791 48.1113C76.5898 48.1113 77.7031 46.8691 77.7031 44.8477V44.8359C77.7031 42.8086 76.5898 41.5723 74.791 41.5723C72.9922 41.5723 71.8789 42.8086 71.8789 44.8359V44.8477C71.8789 46.8691 72.9922 48.1113 74.791 48.1113ZM74.791 47.209C73.5957 47.209 72.9219 46.3359 72.9219 44.8477V44.8359C72.9219 43.3418 73.5957 42.4746 74.791 42.4746C75.9863 42.4746 76.6602 43.3418 76.6602 44.8359V44.8477C76.6602 46.3359 75.9863 47.209 74.791 47.209ZM79.5898 50.2148C80.709 50.2148 81.2305 49.8047 81.752 48.3867L84.2188 41.6836H83.1465L81.418 46.8809H81.3242L79.5898 41.6836H78.5L80.8379 48.0059L80.7207 48.3809C80.4922 49.1074 80.1406 49.3711 79.5605 49.3711C79.4199 49.3711 79.2617 49.3652 79.1387 49.3418V50.1797C79.2793 50.2031 79.4551 50.2148 79.5898 50.2148ZM89.0703 48H90.125V44.3379H93.8691V43.4004H90.125V40.4941H94.2031V39.5449H89.0703V48ZM95.8672 48H96.8867V39.1758H95.8672V48ZM100.578 48.1113C101.428 48.1113 102.09 47.7422 102.488 47.0684H102.582V48H103.602V43.6758C103.602 42.3633 102.74 41.5723 101.199 41.5723C99.8516 41.5723 98.8906 42.2402 98.7266 43.2305L98.7207 43.2656H99.7402L99.7461 43.248C99.9102 42.7559 100.408 42.4746 101.164 42.4746C102.107 42.4746 102.582 42.8965 102.582 43.6758V44.25L100.771 44.3613C99.3008 44.4492 98.4688 45.0996 98.4688 46.2246V46.2363C98.4688 47.3848 99.377 48.1113 100.578 48.1113ZM99.5117 46.2129V46.2012C99.5117 45.5742 99.9336 45.2344 100.895 45.1758L102.582 45.0703V45.6445C102.582 46.5469 101.826 47.2266 100.789 47.2266C100.057 47.2266 99.5117 46.8516 99.5117 46.2129ZM107.709 48.0469C107.908 48.0469 108.102 48.0234 108.301 47.9883V47.1211C108.113 47.1387 108.014 47.1445 107.832 47.1445C107.176 47.1445 106.918 46.8457 106.918 46.1016V42.5273H108.301V41.6836H106.918V40.0488H105.863V41.6836H104.867V42.5273H105.863V46.3594C105.863 47.5664 106.408 48.0469 107.709 48.0469Z",fill:"#0C0071"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter1_d_1061_678)"}},[a("rect",{attrs:{x:"216",y:"34.1777",width:"48",height:"20",rx:"10",fill:"#573CFF"}})]),e._v(" "),a("path",{attrs:{d:"M232.513 48.1942C234.867 48.1942 236.295 46.5089 236.295 43.881V43.8696C236.295 41.2302 234.855 39.5621 232.513 39.5621C230.182 39.5621 228.731 41.2245 228.731 43.8696V43.881C228.731 46.5146 230.148 48.1942 232.513 48.1942ZM232.513 47.2459C230.799 47.2459 229.782 45.9205 229.782 43.881V43.8696C229.782 41.8129 230.834 40.5104 232.513 40.5104C234.198 40.5104 235.244 41.8129 235.244 43.8696V43.881C235.244 45.9205 234.204 47.2459 232.513 47.2459ZM238.078 48H239.106V44.4294H242.756V43.5154H239.106V40.6818H243.082V39.7563H238.078V48ZM244.773 48H245.801V44.4294H249.452V43.5154H245.801V40.6818H249.778V39.7563H244.773V48Z",fill:"white"}}),e._v(" "),a("path",{attrs:{opacity:"0.3",d:"M107.399 17.3745C103.071 13.4067 97.5458 18.8781 101.18 23.0547",stroke:"#FF00F5","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("path",{attrs:{d:"M229.162 77.0844C226.678 76.4391 225.753 79.6327 225.299 81.4364C225.039 82.4955 224.714 83.5876 224 84.3984",stroke:"#00FFC2","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("path",{attrs:{d:"M103.555 82.1191C105.333 79.408 101.942 77.0254 99.9777 75.752C98.8197 75.0126 97.6617 74.191 97 72.9997",stroke:"#FFE600","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("path",{attrs:{d:"M228.334 20.7854C228.097 19.5881 227.386 18.4985 226.411 17.8124C225.437 17.1263 224.172 16.8573 223 17.0725",stroke:"#64E3FF","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("defs",[a("filter",{attrs:{id:"filter0_d_1061_678",x:"118.378",y:"31.6626",width:"88.1453",height:"39.9138",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"8.9808"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"2.9936"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.192851 0 0 0 0 0.0922663 0 0 0 0 0.512993 0 0 0 0.278409 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1061_678"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1061_678",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter1_d_1061_678",x:"209",y:"34.1777",width:"62",height:"35",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"8"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"3.5"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.0507051 0 0 0 0 0 0 0 0 0 0.470833 0 0 0 0.11 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1061_678"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1061_678",result:"shape"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint0_linear_1061_678",x1:"0",y1:"0",x2:"0",y2:"181",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#D0CAFD"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#7463FF"}})],1)],1)])]),e._v(" "),a("a",{staticClass:"already-updated",attrs:{target:"_blank",rel:"noopener noreferrer",href:"https://wedevs.com/docs/dokan/getting-started/installation-2/"}},[e._v(e._s(e.__("Already upgraded?","dokan-lite")))])]),e._v(" "),a("span",{staticClass:"close",on:{click:e.closePopup}},[a("svg",{attrs:{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M6.18849 5.00002L9.75385 1.43465C10.082 1.10645 10.082 0.574344 9.75385 0.246195C9.42566 -0.0820022 8.89359 -0.0820022 8.5654 0.246195L4.99998 3.81161L1.43457 0.246148C1.10637 -0.0820492 0.574308 -0.0820492 0.246112 0.246148C-0.0820373 0.574344 -0.0820373 1.10645 0.246112 1.4346L3.81153 4.99998L0.246112 8.5654C-0.0820373 8.89359 -0.0820373 9.4257 0.246112 9.75385C0.574308 10.082 1.10637 10.082 1.43457 9.75385L4.99998 6.18843L8.5654 9.75385C8.89355 10.082 9.42566 10.082 9.75385 9.75385C10.082 9.42566 10.082 8.89359 9.75385 8.5654L6.18849 5.00002Z",fill:"#95A5A6"}})])])])]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"lite-modules"}},[a("div",{staticClass:"dokan-modules-wrap"},[a("h1",[e._v(e._s(e.__("Modules","dokan-lite")))]),e._v(" "),a("div",{staticClass:"module-content"},[a("div",{staticClass:"wp-list-table widefat dokan-modules"},[e.modules.length>0?e._l(e.modules,function(t){return a("div",{staticClass:"plugin-card"},[a("div",{staticClass:"plugin-card-top"},[a("div",{staticClass:"name column-name"},[a("h3",[a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[e._v(e._s(t.name))]),e._v(" "),a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[a("img",{staticClass:"plugin-icon",attrs:{src:t.thumbnail,alt:t.name}})])])]),e._v(" "),a("div",{staticClass:"action-links"},[a("ul",{staticClass:"plugin-action-buttons"},[a("li",{on:{click:function(t){return e.togglePopup(!0)}}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"20"}},[a("rect",{attrs:{width:"42",height:"20",rx:"10",fill:"#c0c3c6"}}),a("circle",{attrs:{cx:"6",cy:"6",r:"6",transform:"translate(6 4)",fill:"#fff"}})])])])]),e._v(" "),a("div",{staticClass:"desc column-description"},[a("p",{domProps:{innerHTML:e._s(t.description)}})]),e._v(" "),a("div",{staticClass:"card-footer"},[a("a",{attrs:{href:t.docLink,target:"_blank"}},[e._v(e._s(e.__("Documentation","dokan-lite")))])])])])}):[a("div",{staticClass:"notice notice-info",attrs:{id:"message"}},[a("p",[a("strong",[e._v(e._s(e.__("No modules found.","dokan-lite")))])])])]],2)])]),e._v(" "),a("ModuleUpgradePopup",{attrs:{"show-popup":e.showPopup},on:{toggle:e.togglePopup}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(83),n=a(214),i=!1;var o=function(e){i||a(213)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ReverseWithdrawal.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-reverse-withdrawal"},[a("h1",{staticClass:"wp-heading-inline"},[e._v("\n "+e._s(e.__("Reverse Withdrawal","dokan-lite"))+"\n ")]),e._v(" "),a("AdminNotice"),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("div",{staticClass:"dokan-reverse-withdrawal-fact-card"},[a("CardFunFact",{attrs:{count:e.counts.credit,icon:"fas fa-comments-dollar",is_currency:"",title:e.__("Total Collected","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.balance,icon:"fas fa-coins",is_currency:"",title:e.__("Remaining Balance","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.total_transactions,icon:"fas fa-info",title:e.__("Total Transactions","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.total_vendors,icon:"fas fa-users",title:e.__("Total Vendors","dokan-lite")}})],1),e._v(" "),a("div",{attrs:{id:"dokan_reverse_withdrawal_list_table"}},[a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.transactionData,actions:e.actions,"show-cb":!1,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.getCurrentPage,"not-found":this.__("No transaction found.","dokan-lite"),"sort-by":e.getSortBy,"sort-order":e.getSortOrder},on:{sort:e.doSort,pagination:e.goToPage},scopedSlots:e._u([{key:"store_name",fn:function(t){return[a("strong",[a("a",{attrs:{href:"?page=dokan#/reverse-withdrawal/store/"+t.row.vendor_id}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"balance",fn:function(t){return[""===t.row.balance?a("div",[e._v("--")]):t.row.balance>=0?a("currency",{attrs:{amount:t.row.balance}}):t.row.balance<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.balance}}),e._v(" )\n ")],1):e._e()]}},{key:"last_payment_date",fn:function(t){return[e._v("\n "+e._s(t.row.last_payment_date)+"\n ")]}}])},[e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("span",{staticClass:"form-group"},[a("multiselect",{attrs:{placeholder:this.__("Filter by store","dokan-lite"),options:e.filter.stores,"track-by":"id",label:"name","internal-search":!1,"clear-on-select":!1,"allow-empty":!1,multiselect:!1,searchable:!0,showLabels:!1},on:{"search-change":e.fetchStoreLists},model:{value:e.filter.selected_store,callback:function(t){e.$set(e.filter,"selected_store",t)},expression:"filter.selected_store"}}),e._v(" "),e.filter.selected_store.id?a("button",{staticClass:"button",staticStyle:{"line-height":"0",padding:"0 5px","margin-right":"5px"},attrs:{type:"button"},on:{click:function(t){e.filter.selected_store=e.getDefaultStore()[0]}}},[a("i",{staticClass:"dashicons dashicons-no"})]):e._e()],1),e._v(" "),a("span",{staticClass:"form-group"},[a("date-range-picker",{ref:"picker",staticClass:"mr-5",attrs:{"locale-data":this.dateTimePickerFormat,singleDatePicker:!1,showDropdowns:!0,autoApply:!1,ranges:this.dateRangePickerRanges},scopedSlots:e._u([{key:"input",fn:function(t){return[e.filter.transaction_date.startDate?a("span",[e._v(e._s(e._f("getFormattedDate")(e.filter.transaction_date.startDate))+" - "+e._s(e._f("getFormattedDate")(e.filter.transaction_date.endDate)))]):e._e(),e._v(" "),e.filter.transaction_date.startDate?e._e():a("span",{staticClass:"date-range-placeholder"},[e._v(e._s(e.__("Filter by expire date","dokan-lite")))])]}},{key:"footer",fn:function(t){return a("div",{staticClass:"drp-buttons"},[a("span",{staticClass:"drp-selected"},[e._v(e._s(t.rangeText))]),e._v(" "),a("button",{staticClass:"cancelBtn btn btn-sm btn-secondary",attrs:{type:"button"},on:{click:function(t){return e.setDefaultTransactionDate()}}},[e._v(e._s(e.__("Cancel","dokan-lite")))]),e._v(" "),t.in_selection?e._e():a("button",{staticClass:"applyBtn btn btn-sm btn-success",attrs:{type:"button"},on:{click:t.clickApply}},[e._v(e._s(e.__("Apply","dokan-lite")))])])}}]),model:{value:e.filter.transaction_date,callback:function(t){e.$set(e.filter,"transaction_date",t)},expression:"filter.transaction_date"}})],1),e._v(" "),a("span",{staticClass:"form-group"},[a("button",{staticClass:"button action",on:{click:this.clearFilters}},[e._v(e._s(this.__("Clear","dokan-lite")))])])])],2)],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(84),n=a(217),i=!1;var o=function(e){i||a(216)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ReverseWithdrawalTransactions.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-reverse-withdrawal-transactions"},[a("h1",{staticClass:"wp-heading-inline"},[e._v("\n "+e._s(e.__("Reverse Withdrawal","dokan-lite"))+"\n "),a("a",{staticClass:"button",attrs:{href:this.reverseWithdrawalUrl()}},[e._v("← "+e._s(e.__("Go Back","dokan-lite")))])]),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("div",{staticClass:"dokan-reverse-withdrawal-fact-card"},[a("CardFunFact",{attrs:{icon:"fas fa-user",title:e.storeDetails.store_name?e.storeDetails.store_name:""}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.credit,icon:"fas fa-comments-dollar",is_currency:"",title:e.__("Total Collected","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.balance,icon:"fas fa-coins",is_currency:"",title:e.__("Remaining Balance","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.total_transactions,icon:"fas fa-info",title:e.__("Total Transactions","dokan-lite")}})],1),e._v(" "),a("div",{attrs:{id:"dokan_reverse_withdrawal_transactions_list_table"}},[a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.transactionData,actions:e.actions,"show-cb":!1,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.getCurrentPage,"not-found":this.__("No transaction found.","dokan-lite"),"sort-by":e.getSortBy,"sort-order":e.getSortOrder},on:{sort:e.doSort,pagination:e.goToPage},scopedSlots:e._u([{key:"trn_id",fn:function(t){return"--"!==t.row.trn_id?[a("a",{attrs:{href:t.row.trn_url,target:"_blank"}},[e._v(e._s(t.row.trn_id))])]:void 0}},{key:"trn_date",fn:function(t){return[e._v("\n "+e._s(t.row.trn_date)+"\n ")]}},{key:"trn_type",fn:function(t){return[e._v("\n "+e._s(t.row.trn_type)+"\n ")]}},{key:"note",fn:function(t){return[e._v("\n "+e._s(t.row.note)+"\n ")]}},{key:"debit",fn:function(t){return[""===t.row.debit?a("div",[e._v("--")]):t.row.debit>=0?a("currency",{attrs:{amount:t.row.debit}}):t.row.debit<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.debit}}),e._v(" )\n ")],1):e._e()]}},{key:"credit",fn:function(t){return[""===t.row.credit?a("div",[e._v("--")]):t.row.credit>=0?a("currency",{attrs:{amount:t.row.credit}}):t.row.credit<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.credit}}),e._v(" )\n ")],1):e._e()]}},{key:"balance",fn:function(t){return[""===t.row.balance?a("div",[e._v("--")]):t.row.balance>=0?a("currency",{attrs:{amount:t.row.balance}}):t.row.balance<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.balance}}),e._v(" )\n ")],1):e._e()]}}],null,!0)},[e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("span",{staticClass:"form-group"},[a("date-range-picker",{ref:"picker",staticClass:"mr-5",attrs:{"locale-data":this.dateTimePickerFormat,singleDatePicker:!1,timePicker:!1,timePicker24Hour:!1,showWeekNumbers:!1,showDropdowns:!0,autoApply:!1,ranges:this.dateRangePickerRanges,linkedCalendars:!0,opens:"right"},scopedSlots:e._u([{key:"input",fn:function(t){return[e.filter.transaction_date.startDate?a("span",[e._v(e._s(e._f("getFormattedDate")(e.filter.transaction_date.startDate))+" - "+e._s(e._f("getFormattedDate")(e.filter.transaction_date.endDate)))]):e._e(),e._v(" "),e.filter.transaction_date.startDate?e._e():a("span",{staticClass:"date-range-placeholder"},[e._v(e._s(e.__("Filter by expire date","dokan-lite")))])]}},{key:"footer",fn:function(t){return a("div",{staticClass:"drp-buttons"},[a("span",{staticClass:"drp-selected"},[e._v(e._s(t.rangeText))]),e._v(" "),a("button",{staticClass:"cancelBtn btn btn-sm btn-secondary",attrs:{type:"button"},on:{click:function(t){return e.setDefaultTransactionDate()}}},[e._v(e._s(e.__("Cancel","dokan-lite")))]),e._v(" "),t.in_selection?e._e():a("button",{staticClass:"applyBtn btn btn-sm btn-success",attrs:{type:"button"},on:{click:t.clickApply}},[e._v(e._s(e.__("Apply","dokan-lite")))])])}}]),model:{value:e.filter.transaction_date,callback:function(t){e.$set(e.filter,"transaction_date",t)},expression:"filter.transaction_date"}})],1),e._v(" "),a("span",{staticClass:"form-group"},[a("button",{staticClass:"button action",on:{click:this.clearFilters}},[e._v(e._s(this.__("Clear","dokan-lite")))])])])],2)],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";t.a=function(e){var t=jQuery,a=t("#toplevel_page_"+e),s=window.location.href,n=s.substr(s.indexOf("admin.php"));a.on("click","a",function(){var e=t(this);t("ul.wp-submenu li",a).removeClass("current"),e.hasClass("wp-has-submenu")?t("li.wp-first-item",a).addClass("current"):e.parents("li").addClass("current")}),t("ul.wp-submenu a",a).each(function(e,a){t(a).attr("href")!==n||t(a).parent().addClass("current")})}}],[124]);
1
+ dokanWebpack([0],[,function(e,t){e.exports=jQuery},function(e,t,a){"use strict";var s=a(11),n=a(32),i=!1;var o=function(e){i||a(31)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Switches.vue",t.a=r.exports},,function(e,t,a){"use strict";var s=a(54),n=a(135),i=!1;var o=function(e){i||a(134)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UpgradeBanner.vue",t.a=r.exports},,,,function(e,t,a){"use strict";var s=a(18);a(26);t.a={extends:s.Line,props:["data"],data:function(){return{options:{responsive:!0,maintainAspectRatio:!0,scales:{x:{type:"time",title:{display:!1},gridLines:{display:!1},ticks:{fontColor:"#aaa",fontSize:11}},y:{title:{display:!1},ticks:{fontColor:"#aaa"}}},legend:{position:"top",onClick:!1},elements:{line:{tension:0,borderWidth:4},point:{radius:5,borderWidth:3,backgroundColor:"#fff",borderColor:"#fff"}},tooltips:{displayColors:!1,callbacks:{label:function(e,t){var a=t.datasets[e.datasetIndex].label||"",s=t.datasets[e.datasetIndex].tooltipLabel||"",n=t.datasets[e.datasetIndex].tooltipPrefix||"",i=s?s+": ":a+": ";return i+=n+e.yLabel}}}}}},mounted:function(){this.renderChart(this.data,this.options)}}},,function(e,t,a){"use strict";var s=a(65);t.a={components:{Sketch:s.a},props:{value:{type:String,default:"",required:!0},format:{type:String,required:!1,default:"hex",validator:function(e){return-1!==["hsl","hex","rgba","hsv"].indexOf(e)}},presetColors:{type:Array,required:!1,default:function(){return["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]}},disableAlpha:{type:Boolean,default:!0,required:!1},disableFields:{type:Boolean,default:!0,required:!1},customData:{type:Object,required:!0},itemKey:{type:String,required:!0}},data:function(){return{isPicked:!1,prevColor:"",showColorPicker:!1,selectedColor:""}},watch:{customData:{handler:function(){this.showColorPicker=this.customData.show_pallete,this.showColorPicker||this.updateColor({hex:this.prevColor})},deep:!0}},methods:{updateColor:function(e){var t="";e[this.format]&&(t=e[this.format],this.selectedColor=t),this.$emit("input",t),this.$emit("custom-change",t)},toggleColorPicker:function(){this.prevColor=this.value;var e={key:this.itemKey,values:this.customData};this.isPicked||this.updateColor({hex:this.prevColor}),this.$emit("toggleColorPicker",e)},setLastColor:function(e){var t={key:this.itemKey,values:this.customData};this.updateColor({hex:e}),this.$emit("toggleColorPicker",t)},setHexColor:function(e){this.updateColor({hex:e})}}}},function(e,t,a){"use strict";t.a={name:"Switches",props:{enabled:{type:Boolean,required:!0,default:!1},value:{type:[String,Number]}},data:function(){return{}},methods:{trigger:function(e){this.$emit("input",e.target.checked,e.target.value)}}}},function(e,t,a){"use strict";var s=a(5),n=(a.n(s),a(2)),i=a(22),o=a(23);t.a={name:"VendorAccountFields",components:{Switches:n.a,UploadImage:i.a,PasswordGenerator:o.a},props:{vendorInfo:{type:Object},errors:{type:Array,required:!1}},data:function(){return{showStoreUrl:!0,showPassword:!1,otherStoreUrl:null,banner:"",defaultUrl:dokan.urls.siteUrl+dokan.urls.storePrefix+"/",showButton:!0,placeholderData:"",delay:500,storeAvailable:null,userNameAvailable:null,emailAvailable:null,storeAvailabilityText:"",userNameAvailabilityText:"",emailAvailabilityText:"",getAccountFields:dokan.hooks.applyFilters("getVendorAccountFields",[])}},watch:{"vendorInfo.store_name":function(e){this.showStoreUrl=!0},"vendorInfo.user_nicename":function(e){void 0!==e&&(this.showStoreUrl=!1,this.otherStoreUrl=this.defaultUrl+e.trim().split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-"),this.vendorInfo.user_nicename=e.split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-"),this.checkStoreName())},"vendorInfo.user_login":function(e){this.checkUsername()},"vendorInfo.email":function(e){this.checkEmail()}},computed:{storeUrl:function(){var e=this.vendorInfo.store_name.trim().split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-");return this.vendorInfo.user_nicename=e,this.otherStoreUrl=this.defaultUrl+e,this.defaultUrl+e}},created:function(){var e=this;this.checkStoreName=Object(s.debounce)(this.checkStore,this.delay),this.checkUsername=Object(s.debounce)(this.searchUsername,this.delay),this.checkEmail=Object(s.debounce)(this.searchEmail,this.delay),this.$root.$on("passwordCancelled",function(){e.showPassword=!1})},methods:{uploadBanner:function(e){this.vendorInfo.banner_id=e.id,this.showButton=!1},uploadGravatar:function(e){this.vendorInfo.gravatar_id=e.id},getId:function(){return this.$route.params.id},onSelectBanner:function(e){this.banner=e.url,this.vendorInfo.banner_id=e.id},getError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},checkStore:function(){var e=this,t=this.vendorInfo.user_nicename;t&&(this.storeAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{store_slug:t}).then(function(t){t.available?(e.storeAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Available","dokan-lite")):(e.storeAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchUsername:function(){var e=this,t=this.vendorInfo.user_login;t&&(this.userNameAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{username:t}).then(function(t){t.available?(e.userNameAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Available","dokan-lite")):(e.userNameAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchEmail:function(){var e=this,t=this.vendorInfo.email;t&&(this.emailAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{email:t}).then(function(t){t.available?(e.emailAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=e.__("Available","dokan-lite")):(e.emailAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=t.message?t.message:e.__("This email is already registered, please choose another one.","dokan-lite"))}))},setPassword:function(e){this.showPassword=!0,this.vendorInfo.user_pass=e},sendEmail:function(e,t){"notify_vendor"===t&&(this.vendorInfo.notify_vendor=e)},getUploadBannerText:function(){var e=dokan.store_banner_dimension.width,t=dokan.store_banner_dimension.height;return this.__("Upload banner for your store. Banner size is (".concat(e,"x").concat(t,") pixels."),"dokan-lite")}}}},function(e,t,a){"use strict";t.a={name:"UploadImage",inheritAttrs:!1,props:{src:{default:dokan.urls.assetsUrl+"/images/store-pic.png"},showButton:{type:Boolean,default:!1},buttonLabel:{type:String,default:"Upload Image"},croppingWidth:{type:Number},croppingHeight:{type:Number}},data:function(){return{image:{src:"",id:""}}},methods:{uploadImage:function(){this.openMediaManager(this.onSelectImage)},onSelectImage:function(e){this.image.src=e.url,this.image.id=e.id,this.$emit("uploadedImage",this.image)},openMediaManager:function(e){var t=this;if(t.fileFrame)t.fileFrame.open();else{var a={library:wp.media.query(),multiple:!1,title:this.__("Select & Crop Image","dokan-lite"),priority:20,filterable:"uploaded",autoSelect:!0,suggestedWidth:500,suggestedHeight:300},s={id:"control-id",params:{width:this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),height:this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),flex_width:!!parseInt(dokan.store_banner_dimension["flex-width"],10),flex_height:!!parseInt(dokan.store_banner_dimension["flex-height"],10)},mustBeCropped:function(e,t,a,s,n,i){return(!0!==e||!0!==t)&&((!0!==e||s!==i)&&((!0!==t||a!==n)&&((a!==n||s!==i)&&!(n<=a))))}},n=[new wp.media.controller.Library(a),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:t.calculateImageSelectOptions,control:s})],i={title:this.__("Select Image","dokan-lite"),button:{text:this.__("Select Image","dokan-lite"),close:!1},multiple:!1};i.states=n,t.fileFrame=wp.media(i),t.fileFrame.on("select",function(){t.fileFrame.setState("cropper")}),t.fileFrame.on("cropped",function(a){e(a),t.fileFrame=null}),t.fileFrame.on("skippedcrop",function(){var a=t.fileFrame.state().get("selection").map(function(e){return e.toJSON()}).pop();e(a),t.fileFrame=null}),t.fileFrame.on("close",function(){t.fileFrame=null}),t.fileFrame.on("ready",function(){t.fileFrame.uploader.options.uploader.params={type:"dokan-vendor-option-media"}}),t.fileFrame.open()}},calculateImageSelectOptions:function(e,t){var a,s,n,i,o,r,l=this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),d=this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),c=!!parseInt(dokan.store_banner_dimension["flex-width"],10),u=!!parseInt(dokan.store_banner_dimension["flex-height"],10);o=e.get("width"),i=e.get("height");var p=t.get("control");return t.set("canSkipCrop",!p.mustBeCropped(c,u,l,d,o,i)),(s=o)/(n=i)>(a=l/d)?l=(d=n)*a:d=(l=s)/a,r={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:o,imageHeight:i,x1:0,y1:0,x2:l,y2:d},!1===u&&!1===c&&(r.aspectRatio=l+":"+d),!1===u&&(r.maxHeight=d),!1===c&&(r.maxWidth=l),r}}}},function(e,t,a){"use strict";t.a={name:"PasswordGenerator",props:{title:{type:String,default:"Generate Password"},cancelTitle:{type:String,default:"Cancel"},regenrateTitle:{type:String,default:"Regenrate"},length:{type:Number,default:25}},data:function(){return{password:"",hideGenerateButton:!1,showCancelButton:!1}},methods:{generatePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password),this.hideGenerateButton=!0,this.showCancelButton=!0},makePassword:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:25,t="",a=0;a<=e;a++){t+="abcdefghijklmnopqurstuvwxyz"[Math.floor(Math.random()*e)]+"ABCDEFGHIJKLMNOPQURSTUVWXYZ"[Math.floor(10*Math.random())]+"!@#$%^&*()"[Math.floor(Math.random()*"!@#$%^&*()".length)]}return t.slice(-e)},cancelButton:function(){this.hideGenerateButton=!1,this.showCancelButton=!1,this.$root.$emit("passwordCancelled")},regenratePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password)}}}},function(e,t,a){"use strict";var s=a(6);a.n(s);t.a={name:"VendorAddressFields",components:{Multiselect:s.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{countries:[],states:[],selectedCountry:{},selectedState:{},getAddressFields:dokan.hooks.applyFilters("getVendorAddressFields",[])}},computed:{selectedCode:function(){var e=this.vendorInfo.address.country;return""!==e?e:[]}},created:function(){this.countries=this.transformCountries(dokan.countries),this.states=dokan.states;var e=this.vendorInfo.address.country,t=this.vendorInfo.address.state;""!==e&&(this.selectedCountry={name:this.getCountryFromCountryCode(e),code:e},this.selectedState={name:this.getStateFromStateCode(t,e),code:t})},methods:{transformCountries:function(e){var t=[];for(var a in e)t.push({name:e[a],code:a});return t},getCountryFromCountryCode:function(e){if(""!==e)return dokan.countries[e]},getStateFromStateCode:function(e,t){if(""!==e){var a=dokan.states[t],s=a&&a[e];return void 0!==s?s:[]}},getStatesFromCountryCode:function(e){if(""!==e){var t=[],a=this.states;for(var s in a)if(s===e&&!(a[s]&&a[s].length<1))for(var n in a[s])t.push({name:a[s][n],code:n});return t}},saveCountry:function(e){e&&(this.vendorInfo.address.state=null,this.selectedState={},this.vendorInfo.address.country=e.code)},saveState:function(e){e&&(this.vendorInfo.address.state=e.code)}}}},function(e,t,a){"use strict";var s=a(2),n=a(6);a.n(n);t.a={name:"VendorPaymentFields",components:{Switches:s.a,Multiselect:n.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{enabled:!1,trusted:!1,featured:!1,commissionTypes:[{name:"flat",label:this.__("Flat","dokan-lite")},{name:"percentage",label:this.__("Percentage","dokan-lite")},{name:"combine",label:this.__("Combine","dokan-lite")}],selectedCommissionType:{name:"flat",label:this.__("Flat","dokan-lite")},getBankFields:dokan.hooks.applyFilters("getVendorBankFields",[]),getPyamentFields:dokan.hooks.applyFilters("AfterPyamentFields",[])}},created:function(){this.vendorInfo.enabled&&(this.enabled=!0,this.vendorInfo.enabled=!0),this.vendorInfo.trusted&&(this.trusted=!0,this.vendorInfo.trusted=!0),this.vendorInfo.featured&&(this.featured=!0,this.vendorInfo.featured=!0);var e=this.vendorInfo.admin_commission_type;if(e){var t=_.findWhere(this.commissionTypes,{name:e}),a=t.name,s=t.label;this.selectedCommissionType.name=a,this.selectedCommissionType.label=s}},methods:{setValue:function(e,t){"enabled"===t&&(this.vendorInfo.enabled=!!e),"trusted"===t&&(this.vendorInfo.trusted=!!e),"featured"===t&&(this.vendorInfo.featured=!!e)},getId:function(){return this.$route.params.id},saveCommissionType:function(e){var t=e.name;t||(this.vendorInfo.admin_commission_type="flat"),this.vendorInfo.admin_commission_type=t}}}},,,,,,function(e,t,a){"use strict";var s=a(13),n=a(35),i=!1;var o=function(e){i||a(34)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UploadImage.vue",t.a=r.exports},function(e,t,a){"use strict";var s=a(14),n=a(36),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/PasswordGenerator.vue",t.a=i.exports},,function(e,t,a){"use strict";var s=a(8),n=a(0)(s.a,null,!1,null,null,null);n.options.__file="src/admin/components/Chart.vue",t.a=n.exports},,,function(e,t,a){"use strict";var s=a(10),n=a(30),i=!1;var o=function(e){i||a(29)},r=a(0)(s.a,n.a,!1,o,"data-v-01dc0d51",null);r.options.__file="src/admin/components/ColorPicker.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("div",{staticClass:"color",style:{backgroundColor:e.value}}),e._v(" "),a("span",{staticClass:"dashicons dashicons-arrow-down-alt2"})]),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e(),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){return e.setHexColor(t.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small dashicons dashicons-no-alt",attrs:{type:"button"},on:{click:function(t){return e.setLastColor(e.prevColor)}}}),e._v(" "),a("button",{staticClass:"button button-small dashicons dashicons-saved",attrs:{type:"button"},on:{click:e.toggleColorPicker}})]):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("label",{staticClass:"switch tips"},[t("input",{staticClass:"toogle-checkbox",attrs:{type:"checkbox"},domProps:{checked:this.enabled,value:this.value},on:{change:this.trigger}}),this._v(" "),t("span",{staticClass:"slider round"})])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(12),n=a(37),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/pages/VendorAccountFields.vue",t.a=i.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-upload-image",on:{click:e.uploadImage}},[e.showButton?e._e():a("img",{attrs:{src:e.image.src?e.image.src:e.src}}),e._v(" "),e.showButton?a("button",{on:{click:function(t){return t.preventDefault(),e.uploadImage.apply(null,arguments)}}},[e._v("\n "+e._s(e.buttonLabel)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"password-generator"},[e.hideGenerateButton?e._e():a("button",{staticClass:"button button-secondary",on:{click:function(t){return t.preventDefault(),e.generatePassword.apply(null,arguments)}}},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),e.showCancelButton?a("button",{staticClass:"button regen-button",on:{click:function(t){return t.preventDefault(),e.regenratePassword.apply(null,arguments)}}},[a("span",{staticClass:"dashicons dashicons-controls-repeat"}),e._v("\n "+e._s(e.regenrateTitle)+"\n ")]):e._e(),e._v(" "),e.showCancelButton?a("button",{staticClass:"button cancel-button",on:{click:function(t){return t.preventDefault(),e.cancelButton.apply(null,arguments)}}},[e._v("\n "+e._s(e.cancelTitle)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Account Info","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[e.getId()?e._e():a("div",{staticClass:"vendor-image"},[a("div",{staticClass:"picture"},[a("p",{staticClass:"picture-header"},[e._v(e._s(e.__("Vendor Picture","dokan-lite")))]),e._v(" "),a("div",{staticClass:"profile-image"},[a("upload-image",{attrs:{croppingWidth:150,croppingHeight:150},on:{uploadedImage:e.uploadGravatar}})],1),e._v(" "),a("p",{staticClass:"picture-footer",domProps:{innerHTML:e._s(e.sprintf(e.__("You can change your profile picture on %s","dokan-lite"),"<a href='https://gravatar.com/' target='_blank'>Gravatar</a>"))}})]),e._v(" "),a("div",{class:["picture banner",{"has-banner":e.vendorInfo.banner_id}]},[a("div",{staticClass:"banner-image"},[a("upload-image",{attrs:{showButton:e.showButton,buttonLabel:e.__("Upload Banner","dokan-lite")},on:{uploadedImage:e.uploadBanner}})],1),e._v(" "),e.showButton?a("p",{staticClass:"picture-footer"},[e._v(e._s(e.getUploadBannerText()))]):e._e()])]),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"first-name"}},[e._v(e._s(e.__("First Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.first_name,expression:"vendorInfo.first_name"}],staticClass:"dokan-form-input",attrs:{type:"email",id:"first-name",placeholder:e.__("First Name","dokan-lite")},domProps:{value:e.vendorInfo.first_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"first_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"last-name"}},[e._v(e._s(e.__("Last Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.last_name,expression:"vendorInfo.last_name"}],staticClass:"dokan-form-input",attrs:{type:"email",id:"last-name",placeholder:e.__("Last Name","dokan-lite")},domProps:{value:e.vendorInfo.last_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"last_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-name"}},[e._v(e._s(e.__("Store Name","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.store_name,expression:"vendorInfo.store_name"}],class:{"dokan-form-input":!0,"has-error":e.getError("store_name")},attrs:{type:"text",id:"store-name",placeholder:e.getError("store_name")?e.__("Store Name is required","dokan-lite"):e.__("Store Name","dokan-lite")},domProps:{value:e.vendorInfo.store_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"store_name",t.target.value)}}})]),e._v(" "),e.getId()?e._e():a("div",{staticClass:"column"},[a("label",{attrs:{for:"user-nicename"}},[e._v(e._s(e.__("Store URL","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_nicename,expression:"vendorInfo.user_nicename"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"user-nicename",placeholder:e.__("Store Url","dokan-lite")},domProps:{value:e.vendorInfo.user_nicename},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_nicename",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[e.showStoreUrl?a("p",{staticClass:"store-url"},[e._v(e._s(e.storeUrl))]):a("p",{staticClass:"store-url"},[e._v(e._s(e.otherStoreUrl))]),e._v(" "),a("span",{class:{"is-available":e.storeAvailable,"not-available":!e.storeAvailable}},[e._v(e._s(e.storeAvailabilityText))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-phone"}},[e._v(e._s(e.__("Phone Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.phone,expression:"vendorInfo.phone"}],staticClass:"dokan-form-input",attrs:{type:"number",id:"store-phone",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.phone},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"phone",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Email","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.email,expression:"vendorInfo.email"}],class:{"dokan-form-input":!0,"has-error":e.getError("email")},attrs:{type:"email",id:"store-email",placeholder:e.getError("email")?e.__("Email is required","dokan-lite"):e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"email",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.emailAvailable,"not-available":!e.emailAvailable}},[e._v(e._s(e.emailAvailabilityText))])])]),e._v(" "),e.getId()?e._e():[a("div",{staticClass:"column"},[a("label",{attrs:{for:"user-login"}},[e._v(e._s(e.__("Username","dokan-lite")))]),a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_login,expression:"vendorInfo.user_login"}],staticClass:"dokan-form-input",class:{"dokan-form-input":!0,"has-error":e.getError("user_login")},attrs:{type:"text",id:"user-login",placeholder:e.getError("user_login")?e.__("Username is required","dokan-lite"):e.__("Username","dokan-lite")},domProps:{value:e.vendorInfo.user_login},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_login",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.userNameAvailable,"not-available":!e.userNameAvailable}},[e._v(e._s(e.userNameAvailabilityText))])]),e._v(" "),a("div",{staticClass:"checkbox-left notify-vendor"},[a("switches",{attrs:{enabled:!0,value:"notify_vendor"},on:{input:e.sendEmail}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Send the vendor an email about their account.","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-password"}},[e._v(e._s(e.__("Password","dokan-lite")))]),e._v(" "),e.showPassword?a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_pass,expression:"vendorInfo.user_pass"}],staticClass:"dokan-form-input",attrs:{id:"store-password",type:"text",placeholder:"********"},domProps:{value:e.vendorInfo.user_pass},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_pass",t.target.value)}}}):e._e(),e._v(" "),a("password-generator",{attrs:{title:e.__("Generate Password","dokan-lite")},on:{passwordGenerated:e.setPassword}})],1)],e._v(" "),e._l(e.getAccountFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(15),n=a(40),i=!1;var o=function(e){i||a(39)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorAddressFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Address","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-1"}},[e._v(e._s(e.__("Street 1","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_1,expression:"vendorInfo.address.street_1"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"street-1",placeholder:e.__("Street 1","dokan-lite")},domProps:{value:e.vendorInfo.address.street_1},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_1",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-2"}},[e._v(e._s(e.__("Street 2","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_2,expression:"vendorInfo.address.street_2"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"street-2",placeholder:e.__("Street 2","dokan-lite")},domProps:{value:e.vendorInfo.address.street_2},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_2",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"city"}},[e._v(e._s(e.__("City","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.city,expression:"vendorInfo.address.city"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"city",placeholder:e.__("City","dokan-lite")},domProps:{value:e.vendorInfo.address.city},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"city",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"zip"}},[e._v(e._s(e.__("Zip","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.zip,expression:"vendorInfo.address.zip"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"zip",placeholder:e.__("Zip","dokan-lite")},domProps:{value:e.vendorInfo.address.zip},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"zip",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"country"}},[e._v(e._s(e.__("Country","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{id:"country",options:e.countries,multiselect:!1,label:"name","track-by":"name",showLabels:!1,placeholder:e.__("Select Country","dokan-lite")},on:{input:e.saveCountry},model:{value:e.selectedCountry,callback:function(t){e.selectedCountry=t},expression:"selectedCountry"}})],1),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"state"}},[e._v(e._s(e.__("State","dokan-lite")))]),e._v(" "),e.getStatesFromCountryCode(e.selectedCode).length<1?[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.state,expression:"vendorInfo.address.state"}],staticClass:"dokan-form-input",attrs:{id:"state",type:"text",placeholder:e.__("State","dokan-lite")},domProps:{value:e.vendorInfo.address.state},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"state",t.target.value)}}})]:[a("Multiselect",{attrs:{id:"state",options:e.getStatesFromCountryCode(e.selectedCode),multiselect:!1,showLabels:!1,label:"name","track-by":"name",placeholder:e.__("Select State","dokan-lite")},on:{input:e.saveState},model:{value:e.selectedState,callback:function(t){e.selectedState=t},expression:"selectedState"}})]],2),e._v(" "),e._l(e.getAddressFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(16),n=a(43),i=!1;var o=function(e){i||a(42)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorPaymentFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"payment-info":!0,"edit-mode":e.getId()}},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Payment Options","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("Account Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_name,expression:"vendorInfo.payment.bank.ac_name"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"account-name",placeholder:e.__("Account Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-number"}},[e._v(e._s(e.__("Account Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_number,expression:"vendorInfo.payment.bank.ac_number"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"account-number",placeholder:e.__("1233456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-type"}},[e._v(e._s(e.__("Account Type","dokan-lite")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_type,expression:"vendorInfo.payment.bank.ac_type"}],staticClass:"dokan-form-input",attrs:{id:"account-type"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.vendorInfo.payment.bank,"ac_type",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:""}},[e._v(e._s(e.__("Please Select...","dokan-lite")))]),e._v(" "),a("option",{attrs:{value:"personal"}},[e._v(e._s(e.__("Personal","dokan-lite")))]),e._v(" "),a("option",{attrs:{value:"business"}},[e._v(e._s(e.__("Business","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-name"}},[e._v(e._s(e.__("Bank Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_name,expression:"vendorInfo.payment.bank.bank_name"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"bank-name",placeholder:e.__("Bank Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-address"}},[e._v(e._s(e.__("Bank Address","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_addr,expression:"vendorInfo.payment.bank.bank_addr"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"bank-address",placeholder:e.__("Bank Address","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_addr},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_addr",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"routing-number"}},[e._v(e._s(e.__("Routing Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.routing_number,expression:"vendorInfo.payment.bank.routing_number"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"routing-number",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.routing_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"routing_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"iban"}},[e._v(e._s(e.__("IBAN","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.iban,expression:"vendorInfo.payment.bank.iban"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"iban",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.iban},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"iban",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"swift"}},[e._v(e._s(e.__("Swift","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.swift,expression:"vendorInfo.payment.bank.swift"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"swift",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.swift},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"swift",t.target.value)}}})]),e._v(" "),e._l(e.getBankFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{class:{column:e.getId(),"checkbox-group":!e.getId()}},[a("label",{attrs:{for:"paypal-email"}},[e._v(e._s(e.__("PayPal Email","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.paypal.email,expression:"vendorInfo.payment.paypal.email"}],staticClass:"dokan-form-input",attrs:{type:"email",id:"paypal-email",placeholder:e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.payment.paypal.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.paypal,"email",t.target.value)}}})]),e._v(" "),e.getId()?[a("div",{staticClass:"column"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"commission-type"}},[e._v(e._s(e.__("Admin Commission Type","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{id:"commission-type",options:e.commissionTypes,"track-by":"name",label:"label","allow-empty":!1,multiselect:!1,searchable:!1,showLabels:!1},on:{input:e.saveCommissionType},model:{value:e.selectedCommissionType,callback:function(t){e.selectedCommissionType=t},expression:"selectedCommissionType"}})],1)]),e._v(" "),"combine"===e.selectedCommissionType.name?a("div",{staticClass:"column combine-commission"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("div",{staticClass:"combine-commission-field"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"wc_input_decimal dokan-form-input percent_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}}),e._v("\n "+e._s("%    +")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_additional_fee,expression:"vendorInfo.admin_additional_fee"}],staticClass:"wc_input_price dokan-form-input fixed_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_additional_fee},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_additional_fee",t.target.value)}}})])]):a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"dokan-form-input",class:{wc_input_price:"flat"==e.selectedCommissionType.name,wc_input_decimal:"flat"!=e.selectedCommissionType.name},attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}})])]:e._e(),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.enabled,value:"enabled"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Enable Selling","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.trusted,value:"trusted"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Publish Product Directly","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.featured,value:"featured"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Make Vendor Featured","dokan-lite")))])],1)])],2),e._v(" "),e._l(e.getPyamentFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,,,,function(e,t,a){"use strict";t.a={name:"App"}},function(e,t,a){"use strict";var s=a(25),n=a(4),i=dokan_get_lib("Postbox"),o=dokan_get_lib("Loading"),r=dokan_get_lib("Currency"),l=dokan_get_lib("AdminNotice");t.a={name:"Dashboard",components:{Postbox:i,Loading:o,Chart:s.a,Currency:r,UpgradeBanner:n.a,AdminNotice:l},data:function(){return{overview:null,feed:null,report:null,subscribe:{success:!1,loading:!1,email:"",full_name:""},hasPro:!!dokan.hasPro}},created:function(){this.fetchOverview(),this.fetchFeed(),this.fetchReport()},methods:{fetchOverview:function(){var e=this;dokan.api.get("/admin/report/summary").done(function(t){e.overview=t})},fetchFeed:function(){var e=this;dokan.api.get("/admin/dashboard/feed").done(function(t){e.feed=t})},fetchReport:function(){var e=this;dokan.api.get("/admin/report/overview").done(function(t){e.report=t})},validEmail:function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},emailSubscribe:function(){var e=this;if(this.validEmail(this.subscribe.email)){this.subscribe.loading=!0;var t={type:"POST",url:"https://api.getwemail.io/v1/embed/subscribe/8da67b42-c367-4ad3-ae70-5cf63635a832",data:{email:this.subscribe.email,full_name:this.subscribe.full_name,tag:"8e0ae2bb-e838-4ec8-9aa1-c9e5dd96fe34"},headers:{"X-Requested-With":"XMLHttpRequest"}};wp.ajax.send(t,t.data).always(function(t){e.subscribe.success=!0,e.subscribe.loading=!1})}}}}},,function(e,t,a){"use strict";t.a={name:"UpgradeBanner",data:function(){return{show:dokan.showPromoBanner,upgradeURL:dokan.urls.upgradeToPro}},computed:{showUpgrade:function(){return!dokan.hasPro&&"show"===dokan.proNag}},methods:{dismiss:function(){this.show=!1,wp.ajax.post("dokan-upgrade-dissmiss")}}}},function(e,t,a){"use strict";var s=a(1),n=a.n(s),i=a(4),o=dokan_get_lib("ListTable"),r=dokan_get_lib("Modal"),l=dokan_get_lib("Currency"),d=dokan_get_lib("AdminNotice");t.a={name:"Withdraw",components:{ListTable:o,Modal:r,Currency:l,UpgradeBanner:i.a,AdminNotice:d},data:function(){return{showModal:!1,editing:{id:null,note:null},totalPages:1,perPage:10,totalItems:0,filter:{user_id:0},counts:{pending:0,approved:0,cancelled:0},notFound:this.__("No requests found.","dokan-lite"),massPayment:this.__("Paypal Mass Payment File is Generated.","dokan-lite"),showCb:!0,loading:!1,columns:{seller:{label:this.__("Vendor","dokan-lite")},amount:{label:this.__("Amount","dokan-lite")},status:{label:this.__("Status","dokan-lite")},method_title:{label:this.__("Method","dokan-lite")},method_details:{label:this.__("Details","dokan-lite")},note:{label:this.__("Note","dokan-lite")},created:{label:this.__("Date","dokan-lite")},actions:{label:this.__("Actions","dokan-lite")}},requests:[],actionColumn:"seller",hasPro:!!dokan.hasPro}},watch:{"$route.query.status":function(){this.filter.user_id=0,this.clearSelection("#filter-vendors"),this.fetchRequests()},"$route.query.page":function(){this.fetchRequests()},"$route.query.user_id":function(){this.fetchRequests()},"filter.user_id":function(e){0===e&&this.clearSelection("#filter-vendors"),this.goTo(this.query)}},computed:{currentStatus:function(){return this.$route.query.status||"pending"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},actions:function(){return"pending"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"cancel",label:this.__("Cancel","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"pending",label:this.__("Pending","dokan-lite")}]:[]},bulkActions:function(){return"pending"==this.currentStatus?[{key:"approved",label:this.__("Approve","dokan-lite")},{key:"cancelled",label:this.__("Cancel","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"pending",label:this.__("Pending","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:[{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]}},created:function(){this.fetchRequests()},mounted:function(){var e=this;n()("#filter-vendors").selectWoo({ajax:{url:"".concat(dokan.rest.root,"dokan/v1/stores"),dataType:"json",headers:{"X-WP-Nonce":dokan.rest.nonce},data:function(e){return{search:e.term}},processResults:function(e){return{results:e.map(function(e){return{id:e.id,text:e.store_name}})}}}}),n()("#filter-vendors").on("select2:select",function(t){e.filter.user_id=t.params.data.id})},methods:{updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Completed")),this.counts.cancelled=parseInt(e.getResponseHeader("X-Status-Cancelled"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},vendorUrl:function(e){return"1"===window.dokan.hasPro?dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e:dokan.urls.adminRoot+"user-edit.php?user_id="+e},fetchRequests:function(){var e=this;this.loading=!0;var t="";parseInt(this.filter.user_id)>0&&(t=this.filter.user_id);var a={per_page:this.perPage,page:this.currentPage,status:this.currentStatus,user_id:t};dokan.api.get("/withdraw",a).done(function(t,a,s){e.requests=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},goToPage:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,page:e,user_id:this.filter.user_id}})},goTo:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,user_id:this.filter.user_id}})},updateItem:function(e,t){var a=this.requests.findIndex(function(t){return t.id==e});this.$set(this.requests,a,t)},changeStatus:function(e,t){var a=this;this.loading=!0,dokan.api.put("/withdraw/"+t,{status:e}).done(function(e){a.loading=!1,a.fetchRequests()})},onActionClick:function(e,t){var a=this;"cancel"===e&&this.changeStatus("cancelled",t.id),"pending"===e&&this.changeStatus("pending",t.id),"trash"===e&&confirm(this.__("Are you sure?","dokan-lite"))&&(this.loading=!0,dokan.api.delete("/withdraw/"+t.id).done(function(e){a.loading=!1,a.fetchRequests()}))},getPaymentTitle:function(e,t){var a,s=t.method_title;void 0!==t.details[e]&&"dokan_custom"===e&&(s=null!==(a=t.details[e].method)&&void 0!==a?a:"");return dokan.hooks.applyFilters("dokan_get_payment_title",s,e,t)},getPaymentDetails:function(e,t){var a="—";if(void 0!==t[e])if("paypal"===e||"skrill"===e)a=t[e].email||"";else if("bank"===e)t.bank.hasOwnProperty("ac_name")&&(a="<p>"+this.sprintf(this.__("Account Name: %s","dokan-lite"),t.bank.ac_name)+"</p>"),t.bank.hasOwnProperty("ac_number")&&(a+="<p>"+this.sprintf(this.__("Account Number: %s","dokan-lite"),t.bank.ac_number)+"</p>"),t.bank.hasOwnProperty("bank_name")&&(a+="<p>"+this.sprintf(this.__("Bank Name: %s","dokan-lite"),t.bank.bank_name)+"</p>"),t.bank.hasOwnProperty("iban")&&(a+="<p>"+this.sprintf(this.__("IBAN: %s","dokan-lite"),t.bank.iban)+"</p>"),t.bank.hasOwnProperty("routing_number")&&(a+="<p>"+this.sprintf(this.__("Routing Number: %s","dokan-lite"),t.bank.routing_number)+"</p>"),t.bank.hasOwnProperty("swift")&&(a+="<p>"+this.sprintf(this.__("Swift Code: %s","dokan-lite"),t.bank.swift)+"</p>");else if("dokan_custom"===e){var s;a=null!==(s=t[e].value)&&void 0!==s?s:""}return dokan.hooks.applyFilters("dokan_get_payment_details",a,e,t)},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),onBulkAction:function(e,t){var a=this,s=this;if(_.contains(["delete","approved","cancelled","pending"],e)){var n={};n[e]=t,this.loading=!0,dokan.api.put("/withdraw/batch",n).done(function(e){a.loading=!1,a.fetchRequests()})}if("paypal"===e){var i=t.join(",");jQuery.post(ajaxurl,{dokan_withdraw_bulk:"paypal",id:i,action:"withdraw_ajax_submission",nonce:dokan.nonce},function(e,t,a){if("html/csv"===a.getResponseHeader("Content-type")){var n="",i=a.getResponseHeader("Content-Disposition");if(i&&-1!==i.indexOf("attachment")){var o=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i);null!=o&&o[1]&&(n=o[1].replace(/['"]/g,""))}var r=a.getResponseHeader("Content-Type"),l="function"==typeof File?new File([e],n,{type:r}):new Blob([e],{type:r});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(l,n);else{var d=window.URL||window.webkitURL,c=d.createObjectURL(l);if(n){var u=document.createElement("a");void 0===u.download?window.location=c:(u.href=c,u.download=n,document.body.appendChild(u),u.click())}else window.location=c;setTimeout(function(){d.revokeObjectURL(c)},100)}}e&&alert(s.massPayment)})}},openNoteModal:function(e,t){this.showModal=!0,this.editing={id:t,note:e}},updateNote:function(){var e=this;this.showModal=!1,this.loading=!0,dokan.api.put("/withdraw/"+this.editing.id,{note:this.editing.note}).done(function(t){e.loading=!1,e.updateItem(e.editing.id,t),e.editing={id:null,note:null}})},clearSelection:function(e){n()(e).val(null).trigger("change")}}}},function(e,t,a){"use strict";var s=a(57),n=a(144),i=(a.n(n),a(147));t.a={name:"Premium",components:{Slick:i.a,ProCta:s.a},data:function(){return{asstesUrl:dokan.urls.assetsUrl,buyNowProUrl:"https://wedevs.com/account/",services:[{title:this.__("Premium modules to make everything easier & better","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-01@2x.png"},{title:this.__("Frontend dashboard for vendors with advanced controls","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-02@2x.png"},{title:this.__("Unlimited Product Variations and group product upload","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-03@2x.png"},{title:this.__("Zone wise shipping with multiple method for vendors","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-04@2x.png"},{title:this.__("Store support based on ticket system for your customers","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-05@2x.png"},{title:this.__("Vendors will be able to generate coupon codes","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-06@2x.png"},{title:this.__("Earning, Selling and Commission Reports & Statement","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-07@2x.png"},{title:this.__("24/7 super fast premium customer support for you","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-08@2x.png"},{title:this.__("Add Social profile to your vendor’s store and support for store SEO","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-09@2x.png"}],comparisons:[{title:this.__("Frontend order management","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Seller Statement Reports","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Making Announcements","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Customized Product Categories","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store SEO","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Back Ordering System","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store Contact Form","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Single Product Multiple Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Seller Verification","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Featured Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Multiple Commission Types","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Frontend Shipping Tracking","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Setup Wizard","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Google Maps","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Manage reviews","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Bookable Product","dokan-lite"),compare:{lite:"unavailable",pro:"available"}}],modules:[{title:"Domain",url:"https://wedevs.com/dokan/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"03"},business:{type:"numeric",value:"05"},enterprise:{type:"numeric",value:"20"}},{title:"Modules",url:"https://wedevs.com/dokan/modules/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"08"},business:{type:"numeric",value:"14"},enterprise:{type:"numeric",value:"14"}},{title:"Color Scheme",url:"https://wedevs.com/dokan/modules/color-scheme-customizer/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Review",url:"https://wedevs.com/dokan/modules/dokan-vendor-review/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Store Support",url:"https://wedevs.com/dokan/modules/store-support/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Auction",url:"https://wedevs.com/dokan/modules/dokan-simple-auctions/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Ajax Live Search",url:"https://wedevs.com/dokan/modules/ajax-live-search/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Stripe Connect",url:"https://wedevs.com/dokan/modules/stripe-connect/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Subscriptions",url:"https://wedevs.com/dokan/modules/subscription/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Single Product Multivendor",url:"https://wedevs.com/dokan/modules/single-product-multivendor/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Seller Verification",url:"https://wedevs.com/dokan/modules/seller-verification/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"WC Booking Integration",url:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Staff Manager",url:"https://wedevs.com/dokan/modules/vendor-staff-manager/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Export Import",url:"https://wedevs.com/dokan/modules/export-import/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Product Enquiry",url:"https://wedevs.com/dokan/modules/product-enquiry/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Vacation",url:"https://wedevs.com/dokan/modules/vendor-vacation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Return and Warranty Request",url:"https://wedevs.com/dokan/modules/rma/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Moip",url:"https://wedevs.com/dokan/modules/moip/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Follow Store",url:"https://wedevs.com/dokan/modules/follow-store/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Geolocation",url:"https://wedevs.com/dokan/modules/geolocation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Shipstation",url:"https://wedevs.com/dokan/modules/shipstation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Wholesale",url:"https://wedevs.com/dokan/modules/wholesale/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}}],payment:{thumbnail:dokan.urls.assetsUrl+"/images/premium/payment-options.png",guaranteeThumbnail:dokan.urls.assetsUrl+"/images/premium/gaurantee-thumb.png",viewIcon:dokan.urls.assetsUrl+"/images/premium/view-icon@2x.png",termsPolicyUrl:"https://wedevs.com/refund-policy/"},slickOptions:{slidesToShow:1,fade:!0,speed:500,cssEase:"linear",autoplay:!0,autoplaySpeed:2e3,infinite:!0,accessibility:!0,adaptiveHeight:!1,arrows:!1,dots:!0,draggable:!0,edgeFriction:.3,swipe:!0},testimonials:[{name:"Melissa McGovern",designation:"Director, Hawk And PeddleProjects",pic:dokan.urls.assetsUrl+"/images/premium/melissa.jpg",content:"We're still a new business and are continuing to build our platform. Dokan has halved the time it would take us to build our ecommerce platform by being feature rich and easy to install and configure."},{name:"Morten J. Christensen",designation:"Owner, Dincatering",pic:dokan.urls.assetsUrl+"/images/premium/Morten-J.-Christensen.jpg",content:"First and foremost it enables the possibility for actually creating the kind of marketplace i wanted. The plugin lets me create a local marketplace for local danish catering suppliers to showcase and sell their offers of the season."},{name:"Cédric Lefrancq",designation:"Webmaster, Unwebmaster.Be",pic:dokan.urls.assetsUrl+"/images/premium/cedric-lefrancq.jpeg",content:"The support is very good. The plugin is perfect. Bugs are fixed very quickly. That’s a very good plugin."},{name:"David Gaz",designation:"Founder, The Bureau Of Small Projects",pic:dokan.urls.assetsUrl+"/images/premium/david-gaz.jpeg",content:"It’s hands down an amazing plugin. But their support is even more amazing. They got back to me within hours on the weekend."}],cta:{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.buynowpro}}},methods:{next:function(){this.$refs.slick.next()},prev:function(){this.$refs.slick.prev()},reInit:function(){var e=this;this.$nextTick(function(){e.$refs.slick.reSlick()})}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(58),n=a(143),i=!1;var o=function(e){i||a(142)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ProCta.vue",t.a=r.exports},function(e,t,a){"use strict";t.a={name:"ProCta",data:function(){return{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.upgradeToPro}}}},function(e,t,a){"use strict";var s=a(4),n=dokan_get_lib("Postbox"),i=dokan_get_lib("Loading"),o=dokan_get_lib("AdminNotice");t.a={name:"Help",components:{Postbox:n,Loading:i,UpgradeBanner:s.a,AdminNotice:o},data:function(){return{docs:null,hasPro:!!dokan.hasPro}},created:function(){this.fetch()},methods:{fetch:function(){var e=this;dokan.api.get("/admin/help").done(function(t){e.docs=t})}}}},function(e,t,a){"use strict";var s=a(1),n=a.n(s),i=a(4),o=dokan_get_lib("Loading"),r=dokan_get_lib("AdminNotice");t.a={name:"ChangeLog",components:{Loading:o,UpgradeBanner:i.a,AdminNotice:r},data:function(){return{active_package:"lite",current_version:"lite-0",scrollPosition:null,openVersions:[],activeVersionBorder:"",lite_versions:null,pro_versions:null,loading:!1,hasPro:!!dokan.hasPro}},methods:{formatReleaseDate:function(e){return n.a.datepicker.formatDate(dokan_get_i18n_date_format(),new Date(e))},badgeClass:function(e){switch(e){case"New":case"New Module":case"New Feature":return"badge-green";case"Fix":return"badge-red";default:return"badge-blue"}},getDokanLiteChangeLog:function(){var e=this;this.loading=!0,dokan.api.get("/admin/changelog/lite").done(function(t){e.lite_versions=JSON.parse(t),e.loading=!1}).fail(function(t){e.loading=!1,e.$notify({type:"error",title:e.__("Error","dokan-lite"),text:e.__("Something went wrong","dokan-lite")})})},getDokanProChangeLog:function(){var e=this;this.loading=!0,dokan.api.get("/admin/changelog/pro").done(function(t){e.pro_versions=JSON.parse(t),e.loading=!1}).fail(function(t){e.loading=!1,e.$notify({type:"error",title:e.__("Error","dokan-lite"),text:e.__("Something went wrong","dokan-lite")})})},dismissWhatsNewNotice:function(){var e="pro"===this.active_package?"dokan-pro-whats-new-notice":"dokan-whats-new-notice";n.a.ajax({url:dokan.ajaxurl,method:"post",dataType:"json",data:{action:e,nonce:dokan.nonce,dokan_promotion_dismissed:!0}})},toggleReading:function(e){return this.isOpenVersion(e)?this.openVersions.splice(this.openVersions.indexOf(e),1):this.openVersions.push(e)},isOpenVersion:function(e){return this.openVersions.includes(e)},switchPackage:function(e){this.active_package=e,null===this.pro_versions&&"pro"===e&&this.getDokanProChangeLog(),null===this.lite_versions&&"lite"===e&&this.getDokanLiteChangeLog(),dokan.hasNewVersion&&this.dismissWhatsNewNotice()},isActivePackage:function(e){return this.active_package===e},addBorder:function(){var e,t=this;clearTimeout(e),this.activeVersionBorder="border: 1px solid #2271b1",e=setTimeout(function(){t.activeVersionBorder=""},3e3)},jumpVersion:function(e){this.current_version=e,this.goToPosition(e),this.addBorder()},isCurrentVersion:function(e){return this.current_version===e},updatePosition:function(){this.scrollPosition=window.scrollY},scrollTop:function(){this.goToPosition("change-log")},goToPosition:function(e){n()("html, body").animate({scrollTop:n()("#".concat(e)).offset().top-50},500)},loadChangelogData:function(){"dokan-pro"===this.$route.query.plugin?this.switchPackage("pro"):this.switchPackage("lite")}},watch:{"$route.query.plugin":function(){this.loadChangelogData()}},created:function(){this.loadChangelogData(),window.addEventListener("scroll",this.updatePosition)},destroyed:function(){window.removeEventListener("scroll",this.updatePosition)}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(20),o=a.n(i),r=a(21),l=a.n(r),d=a(159),c=a(190),u=a(4);function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}var _=dokan_get_lib("Loading"),m=dokan_get_lib("AdminNotice");t.a={name:"Settings",components:{Fields:d.a,Loading:_,SettingsBanner:c.a,UpgradeBanner:u.a,AdminNotice:m},data:function(){return{isSaved:!1,showLoading:!1,isUpdated:!1,isLoaded:!1,message:"",currentTab:null,settingSections:[],settingFields:{},settingValues:{},requiredFields:[],errors:[],validationErrors:[],hasPro:!!dokan.hasPro,searchText:"",awaitingSearch:!1,withdrawMethods:{},isSaveConfirm:!1,dokanAssetsUrl:dokan.urls.assetsUrl}},computed:{refreshable_props:function(){var e,t={};for(e in this.settingFields){var a=this.settingFields[e],s=void 0;for(s in a)a[s].refresh_after_save&&(t["".concat(e,".").concat(s)]=!0)}return t}},methods:{changeTab:function(e){this.currentTab=e.id,this.requiredFields=[],this.$refs.settingsWrapper.scrollIntoView({behavior:"smooth"}),"undefined"!=typeof localStorage&&localStorage.setItem("activetab",this.currentTab)},fetchSettingValues:function(){var e=this,t={action:"dokan_get_setting_values",nonce:dokan.nonce};e.showLoading=!0,jQuery.post(dokan.ajaxurl,t,function(t){t.success&&(Object.keys(e.settingFields).forEach(function(a,s){Object.keys(e.settingFields[a]).forEach(function(s,n){e.settingValues[a]||(e.settingValues[a]={}),void 0===t.data[a][s]?void 0===e.settingFields[a][s].default?e.settingValues[a][s]="":e.settingValues[a][s]=e.settingFields[a][s].default:e.settingValues[a]=t.data[a]})}),e.settingValues=jQuery.extend({},e.settingValues),e.showLoading=!1,e.isLoaded=!0,e.setWithdrawMethods())})},showMedia:function(e,t){var a=this,s=wp.media.frames.file_frame=wp.media({title:this.__("Choose your file","dokan-lite"),button:{text:this.__("Select","dokan-lite")},multiple:!1});s.on("select",function(){var t=s.state().get("selection").first().toJSON();a.settingValues[e.sectionId][e.name]=t.url}),s.open()},saveSettings:function(e,t){var a=this;return o()(l.a.mark(function s(){var n,i,o;return l.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(a.formIsValid(t)){s.next=2;break}return s.abrupt("return");case 2:if("dokan_withdraw"!==t){s.next=9;break}return s.next=5,a.setPaymentChangeAnnouncementAction(e,t);case 5:n=s.sent,e.send_announcement_for_payment_change=!1,"value"in n&&!0===n.value&&(e.send_announcement_for_payment_change=a.getDifference(a.withdrawMethods,e.withdraw_methods)),a.withdrawMethods=e.withdraw_methods;case 9:i=a,o={action:"dokan_save_settings",nonce:dokan.nonce,settingsData:e,section:t},i.showLoading=!0,jQuery.post(dokan.ajaxurl,o).done(function(a){var s,n=a.data.settings;for(s in i.isSaved=!0,i.isUpdated=!0,i.message=a.data.message,i.settingValues[n.name]=n.value,e){var o="".concat(t,".").concat(s);if(i.refreshable_props[o]){window.location.reload();break}}i.validationErrors=[]}).fail(function(e){i.validationErrors=e.responseJSON.data.errors}).always(function(){i.showLoading=!1}),a.$refs.settingsWrapper.scrollIntoView({behavior:"smooth"});case 13:case"end":return s.stop()}},s)}))()},setWithdrawMethods:function(){"withdraw_methods"in this.settingValues.dokan_withdraw&&(this.withdrawMethods=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?p(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},this.settingValues.dokan_withdraw.withdraw_methods))},setPaymentChangeAnnouncementAction:function(e,t){var a=this;return o()(l.a.mark(function s(){var n;return l.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if("withdraw_methods"in e&&"dokan_withdraw"===t){s.next=2;break}return s.abrupt("return",Promise.resolve({value:!1}));case 2:if(n=a.getDifference(a.withdrawMethods,e.withdraw_methods),0!==Object.keys(n).length){s.next=5;break}return s.abrupt("return",Promise.resolve({value:!1}));case 5:return s.abrupt("return",swal.fire({title:a.__("Withdraw Method Changed","dokan-lite"),text:a.__("Do you want to send an announcement to vendors about the removal of currently active payment method?","dokan-lite"),icon:"warning",showCancelButton:!0,confirmButtonText:a.__("Save & send announcement","dokan-lite"),cancelButtonText:a.__("Save only","dokan-lite"),allowOutsideClick:!1,allowEscapeKey:!1}));case 6:case"end":return s.stop()}},s)}))()},getDifference:function(e,t){var a={};return Object.keys(t).forEach(function(s){""!==e[s]&&""===t[s]&&(a[s]=s)}),a},formIsValid:function(e){var t=this,a=Object.keys(this.settingFields),s=this.requiredFields;return!!a&&(a.forEach(function(a,n){if(e===a){var i=t.settingFields[a];Object.values(i).forEach(function(e){var t=e.fields;t&&Object.values(t).forEach(function(e){e&&e.required&&"yes"===e.required&&!s.includes(e.name)&&s.push(e.name)}),e&&e.required&&"yes"===e.required&&(s.includes(e.name)||s.push(e.name))})}}),this.errors=[],s.forEach(function(e){Object.values(t.settingValues).forEach(function(a){e in a&&a[e].length<1&&(t.errors.includes(e)||(t.errors.push(e),"flat"!==a.commission_type&&"percentage"!==a.commission_type||(t.errors=t.arrayRemove(t.errors,"admin_percentage"),t.errors=t.arrayRemove(t.errors,"additional_fee"))))})}),this.errors.length<1)},arrayRemove:function(e,t){return e.filter(function(e){return e!==t})},toggleLoadingState:function(){this.showLoading=!this.showLoading},clearSearch:function(){this.searchText="",this.validateBlankSearch()},validateBlankSearch:function(){return""!==this.searchText.toLowerCase()||(this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields,!1)},searchInSettings:function(e){var t=this;this.validateBlankSearch()&&(this.awaitingSearch||setTimeout(function(){var e=t.$refs.searchInSettings.value.toLowerCase();t.doSearch(e),t.awaitingSearch=!1},1e3),this.awaitingSearch=!0)},doSearch:function(e){var t=this,a={},s=[],n=[],i=dokan.settings_fields;Object.keys(i).forEach(function(t,n){Object.keys(i[t]).forEach(function(n,o){if("sub_section"!==i[t][n].type){var r=i[t][n].label.toLowerCase();r&&r.includes(e)&&(a[t]||(a[t]={}),a[t][n]=i[t][n],-1===s.indexOf(t)&&s.push(t))}})});var o=0;Object.keys(dokan.settings_sections).forEach(function(e,a){-1!==s.indexOf(dokan.settings_sections[e].id)&&(o||(t.changeTab(dokan.settings_sections[e]),o=1),n.push(dokan.settings_sections[e]))}),this.settingFields=a,this.settingSections=n},scrollToTop:function(){this.$refs.settingsWrapper.scrollIntoView({behavior:"smooth"})},handleScroll:function(){"Settings"===this.$route.name&&this.$refs.backToTop&&(this.$refs.backToTop.style.transform=window.scrollY>document.body.scrollHeight-800?"scale(1)":"scale(0)")}},created:function(){var e=this;this.fetchSettingValues(),this.currentTab="dokan_general","undefined"!=typeof localStorage&&(this.currentTab=localStorage.getItem("activetab")?localStorage.getItem("activetab"):"dokan_general"),this.$root.$on("onFieldSwitched",function(t,a){"on"===t&&"dokan_general"in e.settingValues&&"data_clear_on_uninstall"===a&&swal.fire({icon:"warning",html:e.__("All data and tables related to Dokan and Dokan Pro will be deleted permanently after deleting the Dokan plugin. You will not be able to recover your lost data unless you keep a backup. Do you want to continue?","dokan-lite"),title:e.__("Are you sure?","dokan-lite"),showCancelButton:!0,cancelButtonText:e.__("Cancel","dokan-lite"),confirmButtonText:e.__("Okay","dokan-lite")}).then(function(t){t.dismiss&&(e.settingValues.dokan_general.data_clear_on_uninstall="off",e.$emit("switcHandler","data_clear_on_uninstall",e.settingValues.dokan_general.data_clear_on_uninstall))})}),this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields,window.addEventListener("scroll",this.handleScroll)}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(161),o=a.n(i),r=a(28),l=a(2),d=a(185),c=a(187);function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var m=dokan_get_lib("Mapbox"),v=dokan_get_lib("TextEditor"),f=dokan_get_lib("GoogleMaps"),h=dokan_get_lib("RefreshSettingOptions");t.a={name:"Fields",components:{Mapbox:m,Switches:l.a,TextEditor:v,GoogleMaps:f,colorPicker:r.a,FieldHeading:c.a,SocialFields:d.a,RefreshSettingOptions:h},props:["id","fieldData","sectionId","fieldValue","allSettingsValues","errors","toggleLoadingState","validationErrors","dokanAssetsUrl"],data:function(){return{hideMap:!1,checked:this.isChecked(),expandSocials:!1,repeatableItem:{},repeatableTime:[],singleColorPicker:{default:this.fieldData.default,label:"",show_pallete:!1},yourStringTimeValue:"",customFieldComponents:dokan.hooks.applyFilters("getDokanCustomFieldComponents",[])}},created:function(){var e=this;this.$root.$on("hasError",function(t){e.hasValidationError(t)}),this.$root.$on("getError",function(t){e.getValidationErrorMessage(t)}),this.$parent.$on("switcHandler",function(t,a){e.fieldData.name===t&&(e.checked=a)})},computed:{shouldShow:function(e){var t=!0;if(this.fieldData.show_if){var a=this.fieldData.show_if,s=Object.keys(a),n=0;for(n=0;n<s.length;n++){var i=s[n],r=i.split(".").reverse(),l=o()(r,2),d=l[0],c=l[1],u=void 0===c?this.sectionId:c,p=this.allSettingsValues[u][d],m=_.chain(a[i]).pairs().first().value(),v=o()(m,2),f=v[0],h=v[1];switch(f){case"greater_than":p>h||(t=!1);break;case"greater_than_equal":p>=h||(t=!1);break;case"less_than":p<h||(t=!1);break;case"less_than":p<=h||(t=!1);break;case"contains":Object.values(p).includes(h)||(t=!1);break;case"equal":default:p!==h&&(t=!1)}if(!t)break}}return t},mapApiSource:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.map_api_source},mapLocation:function(){var e=p(p({},{latitude:23.709921,longitude:90.40714300000002,address:"Dhaka",zoom:10}),this.fieldValue[this.fieldData.name]);return e={zoom:parseInt(e.zoom),address:"".concat(e.address),latitude:parseFloat(e.latitude),longitude:parseFloat(e.longitude)}},googleMapApiKey:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.gmap_api_key},mapboxAccessToken:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.mapbox_access_token}},beforeMount:function(){"multicheck"!==this.fieldData.type||this.fieldValue[this.fieldData.name]||(this.fieldValue[this.fieldData.name]=this.fieldData.default)},methods:{containCommonFields:function(e){return _.contains([void 0,"text","email","url","phone","time"],e)},setCheckedValue:function(e,t){this.fieldValue[this.fieldData.name][t]=e?t:""},addItem:function(e,t){this.fieldValue[t]=this.fieldValue[t]||[],void 0!==this.repeatableItem[t]&&this.repeatableItem[t]&&(this.fieldValue[t].push({id:this.repeatableItem[t].trim().replace(/\s+/g,"_").toLowerCase(),value:this.repeatableItem[t]}),this.repeatableItem[t]="")},removeItem:function(e,t){this.fieldValue[t].splice(e,1)},haveCondition:function(e){return e.hasOwnProperty("condition")},checkConditionLogic:function(e,t){var a=e.condition.logic,s=!1;return _.each(a,function(e,a){_.contains(e,t[a])&&(s=!0)}),s},onHideMap:function(e){this.hideMap=e},onUpdateMap:function(e){this.fieldValue[this.fieldData.name]=p(p({},this.mapLocation),e)},isSocialChecked:function(){return this.fieldValue[this.fieldData.name]?this.fieldValue[this.fieldData.name]:this.fieldData.default},thisSomeEvent:function(e){console.log("hello priting...",e)},isSwitchOptionChecked:function(e){return"multicheck"===this.fieldData.type?this.fieldValue[this.fieldData.name]&&this.fieldValue[this.fieldData.name][e]===e:"radio"===this.fieldData.type&&(this.fieldValue[this.fieldData.name]&&this.fieldValue[this.fieldData.name]===e)},expandSocial:function(){this.expandSocials=!this.expandSocials},getSocialValue:function(e){this.fieldValue[e.name]=this.fieldValue[e.name]?this.fieldValue[e.name]:""},isChecked:function(){return this.fieldValue[this.fieldData.name]?this.fieldValue[this.fieldData.name]:this.fieldData.default},onToggleSwitch:function(e,t){"isChecked"===t&&(this.checked=e?"on":"off",this.fieldValue[this.fieldData.name]=e?"on":"off",this.$root.$emit("onFieldSwitched",this.fieldValue[this.fieldData.name],this.fieldData.name))},hasError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},getError:function(e){return e+" "+this.__("is required.","dokan-lite")},hasValidationError:function(e){if(this.validationErrors.filter(function(t){return t.name===e}).length>0)return e},getValidationErrorMessage:function(e){var t="";return this.validationErrors.forEach(function(a){a.name===e&&(t=a.error)}),t},toggleColorPicker:function(e){this.fieldData.name===e.key?this.singleColorPicker.show_pallete=!e.values.show_pallete:this.singleColorPicker.show_pallete=!1},setCustomColor:function(e,t){t&&(this.fieldData[t]=e)}}}},,,,,,,,,,,function(e,t,a){"use strict";t.a={props:{fieldData:{type:Object,required:!0},fieldValue:{type:Object,required:!0}},methods:{isSocialOptionChecked:function(e){return"radio"===this.fieldData.type&&this.fieldValue[this.fieldData.name]===e}}}},function(e,t,a){"use strict";t.a={name:"FieldHeading",props:["fieldData"]}},function(e,t,a){"use strict";t.a={name:"SettingsBanner",data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},computed:{bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(196),n=a(4),i=dokan_get_lib("ListTable"),o=dokan_get_lib("Switches"),r=dokan_get_lib("Search"),l=dokan_get_lib("AdminNotice");t.a={name:"Vendors",components:{ListTable:i,Switches:o,Search:r,AddVendor:s.a,UpgradeBanner:n.a,AdminNotice:l},data:function(){return{showCb:!0,hasPro:dokan.hasPro,counts:{pending:0,approved:0,all:0},vendorId:0,totalItems:0,perPage:20,totalPages:1,loading:!1,columns:{store_name:{label:this.__("Store","dokan-lite"),sortable:!0},email:{label:this.__("E-mail","dokan-lite")},phone:{label:this.__("Phone","dokan-lite")},registered:{label:this.__("Registered","dokan-lite"),sortable:!0},enabled:{label:this.__("Status","dokan-lite")}},actionColumn:"title",actions:[{key:"edit",label:this.__("Edit","dokan-lite")},{key:"products",label:this.__("Products","dokan-lite")},{key:"orders",label:this.__("Orders","dokan-lite")}],bulkActions:[{key:"approved",label:this.__("Approve Vendors","dokan-lite")},{key:"pending",label:this.__("Disable Selling","dokan-lite")}],vendors:[],loadAddVendor:!1,dokanVendorHeaderArea:dokan.hooks.applyFilters("getDokanVendorHeaderArea",[]),isVendorSwitchingEnabled:!1,dokanVendorFilterSectionStart:dokan.hooks.applyFilters("dokanVendorFilterSectionStart",[])}},watch:{"$route.query.status":function(){this.fetchVendors()},"$route.query.page":function(){this.fetchVendors()},"$route.query.orderby":function(){this.fetchVendors()},"$route.query.order":function(){this.fetchVendors()}},computed:{currentStatus:function(){return this.$route.query.status||"all"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},sortBy:function(){return this.$route.query.orderby||"ID"},sortOrder:function(){return this.$route.query.order||"desc"},storeCategory:function(){return this.$route.query.store_category||null}},created:function(){var e=this;this.$root.$on("modalClosed",function(){e.loadAddVendor=!1,e.vendorId=0}),this.fetchVendors(),this.$root.$on("vendorAdded",function(t){e.vendors.unshift(t)}),this.$root.$on("addAnotherVendor",function(){e.loadAddVendor=!0}),this.$root.$on("categoryFetched",function(t){e.categories=t.categories,e.isCategoryMultiple=t.isCategoryMultiple,e.columns=t.columns}),this.isVendorSwitchingEnabled=!!dokan.is_vendor_switching_enabled,this.isVendorSwitchingEnabled&&this.actions.push({key:"switch_to",label:this.__("Switch To","dokan-lite")})},methods:{addNew:function(){this.loadAddVendor=!0},updateVendorComponent:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.fetchVendors()},doSearch:function(e){var t=this,a=this;a.loading=!0,dokan.api.get("/stores",{search:e,page:this.currentPage,orderby:this.sortBy,order:this.sortOrder}).done(function(e,s,n){a.vendors=e,a.loading=!1,t.updatedCounts(n),t.updatePagination(n)})},updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Approved")),this.counts.all=parseInt(e.getResponseHeader("X-Status-All"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},fetchVendors:function(){var e=this;e.loading=!0;var t={per_page:e.perPage,page:e.currentPage,status:e.currentStatus,orderby:e.sortBy,order:e.sortOrder,store_category:e.storeCategory};t=dokan.hooks.applyFilters("DokanGetVendorArgs",t,this.$route.query),dokan.api.get("/stores",t).done(function(t,a,s){e.vendors=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},onActionClick:function(e,t){"trash"===e&&confirm("Are you sure to delete?")&&alert("deleted: "+t.title)},onSwitch:function(e,t){var a=this,s=!1===e?this.__("The vendor has been disabled.","dokan-lite"):this.__("Selling has been enabled","dokan-lite");dokan.api.put("/stores/"+t+"/status",{status:!1===e?"inactive":"active"}).done(function(e){a.$notify({title:a.__("Success!","dokan-lite"),type:"success",text:s}),"all"!==a.currentStatus&&"pending"!==a.currentStatus&&"approved"!==a.currentStatus||a.fetchVendors()})},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),goToPage:function(e){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:e}})},onBulkAction:function(e,t){var a=this,s={};s[e]=t,this.loading=!0,dokan.api.put("/stores/batch",s).done(function(e){a.loading=!1,a.fetchVendors()})},sortCallback:function(e,t){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:1,orderby:e,order:t}})},productUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=product&author="+e},ordersUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=shop_order&vendor_id="+e},editUrl:function(e){return dokan.urls.adminRoot+"user-edit.php?user_id="+e},switchToUrl:function(e){return e.switch_url}}}},function(e,t,a){"use strict";var s=a(33),n=a(38),i=a(41),o=dokan_get_lib("Modal"),r=dokan_get_lib("Loading");t.a={name:"AddVendor",props:["vendorId"],components:{Modal:o,Loading:r,VendorAccountFields:s.a,VendorAddressFields:n.a,VendorPaymentFields:i.a},data:function(){return{isLoading:!1,storeId:"",nextBtn:this.__("Next","dokan-lite"),title:this.__("Add New Vendor","dokan-lite"),tabs:{VendorAccountFields:{label:this.__("Account Info","dokan-lite"),name:"VendorAccountFields",icon:"dashicons dashicons-admin-users"},VendorAddressFields:{label:this.__("Address","dokan-lite"),name:"VendorAddressFields",icon:"dashicons dashicons-admin-home"},VendorPaymentFields:{label:this.__("Payment Options","dokan-lite"),name:"VendorPaymentFields",icon:"dashicons dashicons-money"}},currentTab:"VendorAccountFields",store:{store_name:"",user_pass:"",store_url:"",user_login:"",email:"",user_nicename:"",notify_vendor:!0,phone:"",banner:"",banner_id:"",gravatar:"",gravatar_id:"",social:{fb:"",youtube:"",twitter:"",linkedin:"",pinterest:"",instagram:""},payment:{bank:{ac_name:"",ac_type:"",ac_number:"",bank_name:"",bank_addr:"",routing_number:"",iban:"",swift:""},paypal:{email:""}},address:{street_1:"",street_2:"",city:"",zip:"",state:"",country:""}},requiredFields:["store_name","user_login","email"],errors:[],storeAvailable:!1,userNameAvailable:!1,emailAvailable:!1,hasPro:dokan.hasPro}},created:function(){var e=this;this.$root.$on("vendorInfoChecked",function(t){e.storeAvailable=t.storeAvailable,e.userNameAvailable=t.userNameAvailable,e.emailAvailable=t.emailAvailable})},methods:{getId:function(){return this.$route.params.id},showAlert:function(e,t,a){swal.fire(e,t,a)},createVendor:function(){var e=this;this.formIsValid()&&("VendorPaymentFields"===this.currentTab&&(this.isLoading=!0,dokan.api.post("/stores/",this.store).done(function(t){e.$root.$emit("vendorAdded",t),swal.fire({icon:"success",title:e.__("Vendor Created","dokan-lite"),text:e.__("A vendor has been created successfully!","dokan-lite"),showCloseButton:!0,showCancelButton:!0,confirmButtonText:e.__("Add Another","dokan-lite"),cancelButtonText:e.__("Edit Vendor","dokan-lite"),focusConfirm:!1}).then(function(a){a.value?e.$root.$emit("addAnotherVendor"):a.dismiss===swal.DismissReason.cancel&&(e.hasPro?e.$router.push({path:"vendors/"+t.id,query:{edit:"true"}}):window.location.replace("".concat(dokan.urls.adminRoot,"user-edit.php?user_id=").concat(t.id)))})}).fail(function(t){e.showAlert(e.__(t.responseJSON.message,"dokan-lite"),"","error")}).always(function(){e.$root.$emit("modalClosed")})),this.currentTab="VendorPaymentFields"===this.currentTab?"VendorPaymentFields":this.nextTab(this.tabs,this.currentTab))},nextTab:function(e,t){var a=Object.keys(e),s=a[a.indexOf(t)+1];return s},closeModal:function(){this.$root.$emit("modalClosed")},formIsValid:function(){var e=this,t=this.requiredFields,a=this.store;return this.errors=[],t.forEach(function(t){t in a&&a[t].length<1&&e.errors.push(t)}),!!(this.errors.length<1&&this.storeAvailable&&this.userNameAvailable&&this.emailAvailable)||(this.currentTab="VendorAccountFields",!1)}}}},function(e,t,a){"use strict";var s=a(20),n=a.n(s),i=a(21),o=a.n(i),r=a(79);a.n(r);t.a={name:"DummyData",data:function(){return{errorMsg:"",csvFileUrl:dokan.urls.dummy_data,progress:0,dummyData:[],loading:!0,allVendors:[],allProducts:[],done:!1,statusLoader:!0,vendorsDataToRemove:["sku","status","catalog_visibility","short_description","date_on_sale_from","date_on_sale_to","tax_status","tax_class","stock_status","manage_stock","stock_quantity","children","backorders","sold_individually","reviews_allowed","purchase_note","sale_price","regular_price","category_ids","tag_ids","shipping_class_id","raw_image_id","raw_gallery_image_ids","download_limit","download_expiry","parent_id","grouped_products","upsell_ids","cross_sell_ids","product_url","button_text","menu_order","virtual","downloadable","status","attribute_1_name","attribute_1_value","attribute_1_visible","attribute_1_global","attribute_2_name","attribute_2_value","attribute_2_visible","attribute_2_global","_wpcom_is_markdown","download1_name","download_1_url","download_2_name","download_2_url","vendor"],productsDataToRemove:["email","password","store_name","social","payment","phone","show_email","address","location","banner","icon","gravatar","show_more_tpab","show_ppp","enable_tnc","store_tnc","show_min_order_discount","store_seo","dokan_store_time","enabled","trusted","attribute_1_name","attribute_1_value","attribute_1_visible","attribute_1_global","attribute_2_name","attribute_2_value","attribute_2_visible","attribute_2_global"]}},created:function(){this.loadImportStatus(),this.loadCsvFile()},methods:{loadImportStatus:function(){this.statusLoader=!0;var e=this;dokan.api.get("/dummy-data/status",{nonce:dokan.nonce}).done(function(t,a,s){"yes"==t.import_status&&(e.done=!0),e.statusLoader=!1}).fail(function(e){var t=window.dokan_handle_ajax_error(e);t&&swal.fire(t,"","error")})},resetDataState:function(){this.dummyData=[],this.allVendors=[],this.allProducts=[]},loadCsvFile:function(){var e=this;e.loading=!0,e.resetDataState(),jQuery.ajax({type:"GET",url:this.csvFileUrl,data:{},success:function(t){Object(r.parse)(t,{header:!0,complete:function(t){e.loading=!1,e.dummyData=t.data,e.loadCsvData()}}),e.loading=!1}})},loadCsvData:function(){var e=this;this.dummyData.forEach(function(t){"vendor"===t.type?e.allVendors.push(e.formatVendorData(t)):e.allProducts.push(e.formatProductData(t))})},requestToImport:function(e){var t=this;dokan.api.post("/dummy-data/import",e).done(function(e,a,s){t.handleImport(e.vendor_index),t.updateProgress(e.vendor_index)}).fail(function(e){var t=window.dokan_handle_ajax_error(e);t&&swal.fire(t,"","error")})},importBtnHandler:function(){this.handleImport()},updateProgress:function(e){this.progress=100*e/this.allVendors.length},handleImport:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.allVendors[e];if(!t||void 0==t)return this.loading=!1,void(this.done=!0);var a={nonce:dokan.nonce,vendor_data:t,vendor_products:this.getVendorProducts(t.id),vendor_index:e,total_vendors:this.allVendors.length};this.loading=!0,this.requestToImport(a)},formatVendorData:function(e){return this.vendorsDataToRemove.forEach(function(t){delete e[t]}),e},formatProductData:function(e){return e.raw_attributes=[{name:e.attribute_1_name,value:e.attribute_1_value.split(","),visible:e.attribute_1_visible,taxonomy:e.attribute_1_global},{name:e.attribute_2_name,value:e.attribute_2_value.split(","),visible:e.attribute_2_visible,taxonomy:e.attribute_2_global}],e.manage_stock=Boolean(e.manage_stock),this.productsDataToRemove.forEach(function(t){delete e[t]}),e},getVendorProducts:function(e){return this.allProducts.filter(function(t){return t.vendor==e})},resetToImport:function(){this.errorMsg="",this.progress=0,this.loading=!1,this.done=!1},clearAllDummyData:function(){var e=this;return n()(o.a.mark(function t(){var a,s;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,dokan_sweetalert("Are you sure? You want to remove all dummy data!",{action:"confirm",icon:"warning"});case 3:"undefined"!==(s=t.sent)&&s.isConfirmed&&(a.loading=!0,dokan.api.delete("/dummy-data/clear",{nonce:dokan.nonce}).done(function(e,t,s){dokan_sweetalert("",{toast:!0,icon:"success",title:e.message,position:"bottom-right",showConfirmButton:!1,timer:3e3,timerProgressBar:!0,didOpen:function(e){e.addEventListener("mouseenter",swal.stopTimer),e.addEventListener("mouseleave",swal.resumeTimer)}}),a.resetToImport()}).fail(function(e){var t=window.dokan_handle_ajax_error(e);t&&swal.fire(t,"","error")}));case 5:case"end":return t.stop()}},t)}))()},getProductsPageUrl:function(){return"".concat(dokan.urls.adminRoot,"edit.php?post_type=product")}}}},,function(e,t,a){"use strict";var s=a(57);t.a={name:"VendorCapabilities",components:{ProCta:s.a},data:function(){return{showPopup:!1,selectedCapabilityImage:"",capabilityCards:[{title:this.__("Coupons","dokan-lite"),content:this.__("Each vendor can create unlimited discount coupon codes for their products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-coupon.svg")},{title:this.__("Shipping","dokan-lite"),content:this.__("Vendors can configure their own shipping costs for each country, state & single products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-shipping.svg")},{title:this.__("Duplicate Product","dokan-lite"),content:this.__("Vendors can duplicate their own products for ease and time saving.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-duplicate-product.svg")},{title:this.__("Reporting","dokan-lite"),content:this.__("Earning, selling and commissions reports for vendors to improve sales & take major decisions.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-reports.svg")},{title:this.__("Create Tags","dokan-lite"),content:this.__("Vendors can create & attach tags to products to categorize & for better search engine optimization.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-create-tags.svg")},{title:this.__("Vendor Biography","dokan-lite"),content:this.__("Vendors can write about themselves & about their store in a text field which visitors can see from the store page","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-biography.svg")},{title:this.__("Vendor Product Upload","dokan-lite"),content:this.__("New vendors can start uploading products upon registration if admins allow.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-product-upload.svg")},{title:this.__("Order Status Change","dokan-lite"),content:this.__("Vendors will be able to mark products as draft & update the order status to inform customers about progress.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-order-status-change.svg")},{title:this.__("Social Share","dokan-lite"),content:this.__("Visitors and customers can share a store page with their friends and acquaintances on their social profiles.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-share.svg")},{title:this.__("Variable Product","dokan-lite"),content:this.__("Vendors can create variable products with predefined and custom attributes.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-variable-product.svg")},{title:this.__("Store Opening & Closing Time","dokan-lite"),content:this.__("Vendors can define the working hours of their online store for each day of the week for visitors to see.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-opening-closing-hours.svg")},{title:this.__("Woocommerce Booking Integration","dokan-lite"),content:this.__("Create hotel rooms, resorts, conference rooms, cars, bikes, etc for renting out.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-woocommerce-booking.svg")},{title:this.__("Announcement For Vendors","dokan-lite"),content:this.__("Admins can make announcements targeted to a single vendor, multiple or all vendors.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-announcement-vendors.svg")},{title:this.__("Woocommerce Simple Auctions Integration","dokan-lite"),content:this.__("Sell auction-able products in your store with Dokan’s integration.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-simple-auction.svg")},{title:this.__("Social Profiles","dokan-lite"),content:this.__("Vendors can upload & showcase their Facebook, Twitter and Linkedin profiles on their store page.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-profile.svg")},{title:this.__("Refund","dokan-lite"),content:this.__("Vendors can send refund requests for an order to the admins who can approve or deny it from the dashboard.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-refund.svg")},{title:this.__("Store Seo","dokan-lite"),content:this.__("The Yoast SEO integration lets vendors define Store Title, Description, Slug and Keyword to appear in search engine results.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-store-seo.svg")}]}},methods:{closePopup:function(){this.showPopup=!1},openPopup:function(e){this.showPopup=!0,this.selectedCapabilityImage=e}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner.svg")}}}},function(e,t,a){"use strict";var s=a(208);t.a={name:"ProModules",components:{ModuleUpgradePopup:s.a},data:function(){return{modules:[{name:this.__("WooCommerce Booking Integration","dokan-lite"),description:this.__("Integrates WooCommerce Booking with Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/booking.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-bookings/",modLink:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/"},{name:this.__("Color Scheme Customizer","dokan-lite"),description:this.__("A Dokan plugin Add-on to Customize Colors of Dokan Dashboard","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/color-scheme-customizer.png"),docLink:"https://wedevs.com/docs/dokan/modules/color-scheme/",modLink:"https://wedevs.com/dokan/modules/color-scheme-customizer/"},{name:this.__("Elementor","dokan-lite"),description:this.__("Elementor Page Builder widgets for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/elementor.png"),docLink:"https://wedevs.com/docs/dokan/modules/elementor-dokan/",modLink:"https://wedevs.com/dokan/modules/elementor/"},{name:this.__("Vendor Product Importer and Exporter","dokan-lite"),description:this.__("This is simple product import and export plugin for vendor","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/import-export.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-dokan-exportimport-add/",modLink:"https://wedevs.com/dokan/modules/export-import/"},{name:this.__("Follow Store","dokan-lite"),description:this.__("Send emails to customers when their favorite store updates.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/follow-store.png"),docLink:"https://wedevs.com/docs/dokan/modules/follow-store/",modLink:"https://wedevs.com/dokan/modules/follow-store/"},{name:this.__("Geolocation","dokan-lite"),description:this.__("Search Products and Vendors by geolocation.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/geolocation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-geolocation/",modLink:"https://wedevs.com/dokan/modules/geolocation/"},{name:this.__("Live Chat","dokan-lite"),description:this.__("Live Chat Between Vendor & Customer.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/live-chat.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-live-chat/",modLink:"https://wedevs.com/dokan/modules/live-chat/"},{name:this.__("Live Search","dokan-lite"),description:this.__("Live product search for WooCommerce store.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/ajax-live-search.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-live-search/",modLink:"https://wedevs.com/dokan/modules/ajax-live-search/"},{name:this.__("Wirecard","dokan-lite"),description:this.__("Wirecard payment gateway for Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wirecard-connect.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-moip-connect/",modLink:"https://wedevs.com/dokan/modules/moip/"},{name:this.__("PayPal Adaptive Payment","dokan-lite"),description:this.__("Allows to send split payments to vendor via PayPal Adaptive Payment gateway.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/paypal-adaptive.png"),docLink:"#",modLink:"#"},{name:this.__("Product Addon","dokan-lite"),description:this.__("WooCommerce Product Addon support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-addon.png"),docLink:"https://wedevs.com/docs/dokan/modules/product-addon/",modLink:"https://wedevs.com/dokan/modules/product-addons/"},{name:this.__("Product Enquiry","dokan-lite"),description:this.__("Enquiry for a specific product to a seller.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-enquiry.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-product-enquiry/",modLink:"https://wedevs.com/dokan/modules/product-enquiry/"},{name:this.__("Report Abuse","dokan-lite"),description:this.__("Let customers report fraudulent or fake products.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/"},{name:this.__("Return and Warranty Request","dokan-lite"),description:this.__("Manage return and warranty from vendor end.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-rma/",modLink:"https://wedevs.com/dokan/modules/rma/"},{name:this.__("Seller Vacation","dokan-lite"),description:this.__("Using this plugin seller can go to vacation by closing their stores.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/seller-vacation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-vacation/",modLink:"https://wedevs.com/dokan/modules/vendor-vacation/"},{name:this.__("ShipStation Integration","dokan-lite"),description:this.__("Adds ShipStation label printing support to Dokan. Requires server DomDocument support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/shipstation.png"),docLink:"https://wedevs.com/docs/dokan/modules/shipstation-dokan-wedevs/",modLink:"https://wedevs.com/dokan/modules/shipstation/"},{name:this.__("Auction Integration","dokan-lite"),description:this.__("A plugin that combined WooCommerce simple auction and Dokan plugin.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/auction.png"),docLink:"https://wedevs.com/docs/dokan/modules/woocommerce-auctions-frontend-multivendor-marketplace/",modLink:"https://wedevs.com/dokan/modules/dokan-simple-auctions/"},{name:this.__("Single Product Multiple Vendor","dokan-lite"),description:this.__("A module that offers multiple vendor to sell a single product.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/single-product-multivendor.png"),docLink:"https://wedevs.com/docs/dokan/modules/single-product-multiple-vendor/",modLink:"https://wedevs.com/dokan/modules/single-product-multivendor/"},{name:this.__("Store Reviews","dokan-lite"),description:this.__("A plugin that allows customers to rate the sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-review.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-review/",modLink:"https://wedevs.com/dokan/modules/dokan-vendor-review/"},{name:this.__("Store Support","dokan-lite"),description:this.__("Enable vendors to provide support to customers from store page.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/store-support.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-store-support/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Stripe Connect","dokan-lite"),description:this.__("Accept credit card payments and allow your sellers to get automatic split payment in Dokan via Stripe.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/stripe.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-configure-dokan-stripe-connect/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Vendor Subscription","dokan-lite"),description:this.__("Product subscription pack add-on for Dokan vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/subscription.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-use-dokan-subscription/",modLink:"https://wedevs.com/dokan/modules/subscription/"},{name:this.__("Vendor Analytics","dokan-lite"),description:this.__("A plugin for store and product analytics for vendor.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/analytics.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/"},{name:this.__("Vendor Staff Manager","dokan-lite"),description:this.__("A plugin for manage store via vendor staffs.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-staff.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-staff-manager/",modLink:"https://wedevs.com/dokan/modules/vendor-staff-manager/"},{name:this.__("Vendor Subscription Product","dokan-lite"),description:this.__("WooCommerce Subscription integration for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-subscription-product.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-subscription-product/",modLink:"https://wedevs.com/dokan/modules/vendor-subscription-product/"},{name:this.__("Vendor Verification","dokan-lite"),description:this.__("Dokan add-on to verify sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-verification.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-seller-verification-admin-settings/",modLink:"https://wedevs.com/dokan/modules/seller-verification/"},{name:this.__("Wholesale","dokan-lite"),description:this.__("Offer any customer to buy product as a wholesale price from any vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wholesale.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-wholesale/",modLink:"https://wedevs.com/dokan/modules/wholesale/"}],showPopup:!0}},methods:{togglePopup:function(e){this.showPopup=e}}}},function(e,t,a){"use strict";t.a={name:"ModuleUpgradePopup",props:{showPopup:{type:Boolean,required:!0,default:!0}},data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},methods:{closePopup:function(){this.$emit("toggle",!1)}}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(1),o=a.n(i),r=a(19),l=a.n(r);function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}var c=dokan_get_lib("ListTable"),u=dokan_get_lib("Multiselect"),p=dokan_get_lib("debounce"),_=dokan_get_lib("DateRangePicker"),m=dokan_get_lib("AdminNotice"),v=dokan_get_lib("Currency"),f=dokan_get_lib("CardFunFact"),h=Swal.mixin({customClass:{confirmButton:"button button-primary",cancelButton:"button button-secondary"},buttonsStyling:!1});t.a={name:"ReverseWithdrawal",components:{Currency:v,ListTable:c,Multiselect:u,Debounce:p,swal:h,DateRangePicker:_,AdminNotice:m,CardFunFact:f},data:function(){return{transactionData:[],loading:!1,clearingFilters:!1,counts:{debit:0,credit:0,balance:0,total_transactions:0,total_vendors:0},dateTimePickerFormat:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({format:dokan_get_daterange_picker_format().toLowerCase()},dokan_helper.daterange_picker_local),dateRangePickerRanges:{Today:[l()().toDate(),l()().toDate()],"Last 30 Days":[l()().subtract(29,"days").toDate(),l()().toDate()],"This Month":[l()().startOf("month").toDate(),l()().endOf("month").toDate()],"Last Month":[l()().subtract(1,"month").startOf("month").toDate(),l()().subtract(1,"month").endOf("month").toDate()],"This Year":[l()().month(0).startOf("month").toDate(),l()().month(11).endOf("month").toDate()],"Last Year":[l()().month(0).subtract(1,"year").startOf("month").toDate(),l()().month(11).subtract(1,"year").endOf("month").toDate()]},totalPages:1,perPage:20,totalItems:0,showCb:!0,notFound:this.__("No transaction found.","dokan-lite"),columns:{store_name:{label:this.__("Stores","dokan-lite")},balance:{label:this.__("Balance","dokan-lite")},last_payment_date:{label:this.__("Last Payment Date","dokan-lite")}},actions:[],filter:{stores:this.getDefaultStore(),selected_store:this.getDefaultStore()[0],transaction_date:{startDate:"",endDate:""}}}},created:function(){this.setDefaultTransactionDate(),this.fetchStoreLists(),this.fetchBalances()},mounted:function(){this.mountToolTips()},updated:function(){this.mountToolTips()},filters:{getFormattedDate:function(e){return e?o.a.datepicker.formatDate(dokan_get_i18n_date_format(),new Date(e)):""}},computed:{getCurrentPage:function(){return this.$route.query.page?parseInt(this.$route.query.page):1},getSortBy:function(){var e;return null!==(e=this.$route.query.orderby)&&void 0!==e?e:"added"},getSortOrder:function(){var e;return null!==(e=this.$route.query.order)&&void 0!==e?e:"desc"},filterStoreID:function(){return this.filter.selected_store?this.filter.selected_store.id:0},filterTransactionDate:function(){var e={from:"",to:""};return this.filter.transaction_date.startDate&&this.filter.transaction_date.endDate?(e.from=o.a.datepicker.formatDate("yy-mm-dd",this.filter.transaction_date.startDate),e.to=o.a.datepicker.formatDate("yy-mm-dd",this.filter.transaction_date.endDate),e.from===e.to&&(e.from=""),e):e},bulkActions:function(){return[]}},watch:{"$route.query.page":function(){this.fetchBalances()},"$route.query.orderby":function(){this.fetchBalances()},"$route.query.order":function(){this.fetchBalances()},"filter.selected_store":function(){this.clearingFilters||this.loading||this.fetchBalances()},"filter.transaction_date.startDate":function(){this.clearingFilters||this.loading||this.fetchBalances()}},methods:{updatedCounts:function(e){var t,a,s,n,i;this.counts.debit=parseInt(null!==(t=e.getResponseHeader("X-Status-Debit"))&&void 0!==t?t:0),this.counts.credit=parseInt(null!==(a=e.getResponseHeader("X-Status-Credit"))&&void 0!==a?a:0),this.counts.balance=parseInt(null!==(s=e.getResponseHeader("X-Status-Balance"))&&void 0!==s?s:0),this.counts.total_transactions=parseInt(null!==(n=e.getResponseHeader("X-Status-Total-Transactions"))&&void 0!==n?n:0),this.counts.total_vendors=parseInt(null!==(i=e.getResponseHeader("X-Status-Total-Vendors"))&&void 0!==i?i:0)},updatePagination:function(e){var t,a;this.totalPages=parseInt(null!==(t=e.getResponseHeader("X-WP-TotalPages"))&&void 0!==t?t:0),this.totalItems=parseInt(null!==(a=e.getResponseHeader("X-WP-Total"))&&void 0!==a?a:0)},resetCounts:function(){this.counts.debit=0,this.counts.credit=0,this.counts.balance=0,this.counts.total_transactions=0,this.counts.total_vendors=0,this.totalPages=0,this.totalItems=0},clearFilters:function(){this.clearingFilters=!0,this.filter.selected_store=this.getDefaultStore()[0],this.setDefaultTransactionDate(),this.clearingFilters=!1,this.fetchBalances()},getDefaultStore:function(){return[{id:0,name:this.__("All Stores","dokan-lite")}]},fetchStoreLists:p(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this;dokan.api.get("/reverse-withdrawal/stores",{paged:1,search:e}).done(function(e){t.filter.stores=t.getDefaultStore().concat(e)}).fail(function(e){t.filter.stores=t.getDefaultStore()})},300),getDefaultTransactionDate:function(){var e=l()().endOf("today").hour(23).minute(59).second(59).toDate();return{startDate:e,endDate:e}},setDefaultTransactionDate:function(){var e=this.getDefaultTransactionDate();this.filter.transaction_date.startDate=e.startDate,this.filter.transaction_date.endDate=e.endDate,this.$refs.picker&&this.$refs.picker.togglePicker(!1)},fetchBalances:function(){this.loading=!0;var e=this,t={per_page:e.perPage,page:e.getCurrentPage,orderby:e.getSortBy,order:e.getSortOrder,trn_date:e.filterTransactionDate};e.filterStoreID&&(t.vendor_id=e.filterStoreID),dokan.api.get("/reverse-withdrawal/stores-balance",t).done(function(t,a,s){e.transactionData=t,e.updatedCounts(s),e.updatePagination(s)}).always(function(){e.loading=!1}).fail(function(t){e.transactionData=[],e.resetCounts();var a=e.renderApiError(t);a&&e.showErrorAlert(a)})},goToPage:function(e){this.$router.push({name:"ReverseWithdrawal",query:{page:e}})},doSort:function(e,t){this.$router.push({name:"ReverseWithdrawal",query:{page:1,orderby:e,order:t}})},orderUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},vendorUrl:function(e){return dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e},productUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},mountToolTips:function(){o()(".tips").tooltip()},moment:function(e){return l()(e)},showErrorAlert:function(e){h.fire(this.__("Something went wrong","dokan-lite"),e,"error")},renderApiError:function(e){var t="";return e.responseJSON&&e.responseJSON.message?t=e.responseJSON.message:e.responseJSON&&e.responseJSON.data&&e.responseJSON.data.message?t=e.responseJSON.data.message:e.responseText&&(t=e.responseText),t}}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(1),o=a.n(i),r=a(19),l=a.n(r);function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}var c=dokan_get_lib("ListTable"),u=dokan_get_lib("Multiselect"),p=dokan_get_lib("debounce"),_=dokan_get_lib("DateRangePicker"),m=dokan_get_lib("AdminNotice"),v=dokan_get_lib("Currency"),f=dokan_get_lib("CardFunFact"),h=Swal.mixin({customClass:{confirmButton:"button button-primary",cancelButton:"button button-secondary"},buttonsStyling:!1});t.a={name:"ReverseWithdrawalTransactions",components:{Currency:v,ListTable:c,Multiselect:u,Debounce:p,swal:h,DateRangePicker:_,AdminNotice:m,CardFunFact:f},data:function(){return{storeDetails:{},transactionData:[],loading:!1,clearingFilters:!1,counts:{debit:0,credit:0,total_transaction:0},dateTimePickerFormat:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({format:dokan_get_daterange_picker_format().toLowerCase()},dokan_helper.daterange_picker_local),dateRangePickerRanges:{Today:[l()().toDate(),l()().toDate()],"Last 30 Days":[l()().subtract(29,"days").toDate(),l()().toDate()],"This Month":[l()().startOf("month").toDate(),l()().endOf("month").toDate()],"Last Month":[l()().subtract(1,"month").startOf("month").toDate(),l()().subtract(1,"month").endOf("month").toDate()],"This Year":[l()().month(0).startOf("month").toDate(),l()().month(11).endOf("month").toDate()],"Last Year":[l()().month(0).subtract(1,"year").startOf("month").toDate(),l()().month(11).subtract(1,"year").endOf("month").toDate()]},totalPages:1,perPage:100,totalItems:0,showCb:!0,notFound:this.__("No transaction found.","dokan-lite"),columns:{trn_id:{label:this.__("Transaction ID","dokan-lite")},trn_date:{label:this.__("Date","dokan-lite")},trn_type:{label:this.__("Transaction Type","dokan-lite")},note:{label:this.__("Note","dokan-lite")},debit:{label:this.__("Debit","dokan-lite")},credit:{label:this.__("Credit","dokan-lite")},balance:{label:this.__("Balance","dokan-lite")}},actions:[],filter:{transaction_date:{startDate:"",endDate:""}}}},created:function(){this.setDefaultTransactionDate(),this.fetchTransactions()},mounted:function(){this.fetchStoreDetails(),this.mountToolTips(),this.scrollToTop()},updated:function(){this.mountToolTips()},filters:{getFormattedDate:function(e){return e?o.a.datepicker.formatDate(dokan_get_i18n_date_format(),new Date(e)):""}},computed:{ID:function(){return this.$route.params.store_id},getCurrentPage:function(){return this.$route.query.page?parseInt(this.$route.query.page):1},getSortBy:function(){var e;return null!==(e=this.$route.query.orderby)&&void 0!==e?e:"added"},getSortOrder:function(){var e;return null!==(e=this.$route.query.order)&&void 0!==e?e:"desc"},filterTransactionDate:function(){var e={};return this.filter.transaction_date.startDate&&this.filter.transaction_date.endDate?(e.from=o.a.datepicker.formatDate("yy-mm-dd",new Date(this.filter.transaction_date.startDate)),e.to=o.a.datepicker.formatDate("yy-mm-dd",new Date(this.filter.transaction_date.endDate)),e):e},bulkActions:function(){return[]}},watch:{"$route.query.page":function(){this.fetchTransactions()},"$route.query.orderby":function(){this.fetchTransactions()},"$route.query.order":function(){this.fetchTransactions()},"filter.transaction_date.startDate":function(){this.clearingFilters||this.loading||this.fetchTransactions()}},methods:{updatedCounts:function(e){var t,a,s,n;this.counts.debit=parseInt(null!==(t=e.getResponseHeader("X-Status-Debit"))&&void 0!==t?t:0),this.counts.credit=parseInt(null!==(a=e.getResponseHeader("X-Status-Credit"))&&void 0!==a?a:0),this.counts.balance=parseInt(null!==(s=e.getResponseHeader("X-Status-Balance"))&&void 0!==s?s:0),this.counts.total_transactions=parseInt(null!==(n=e.getResponseHeader("X-Status-Total-Transactions"))&&void 0!==n?n:0)},updatePagination:function(e){var t,a;this.totalPages=parseInt(null!==(t=e.getResponseHeader("X-WP-TotalPages"))&&void 0!==t?t:0),this.totalItems=parseInt(null!==(a=e.getResponseHeader("X-WP-Total"))&&void 0!==a?a:0)},resetCounts:function(){this.counts.debit=0,this.counts.credit=0,this.counts.balance=0,this.counts.total_transaction=0},resetPagination:function(){this.totalPages=0,this.totalItems=0},clearFilters:function(){this.clearingFilters=!0,this.setDefaultTransactionDate(),this.fetchTransactions(),this.clearingFilters=!1},getDefaultTransactionDate:function(){return{startDate:l()().subtract(29,"days").hour(0).minute(0).second(0).toDate(),endDate:l()().hour(23).minute(59).second(59).toDate()}},setDefaultTransactionDate:function(){var e=this.getDefaultTransactionDate();this.filter.transaction_date.startDate=e.startDate,this.filter.transaction_date.endDate=e.endDate,this.$refs.picker&&this.$refs.picker.togglePicker(!1)},goToPage:function(e){this.$router.push({name:"ReverseWithdrawalTransactions",query:{page:e}})},fetchTransactions:function(){this.loading=!0;var e=this,t={orderby:e.getSortBy,order:e.getSortOrder,vendor_id:e.ID,trn_date:e.filterTransactionDate,per_page:-1};dokan.api.get("/reverse-withdrawal/transactions/"+e.ID,t).done(function(t,a,s){e.transactionData=t,e.updatedCounts(s),e.updatePagination(s)}).always(function(){e.loading=!1}).fail(function(t){e.transactionData=[],e.resetPagination();var a=dokan_handle_ajax_error(t);a&&e.showErrorAlert(a)})},fetchStoreDetails:function(){var e=this;dokan.api.get("/stores/"+e.ID).done(function(t,a,s){e.storeDetails=t}).always(function(){}).fail(function(t){e.storeDetails={};var a=dokan_handle_ajax_error(t);a&&e.showErrorAlert(a)})},doSort:function(e,t){this.$router.push({name:"ReverseWithdrawalTransactions",query:{page:1,orderby:e,order:t}})},reverseWithdrawalUrl:function(e){return dokan.urls.adminRoot+"admin.php?page=dokan#/reverse-withdrawal"},orderUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},vendorUrl:function(e){return dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e},productUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},mountToolTips:function(){o()(".tips").tooltip()},moment:function(e){return l()(e)},showErrorAlert:function(e){h.fire(this.__("Something went wrong","dokan-lite"),e,"error")},scrollToTop:function(){window.scrollTo(0,0)}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(125),n=a(128),i=a(218);new(dokan_get_lib("Vue"))({el:"#dokan-vue-admin",router:n.a,render:function(e){return e(s.a)},created:function(){this.setLocaleData(dokan.i18n["dokan-lite"]),dokan.dokan_pro_i18n&&this.setLocaleData(dokan.dokan_pro_i18n.dokan)},methods:{listTableTexts:function(){return{loading:this.__("Loading","dokan-lite"),select_bulk_action:this.__("Select bulk action","dokan-lite"),bulk_actions:this.__("Bulk Actions","dokan-lite"),items:this.__("items","dokan-lite"),apply:this.__("Apply","dokan-lite")}}}}),Object(i.a)("dokan")},function(e,t,a){"use strict";var s=a(51),n=a(127),i=!1;var o=function(e){i||a(126)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/App.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"vue-backend-app"}},[t("router-view"),this._v(" "),t("notifications",{attrs:{position:"bottom right"}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(129),n=a.n(s),i=a(130),o=a(137),r=a(140),l=a(150),d=a(153),c=a(156),u=a(194),p=a(200),_=a(203),m=a(206),v=a(212),f=a(215),h=dokan_get_lib("Vue"),g=dokan_get_lib("Router"),k=dokan_get_lib("VersionCompare");h.use(g),dokan_add_route(i.a),dokan_add_route(o.a),dokan_add_route(r.a),dokan_add_route(d.a),dokan_add_route(l.a),dokan_add_route(c.a),dokan_add_route(_.a),dokan_add_route(m.a),dokan_add_route(p.a),dokan_add_route(v.a),dokan_add_route(f.a),dokan.hasPro&&!k(dokan.proVersion,"2.9.14",">")||dokan_add_route(u.a),function e(t){for(var a=0;a<t.length;a++)"object"===n()(t[a].children)?(e(t[a].children),void 0!==t[a].component&&(t[a].component=dokan.routeComponents[t[a].component])):t[a].component=dokan.routeComponents[t[a].component]}(dokan.routes),t.a=new g({routes:dokan.routes})},,function(e,t,a){"use strict";var s=a(52),n=a(136),i=!1;var o=function(e){i||a(131)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Dashboard.vue",t.a=r.exports},function(e,t){},,,function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.show&&e.showUpgrade?a("div",{staticClass:"dokan-promo-banner"},[a("div",{staticClass:"thumbnail"},[a("svg",{attrs:{width:"219",height:"146",viewBox:"0 0 219 146",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("g",{attrs:{filter:"url(#filter0_d_248_61)"}},[a("rect",{attrs:{x:"38.7051",y:"24.564",width:"122.83",height:"92.5357",rx:"2.75404",fill:"white"}})]),e._v(" "),a("path",{attrs:{d:"M38.7051 27.318C38.7051 25.797 39.9381 24.564 41.4591 24.564H158.781C160.302 24.564 161.535 25.797 161.535 27.318V34.4785H38.7051V27.318Z",fill:"#5165FF"}}),e._v(" "),a("circle",{attrs:{cx:"46.1409",cy:"29.7966",r:"1.37702",fill:"#FF2323"}}),e._v(" "),a("circle",{attrs:{cx:"51.0982",cy:"29.7966",r:"1.37702",fill:"#FF9A23"}}),e._v(" "),a("circle",{attrs:{cx:"56.0555",cy:"29.7966",r:"1.37702",fill:"#3FD826"}}),e._v(" "),a("rect",{attrs:{x:"48.6196",y:"42.7406",width:"58.9364",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"56.5109",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"62.0189",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"67.527",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"73.035",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"78.5431",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"84.0513",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"89.5592",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"95.0674",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{x:"48.6196",y:"46.5962",width:"25.888",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{x:"48.6196",y:"102.779",width:"21.4815",height:"4.95727",rx:"2.47864",fill:"#F86C57"}}),e._v(" "),a("circle",{attrs:{opacity:"0.91",cx:"165.911",cy:"71.0891",r:"48.0891",fill:"url(#paint0_linear_248_61)","fill-opacity":"0.08"}}),e._v(" "),a("circle",{attrs:{opacity:"0.91",cx:"165.911",cy:"71.0891",r:"42.9732",fill:"url(#paint1_linear_248_61)","fill-opacity":"0.08"}}),e._v(" "),a("circle",{attrs:{opacity:"0.91",cx:"165.911",cy:"71.0892",r:"38.3689",fill:"url(#paint2_linear_248_61)","fill-opacity":"0.09"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter1_d_248_61)"}},[a("circle",{attrs:{cx:"166.253",cy:"71.0891",r:"33.2531",fill:"url(#paint3_linear_248_61)"}})]),e._v(" "),a("path",{attrs:{d:"M161.113 57.209H157.627V54.7871H160.933V54.0059H157.627V51.7451H161.113V50.9541H156.748V58H161.113V57.209ZM162.144 58H162.993V55.0117C162.993 54.1523 163.516 53.5859 164.316 53.5859C165.098 53.5859 165.483 54.0352 165.483 54.8555V58H166.333V54.7041C166.333 53.5518 165.688 52.834 164.575 52.834C163.789 52.834 163.247 53.1855 162.964 53.7324H162.944V52.9219H162.144V58ZM168.311 52.9219H167.461V58.2588C167.461 58.8252 167.261 59.0352 166.709 59.0352C166.704 59.0352 166.587 59.0352 166.577 59.0352V59.7432C166.587 59.748 166.724 59.748 166.738 59.748C167.822 59.748 168.311 59.2793 168.311 58.249V52.9219ZM167.886 52.0674C168.179 52.0674 168.418 51.8281 168.418 51.54C168.418 51.2471 168.179 51.0127 167.886 51.0127C167.598 51.0127 167.358 51.2471 167.358 51.54C167.358 51.8281 167.598 52.0674 167.886 52.0674ZM171.562 58.0879C172.964 58.0879 173.911 57.0771 173.911 55.4609C173.911 53.8398 172.964 52.834 171.562 52.834C170.156 52.834 169.209 53.8398 169.209 55.4609C169.209 57.0771 170.156 58.0879 171.562 58.0879ZM171.562 57.3408C170.664 57.3408 170.073 56.6572 170.073 55.4609C170.073 54.2646 170.664 53.5811 171.562 53.5811C172.461 53.5811 173.047 54.2646 173.047 55.4609C173.047 56.6572 172.461 57.3408 171.562 57.3408ZM175.044 59.8994C175.962 59.8994 176.382 59.543 176.816 58.3564L178.813 52.9219H177.92L176.514 57.1504H176.499L175.093 52.9219H174.185L176.06 58.0049L175.942 58.3613C175.747 58.9521 175.483 59.1816 175.01 59.1816C174.902 59.1816 174.771 59.1768 174.678 59.1572V59.8701C174.771 59.8896 174.941 59.8994 175.044 59.8994Z",fill:"white"}}),e._v(" "),a("path",{attrs:{d:"M159.657 85.8369C157.66 85.8369 156.41 87.2432 156.41 89.4795C156.41 91.7158 157.66 93.1172 159.657 93.1172C161.654 93.1172 162.904 91.7158 162.904 89.4795C162.904 87.2432 161.654 85.8369 159.657 85.8369ZM159.657 86.6475C161.098 86.6475 162.001 87.7412 162.001 89.4795C162.001 91.2129 161.098 92.3066 159.657 92.3066C158.217 92.3066 157.313 91.2129 157.313 89.4795C157.313 87.7412 158.217 86.6475 159.657 86.6475ZM164.877 93V89.9482H167.997V89.167H164.877V86.7451H168.275V85.9541H163.998V93H164.877ZM170.16 93V89.9482H173.28V89.167H170.16V86.7451H173.559V85.9541H169.281V93H170.16Z",fill:"white"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter2_d_248_61)"}},[a("path",{attrs:{d:"M149.708 73.6738H151.268C152.344 73.6738 152.98 74.176 152.98 75.0188C152.98 75.8527 152.308 76.4086 151.304 76.4086C150.192 76.4086 149.51 75.8796 149.483 75.0188H145.861C145.986 77.655 148.085 79.3587 151.223 79.3587C154.657 79.3587 156.845 77.8254 156.845 75.4044C156.845 73.638 155.599 72.5171 153.698 72.3109V72.2392C155.258 71.9612 156.397 70.8314 156.397 69.2712C156.397 67.0834 154.46 65.7025 151.402 65.7025C148.219 65.7025 146.112 67.4151 146.103 70.0065H149.528C149.528 69.1008 150.219 68.4732 151.241 68.4732C152.281 68.4732 152.9 68.9753 152.9 69.7913C152.9 70.6162 152.281 71.1273 151.286 71.1273H149.708V73.6738ZM163.83 79.3587C167.327 79.3587 169.524 76.7583 169.524 72.4902C169.524 68.1863 167.3 65.6935 163.83 65.6935C160.36 65.6935 158.127 68.1952 158.127 72.4992C158.127 76.7763 160.333 79.3587 163.83 79.3587ZM163.83 76.4355C162.772 76.4355 162.001 75.1623 162.001 72.4992C162.001 69.8271 162.772 68.6167 163.83 68.6167C164.888 68.6167 165.65 69.8271 165.65 72.4992C165.65 75.1623 164.888 76.4355 163.83 76.4355ZM176.939 69.2174C176.939 67.0565 175.729 65.7294 173.756 65.7294C171.783 65.7294 170.573 67.0565 170.573 69.2174C170.573 71.3784 171.783 72.7054 173.756 72.7054C175.729 72.7054 176.939 71.3784 176.939 69.2174ZM173.756 70.6252C173.38 70.6252 173.155 70.0961 173.155 69.1905C173.155 68.2849 173.38 67.7559 173.756 67.7559C174.133 67.7559 174.357 68.2849 174.357 69.1905C174.357 70.0961 174.133 70.6252 173.756 70.6252ZM175.146 79L179.665 72.7951L184.57 66.0612H181.79L177.415 72.0688L172.366 79H175.146ZM186.363 75.7451C186.363 73.5842 185.153 72.2571 183.18 72.2571C181.207 72.2571 179.997 73.5842 179.997 75.7451C179.997 77.9061 181.207 79.2331 183.18 79.2331C185.153 79.2331 186.363 77.9061 186.363 75.7451ZM183.18 77.1529C182.803 77.1529 182.579 76.6238 182.579 75.7182C182.579 74.8126 182.803 74.2836 183.18 74.2836C183.557 74.2836 183.781 74.8126 183.781 75.7182C183.781 76.6238 183.557 77.1529 183.18 77.1529Z",fill:"white"}})]),e._v(" "),a("g",{attrs:{filter:"url(#filter3_d_248_61)"}},[a("rect",{attrs:{x:"19",y:"38.3818",width:"50.2355",height:"17.2853",rx:"8.64266",fill:"white"}})]),e._v(" "),a("path",{attrs:{d:"M42.394 48.9926C42.394 50.0814 41.6317 50.7359 40.0117 50.7359C38.3917 50.7359 37.6294 50.0814 37.6294 48.9926V47.1386C37.6294 46.0497 38.3931 45.3953 40.0117 45.3953C41.6303 45.3953 42.394 46.0497 42.394 47.1386V48.9926ZM41.1062 47.2885C41.1062 46.6831 40.9184 46.337 40.0061 46.337C39.0938 46.337 38.9074 46.6831 38.9074 47.2885V48.844C38.9074 49.448 39.0952 49.7941 40.0061 49.7941C40.917 49.7941 41.1062 49.448 41.1062 48.844V47.2885Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M46.011 47.7439C47.4881 48.2694 47.5371 49.4676 48.1425 50.5578C47.9012 50.6184 47.6557 50.6614 47.4082 50.6867C46.0419 50.6867 46.814 48.6253 44.7736 48.289V50.6867C44.7736 50.6867 43.4844 50.6867 43.4844 50.0421V43.0465C43.4844 43.0465 44.7736 43.0465 44.7736 43.6911V47.2982C45.358 47.2086 45.6845 46.7727 46.1302 45.9305C46.3193 45.5732 46.6907 45.4442 47.0817 45.4442C47.3199 45.4489 47.556 45.489 47.7824 45.5634C47.24 46.3061 46.9037 47.3865 46.011 47.7439Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M51.6206 47.0307C51.6206 46.6733 51.4216 46.3566 50.6592 46.3566C49.8268 46.3566 49.0743 46.6369 49.0743 47.4777C48.7856 47.0909 48.6973 46.784 48.6973 46.5164C48.6973 45.6545 49.8563 45.3953 50.669 45.3953C52.1251 45.3953 52.8986 46.0091 52.8986 47.0895V50.712C52.6603 50.5991 52.3984 50.5448 52.1349 50.5537C51.6402 50.5537 51.1441 50.7317 50.5794 50.7317C49.5592 50.7317 48.5586 50.3547 48.5586 49.1761C48.5586 47.3277 51.2142 47.8126 51.6206 47.0307ZM51.65 48.041C51.4216 48.5666 49.8366 48.2793 49.8366 49.1621C49.8366 49.6078 50.1632 49.8362 50.7279 49.8362C51.0439 49.8362 51.357 49.7753 51.65 49.6568V48.041Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M57.2093 47.1792C57.2093 46.6537 56.9613 46.3566 56.2578 46.3566C55.9389 46.3599 55.6221 46.4071 55.3161 46.4967V50.6868C55.3161 50.6868 54.0282 50.6868 54.0282 50.0422V45.3953C54.3062 45.5298 54.6106 45.6007 54.9195 45.6027C55.4057 45.6027 55.8612 45.3953 56.3965 45.3953C57.4167 45.3953 58.4986 45.7414 58.4986 47.0307V50.6868C58.4986 50.6868 57.2107 50.6672 57.2107 50.0422L57.2093 47.1792Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M29.8406 42.6191C29.8406 42.6191 34.4371 42.2814 34.4371 46.2486C34.4371 50.2159 33.2221 51.0133 32.157 51.2641C32.157 51.2641 36.5881 52.332 36.5881 46.7503C36.5881 41.1687 30.9364 41.9745 29.8406 42.6191Z",fill:"#F2634D"}}),e._v(" "),a("path",{attrs:{d:"M33.5781 49.3681C33.5781 49.3681 33.1352 50.9082 31.7899 51.103C30.4446 51.2978 30.2022 50.5719 29.2675 50.6209C29.2568 50.522 29.266 50.422 29.2945 50.3267C29.323 50.2314 29.3702 50.1427 29.4333 50.0658C29.4965 49.989 29.5743 49.9255 29.6623 49.8791C29.7503 49.8327 29.8466 49.8042 29.9457 49.7955C30.7011 49.6932 32.115 49.8922 33.0554 49.298C33.0554 49.298 33.6159 49.0065 33.721 48.865L33.5781 49.3681Z",fill:"#F2634D"}}),e._v(" "),a("path",{attrs:{d:"M29.7705 42.8966V44.8066V49.5615C29.8165 49.549 29.8634 49.5397 29.9106 49.5334C30.1755 49.505 30.4417 49.491 30.708 49.4914C30.9883 49.4914 31.2868 49.4802 31.5895 49.4536V47.2086C31.5895 46.4644 31.5432 45.7021 31.5895 44.9664C31.6149 44.7457 31.7 44.5361 31.8355 44.36C31.971 44.184 32.152 44.0482 32.3588 43.9672C32.5252 43.9058 32.7028 43.8801 32.8798 43.892C33.0568 43.9038 33.2293 43.9528 33.386 44.0359C32.3334 43.2799 31.0664 42.8807 29.7705 42.8966Z",fill:"#F2634D"}}),e._v(" "),a("defs",[a("filter",{attrs:{id:"filter0_d_248_61",x:"1.43361",y:"0.796654",width:"197.373",height:"167.079",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"13.5042"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"18.6357"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter1_d_248_61",x:"113.644",y:"28.4061",width:"105.219",height:"105.219",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"9.92629"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"9.67814"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter2_d_248_61",x:"131.878",y:"65.3495",width:"68.4692",height:"41.6322",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"13.6395"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"6.99175"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.633333 0 0 0 0 0.0860081 0 0 0 0 0 0 0 0 0.38 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter3_d_248_61",x:"0.094183",y:"29.7392",width:"88.0471",height:"55.0969",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"10.2632"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"9.45291"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0.095 0 0 0 0 0.2375 0 0 0 0.25 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint0_linear_248_61",x1:"216.161",y1:"71.332",x2:"122.442",y2:"71.332",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FFA5A5"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#FFA5A5","stop-opacity":"0"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint1_linear_248_61",x1:"218.051",y1:"74.8431",x2:"133.515",y2:"74.3029",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FF6262"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#FF6262","stop-opacity":"0"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint2_linear_248_61",x1:"212.38",y1:"71.3321",x2:"133.245",y2:"71.3321",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FE6868"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#FE6868","stop-opacity":"0"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint3_linear_248_61",x1:"166.253",y1:"28.3761",x2:"166.253",y2:"104.342",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FF9F8F"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#F95F47"}})],1)],1)])]),e._v(" "),a("div",{staticClass:"content"},[a("div",{staticClass:"details"},[a("h3",[e._v(e._s(e.__("Dokan Premium","dokan-lite"))+" "),a("span",{staticClass:"dokan-offer"},[e._v(e._s(e.__("Enjoy","dokan-lite"))+" "),a("span",{staticClass:"penchant-off"},[e._v(e._s(e.__("30%","dokan-lite")))]),e._v(e._s(e.__("OFF","dokan-lite")))])]),e._v(" "),a("p",[e._v(e._s(e.__("Unleash the full potential of your marketplace with more premium features.","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"features"},[a("label",[e._v("\n "+e._s(e.__("Table rate shipping","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",[e._v("\n "+e._s(e.__("Vendor Reviews","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",{staticClass:"hidden-sm"},[e._v("\n "+e._s(e.__("Product Subscriptions","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",{staticClass:"hidden-sm"},[e._v("\n "+e._s(e.__("Auction","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",{staticClass:"hidden-sm"},[e._v("\n "+e._s(e.__("Delivery Time","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("a",{attrs:{target:"_blank",href:"https://wedevs.com/dokan/modules"}},[e._v(e._s(e.__("See All Premium Modules","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"btn-upgrade"},[a("a",{attrs:{target:"_blank",href:"https://wedevs.com/dokan-lite-upgrade-to-pro/?utm_source=dokan-plugin-dashboard&utm_medium=wp-admin-promotion&utm_campaign=dokan-lite"}},[e._v(e._s(e.__("Upgrade to Premium","dokan-lite")))])]),e._v(" "),a("button",{staticClass:"close-banner",on:{click:function(t){return e.dismiss()}}},[a("span",{staticClass:"dashicons dashicons-no-alt"})])]):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-dashboard"},[a("h1",[e._v(e._s(e.__("Dashboard","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"widgets-wrapper"},[a("div",{staticClass:"left-side"},[a("postbox",{attrs:{title:e.__("At a Glance","dokan-lite"),extraClass:"dokan-status"}},[null!==e.overview?a("div",{staticClass:"dokan-status"},[a("ul",[a("li",{staticClass:"sale"},[a("div",{staticClass:"dashicons dashicons-chart-bar"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.sales.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("net sales this month","dokan-lite"))+" "),a("span",{class:e.overview.sales.class},[e._v(e._s(e.overview.sales.parcent))])])])],1),e._v(" "),a("li",{staticClass:"commission"},[a("div",{staticClass:"dashicons dashicons-chart-pie"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.earning.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("commission earned","dokan-lite"))+" "),a("span",{class:e.overview.earning.class},[e._v(e._s(e.overview.earning.parcent))])])])],1),e._v(" "),a("li",{staticClass:"vendor"},[a("div",{staticClass:"dashicons dashicons-id"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors"}:""}},[a("strong",[e._v(e._s(e.overview.vendors.this_month)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("signup this month","dokan-lite"))+" "),a("span",{class:e.overview.vendors.class},[e._v(e._s(e.overview.vendors.parcent))])])])],1),e._v(" "),a("li",{staticClass:"approval"},[a("div",{staticClass:"dashicons dashicons-businessman"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors",query:{status:"pending"}}:""}},[a("strong",[e._v(e._s(e.overview.vendors.inactive)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1),e._v(" "),a("li",{staticClass:"product"},[a("div",{staticClass:"dashicons dashicons-cart"}),e._v(" "),a("a",{attrs:{href:"#"}},[a("strong",[e._v(e._s(e.overview.products.this_month)+" "+e._s(e.__("Products","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("created this month","dokan-lite"))+" "),a("span",{class:e.overview.products.class},[e._v(e._s(e.overview.products.parcent))])])])]),e._v(" "),a("li",{staticClass:"withdraw"},[a("div",{staticClass:"dashicons dashicons-money"}),e._v(" "),a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[a("strong",[e._v(e._s(e.overview.withdraw.pending)+" "+e._s(e.__("Withdrawals","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1)])]):a("div",{staticClass:"loading"},[a("loading")],1)]),e._v(" "),a("postbox",{attrs:{title:e.__("Dokan News Updates","dokan-lite")}},[null!==e.feed?a("div",{staticClass:"rss-widget"},[a("ul",e._l(e.feed,function(t){return a("li",[a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_campaign=dokan-news",target:"_blank"}},[e._v(e._s(t.title))])])}),0),e._v(" "),a("div",{staticClass:"subscribe-box"},[e.subscribe.success?a("div",{staticClass:"thank-you"},[e._v(e._s(e.__("Thank you for subscribing!","dokan-lite")))]):[e.subscribe.loading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),a("h3",[e._v(e._s(e.__("Stay up-to-date","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("We're constantly developing new features, stay up-to-date by subscribing to our newsletter.","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"form-wrap"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.subscribe.full_name,expression:"subscribe.full_name"}],attrs:{type:"text",placeholder:e.__("Your Name","dokan-lite")},domProps:{value:e.subscribe.full_name},on:{input:function(t){t.target.composing||e.$set(e.subscribe,"full_name",t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.subscribe.email,expression:"subscribe.email"}],attrs:{type:"email",placeholder:e.__("Your Email Address","dokan-lite")},domProps:{value:e.subscribe.email},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.emailSubscribe()},input:function(t){t.target.composing||e.$set(e.subscribe,"email",t.target.value)}}}),e._v(" "),a("button",{staticClass:"button",on:{click:function(t){return e.emailSubscribe()}}},[e._v(e._s(e.__("Subscribe","dokan-lite")))])])]],2)]):a("div",{staticClass:"loading"},[a("loading")],1)])],1),e._v(" "),a("div",{staticClass:"right-side"},[a("postbox",{staticClass:"overview-chart",attrs:{title:e.__("Overview","dokan-lite")}},[null!==e.report?a("div",[a("chart",{attrs:{data:e.report}})],1):a("div",{staticClass:"loading"},[a("loading")],1)])],1)])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(55),n=a(139),i=!1;var o=function(e){i||a(138)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Withdraw.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"withdraw-requests"},[a("h1",[e._v(e._s(e.__("Withdraw Requests","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),e.showModal?a("modal",{attrs:{title:e.__("Update Note","dokan-lite")},on:{close:function(t){e.showModal=!1}}},[a("template",{slot:"body"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.editing.note,expression:"editing.note"}],attrs:{rows:"3"},domProps:{value:e.editing.note},on:{input:function(t){t.target.composing||e.$set(e.editing,"note",t.target.value)}}})]),e._v(" "),a("template",{slot:"footer"},[a("button",{staticClass:"button button-primary button-large",on:{click:function(t){return e.updateNote()}}},[e._v(e._s(e.__("Update Note","dokan-lite")))])])],2):e._e(),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{class:{current:"pending"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{class:{current:"approved"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"approved"}}}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{class:{current:"cancelled"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"cancelled"}}}},[e._v(e._s(e.__("Cancelled","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.cancelled))])]),e._v(" | ")],1)]),e._v(" "),a("list-table",{attrs:{columns:e.columns,rows:e.requests,loading:e.loading,"action-column":e.actionColumn,actions:e.actions,"show-cb":e.showCb,"bulk-actions":e.bulkActions,"not-found":e.notFound,"total-pages":e.totalPages,"total-items":e.totalItems,"per-page":e.perPage,"current-page":e.currentPage,text:e.$root.listTableTexts()},on:{pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction},scopedSlots:e._u([{key:"seller",fn:function(t){return[a("img",{attrs:{src:t.row.user.gravatar,alt:t.row.user.store_name,width:"50"}}),e._v(" "),a("strong",[a("a",{attrs:{href:e.vendorUrl(t.row.user.id)}},[e._v(e._s(t.row.user.store_name?t.row.user.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"vendor",fn:function(t){var s=t.row;return[a("router-link",{attrs:{to:"/vendors/"+s.vendor.id}},[e._v("\n "+e._s(s.vendor.name?s.vendor.name:e.__("(no name)","dokan-lite"))+"\n ")])]}},{key:"amount",fn:function(e){return[a("currency",{attrs:{amount:e.row.amount}})]}},{key:"status",fn:function(t){return[a("span",{class:t.row.status},[e._v(e._s(e._f("capitalize")(t.row.status)))])]}},{key:"created",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.created).format("MMM D, YYYY"))+"\n ")]}},{key:"method_title",fn:function(t){return[a("div",{staticClass:"method_title_inner",domProps:{innerHTML:e._s(e.getPaymentTitle(t.row.method,t.row))}})]}},{key:"method_details",fn:function(t){return[a("div",{staticClass:"method_details_inner",domProps:{innerHTML:e._s(e.getPaymentDetails(t.row.method,t.row.details))}})]}},{key:"actions",fn:function(t){return["pending"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Approve Request","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("approved",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-yes"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:"approved"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Mark as Pending","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("pending",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-backup"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]]}}])},[e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("select",{staticStyle:{width:"190px"},attrs:{id:"filter-vendors","data-placeholder":e.__("Filter by vendor","dokan-lite")}}),e._v(" "),e.filter.user_id?a("button",{staticClass:"button",attrs:{type:"button"},on:{click:function(t){e.filter.user_id=0}}},[e._v("×")]):e._e()])],2)],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(56),n=a(149),i=!1;var o=function(e){i||a(141)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Premium.vue",t.a=r.exports},function(e,t){},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"cta-section",style:{"background-image":"url("+e.styles.bgPattern+"), linear-gradient( 45deg, rgb(255,125,144) 33%, rgb(255,173,111) 100%)"}},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.thumbnail,alt:"Dokan Lite"}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h2",[e._v(e._s(e.__("Convinced?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("With all the advance features you get it’s hard to resist buying Dokan Pro.","dokan-lite")))]),e._v(" "),a("a",{staticClass:"btn",attrs:{href:e.url,target:"_blank"}},[e._v("\n "+e._s(e.__("Upgrade to Pro","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,,function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-pro-features"},[a("div",{staticClass:"header-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/header-feature-thumb@2x.png",alt:e.__("Upgrade to Dokan Pro!","dokan-lite"),title:e.__("Upgrade to Dokan Pro!","dokan-lite")}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h1",[e._v(e._s(e.__("Upgrade to Dokan Pro!","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Seems To Be Convinced, You Need More Out Of Your Marketplace","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")]),e._v(" "),a("router-link",{staticClass:"button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)]),e._v(" "),a("div",{staticClass:"service-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Why Upgrade","dokan-lite")))]),e._v(" "),a("div",{staticClass:"service-list"},e._l(e.services,function(t){return a("div",{staticClass:"service-box"},[a("div",{staticClass:"service-thumb"},[a("img",{attrs:{src:t.thumbnail,alt:t.title,title:t.title}})]),e._v(" "),a("div",{staticClass:"service-detail"},[a("h3",{staticClass:"title"},[e._v(e._s(t.title))])])])}),0),e._v(" "),a("a",{staticClass:"btn",attrs:{href:"https://wedevs.com/dokan/features/",target:"_blank"}},[e._v("\n "+e._s(e.__("And Many More","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])]),e._v(" "),a("div",{staticClass:"comparison-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Comparison With Dokan PRO","dokan-lite")))]),e._v(" "),a("div",{staticClass:"comparison-area"},[a("div",{staticClass:"compare-box dokan-lite"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-lite-logo@2x.png",alt:"Dokan Lite"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.lite},["available"===t.compare.lite?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)]),e._v(" "),a("div",{staticClass:"compare-box dokan-pro"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-pro-logo@2x.png",alt:"Dokan Pro"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.pro},["available"===t.compare.pro?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)])])]),e._v(" "),a("div",{staticClass:"pricing-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("The Packages We Provide","dokan-lite")))]),e._v(" "),a("div",{staticClass:"pricing-wrapper"},[e._m(0),e._v(" "),e._l(e.modules,function(t){return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"},[a("a",{staticClass:"module-name",attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.title))])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.starter.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.starter.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.starter.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col popular"},["numeric"===t.professional.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.professional.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.professional.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.business.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.business.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.business.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.enterprise.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.enterprise.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.enterprise.value,alt:""}})])])])}),e._v(" "),a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn starter",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15316&attribute_pa_license=starter",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("a",{staticClass:"buy-btn professional",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15314&attribute_pa_license=professional",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn business",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15315&attribute_pa_license=business",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn enterprise",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=103829&attribute_pa_license=enterprise",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])])])],2)]),e._v(" "),a("div",{staticClass:"payment-section"},[a("div",{staticClass:"guarantee-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.payment.guaranteeThumbnail,alt:"Dokan"}})]),e._v(" "),a("div",{staticClass:"guarantee-detail"},[a("h2",[e._v(e._s(e.__("14 Days Money Back Guarantee","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("After successful purchase, you will be eligible for conditional refund","dokan-lite")))]),e._v(" "),a("a",{attrs:{href:e.payment.termsPolicyUrl,target:"_blank"}},[a("img",{attrs:{src:e.payment.viewIcon,alt:"Dokan"}}),e._v(" "+e._s(e.__("Terms & Condition Applied","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"payment-area"},[a("h3",[e._v(e._s(e.__("Payment Options:","dokan-lite")))]),e._v(" "),a("div",{staticClass:"option"},[a("img",{attrs:{src:e.payment.thumbnail,alt:"Credit Card"}})])])]),e._v(" "),a("div",{staticClass:"testimonial-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("People We Have Helped","dokan-lite")))]),e._v(" "),a("div",{staticClass:"testimonial-wrapper"},[a("slick",{ref:"slick",attrs:{options:e.slickOptions}},e._l(e.testimonials,function(t){return a("div",{staticClass:"testimonial-box"},[a("div",{staticClass:"profile-pic"},[a("img",{attrs:{src:t.pic,alt:""}})]),e._v(" "),a("div",{staticClass:"content-detail",style:{"background-image":"url("+e.asstesUrl+"/images/premium/quote-icon.png)"}},[a("h4",[e._v(e._s(t.name))]),e._v(" "),a("span",[e._v(e._s(t.designation))]),e._v(" "),a("p",[e._v(e._s(t.content))])])])}),0)],1),e._v(" "),a("p",{domProps:{innerHTML:e._s(e.sprintf("%s <a href='%s' target='_blank'>%s</a> %s",e.__("We are proud to say the official","dokan-lite"),"https://themes.getbootstrap.com/","Bootstrap theme marketplace",e.__("is built using Dokan","dokan-lite")))}})]),e._v(" "),a("ProCta")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name starter"},[e._v("Starter")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("149")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("div",{staticClass:"plan-name professional"},[e._v("Professional")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("249")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name business"},[e._v("Business")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("499")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name enterprise"},[e._v("Enterprise")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("999")]),e._v(" "),a("span",[e._v("/year")])])])])}]};t.a=n},function(e,t,a){"use strict";var s=a(59),n=a(152),i=!1;var o=function(e){i||a(151)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Help.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-help-page"},[a("h1",[e._v(e._s(e.__("Help","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),null!==e.docs?a("div",{staticClass:"section-wrapper"},e._l(e.docs,function(t,s){return a("postbox",{key:s,attrs:{title:t.title}},[a("ul",e._l(t.questions,function(t){return a("li",[a("span",{staticClass:"dashicons dashicons-media-text"}),e._v(" "),a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_medium=dokan-help-page",target:"_blank"}},[e._v(e._s(t.title))])])}),0)])}),1):a("div",{staticClass:"loading"},[a("loading")],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(60),n=a(155),i=!1;var o=function(e){i||a(154)},r=a(0)(s.a,n.a,!1,o,"data-v-254fdb80",null);r.options.__file="src/admin/pages/ChangeLog.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-help-page"},[a("div",{staticClass:"section-wrapper"},[a("div",{staticClass:"dokan-notice"},[a("h2"),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner")],1),e._v(" "),a("div",{staticClass:"change-log",class:e.hasPro?"pro-change-log":"lite-change-log",attrs:{id:"change-log"}},[a("h3",[e._v(e._s(e.__("Dokan Changelog","dokan-lite")))]),e._v(" "),e.hasPro?a("div",{staticClass:"switch-button-wrap"},[a("transition-group",{attrs:{name:"fade"}},[a("span",{key:1,staticClass:"active",style:e.isActivePackage("pro")?"right: 0":"left: 0"}),e._v(" "),a("button",{key:2,staticClass:"switch-button lite",class:{"active-case":e.isActivePackage("lite")},on:{click:function(t){return e.switchPackage("lite")}}},[e._v(e._s(e.__("Lite","dokan-lite")))]),e._v(" "),a("button",{key:3,staticClass:"switch-button pro",class:{"active-case":e.isActivePackage("pro")},on:{click:function(t){return e.switchPackage("pro")}}},[e._v(e._s(e.__("PRO","dokan-lite")))])])],1):e._e(),e._v(" "),e.loading?a("div",{staticClass:"loading"},[a("loading")],1):a("div",{staticClass:"jump-version"},[a("p",[e._v(e._s(e.__("Jump to version","dokan-lite"))+"... "),a("span",{staticClass:"dashicons dashicons-arrow-down-alt2"})]),e._v(" "),a("div",{staticClass:"version-menu"},[a("div",{staticClass:"version-dropdown"},[a("ul",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("lite"),expression:"isActivePackage( 'lite' )"}]},e._l(e.lite_versions,function(t,s){return a("li",{class:{current:e.isCurrentVersion("lite-"+s)},on:{click:function(t){return e.jumpVersion("lite-"+s)}}},[e._v("\n "+e._s(t.version)+"\n "),0===s?a("span",[e._v("("+e._s(e.__("Latest","dokan-lite"))+")")]):e._e(),e._v(" "),e.isCurrentVersion("lite-"+s)&&0!==s?a("span",[e._v("("+e._s(e.__("Current","dokan-lite"))+")")]):e._e()])}),0),e._v(" "),a("ul",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("pro"),expression:"isActivePackage( 'pro' )"}]},e._l(e.pro_versions,function(t,s){return a("li",{class:{current:e.isCurrentVersion("pro-"+s)},on:{click:function(t){return e.jumpVersion("pro-"+s)}}},[e._v("\n "+e._s(t.version)+"\n "),0===s?a("span",[e._v("("+e._s(e.__("Latest","dokan-lite"))+")")]):e._e(),e._v(" "),e.isCurrentVersion("pro-"+s)&&0!==s?a("span",[e._v("("+e._s(e.__("Current","dokan-lite"))+")")]):e._e()])}),0)])])])]),e._v(" "),a("div",{staticClass:"version-list"},[e._l(e.lite_versions,function(t,s){return a("div",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("lite"),expression:"isActivePackage( 'lite' )"}],staticClass:"version",class:0===s?"latest-version":"old-version",attrs:{id:"lite-"+s}},[a("div",{staticClass:"version-number"},[a("h4",[e._v(e._s(t.version))]),e._v(" "),a("p",[e._v(e._s(e.formatReleaseDate(t.released))+" "),0===s?a("label",[e._v(e._s(e.__("Latest","dokan-lite")))]):e._e()])]),e._v(" "),a("div",{staticClass:"card-version",style:e.isCurrentVersion("lite-"+s)?e.activeVersionBorder:""},[a("transition-group",{attrs:{name:"slide",tag:"div"}},e._l(t.changes,function(t,n,i){return 0===s||i<1||e.isOpenVersion("lite-"+s)?a("div",{key:"index-"+i,staticClass:"feature-list"},[a("span",{staticClass:"feature-badge",class:e.badgeClass(n)},[e._v(e._s(n))]),e._v(" "),e._l(t,function(t,n){return 0===s||n<2||e.isOpenVersion("lite-"+s)?a("div",{staticClass:"feature"},[a("h5",[e._v(e._s(t.title))]),e._v(" "),a("div",{domProps:{innerHTML:e._s(t.description)}})]):e._e()})],2):e._e()}),0),e._v(" "),0!==s&&Object.keys(t.changes).length>1?a("div",{staticClass:"continue-reading"},[a("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.toggleReading("lite-"+s)}}},[e._v(e._s(e.isOpenVersion("lite-"+s)?e.__("View Less...","dokan-lite"):e.__("Continue reading...","dokan-lite")))])]):e._e()],1)])}),e._v(" "),e._l(e.pro_versions,function(t,s){return a("div",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("pro"),expression:"isActivePackage( 'pro' )"}],staticClass:"version",class:0===s?"latest-version":"old-version",attrs:{id:"pro-"+s}},[a("div",{staticClass:"version-number"},[a("h4",[e._v(e._s(t.version))]),e._v(" "),a("p",[e._v(e._s(e.formatReleaseDate(t.released))+" "),0===s?a("label",[e._v(e._s(e.__("Latest","dokan-lite")))]):e._e()])]),e._v(" "),a("div",{staticClass:"card-version",style:e.isCurrentVersion("pro-"+s)?e.activeVersionBorder:""},[a("transition-group",{attrs:{name:"slide",tag:"div"}},e._l(t.changes,function(t,n,i){return 0===s||i<1||e.isOpenVersion("pro-"+s)?a("div",{key:"index-"+i,staticClass:"feature-list"},[a("span",{staticClass:"feature-badge",class:e.badgeClass(n)},[e._v(e._s(n))]),e._v(" "),e._l(t,function(t,n){return 0===s||n<2||e.isOpenVersion("pro-"+s)?a("div",{staticClass:"feature"},[a("h5",[e._v(e._s(t.title))]),e._v(" "),a("div",{domProps:{innerHTML:e._s(t.description)}})]):e._e()})],2):e._e()}),0),e._v(" "),0!==s&&Object.keys(t.changes).length>1?a("div",{staticClass:"continue-reading"},[a("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.toggleReading("pro-"+s)}}},[e._v(e._s(e.isOpenVersion("pro-"+s)?e.__("View Less...","dokan-lite"):e.__("Continue reading...","dokan-lite")))])]):e._e()],1)])})],2)]),e._v(" "),a("button",{staticClass:"scroll-to-top",style:e.scrollPosition>300?"opacity: 1; visibility: visible":"",on:{click:e.scrollTop}},[a("span",{staticClass:"dashicons dashicons-arrow-up-alt"})])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(61),n=a(193),i=!1;var o=function(e){i||a(157)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Settings.vue",t.a=r.exports},function(e,t){},,function(e,t,a){"use strict";var s=a(62),n=a(189),i=!1;var o=function(e){i||a(160)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Fields.vue",t.a=r.exports},function(e,t){},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var s=a(73),n=a(186),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/SocialFields.vue",t.a=i.exports},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("fieldset",[a("div",{staticClass:"html_contents"},[a("h3",{staticClass:"field_heading",attrs:{scope:"row"}},[e._v("\n "+e._s(e.fieldData.label)+"\n "),e.fieldData.tooltip?a("span",[a("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.fieldData.tooltip,expression:"fieldData.tooltip"}],staticClass:"dashicons dashicons-editor-help tips",attrs:{title:e.fieldData.tooltip}})]):e._e()]),e._v(" "),a("p",{staticClass:"field_desc",domProps:{innerHTML:e._s(e.fieldData.desc)}})]),e._v(" "),e.fieldData.url||"html"!==e.fieldData.type?a("div",{staticClass:"fields",class:["radio"===e.fieldData.type?"radio_fields":""]},[e.fieldData.url?a("input",{staticClass:"regular-text large",attrs:{disabled:"",type:"text"},domProps:{value:e.fieldData.url}}):e._e(),e._v(" "),"checkbox"===e.fieldData.type&&"text"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text large",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=!!s.checked;if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}):"radio"===e.fieldData.type&&"text"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text large",attrs:{type:"radio"},domProps:{checked:e._q(e.fieldValue[e.fieldData.name],null)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,null)}}}):"text"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text large",attrs:{type:e.fieldData.type},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}):e._e(),e._v(" "),"textarea"===e.fieldData.type?a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"large",domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}):e._e(),e._v(" "),"radio"===e.fieldData.type?e._l(e.fieldData.options,function(t,s){return a("label",{key:s,class:e.isSocialOptionChecked(s)?"checked":""},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "),"checkbox"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{name:s,type:"checkbox"},domProps:{value:s,checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],s)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],n=t.target,i=!!n.checked;if(Array.isArray(a)){var o=s,r=e._i(a,o);n.checked?r<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([o])):r>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.fieldValue,e.fieldData.name,i)}}}):"radio"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{name:s,type:"radio"},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{name:s,type:e.fieldData.type},domProps:{value:s,value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v("\n "+e._s(t)+"\n ")])}):e._e()],2):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(74),n=a(188),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/FieldHeading.vue",t.a=i.exports},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"field_data"},[a("h3",{staticClass:"field_heading",attrs:{scope:"row"}},[e._v("\n "+e._s(e.fieldData.label)+"\n "),e.fieldData.icon_class?a("span"):e._e(),e._v(" "),e.fieldData.tooltip||e.fieldData.field_icon?a("span",[a("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.fieldData.tooltip?e.fieldData.tooltip:e.fieldData.field_icon,expression:"fieldData.tooltip ? fieldData.tooltip : fieldData.field_icon"}],staticClass:"tips",class:[{"dashicons dashicons-editor-help":e.fieldData.tooltip},{"fas fa-exclamation-triangle":e.fieldData.field_icon}],attrs:{title:e.fieldData.tooltip?e.fieldData.tooltip:e.fieldData.field_icon}})]):e._e()]),e._v(" "),a("p",{staticClass:"field_desc",domProps:{innerHTML:e._s(e.fieldData.desc)}})])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.shouldShow?a("div",{class:[e.id,"dokan-settings-field-type-"+e.fieldData.type]},["sub_section"===e.fieldData.type?[a("div",{staticClass:"dokan-settings-sub-section",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("h3",{staticClass:"sub-section-title"},[e._v(e._s(e.fieldData.label))]),e._v(" "),a("p",{staticClass:"sub-section-description"},[e._v("\n "+e._s(e.fieldData.description)+"\n ")])])]:e._e(),e._v(" "),e.containCommonFields(e.fieldData.type)?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},["checkbox"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"checkbox"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=!!s.checked;if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}):"radio"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"radio"},domProps:{checked:e._q(e.fieldValue[e.fieldData.name],null)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,null)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:e.fieldData.type||"text"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"number"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{type:"number",min:e.fieldData.min,max:e.fieldData.max,step:e.fieldData.step,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"price"===e.fieldData.type&&e.allSettingsValues.dokan_selling&&"combine"!==e.allSettingsValues.dokan_selling.commission_type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:{wc_input_decimal:"percentage"==e.allSettingsValues.dokan_selling.commission_type,wc_input_price:"flat"==e.allSettingsValues.dokan_selling.commission_type},attrs:{type:"text",min:e.fieldData.min,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"combine"===e.fieldData.type&&e.haveCondition(e.fieldData)&&"show"==e.fieldData.condition.type&&e.checkConditionLogic(e.fieldData,e.fieldValue)?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field combine_fields"},[a("div",{staticClass:"percent_fee"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.percent_fee.name],expression:"fieldValue[fieldData.fields.percent_fee.name]"}],staticClass:"wc_input_decimal regular-text medium",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][percent_fee]",name:e.sectionId+"["+e.fieldData.fields.percent_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.percent_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.percent_fee.name,t.target.value)}}}),e._v("\n "+e._s("%")+"\n ")]),e._v(" "),a("div",{staticClass:"fixed_fee"},[e._v("\n "+e._s("+")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.fixed_fee.name],expression:"fieldValue[fieldData.fields.fixed_fee.name]"}],staticClass:"wc_input_price regular-text medium",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][fixed_fee]",name:e.sectionId+"["+e.fieldData.fields.fixed_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.fixed_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.fixed_fee.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.fields.percent_fee.name)&&e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.__("Both percentage and fixed fee is required.","dokan-lite"))+"\n ")]):e.hasError(e.fieldData.fields.percent_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.percent_fee.label))+"\n ")]):e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.fixed_fee.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"textarea"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",attrs:{type:"textarea",rows:e.fieldData.rows,cols:e.fieldData.cols,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"switcher"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("switches",{attrs:{enabled:"on"===e.checked,value:"isChecked"},on:{input:e.onToggleSwitch}})],1)])],1),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"multicheck"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field multicheck_fields"},[e._l(e.fieldData.options,function(t,s){return[a("div",{key:s},[e._v("\n "+e._s(t)+"\n "),a("switches",{attrs:{enabled:e.isSwitchOptionChecked(s),value:s},on:{input:e.setCheckedValue}})],1)]})],2)],1),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"select"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[e.fieldData.grouped?a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular medium",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:"",disabled:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,s){return a("optgroup",{key:s,attrs:{label:t.group_label}},e._l(t.group_values,function(t,s){return a("option",{key:s,domProps:{value:t.value,innerHTML:e._s(t.label)}})}),0)})],2):a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular medium",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,s){return a("option",{key:s,domProps:{value:s,innerHTML:e._s(t)}})})],2),e._v(" "),e.fieldData.refresh_options?a("RefreshSettingOptions",{attrs:{field:e.fieldData,section:e.sectionId,"toggle-loading-state":e.toggleLoadingState}}):e._e()],1)],1),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"file"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field add_files"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{staticClass:"button wpsa-browse",attrs:{type:"button",value:"Choose File"},on:{click:function(t){return t.preventDefault(),e.$emit("openMedia",{sectionId:e.sectionId,name:e.fieldData.name},t)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium wpsa-url",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"color"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("color-picker",{attrs:{itemKey:e.fieldData.name,customData:e.singleColorPicker},on:{"custom-change":function(t){return e.setCustomColor(t,e.fieldData.name)},toggleColorPicker:e.toggleColorPicker},model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}})],1)],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"html"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"warning"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("div",{staticClass:"field_data"},[a("h3",{staticClass:"field_heading dokan-setting-warning error",attrs:{scope:"row"}},[a("span",{staticClass:"dokan-setting-warning-label"},[a("span",{staticClass:"dashicons dashicons-warning"}),e._v("\n "+e._s(e.fieldData.label)+"\n ")]),e._v(" "),a("span",{staticClass:"field_desc",domProps:{innerHTML:e._s(e.fieldData.desc)}})])])])])]:e._e(),e._v(" "),"radio"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field radio_fields"},[e._l(e.fieldData.options,function(t,s){return[a("label",{key:s,class:e.isSwitchOptionChecked(s)?"checked":"",attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:s,id:e.sectionId+"["+e.fieldData.name+"]["+s+"]"},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v("\n "+e._s(t)+"\n ")])]})],2)],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"wpeditor"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field editor_field"},[a("text-editor",{domProps:{innerHTML:e._s(e.fieldData.default)},model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}})],1)])]:e._e(),e._v(" "),"repeatable"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field repeatable_fields"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.repeatableItem[e.fieldData.name],expression:"repeatableItem[fieldData.name]"}],staticClass:"regular-text medium",attrs:{type:"text"},domProps:{value:e.repeatableItem[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.repeatableItem,e.fieldData.name,t.target.value)}}}),e._v(" "),a("a",{staticClass:"button dokan-repetable-add-item-btn",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.addItem(e.fieldData.type,e.fieldData.name)}}},[a("span",{staticClass:"dashicons dashicons-plus-alt2"})])])],1),e._v(" "),a("ul",{staticClass:"dokan-settings-repeatable-list"},[e._l(e.fieldValue[e.fieldData.name],function(t,s){return[e.fieldValue[e.fieldData.name]?a("li",{key:s},[e._v("\n "+e._s(t.value)+"\n "),t.must_use?e._e():a("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(t){return t.preventDefault(),e.removeItem(s,e.fieldData.name)}}}),e._v(" "),a("span",{staticClass:"repeatable-item-description",domProps:{innerHTML:e._s(t.desc)}})]):e._e()]})],2)])]:e._e(),e._v(" "),"radio_image"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field radio-image-container"},[e._l(e.fieldData.options,function(t,s){return[a("label",{key:s,staticClass:"radio-image",class:{active:e.fieldValue[e.fieldData.name]===s,"not-active":e.fieldValue[e.fieldData.name]!==s}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:e.fieldData.name},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "),a("span",{staticClass:"current-option-indicator"},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v("\n "+e._s(e.__("Active","dokan-lite"))+"\n ")]),e._v(" "),a("img",{attrs:{src:t}}),e._v(" "),a("span",{staticClass:"active-option"},[a("button",{staticClass:"button button-primary button-hero",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.fieldValue[e.fieldData.name]=s}}},[e._v("\n "+e._s(e.__("Select","dokan-lite"))+"\n ")])])])]})],2)])]:e._e(),e._v(" "),"gmap"!==e.fieldData.type||e.hideMap?e._e():[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field gmap-field"},[a("input",{attrs:{type:"hidden",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.mapLocation}}),e._v(" "),"mapbox"===e.mapApiSource?a("Mapbox",{attrs:{width:"100%",height:"300px",location:e.mapLocation,accessToken:e.mapboxAccessToken},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}}):a("GoogleMaps",{attrs:{location:e.mapLocation,apiKey:e.googleMapApiKey},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}})],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])],e._v(" "),"social"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field scl_fields"},[a("div",{staticClass:"scl_header"},[a("div",{staticClass:"scl_contents"},[a("div",{staticClass:"scl_icon"},[a("img",{attrs:{src:e.fieldData.icon_url,alt:e.fieldData.label}})]),e._v(" "),a("p",{staticClass:"scl_desc"},[e._v(e._s(e.fieldData.social_desc))])]),e._v(" "),a("div",{staticClass:"expand_btn",on:{click:e.expandSocial}},[a("span",{staticClass:"dashicons",class:[this.expandSocials?"dashicons-arrow-up-alt2":"dashicons-arrow-down-alt2"]})])]),e._v(" "),e._l(e.fieldData,function(t,s){return[e.expandSocials&&t.social_field?a("div",{key:s,staticClass:"scl_info"},[a("div",{class:[{scl_html:"html"===t.type},{scl_text:"html"!==t.type},t.content_class?t.content_class:""]},[a("SocialFields",{attrs:{fieldData:t,fieldValue:e.fieldValue}})],1)]):e._e()]})],2)])]:e._e(),e._v(" "),e.customFieldComponents?e._l(e.customFieldComponents,function(t,s){return a(t,{key:s,tag:"component",attrs:{sectionId:e.sectionId,fieldData:e.fieldData,fieldValue:e.fieldValue,assetsUrl:e.dokanAssetsUrl,validationErrors:e.validationErrors,toggleLoadingState:e.toggleLoadingState},on:{"some-event":e.thisSomeEvent}})}):e._e()],2):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(75),n=a(192),i=!1;var o=function(e){i||a(191)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/SettingsBanner.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-settings-banner"}},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Settings Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("h1",[e._v(e._s(e.__("Looking for Coupons, Variable Products, SEO or Shipping?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Unlock these awesome frontend features with Dokan PRO","dokan-lite")))]),e._v(" "),a("a",{staticClass:"button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("router-link",{staticClass:"button custom-button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"dokan-settings"},[a("h2",{staticStyle:{"margin-bottom":"15px"}},[e._v(e._s(e.__("Settings","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),e.isSaved?a("div",{staticClass:"settings-error notice is-dismissible",class:{updated:e.isUpdated,error:!e.isUpdated},attrs:{id:"setting-message_updated"}},[a("p",[a("strong",{domProps:{innerHTML:e._s(e.message)}})]),e._v(" "),a("button",{staticClass:"notice-dismiss",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.isSaved=!1}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Dismiss this notice.","dokan-lite")))])])]):e._e(),e._v(" "),a("div",{ref:"settingsWrapper",staticClass:"dokan-settings-wrap"},[a("div",{staticClass:"nav-tab-wrapper"},[a("div",{staticClass:"nab-section"},[a("div",{staticClass:"search-box"},[a("label",{staticClass:"dashicons dashicons-search",attrs:{for:"dokan-admin-search"}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],ref:"searchInSettings",staticClass:"dokan-admin-search-settings",attrs:{type:"text",id:"dokan-admin-search",placeholder:e.__("Search e.g. vendor","dokan-lite")},domProps:{value:e.searchText},on:{input:[function(t){t.target.composing||(e.searchText=t.target.value)},e.searchInSettings]}}),e._v(" "),""!==e.searchText?a("span",{staticClass:"dashicons dashicons-no-alt",on:{click:function(t){return t.preventDefault(),e.clearSearch.apply(null,arguments)}}}):e._e()]),e._v(" "),e._l(e.settingSections,function(t){return[a("div",{key:t.id,class:["nav-tab",e.currentTab===t.id?"nav-tab-active":""],on:{click:function(a){return a.preventDefault(),e.changeTab(t)}}},[a("img",{attrs:{src:t.icon_url,alt:t.settings_title}}),e._v(" "),a("div",{staticClass:"nav-content"},[a("div",{staticClass:"nav-title"},[e._v(e._s(t.title))]),e._v(" "),a("div",{staticClass:"nav-description"},[e._v(e._s(t.description))])])])]})],2)]),e._v(" "),a("div",{staticClass:"metabox-holder"},[e._l(e.settingSections,function(t){return e.currentTab===t.id?a("fieldset",{staticClass:"settings-header"},[a("div",{staticClass:"settings-content"},[a("h2",{staticClass:"settings-title"},[e._v(e._s(t.settings_title))]),e._v(" "),a("p",{staticClass:"settings-description"},[e._v(e._s(t.settings_description))])]),e._v(" "),t.document_link?a("div",{staticClass:"settings-document-button"},[a("a",{staticClass:"doc-link",attrs:{href:t.document_link,target:"_blank"}},[e._v(e._s(e.__("Documentation","dokan-lite")))])]):e._e()]):e._e()}),e._v(" "),e._l(e.settingFields,function(t,s){return e.isLoaded?[e.currentTab===s?a("div",{key:s,staticClass:"group",attrs:{id:s}},[a("form",{attrs:{method:"post",action:"options.php"}},[a("input",{attrs:{type:"hidden",name:"option_page"},domProps:{value:s}}),e._v(" "),a("input",{attrs:{type:"hidden",name:"action",value:"update"}}),e._v(" "),a("div",{staticClass:"form-table"},[a("div",{staticClass:"dokan-settings-fields"},e._l(t,function(t,n){return a("Fields",{key:n,attrs:{"section-id":s,id:n,"field-data":t,"field-value":e.settingValues[s],"all-settings-values":e.settingValues,errors:e.errors,validationErrors:e.validationErrors,"toggle-loading-state":e.toggleLoadingState,dokanAssetsUrl:e.dokanAssetsUrl},on:{openMedia:e.showMedia}})}),1)]),e._v(" "),a("p",{staticClass:"submit"},[a("input",{staticClass:"button button-primary",attrs:{type:"submit",name:"submit",id:"submit",value:"Save Changes"},on:{click:function(t){return t.preventDefault(),e.saveSettings(e.settingValues[s],s)}}})])])]):e._e()]:e._e()}),e._v(" "),a("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.__("Back to top","dokan-lite"),expression:"__( 'Back to top', 'dokan-lite' )"}],ref:"backToTop",staticClass:"back-to-top tips",attrs:{title:e.__("Back to top","dokan-lite")},on:{click:e.scrollToTop}},[a("img",{attrs:{src:e.dokanAssetsUrl+"/images/up-arrow.svg",alt:e.__("Dokan Back to Top Button","dokan-lite")}})])],2),e._v(" "),e.showLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e()])],1),e._v(" "),e.hasPro?e._e():a("SettingsBanner")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(76),n=a(199),i=!1;var o=function(e){i||a(195)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Vendors.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(77),n=a(198),i=!1;var o=function(e){i||a(197)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/AddVendor.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-vendor-edit"},[a("modal",{attrs:{title:e.title,width:"800px"},on:{close:e.closeModal}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("div",{staticClass:"tab-header"},[a("ul",{staticClass:"tab-list"},e._l(e.tabs,function(t,s){return a("li",{key:s,class:{"tab-title":!0,active:e.currentTab===t.name,last:"VendorPaymentFields"===t.name}},[a("div",{staticClass:"tab-link"},[a("a",{class:{first:"VendorAccountFields"===t.name},attrs:{href:"#"},on:{click:function(a){a.preventDefault(),e.currentTab=t.name}}},[a("span",{class:[t.icon]}),e._v("\n "+e._s(t.label)+"\n ")])])])}),0)]),e._v(" "),e.currentTab?a("div",{staticClass:"tab-contents"},[e.isLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),e.isLoading?e._e():a("transition",{attrs:{name:"component-fade",mode:"out-in"}},[a(e.currentTab,{tag:"component",attrs:{vendorInfo:e.store,errors:e.errors}})],1)],1):e._e()]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("button",{staticClass:"button button-primary button-hero",on:{click:e.createVendor}},[e._v(e._s("VendorPaymentFields"===e.currentTab?e.__("Create Vendor","dokan-lite"):this.nextBtn))])])])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"vendor-list"},[a("h1",{staticClass:"wp-heading-inline"},[e._v(e._s(e.__("Vendors","dokan-lite")))]),e._v(" "),a("button",{staticClass:"page-title-action",on:{click:function(t){return e.addNew()}}},[e._v(e._s(e.__("Add New","dokan-lite")))]),e._v(" "),e._l(e.dokanVendorHeaderArea,function(e,t){return a(e,{key:t,tag:"component"})}),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"all"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("All","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.all))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"approved"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"pending"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1)]),e._v(" "),a("search",{attrs:{title:e.__("Search Vendors","dokan-lite")},on:{searched:e.doSearch}}),e._v(" "),a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.vendors,actions:e.actions,actionColumn:"store_name","show-cb":e.showCb,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.currentPage,"action-column":e.actionColumn,"not-found":"No vendors found.","sort-by":e.sortBy,"sort-order":e.sortOrder,text:e.$root.listTableTexts()},on:{sort:e.sortCallback,pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction,searched:e.doSearch},scopedSlots:e._u([{key:"store_name",fn:function(t){return[a("img",{attrs:{src:t.row.gravatar,alt:t.row.store_name,width:"50"}}),e._v(" "),a("strong",[e.hasPro?a("router-link",{attrs:{to:"/vendors/"+t.row.id}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))])],1)]}},{key:"email",fn:function(t){return[a("a",{attrs:{href:"mailto:"+t.row.email}},[e._v(e._s(t.row.email))])]}},{key:"categories",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.categories.map(function(e){return e.name}).join(", "))+"\n ")]}},{key:"registered",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.registered).format("MMM D, YYYY"))+"\n ")]}},{key:"enabled",fn:function(t){return[a("switches",{attrs:{enabled:t.row.enabled,value:t.row.id},on:{input:e.onSwitch}})]}},{key:"row-actions",fn:function(t){return e._l(e.actions,function(s,n){return a("span",{class:s.key},[e.hasPro&&"edit"==s.key?a("router-link",{attrs:{to:{path:"vendors/"+t.row.id,query:{edit:"true"}}}},[e._v(e._s(s.label))]):e.hasPro||"edit"!=s.key?"products"==s.key?a("a",{attrs:{href:e.productUrl(t.row.id)}},[e._v(e._s(s.label))]):"orders"==s.key?a("a",{attrs:{href:e.ordersUrl(t.row.id)}},[e._v(e._s(s.label))]):"switch_to"==s.key?a("a",{attrs:{href:e.switchToUrl(t.row)}},[e._v(e._s(s.label))]):a("a",{attrs:{href:"#"}},[e._v(e._s(s.label))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(s.label))]),e._v(" "),n!==e.actions.length-1?[e._v(" | ")]:e._e()],2)})}},{key:"filters",fn:function(t){return e._l(e.dokanVendorFilterSectionStart,function(t,s){return a(t,{key:s,tag:"component",on:{updateVendorComponent:e.updateVendorComponent}})})}}])}),e._v(" "),e.loadAddVendor?a("add-vendor",{attrs:{"vendor-id":e.vendorId}}):e._e()],2)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(78),n=a(202),i=!1;var o=function(e){i||a(201)},r=a(0)(s.a,n.a,!1,o,"data-v-33b27104",null);r.options.__file="src/admin/pages/DummyData.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h1",[e._v(e._s(e.__("Import dummy data","dokan-lite")))]),e._v(" "),e.statusLoader?a("div",{staticClass:"dokan-importer-wrapper"},[e._m(0)]):a("div",{staticClass:"dokan-importer-wrapper"},[a("ol",{staticClass:"dokan-importer-progress-steps"},[a("li",{staticClass:"active"},[e._v(e._s(e.__("Import","dokan-lite")))]),e._v(" "),a("li",{class:e.done?"active":""},[e._v(e._s(e.__("Done!","dokan-lite")))])]),e._v(" "),""!=e.errorMsg?a("div",{staticClass:"error inline"},[a("p",[e._v(e._s(e.errorMsg))])]):e._e(),e._v(" "),e.done?a("div",{staticClass:"dokan-importer"},[a("section",{staticClass:"import-done"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"100",height:"100"}},[a("path",{attrs:{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z",fill:"#1BAC9E"}})]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("Import complete!","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"links"},[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"all"}},exact:""}},[e._v(e._s(e.__("View vendors","dokan-lite")))]),e._v("\n  \n "),a("a",{attrs:{href:e.getProductsPageUrl()}},[e._v(e._s(e.__("View products","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"dokan-importer-action"},[a("button",{staticClass:"cancel-btn dokan-import-continue-btn",class:e.loading?"is-busy":"",attrs:{disabled:e.loading},on:{click:e.clearAllDummyData}},[e._v(e._s(e.__("Clear dummy data","dokan-lite")))])])]):a("div",{staticClass:"dokan-importer"},[a("header",[a("h2",[e._v(e._s(e.__("Import dummy vendors and products","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("This tool allows you to import vendor and some products for vendors to your marketplace.","dokan-lite")))])]),e._v(" "),a("section",[a("div",[a("progress",{staticClass:"dokan-dummy-data-progress-bar",attrs:{max:"100"},domProps:{value:e.progress}})])]),e._v(" "),a("div",{staticClass:"dokan-importer-action"},[a("button",{staticClass:"dokan-import-continue-btn",class:e.loading?"is-loading":"",attrs:{disabled:e.loading},on:{click:e.importBtnHandler}},[e._v(e._s(e.__("Run the importer","dokan-lite")))])])])])])};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"dokan-importer"},[t("header",[t("span",{staticClass:"loader-title skeleton-loader"}),this._v(" "),t("span",{staticClass:"loader-description skeleton-loader"})]),this._v(" "),t("section",[t("div",[t("span",{staticClass:"loader-loader skeleton-loader"})])]),this._v(" "),t("div",{staticClass:"dokan-importer-action"},[t("span",{staticClass:"loader-btn skeleton-loader"})])])}]};t.a=n},function(e,t,a){"use strict";var s=a(80),n=a(205),i=!1;var o=function(e){i||a(204)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorCapabilities.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-vendor-capabilities"}},[a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")])])]),e._v(" "),a("div",{staticClass:"grid"},e._l(e.capabilityCards,function(t){return a("div",{staticClass:"col-6"},[a("div",{staticClass:"capability-card"},[a("div",{staticClass:"capability-image"},[a("img",{staticClass:"image",attrs:{src:t.image,alt:e.__("Dokan Capability","dokan-lite")}}),e._v(" "),a("div",{staticClass:"middle"},[a("div",{staticClass:"zoom",on:{click:function(a){return e.openPopup(t.image)}}},[a("div",{staticClass:"dashicons dashicons-search"})])])]),e._v(" "),a("p",{staticClass:"title"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"content"},[e._v(e._s(t.content))])])])}),0),e._v(" "),a("ProCta"),e._v(" "),e.showPopup?a("div",{attrs:{id:"dokan-capability-image-popup"},on:{click:e.closePopup}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"body"},[a("img",{attrs:{src:this.selectedCapabilityImage,alt:e.__("Dokan Capability","dokan-lite")}})])])]):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(81),n=a(211),i=!1;var o=function(e){i||a(207)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ProModules.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(82),n=a(210),i=!1;var o=function(e){i||a(209)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ModuleUpgradePopup.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-upgrade-to-pro-wrapper"}},[e.showPopup?a("div",{attrs:{id:"dokan-upgrade-popup"},on:{click:function(t){return t.target!==t.currentTarget?null:e.closePopup.apply(null,arguments)}}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"body"},[a("svg",{attrs:{width:"128",height:"109",viewBox:"0 0 128 109",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M127.502 37.5077C127.406 37.2181 127.141 37.0125 126.827 36.9851L122.568 36.6104L120.884 32.7907C120.76 32.5108 120.477 32.3296 120.163 32.3296C119.848 32.3296 119.566 32.5108 119.441 32.7914L117.757 36.6104L113.497 36.9851C113.184 37.0132 112.92 37.2181 112.823 37.5077C112.726 37.7972 112.815 38.1148 113.052 38.315L116.272 41.0508L115.322 45.1028C115.253 45.4008 115.372 45.7087 115.627 45.8874C115.764 45.9834 115.925 46.0323 116.087 46.0323C116.226 46.0323 116.364 45.9959 116.489 45.9239L120.163 43.7962L123.835 45.9239C124.104 46.0805 124.443 46.0662 124.697 45.8874C124.953 45.7082 125.072 45.4001 125.002 45.1028L124.053 41.0508L127.272 38.3155C127.509 38.1148 127.6 37.7978 127.502 37.5077Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M16.8209 38.1758C16.7105 37.8194 16.4076 37.5663 16.0492 37.5326L11.1816 37.0714L9.25677 32.3703C9.11485 32.0258 8.79162 31.8027 8.4325 31.8027C8.07338 31.8027 7.75015 32.0258 7.60823 32.3711L5.68343 37.0714L0.815005 37.5326C0.457297 37.5671 0.155176 37.8194 0.0441323 38.1758C-0.0669114 38.5321 0.0356399 38.923 0.306237 39.1693L3.98561 42.5365L2.90064 47.5236C2.82125 47.8903 2.95765 48.2694 3.24922 48.4893C3.40594 48.6074 3.5893 48.6676 3.7742 48.6676C3.93362 48.6676 4.09176 48.6228 4.23368 48.5341L8.4325 45.9155L12.6298 48.5341C12.9369 48.7269 13.3241 48.7094 13.615 48.4893C13.9067 48.2687 14.043 47.8895 13.9636 47.5236L12.8786 42.5365L16.558 39.17C16.8286 38.923 16.9319 38.5328 16.8209 38.1758Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M110.124 10.7456C110.062 10.5674 109.891 10.4409 109.69 10.424L106.952 10.1934L105.869 7.84286C105.789 7.67059 105.607 7.55908 105.405 7.55908C105.203 7.55908 105.022 7.67059 104.942 7.84326L103.859 10.1934L101.121 10.424C100.919 10.4413 100.749 10.5674 100.687 10.7456C100.624 10.9238 100.682 11.1192 100.834 11.2424L102.904 12.926L102.294 15.4195C102.249 15.6029 102.326 15.7924 102.49 15.9024C102.578 15.9614 102.681 15.9915 102.785 15.9915C102.875 15.9915 102.964 15.9691 103.044 15.9248L105.405 14.6155L107.766 15.9248C107.939 16.0212 108.157 16.0124 108.321 15.9024C108.485 15.7921 108.561 15.6025 108.517 15.4195L107.906 12.926L109.976 11.2427C110.128 11.1192 110.186 10.9241 110.124 10.7456Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M34.2322 8.63769C34.1701 8.45951 33.9998 8.33297 33.7982 8.31612L31.0601 8.08551L29.9774 5.73495C29.8976 5.56268 29.7158 5.45117 29.5138 5.45117C29.3118 5.45117 29.13 5.56268 29.0501 5.73535L27.9674 8.08551L25.2289 8.31612C25.0277 8.33337 24.8578 8.45951 24.7953 8.63769C24.7329 8.81586 24.7906 9.01129 24.9428 9.13448L27.0124 10.8181L26.4021 13.3116C26.3575 13.495 26.4342 13.6845 26.5982 13.7945C26.6863 13.8535 26.7895 13.8836 26.8935 13.8836C26.9832 13.8836 27.0721 13.8612 27.152 13.8169L29.5138 12.5076L31.8748 13.8169C32.0475 13.9133 32.2653 13.9045 32.429 13.7945C32.593 13.6842 32.6697 13.4946 32.625 13.3116L32.0147 10.8181L34.0844 9.13481C34.2366 9.01129 34.2947 8.8162 34.2322 8.63769Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M36.3471 79.5168C36.3023 79.3832 36.1792 79.2883 36.0337 79.2757L34.0562 79.1027L33.2742 77.3398C33.2166 77.2106 33.0853 77.127 32.9394 77.127C32.7935 77.127 32.6622 77.2106 32.6045 77.3401L31.8226 79.1027L29.8448 79.2757C29.6994 79.2886 29.5767 79.3832 29.5316 79.5168C29.4865 79.6505 29.5282 79.797 29.6381 79.8894L31.1328 81.1521L30.6921 83.0223C30.6598 83.1598 30.7152 83.3019 30.8337 83.3844C30.8973 83.4287 30.9718 83.4513 31.0469 83.4513C31.1117 83.4513 31.1759 83.4345 31.2336 83.4012L32.9394 82.4192L34.6445 83.4012C34.7693 83.4735 34.9266 83.4669 35.0448 83.3844C35.1633 83.3017 35.2186 83.1595 35.1864 83.0223L34.7456 81.1521L36.2404 79.8897C36.3503 79.797 36.3923 79.6507 36.3471 79.5168Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M115.928 67.9221C115.883 67.7885 115.76 67.6936 115.615 67.6809L113.637 67.508L112.855 65.7451C112.798 65.6159 112.666 65.5322 112.52 65.5322C112.375 65.5322 112.243 65.6159 112.186 65.7454L111.404 67.508L109.426 67.6809C109.281 67.6939 109.158 67.7885 109.113 67.9221C109.068 68.0557 109.109 68.2023 109.219 68.2947L110.714 69.5574L110.273 71.4276C110.241 71.5651 110.296 71.7072 110.415 71.7897C110.478 71.834 110.553 71.8566 110.628 71.8566C110.693 71.8566 110.757 71.8397 110.815 71.8065L112.52 70.8245L114.226 71.8065C114.35 71.8788 114.508 71.8722 114.626 71.7897C114.744 71.707 114.8 71.5648 114.767 71.4276L114.327 69.5574L115.821 68.295C115.931 68.2023 115.973 68.056 115.928 67.9221Z",fill:"#FFC107"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter0_d_1098_419)"}},[a("circle",{attrs:{cx:"65.5727",cy:"47.0224",r:"35.0473",fill:"url(#paint0_linear_1098_419)"}})]),e._v(" "),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M73.2509 40.3179C73.2509 35.8737 69.6482 32.271 65.204 32.271C60.7598 32.271 57.1571 35.8737 57.1571 40.3179V44.2984H56.5271C54.9772 44.2984 53.7207 45.5549 53.7207 47.1048V58.5595C53.7207 60.1094 54.9772 61.3659 56.5271 61.3659H74.11C75.6599 61.3659 76.9164 60.1094 76.9164 58.5595V47.1048C76.9164 45.5549 75.6599 44.2984 74.11 44.2984H59.3335V40.4324L59.3345 40.3196C59.3947 37.1295 61.9995 34.5619 65.204 34.5619C68.4462 34.5619 71.0745 37.1902 71.0745 40.4324L71.0745 40.5756H73.2509V40.3179ZM65.3185 50.9994C66.4098 50.9994 67.2944 51.884 67.2944 52.9753C67.2944 53.9393 66.6042 54.742 65.6909 54.9162L65.6908 57.7863C65.6908 57.9919 65.5241 58.1585 65.3185 58.1585C65.1129 58.1585 64.9462 57.9919 64.9462 57.7863L64.9464 54.9163C64.033 54.7422 63.3426 53.9394 63.3426 52.9753C63.3426 51.884 64.2272 50.9994 65.3185 50.9994Z",fill:"white"}}),e._v(" "),a("defs",[a("filter",{attrs:{id:"filter0_d_1098_419",x:"11.5524",y:"0.90753",width:"108.041",height:"108.041",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"7.90541"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"9.48649"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.743854 0 0 0 0 0.925 0 0 0 0 0.850411 0 0 0 1 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1098_419"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1098_419",result:"shape"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint0_linear_1098_419",x1:"65.5727",y1:"11.9751",x2:"65.5727",y2:"82.0697",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#01CB70"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#1CE385"}})],1)],1)]),e._v(" "),a("p",{staticClass:"unlock"},[e._v(e._s(e.__("Unlock","dokan-lite")))]),e._v(" "),a("h1",[e._v(e._s(e.__("20+ Modules","dokan-lite")))]),e._v(" "),a("p",{staticClass:"text-brand"},[e._v(e._s(e.__("with Dokan Premium Plans","dokan-lite")))]),e._v(" "),a("p",{staticClass:"upgrade-text",domProps:{innerHTML:e._s(e.sprintf(e.__("We’re sorry %s Dokan Modules are not available on %s. Please upgrade to a PRO plan to unlock the modules of your choice.","dokan-lite"),"<br>","<strong>Dokan Lite</strong>"))}}),e._v(" "),a("a",{staticClass:"upgrade-button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("div",{staticClass:"promo-card"},[a("svg",{attrs:{width:"318",height:"181",viewBox:"0 0 318 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("rect",{attrs:{width:"318",height:"181",rx:"10",fill:"url(#paint0_linear_1061_678)"}}),e._v(" "),a("path",{attrs:{d:"M69.7623 78.1796C19.6582 89.3268 8.33272 60.917 0 47.3061V10C0 4.47715 4.47714 0 9.99999 0H308C313.523 0 318 4.47716 318 10V122C287.77 58.7592 226.42 82.2094 166.516 91.1265C119.684 98.098 114.527 68.2204 69.7623 78.1796Z",fill:"#7867FF","fill-opacity":"0.1"}}),e._v(" "),a("path",{attrs:{d:"M50.6582 112H54.5068C56.6055 112 57.8496 110.968 57.8496 109.238V109.225C57.8496 107.926 56.9951 107.003 55.6484 106.832V106.723C56.5986 106.552 57.3506 105.622 57.3506 104.604V104.59C57.3506 103.086 56.2432 102.136 54.4316 102.136H50.6582V112ZM54.1719 103.223C55.3955 103.223 56.1064 103.804 56.1064 104.802V104.815C56.1064 105.854 55.3477 106.388 53.8574 106.388H51.8887V103.223H54.1719ZM54.2061 107.447C55.7783 107.447 56.585 108.028 56.585 109.163V109.177C56.585 110.312 55.8057 110.913 54.3223 110.913H51.8887V107.447H54.2061ZM62.7373 112.13C64.8359 112.13 66.1348 110.681 66.1348 108.322V108.309C66.1348 105.943 64.8359 104.501 62.7373 104.501C60.6387 104.501 59.3398 105.943 59.3398 108.309V108.322C59.3398 110.681 60.6387 112.13 62.7373 112.13ZM62.7373 111.077C61.3428 111.077 60.5566 110.059 60.5566 108.322V108.309C60.5566 106.565 61.3428 105.554 62.7373 105.554C64.1318 105.554 64.918 106.565 64.918 108.309V108.322C64.918 110.059 64.1318 111.077 62.7373 111.077ZM67.9805 112H69.1699V107.639C69.1699 106.347 69.915 105.554 71.0908 105.554C72.2666 105.554 72.8135 106.189 72.8135 107.516V112H74.0029V107.229C74.0029 105.479 73.0801 104.501 71.4258 104.501C70.3389 104.501 69.6484 104.959 69.2793 105.738H69.1699V104.631H67.9805V112ZM78.624 112.13C79.7041 112.13 80.4492 111.686 80.8115 110.899H80.9209V112H82.1104V104.631H80.9209V108.992C80.9209 110.284 80.2305 111.077 78.9316 111.077C77.7559 111.077 77.2773 110.441 77.2773 109.115V104.631H76.0879V109.402C76.0879 111.146 76.9492 112.13 78.624 112.13ZM86.8613 112.13C88.5361 112.13 89.8145 111.221 89.8145 109.908V109.895C89.8145 108.842 89.1445 108.24 87.7568 107.905L86.6221 107.632C85.7539 107.42 85.3848 107.105 85.3848 106.606V106.593C85.3848 105.943 86.0273 105.492 86.9023 105.492C87.791 105.492 88.3652 105.896 88.5225 106.477H89.6914C89.5273 105.273 88.4541 104.501 86.9092 104.501C85.3438 104.501 84.168 105.424 84.168 106.647V106.654C84.168 107.714 84.79 108.315 86.1709 108.644L87.3125 108.917C88.2217 109.136 88.5977 109.484 88.5977 109.983V109.997C88.5977 110.667 87.8936 111.139 86.9023 111.139C85.959 111.139 85.3711 110.735 85.1729 110.12H83.9561C84.0928 111.337 85.2207 112.13 86.8613 112.13ZM92.6309 106.777C93.123 106.777 93.5195 106.374 93.5195 105.889C93.5195 105.396 93.123 105 92.6309 105C92.1455 105 91.7422 105.396 91.7422 105.889C91.7422 106.374 92.1455 106.777 92.6309 106.777ZM92.6309 112.068C93.123 112.068 93.5195 111.665 93.5195 111.18C93.5195 110.688 93.123 110.291 92.6309 110.291C92.1455 110.291 91.7422 110.688 91.7422 111.18C91.7422 111.665 92.1455 112.068 92.6309 112.068ZM99.9043 112H103.288C106.221 112 107.943 110.175 107.943 107.071V107.058C107.943 103.961 106.214 102.136 103.288 102.136H99.9043V112ZM101.135 110.893V103.243H103.206C105.394 103.243 106.686 104.665 106.686 107.071V107.085C106.686 109.484 105.407 110.893 103.206 110.893H101.135ZM112.954 112.13C115.053 112.13 116.352 110.681 116.352 108.322V108.309C116.352 105.943 115.053 104.501 112.954 104.501C110.855 104.501 109.557 105.943 109.557 108.309V108.322C109.557 110.681 110.855 112.13 112.954 112.13ZM112.954 111.077C111.56 111.077 110.773 110.059 110.773 108.322V108.309C110.773 106.565 111.56 105.554 112.954 105.554C114.349 105.554 115.135 106.565 115.135 108.309V108.322C115.135 110.059 114.349 111.077 112.954 111.077ZM118.266 112H119.455V109.204L120.146 108.534L122.907 112H124.404L120.979 107.728L124.192 104.631H122.75L119.564 107.851H119.455V101.705H118.266V112ZM127.617 112.13C128.608 112.13 129.381 111.699 129.846 110.913H129.955V112H131.145V106.955C131.145 105.424 130.14 104.501 128.342 104.501C126.77 104.501 125.648 105.28 125.457 106.436L125.45 106.477H126.64L126.646 106.456C126.838 105.882 127.419 105.554 128.301 105.554C129.401 105.554 129.955 106.046 129.955 106.955V107.625L127.843 107.755C126.127 107.857 125.156 108.616 125.156 109.929V109.942C125.156 111.282 126.216 112.13 127.617 112.13ZM126.373 109.915V109.901C126.373 109.17 126.865 108.773 127.986 108.705L129.955 108.582V109.252C129.955 110.305 129.073 111.098 127.863 111.098C127.009 111.098 126.373 110.66 126.373 109.915ZM133.318 112H134.508V107.639C134.508 106.347 135.253 105.554 136.429 105.554C137.604 105.554 138.151 106.189 138.151 107.516V112H139.341V107.229C139.341 105.479 138.418 104.501 136.764 104.501C135.677 104.501 134.986 104.959 134.617 105.738H134.508V104.631H133.318V112ZM145.582 112H151.57V110.893H146.812V102.136H145.582V112ZM154.018 103.209C154.469 103.209 154.838 102.84 154.838 102.389C154.838 101.938 154.469 101.568 154.018 101.568C153.566 101.568 153.197 101.938 153.197 102.389C153.197 102.84 153.566 103.209 154.018 103.209ZM153.416 112H154.605V104.631H153.416V112ZM159.466 112.055C159.698 112.055 159.924 112.027 160.156 111.986V110.975C159.938 110.995 159.821 111.002 159.609 111.002C158.844 111.002 158.543 110.653 158.543 109.785V105.615H160.156V104.631H158.543V102.724H157.312V104.631H156.15V105.615H157.312V110.086C157.312 111.494 157.948 112.055 159.466 112.055ZM164.832 112.13C166.568 112.13 167.621 111.146 167.874 110.147L167.888 110.093H166.698L166.671 110.154C166.473 110.599 165.857 111.07 164.859 111.07C163.547 111.07 162.706 110.182 162.672 108.657H167.977V108.192C167.977 105.991 166.76 104.501 164.757 104.501C162.754 104.501 161.455 106.06 161.455 108.336V108.343C161.455 110.653 162.727 112.13 164.832 112.13ZM164.75 105.561C165.837 105.561 166.644 106.251 166.767 107.707H162.692C162.822 106.306 163.656 105.561 164.75 105.561ZM176.228 112.13C177.308 112.13 178.053 111.686 178.415 110.899H178.524V112H179.714V104.631H178.524V108.992C178.524 110.284 177.834 111.077 176.535 111.077C175.359 111.077 174.881 110.441 174.881 109.115V104.631H173.691V109.402C173.691 111.146 174.553 112.13 176.228 112.13ZM184.465 112.13C186.14 112.13 187.418 111.221 187.418 109.908V109.895C187.418 108.842 186.748 108.24 185.36 107.905L184.226 107.632C183.357 107.42 182.988 107.105 182.988 106.606V106.593C182.988 105.943 183.631 105.492 184.506 105.492C185.395 105.492 185.969 105.896 186.126 106.477H187.295C187.131 105.273 186.058 104.501 184.513 104.501C182.947 104.501 181.771 105.424 181.771 106.647V106.654C181.771 107.714 182.394 108.315 183.774 108.644L184.916 108.917C185.825 109.136 186.201 109.484 186.201 109.983V109.997C186.201 110.667 185.497 111.139 184.506 111.139C183.562 111.139 182.975 110.735 182.776 110.12H181.56C181.696 111.337 182.824 112.13 184.465 112.13ZM192.271 112.13C194.008 112.13 195.061 111.146 195.313 110.147L195.327 110.093H194.138L194.11 110.154C193.912 110.599 193.297 111.07 192.299 111.07C190.986 111.07 190.146 110.182 190.111 108.657H195.416V108.192C195.416 105.991 194.199 104.501 192.196 104.501C190.193 104.501 188.895 106.06 188.895 108.336V108.343C188.895 110.653 190.166 112.13 192.271 112.13ZM192.189 105.561C193.276 105.561 194.083 106.251 194.206 107.707H190.132C190.262 106.306 191.096 105.561 192.189 105.561ZM197.262 112H198.451V107.434C198.451 106.354 199.258 105.636 200.393 105.636C200.652 105.636 200.878 105.663 201.124 105.704V104.549C201.008 104.528 200.755 104.501 200.529 104.501C199.531 104.501 198.841 104.952 198.561 105.725H198.451V104.631H197.262V112ZM204.986 112.13C206.661 112.13 207.939 111.221 207.939 109.908V109.895C207.939 108.842 207.27 108.24 205.882 107.905L204.747 107.632C203.879 107.42 203.51 107.105 203.51 106.606V106.593C203.51 105.943 204.152 105.492 205.027 105.492C205.916 105.492 206.49 105.896 206.647 106.477H207.816C207.652 105.273 206.579 104.501 205.034 104.501C203.469 104.501 202.293 105.424 202.293 106.647V106.654C202.293 107.714 202.915 108.315 204.296 108.644L205.438 108.917C206.347 109.136 206.723 109.484 206.723 109.983V109.997C206.723 110.667 206.019 111.139 205.027 111.139C204.084 111.139 203.496 110.735 203.298 110.12H202.081C202.218 111.337 203.346 112.13 204.986 112.13ZM216.758 114.598C218.768 114.598 220.039 113.545 220.039 111.897V104.631H218.85V105.848H218.768C218.316 105.014 217.51 104.501 216.471 104.501C214.543 104.501 213.354 105.998 213.354 108.062V108.076C213.354 110.141 214.536 111.617 216.443 111.617C217.455 111.617 218.289 111.159 218.754 110.346H218.863V111.836C218.863 112.923 218.077 113.545 216.758 113.545C215.698 113.545 215.042 113.148 214.912 112.588L214.905 112.581H213.675L213.661 112.588C213.846 113.798 214.98 114.598 216.758 114.598ZM216.703 110.564C215.336 110.564 214.57 109.539 214.57 108.076V108.062C214.57 106.6 215.336 105.554 216.703 105.554C218.063 105.554 218.891 106.6 218.891 108.062V108.076C218.891 109.539 218.07 110.564 216.703 110.564ZM225.262 112.13C226.998 112.13 228.051 111.146 228.304 110.147L228.317 110.093H227.128L227.101 110.154C226.902 110.599 226.287 111.07 225.289 111.07C223.977 111.07 223.136 110.182 223.102 108.657H228.406V108.192C228.406 105.991 227.189 104.501 225.187 104.501C223.184 104.501 221.885 106.06 221.885 108.336V108.343C221.885 110.653 223.156 112.13 225.262 112.13ZM225.18 105.561C226.267 105.561 227.073 106.251 227.196 107.707H223.122C223.252 106.306 224.086 105.561 225.18 105.561ZM232.87 112.055C233.103 112.055 233.328 112.027 233.561 111.986V110.975C233.342 110.995 233.226 111.002 233.014 111.002C232.248 111.002 231.947 110.653 231.947 109.785V105.615H233.561V104.631H231.947V102.724H230.717V104.631H229.555V105.615H230.717V110.086C230.717 111.494 231.353 112.055 232.87 112.055ZM242.304 112.13C244.402 112.13 245.701 110.681 245.701 108.322V108.309C245.701 105.943 244.402 104.501 242.304 104.501C240.205 104.501 238.906 105.943 238.906 108.309V108.322C238.906 110.681 240.205 112.13 242.304 112.13ZM242.304 111.077C240.909 111.077 240.123 110.059 240.123 108.322V108.309C240.123 106.565 240.909 105.554 242.304 105.554C243.698 105.554 244.484 106.565 244.484 108.309V108.322C244.484 110.059 243.698 111.077 242.304 111.077ZM248.039 112H249.229V105.615H250.903V104.631H249.229V103.845C249.229 103.038 249.57 102.621 250.418 102.621C250.63 102.621 250.828 102.628 250.972 102.655V101.705C250.726 101.657 250.466 101.637 250.179 101.637C248.777 101.637 248.039 102.341 248.039 103.811V104.631H246.815V105.615H248.039V112ZM253.111 112H254.301V105.615H255.976V104.631H254.301V103.845C254.301 103.038 254.643 102.621 255.49 102.621C255.702 102.621 255.9 102.628 256.044 102.655V101.705C255.798 101.657 255.538 101.637 255.251 101.637C253.85 101.637 253.111 102.341 253.111 103.811V104.631H251.888V105.615H253.111V112ZM260.385 112.13C262.121 112.13 263.174 111.146 263.427 110.147L263.44 110.093H262.251L262.224 110.154C262.025 110.599 261.41 111.07 260.412 111.07C259.1 111.07 258.259 110.182 258.225 108.657H263.529V108.192C263.529 105.991 262.312 104.501 260.31 104.501C258.307 104.501 257.008 106.06 257.008 108.336V108.343C257.008 110.653 258.279 112.13 260.385 112.13ZM260.303 105.561C261.39 105.561 262.196 106.251 262.319 107.707H258.245C258.375 106.306 259.209 105.561 260.303 105.561ZM265.375 112H266.564V107.434C266.564 106.354 267.371 105.636 268.506 105.636C268.766 105.636 268.991 105.663 269.237 105.704V104.549C269.121 104.528 268.868 104.501 268.643 104.501C267.645 104.501 266.954 104.952 266.674 105.725H266.564V104.631H265.375V112ZM30.335 133H31.5244L33.165 127.299H33.2744L34.9219 133H36.1182L38.1826 125.631H37L35.5508 131.523H35.4414L33.7939 125.631H32.666L31.0186 131.523H30.9092L29.46 125.631H28.2705L30.335 133ZM40.3838 124.209C40.835 124.209 41.2041 123.84 41.2041 123.389C41.2041 122.938 40.835 122.568 40.3838 122.568C39.9326 122.568 39.5635 122.938 39.5635 123.389C39.5635 123.84 39.9326 124.209 40.3838 124.209ZM39.7822 133H40.9717V125.631H39.7822V133ZM45.832 133.055C46.0645 133.055 46.29 133.027 46.5225 132.986V131.975C46.3037 131.995 46.1875 132.002 45.9756 132.002C45.21 132.002 44.9092 131.653 44.9092 130.785V126.615H46.5225V125.631H44.9092V123.724H43.6787V125.631H42.5166V126.615H43.6787V131.086C43.6787 132.494 44.3145 133.055 45.832 133.055ZM48.3682 133H49.5576V128.639C49.5576 127.347 50.3027 126.554 51.4785 126.554C52.6543 126.554 53.2012 127.189 53.2012 128.516V133H54.3906V128.229C54.3906 126.479 53.4678 125.501 51.8135 125.501C50.7266 125.501 50.0361 125.959 49.667 126.738H49.5576V122.705H48.3682V133ZM60.4814 133H61.6709V128.434C61.6709 127.354 62.4775 126.636 63.6123 126.636C63.8721 126.636 64.0977 126.663 64.3438 126.704V125.549C64.2275 125.528 63.9746 125.501 63.749 125.501C62.751 125.501 62.0605 125.952 61.7803 126.725H61.6709V125.631H60.4814V133ZM68.6162 133.13C70.3525 133.13 71.4053 132.146 71.6582 131.147L71.6719 131.093H70.4824L70.4551 131.154C70.2568 131.599 69.6416 132.07 68.6436 132.07C67.3311 132.07 66.4902 131.182 66.4561 129.657H71.7607V129.192C71.7607 126.991 70.5439 125.501 68.541 125.501C66.5381 125.501 65.2393 127.06 65.2393 129.336V129.343C65.2393 131.653 66.5107 133.13 68.6162 133.13ZM68.5342 126.561C69.6211 126.561 70.4277 127.251 70.5508 128.707H66.4766C66.6064 127.306 67.4404 126.561 68.5342 126.561ZM76.6416 135.598C78.6514 135.598 79.9229 134.545 79.9229 132.897V125.631H78.7334V126.848H78.6514C78.2002 126.014 77.3936 125.501 76.3545 125.501C74.4268 125.501 73.2373 126.998 73.2373 129.062V129.076C73.2373 131.141 74.4199 132.617 76.3271 132.617C77.3389 132.617 78.1729 132.159 78.6377 131.346H78.7471V132.836C78.7471 133.923 77.9609 134.545 76.6416 134.545C75.582 134.545 74.9258 134.148 74.7959 133.588L74.7891 133.581H73.5586L73.5449 133.588C73.7295 134.798 74.8643 135.598 76.6416 135.598ZM76.5869 131.564C75.2197 131.564 74.4541 130.539 74.4541 129.076V129.062C74.4541 127.6 75.2197 126.554 76.5869 126.554C77.9473 126.554 78.7744 127.6 78.7744 129.062V129.076C78.7744 130.539 77.9541 131.564 76.5869 131.564ZM84.6055 133.13C85.6855 133.13 86.4307 132.686 86.793 131.899H86.9023V133H88.0918V125.631H86.9023V129.992C86.9023 131.284 86.2119 132.077 84.9131 132.077C83.7373 132.077 83.2588 131.441 83.2588 130.115V125.631H82.0693V130.402C82.0693 132.146 82.9307 133.13 84.6055 133.13ZM90.3818 133H91.5713V122.705H90.3818V133ZM95.8779 133.13C96.8691 133.13 97.6416 132.699 98.1064 131.913H98.2158V133H99.4053V127.955C99.4053 126.424 98.4004 125.501 96.6025 125.501C95.0303 125.501 93.9092 126.28 93.7178 127.436L93.7109 127.477H94.9004L94.9072 127.456C95.0986 126.882 95.6797 126.554 96.5615 126.554C97.6621 126.554 98.2158 127.046 98.2158 127.955V128.625L96.1035 128.755C94.3877 128.857 93.417 129.616 93.417 130.929V130.942C93.417 132.282 94.4766 133.13 95.8779 133.13ZM94.6338 130.915V130.901C94.6338 130.17 95.126 129.773 96.2471 129.705L98.2158 129.582V130.252C98.2158 131.305 97.334 132.098 96.124 132.098C95.2695 132.098 94.6338 131.66 94.6338 130.915ZM101.579 133H102.769V128.434C102.769 127.354 103.575 126.636 104.71 126.636C104.97 126.636 105.195 126.663 105.441 126.704V125.549C105.325 125.528 105.072 125.501 104.847 125.501C103.849 125.501 103.158 125.952 102.878 126.725H102.769V125.631H101.579V133ZM110.849 135.461H112.038V131.838H112.147C112.551 132.624 113.433 133.13 114.444 133.13C116.317 133.13 117.534 131.633 117.534 129.322V129.309C117.534 127.012 116.311 125.501 114.444 125.501C113.419 125.501 112.599 125.986 112.147 126.807H112.038V125.631H110.849V135.461ZM114.171 132.077C112.831 132.077 112.011 131.024 112.011 129.322V129.309C112.011 127.606 112.831 126.554 114.171 126.554C115.518 126.554 116.317 127.593 116.317 129.309V129.322C116.317 131.038 115.518 132.077 114.171 132.077ZM119.394 133H120.583V128.434C120.583 127.354 121.39 126.636 122.524 126.636C122.784 126.636 123.01 126.663 123.256 126.704V125.549C123.14 125.528 122.887 125.501 122.661 125.501C121.663 125.501 120.973 125.952 120.692 126.725H120.583V125.631H119.394V133ZM125.354 124.209C125.806 124.209 126.175 123.84 126.175 123.389C126.175 122.938 125.806 122.568 125.354 122.568C124.903 122.568 124.534 122.938 124.534 123.389C124.534 123.84 124.903 124.209 125.354 124.209ZM124.753 133H125.942V125.631H124.753V133ZM131.199 133.13C132.97 133.13 133.961 132.18 134.262 130.847L134.275 130.771L133.1 130.778L133.086 130.819C132.812 131.64 132.184 132.077 131.192 132.077C129.88 132.077 129.032 130.99 129.032 129.295V129.281C129.032 127.62 129.866 126.554 131.192 126.554C132.252 126.554 132.908 127.142 133.093 127.866L133.1 127.887H134.282L134.275 127.846C134.057 126.533 132.983 125.501 131.192 125.501C129.128 125.501 127.815 126.991 127.815 129.281V129.295C127.815 131.633 129.135 133.13 131.199 133.13ZM139.026 133.13C140.763 133.13 141.815 132.146 142.068 131.147L142.082 131.093H140.893L140.865 131.154C140.667 131.599 140.052 132.07 139.054 132.07C137.741 132.07 136.9 131.182 136.866 129.657H142.171V129.192C142.171 126.991 140.954 125.501 138.951 125.501C136.948 125.501 135.649 127.06 135.649 129.336V129.343C135.649 131.653 136.921 133.13 139.026 133.13ZM138.944 126.561C140.031 126.561 140.838 127.251 140.961 128.707H136.887C137.017 127.306 137.851 126.561 138.944 126.561ZM143.716 135.509H144.598L145.671 131.619H144.311L143.716 135.509ZM154.134 133.13C155.125 133.13 155.897 132.699 156.362 131.913H156.472V133H157.661V127.955C157.661 126.424 156.656 125.501 154.858 125.501C153.286 125.501 152.165 126.28 151.974 127.436L151.967 127.477H153.156L153.163 127.456C153.354 126.882 153.936 126.554 154.817 126.554C155.918 126.554 156.472 127.046 156.472 127.955V128.625L154.359 128.755C152.644 128.857 151.673 129.616 151.673 130.929V130.942C151.673 132.282 152.732 133.13 154.134 133.13ZM152.89 130.915V130.901C152.89 130.17 153.382 129.773 154.503 129.705L156.472 129.582V130.252C156.472 131.305 155.59 132.098 154.38 132.098C153.525 132.098 152.89 131.66 152.89 130.915ZM162.303 133.13C163.383 133.13 164.128 132.686 164.49 131.899H164.6V133H165.789V125.631H164.6V129.992C164.6 131.284 163.909 132.077 162.61 132.077C161.435 132.077 160.956 131.441 160.956 130.115V125.631H159.767V130.402C159.767 132.146 160.628 133.13 162.303 133.13ZM170.629 133.055C170.861 133.055 171.087 133.027 171.319 132.986V131.975C171.101 131.995 170.984 132.002 170.772 132.002C170.007 132.002 169.706 131.653 169.706 130.785V126.615H171.319V125.631H169.706V123.724H168.476V125.631H167.313V126.615H168.476V131.086C168.476 132.494 169.111 133.055 170.629 133.055ZM176.016 133.13C178.114 133.13 179.413 131.681 179.413 129.322V129.309C179.413 126.943 178.114 125.501 176.016 125.501C173.917 125.501 172.618 126.943 172.618 129.309V129.322C172.618 131.681 173.917 133.13 176.016 133.13ZM176.016 132.077C174.621 132.077 173.835 131.059 173.835 129.322V129.309C173.835 127.565 174.621 126.554 176.016 126.554C177.41 126.554 178.196 127.565 178.196 129.309V129.322C178.196 131.059 177.41 132.077 176.016 132.077ZM181.259 133H182.448V128.434C182.448 127.395 183.18 126.554 184.144 126.554C185.073 126.554 185.675 127.121 185.675 127.996V133H186.864V128.263C186.864 127.326 187.541 126.554 188.566 126.554C189.605 126.554 190.104 127.094 190.104 128.181V133H191.294V127.907C191.294 126.362 190.453 125.501 188.949 125.501C187.931 125.501 187.09 126.014 186.693 126.793H186.584C186.242 126.027 185.545 125.501 184.547 125.501C183.583 125.501 182.886 125.959 182.558 126.752H182.448V125.631H181.259V133ZM195.464 133.13C196.455 133.13 197.228 132.699 197.692 131.913H197.802V133H198.991V127.955C198.991 126.424 197.986 125.501 196.188 125.501C194.616 125.501 193.495 126.28 193.304 127.436L193.297 127.477H194.486L194.493 127.456C194.685 126.882 195.266 126.554 196.147 126.554C197.248 126.554 197.802 127.046 197.802 127.955V128.625L195.689 128.755C193.974 128.857 193.003 129.616 193.003 130.929V130.942C193.003 132.282 194.062 133.13 195.464 133.13ZM194.22 130.915V130.901C194.22 130.17 194.712 129.773 195.833 129.705L197.802 129.582V130.252C197.802 131.305 196.92 132.098 195.71 132.098C194.855 132.098 194.22 131.66 194.22 130.915ZM203.783 133.055C204.016 133.055 204.241 133.027 204.474 132.986V131.975C204.255 131.995 204.139 132.002 203.927 132.002C203.161 132.002 202.86 131.653 202.86 130.785V126.615H204.474V125.631H202.86V123.724H201.63V125.631H200.468V126.615H201.63V131.086C201.63 132.494 202.266 133.055 203.783 133.055ZM206.88 124.209C207.331 124.209 207.7 123.84 207.7 123.389C207.7 122.938 207.331 122.568 206.88 122.568C206.429 122.568 206.06 122.938 206.06 123.389C206.06 123.84 206.429 124.209 206.88 124.209ZM206.278 133H207.468V125.631H206.278V133ZM212.725 133.13C214.495 133.13 215.486 132.18 215.787 130.847L215.801 130.771L214.625 130.778L214.611 130.819C214.338 131.64 213.709 132.077 212.718 132.077C211.405 132.077 210.558 130.99 210.558 129.295V129.281C210.558 127.62 211.392 126.554 212.718 126.554C213.777 126.554 214.434 127.142 214.618 127.866L214.625 127.887H215.808L215.801 127.846C215.582 126.533 214.509 125.501 212.718 125.501C210.653 125.501 209.341 126.991 209.341 129.281V129.295C209.341 131.633 210.66 133.13 212.725 133.13ZM219.567 133.13C220.559 133.13 221.331 132.699 221.796 131.913H221.905V133H223.095V127.955C223.095 126.424 222.09 125.501 220.292 125.501C218.72 125.501 217.599 126.28 217.407 127.436L217.4 127.477H218.59L218.597 127.456C218.788 126.882 219.369 126.554 220.251 126.554C221.352 126.554 221.905 127.046 221.905 127.955V128.625L219.793 128.755C218.077 128.857 217.106 129.616 217.106 130.929V130.942C217.106 132.282 218.166 133.13 219.567 133.13ZM218.323 130.915V130.901C218.323 130.17 218.815 129.773 219.937 129.705L221.905 129.582V130.252C221.905 131.305 221.023 132.098 219.813 132.098C218.959 132.098 218.323 131.66 218.323 130.915ZM225.337 133H226.526V122.705H225.337V133ZM228.878 133H230.067V122.705H228.878V133ZM232.979 135.584C234.285 135.584 234.894 135.105 235.502 133.451L238.38 125.631H237.129L235.112 131.694H235.003L232.979 125.631H231.708L234.436 133.007L234.299 133.444C234.032 134.292 233.622 134.6 232.945 134.6C232.781 134.6 232.597 134.593 232.453 134.565V135.543C232.617 135.57 232.822 135.584 232.979 135.584ZM245.913 133.13C246.904 133.13 247.677 132.699 248.142 131.913H248.251V133H249.44V127.955C249.44 126.424 248.436 125.501 246.638 125.501C245.065 125.501 243.944 126.28 243.753 127.436L243.746 127.477H244.936L244.942 127.456C245.134 126.882 245.715 126.554 246.597 126.554C247.697 126.554 248.251 127.046 248.251 127.955V128.625L246.139 128.755C244.423 128.857 243.452 129.616 243.452 130.929V130.942C243.452 132.282 244.512 133.13 245.913 133.13ZM244.669 130.915V130.901C244.669 130.17 245.161 129.773 246.282 129.705L248.251 129.582V130.252C248.251 131.305 247.369 132.098 246.159 132.098C245.305 132.098 244.669 131.66 244.669 130.915ZM251.614 135.461H252.804V131.838H252.913C253.316 132.624 254.198 133.13 255.21 133.13C257.083 133.13 258.3 131.633 258.3 129.322V129.309C258.3 127.012 257.076 125.501 255.21 125.501C254.185 125.501 253.364 125.986 252.913 126.807H252.804V125.631H251.614V135.461ZM254.937 132.077C253.597 132.077 252.776 131.024 252.776 129.322V129.309C252.776 127.606 253.597 126.554 254.937 126.554C256.283 126.554 257.083 127.593 257.083 129.309V129.322C257.083 131.038 256.283 132.077 254.937 132.077ZM260.159 135.461H261.349V131.838H261.458C261.861 132.624 262.743 133.13 263.755 133.13C265.628 133.13 266.845 131.633 266.845 129.322V129.309C266.845 127.012 265.621 125.501 263.755 125.501C262.729 125.501 261.909 125.986 261.458 126.807H261.349V125.631H260.159V135.461ZM263.481 132.077C262.142 132.077 261.321 131.024 261.321 129.322V129.309C261.321 127.606 262.142 126.554 263.481 126.554C264.828 126.554 265.628 127.593 265.628 129.309V129.322C265.628 131.038 264.828 132.077 263.481 132.077ZM268.772 133H269.962V122.705H268.772V133ZM272.874 124.209C273.325 124.209 273.694 123.84 273.694 123.389C273.694 122.938 273.325 122.568 272.874 122.568C272.423 122.568 272.054 122.938 272.054 123.389C272.054 123.84 272.423 124.209 272.874 124.209ZM272.272 133H273.462V125.631H272.272V133ZM278.712 133.13C280.448 133.13 281.501 132.146 281.754 131.147L281.768 131.093H280.578L280.551 131.154C280.353 131.599 279.737 132.07 278.739 132.07C277.427 132.07 276.586 131.182 276.552 129.657H281.856V129.192C281.856 126.991 280.64 125.501 278.637 125.501C276.634 125.501 275.335 127.06 275.335 129.336V129.343C275.335 131.653 276.606 133.13 278.712 133.13ZM278.63 126.561C279.717 126.561 280.523 127.251 280.646 128.707H276.572C276.702 127.306 277.536 126.561 278.63 126.561ZM286.423 133.13C287.448 133.13 288.269 132.645 288.72 131.824H288.829V133H290.019V122.705H288.829V126.793H288.72C288.316 126.007 287.435 125.501 286.423 125.501C284.55 125.501 283.333 126.998 283.333 129.309V129.322C283.333 131.619 284.557 133.13 286.423 133.13ZM286.696 132.077C285.35 132.077 284.55 131.038 284.55 129.322V129.309C284.55 127.593 285.35 126.554 286.696 126.554C288.036 126.554 288.856 127.606 288.856 129.309V129.322C288.856 131.024 288.036 132.077 286.696 132.077ZM122.203 155.055C122.436 155.055 122.661 155.027 122.894 154.986V153.975C122.675 153.995 122.559 154.002 122.347 154.002C121.581 154.002 121.28 153.653 121.28 152.785V148.615H122.894V147.631H121.28V145.724H120.05V147.631H118.888V148.615H120.05V153.086C120.05 154.494 120.686 155.055 122.203 155.055ZM127.59 155.13C129.688 155.13 130.987 153.681 130.987 151.322V151.309C130.987 148.943 129.688 147.501 127.59 147.501C125.491 147.501 124.192 148.943 124.192 151.309V151.322C124.192 153.681 125.491 155.13 127.59 155.13ZM127.59 154.077C126.195 154.077 125.409 153.059 125.409 151.322V151.309C125.409 149.565 126.195 148.554 127.59 148.554C128.984 148.554 129.771 149.565 129.771 151.309V151.322C129.771 153.059 128.984 154.077 127.59 154.077ZM139.785 155.13C141.556 155.13 142.547 154.18 142.848 152.847L142.861 152.771L141.686 152.778L141.672 152.819C141.398 153.64 140.77 154.077 139.778 154.077C138.466 154.077 137.618 152.99 137.618 151.295V151.281C137.618 149.62 138.452 148.554 139.778 148.554C140.838 148.554 141.494 149.142 141.679 149.866L141.686 149.887H142.868L142.861 149.846C142.643 148.533 141.569 147.501 139.778 147.501C137.714 147.501 136.401 148.991 136.401 151.281V151.295C136.401 153.633 137.721 155.13 139.785 155.13ZM144.673 155H145.862V150.639C145.862 149.347 146.607 148.554 147.783 148.554C148.959 148.554 149.506 149.189 149.506 150.516V155H150.695V150.229C150.695 148.479 149.772 147.501 148.118 147.501C147.031 147.501 146.341 147.959 145.972 148.738H145.862V144.705H144.673V155ZM155.856 155.13C157.593 155.13 158.646 154.146 158.898 153.147L158.912 153.093H157.723L157.695 153.154C157.497 153.599 156.882 154.07 155.884 154.07C154.571 154.07 153.73 153.182 153.696 151.657H159.001V151.192C159.001 148.991 157.784 147.501 155.781 147.501C153.778 147.501 152.479 149.06 152.479 151.336V151.343C152.479 153.653 153.751 155.13 155.856 155.13ZM155.774 148.561C156.861 148.561 157.668 149.251 157.791 150.707H153.717C153.847 149.306 154.681 148.561 155.774 148.561ZM163.861 155.13C165.632 155.13 166.623 154.18 166.924 152.847L166.938 152.771L165.762 152.778L165.748 152.819C165.475 153.64 164.846 154.077 163.854 154.077C162.542 154.077 161.694 152.99 161.694 151.295V151.281C161.694 149.62 162.528 148.554 163.854 148.554C164.914 148.554 165.57 149.142 165.755 149.866L165.762 149.887H166.944L166.938 149.846C166.719 148.533 165.646 147.501 163.854 147.501C161.79 147.501 160.478 148.991 160.478 151.281V151.295C160.478 153.633 161.797 155.13 163.861 155.13ZM168.749 155H169.938V152.204L170.629 151.534L173.391 155H174.888L171.463 150.728L174.676 147.631H173.233L170.048 150.851H169.938V144.705H168.749V155ZM178.969 155.13C181.067 155.13 182.366 153.681 182.366 151.322V151.309C182.366 148.943 181.067 147.501 178.969 147.501C176.87 147.501 175.571 148.943 175.571 151.309V151.322C175.571 153.681 176.87 155.13 178.969 155.13ZM178.969 154.077C177.574 154.077 176.788 153.059 176.788 151.322V151.309C176.788 149.565 177.574 148.554 178.969 148.554C180.363 148.554 181.149 149.565 181.149 151.309V151.322C181.149 153.059 180.363 154.077 178.969 154.077ZM186.68 155.13C187.76 155.13 188.505 154.686 188.867 153.899H188.977V155H190.166V147.631H188.977V151.992C188.977 153.284 188.286 154.077 186.987 154.077C185.812 154.077 185.333 153.441 185.333 152.115V147.631H184.144V152.402C184.144 154.146 185.005 155.13 186.68 155.13ZM195.006 155.055C195.238 155.055 195.464 155.027 195.696 154.986V153.975C195.478 153.995 195.361 154.002 195.149 154.002C194.384 154.002 194.083 153.653 194.083 152.785V148.615H195.696V147.631H194.083V145.724H192.853V147.631H191.69V148.615H192.853V153.086C192.853 154.494 193.488 155.055 195.006 155.055ZM198.444 155.068C198.937 155.068 199.333 154.665 199.333 154.18C199.333 153.688 198.937 153.291 198.444 153.291C197.959 153.291 197.556 153.688 197.556 154.18C197.556 154.665 197.959 155.068 198.444 155.068Z",fill:"white"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter0_d_1061_678)"}},[a("path",{attrs:{d:"M133.607 56.5262C139.149 56.5262 142.849 53.6156 142.849 49.3072V49.2743C142.849 46.0512 140.547 44.0121 137.011 43.6832V43.5845C139.79 43.009 141.961 41.085 141.961 38.125V38.0921C141.961 34.3099 138.672 31.7446 133.574 31.7446C128.592 31.7446 125.254 34.5073 124.908 38.7499L124.892 38.9472H129.463L129.48 38.7992C129.677 36.8259 131.239 35.5597 133.574 35.5597C135.91 35.5597 137.274 36.7766 137.274 38.7499V38.7828C137.274 40.7068 135.663 42.0223 133.163 42.0223H130.516V45.5578H133.229C136.107 45.5578 137.801 46.8076 137.801 49.0769V49.1098C137.801 51.116 136.14 52.5302 133.607 52.5302C131.042 52.5302 129.348 51.2147 129.134 49.3729L129.118 49.192H124.366L124.382 49.4058C124.711 53.6485 128.246 56.5262 133.607 56.5262ZM156.235 56.6084C162.105 56.6084 165.657 51.8067 165.657 44.1436V44.1107C165.657 36.4312 162.105 31.6624 156.235 31.6624C150.381 31.6624 146.812 36.4312 146.812 44.1107V44.1436C146.812 51.8067 150.381 56.6084 156.235 56.6084ZM156.235 52.6782C153.439 52.6782 151.844 49.5045 151.844 44.1436V44.1107C151.844 38.7334 153.439 35.5926 156.235 35.5926C159.047 35.5926 160.642 38.7334 160.642 44.1107V44.1436C160.642 49.5045 159.047 52.6782 156.235 52.6782ZM175.475 45.2783C178.961 45.2783 181.082 42.713 181.082 38.6019V38.5854C181.082 34.4744 178.961 31.9255 175.475 31.9255C172.005 31.9255 169.867 34.4744 169.867 38.5854V38.6019C169.867 42.713 172.005 45.2783 175.475 45.2783ZM179.125 56L195.093 32.2708H191.294L175.327 56H179.125ZM175.475 42.6472C174.044 42.6472 173.238 41.1837 173.238 38.6019V38.5854C173.238 35.9872 174.044 34.5566 175.475 34.5566C176.922 34.5566 177.727 35.9872 177.727 38.5854V38.6019C177.727 41.1837 176.922 42.6472 175.475 42.6472ZM194.928 56.3453C198.414 56.3453 200.536 53.78 200.536 49.6689V49.6525C200.536 45.5414 198.414 42.9925 194.928 42.9925C191.458 42.9925 189.321 45.5414 189.321 49.6525V49.6689C189.321 53.78 191.458 56.3453 194.928 56.3453ZM194.928 53.7142C193.498 53.7142 192.692 52.2507 192.692 49.6689V49.6525C192.692 47.0543 193.498 45.6236 194.928 45.6236C196.375 45.6236 197.181 47.0543 197.181 49.6525V49.6689C197.181 52.2507 196.375 53.7142 194.928 53.7142Z",fill:"white"}})]),e._v(" "),a("path",{attrs:{d:"M55.2031 48H60.4414V47.0508H56.2578V44.1445H60.2246V43.207H56.2578V40.4941H60.4414V39.5449H55.2031V48ZM62.2227 48H63.2422V44.2617C63.2422 43.1543 63.8809 42.4746 64.8887 42.4746C65.8965 42.4746 66.3652 43.0195 66.3652 44.1562V48H67.3848V43.9102C67.3848 42.4102 66.5938 41.5723 65.1758 41.5723C64.2441 41.5723 63.6523 41.9648 63.3359 42.6328H63.2422V41.6836H62.2227V48ZM69.7578 40.4648C70.1445 40.4648 70.4609 40.1484 70.4609 39.7617C70.4609 39.375 70.1445 39.0586 69.7578 39.0586C69.3711 39.0586 69.0547 39.375 69.0547 39.7617C69.0547 40.1484 69.3711 40.4648 69.7578 40.4648ZM68.3281 50.168C69.6523 50.168 70.2676 49.6113 70.2676 48.3105V41.6836H69.248V48.3281C69.248 49.0254 68.9902 49.2656 68.3047 49.2656H68.1523V50.168H68.3281ZM74.791 48.1113C76.5898 48.1113 77.7031 46.8691 77.7031 44.8477V44.8359C77.7031 42.8086 76.5898 41.5723 74.791 41.5723C72.9922 41.5723 71.8789 42.8086 71.8789 44.8359V44.8477C71.8789 46.8691 72.9922 48.1113 74.791 48.1113ZM74.791 47.209C73.5957 47.209 72.9219 46.3359 72.9219 44.8477V44.8359C72.9219 43.3418 73.5957 42.4746 74.791 42.4746C75.9863 42.4746 76.6602 43.3418 76.6602 44.8359V44.8477C76.6602 46.3359 75.9863 47.209 74.791 47.209ZM79.5898 50.2148C80.709 50.2148 81.2305 49.8047 81.752 48.3867L84.2188 41.6836H83.1465L81.418 46.8809H81.3242L79.5898 41.6836H78.5L80.8379 48.0059L80.7207 48.3809C80.4922 49.1074 80.1406 49.3711 79.5605 49.3711C79.4199 49.3711 79.2617 49.3652 79.1387 49.3418V50.1797C79.2793 50.2031 79.4551 50.2148 79.5898 50.2148ZM89.0703 48H90.125V44.3379H93.8691V43.4004H90.125V40.4941H94.2031V39.5449H89.0703V48ZM95.8672 48H96.8867V39.1758H95.8672V48ZM100.578 48.1113C101.428 48.1113 102.09 47.7422 102.488 47.0684H102.582V48H103.602V43.6758C103.602 42.3633 102.74 41.5723 101.199 41.5723C99.8516 41.5723 98.8906 42.2402 98.7266 43.2305L98.7207 43.2656H99.7402L99.7461 43.248C99.9102 42.7559 100.408 42.4746 101.164 42.4746C102.107 42.4746 102.582 42.8965 102.582 43.6758V44.25L100.771 44.3613C99.3008 44.4492 98.4688 45.0996 98.4688 46.2246V46.2363C98.4688 47.3848 99.377 48.1113 100.578 48.1113ZM99.5117 46.2129V46.2012C99.5117 45.5742 99.9336 45.2344 100.895 45.1758L102.582 45.0703V45.6445C102.582 46.5469 101.826 47.2266 100.789 47.2266C100.057 47.2266 99.5117 46.8516 99.5117 46.2129ZM107.709 48.0469C107.908 48.0469 108.102 48.0234 108.301 47.9883V47.1211C108.113 47.1387 108.014 47.1445 107.832 47.1445C107.176 47.1445 106.918 46.8457 106.918 46.1016V42.5273H108.301V41.6836H106.918V40.0488H105.863V41.6836H104.867V42.5273H105.863V46.3594C105.863 47.5664 106.408 48.0469 107.709 48.0469Z",fill:"#0C0071"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter1_d_1061_678)"}},[a("rect",{attrs:{x:"216",y:"34.1777",width:"48",height:"20",rx:"10",fill:"#573CFF"}})]),e._v(" "),a("path",{attrs:{d:"M232.513 48.1942C234.867 48.1942 236.295 46.5089 236.295 43.881V43.8696C236.295 41.2302 234.855 39.5621 232.513 39.5621C230.182 39.5621 228.731 41.2245 228.731 43.8696V43.881C228.731 46.5146 230.148 48.1942 232.513 48.1942ZM232.513 47.2459C230.799 47.2459 229.782 45.9205 229.782 43.881V43.8696C229.782 41.8129 230.834 40.5104 232.513 40.5104C234.198 40.5104 235.244 41.8129 235.244 43.8696V43.881C235.244 45.9205 234.204 47.2459 232.513 47.2459ZM238.078 48H239.106V44.4294H242.756V43.5154H239.106V40.6818H243.082V39.7563H238.078V48ZM244.773 48H245.801V44.4294H249.452V43.5154H245.801V40.6818H249.778V39.7563H244.773V48Z",fill:"white"}}),e._v(" "),a("path",{attrs:{opacity:"0.3",d:"M107.399 17.3745C103.071 13.4067 97.5458 18.8781 101.18 23.0547",stroke:"#FF00F5","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("path",{attrs:{d:"M229.162 77.0844C226.678 76.4391 225.753 79.6327 225.299 81.4364C225.039 82.4955 224.714 83.5876 224 84.3984",stroke:"#00FFC2","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("path",{attrs:{d:"M103.555 82.1191C105.333 79.408 101.942 77.0254 99.9777 75.752C98.8197 75.0126 97.6617 74.191 97 72.9997",stroke:"#FFE600","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("path",{attrs:{d:"M228.334 20.7854C228.097 19.5881 227.386 18.4985 226.411 17.8124C225.437 17.1263 224.172 16.8573 223 17.0725",stroke:"#64E3FF","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("defs",[a("filter",{attrs:{id:"filter0_d_1061_678",x:"118.378",y:"31.6626",width:"88.1453",height:"39.9138",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"8.9808"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"2.9936"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.192851 0 0 0 0 0.0922663 0 0 0 0 0.512993 0 0 0 0.278409 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1061_678"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1061_678",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter1_d_1061_678",x:"209",y:"34.1777",width:"62",height:"35",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"8"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"3.5"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.0507051 0 0 0 0 0 0 0 0 0 0.470833 0 0 0 0.11 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1061_678"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1061_678",result:"shape"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint0_linear_1061_678",x1:"0",y1:"0",x2:"0",y2:"181",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#D0CAFD"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#7463FF"}})],1)],1)])]),e._v(" "),a("a",{staticClass:"already-updated",attrs:{target:"_blank",rel:"noopener noreferrer",href:"https://wedevs.com/docs/dokan/getting-started/installation-2/"}},[e._v(e._s(e.__("Already upgraded?","dokan-lite")))])]),e._v(" "),a("span",{staticClass:"close",on:{click:e.closePopup}},[a("svg",{attrs:{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M6.18849 5.00002L9.75385 1.43465C10.082 1.10645 10.082 0.574344 9.75385 0.246195C9.42566 -0.0820022 8.89359 -0.0820022 8.5654 0.246195L4.99998 3.81161L1.43457 0.246148C1.10637 -0.0820492 0.574308 -0.0820492 0.246112 0.246148C-0.0820373 0.574344 -0.0820373 1.10645 0.246112 1.4346L3.81153 4.99998L0.246112 8.5654C-0.0820373 8.89359 -0.0820373 9.4257 0.246112 9.75385C0.574308 10.082 1.10637 10.082 1.43457 9.75385L4.99998 6.18843L8.5654 9.75385C8.89355 10.082 9.42566 10.082 9.75385 9.75385C10.082 9.42566 10.082 8.89359 9.75385 8.5654L6.18849 5.00002Z",fill:"#95A5A6"}})])])])]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"lite-modules"}},[a("div",{staticClass:"dokan-modules-wrap"},[a("h1",[e._v(e._s(e.__("Modules","dokan-lite")))]),e._v(" "),a("div",{staticClass:"module-content"},[a("div",{staticClass:"wp-list-table widefat dokan-modules"},[e.modules.length>0?e._l(e.modules,function(t){return a("div",{staticClass:"plugin-card"},[a("div",{staticClass:"plugin-card-top"},[a("div",{staticClass:"name column-name"},[a("h3",[a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[e._v(e._s(t.name))]),e._v(" "),a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[a("img",{staticClass:"plugin-icon",attrs:{src:t.thumbnail,alt:t.name}})])])]),e._v(" "),a("div",{staticClass:"action-links"},[a("ul",{staticClass:"plugin-action-buttons"},[a("li",{on:{click:function(t){return e.togglePopup(!0)}}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"20"}},[a("rect",{attrs:{width:"42",height:"20",rx:"10",fill:"#c0c3c6"}}),a("circle",{attrs:{cx:"6",cy:"6",r:"6",transform:"translate(6 4)",fill:"#fff"}})])])])]),e._v(" "),a("div",{staticClass:"desc column-description"},[a("p",{domProps:{innerHTML:e._s(t.description)}})]),e._v(" "),a("div",{staticClass:"card-footer"},[a("a",{attrs:{href:t.docLink,target:"_blank"}},[e._v(e._s(e.__("Documentation","dokan-lite")))])])])])}):[a("div",{staticClass:"notice notice-info",attrs:{id:"message"}},[a("p",[a("strong",[e._v(e._s(e.__("No modules found.","dokan-lite")))])])])]],2)])]),e._v(" "),a("ModuleUpgradePopup",{attrs:{"show-popup":e.showPopup},on:{toggle:e.togglePopup}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(83),n=a(214),i=!1;var o=function(e){i||a(213)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ReverseWithdrawal.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-reverse-withdrawal"},[a("h1",{staticClass:"wp-heading-inline"},[e._v("\n "+e._s(e.__("Reverse Withdrawal","dokan-lite"))+"\n ")]),e._v(" "),a("AdminNotice"),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("div",{staticClass:"dokan-reverse-withdrawal-fact-card"},[a("CardFunFact",{attrs:{count:e.counts.credit,icon:"fas fa-comments-dollar",is_currency:"",title:e.__("Total Collected","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.balance,icon:"fas fa-coins",is_currency:"",title:e.__("Remaining Balance","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.total_transactions,icon:"fas fa-info",title:e.__("Total Transactions","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.total_vendors,icon:"fas fa-users",title:e.__("Total Vendors","dokan-lite")}})],1),e._v(" "),a("div",{attrs:{id:"dokan_reverse_withdrawal_list_table"}},[a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.transactionData,actions:e.actions,"show-cb":!1,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.getCurrentPage,"not-found":this.__("No transaction found.","dokan-lite"),"sort-by":e.getSortBy,"sort-order":e.getSortOrder},on:{sort:e.doSort,pagination:e.goToPage},scopedSlots:e._u([{key:"store_name",fn:function(t){return[a("strong",[a("a",{attrs:{href:"?page=dokan#/reverse-withdrawal/store/"+t.row.vendor_id}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"balance",fn:function(t){return[""===t.row.balance?a("div",[e._v("--")]):t.row.balance>=0?a("currency",{attrs:{amount:t.row.balance}}):t.row.balance<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.balance}}),e._v(" )\n ")],1):e._e()]}},{key:"last_payment_date",fn:function(t){return[e._v("\n "+e._s(t.row.last_payment_date)+"\n ")]}}])},[e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("span",{staticClass:"form-group"},[a("multiselect",{attrs:{placeholder:this.__("Filter by store","dokan-lite"),options:e.filter.stores,"track-by":"id",label:"name","internal-search":!1,"clear-on-select":!1,"allow-empty":!1,multiselect:!1,searchable:!0,showLabels:!1},on:{"search-change":e.fetchStoreLists},model:{value:e.filter.selected_store,callback:function(t){e.$set(e.filter,"selected_store",t)},expression:"filter.selected_store"}}),e._v(" "),e.filter.selected_store.id?a("button",{staticClass:"button",staticStyle:{"line-height":"0",padding:"0 5px","margin-right":"5px"},attrs:{type:"button"},on:{click:function(t){e.filter.selected_store=e.getDefaultStore()[0]}}},[a("i",{staticClass:"dashicons dashicons-no"})]):e._e()],1),e._v(" "),a("span",{staticClass:"form-group"},[a("date-range-picker",{ref:"picker",staticClass:"mr-5",attrs:{"locale-data":this.dateTimePickerFormat,singleDatePicker:!1,showDropdowns:!0,autoApply:!1,ranges:this.dateRangePickerRanges},scopedSlots:e._u([{key:"input",fn:function(t){return[e.filter.transaction_date.startDate?a("span",[e._v(e._s(e._f("getFormattedDate")(e.filter.transaction_date.startDate))+" - "+e._s(e._f("getFormattedDate")(e.filter.transaction_date.endDate)))]):e._e(),e._v(" "),e.filter.transaction_date.startDate?e._e():a("span",{staticClass:"date-range-placeholder"},[e._v(e._s(e.__("Filter by expire date","dokan-lite")))])]}},{key:"footer",fn:function(t){return a("div",{staticClass:"drp-buttons"},[a("span",{staticClass:"drp-selected"},[e._v(e._s(t.rangeText))]),e._v(" "),a("button",{staticClass:"cancelBtn btn btn-sm btn-secondary",attrs:{type:"button"},on:{click:function(t){return e.setDefaultTransactionDate()}}},[e._v(e._s(e.__("Cancel","dokan-lite")))]),e._v(" "),t.in_selection?e._e():a("button",{staticClass:"applyBtn btn btn-sm btn-success",attrs:{type:"button"},on:{click:t.clickApply}},[e._v(e._s(e.__("Apply","dokan-lite")))])])}}]),model:{value:e.filter.transaction_date,callback:function(t){e.$set(e.filter,"transaction_date",t)},expression:"filter.transaction_date"}})],1),e._v(" "),a("span",{staticClass:"form-group"},[a("button",{staticClass:"button action",on:{click:this.clearFilters}},[e._v(e._s(this.__("Clear","dokan-lite")))])])])],2)],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(84),n=a(217),i=!1;var o=function(e){i||a(216)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ReverseWithdrawalTransactions.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-reverse-withdrawal-transactions"},[a("h1",{staticClass:"wp-heading-inline"},[e._v("\n "+e._s(e.__("Reverse Withdrawal","dokan-lite"))+"\n "),a("a",{staticClass:"button",attrs:{href:this.reverseWithdrawalUrl()}},[e._v("← "+e._s(e.__("Go Back","dokan-lite")))])]),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("div",{staticClass:"dokan-reverse-withdrawal-fact-card"},[a("CardFunFact",{attrs:{icon:"fas fa-user",title:e.storeDetails.store_name?e.storeDetails.store_name:""}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.credit,icon:"fas fa-comments-dollar",is_currency:"",title:e.__("Total Collected","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.balance,icon:"fas fa-coins",is_currency:"",title:e.__("Remaining Balance","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.total_transactions,icon:"fas fa-info",title:e.__("Total Transactions","dokan-lite")}})],1),e._v(" "),a("div",{attrs:{id:"dokan_reverse_withdrawal_transactions_list_table"}},[a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.transactionData,actions:e.actions,"show-cb":!1,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.getCurrentPage,"not-found":this.__("No transaction found.","dokan-lite"),"sort-by":e.getSortBy,"sort-order":e.getSortOrder},on:{sort:e.doSort,pagination:e.goToPage},scopedSlots:e._u([{key:"trn_id",fn:function(t){return"--"!==t.row.trn_id?[a("a",{attrs:{href:t.row.trn_url,target:"_blank"}},[e._v(e._s(t.row.trn_id))])]:void 0}},{key:"trn_date",fn:function(t){return[e._v("\n "+e._s(t.row.trn_date)+"\n ")]}},{key:"trn_type",fn:function(t){return[e._v("\n "+e._s(t.row.trn_type)+"\n ")]}},{key:"note",fn:function(t){return[e._v("\n "+e._s(t.row.note)+"\n ")]}},{key:"debit",fn:function(t){return[""===t.row.debit?a("div",[e._v("--")]):t.row.debit>=0?a("currency",{attrs:{amount:t.row.debit}}):t.row.debit<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.debit}}),e._v(" )\n ")],1):e._e()]}},{key:"credit",fn:function(t){return[""===t.row.credit?a("div",[e._v("--")]):t.row.credit>=0?a("currency",{attrs:{amount:t.row.credit}}):t.row.credit<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.credit}}),e._v(" )\n ")],1):e._e()]}},{key:"balance",fn:function(t){return[""===t.row.balance?a("div",[e._v("--")]):t.row.balance>=0?a("currency",{attrs:{amount:t.row.balance}}):t.row.balance<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.balance}}),e._v(" )\n ")],1):e._e()]}}],null,!0)},[e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("span",{staticClass:"form-group"},[a("date-range-picker",{ref:"picker",staticClass:"mr-5",attrs:{"locale-data":this.dateTimePickerFormat,singleDatePicker:!1,timePicker:!1,timePicker24Hour:!1,showWeekNumbers:!1,showDropdowns:!0,autoApply:!1,ranges:this.dateRangePickerRanges,linkedCalendars:!0,opens:"right"},scopedSlots:e._u([{key:"input",fn:function(t){return[e.filter.transaction_date.startDate?a("span",[e._v(e._s(e._f("getFormattedDate")(e.filter.transaction_date.startDate))+" - "+e._s(e._f("getFormattedDate")(e.filter.transaction_date.endDate)))]):e._e(),e._v(" "),e.filter.transaction_date.startDate?e._e():a("span",{staticClass:"date-range-placeholder"},[e._v(e._s(e.__("Filter by expire date","dokan-lite")))])]}},{key:"footer",fn:function(t){return a("div",{staticClass:"drp-buttons"},[a("span",{staticClass:"drp-selected"},[e._v(e._s(t.rangeText))]),e._v(" "),a("button",{staticClass:"cancelBtn btn btn-sm btn-secondary",attrs:{type:"button"},on:{click:function(t){return e.setDefaultTransactionDate()}}},[e._v(e._s(e.__("Cancel","dokan-lite")))]),e._v(" "),t.in_selection?e._e():a("button",{staticClass:"applyBtn btn btn-sm btn-success",attrs:{type:"button"},on:{click:t.clickApply}},[e._v(e._s(e.__("Apply","dokan-lite")))])])}}]),model:{value:e.filter.transaction_date,callback:function(t){e.$set(e.filter,"transaction_date",t)},expression:"filter.transaction_date"}})],1),e._v(" "),a("span",{staticClass:"form-group"},[a("button",{staticClass:"button action",on:{click:this.clearFilters}},[e._v(e._s(this.__("Clear","dokan-lite")))])])])],2)],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";t.a=function(e){var t=jQuery,a=t("#toplevel_page_"+e),s=window.location.href,n=s.substr(s.indexOf("admin.php"));a.on("click","a",function(){var e=t(this);t("ul.wp-submenu li",a).removeClass("current"),e.hasClass("wp-has-submenu")?t("li.wp-first-item",a).addClass("current"):e.parents("li").addClass("current")}),t("ul.wp-submenu a",a).each(function(e,a){t(a).attr("href")!==n||t(a).parent().addClass("current")})}}],[124]);
assets/js/vue-vendor.js CHANGED
@@ -34,7 +34,7 @@
34
  /******/
35
  /******/ // objects to store loaded and loading chunks
36
  /******/ var installedChunks = {
37
- /******/ 7: 0
38
  /******/ };
39
  /******/
40
  /******/ // The require function
34
  /******/
35
  /******/ // objects to store loaded and loading chunks
36
  /******/ var installedChunks = {
37
+ /******/ 8: 0
38
  /******/ };
39
  /******/
40
  /******/ // The require function
assets/js/vue-vendor.min.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(t){var e=window.dokanWebpack;window.dokanWebpack=function(n,o,a){for(var s,c,l,u=0,d=[];u<n.length;u++)c=n[u],r[c]&&d.push(r[c][0]),r[c]=0;for(s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s]);for(e&&e(n,o,a);d.length;)d.shift()();if(a)for(u=0;u<a.length;u++)l=i(i.s=a[u]);return l};var n={},r={7:0};function i(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=t,i.c=n,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i.oe=function(t){throw console.error(t),t},i(i.s=266)}([function(t,e){t.exports=function(t,e,n,r,i,o){var a,s=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(a=t,s=t.default);var l,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId=i),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=r),l){var d=u.functional,p=d?u.render:u.beforeCreate;d?(u._injectStyles=l,u.render=function(t,e){return l.call(e),p(t,e)}):u.beforeCreate=p?[].concat(p,l):[l]}return{esModule:a,exports:s,options:u}}},,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,r){n.d(e,"EffectScope",function(){return Jn}),n.d(e,"computed",function(){return ke}),n.d(e,"customRef",function(){return pe}),n.d(e,"default",function(){return Pi}),n.d(e,"defineAsyncComponent",function(){return wr}),n.d(e,"defineComponent",function(){return Rr}),n.d(e,"del",function(){return Wt}),n.d(e,"effectScope",function(){return Zn}),n.d(e,"getCurrentInstance",function(){return vt}),n.d(e,"getCurrentScope",function(){return Qn}),n.d(e,"h",function(){return ir}),n.d(e,"inject",function(){return rr}),n.d(e,"isProxy",function(){return Qt}),n.d(e,"isReactive",function(){return Kt}),n.d(e,"isReadonly",function(){return Zt}),n.d(e,"isRef",function(){return ie}),n.d(e,"isShallow",function(){return Jt}),n.d(e,"markRaw",function(){return ee}),n.d(e,"mergeDefaults",function(){return dn}),n.d(e,"nextTick",function(){return yr}),n.d(e,"onActivated",function(){return $r}),n.d(e,"onBeforeMount",function(){return kr}),n.d(e,"onBeforeUnmount",function(){return Er}),n.d(e,"onBeforeUpdate",function(){return Cr}),n.d(e,"onDeactivated",function(){return Dr}),n.d(e,"onErrorCaptured",function(){return jr}),n.d(e,"onMounted",function(){return Sr}),n.d(e,"onRenderTracked",function(){return Ar}),n.d(e,"onRenderTriggered",function(){return Pr}),n.d(e,"onScopeDispose",function(){return tr}),n.d(e,"onServerPrefetch",function(){return Nr}),n.d(e,"onUnmounted",function(){return Tr}),n.d(e,"onUpdated",function(){return Or}),n.d(e,"provide",function(){return er}),n.d(e,"proxyRefs",function(){return ue}),n.d(e,"reactive",function(){return Yt}),n.d(e,"readonly",function(){return be}),n.d(e,"ref",function(){return oe}),n.d(e,"set",function(){return qt}),n.d(e,"shallowReactive",function(){return Gt}),n.d(e,"shallowReadonly",function(){return xe}),n.d(e,"shallowRef",function(){return ae}),n.d(e,"toRaw",function(){return te}),n.d(e,"toRef",function(){return he}),n.d(e,"toRefs",function(){return fe}),n.d(e,"triggerRef",function(){return ce}),n.d(e,"unref",function(){return le}),n.d(e,"useAttrs",function(){return cn}),n.d(e,"useCssModule",function(){return br}),n.d(e,"useCssVars",function(){return _r}),n.d(e,"useListeners",function(){return ln}),n.d(e,"useSlots",function(){return sn}),n.d(e,"version",function(){return Lr}),n.d(e,"watch",function(){return Xn}),n.d(e,"watchEffect",function(){return Bn}),n.d(e,"watchPostEffect",function(){return qn}),n.d(e,"watchSyncEffect",function(){return Wn});
2
  /*!
3
  * Vue.js v2.7.10
4
  * (c) 2014-2022 Evan You
1
+ !function(t){var e=window.dokanWebpack;window.dokanWebpack=function(n,o,a){for(var s,c,l,u=0,d=[];u<n.length;u++)c=n[u],r[c]&&d.push(r[c][0]),r[c]=0;for(s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s]);for(e&&e(n,o,a);d.length;)d.shift()();if(a)for(u=0;u<a.length;u++)l=i(i.s=a[u]);return l};var n={},r={8:0};function i(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=t,i.c=n,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i.oe=function(t){throw console.error(t),t},i(i.s=266)}([function(t,e){t.exports=function(t,e,n,r,i,o){var a,s=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(a=t,s=t.default);var l,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId=i),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=r),l){var d=u.functional,p=d?u.render:u.beforeCreate;d?(u._injectStyles=l,u.render=function(t,e){return l.call(e),p(t,e)}):u.beforeCreate=p?[].concat(p,l):[l]}return{esModule:a,exports:s,options:u}}},,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,r){n.d(e,"EffectScope",function(){return Jn}),n.d(e,"computed",function(){return ke}),n.d(e,"customRef",function(){return pe}),n.d(e,"default",function(){return Pi}),n.d(e,"defineAsyncComponent",function(){return wr}),n.d(e,"defineComponent",function(){return Rr}),n.d(e,"del",function(){return Wt}),n.d(e,"effectScope",function(){return Zn}),n.d(e,"getCurrentInstance",function(){return vt}),n.d(e,"getCurrentScope",function(){return Qn}),n.d(e,"h",function(){return ir}),n.d(e,"inject",function(){return rr}),n.d(e,"isProxy",function(){return Qt}),n.d(e,"isReactive",function(){return Kt}),n.d(e,"isReadonly",function(){return Zt}),n.d(e,"isRef",function(){return ie}),n.d(e,"isShallow",function(){return Jt}),n.d(e,"markRaw",function(){return ee}),n.d(e,"mergeDefaults",function(){return dn}),n.d(e,"nextTick",function(){return yr}),n.d(e,"onActivated",function(){return $r}),n.d(e,"onBeforeMount",function(){return kr}),n.d(e,"onBeforeUnmount",function(){return Er}),n.d(e,"onBeforeUpdate",function(){return Cr}),n.d(e,"onDeactivated",function(){return Dr}),n.d(e,"onErrorCaptured",function(){return jr}),n.d(e,"onMounted",function(){return Sr}),n.d(e,"onRenderTracked",function(){return Ar}),n.d(e,"onRenderTriggered",function(){return Pr}),n.d(e,"onScopeDispose",function(){return tr}),n.d(e,"onServerPrefetch",function(){return Nr}),n.d(e,"onUnmounted",function(){return Tr}),n.d(e,"onUpdated",function(){return Or}),n.d(e,"provide",function(){return er}),n.d(e,"proxyRefs",function(){return ue}),n.d(e,"reactive",function(){return Yt}),n.d(e,"readonly",function(){return be}),n.d(e,"ref",function(){return oe}),n.d(e,"set",function(){return qt}),n.d(e,"shallowReactive",function(){return Gt}),n.d(e,"shallowReadonly",function(){return xe}),n.d(e,"shallowRef",function(){return ae}),n.d(e,"toRaw",function(){return te}),n.d(e,"toRef",function(){return he}),n.d(e,"toRefs",function(){return fe}),n.d(e,"triggerRef",function(){return ce}),n.d(e,"unref",function(){return le}),n.d(e,"useAttrs",function(){return cn}),n.d(e,"useCssModule",function(){return br}),n.d(e,"useCssVars",function(){return _r}),n.d(e,"useListeners",function(){return ln}),n.d(e,"useSlots",function(){return sn}),n.d(e,"version",function(){return Lr}),n.d(e,"watch",function(){return Xn}),n.d(e,"watchEffect",function(){return Bn}),n.d(e,"watchPostEffect",function(){return qn}),n.d(e,"watchSyncEffect",function(){return Wn});
2
  /*!
3
  * Vue.js v2.7.10
4
  * (c) 2014-2022 Evan You
assets/vendors/jquery-ui/timepicker/timepicker.min.js CHANGED
@@ -1 +1,6 @@
 
 
 
 
 
1
  !function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function s(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function r(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?s(Object(i),!0).forEach((function(t){n(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function l(e,t){var i;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return a(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,o=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return l=e.done,e},e:function(e){o=!0,r=e},f:function(){try{l||null==i.return||i.return()}finally{if(o)throw r}}}}var o=86400,u=function(e,t){if(null===e)return null;if("number"!=typeof t.step)return e;var i,n=e%(60*t.step);return(n-=(null!==(i=t.minTime())&&void 0!==i?i:0)%(60*t.step))>=30*t.step?e+=60*t.step-n:e-=n,function(e,t){if(e==o&&t.show2400)return e;return e%o}(e,t)};var c,m={appendTo:"body",className:null,closeOnWindowScroll:!1,disableTextInput:!1,disableTimeRanges:[],disableTouchKeyboard:!1,durationTime:null,forceRoundTime:!1,lang:{},listWidth:null,maxTime:null,minTime:null,noneOption:!1,orientation:"l",roundingFunction:u,scrollDefault:null,selectOnBlur:!1,show2400:!1,showDuration:!1,showOn:["click","focus"],showOnFocus:!0,step:30,stopScrollPropagation:!1,timeFormat:"g:ia",typeaheadHighlight:!0,useSelect:!1,wrapHours:!0},p={am:"am",pm:"pm",AM:"AM",PM:"PM",decimal:".",mins:"mins",hr:"hr",hrs:"hrs"},f={bubbles:!0,cancelable:!1,detail:null},h=function(){function n(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,n),this._handleFormatValue=this._handleFormatValue.bind(this),this._handleKeyUp=this._handleKeyUp.bind(this),this.targetEl=e;var s=n.extractAttrOptions(e,Object.keys(m));this.settings=this.parseSettings(r(r(r({},m),i),s))}var s,a,u;return s=n,u=[{key:"extractAttrOptions",value:function(e,t){var i,n={},s=l(t);try{for(s.s();!(i=s.n()).done;){var r=i.value;r in e.dataset&&(n[r]=e.dataset[r])}}catch(e){s.e(e)}finally{s.f()}return n}},{key:"isVisible",value:function(e){var t=e[0];return t.offsetWidth>0&&t.offsetHeight>0}},{key:"hideAll",value:function(){var e,t=l(document.getElementsByClassName("ui-timepicker-input"));try{for(t.s();!(e=t.n()).done;){var i=e.value.timepickerObj;i&&i.hideMe()}}catch(e){t.e(e)}finally{t.f()}}}],(a=[{key:"hideMe",value:function(){if(this.settings.useSelect)this.targetEl.blur();else if(this.list&&n.isVisible(this.list)){this.settings.selectOnBlur&&this._selectValue(),this.list.hide();var e=new CustomEvent("hideTimepicker",f);this.targetEl.dispatchEvent(e)}}},{key:"_findRow",value:function(e){if(!e&&0!==e)return!1;var t=!1;return e=this.settings.roundingFunction(e,this.settings),!!this.list&&(this.list.find("li").each((function(i,n){var s=parseInt(n.dataset.time);if(!isNaN(s))return s==e?(t=n,!1):void 0})),t)}},{key:"_hideKeyboard",value:function(){return(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.settings.disableTouchKeyboard}},{key:"_setTimeValue",value:function(e,t){if("INPUT"===this.targetEl.nodeName){null===e&&""==this.targetEl.value||(this.targetEl.value=e);var i=this;i.settings.useSelect&&"select"!=t&&i.list&&i.list.val(i._roundAndFormatTime(i.anytime2int(e)))}var n=new CustomEvent("selectTime",f);if(this.selectedValue!=e){this.selectedValue=e;var s=new CustomEvent("changeTime",f),r=new CustomEvent("change",Object.assign(f,{detail:"timepicker"}));return"select"==t?(this.targetEl.dispatchEvent(n),this.targetEl.dispatchEvent(s),this.targetEl.dispatchEvent(r)):-1==["error","initial"].indexOf(t)&&this.targetEl.dispatchEvent(s),!0}return-1==["error","initial"].indexOf(t)&&this.targetEl.dispatchEvent(n),!1}},{key:"_getTimeValue",value:function(){return"INPUT"===this.targetEl.nodeName?this.targetEl.value:this.selectedValue}},{key:"_selectValue",value:function(){var e=this;e.settings;var t=e.list.find(".ui-timepicker-selected");if(t.hasClass("ui-timepicker-disabled"))return!1;if(!t.length)return!0;var i=t.get(0).dataset.time;if(i){var n=parseInt(i);isNaN(n)||(i=n)}return null!==i&&("string"!=typeof i&&(i=e._int2time(i)),e._setTimeValue(i,"select")),!0}},{key:"anytime2int",value:function(t){return"number"==typeof t?t:"string"==typeof t?this.time2int(t):"object"===e(t)&&t instanceof Date?3600*t.getHours()+60*t.getMinutes()+t.getSeconds():"function"==typeof t?t():null}},{key:"time2int",value:function(e){if(""===e||null==e)return null;if("now"===e)return this.anytime2int(new Date);if("string"!=typeof e)return e;"a"!=(e=e.toLowerCase().replace(/[\s\.]/g,"")).slice(-1)&&"p"!=e.slice(-1)||(e+="m");var t=/^(([^0-9]*))?([0-9]?[0-9])(([0-5][0-9]))?(([0-5][0-9]))?(([^0-9]*))$/;e.match(/\W/)&&(t=/^(([^0-9]*))?([0-9]?[0-9])(\W+([0-5][0-9]?))?(\W+([0-5][0-9]))?(([^0-9]*))$/);var i=e.match(t);if(!i)return null;var n=parseInt(1*i[3],10),s=i[2]||i[9],r=n,a=1*i[5]||0,l=1*i[7]||0;if(s||2!=i[3].length||"0"!=i[3][0]||(s="am"),n<=12&&s){var u=(s=s.trim())==this.settings.lang.pm||s==this.settings.lang.PM;r=12==n?u?12:0:n+(u?12:0)}else if(3600*n+60*a+l>=o+(this.settings.show2400?1:0)){if(!1===this.settings.wrapHours)return null;r=n%24}var c=3600*r+60*a+l;if(n<12&&!s&&this.settings._twelveHourTime&&this.settings.scrollDefault()){var m=c-this.settings.scrollDefault();m<0&&m>=-43200&&(c=(c+43200)%o)}return c}},{key:"intStringDateOrFunc2func",value:function(e){var t=this;return null==e?function(){return null}:"function"==typeof e?function(){return t.anytime2int(e())}:function(){return t.anytime2int(e)}}},{key:"parseSettings",value:function(e){if(e.lang=r(r({},p),e.lang),this.settings=e,e.listWidth&&(e.listWidth=this.anytime2int(e.listWidth)),e.minTime=this.intStringDateOrFunc2func(e.minTime),e.maxTime=this.intStringDateOrFunc2func(e.maxTime),e.durationTime=this.intStringDateOrFunc2func(e.durationTime),e.scrollDefault?e.scrollDefault=this.intStringDateOrFunc2func(e.scrollDefault):e.scrollDefault=e.minTime,"string"==typeof e.timeFormat&&e.timeFormat.match(/[gh]/)&&(e._twelveHourTime=!0),!1===e.showOnFocus&&-1!=e.showOn.indexOf("focus")&&e.showOn.splice(e.showOn.indexOf("focus"),1),e.disableTimeRanges||(e.disableTimeRanges=[]),e.disableTimeRanges.length>0){for(var t in e.disableTimeRanges)e.disableTimeRanges[t]=[this.anytime2int(e.disableTimeRanges[t][0]),this.anytime2int(e.disableTimeRanges[t][1])];for(e.disableTimeRanges=e.disableTimeRanges.sort((function(e,t){return e[0]-t[0]})),t=e.disableTimeRanges.length-1;t>0;t--)e.disableTimeRanges[t][0]<=e.disableTimeRanges[t-1][1]&&(e.disableTimeRanges[t-1]=[Math.min(e.disableTimeRanges[t][0],e.disableTimeRanges[t-1][0]),Math.max(e.disableTimeRanges[t][1],e.disableTimeRanges[t-1][1])],e.disableTimeRanges.splice(t,1))}return e}},{key:"_disableTextInputHandler",value:function(e){switch(e.keyCode){case 13:case 9:return;default:e.preventDefault()}}},{key:"_int2duration",value:function(e,t){e=Math.abs(e);var i,n,s=Math.round(e/60),r=[];return s<60?r=[s,this.settings.lang.mins]:(i=Math.floor(s/60),n=s%60,30==t&&30==n&&(i+=this.settings.lang.decimal+5),r.push(i),r.push(1==i?this.settings.lang.hr:this.settings.lang.hrs),30!=t&&n&&(r.push(n),r.push(this.settings.lang.mins))),r.join(" ")}},{key:"_roundAndFormatTime",value:function(e){if(null!==(e=this.settings.roundingFunction(e,this.settings)))return this._int2time(e)}},{key:"_int2time",value:function(e){if("number"!=typeof e)return null;var t=parseInt(e%60),i=parseInt(e/60%60),n=parseInt(e/3600%24),s=new Date(1970,0,2,n,i,t,0);if(isNaN(s.getTime()))return null;if("function"==typeof this.settings.timeFormat)return this.settings.timeFormat(s);for(var r,a,l="",u=0;u<this.settings.timeFormat.length;u++)switch(a=this.settings.timeFormat.charAt(u)){case"a":l+=s.getHours()>11?this.settings.lang.pm:this.settings.lang.am;break;case"A":l+=s.getHours()>11?this.settings.lang.PM:this.settings.lang.AM;break;case"g":l+=0==(r=s.getHours()%12)?"12":r;break;case"G":r=s.getHours(),e===o&&(r=this.settings.show2400?24:0),l+=r;break;case"h":0!=(r=s.getHours()%12)&&r<10&&(r="0"+r),l+=0===r?"12":r;break;case"H":r=s.getHours(),e===o&&(r=this.settings.show2400?24:0),l+=r>9?r:"0"+r;break;case"i":l+=(i=s.getMinutes())>9?i:"0"+i;break;case"s":l+=(t=s.getSeconds())>9?t:"0"+t;break;case"\\":u++,l+=this.settings.timeFormat.charAt(u);break;default:l+=a}return l}},{key:"_setSelected",value:function(){var e=this.list;e.find("li").removeClass("ui-timepicker-selected");var t=this.anytime2int(this._getTimeValue());if(null!==t){var i=this._findRow(t);if(i){var n=i.getBoundingClientRect(),s=e.get(0).getBoundingClientRect(),r=n.top-s.top;if(r+n.height>s.height||r<0){var a=e.scrollTop()+(n.top-s.top)-n.height;e.scrollTop(a)}var l=parseInt(i.dataset.time);(this.settings.forceRoundTime||l===t)&&i.classList.add("ui-timepicker-selected")}}}},{key:"_isFocused",value:function(e){return e===document.activeElement}},{key:"_handleFormatValue",value:function(e){e&&"timepicker"==e.detail||this._formatValue(e)}},{key:"_formatValue",value:function(e,t){if(""!==this.targetEl.value){if(!this._isFocused(this.targetEl)||e&&"change"==e.type){var i=this.settings,n=this.anytime2int(this.targetEl.value);if(null!==n){var s=!1;null!==i.minTime&&null!==i.maxTime&&(n<i.minTime()||n>i.maxTime())&&(s=!0);var r,a=l(i.disableTimeRanges);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(n>=o[0]&&n<o[1]){s=!0;break}}}catch(e){a.e(e)}finally{a.f()}if(i.forceRoundTime){var u=i.roundingFunction(n,i);u!=n&&(n=u,t=null)}var c=this._int2time(n);if(s){this._setTimeValue(c);var m=new CustomEvent("timeRangeError",f);this.targetEl.dispatchEvent(m)}else this._setTimeValue(c,t)}else{var p=new CustomEvent("timeFormatError",f);this.targetEl.dispatchEvent(p)}}}else this._setTimeValue(null,t)}},{key:"_generateNoneElement",value:function(t,i){var n,s,r,a;return"object"==e(t)?(n=t.label,s=t.className,r=t.value):"string"==typeof t?(n=t,r=""):$.error("Invalid noneOption value"),i?(a=document.createElement("option")).value=r:(a=document.createElement("li")).dataset.time=String(r),a.innerText=n,a.classList.add(s),a}},{key:"_handleKeyUp",value:function(e){var t=this;if(!this.list||!n.isVisible(this.list)||this.settings.disableTextInput)return!0;if("paste"!==e.type&&"cut"!==e.type)switch(e.keyCode){case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 77:case 80:case 186:case 8:case 46:this.settings.typeaheadHighlight?this._setSelected():this.list.hide()}else setTimeout((function(){t.settings.typeaheadHighlight?t._setSelected():t.list.hide()}),0)}}])&&i(s.prototype,a),u&&i(s,u),n}();!function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t||(t={}),t=Object.assign(f,t);var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}}(),c=function(t){var i={init:function(e){return this.each((function(){var s=t(this),a=new h(this,e),l=a.settings;if(l.lang,this.timepickerObj=a,s.addClass("ui-timepicker-input"),l.useSelect)n(s);else{if(s.prop("autocomplete","off"),l.showOn)for(var o in l.showOn)s.on(l.showOn[o]+".timepicker",i.show);s.on("change.timepicker",a._handleFormatValue),s.on("keydown.timepicker",r),s.on("keyup.timepicker",a._handleKeyUp),l.disableTextInput&&s.on("keydown.timepicker",a._disableTextInputHandler),s.on("cut.timepicker",a._handleKeyUp),s.on("paste.timepicker",a._handleKeyUp),a._formatValue(null,"initial")}}))},show:function(e){var i=t(this),r=i[0].timepickerObj,a=r.settings;if(e&&e.preventDefault(),a.useSelect)r.list.trigger("focus");else{r._hideKeyboard()&&i.trigger("blur");var l=r.list;if(!i.prop("readonly")&&(n(i),l=r.list,!h.isVisible(l))){i.is("input")&&(r.selectedValue=i.val()),r._setSelected(),h.hideAll(),"number"==typeof a.listWidth&&l.width(i.outerWidth()*a.listWidth),l.show();var o={};a.orientation.match(/r/)?o.left=i.offset().left+i.outerWidth()-l.outerWidth()+parseInt(l.css("marginLeft").replace("px",""),10):a.orientation.match(/l/)?o.left=i.offset().left+parseInt(l.css("marginLeft").replace("px",""),10):a.orientation.match(/c/)&&(o.left=i.offset().left+(i.outerWidth()-l.outerWidth())/2+parseInt(l.css("marginLeft").replace("px",""),10)),"t"==(a.orientation.match(/t/)?"t":a.orientation.match(/b/)?"b":i.offset().top+i.outerHeight(!0)+l.outerHeight()>t(window).height()+t(window).scrollTop()?"t":"b")?(l.addClass("ui-timepicker-positioned-top"),o.top=i.offset().top-l.outerHeight()+parseInt(l.css("marginTop").replace("px",""),10)):(l.removeClass("ui-timepicker-positioned-top"),o.top=i.offset().top+i.outerHeight()+parseInt(l.css("marginTop").replace("px",""),10)),l.offset(o);var u=l.find(".ui-timepicker-selected");if(!u.length){var c=r.anytime2int(r._getTimeValue());null!==c?u=t(r._findRow(c)):a.scrollDefault()&&(u=t(r._findRow(a.scrollDefault())))}if(u.length&&!u.hasClass("ui-timepicker-disabled")||(u=l.find("li:not(.ui-timepicker-disabled):first")),u&&u.length){var m=l.scrollTop()+u.position().top-u.outerHeight();l.scrollTop(m)}else l.scrollTop(0);return a.stopScrollPropagation&&t(document).on("wheel.ui-timepicker",".ui-timepicker-wrapper",(function(e){e.preventDefault();var i=t(this).scrollTop();t(this).scrollTop(i+e.originalEvent.deltaY)})),t(document).on("mousedown.ui-timepicker",s),window.addEventListener("resize",s),a.closeOnWindowScroll&&t(document).on("scroll.ui-timepicker",s),i.trigger("showTimepicker"),this}}},hide:function(e){var t=this[0].timepickerObj;return t&&t.hideMe(),h.hideAll(),this},option:function(i,s){return"string"==typeof i&&void 0===s?this[0].timepickerObj.settings[i]:this.each((function(){var r=t(this),a=r[0].timepickerObj,l=a.settings,o=a.list;"object"==e(i)?l=t.extend(l,i):"string"==typeof i&&(l[i]=s),l=a.parseSettings(l),a.settings=l,a._formatValue({type:"change"},"initial"),o&&(o.remove(),a.list=null),l.useSelect&&n(r)}))},getSecondsFromMidnight:function(){var e=this[0].timepickerObj;return e.anytime2int(e._getTimeValue())},getTime:function(e){var t=this[0].timepickerObj,i=t._getTimeValue();if(!i)return null;var n=t.anytime2int(i);if(null===n)return null;e||(e=new Date);var s=new Date(e);return s.setHours(n/3600),s.setMinutes(n%3600/60),s.setSeconds(n%60),s.setMilliseconds(0),s},isVisible:function(){var e=this[0].timepickerObj;return!!(e&&e.list&&h.isVisible(e.list))},setTime:function(e){var t=this[0].timepickerObj,i=t.settings;if(i.forceRoundTime)var n=t._roundAndFormatTime(t.anytime2int(e));else n=t._int2time(t.anytime2int(e));return e&&null===n&&i.noneOption&&(n=e),t._setTimeValue(n,"initial"),t._formatValue({type:"change"},"initial"),t&&t.list&&t._setSelected(),this},remove:function(){var e=this;if(e.hasClass("ui-timepicker-input")){var t=e[0].timepickerObj,i=t.settings;return e.removeAttr("autocomplete","off"),e.removeClass("ui-timepicker-input"),e.removeData("timepicker-obj"),e.off(".timepicker"),t.list&&t.list.remove(),i.useSelect&&e.show(),t.list=null,this}}};function n(e){var n,s,r,a=e[0].timepickerObj,l=a.list,c=a.settings;if(l&&l.length&&(l.remove(),a.list=null),c.useSelect){l=t("<select></select>",{class:"ui-timepicker-select"}),e.attr("name")&&l.attr("name","ui-timepicker-"+e.attr("name"));var m=l}else l=t("<ul></ul>",{class:"ui-timepicker-list"}),(m=t("<div></div>",{class:"ui-timepicker-wrapper",tabindex:-1})).css({display:"none",position:"absolute"}).append(l);if(c.noneOption)if(!0===c.noneOption&&(c.noneOption=c.useSelect?"Time...":"None"),t.isArray(c.noneOption)){for(var p in c.noneOption)if(parseInt(p,10)==p){var f=a._generateNoneElement(c.noneOption[p],c.useSelect);l.append(f)}}else f=a._generateNoneElement(c.noneOption,c.useSelect),l.append(f);c.className&&m.addClass(c.className),null===c.minTime&&null===c.durationTime||!c.showDuration||("function"==typeof c.step||c.step,m.addClass("ui-timepicker-with-duration"),m.addClass("ui-timepicker-step-"+c.step));var h=null!==(n=c.durationTime())&&void 0!==n?n:c.minTime(),d=null!==(s=c.minTime())&&void 0!==s?s:0,g=null!==(r=c.maxTime())&&void 0!==r?r:d+o-1;g<d&&(g+=o),86399===g&&"string"===t.type(c.timeFormat)&&c.show2400&&(g=o);var v=c.disableTimeRanges,y=0,b=v.length,k=c.step;"function"!=typeof k&&(k=function(){return c.step}),p=d;for(var T=0;p<=g;p+=60*k(++T)){var w,O=p,_=a._int2time(O);if(c.useSelect?(w=t("<option></option>",{value:_})).text(_):((w=t("<li></li>")).addClass(O%o<43200?"ui-timepicker-am":"ui-timepicker-pm"),w.attr("data-time",u(O,c)),w.text(_)),(null!==c.minTime()||null!==c.durationTime())&&c.showDuration){var E=a._int2duration(p-h,c.step);if(c.useSelect)w.text(w.text()+" ("+E+")");else{var S=t("<span></span>",{class:"ui-timepicker-duration"});S.text(" ("+E+")"),w.append(S)}}y<b&&(O>=v[y][1]&&(y+=1),v[y]&&O>=v[y][0]&&O<v[y][1]&&(c.useSelect?w.prop("disabled",!0):w.addClass("ui-timepicker-disabled"))),l.append(w)}if(m.data("timepicker-input",e),a.list=m,c.useSelect)e.val()&&l.val(a._roundAndFormatTime(a.anytime2int(e.val()))),l.on("focus",(function(){t(this).data("timepicker-input").trigger("showTimepicker")})),l.on("blur",(function(){t(this).data("timepicker-input").trigger("hideTimepicker")})),l.on("change",(function(){a._setTimeValue(t(this).val(),"select")})),a._setTimeValue(l.val(),"initial"),e.hide().after(l);else{var j=c.appendTo;"string"==typeof j?j=t(j):"function"==typeof j&&(j=j(e)),j.append(m),a._setSelected(),l.on("mousedown click","li",(function(n){e.off("focus.timepicker"),e.on("focus.timepicker-ie-hack",(function(){e.off("focus.timepicker-ie-hack"),e.on("focus.timepicker",i.show)})),a._hideKeyboard()||e[0].focus(),l.find("li").removeClass("ui-timepicker-selected"),t(this).addClass("ui-timepicker-selected"),a._selectValue()&&(e.trigger("hideTimepicker"),l.on("mouseup.timepicker click.timepicker","li",(function(e){l.off("mouseup.timepicker click.timepicker"),m.hide()})))}))}}function s(e){if("focus"!=e.type||e.target!=window){var i=t(e.target);i.closest(".ui-timepicker-input").length||i.closest(".ui-timepicker-wrapper").length||(h.hideAll(),t(document).unbind(".ui-timepicker"),t(window).unbind(".ui-timepicker"))}}function r(e){var n=t(this),s=n[0].timepickerObj,r=s.list;if(!r||!h.isVisible(r)){if(40!=e.keyCode)return!0;i.show.call(n.get(0)),r=s.list,s._hideKeyboard()||n.trigger("focus")}switch(e.keyCode){case 13:return s._selectValue()&&(s._formatValue({type:"change"}),s.hideMe()),e.preventDefault(),!1;case 38:var a=r.find(".ui-timepicker-selected");return a.length?a.is(":first-child")||(a.removeClass("ui-timepicker-selected"),a.prev().addClass("ui-timepicker-selected"),a.prev().position().top<a.outerHeight()&&r.scrollTop(r.scrollTop()-a.outerHeight())):(r.find("li").each((function(e,i){if(t(i).position().top>0)return a=t(i),!1})),a.addClass("ui-timepicker-selected")),!1;case 40:return 0===(a=r.find(".ui-timepicker-selected")).length?(r.find("li").each((function(e,i){if(t(i).position().top>0)return a=t(i),!1})),a.addClass("ui-timepicker-selected")):a.is(":last-child")||(a.removeClass("ui-timepicker-selected"),a.next().addClass("ui-timepicker-selected"),a.next().position().top+2*a.outerHeight()>r.outerHeight()&&r.scrollTop(r.scrollTop()+a.outerHeight())),!1;case 27:r.find("li").removeClass("ui-timepicker-selected"),s.hideMe();break;case 9:s.hideMe();break;default:return!0}}t.fn.timepicker=function(n){return this.length?i[n]?this.hasClass("ui-timepicker-input")?i[n].apply(this,Array.prototype.slice.call(arguments,1)):this:"object"!==e(n)&&n?void t.error("Method "+n+" does not exist on jQuery.timepicker"):i.init.apply(this,arguments):this},t.fn.timepicker.defaults=m},"object"===("undefined"==typeof exports?"undefined":e(exports))&&exports&&"object"===("undefined"==typeof module?"undefined":e(module))&&module&&module.exports===exports?c(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],c):c(jQuery)}();
1
+ /*!
2
+ * jquery-timepicker v1.13.18 - A jQuery timepicker plugin inspired by Google Calendar. It supports both mouse and keyboard navigation.
3
+ * Copyright (c) 2017 Jon Thornton - https://github.com/jonthornton/jquery-timepicker
4
+ * License: MIT
5
+ */
6
  !function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function s(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function r(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?s(Object(i),!0).forEach((function(t){n(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function l(e,t){var i;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return a(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,o=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return l=e.done,e},e:function(e){o=!0,r=e},f:function(){try{l||null==i.return||i.return()}finally{if(o)throw r}}}}var o=86400,u=function(e,t){if(null===e)return null;if("number"!=typeof t.step)return e;var i,n=e%(60*t.step);return(n-=(null!==(i=t.minTime())&&void 0!==i?i:0)%(60*t.step))>=30*t.step?e+=60*t.step-n:e-=n,function(e,t){if(e==o&&t.show2400)return e;return e%o}(e,t)};var c,m={appendTo:"body",className:null,closeOnWindowScroll:!1,disableTextInput:!1,disableTimeRanges:[],disableTouchKeyboard:!1,durationTime:null,forceRoundTime:!1,lang:{},listWidth:null,maxTime:null,minTime:null,noneOption:!1,orientation:"l",roundingFunction:u,scrollDefault:null,selectOnBlur:!1,show2400:!1,showDuration:!1,showOn:["click","focus"],showOnFocus:!0,step:30,stopScrollPropagation:!1,timeFormat:"g:ia",typeaheadHighlight:!0,useSelect:!1,wrapHours:!0},p={am:"am",pm:"pm",AM:"AM",PM:"PM",decimal:".",mins:"mins",hr:"hr",hrs:"hrs"},f={bubbles:!0,cancelable:!1,detail:null},h=function(){function n(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,n),this._handleFormatValue=this._handleFormatValue.bind(this),this._handleKeyUp=this._handleKeyUp.bind(this),this.targetEl=e;var s=n.extractAttrOptions(e,Object.keys(m));this.settings=this.parseSettings(r(r(r({},m),i),s))}var s,a,u;return s=n,u=[{key:"extractAttrOptions",value:function(e,t){var i,n={},s=l(t);try{for(s.s();!(i=s.n()).done;){var r=i.value;r in e.dataset&&(n[r]=e.dataset[r])}}catch(e){s.e(e)}finally{s.f()}return n}},{key:"isVisible",value:function(e){var t=e[0];return t.offsetWidth>0&&t.offsetHeight>0}},{key:"hideAll",value:function(){var e,t=l(document.getElementsByClassName("ui-timepicker-input"));try{for(t.s();!(e=t.n()).done;){var i=e.value.timepickerObj;i&&i.hideMe()}}catch(e){t.e(e)}finally{t.f()}}}],(a=[{key:"hideMe",value:function(){if(this.settings.useSelect)this.targetEl.blur();else if(this.list&&n.isVisible(this.list)){this.settings.selectOnBlur&&this._selectValue(),this.list.hide();var e=new CustomEvent("hideTimepicker",f);this.targetEl.dispatchEvent(e)}}},{key:"_findRow",value:function(e){if(!e&&0!==e)return!1;var t=!1;return e=this.settings.roundingFunction(e,this.settings),!!this.list&&(this.list.find("li").each((function(i,n){var s=parseInt(n.dataset.time);if(!isNaN(s))return s==e?(t=n,!1):void 0})),t)}},{key:"_hideKeyboard",value:function(){return(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.settings.disableTouchKeyboard}},{key:"_setTimeValue",value:function(e,t){if("INPUT"===this.targetEl.nodeName){null===e&&""==this.targetEl.value||(this.targetEl.value=e);var i=this;i.settings.useSelect&&"select"!=t&&i.list&&i.list.val(i._roundAndFormatTime(i.anytime2int(e)))}var n=new CustomEvent("selectTime",f);if(this.selectedValue!=e){this.selectedValue=e;var s=new CustomEvent("changeTime",f),r=new CustomEvent("change",Object.assign(f,{detail:"timepicker"}));return"select"==t?(this.targetEl.dispatchEvent(n),this.targetEl.dispatchEvent(s),this.targetEl.dispatchEvent(r)):-1==["error","initial"].indexOf(t)&&this.targetEl.dispatchEvent(s),!0}return-1==["error","initial"].indexOf(t)&&this.targetEl.dispatchEvent(n),!1}},{key:"_getTimeValue",value:function(){return"INPUT"===this.targetEl.nodeName?this.targetEl.value:this.selectedValue}},{key:"_selectValue",value:function(){var e=this;e.settings;var t=e.list.find(".ui-timepicker-selected");if(t.hasClass("ui-timepicker-disabled"))return!1;if(!t.length)return!0;var i=t.get(0).dataset.time;if(i){var n=parseInt(i);isNaN(n)||(i=n)}return null!==i&&("string"!=typeof i&&(i=e._int2time(i)),e._setTimeValue(i,"select")),!0}},{key:"anytime2int",value:function(t){return"number"==typeof t?t:"string"==typeof t?this.time2int(t):"object"===e(t)&&t instanceof Date?3600*t.getHours()+60*t.getMinutes()+t.getSeconds():"function"==typeof t?t():null}},{key:"time2int",value:function(e){if(""===e||null==e)return null;if("now"===e)return this.anytime2int(new Date);if("string"!=typeof e)return e;"a"!=(e=e.toLowerCase().replace(/[\s\.]/g,"")).slice(-1)&&"p"!=e.slice(-1)||(e+="m");var t=/^(([^0-9]*))?([0-9]?[0-9])(([0-5][0-9]))?(([0-5][0-9]))?(([^0-9]*))$/;e.match(/\W/)&&(t=/^(([^0-9]*))?([0-9]?[0-9])(\W+([0-5][0-9]?))?(\W+([0-5][0-9]))?(([^0-9]*))$/);var i=e.match(t);if(!i)return null;var n=parseInt(1*i[3],10),s=i[2]||i[9],r=n,a=1*i[5]||0,l=1*i[7]||0;if(s||2!=i[3].length||"0"!=i[3][0]||(s="am"),n<=12&&s){var u=(s=s.trim())==this.settings.lang.pm||s==this.settings.lang.PM;r=12==n?u?12:0:n+(u?12:0)}else if(3600*n+60*a+l>=o+(this.settings.show2400?1:0)){if(!1===this.settings.wrapHours)return null;r=n%24}var c=3600*r+60*a+l;if(n<12&&!s&&this.settings._twelveHourTime&&this.settings.scrollDefault()){var m=c-this.settings.scrollDefault();m<0&&m>=-43200&&(c=(c+43200)%o)}return c}},{key:"intStringDateOrFunc2func",value:function(e){var t=this;return null==e?function(){return null}:"function"==typeof e?function(){return t.anytime2int(e())}:function(){return t.anytime2int(e)}}},{key:"parseSettings",value:function(e){if(e.lang=r(r({},p),e.lang),this.settings=e,e.listWidth&&(e.listWidth=this.anytime2int(e.listWidth)),e.minTime=this.intStringDateOrFunc2func(e.minTime),e.maxTime=this.intStringDateOrFunc2func(e.maxTime),e.durationTime=this.intStringDateOrFunc2func(e.durationTime),e.scrollDefault?e.scrollDefault=this.intStringDateOrFunc2func(e.scrollDefault):e.scrollDefault=e.minTime,"string"==typeof e.timeFormat&&e.timeFormat.match(/[gh]/)&&(e._twelveHourTime=!0),!1===e.showOnFocus&&-1!=e.showOn.indexOf("focus")&&e.showOn.splice(e.showOn.indexOf("focus"),1),e.disableTimeRanges||(e.disableTimeRanges=[]),e.disableTimeRanges.length>0){for(var t in e.disableTimeRanges)e.disableTimeRanges[t]=[this.anytime2int(e.disableTimeRanges[t][0]),this.anytime2int(e.disableTimeRanges[t][1])];for(e.disableTimeRanges=e.disableTimeRanges.sort((function(e,t){return e[0]-t[0]})),t=e.disableTimeRanges.length-1;t>0;t--)e.disableTimeRanges[t][0]<=e.disableTimeRanges[t-1][1]&&(e.disableTimeRanges[t-1]=[Math.min(e.disableTimeRanges[t][0],e.disableTimeRanges[t-1][0]),Math.max(e.disableTimeRanges[t][1],e.disableTimeRanges[t-1][1])],e.disableTimeRanges.splice(t,1))}return e}},{key:"_disableTextInputHandler",value:function(e){switch(e.keyCode){case 13:case 9:return;default:e.preventDefault()}}},{key:"_int2duration",value:function(e,t){e=Math.abs(e);var i,n,s=Math.round(e/60),r=[];return s<60?r=[s,this.settings.lang.mins]:(i=Math.floor(s/60),n=s%60,30==t&&30==n&&(i+=this.settings.lang.decimal+5),r.push(i),r.push(1==i?this.settings.lang.hr:this.settings.lang.hrs),30!=t&&n&&(r.push(n),r.push(this.settings.lang.mins))),r.join(" ")}},{key:"_roundAndFormatTime",value:function(e){if(null!==(e=this.settings.roundingFunction(e,this.settings)))return this._int2time(e)}},{key:"_int2time",value:function(e){if("number"!=typeof e)return null;var t=parseInt(e%60),i=parseInt(e/60%60),n=parseInt(e/3600%24),s=new Date(1970,0,2,n,i,t,0);if(isNaN(s.getTime()))return null;if("function"==typeof this.settings.timeFormat)return this.settings.timeFormat(s);for(var r,a,l="",u=0;u<this.settings.timeFormat.length;u++)switch(a=this.settings.timeFormat.charAt(u)){case"a":l+=s.getHours()>11?this.settings.lang.pm:this.settings.lang.am;break;case"A":l+=s.getHours()>11?this.settings.lang.PM:this.settings.lang.AM;break;case"g":l+=0==(r=s.getHours()%12)?"12":r;break;case"G":r=s.getHours(),e===o&&(r=this.settings.show2400?24:0),l+=r;break;case"h":0!=(r=s.getHours()%12)&&r<10&&(r="0"+r),l+=0===r?"12":r;break;case"H":r=s.getHours(),e===o&&(r=this.settings.show2400?24:0),l+=r>9?r:"0"+r;break;case"i":l+=(i=s.getMinutes())>9?i:"0"+i;break;case"s":l+=(t=s.getSeconds())>9?t:"0"+t;break;case"\\":u++,l+=this.settings.timeFormat.charAt(u);break;default:l+=a}return l}},{key:"_setSelected",value:function(){var e=this.list;e.find("li").removeClass("ui-timepicker-selected");var t=this.anytime2int(this._getTimeValue());if(null!==t){var i=this._findRow(t);if(i){var n=i.getBoundingClientRect(),s=e.get(0).getBoundingClientRect(),r=n.top-s.top;if(r+n.height>s.height||r<0){var a=e.scrollTop()+(n.top-s.top)-n.height;e.scrollTop(a)}var l=parseInt(i.dataset.time);(this.settings.forceRoundTime||l===t)&&i.classList.add("ui-timepicker-selected")}}}},{key:"_isFocused",value:function(e){return e===document.activeElement}},{key:"_handleFormatValue",value:function(e){e&&"timepicker"==e.detail||this._formatValue(e)}},{key:"_formatValue",value:function(e,t){if(""!==this.targetEl.value){if(!this._isFocused(this.targetEl)||e&&"change"==e.type){var i=this.settings,n=this.anytime2int(this.targetEl.value);if(null!==n){var s=!1;null!==i.minTime&&null!==i.maxTime&&(n<i.minTime()||n>i.maxTime())&&(s=!0);var r,a=l(i.disableTimeRanges);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(n>=o[0]&&n<o[1]){s=!0;break}}}catch(e){a.e(e)}finally{a.f()}if(i.forceRoundTime){var u=i.roundingFunction(n,i);u!=n&&(n=u,t=null)}var c=this._int2time(n);if(s){this._setTimeValue(c);var m=new CustomEvent("timeRangeError",f);this.targetEl.dispatchEvent(m)}else this._setTimeValue(c,t)}else{var p=new CustomEvent("timeFormatError",f);this.targetEl.dispatchEvent(p)}}}else this._setTimeValue(null,t)}},{key:"_generateNoneElement",value:function(t,i){var n,s,r,a;return"object"==e(t)?(n=t.label,s=t.className,r=t.value):"string"==typeof t?(n=t,r=""):$.error("Invalid noneOption value"),i?(a=document.createElement("option")).value=r:(a=document.createElement("li")).dataset.time=String(r),a.innerText=n,a.classList.add(s),a}},{key:"_handleKeyUp",value:function(e){var t=this;if(!this.list||!n.isVisible(this.list)||this.settings.disableTextInput)return!0;if("paste"!==e.type&&"cut"!==e.type)switch(e.keyCode){case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 77:case 80:case 186:case 8:case 46:this.settings.typeaheadHighlight?this._setSelected():this.list.hide()}else setTimeout((function(){t.settings.typeaheadHighlight?t._setSelected():t.list.hide()}),0)}}])&&i(s.prototype,a),u&&i(s,u),n}();!function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t||(t={}),t=Object.assign(f,t);var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}}(),c=function(t){var i={init:function(e){return this.each((function(){var s=t(this),a=new h(this,e),l=a.settings;if(l.lang,this.timepickerObj=a,s.addClass("ui-timepicker-input"),l.useSelect)n(s);else{if(s.prop("autocomplete","off"),l.showOn)for(var o in l.showOn)s.on(l.showOn[o]+".timepicker",i.show);s.on("change.timepicker",a._handleFormatValue),s.on("keydown.timepicker",r),s.on("keyup.timepicker",a._handleKeyUp),l.disableTextInput&&s.on("keydown.timepicker",a._disableTextInputHandler),s.on("cut.timepicker",a._handleKeyUp),s.on("paste.timepicker",a._handleKeyUp),a._formatValue(null,"initial")}}))},show:function(e){var i=t(this),r=i[0].timepickerObj,a=r.settings;if(e&&e.preventDefault(),a.useSelect)r.list.trigger("focus");else{r._hideKeyboard()&&i.trigger("blur");var l=r.list;if(!i.prop("readonly")&&(n(i),l=r.list,!h.isVisible(l))){i.is("input")&&(r.selectedValue=i.val()),r._setSelected(),h.hideAll(),"number"==typeof a.listWidth&&l.width(i.outerWidth()*a.listWidth),l.show();var o={};a.orientation.match(/r/)?o.left=i.offset().left+i.outerWidth()-l.outerWidth()+parseInt(l.css("marginLeft").replace("px",""),10):a.orientation.match(/l/)?o.left=i.offset().left+parseInt(l.css("marginLeft").replace("px",""),10):a.orientation.match(/c/)&&(o.left=i.offset().left+(i.outerWidth()-l.outerWidth())/2+parseInt(l.css("marginLeft").replace("px",""),10)),"t"==(a.orientation.match(/t/)?"t":a.orientation.match(/b/)?"b":i.offset().top+i.outerHeight(!0)+l.outerHeight()>t(window).height()+t(window).scrollTop()?"t":"b")?(l.addClass("ui-timepicker-positioned-top"),o.top=i.offset().top-l.outerHeight()+parseInt(l.css("marginTop").replace("px",""),10)):(l.removeClass("ui-timepicker-positioned-top"),o.top=i.offset().top+i.outerHeight()+parseInt(l.css("marginTop").replace("px",""),10)),l.offset(o);var u=l.find(".ui-timepicker-selected");if(!u.length){var c=r.anytime2int(r._getTimeValue());null!==c?u=t(r._findRow(c)):a.scrollDefault()&&(u=t(r._findRow(a.scrollDefault())))}if(u.length&&!u.hasClass("ui-timepicker-disabled")||(u=l.find("li:not(.ui-timepicker-disabled):first")),u&&u.length){var m=l.scrollTop()+u.position().top-u.outerHeight();l.scrollTop(m)}else l.scrollTop(0);return a.stopScrollPropagation&&t(document).on("wheel.ui-timepicker",".ui-timepicker-wrapper",(function(e){e.preventDefault();var i=t(this).scrollTop();t(this).scrollTop(i+e.originalEvent.deltaY)})),t(document).on("mousedown.ui-timepicker",s),window.addEventListener("resize",s),a.closeOnWindowScroll&&t(document).on("scroll.ui-timepicker",s),i.trigger("showTimepicker"),this}}},hide:function(e){var t=this[0].timepickerObj;return t&&t.hideMe(),h.hideAll(),this},option:function(i,s){return"string"==typeof i&&void 0===s?this[0].timepickerObj.settings[i]:this.each((function(){var r=t(this),a=r[0].timepickerObj,l=a.settings,o=a.list;"object"==e(i)?l=t.extend(l,i):"string"==typeof i&&(l[i]=s),l=a.parseSettings(l),a.settings=l,a._formatValue({type:"change"},"initial"),o&&(o.remove(),a.list=null),l.useSelect&&n(r)}))},getSecondsFromMidnight:function(){var e=this[0].timepickerObj;return e.anytime2int(e._getTimeValue())},getTime:function(e){var t=this[0].timepickerObj,i=t._getTimeValue();if(!i)return null;var n=t.anytime2int(i);if(null===n)return null;e||(e=new Date);var s=new Date(e);return s.setHours(n/3600),s.setMinutes(n%3600/60),s.setSeconds(n%60),s.setMilliseconds(0),s},isVisible:function(){var e=this[0].timepickerObj;return!!(e&&e.list&&h.isVisible(e.list))},setTime:function(e){var t=this[0].timepickerObj,i=t.settings;if(i.forceRoundTime)var n=t._roundAndFormatTime(t.anytime2int(e));else n=t._int2time(t.anytime2int(e));return e&&null===n&&i.noneOption&&(n=e),t._setTimeValue(n,"initial"),t._formatValue({type:"change"},"initial"),t&&t.list&&t._setSelected(),this},remove:function(){var e=this;if(e.hasClass("ui-timepicker-input")){var t=e[0].timepickerObj,i=t.settings;return e.removeAttr("autocomplete","off"),e.removeClass("ui-timepicker-input"),e.removeData("timepicker-obj"),e.off(".timepicker"),t.list&&t.list.remove(),i.useSelect&&e.show(),t.list=null,this}}};function n(e){var n,s,r,a=e[0].timepickerObj,l=a.list,c=a.settings;if(l&&l.length&&(l.remove(),a.list=null),c.useSelect){l=t("<select></select>",{class:"ui-timepicker-select"}),e.attr("name")&&l.attr("name","ui-timepicker-"+e.attr("name"));var m=l}else l=t("<ul></ul>",{class:"ui-timepicker-list"}),(m=t("<div></div>",{class:"ui-timepicker-wrapper",tabindex:-1})).css({display:"none",position:"absolute"}).append(l);if(c.noneOption)if(!0===c.noneOption&&(c.noneOption=c.useSelect?"Time...":"None"),t.isArray(c.noneOption)){for(var p in c.noneOption)if(parseInt(p,10)==p){var f=a._generateNoneElement(c.noneOption[p],c.useSelect);l.append(f)}}else f=a._generateNoneElement(c.noneOption,c.useSelect),l.append(f);c.className&&m.addClass(c.className),null===c.minTime&&null===c.durationTime||!c.showDuration||("function"==typeof c.step||c.step,m.addClass("ui-timepicker-with-duration"),m.addClass("ui-timepicker-step-"+c.step));var h=null!==(n=c.durationTime())&&void 0!==n?n:c.minTime(),d=null!==(s=c.minTime())&&void 0!==s?s:0,g=null!==(r=c.maxTime())&&void 0!==r?r:d+o-1;g<d&&(g+=o),86399===g&&"string"===t.type(c.timeFormat)&&c.show2400&&(g=o);var v=c.disableTimeRanges,y=0,b=v.length,k=c.step;"function"!=typeof k&&(k=function(){return c.step}),p=d;for(var T=0;p<=g;p+=60*k(++T)){var w,O=p,_=a._int2time(O);if(c.useSelect?(w=t("<option></option>",{value:_})).text(_):((w=t("<li></li>")).addClass(O%o<43200?"ui-timepicker-am":"ui-timepicker-pm"),w.attr("data-time",u(O,c)),w.text(_)),(null!==c.minTime()||null!==c.durationTime())&&c.showDuration){var E=a._int2duration(p-h,c.step);if(c.useSelect)w.text(w.text()+" ("+E+")");else{var S=t("<span></span>",{class:"ui-timepicker-duration"});S.text(" ("+E+")"),w.append(S)}}y<b&&(O>=v[y][1]&&(y+=1),v[y]&&O>=v[y][0]&&O<v[y][1]&&(c.useSelect?w.prop("disabled",!0):w.addClass("ui-timepicker-disabled"))),l.append(w)}if(m.data("timepicker-input",e),a.list=m,c.useSelect)e.val()&&l.val(a._roundAndFormatTime(a.anytime2int(e.val()))),l.on("focus",(function(){t(this).data("timepicker-input").trigger("showTimepicker")})),l.on("blur",(function(){t(this).data("timepicker-input").trigger("hideTimepicker")})),l.on("change",(function(){a._setTimeValue(t(this).val(),"select")})),a._setTimeValue(l.val(),"initial"),e.hide().after(l);else{var j=c.appendTo;"string"==typeof j?j=t(j):"function"==typeof j&&(j=j(e)),j.append(m),a._setSelected(),l.on("mousedown click","li",(function(n){e.off("focus.timepicker"),e.on("focus.timepicker-ie-hack",(function(){e.off("focus.timepicker-ie-hack"),e.on("focus.timepicker",i.show)})),a._hideKeyboard()||e[0].focus(),l.find("li").removeClass("ui-timepicker-selected"),t(this).addClass("ui-timepicker-selected"),a._selectValue()&&(e.trigger("hideTimepicker"),l.on("mouseup.timepicker click.timepicker","li",(function(e){l.off("mouseup.timepicker click.timepicker"),m.hide()})))}))}}function s(e){if("focus"!=e.type||e.target!=window){var i=t(e.target);i.closest(".ui-timepicker-input").length||i.closest(".ui-timepicker-wrapper").length||(h.hideAll(),t(document).unbind(".ui-timepicker"),t(window).unbind(".ui-timepicker"))}}function r(e){var n=t(this),s=n[0].timepickerObj,r=s.list;if(!r||!h.isVisible(r)){if(40!=e.keyCode)return!0;i.show.call(n.get(0)),r=s.list,s._hideKeyboard()||n.trigger("focus")}switch(e.keyCode){case 13:return s._selectValue()&&(s._formatValue({type:"change"}),s.hideMe()),e.preventDefault(),!1;case 38:var a=r.find(".ui-timepicker-selected");return a.length?a.is(":first-child")||(a.removeClass("ui-timepicker-selected"),a.prev().addClass("ui-timepicker-selected"),a.prev().position().top<a.outerHeight()&&r.scrollTop(r.scrollTop()-a.outerHeight())):(r.find("li").each((function(e,i){if(t(i).position().top>0)return a=t(i),!1})),a.addClass("ui-timepicker-selected")),!1;case 40:return 0===(a=r.find(".ui-timepicker-selected")).length?(r.find("li").each((function(e,i){if(t(i).position().top>0)return a=t(i),!1})),a.addClass("ui-timepicker-selected")):a.is(":last-child")||(a.removeClass("ui-timepicker-selected"),a.next().addClass("ui-timepicker-selected"),a.next().position().top+2*a.outerHeight()>r.outerHeight()&&r.scrollTop(r.scrollTop()+a.outerHeight())),!1;case 27:r.find("li").removeClass("ui-timepicker-selected"),s.hideMe();break;case 9:s.hideMe();break;default:return!0}}t.fn.timepicker=function(n){return this.length?i[n]?this.hasClass("ui-timepicker-input")?i[n].apply(this,Array.prototype.slice.call(arguments,1)):this:"object"!==e(n)&&n?void t.error("Method "+n+" does not exist on jQuery.timepicker"):i.init.apply(this,arguments):this},t.fn.timepicker.defaults=m},"object"===("undefined"==typeof exports?"undefined":e(exports))&&exports&&"object"===("undefined"==typeof module?"undefined":e(module))&&module&&module.exports===exports?c(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],c):c(jQuery)}();
assets/vendors/minitoggle/minitoggle.css ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .minitoggle{
2
+ position: relative;
3
+ width: 40px;
4
+ height: 18px;
5
+ background-color: #ccc;
6
+ border: 1px solid #ccc;
7
+ border-radius: 34px;
8
+ float: left;
9
+ }
10
+
11
+ .minitoggle .toggle-handle {
12
+ position: absolute;
13
+ top: 1px;
14
+ left: 2px;
15
+ z-index: 2;
16
+ width: 14px;
17
+ height: 14px;
18
+ background-color: #fff;
19
+ background-image: -webkit-linear-gradient(top, #fff 0, #f2f2f2 100%);
20
+ background-image: linear-gradient(to bottom, #fff 0, #f2f2f2 100%);
21
+ border-radius: 100px;
22
+ -webkit-transition: -webkit-transform 0.4s ease-in-out, border 0.4s ease-in-out;
23
+ transition: transform 0.4s ease-in-out, border 0.4s ease-in-out;
24
+ box-shadow: 0px 2px 3px 0 rgba(0,0,0,0.20);
25
+ }
26
+
27
+ .minitoggle.active {
28
+ background-color: #2271b1;
29
+ border: #2271b1;
30
+ box-shadow: inset 0 0 15px rgba(255, 255, 255, .25);
31
+ }
32
+
33
+ .minitoggle.active .toggle-handle {
34
+ transform: translate3d(28px,0,0);
35
+ top: 2px;
36
+ }
37
+
38
+ .minitoggle.blue.active {
39
+ background-color: #69BDFE;
40
+ border-color: #69BDFE;
41
+ }
42
+
43
+ .minitoggle.blue.active .toggle-handle {
44
+ border-color: #3C78A5;
45
+ }
assets/vendors/minitoggle/minitoggle.js ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* minitoggle js
2
+ * https://www.jqueryscript.net/form/Toggle-Button-Plugin-jQuery-miniToggle.html
3
+ * Copyright (c) 2016 Artem Tabalin; Licensed MIT
4
+ */
5
+ ;( function ($){
6
+ // minitoggle switcher jquery starts here...
7
+ $.fn["minitoggle"] = function (options) {
8
+ options = options || {};
9
+ const opts = $.extend({
10
+ on : false
11
+ }, options ),
12
+ doToggle = function( toggle ) {
13
+ toggle = toggle.find( '.minitoggle' );
14
+ let active = toggle.toggleClass( 'active' ).hasClass( 'active' ),
15
+ handle = toggle.find( '.toggle-handle' ),
16
+ handlePosition = handle.position(),
17
+ offset = ( active ? toggle.width() - handle.width() - handlePosition.left * 2 : 0 );
18
+ handle.css({
19
+ transform: 'translate3d(' + offset + 'px,0,0)',
20
+ });
21
+ return toggle.trigger({
22
+ type: 'toggle',
23
+ isActive: active
24
+ });
25
+ };
26
+ this.each( function() {
27
+ let self = $( this );
28
+ self.html( '<div class=\'minitoggle\'><div class=\'toggle-handle\'></div></div>' );
29
+ self.click( function() {
30
+ doToggle( self );
31
+ });
32
+ if (opts["on"]) {
33
+ doToggle(self);
34
+ }
35
+ });
36
+ };
37
+ } )(jQuery);
dokan.php CHANGED
@@ -3,12 +3,12 @@
3
  * Plugin Name: Dokan
4
  * Plugin URI: https://wordpress.org/plugins/dokan-lite/
5
  * Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
6
- * Version: 3.7.1
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
10
  * WC requires at least: 5.0.0
11
- * WC tested up to: 6.9.4
12
  * Domain Path: /languages/
13
  * License: GPL2
14
  */
@@ -56,7 +56,7 @@ final class WeDevs_Dokan {
56
  *
57
  * @var string
58
  */
59
- public $version = '3.7.1';
60
 
61
  /**
62
  * Instance of self
3
  * Plugin Name: Dokan
4
  * Plugin URI: https://wordpress.org/plugins/dokan-lite/
5
  * Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
6
+ * Version: 3.7.2
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
10
  * WC requires at least: 5.0.0
11
+ * WC tested up to: 7.0.0
12
  * Domain Path: /languages/
13
  * License: GPL2
14
  */
56
  *
57
  * @var string
58
  */
59
+ public $version = '3.7.2';
60
 
61
  /**
62
  * Instance of self
includes/Admin/Hooks.php CHANGED
@@ -33,6 +33,9 @@ class Hooks {
33
  add_filter( 'post_class', [ $this, 'admin_shop_order_row_classes' ], 10, 2 );
34
  add_filter( 'post_types_to_delete_with_user', [ $this, 'add_wc_post_types_to_delete_user' ], 10, 2 );
35
  add_filter( 'dokan_save_settings_value', [ $this, 'update_pages' ], 10, 2 );
 
 
 
36
  }
37
 
38
  /**
@@ -373,31 +376,73 @@ class Hooks {
373
  * @param object $post
374
  */
375
  public static function seller_meta_box_content( $post ) {
376
- global $user_ID;
 
 
377
 
378
- $admin_user = get_user_by( 'id', $user_ID );
379
- $selected = empty( $post->ID ) ? $user_ID : $post->post_author;
380
- $vendors = dokan()->vendor->all(
381
  [
382
- 'number' => -1,
383
- 'role__in' => [ 'seller' ],
384
- ]
385
- );
386
  ?>
387
- <label class="screen-reader-text" for="dokan_product_author_override"><?php esc_html_e( 'Vendor', 'dokan-lite' ); ?></label>
388
- <select name="dokan_product_author_override" id="dokan_product_author_override" class="">
389
- <?php if ( empty( $vendors ) ) : ?>
390
- <option value="<?php echo esc_attr( $admin_user->ID ); ?>"><?php echo esc_html( $admin_user->display_name ); ?></option>
391
- <?php else : ?>
392
- <option value="<?php echo esc_attr( $user_ID ); ?>" <?php selected( $selected, $user_ID ); ?>><?php echo esc_html( $admin_user->display_name ); ?></option>
393
- <?php foreach ( $vendors as $key => $vendor ) : ?>
394
- <option value="<?php echo esc_attr( $vendor->get_id() ); ?>" <?php selected( $selected, $vendor->get_id() ); ?>><?php echo ! empty( $vendor->get_shop_name() ) ? esc_html( $vendor->get_shop_name() ) : esc_html( $vendor->get_name() ); ?></option>
395
- <?php endforeach ?>
396
- <?php endif ?>
397
- </select>
 
398
  <?php
399
  }
400
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
401
 
402
  /**
403
  * Override product vendor ID from admin panel
33
  add_filter( 'post_class', [ $this, 'admin_shop_order_row_classes' ], 10, 2 );
34
  add_filter( 'post_types_to_delete_with_user', [ $this, 'add_wc_post_types_to_delete_user' ], 10, 2 );
35
  add_filter( 'dokan_save_settings_value', [ $this, 'update_pages' ], 10, 2 );
36
+
37
+ // Ajax hooks
38
+ add_action( 'wp_ajax_dokan_product_search_author', [ $this, 'search_vendors' ] );
39
  }
40
 
41
  /**
376
  * @param object $post
377
  */
378
  public static function seller_meta_box_content( $post ) {
379
+ $selected = empty( $post->ID ) ? get_current_user_id() : $post->post_author;
380
+
381
+ $user = dokan()->vendor->get( $selected );
382
 
383
+ $user = [
 
 
384
  [
385
+ 'id' => $selected,
386
+ 'text' => ! empty( $user->get_shop_name() ) ? $user->get_shop_name() : $user->get_name(),
387
+ ],
388
+ ];
389
  ?>
390
+
391
+ <select
392
+ style="width: 40%;"
393
+ class="dokan_product_author_override"
394
+ name="dokan_product_author_override"
395
+ data-placeholder="<?php esc_attr_e( 'Select vendor', 'dokan-lite' ); ?>"
396
+ data-action="dokan_product_search_author"
397
+ data-close_on_select="true"
398
+ data-minimum_input_length="0"
399
+ data-data='<?php echo wp_json_encode( $user ); ?>'
400
+ >
401
+ </select> <?php echo wc_help_tip( __( 'You can search vendors and assign them.', 'dokan-lite' ) ); ?>
402
  <?php
403
  }
404
 
405
+ /**
406
+ * Ajax method to search vendors
407
+ *
408
+ * @since 3.7.1
409
+ *
410
+ * @return void
411
+ */
412
+ public function search_vendors() {
413
+ if ( ! current_user_can( 'manage_woocommerce' ) || empty( $_GET['_wpnonce'] ) || ! wp_verify_nonce( sanitize_key( $_GET['_wpnonce'] ), 'dokan_admin_product' ) ) {
414
+ wp_send_json_error( [ 'message' => esc_html__( 'Unauthorized operation', 'dokan-lite' ) ], 403 );
415
+ }
416
+
417
+ $vendors = [];
418
+ $results = [];
419
+ $args = [
420
+ 'number' => 20,
421
+ 'status' => [ 'all' ],
422
+ 'role__in' => [ 'seller', 'administrator' ],
423
+ ];
424
+
425
+ if ( ! empty( $_GET['s'] ) ) {
426
+ $s = sanitize_text_field( wp_unslash( $_GET['s'] ) );
427
+
428
+ $args['search'] = '*' . $s . '*';
429
+ $args['number'] = 35;
430
+ }
431
+
432
+ $results = dokan()->vendor->all( $args );
433
+
434
+ if ( ! empty( $results ) ) {
435
+ foreach ( $results as $vendor ) {
436
+ $vendors[] = [
437
+ 'id' => $vendor->get_id(),
438
+ 'text' => ! empty( $vendor->get_shop_name() ) ? $vendor->get_shop_name() : $vendor->get_name(),
439
+ 'avatar' => $vendor->get_avatar(),
440
+ ];
441
+ }
442
+ }
443
+
444
+ wp_send_json_success( [ 'vendors' => $vendors ] );
445
+ }
446
 
447
  /**
448
  * Override product vendor ID from admin panel
includes/Admin/Settings.php CHANGED
@@ -75,7 +75,7 @@ class Settings {
75
  if ( isset( $option_values['commission_type'] ) && 'flat' === $option_values['commission_type'] ) {
76
  $option_values['admin_percentage'] = isset( $option_values['admin_percentage'] ) ? wc_format_localized_price( $option_values['admin_percentage'] ) : 0;
77
  } else {
78
- $option_values['admin_percentage'] = isset( $option_values['admin_percentage'] ) ? wc_format_decimal( $option_values['admin_percentage'] ) : 0;
79
  }
80
  }
81
 
75
  if ( isset( $option_values['commission_type'] ) && 'flat' === $option_values['commission_type'] ) {
76
  $option_values['admin_percentage'] = isset( $option_values['admin_percentage'] ) ? wc_format_localized_price( $option_values['admin_percentage'] ) : 0;
77
  } else {
78
+ $option_values['admin_percentage'] = isset( $option_values['admin_percentage'] ) ? wc_format_localized_decimal( $option_values['admin_percentage'] ) : 0;
79
  }
80
  }
81
 
includes/Admin/functions.php CHANGED
@@ -38,15 +38,41 @@ function dokan_admin_get_help() {
38
  */
39
  function dokan_override_product_author( $product, $seller_id ) {
40
  wp_update_post(
41
- array(
42
  'ID' => $product->get_id(),
43
  'post_author' => $seller_id,
44
- )
45
  );
46
 
 
 
47
  do_action( 'dokan_after_override_product_author', $product, $seller_id );
48
  }
49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
  /**
52
  * Dokan Get Admin report data
38
  */
39
  function dokan_override_product_author( $product, $seller_id ) {
40
  wp_update_post(
41
+ [
42
  'ID' => $product->get_id(),
43
  'post_author' => $seller_id,
44
+ ]
45
  );
46
 
47
+ dokan_override_author_for_variations( $product, $seller_id );
48
+
49
  do_action( 'dokan_after_override_product_author', $product, $seller_id );
50
  }
51
 
52
+ /**
53
+ * Overrides author for products with variations.
54
+ *
55
+ * @since 3.7.1
56
+ *
57
+ * @param WC_Product $product
58
+ * @param int $seller_id
59
+ *
60
+ * @return void
61
+ */
62
+ function dokan_override_author_for_variations( $product, $seller_id ) {
63
+ if ( 'variable' === $product->get_type() || 'variable-subscription' === $product->get_type() ) {
64
+ $variations = $product->get_children();
65
+
66
+ foreach ( $variations as $variation_id ) {
67
+ wp_update_post(
68
+ [
69
+ 'ID' => $variation_id,
70
+ 'post_author' => $seller_id,
71
+ ]
72
+ );
73
+ }
74
+ }
75
+ }
76
 
77
  /**
78
  * Dokan Get Admin report data
includes/Assets.php CHANGED
@@ -54,8 +54,7 @@ class Assets {
54
  * Enqueue admin scripts
55
  */
56
  public function enqueue_admin_scripts( $hook ) {
57
- global $post;
58
- global $wp_version;
59
 
60
  // load vue app inside the parent menu only
61
  if ( 'toplevel_page_dokan' === $hook ) {
@@ -121,9 +120,37 @@ class Assets {
121
  wp_enqueue_style( 'dokan-plugin-list-css' );
122
  }
123
 
 
 
 
 
 
 
124
  do_action( 'dokan_enqueue_admin_scripts' );
125
  }
126
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  public function get_localized_price() {
128
  return [
129
  'precision' => wc_get_price_decimals(),
@@ -253,8 +280,11 @@ class Assets {
253
  'src' => DOKAN_PLUGIN_ASSEST . '/vendors/izimodal/iziModal.min.css',
254
  'version' => filemtime( DOKAN_DIR . '/assets/vendors/izimodal/iziModal.min.css' ),
255
  ],
 
 
 
256
  'dokan-select2-css' => [
257
- 'src' => DOKAN_PLUGIN_ASSEST . '/vendors/select2/select2.css',
258
  ],
259
  'dokan-rtl-style' => [
260
  'src' => DOKAN_PLUGIN_ASSEST . '/css/rtl.css',
@@ -310,6 +340,10 @@ class Assets {
310
  'src' => DOKAN_PLUGIN_ASSEST . '/css/reverse-withdrawal.css',
311
  'version' => filemtime( DOKAN_DIR . '/assets/css/reverse-withdrawal.css' ),
312
  ],
 
 
 
 
313
  ];
314
 
315
  return $styles;
@@ -368,6 +402,10 @@ class Assets {
368
  'src' => $asset_url . '/vendors/izimodal/iziModal.min.js',
369
  'deps' => [ 'jquery' ],
370
  ],
 
 
 
 
371
  'dokan-tooltip' => [
372
  'src' => $asset_url . '/vendors/tooltips/tooltips.js',
373
  'deps' => [ 'jquery' ],
@@ -482,7 +520,7 @@ class Assets {
482
  ],
483
  'dokan-util-helper' => [
484
  'src' => $asset_url . '/js/helper.js',
485
- 'deps' => [ 'jquery', 'dokan-sweetalert2' ],
486
  'version' => filemtime( $asset_path . 'js/helper.js' ),
487
  'in_footer' => false,
488
  ],
@@ -501,6 +539,12 @@ class Assets {
501
  'deps' => [ 'jquery', 'dokan-vue-vendor' ],
502
  'version' => filemtime( $asset_path . 'js/product-category-ui.js' ),
503
  ],
 
 
 
 
 
 
504
  ];
505
 
506
  return $scripts;
@@ -601,7 +645,6 @@ class Assets {
601
  }
602
 
603
  if ( DOKAN_LOAD_SCRIPTS ) {
604
- self::load_form_validate_script();
605
  $this->load_gmap_script();
606
 
607
  wp_enqueue_script( 'jquery-ui-sortable' );
@@ -631,6 +674,9 @@ class Assets {
631
  }
632
  }
633
 
 
 
 
634
  do_action( 'dokan_enqueue_scripts' );
635
  }
636
 
@@ -652,6 +698,15 @@ class Assets {
652
  'reverse_withdrawal' => [
653
  'enabled' => SettingsHelper::is_enabled(),
654
  ],
 
 
 
 
 
 
 
 
 
655
  'daterange_picker_local' => [
656
  'toLabel' => __( 'To', 'dokan-lite' ),
657
  'firstDay' => intval( get_option( 'start_of_week', 0 ) ),
@@ -867,8 +922,7 @@ class Assets {
867
  ) {
868
  $general_settings = get_option( 'dokan_general', [] );
869
 
870
- $locale = localeconv();
871
- $decimal = isset( $locale['decimal_point'] ) ? $locale['decimal_point'] : '.';
872
  $banner_width = dokan_get_vendor_store_banner_width();
873
  $banner_height = dokan_get_vendor_store_banner_height();
874
  $has_flex_width = ! empty( $general_settings['store_banner_flex_width'] ) ? $general_settings['store_banner_flex_width'] : true;
@@ -1047,8 +1101,7 @@ class Assets {
1047
  $banner_height = dokan_get_option( 'store_banner_height', 'dokan_appearance', 300 );
1048
  $has_flex_width = ! empty( $general_settings['store_banner_flex_width'] ) ? $general_settings['store_banner_flex_width'] : true;
1049
  $has_flex_height = ! empty( $general_settings['store_banner_flex_height'] ) ? $general_settings['store_banner_flex_height'] : true;
1050
- $locale = localeconv();
1051
- $decimal = isset( $locale['decimal_point'] ) ? $locale['decimal_point'] : '.';
1052
 
1053
  return apply_filters(
1054
  'dokan_admin_localize_script', [
54
  * Enqueue admin scripts
55
  */
56
  public function enqueue_admin_scripts( $hook ) {
57
+ global $post, $wp_version, $typenow;
 
58
 
59
  // load vue app inside the parent menu only
60
  if ( 'toplevel_page_dokan' === $hook ) {
120
  wp_enqueue_style( 'dokan-plugin-list-css' );
121
  }
122
 
123
+ if ( 'product' === $typenow ) {
124
+ wp_enqueue_script( 'dokan-admin-product' );
125
+ wp_enqueue_style( 'dokan-admin-product' );
126
+ wp_localize_script( 'dokan-admin-product', 'dokan_admin_product', $this->admin_product_localize_scripts() );
127
+ }
128
+
129
  do_action( 'dokan_enqueue_admin_scripts' );
130
  }
131
 
132
+ /**
133
+ * Load admin product localize data.
134
+ *
135
+ * @since 3.7.1
136
+ *
137
+ * @return array
138
+ */
139
+ public function admin_product_localize_scripts() {
140
+ return apply_filters(
141
+ 'dokan_admin_product_localize_scripts', [
142
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
143
+ 'nonce' => wp_create_nonce( 'dokan_admin_product' ),
144
+ 'i18n' => [
145
+ 'error_loading' => esc_html__( 'Could not find any vendor.', 'dokan-lite' ),
146
+ 'searching' => esc_html__( 'Searching vendors', 'dokan-lite' ),
147
+ 'input_too_short' => esc_html__( 'Search vendors', 'dokan-lite' ),
148
+ 'confirm_delete' => esc_html__( 'Are you sure ?', 'dokan-lite' ),
149
+ ],
150
+ ]
151
+ );
152
+ }
153
+
154
  public function get_localized_price() {
155
  return [
156
  'precision' => wc_get_price_decimals(),
280
  'src' => DOKAN_PLUGIN_ASSEST . '/vendors/izimodal/iziModal.min.css',
281
  'version' => filemtime( DOKAN_DIR . '/assets/vendors/izimodal/iziModal.min.css' ),
282
  ],
283
+ 'dokan-minitoggle' => [
284
+ 'src' => DOKAN_PLUGIN_ASSEST . '/vendors/minitoggle/minitoggle.css',
285
+ ],
286
  'dokan-select2-css' => [
287
+ 'src' => DOKAN_PLUGIN_ASSEST . '/vendors/select2/select2.css',
288
  ],
289
  'dokan-rtl-style' => [
290
  'src' => DOKAN_PLUGIN_ASSEST . '/css/rtl.css',
340
  'src' => DOKAN_PLUGIN_ASSEST . '/css/reverse-withdrawal.css',
341
  'version' => filemtime( DOKAN_DIR . '/assets/css/reverse-withdrawal.css' ),
342
  ],
343
+ 'dokan-admin-product' => [
344
+ 'src' => DOKAN_PLUGIN_ASSEST . '/css/dokan-admin-product.css',
345
+ 'version' => filemtime( DOKAN_DIR . '/assets/css/dokan-admin-product.css' ),
346
+ ],
347
  ];
348
 
349
  return $styles;
402
  'src' => $asset_url . '/vendors/izimodal/iziModal.min.js',
403
  'deps' => [ 'jquery' ],
404
  ],
405
+ 'dokan-minitoggle' => [
406
+ 'src' => $asset_url . '/vendors/minitoggle/minitoggle.js',
407
+ 'deps' => [ 'jquery' ],
408
+ ],
409
  'dokan-tooltip' => [
410
  'src' => $asset_url . '/vendors/tooltips/tooltips.js',
411
  'deps' => [ 'jquery' ],
520
  ],
521
  'dokan-util-helper' => [
522
  'src' => $asset_url . '/js/helper.js',
523
+ 'deps' => [ 'jquery', 'dokan-sweetalert2', 'moment' ],
524
  'version' => filemtime( $asset_path . 'js/helper.js' ),
525
  'in_footer' => false,
526
  ],
539
  'deps' => [ 'jquery', 'dokan-vue-vendor' ],
540
  'version' => filemtime( $asset_path . 'js/product-category-ui.js' ),
541
  ],
542
+ 'dokan-admin-product' => [
543
+ 'src' => $asset_url . '/js/dokan-admin-product.js',
544
+ 'deps' => [ 'jquery', 'dokan-vue-vendor', 'selectWoo' ],
545
+ 'version' => filemtime( $asset_path . 'js/dokan-admin-product.js' ),
546
+ 'in_footer' => false,
547
+ ],
548
  ];
549
 
550
  return $scripts;
645
  }
646
 
647
  if ( DOKAN_LOAD_SCRIPTS ) {
 
648
  $this->load_gmap_script();
649
 
650
  wp_enqueue_script( 'jquery-ui-sortable' );
674
  }
675
  }
676
 
677
+ // localized form validate script
678
+ self::load_form_validate_script();
679
+
680
  do_action( 'dokan_enqueue_scripts' );
681
  }
682
 
698
  'reverse_withdrawal' => [
699
  'enabled' => SettingsHelper::is_enabled(),
700
  ],
701
+ 'timepicker_locale' => [
702
+ 'am' => _x( 'am', 'time constant', 'dokan-lite' ),
703
+ 'pm' => _x( 'pm', 'time constant', 'dokan-lite' ),
704
+ 'AM' => _x( 'AM', 'time constant', 'dokan-lite' ),
705
+ 'PM' => _x( 'PM', 'time constant', 'dokan-lite' ),
706
+ 'hr' => _x( 'hr', 'time constant', 'dokan-lite' ),
707
+ 'hrs' => _x( 'hrs', 'time constant', 'dokan-lite' ),
708
+ 'mins' => _x( 'mins', 'time constant', 'dokan-lite' ),
709
+ ],
710
  'daterange_picker_local' => [
711
  'toLabel' => __( 'To', 'dokan-lite' ),
712
  'firstDay' => intval( get_option( 'start_of_week', 0 ) ),
922
  ) {
923
  $general_settings = get_option( 'dokan_general', [] );
924
 
925
+ $decimal = wc_get_price_decimal_separator();
 
926
  $banner_width = dokan_get_vendor_store_banner_width();
927
  $banner_height = dokan_get_vendor_store_banner_height();
928
  $has_flex_width = ! empty( $general_settings['store_banner_flex_width'] ) ? $general_settings['store_banner_flex_width'] : true;
1101
  $banner_height = dokan_get_option( 'store_banner_height', 'dokan_appearance', 300 );
1102
  $has_flex_width = ! empty( $general_settings['store_banner_flex_width'] ) ? $general_settings['store_banner_flex_width'] : true;
1103
  $has_flex_height = ! empty( $general_settings['store_banner_flex_height'] ) ? $general_settings['store_banner_flex_height'] : true;
1104
+ $decimal = wc_get_price_decimal_separator();
 
1105
 
1106
  return apply_filters(
1107
  'dokan_admin_localize_script', [
includes/Dashboard/Templates/Settings.php CHANGED
@@ -573,14 +573,12 @@ class Settings {
573
  }
574
 
575
  // Check & make 12 hours format data for save.
576
- $opening_time = \DateTimeImmutable::createFromFormat( wc_time_format(), $opening_time, new \DateTimeZone( dokan_wp_timezone_string() ) );
577
- $opening_timestamp = $opening_time ? $opening_time->getTimestamp() : '';
578
- $opening_time = $opening_time ? $opening_time->format( 'g:i a' ) : '';
579
 
580
  // Check & make 12 hours format data for save.
581
- $closing_time = \DateTimeImmutable::createFromFormat( wc_time_format(), $closing_time, new \DateTimeZone( dokan_wp_timezone_string() ) );
582
- $closing_timestamp = $closing_time ? $closing_time->getTimestamp() : $closing_time;
583
- $closing_time = $closing_time ? $closing_time->format( 'g:i a' ) : '';
584
 
585
  // If our opening time is less than closing time.
586
  if ( $opening_timestamp > $closing_timestamp ) {
573
  }
574
 
575
  // Check & make 12 hours format data for save.
576
+ $opening_timestamp = dokan_get_timestamp( $opening_time );
577
+ $opening_time = dokan_convert_date_format( $opening_time, wc_time_format(), 'g:i a' );
 
578
 
579
  // Check & make 12 hours format data for save.
580
+ $closing_timestamp = dokan_get_timestamp( $closing_time );
581
+ $closing_time = dokan_convert_date_format( $closing_time, wc_time_format(), 'g:i a' );
 
582
 
583
  // If our opening time is less than closing time.
584
  if ( $opening_timestamp > $closing_timestamp ) {
includes/REST/StoreController.php CHANGED
@@ -45,7 +45,7 @@ class StoreController extends WP_REST_Controller {
45
  [
46
  'methods' => WP_REST_Server::READABLE,
47
  'callback' => [ $this, 'get_stores' ],
48
- 'args' => $this->get_collection_params(),
49
  'permission_callback' => '__return_true',
50
  ],
51
  [
45
  [
46
  'methods' => WP_REST_Server::READABLE,
47
  'callback' => [ $this, 'get_stores' ],
48
+ 'args' => apply_filters( 'dokan_rest_api_store_collection_params', $this->get_collection_params() ),
49
  'permission_callback' => '__return_true',
50
  ],
51
  [
includes/Upgrade/Upgrades/V_3_6_4.php CHANGED
@@ -15,6 +15,8 @@ class V_3_6_4 extends DokanUpgrader {
15
  */
16
  public static function remove_unfiltered_html_capabilities_from_vendor() {
17
  $role = get_role( 'seller' );
18
- $role->remove_cap( 'unfiltered_html' );
 
 
19
  }
20
  }
15
  */
16
  public static function remove_unfiltered_html_capabilities_from_vendor() {
17
  $role = get_role( 'seller' );
18
+ if ( $role ) {
19
+ $role->remove_cap( 'unfiltered_html' );
20
+ }
21
  }
22
  }
includes/Widgets/ProductCategoryMenu.php CHANGED
@@ -61,7 +61,7 @@ class ProductCategoryMenu extends WP_Widget {
61
  </div>
62
  <?php
63
 
64
- echo $args['after_widget']; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
65
  }
66
 
67
  /**
61
  </div>
62
  <?php
63
 
64
+ echo isset( $args['after_widget'] ) ? $args['after_widget'] : ''; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
65
  }
66
 
67
  /**
includes/functions.php CHANGED
@@ -3201,7 +3201,7 @@ function dokan_get_translated_days( $day = '' ) {
3201
  function dokan_get_store_times( $day, $return_type, $index = null, $store_id = null ) {
3202
  $store_id = null === $store_id ? dokan_get_current_user_id() : $store_id;
3203
  $store_info = dokan_get_store_info( $store_id );
3204
- $dokan_store_times = isset( $store_info['dokan_store_time'][ $day ][ $return_type ] ) ? $store_info['dokan_store_time'][ $day ][ $return_type ] : '';
3205
 
3206
  if ( empty( $dokan_store_times ) ) {
3207
  return '';
@@ -4085,6 +4085,47 @@ function dokan_format_time( $date = '', $format = false ) {
4085
  return dokan_format_datetime( $date, $format );
4086
  }
4087
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4088
  /**
4089
  * This method will convert datetime string into timestamp
4090
  *
3201
  function dokan_get_store_times( $day, $return_type, $index = null, $store_id = null ) {
3202
  $store_id = null === $store_id ? dokan_get_current_user_id() : $store_id;
3203
  $store_info = dokan_get_store_info( $store_id );
3204
+ $dokan_store_times = ! empty( $store_info['dokan_store_time'][ $day ][ $return_type ] ) ? $store_info['dokan_store_time'][ $day ][ $return_type ] : '';
3205
 
3206
  if ( empty( $dokan_store_times ) ) {
3207
  return '';
4085
  return dokan_format_datetime( $date, $format );
4086
  }
4087
 
4088
+ /**
4089
+ * Create an expected date time format from a given format.
4090
+ *
4091
+ * @since 3.7.1
4092
+ *
4093
+ * @param string $format Date string format
4094
+ * @param string $date_string Date time string
4095
+ *
4096
+ * @return DateTimeImmutable|false
4097
+ */
4098
+ function dokan_create_date_from_format( $format, $date_string ) {
4099
+ return \DateTimeImmutable::createFromFormat(
4100
+ $format,
4101
+ $date_string,
4102
+ new \DateTimeZone( dokan_wp_timezone_string() )
4103
+ );
4104
+ }
4105
+
4106
+ /**
4107
+ * Convert times in expected format.
4108
+ *
4109
+ * @param array|string $times_data Times data
4110
+ * @param string $input_format Times current format
4111
+ * @param string $output_format Times converted format
4112
+ *
4113
+ * @return string|array
4114
+ */
4115
+ function dokan_convert_date_format( $times_data, $input_format = 'g:i a', $output_format = 'g:i a' ) {
4116
+ if ( empty( $times_data ) ) {
4117
+ return $times_data;
4118
+ }
4119
+
4120
+ $times = [];
4121
+ foreach ( (array) $times_data as $time ) {
4122
+ $datetime = dokan_create_date_from_format( $input_format, $time );
4123
+ $times[] = $datetime ? $datetime->format( $output_format ) : '';
4124
+ }
4125
+
4126
+ return is_string( $times_data ) ? $times[0] : $times;
4127
+ }
4128
+
4129
  /**
4130
  * This method will convert datetime string into timestamp
4131
  *
languages/dokan-lite.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Dokan 3.7.1\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2022-10-11 09:25:40+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -153,45 +153,56 @@ msgstr ""
153
  msgid "Visit Vendor Dashboard"
154
  msgstr ""
155
 
156
- #: includes/Admin/Hooks.php:64 includes/Admin/Hooks.php:70
157
- #: includes/Admin/Hooks.php:365 includes/Admin/Hooks.php:387
158
- #: includes/Admin/Settings.php:489 includes/Admin/Settings.php:500
159
- #: includes/Admin/SetupWizard.php:362 includes/Install/Installer.php:109
160
- #: includes/Order/Hooks.php:77 includes/wc-template.php:18
161
- #: includes/wc-template.php:169 includes/wc-template.php:316
162
- #: src/admin/pages/Dashboard.vue:38 src/admin/pages/Dashboard.vue:47
163
- #: templates/my-orders.php:35
164
  msgid "Vendor"
165
  msgstr ""
166
 
167
- #: includes/Admin/Hooks.php:65
168
  msgid "Actions"
169
  msgstr ""
170
 
171
- #: includes/Admin/Hooks.php:66 includes/Admin/Hooks.php:71
172
  msgid "Sub Order"
173
  msgstr ""
174
 
175
- #: includes/Admin/Hooks.php:124
176
  msgid "&nbsp;Sub Order of"
177
  msgstr ""
178
 
179
- #: includes/Admin/Hooks.php:132
180
  msgid "Show Sub-Orders"
181
  msgstr ""
182
 
183
- #: includes/Admin/Hooks.php:132
184
  msgid "Hide Sub-Orders"
185
  msgstr ""
186
 
187
- #: includes/Admin/Hooks.php:143
188
  msgid "(no name)"
189
  msgstr ""
190
 
191
- #: includes/Admin/Hooks.php:336
192
  msgid "Toggle Sub-orders"
193
  msgstr ""
194
 
 
 
 
 
 
 
 
 
 
 
 
 
195
  #: includes/Admin/Menu.php:39
196
  msgid "Withdraw %s"
197
  msgstr ""
@@ -640,7 +651,7 @@ msgid ""
640
  msgstr ""
641
 
642
  #: includes/Admin/Settings.php:449 includes/Vendor/SetupWizard.php:208
643
- #: templates/settings/store-form.php:128
644
  msgid "Store Products Per Page"
645
  msgstr ""
646
 
@@ -1300,13 +1311,13 @@ msgid "We'll use %1$s for product weight and %2$s for product dimensions."
1300
  msgstr ""
1301
 
1302
  #: includes/Admin/UserProfile.php:38 includes/Ajax.php:143
1303
- #: includes/Assets.php:533 src/admin/pages/VendorAccountFields.vue:282
1304
  #: src/admin/pages/VendorAccountFields.vue:314
1305
  #: src/admin/pages/VendorAccountFields.vue:346
1306
  msgid "Available"
1307
  msgstr ""
1308
 
1309
- #: includes/Admin/UserProfile.php:39 includes/Assets.php:534
1310
  #: src/admin/pages/VendorAccountFields.vue:290
1311
  #: src/admin/pages/VendorAccountFields.vue:322
1312
  msgid "Not Available"
@@ -1339,11 +1350,11 @@ msgstr ""
1339
  msgid "Banner"
1340
  msgstr ""
1341
 
1342
- #: includes/Admin/UserProfile.php:117 templates/settings/store-form.php:75
1343
  msgid "Upload banner"
1344
  msgstr ""
1345
 
1346
- #: includes/Admin/UserProfile.php:122 templates/settings/store-form.php:89
1347
  #. translators: %1$s: banner width, %2$s: banner height in integers
1348
  #. translators: 1) store banner width 2) store banner height
1349
  msgid "Upload a banner for your store. Banner size is (%1$sx%2$s) pixels."
@@ -1465,30 +1476,30 @@ msgstr ""
1465
  msgid "This vendor will be marked as a featured vendor."
1466
  msgstr ""
1467
 
1468
- #: includes/Admin/functions.php:213 includes/Admin/functions.php:480
1469
  #: includes/REST/AdminReportController.php:140
1470
  msgid "Total Sales"
1471
  msgstr ""
1472
 
1473
- #: includes/Admin/functions.php:220 includes/Admin/functions.php:487
1474
  msgid "Total: "
1475
  msgstr ""
1476
 
1477
- #: includes/Admin/functions.php:223 includes/Admin/functions.php:490
1478
  #: includes/REST/AdminReportController.php:148 includes/reports.php:365
1479
  msgid "Number of orders"
1480
  msgstr ""
1481
 
1482
- #: includes/Admin/functions.php:230 includes/Admin/functions.php:497
1483
  msgid "sales"
1484
  msgstr ""
1485
 
1486
- #: includes/Admin/functions.php:233 includes/Admin/functions.php:500
1487
  #: includes/REST/AdminReportController.php:155
1488
  msgid "Commision"
1489
  msgstr ""
1490
 
1491
- #: includes/Admin/functions.php:240 includes/Admin/functions.php:507
1492
  msgid "Commision: "
1493
  msgstr ""
1494
 
@@ -1600,245 +1611,261 @@ msgstr ""
1600
  msgid "id param is required"
1601
  msgstr ""
1602
 
1603
- #: includes/Assets.php:536 includes/Product/functions.php:497
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1604
  #: src/admin/components/AdminNotice.vue:153
1605
  msgid "Are you sure?"
1606
  msgstr ""
1607
 
1608
- #: includes/Assets.php:537
1609
  msgid "Something went wrong. Please try again."
1610
  msgstr ""
1611
 
1612
- #: includes/Assets.php:545
1613
  msgid "Are you sure you want to revoke access to this download?"
1614
  msgstr ""
1615
 
1616
- #: includes/Assets.php:546
1617
  msgid ""
1618
  "Could not grant access - the user may already have permission for this file "
1619
  "or billing email is not set. Ensure the billing email is set, and the order "
1620
  "has been saved."
1621
  msgstr ""
1622
 
1623
- #: includes/Assets.php:656 templates/products/edit-product-single.php:282
1624
  #: templates/products/new-product.php:252
1625
  #: templates/products/tmpl-add-product-popup.php:88
1626
  msgid "To"
1627
  msgstr ""
1628
 
1629
- #: includes/Assets.php:658 templates/products/edit-product-single.php:275
1630
  #: templates/products/new-product.php:245
1631
  #: templates/products/tmpl-add-product-popup.php:81
1632
  msgid "From"
1633
  msgstr ""
1634
 
1635
- #: includes/Assets.php:659
1636
  msgid " - "
1637
  msgstr ""
1638
 
1639
- #: includes/Assets.php:660
1640
  msgid "W"
1641
  msgstr ""
1642
 
1643
- #: includes/Assets.php:661 src/admin/main.js:27
1644
  #: src/admin/pages/ReverseWithdrawalTransactions.vue:100
1645
  #: templates/orders/listing.php:20 templates/products/products-listing.php:96
1646
  #: templates/store-lists-filter.php:87
1647
  msgid "Apply"
1648
  msgstr ""
1649
 
1650
- #: includes/Assets.php:662
1651
  #: src/admin/pages/ReverseWithdrawalTransactions.vue:105
1652
  msgid "Clear"
1653
  msgstr ""
1654
 
1655
- #: includes/Assets.php:663 includes/Withdraw/Hooks.php:46
1656
  msgid "Custom"
1657
  msgstr ""
1658
 
1659
- #: includes/Assets.php:665
1660
  msgid "Su"
1661
  msgstr ""
1662
 
1663
- #: includes/Assets.php:666
1664
  msgid "Mo"
1665
  msgstr ""
1666
 
1667
- #: includes/Assets.php:667
1668
  msgid "Tu"
1669
  msgstr ""
1670
 
1671
- #: includes/Assets.php:668
1672
  msgid "We"
1673
  msgstr ""
1674
 
1675
- #: includes/Assets.php:669
1676
  msgid "Th"
1677
  msgstr ""
1678
 
1679
- #: includes/Assets.php:670
1680
  msgid "Fr"
1681
  msgstr ""
1682
 
1683
- #: includes/Assets.php:671
1684
  msgid "Sa"
1685
  msgstr ""
1686
 
1687
- #: includes/Assets.php:674
1688
  msgid "January"
1689
  msgstr ""
1690
 
1691
- #: includes/Assets.php:675
1692
  msgid "February"
1693
  msgstr ""
1694
 
1695
- #: includes/Assets.php:676
1696
  msgid "March"
1697
  msgstr ""
1698
 
1699
- #: includes/Assets.php:677
1700
  msgid "April"
1701
  msgstr ""
1702
 
1703
- #: includes/Assets.php:678
1704
  msgid "May"
1705
  msgstr ""
1706
 
1707
- #: includes/Assets.php:679
1708
  msgid "June"
1709
  msgstr ""
1710
 
1711
- #: includes/Assets.php:680
1712
  msgid "July"
1713
  msgstr ""
1714
 
1715
- #: includes/Assets.php:681
1716
  msgid "August"
1717
  msgstr ""
1718
 
1719
- #: includes/Assets.php:682
1720
  msgid "September"
1721
  msgstr ""
1722
 
1723
- #: includes/Assets.php:683
1724
  msgid "October"
1725
  msgstr ""
1726
 
1727
- #: includes/Assets.php:684
1728
  msgid "November"
1729
  msgstr ""
1730
 
1731
- #: includes/Assets.php:685
1732
  msgid "December"
1733
  msgstr ""
1734
 
1735
- #: includes/Assets.php:701
1736
  msgid "This field is required"
1737
  msgstr ""
1738
 
1739
- #: includes/Assets.php:702
1740
  msgid "Please fix this field."
1741
  msgstr ""
1742
 
1743
- #: includes/Assets.php:703
1744
  msgid "Please enter a valid email address."
1745
  msgstr ""
1746
 
1747
- #: includes/Assets.php:704
1748
  msgid "Please enter a valid URL."
1749
  msgstr ""
1750
 
1751
- #: includes/Assets.php:705
1752
  msgid "Please enter a valid date."
1753
  msgstr ""
1754
 
1755
- #: includes/Assets.php:706
1756
  msgid "Please enter a valid date (ISO)."
1757
  msgstr ""
1758
 
1759
- #: includes/Assets.php:707
1760
  msgid "Please enter a valid number."
1761
  msgstr ""
1762
 
1763
- #: includes/Assets.php:708
1764
  msgid "Please enter only digits."
1765
  msgstr ""
1766
 
1767
- #: includes/Assets.php:709
1768
  msgid "Please enter a valid credit card number."
1769
  msgstr ""
1770
 
1771
- #: includes/Assets.php:710
1772
  msgid "Please enter the same value again."
1773
  msgstr ""
1774
 
1775
- #: includes/Assets.php:711
1776
  msgid "Please enter no more than {0} characters."
1777
  msgstr ""
1778
 
1779
- #: includes/Assets.php:712
1780
  msgid "Please enter at least {0} characters."
1781
  msgstr ""
1782
 
1783
- #: includes/Assets.php:713
1784
  msgid "Please enter a value between {0} and {1} characters long."
1785
  msgstr ""
1786
 
1787
- #: includes/Assets.php:714
1788
  msgid "Please enter a value between {0} and {1}."
1789
  msgstr ""
1790
 
1791
- #: includes/Assets.php:715
1792
  msgid "Please enter a value less than or equal to {0}."
1793
  msgstr ""
1794
 
1795
- #: includes/Assets.php:716
1796
  msgid "Please enter a value greater than or equal to {0}."
1797
  msgstr ""
1798
 
1799
- #: includes/Assets.php:878
1800
  msgid "Upload featured image"
1801
  msgstr ""
1802
 
1803
- #: includes/Assets.php:879
1804
  msgid "Choose a file"
1805
  msgstr ""
1806
 
1807
- #: includes/Assets.php:880
1808
  msgid "Add Images to Product Gallery"
1809
  msgstr ""
1810
 
1811
- #: includes/Assets.php:881
1812
  msgid "Set featured image"
1813
  msgstr ""
1814
 
1815
- #: includes/Assets.php:882 includes/woo-views/html-product-download.php:8
1816
  msgid "Insert file URL"
1817
  msgstr ""
1818
 
1819
- #: includes/Assets.php:883
1820
  msgid "Add to gallery"
1821
  msgstr ""
1822
 
1823
- #: includes/Assets.php:884
1824
  msgid "Sorry, this attribute option already exists, Try a different one."
1825
  msgstr ""
1826
 
1827
- #: includes/Assets.php:885
1828
  msgid ""
1829
  "Warning! This product will not have any variations if this option is not "
1830
  "checked."
1831
  msgstr ""
1832
 
1833
- #: includes/Assets.php:886
1834
  msgid "Enter a name for the new attribute term:"
1835
  msgstr ""
1836
 
1837
- #: includes/Assets.php:887
1838
  msgid "Remove this attribute?"
1839
  msgstr ""
1840
 
1841
- #: includes/Assets.php:896
1842
  #. translators: %d: max linked variation.
1843
  msgid ""
1844
  "Are you sure you want to link all variations? This will create a new "
@@ -1846,190 +1873,190 @@ msgid ""
1846
  "(max %d per run)."
1847
  msgstr ""
1848
 
1849
- #: includes/Assets.php:897
1850
  msgid "Enter a value"
1851
  msgstr ""
1852
 
1853
- #: includes/Assets.php:898
1854
  msgid "Variation menu order (determines position in the list of variations)"
1855
  msgstr ""
1856
 
1857
- #: includes/Assets.php:899
1858
  msgid "Enter a value (fixed or %)"
1859
  msgstr ""
1860
 
1861
- #: includes/Assets.php:900
1862
  msgid "Are you sure you want to delete all variations? This cannot be undone."
1863
  msgstr ""
1864
 
1865
- #: includes/Assets.php:901
1866
  msgid "Last warning, are you sure?"
1867
  msgstr ""
1868
 
1869
- #: includes/Assets.php:902
1870
  msgid "Choose an image"
1871
  msgstr ""
1872
 
1873
- #: includes/Assets.php:903
1874
  msgid "Set variation image"
1875
  msgstr ""
1876
 
1877
- #: includes/Assets.php:904
1878
  msgid "variation added"
1879
  msgstr ""
1880
 
1881
- #: includes/Assets.php:905
1882
  msgid "variations added"
1883
  msgstr ""
1884
 
1885
- #: includes/Assets.php:906
1886
  msgid "No variations added"
1887
  msgstr ""
1888
 
1889
- #: includes/Assets.php:907
1890
  msgid "Are you sure you want to remove this variation?"
1891
  msgstr ""
1892
 
1893
- #: includes/Assets.php:908
1894
  msgid "Sale start date (YYYY-MM-DD format or leave blank)"
1895
  msgstr ""
1896
 
1897
- #: includes/Assets.php:909
1898
  msgid "Sale end date (YYYY-MM-DD format or leave blank)"
1899
  msgstr ""
1900
 
1901
- #: includes/Assets.php:910
1902
  msgid "Save changes before changing page?"
1903
  msgstr ""
1904
 
1905
- #: includes/Assets.php:911
1906
  msgid "%qty% variation"
1907
  msgstr ""
1908
 
1909
- #: includes/Assets.php:912
1910
  msgid "%qty% variations"
1911
  msgstr ""
1912
 
1913
- #: includes/Assets.php:913
1914
  msgid "No Result Found"
1915
  msgstr ""
1916
 
1917
- #: includes/Assets.php:914
1918
  msgid "Please insert value less than the regular price!"
1919
  msgstr ""
1920
 
1921
- #: includes/Assets.php:916 includes/Assets.php:1093
1922
  #. translators: %s: decimal
1923
  msgid "Please enter with one decimal point (%s) without thousand separators."
1924
  msgstr ""
1925
 
1926
- #: includes/Assets.php:918 includes/Assets.php:1095
1927
  #. translators: %s: price decimal separator
1928
  msgid ""
1929
  "Please enter with one monetary decimal point (%s) without thousand "
1930
  "separators and currency symbols."
1931
  msgstr ""
1932
 
1933
- #: includes/Assets.php:919 includes/Assets.php:1096
1934
  msgid "Please enter in country code with two capital letters."
1935
  msgstr ""
1936
 
1937
- #: includes/Assets.php:920 includes/Assets.php:1097
1938
  msgid "Please enter in a value less than the regular price."
1939
  msgstr ""
1940
 
1941
- #: includes/Assets.php:921 includes/Assets.php:1098
1942
  msgid ""
1943
  "This product has produced sales and may be linked to existing orders. Are "
1944
  "you sure you want to delete it?"
1945
  msgstr ""
1946
 
1947
- #: includes/Assets.php:922 includes/Assets.php:1099
1948
  msgid ""
1949
  "This action cannot be reversed. Are you sure you wish to erase personal "
1950
  "data from the selected orders?"
1951
  msgstr ""
1952
 
1953
- #: includes/Assets.php:932
1954
  msgid "Select and Crop"
1955
  msgstr ""
1956
 
1957
- #: includes/Assets.php:933
1958
  msgid "Choose Image"
1959
  msgstr ""
1960
 
1961
- #: includes/Assets.php:934
1962
  msgid "Product title is required"
1963
  msgstr ""
1964
 
1965
- #: includes/Assets.php:935
1966
  msgid "Product category is required"
1967
  msgstr ""
1968
 
1969
- #: includes/Assets.php:936
1970
  msgid "Product created successfully"
1971
  msgstr ""
1972
 
1973
- #: includes/Assets.php:940
1974
  msgid "One result is available, press enter to select it."
1975
  msgstr ""
1976
 
1977
- #: includes/Assets.php:941
1978
  msgid "%qty% results are available, use up and down arrow keys to navigate."
1979
  msgstr ""
1980
 
1981
- #: includes/Assets.php:942
1982
  msgid "No matches found"
1983
  msgstr ""
1984
 
1985
- #: includes/Assets.php:943
1986
  msgid "Loading failed"
1987
  msgstr ""
1988
 
1989
- #: includes/Assets.php:944
1990
  msgid "Please enter 1 or more characters"
1991
  msgstr ""
1992
 
1993
- #: includes/Assets.php:945
1994
  msgid "Please enter %qty% or more characters"
1995
  msgstr ""
1996
 
1997
- #: includes/Assets.php:946
1998
  msgid "Please delete 1 character"
1999
  msgstr ""
2000
 
2001
- #: includes/Assets.php:947
2002
  msgid "Please delete %qty% characters"
2003
  msgstr ""
2004
 
2005
- #: includes/Assets.php:948
2006
  msgid "You can only select 1 item"
2007
  msgstr ""
2008
 
2009
- #: includes/Assets.php:949
2010
  msgid "You can only select %qty% items"
2011
  msgstr ""
2012
 
2013
- #: includes/Assets.php:950
2014
  msgid "Loading more results&hellip;"
2015
  msgstr ""
2016
 
2017
- #: includes/Assets.php:951
2018
  msgid "Searching&hellip;"
2019
  msgstr ""
2020
 
2021
- #: includes/Assets.php:952
2022
  msgid "Calculating"
2023
  msgstr ""
2024
 
2025
- #: includes/Assets.php:953
2026
  msgid "OK"
2027
  msgstr ""
2028
 
2029
- #: includes/Assets.php:954 includes/Product/functions.php:310
2030
  #: src/admin/components/AdminNotice.vue:158
2031
  #: src/admin/pages/ReverseWithdrawalTransactions.vue:99
2032
- #: templates/my-orders.php:99 templates/orders/details.php:201
2033
  #: templates/products/edit-product-single.php:246
2034
  #: templates/products/new-product.php:232
2035
  #: templates/products/tmpl-add-product-popup.php:68
@@ -2043,19 +2070,19 @@ msgstr ""
2043
  msgid "Cancel"
2044
  msgstr ""
2045
 
2046
- #: includes/Assets.php:955
2047
  msgid "Attribute Name"
2048
  msgstr ""
2049
 
2050
- #: includes/Assets.php:957
2051
  msgid ""
2052
  "Are you sure? You have uploaded banner but didn't click the Update Settings "
2053
  "button!"
2054
  msgstr ""
2055
 
2056
- #: includes/Assets.php:958 templates/settings/header.php:20
2057
  #: templates/settings/payment-manage.php:48
2058
- #: templates/settings/store-form.php:293
2059
  msgid "Update Settings"
2060
  msgstr ""
2061
 
@@ -2411,23 +2438,23 @@ msgstr ""
2411
  msgid "You must attest that the bank account is yours."
2412
  msgstr ""
2413
 
2414
- #: includes/Dashboard/Templates/Settings.php:684
2415
  msgid "Book"
2416
  msgstr ""
2417
 
2418
- #: includes/Dashboard/Templates/Settings.php:685
2419
  msgid "Dress"
2420
  msgstr ""
2421
 
2422
- #: includes/Dashboard/Templates/Settings.php:686
2423
  msgid "Electronic"
2424
  msgstr ""
2425
 
2426
- #: includes/Dashboard/Templates/Settings.php:706
2427
  msgid "Bank Account Settings"
2428
  msgstr ""
2429
 
2430
- #: includes/Dashboard/Templates/Settings.php:711
2431
  msgid "Paypal Settings"
2432
  msgstr ""
2433
 
@@ -3234,7 +3261,7 @@ msgstr ""
3234
 
3235
  #: includes/Privacy.php:178 src/admin/pages/VendorAccountFields.vue:43
3236
  #: src/admin/pages/VendorAccountFields.vue:50
3237
- #: templates/settings/store-form.php:118
3238
  msgid "Store Name"
3239
  msgstr ""
3240
 
@@ -3594,8 +3621,8 @@ msgstr ""
3594
  msgid "Edit"
3595
  msgstr ""
3596
 
3597
- #: includes/Product/functions.php:503 templates/my-orders.php:105
3598
- #: templates/orders/listing.php:162 templates/sub-orders.php:94
3599
  msgid "View"
3600
  msgstr ""
3601
 
@@ -5486,11 +5513,11 @@ msgstr ""
5486
 
5487
  #: includes/Vendor/SetupWizard.php:253
5488
  #: src/admin/pages/VendorAccountFields.vue:70
5489
- #: templates/settings/store-form.php:166
5490
  msgid "Email"
5491
  msgstr ""
5492
 
5493
- #: includes/Vendor/SetupWizard.php:257 templates/settings/store-form.php:171
5494
  msgid "Show email address in store"
5495
  msgstr ""
5496
 
@@ -5551,11 +5578,11 @@ msgstr[1] ""
5551
  msgid "Rated %s out of %d"
5552
  msgstr ""
5553
 
5554
- #: includes/Vendor/Vendor.php:1045 templates/settings/store-form.php:275
5555
  msgid "Store is open"
5556
  msgstr ""
5557
 
5558
- #: includes/Vendor/Vendor.php:1059 templates/settings/store-form.php:283
5559
  msgid "Store is closed"
5560
  msgstr ""
5561
 
@@ -5880,7 +5907,7 @@ msgstr ""
5880
  msgid "Products"
5881
  msgstr ""
5882
 
5883
- #: includes/functions.php:1300 templates/settings/store-form.php:218
5884
  msgid "Terms and Conditions"
5885
  msgstr ""
5886
 
@@ -8362,7 +8389,7 @@ msgstr ""
8362
  msgid "Recent Orders"
8363
  msgstr ""
8364
 
8365
- #: templates/my-orders.php:67 templates/sub-orders.php:83
8366
  #. translators: 1) order total amount 2) item count
8367
  #. translators: 1) order total amount 2) order item count
8368
  msgid "%1$s for %2$s item"
@@ -8370,15 +8397,15 @@ msgid_plural "%1$s for %2$s items"
8370
  msgstr[0] ""
8371
  msgstr[1] ""
8372
 
8373
- #: templates/my-orders.php:80
8374
  msgid "Multiple Vendor"
8375
  msgstr ""
8376
 
8377
- #: templates/my-orders.php:92
8378
  msgid "Pay"
8379
  msgstr ""
8380
 
8381
- #: templates/my-orders.php:125
8382
  msgid "No orders found!"
8383
  msgstr ""
8384
 
@@ -8577,7 +8604,7 @@ msgstr ""
8577
  msgid "%s ago"
8578
  msgstr ""
8579
 
8580
- #: templates/orders/listing.php:129 templates/sub-orders.php:74
8581
  msgid "Shipping Status"
8582
  msgstr ""
8583
 
@@ -9258,64 +9285,64 @@ msgstr ""
9258
  msgid "Open"
9259
  msgstr ""
9260
 
9261
- #: templates/settings/store-form.php:102
9262
  msgid "Profile Picture"
9263
  msgstr ""
9264
 
9265
- #: templates/settings/store-form.php:112
9266
  msgid "Upload Photo"
9267
  msgstr ""
9268
 
9269
- #: templates/settings/store-form.php:121
9270
  msgid "store name"
9271
  msgstr ""
9272
 
9273
- #: templates/settings/store-form.php:133
9274
  #. translators: 1) store page per product count
9275
  msgid "Products to display on store page, default value is %s"
9276
  msgstr ""
9277
 
9278
- #: templates/settings/store-form.php:154
9279
  msgid "Phone No"
9280
  msgstr ""
9281
 
9282
- #: templates/settings/store-form.php:156
9283
  msgid "+123456.."
9284
  msgstr ""
9285
 
9286
- #: templates/settings/store-form.php:179
9287
  msgid "More products"
9288
  msgstr ""
9289
 
9290
- #: templates/settings/store-form.php:184
9291
  msgid "Enable tab on product single page view"
9292
  msgstr ""
9293
 
9294
- #: templates/settings/store-form.php:196
9295
  msgid "Map"
9296
  msgstr ""
9297
 
9298
- #: templates/settings/store-form.php:222
9299
  msgid "Show terms and conditions in store page"
9300
  msgstr ""
9301
 
9302
- #: templates/settings/store-form.php:228
9303
  msgid "TOC Details"
9304
  msgstr ""
9305
 
9306
- #: templates/settings/store-form.php:250
9307
  msgid "Store Schedule"
9308
  msgstr ""
9309
 
9310
- #: templates/settings/store-form.php:257
9311
  msgid "Store has open close time"
9312
  msgstr ""
9313
 
9314
- #: templates/settings/store-form.php:272
9315
  msgid "Store Open Notice"
9316
  msgstr ""
9317
 
9318
- #: templates/settings/store-form.php:280
9319
  msgid "Store Close Notice"
9320
  msgstr ""
9321
 
@@ -9602,6 +9629,41 @@ msgctxt "enhanced select"
9602
  msgid "Searching&hellip;"
9603
  msgstr ""
9604
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9605
  #: includes/Product/functions.php:333
9606
  msgctxt "number of pages"
9607
  msgid "of"
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Dokan 3.7.2\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2022-10-27 04:52:26+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
153
  msgid "Visit Vendor Dashboard"
154
  msgstr ""
155
 
156
+ #: includes/Admin/Hooks.php:67 includes/Admin/Hooks.php:73
157
+ #: includes/Admin/Hooks.php:368 includes/Admin/Settings.php:489
158
+ #: includes/Admin/Settings.php:500 includes/Admin/SetupWizard.php:362
159
+ #: includes/Install/Installer.php:109 includes/Order/Hooks.php:77
160
+ #: includes/wc-template.php:18 includes/wc-template.php:169
161
+ #: includes/wc-template.php:316 src/admin/pages/Dashboard.vue:38
162
+ #: src/admin/pages/Dashboard.vue:47 templates/my-orders.php:35
 
163
  msgid "Vendor"
164
  msgstr ""
165
 
166
+ #: includes/Admin/Hooks.php:68
167
  msgid "Actions"
168
  msgstr ""
169
 
170
+ #: includes/Admin/Hooks.php:69 includes/Admin/Hooks.php:74
171
  msgid "Sub Order"
172
  msgstr ""
173
 
174
+ #: includes/Admin/Hooks.php:127
175
  msgid "&nbsp;Sub Order of"
176
  msgstr ""
177
 
178
+ #: includes/Admin/Hooks.php:135
179
  msgid "Show Sub-Orders"
180
  msgstr ""
181
 
182
+ #: includes/Admin/Hooks.php:135
183
  msgid "Hide Sub-Orders"
184
  msgstr ""
185
 
186
+ #: includes/Admin/Hooks.php:146
187
  msgid "(no name)"
188
  msgstr ""
189
 
190
+ #: includes/Admin/Hooks.php:339
191
  msgid "Toggle Sub-orders"
192
  msgstr ""
193
 
194
+ #: includes/Admin/Hooks.php:395
195
+ msgid "Select vendor"
196
+ msgstr ""
197
+
198
+ #: includes/Admin/Hooks.php:401
199
+ msgid "You can search vendors and assign them."
200
+ msgstr ""
201
+
202
+ #: includes/Admin/Hooks.php:414
203
+ msgid "Unauthorized operation"
204
+ msgstr ""
205
+
206
  #: includes/Admin/Menu.php:39
207
  msgid "Withdraw %s"
208
  msgstr ""
651
  msgstr ""
652
 
653
  #: includes/Admin/Settings.php:449 includes/Vendor/SetupWizard.php:208
654
+ #: templates/settings/store-form.php:127
655
  msgid "Store Products Per Page"
656
  msgstr ""
657
 
1311
  msgstr ""
1312
 
1313
  #: includes/Admin/UserProfile.php:38 includes/Ajax.php:143
1314
+ #: includes/Assets.php:577 src/admin/pages/VendorAccountFields.vue:282
1315
  #: src/admin/pages/VendorAccountFields.vue:314
1316
  #: src/admin/pages/VendorAccountFields.vue:346
1317
  msgid "Available"
1318
  msgstr ""
1319
 
1320
+ #: includes/Admin/UserProfile.php:39 includes/Assets.php:578
1321
  #: src/admin/pages/VendorAccountFields.vue:290
1322
  #: src/admin/pages/VendorAccountFields.vue:322
1323
  msgid "Not Available"
1350
  msgid "Banner"
1351
  msgstr ""
1352
 
1353
+ #: includes/Admin/UserProfile.php:117 templates/settings/store-form.php:74
1354
  msgid "Upload banner"
1355
  msgstr ""
1356
 
1357
+ #: includes/Admin/UserProfile.php:122 templates/settings/store-form.php:88
1358
  #. translators: %1$s: banner width, %2$s: banner height in integers
1359
  #. translators: 1) store banner width 2) store banner height
1360
  msgid "Upload a banner for your store. Banner size is (%1$sx%2$s) pixels."
1476
  msgid "This vendor will be marked as a featured vendor."
1477
  msgstr ""
1478
 
1479
+ #: includes/Admin/functions.php:239 includes/Admin/functions.php:506
1480
  #: includes/REST/AdminReportController.php:140
1481
  msgid "Total Sales"
1482
  msgstr ""
1483
 
1484
+ #: includes/Admin/functions.php:246 includes/Admin/functions.php:513
1485
  msgid "Total: "
1486
  msgstr ""
1487
 
1488
+ #: includes/Admin/functions.php:249 includes/Admin/functions.php:516
1489
  #: includes/REST/AdminReportController.php:148 includes/reports.php:365
1490
  msgid "Number of orders"
1491
  msgstr ""
1492
 
1493
+ #: includes/Admin/functions.php:256 includes/Admin/functions.php:523
1494
  msgid "sales"
1495
  msgstr ""
1496
 
1497
+ #: includes/Admin/functions.php:259 includes/Admin/functions.php:526
1498
  #: includes/REST/AdminReportController.php:155
1499
  msgid "Commision"
1500
  msgstr ""
1501
 
1502
+ #: includes/Admin/functions.php:266 includes/Admin/functions.php:533
1503
  msgid "Commision: "
1504
  msgstr ""
1505
 
1611
  msgid "id param is required"
1612
  msgstr ""
1613
 
1614
+ #: includes/Assets.php:145
1615
+ msgid "Could not find any vendor."
1616
+ msgstr ""
1617
+
1618
+ #: includes/Assets.php:146
1619
+ msgid "Searching vendors"
1620
+ msgstr ""
1621
+
1622
+ #: includes/Assets.php:147
1623
+ msgid "Search vendors"
1624
+ msgstr ""
1625
+
1626
+ #: includes/Assets.php:148
1627
+ msgid "Are you sure ?"
1628
+ msgstr ""
1629
+
1630
+ #: includes/Assets.php:580 includes/Product/functions.php:497
1631
  #: src/admin/components/AdminNotice.vue:153
1632
  msgid "Are you sure?"
1633
  msgstr ""
1634
 
1635
+ #: includes/Assets.php:581
1636
  msgid "Something went wrong. Please try again."
1637
  msgstr ""
1638
 
1639
+ #: includes/Assets.php:589
1640
  msgid "Are you sure you want to revoke access to this download?"
1641
  msgstr ""
1642
 
1643
+ #: includes/Assets.php:590
1644
  msgid ""
1645
  "Could not grant access - the user may already have permission for this file "
1646
  "or billing email is not set. Ensure the billing email is set, and the order "
1647
  "has been saved."
1648
  msgstr ""
1649
 
1650
+ #: includes/Assets.php:711 templates/products/edit-product-single.php:282
1651
  #: templates/products/new-product.php:252
1652
  #: templates/products/tmpl-add-product-popup.php:88
1653
  msgid "To"
1654
  msgstr ""
1655
 
1656
+ #: includes/Assets.php:713 templates/products/edit-product-single.php:275
1657
  #: templates/products/new-product.php:245
1658
  #: templates/products/tmpl-add-product-popup.php:81
1659
  msgid "From"
1660
  msgstr ""
1661
 
1662
+ #: includes/Assets.php:714
1663
  msgid " - "
1664
  msgstr ""
1665
 
1666
+ #: includes/Assets.php:715
1667
  msgid "W"
1668
  msgstr ""
1669
 
1670
+ #: includes/Assets.php:716 src/admin/main.js:27
1671
  #: src/admin/pages/ReverseWithdrawalTransactions.vue:100
1672
  #: templates/orders/listing.php:20 templates/products/products-listing.php:96
1673
  #: templates/store-lists-filter.php:87
1674
  msgid "Apply"
1675
  msgstr ""
1676
 
1677
+ #: includes/Assets.php:717
1678
  #: src/admin/pages/ReverseWithdrawalTransactions.vue:105
1679
  msgid "Clear"
1680
  msgstr ""
1681
 
1682
+ #: includes/Assets.php:718 includes/Withdraw/Hooks.php:46
1683
  msgid "Custom"
1684
  msgstr ""
1685
 
1686
+ #: includes/Assets.php:720
1687
  msgid "Su"
1688
  msgstr ""
1689
 
1690
+ #: includes/Assets.php:721
1691
  msgid "Mo"
1692
  msgstr ""
1693
 
1694
+ #: includes/Assets.php:722
1695
  msgid "Tu"
1696
  msgstr ""
1697
 
1698
+ #: includes/Assets.php:723
1699
  msgid "We"
1700
  msgstr ""
1701
 
1702
+ #: includes/Assets.php:724
1703
  msgid "Th"
1704
  msgstr ""
1705
 
1706
+ #: includes/Assets.php:725
1707
  msgid "Fr"
1708
  msgstr ""
1709
 
1710
+ #: includes/Assets.php:726
1711
  msgid "Sa"
1712
  msgstr ""
1713
 
1714
+ #: includes/Assets.php:729
1715
  msgid "January"
1716
  msgstr ""
1717
 
1718
+ #: includes/Assets.php:730
1719
  msgid "February"
1720
  msgstr ""
1721
 
1722
+ #: includes/Assets.php:731
1723
  msgid "March"
1724
  msgstr ""
1725
 
1726
+ #: includes/Assets.php:732
1727
  msgid "April"
1728
  msgstr ""
1729
 
1730
+ #: includes/Assets.php:733
1731
  msgid "May"
1732
  msgstr ""
1733
 
1734
+ #: includes/Assets.php:734
1735
  msgid "June"
1736
  msgstr ""
1737
 
1738
+ #: includes/Assets.php:735
1739
  msgid "July"
1740
  msgstr ""
1741
 
1742
+ #: includes/Assets.php:736
1743
  msgid "August"
1744
  msgstr ""
1745
 
1746
+ #: includes/Assets.php:737
1747
  msgid "September"
1748
  msgstr ""
1749
 
1750
+ #: includes/Assets.php:738
1751
  msgid "October"
1752
  msgstr ""
1753
 
1754
+ #: includes/Assets.php:739
1755
  msgid "November"
1756
  msgstr ""
1757
 
1758
+ #: includes/Assets.php:740
1759
  msgid "December"
1760
  msgstr ""
1761
 
1762
+ #: includes/Assets.php:756
1763
  msgid "This field is required"
1764
  msgstr ""
1765
 
1766
+ #: includes/Assets.php:757
1767
  msgid "Please fix this field."
1768
  msgstr ""
1769
 
1770
+ #: includes/Assets.php:758
1771
  msgid "Please enter a valid email address."
1772
  msgstr ""
1773
 
1774
+ #: includes/Assets.php:759
1775
  msgid "Please enter a valid URL."
1776
  msgstr ""
1777
 
1778
+ #: includes/Assets.php:760
1779
  msgid "Please enter a valid date."
1780
  msgstr ""
1781
 
1782
+ #: includes/Assets.php:761
1783
  msgid "Please enter a valid date (ISO)."
1784
  msgstr ""
1785
 
1786
+ #: includes/Assets.php:762
1787
  msgid "Please enter a valid number."
1788
  msgstr ""
1789
 
1790
+ #: includes/Assets.php:763
1791
  msgid "Please enter only digits."
1792
  msgstr ""
1793
 
1794
+ #: includes/Assets.php:764
1795
  msgid "Please enter a valid credit card number."
1796
  msgstr ""
1797
 
1798
+ #: includes/Assets.php:765
1799
  msgid "Please enter the same value again."
1800
  msgstr ""
1801
 
1802
+ #: includes/Assets.php:766
1803
  msgid "Please enter no more than {0} characters."
1804
  msgstr ""
1805
 
1806
+ #: includes/Assets.php:767
1807
  msgid "Please enter at least {0} characters."
1808
  msgstr ""
1809
 
1810
+ #: includes/Assets.php:768
1811
  msgid "Please enter a value between {0} and {1} characters long."
1812
  msgstr ""
1813
 
1814
+ #: includes/Assets.php:769
1815
  msgid "Please enter a value between {0} and {1}."
1816
  msgstr ""
1817
 
1818
+ #: includes/Assets.php:770
1819
  msgid "Please enter a value less than or equal to {0}."
1820
  msgstr ""
1821
 
1822
+ #: includes/Assets.php:771
1823
  msgid "Please enter a value greater than or equal to {0}."
1824
  msgstr ""
1825
 
1826
+ #: includes/Assets.php:932
1827
  msgid "Upload featured image"
1828
  msgstr ""
1829
 
1830
+ #: includes/Assets.php:933
1831
  msgid "Choose a file"
1832
  msgstr ""
1833
 
1834
+ #: includes/Assets.php:934
1835
  msgid "Add Images to Product Gallery"
1836
  msgstr ""
1837
 
1838
+ #: includes/Assets.php:935
1839
  msgid "Set featured image"
1840
  msgstr ""
1841
 
1842
+ #: includes/Assets.php:936 includes/woo-views/html-product-download.php:8
1843
  msgid "Insert file URL"
1844
  msgstr ""
1845
 
1846
+ #: includes/Assets.php:937
1847
  msgid "Add to gallery"
1848
  msgstr ""
1849
 
1850
+ #: includes/Assets.php:938
1851
  msgid "Sorry, this attribute option already exists, Try a different one."
1852
  msgstr ""
1853
 
1854
+ #: includes/Assets.php:939
1855
  msgid ""
1856
  "Warning! This product will not have any variations if this option is not "
1857
  "checked."
1858
  msgstr ""
1859
 
1860
+ #: includes/Assets.php:940
1861
  msgid "Enter a name for the new attribute term:"
1862
  msgstr ""
1863
 
1864
+ #: includes/Assets.php:941
1865
  msgid "Remove this attribute?"
1866
  msgstr ""
1867
 
1868
+ #: includes/Assets.php:950
1869
  #. translators: %d: max linked variation.
1870
  msgid ""
1871
  "Are you sure you want to link all variations? This will create a new "
1873
  "(max %d per run)."
1874
  msgstr ""
1875
 
1876
+ #: includes/Assets.php:951
1877
  msgid "Enter a value"
1878
  msgstr ""
1879
 
1880
+ #: includes/Assets.php:952
1881
  msgid "Variation menu order (determines position in the list of variations)"
1882
  msgstr ""
1883
 
1884
+ #: includes/Assets.php:953
1885
  msgid "Enter a value (fixed or %)"
1886
  msgstr ""
1887
 
1888
+ #: includes/Assets.php:954
1889
  msgid "Are you sure you want to delete all variations? This cannot be undone."
1890
  msgstr ""
1891
 
1892
+ #: includes/Assets.php:955
1893
  msgid "Last warning, are you sure?"
1894
  msgstr ""
1895
 
1896
+ #: includes/Assets.php:956
1897
  msgid "Choose an image"
1898
  msgstr ""
1899
 
1900
+ #: includes/Assets.php:957
1901
  msgid "Set variation image"
1902
  msgstr ""
1903
 
1904
+ #: includes/Assets.php:958
1905
  msgid "variation added"
1906
  msgstr ""
1907
 
1908
+ #: includes/Assets.php:959
1909
  msgid "variations added"
1910
  msgstr ""
1911
 
1912
+ #: includes/Assets.php:960
1913
  msgid "No variations added"
1914
  msgstr ""
1915
 
1916
+ #: includes/Assets.php:961
1917
  msgid "Are you sure you want to remove this variation?"
1918
  msgstr ""
1919
 
1920
+ #: includes/Assets.php:962
1921
  msgid "Sale start date (YYYY-MM-DD format or leave blank)"
1922
  msgstr ""
1923
 
1924
+ #: includes/Assets.php:963
1925
  msgid "Sale end date (YYYY-MM-DD format or leave blank)"
1926
  msgstr ""
1927
 
1928
+ #: includes/Assets.php:964
1929
  msgid "Save changes before changing page?"
1930
  msgstr ""
1931
 
1932
+ #: includes/Assets.php:965
1933
  msgid "%qty% variation"
1934
  msgstr ""
1935
 
1936
+ #: includes/Assets.php:966
1937
  msgid "%qty% variations"
1938
  msgstr ""
1939
 
1940
+ #: includes/Assets.php:967
1941
  msgid "No Result Found"
1942
  msgstr ""
1943
 
1944
+ #: includes/Assets.php:968
1945
  msgid "Please insert value less than the regular price!"
1946
  msgstr ""
1947
 
1948
+ #: includes/Assets.php:970 includes/Assets.php:1146
1949
  #. translators: %s: decimal
1950
  msgid "Please enter with one decimal point (%s) without thousand separators."
1951
  msgstr ""
1952
 
1953
+ #: includes/Assets.php:972 includes/Assets.php:1148
1954
  #. translators: %s: price decimal separator
1955
  msgid ""
1956
  "Please enter with one monetary decimal point (%s) without thousand "
1957
  "separators and currency symbols."
1958
  msgstr ""
1959
 
1960
+ #: includes/Assets.php:973 includes/Assets.php:1149
1961
  msgid "Please enter in country code with two capital letters."
1962
  msgstr ""
1963
 
1964
+ #: includes/Assets.php:974 includes/Assets.php:1150
1965
  msgid "Please enter in a value less than the regular price."
1966
  msgstr ""
1967
 
1968
+ #: includes/Assets.php:975 includes/Assets.php:1151
1969
  msgid ""
1970
  "This product has produced sales and may be linked to existing orders. Are "
1971
  "you sure you want to delete it?"
1972
  msgstr ""
1973
 
1974
+ #: includes/Assets.php:976 includes/Assets.php:1152
1975
  msgid ""
1976
  "This action cannot be reversed. Are you sure you wish to erase personal "
1977
  "data from the selected orders?"
1978
  msgstr ""
1979
 
1980
+ #: includes/Assets.php:986
1981
  msgid "Select and Crop"
1982
  msgstr ""
1983
 
1984
+ #: includes/Assets.php:987
1985
  msgid "Choose Image"
1986
  msgstr ""
1987
 
1988
+ #: includes/Assets.php:988
1989
  msgid "Product title is required"
1990
  msgstr ""
1991
 
1992
+ #: includes/Assets.php:989
1993
  msgid "Product category is required"
1994
  msgstr ""
1995
 
1996
+ #: includes/Assets.php:990
1997
  msgid "Product created successfully"
1998
  msgstr ""
1999
 
2000
+ #: includes/Assets.php:994
2001
  msgid "One result is available, press enter to select it."
2002
  msgstr ""
2003
 
2004
+ #: includes/Assets.php:995
2005
  msgid "%qty% results are available, use up and down arrow keys to navigate."
2006
  msgstr ""
2007
 
2008
+ #: includes/Assets.php:996
2009
  msgid "No matches found"
2010
  msgstr ""
2011
 
2012
+ #: includes/Assets.php:997
2013
  msgid "Loading failed"
2014
  msgstr ""
2015
 
2016
+ #: includes/Assets.php:998
2017
  msgid "Please enter 1 or more characters"
2018
  msgstr ""
2019
 
2020
+ #: includes/Assets.php:999
2021
  msgid "Please enter %qty% or more characters"
2022
  msgstr ""
2023
 
2024
+ #: includes/Assets.php:1000
2025
  msgid "Please delete 1 character"
2026
  msgstr ""
2027
 
2028
+ #: includes/Assets.php:1001
2029
  msgid "Please delete %qty% characters"
2030
  msgstr ""
2031
 
2032
+ #: includes/Assets.php:1002
2033
  msgid "You can only select 1 item"
2034
  msgstr ""
2035
 
2036
+ #: includes/Assets.php:1003
2037
  msgid "You can only select %qty% items"
2038
  msgstr ""
2039
 
2040
+ #: includes/Assets.php:1004
2041
  msgid "Loading more results&hellip;"
2042
  msgstr ""
2043
 
2044
+ #: includes/Assets.php:1005
2045
  msgid "Searching&hellip;"
2046
  msgstr ""
2047
 
2048
+ #: includes/Assets.php:1006
2049
  msgid "Calculating"
2050
  msgstr ""
2051
 
2052
+ #: includes/Assets.php:1007
2053
  msgid "OK"
2054
  msgstr ""
2055
 
2056
+ #: includes/Assets.php:1008 includes/Product/functions.php:310
2057
  #: src/admin/components/AdminNotice.vue:158
2058
  #: src/admin/pages/ReverseWithdrawalTransactions.vue:99
2059
+ #: templates/my-orders.php:101 templates/orders/details.php:201
2060
  #: templates/products/edit-product-single.php:246
2061
  #: templates/products/new-product.php:232
2062
  #: templates/products/tmpl-add-product-popup.php:68
2070
  msgid "Cancel"
2071
  msgstr ""
2072
 
2073
+ #: includes/Assets.php:1009
2074
  msgid "Attribute Name"
2075
  msgstr ""
2076
 
2077
+ #: includes/Assets.php:1011
2078
  msgid ""
2079
  "Are you sure? You have uploaded banner but didn't click the Update Settings "
2080
  "button!"
2081
  msgstr ""
2082
 
2083
+ #: includes/Assets.php:1012 templates/settings/header.php:20
2084
  #: templates/settings/payment-manage.php:48
2085
+ #: templates/settings/store-form.php:292
2086
  msgid "Update Settings"
2087
  msgstr ""
2088
 
2438
  msgid "You must attest that the bank account is yours."
2439
  msgstr ""
2440
 
2441
+ #: includes/Dashboard/Templates/Settings.php:682
2442
  msgid "Book"
2443
  msgstr ""
2444
 
2445
+ #: includes/Dashboard/Templates/Settings.php:683
2446
  msgid "Dress"
2447
  msgstr ""
2448
 
2449
+ #: includes/Dashboard/Templates/Settings.php:684
2450
  msgid "Electronic"
2451
  msgstr ""
2452
 
2453
+ #: includes/Dashboard/Templates/Settings.php:704
2454
  msgid "Bank Account Settings"
2455
  msgstr ""
2456
 
2457
+ #: includes/Dashboard/Templates/Settings.php:709
2458
  msgid "Paypal Settings"
2459
  msgstr ""
2460
 
3261
 
3262
  #: includes/Privacy.php:178 src/admin/pages/VendorAccountFields.vue:43
3263
  #: src/admin/pages/VendorAccountFields.vue:50
3264
+ #: templates/settings/store-form.php:117
3265
  msgid "Store Name"
3266
  msgstr ""
3267
 
3621
  msgid "Edit"
3622
  msgstr ""
3623
 
3624
+ #: includes/Product/functions.php:503 templates/my-orders.php:107
3625
+ #: templates/orders/listing.php:162 templates/sub-orders.php:100
3626
  msgid "View"
3627
  msgstr ""
3628
 
5513
 
5514
  #: includes/Vendor/SetupWizard.php:253
5515
  #: src/admin/pages/VendorAccountFields.vue:70
5516
+ #: templates/settings/store-form.php:165
5517
  msgid "Email"
5518
  msgstr ""
5519
 
5520
+ #: includes/Vendor/SetupWizard.php:257 templates/settings/store-form.php:170
5521
  msgid "Show email address in store"
5522
  msgstr ""
5523
 
5578
  msgid "Rated %s out of %d"
5579
  msgstr ""
5580
 
5581
+ #: includes/Vendor/Vendor.php:1045 templates/settings/store-form.php:274
5582
  msgid "Store is open"
5583
  msgstr ""
5584
 
5585
+ #: includes/Vendor/Vendor.php:1059 templates/settings/store-form.php:282
5586
  msgid "Store is closed"
5587
  msgstr ""
5588
 
5907
  msgid "Products"
5908
  msgstr ""
5909
 
5910
+ #: includes/functions.php:1300 templates/settings/store-form.php:217
5911
  msgid "Terms and Conditions"
5912
  msgstr ""
5913
 
8389
  msgid "Recent Orders"
8390
  msgstr ""
8391
 
8392
+ #: templates/my-orders.php:69 templates/sub-orders.php:89
8393
  #. translators: 1) order total amount 2) item count
8394
  #. translators: 1) order total amount 2) order item count
8395
  msgid "%1$s for %2$s item"
8397
  msgstr[0] ""
8398
  msgstr[1] ""
8399
 
8400
+ #: templates/my-orders.php:82
8401
  msgid "Multiple Vendor"
8402
  msgstr ""
8403
 
8404
+ #: templates/my-orders.php:94
8405
  msgid "Pay"
8406
  msgstr ""
8407
 
8408
+ #: templates/my-orders.php:127
8409
  msgid "No orders found!"
8410
  msgstr ""
8411
 
8604
  msgid "%s ago"
8605
  msgstr ""
8606
 
8607
+ #: templates/orders/listing.php:129 templates/sub-orders.php:80
8608
  msgid "Shipping Status"
8609
  msgstr ""
8610
 
9285
  msgid "Open"
9286
  msgstr ""
9287
 
9288
+ #: templates/settings/store-form.php:101
9289
  msgid "Profile Picture"
9290
  msgstr ""
9291
 
9292
+ #: templates/settings/store-form.php:111
9293
  msgid "Upload Photo"
9294
  msgstr ""
9295
 
9296
+ #: templates/settings/store-form.php:120
9297
  msgid "store name"
9298
  msgstr ""
9299
 
9300
+ #: templates/settings/store-form.php:132
9301
  #. translators: 1) store page per product count
9302
  msgid "Products to display on store page, default value is %s"
9303
  msgstr ""
9304
 
9305
+ #: templates/settings/store-form.php:153
9306
  msgid "Phone No"
9307
  msgstr ""
9308
 
9309
+ #: templates/settings/store-form.php:155
9310
  msgid "+123456.."
9311
  msgstr ""
9312
 
9313
+ #: templates/settings/store-form.php:178
9314
  msgid "More products"
9315
  msgstr ""
9316
 
9317
+ #: templates/settings/store-form.php:183
9318
  msgid "Enable tab on product single page view"
9319
  msgstr ""
9320
 
9321
+ #: templates/settings/store-form.php:195
9322
  msgid "Map"
9323
  msgstr ""
9324
 
9325
+ #: templates/settings/store-form.php:221
9326
  msgid "Show terms and conditions in store page"
9327
  msgstr ""
9328
 
9329
+ #: templates/settings/store-form.php:227
9330
  msgid "TOC Details"
9331
  msgstr ""
9332
 
9333
+ #: templates/settings/store-form.php:249
9334
  msgid "Store Schedule"
9335
  msgstr ""
9336
 
9337
+ #: templates/settings/store-form.php:256
9338
  msgid "Store has open close time"
9339
  msgstr ""
9340
 
9341
+ #: templates/settings/store-form.php:271
9342
  msgid "Store Open Notice"
9343
  msgstr ""
9344
 
9345
+ #: templates/settings/store-form.php:279
9346
  msgid "Store Close Notice"
9347
  msgstr ""
9348
 
9629
  msgid "Searching&hellip;"
9630
  msgstr ""
9631
 
9632
+ #: includes/Assets.php:702
9633
+ msgctxt "time constant"
9634
+ msgid "am"
9635
+ msgstr ""
9636
+
9637
+ #: includes/Assets.php:703
9638
+ msgctxt "time constant"
9639
+ msgid "pm"
9640
+ msgstr ""
9641
+
9642
+ #: includes/Assets.php:704
9643
+ msgctxt "time constant"
9644
+ msgid "AM"
9645
+ msgstr ""
9646
+
9647
+ #: includes/Assets.php:705
9648
+ msgctxt "time constant"
9649
+ msgid "PM"
9650
+ msgstr ""
9651
+
9652
+ #: includes/Assets.php:706
9653
+ msgctxt "time constant"
9654
+ msgid "hr"
9655
+ msgstr ""
9656
+
9657
+ #: includes/Assets.php:707
9658
+ msgctxt "time constant"
9659
+ msgid "hrs"
9660
+ msgstr ""
9661
+
9662
+ #: includes/Assets.php:708
9663
+ msgctxt "time constant"
9664
+ msgid "mins"
9665
+ msgstr ""
9666
+
9667
  #: includes/Product/functions.php:333
9668
  msgctxt "number of pages"
9669
  msgid "of"
readme.txt CHANGED
@@ -3,11 +3,11 @@ Contributors: tareq1988, wedevs, nizamuddinbabu
3
  Donate Link: http://tareq.co/donate/
4
  Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi seller store, multi-vendor, multi seller, commissions, multivendor, marketplace, product vendors, woocommerce vendor, commission rate, e-commerce, woocommerce, ebay, ecommerce, yith, yithemes
5
  Requires at least: 5.4
6
- Tested up to: 6.0.2
7
  WC requires at least: 5.0.0
8
- WC tested up to: 6.9.4
9
  Requires PHP: 7.0
10
- Stable tag: 3.7.1
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -313,6 +313,14 @@ A. Just install and activate the PRO version without deleting the free plugin. A
313
 
314
  == Changelog ==
315
 
 
 
 
 
 
 
 
 
316
  = v3.7.1 ( Oct 11, 2022 ) =
317
 
318
  - **fix:** [VariableProduct] Fixed variable product's variation image uploading height size overlapping on price field.
3
  Donate Link: http://tareq.co/donate/
4
  Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi seller store, multi-vendor, multi seller, commissions, multivendor, marketplace, product vendors, woocommerce vendor, commission rate, e-commerce, woocommerce, ebay, ecommerce, yith, yithemes
5
  Requires at least: 5.4
6
+ Tested up to: 6.0.3
7
  WC requires at least: 5.0.0
8
+ WC tested up to: 7.0.0
9
  Requires PHP: 7.0
10
+ Stable tag: 3.7.2
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
313
 
314
  == Changelog ==
315
 
316
+ = v3.7.2 ( Oct 27, 2022 ) =
317
+
318
+ **new:** Added a new filter hooked named `dokan_rest_api_store_collection_params` for StoreController request parameters
319
+ **new:** Introduced `dokanVendorFilterSectionStart` and `DokanGetVendorArgs` js filter hooks
320
+ **fix:** [AdminCommission] - Percentage Commission does not support "comma" as decimal separator under Dokan admin settings `Selling Options` page
321
+ **fix:** [Products] Product author is assigned to the shop manager when the shop manager publishes a product drafted by the admin.
322
+ **fix:** Spaces between paragraphs are too large under the store terms and condition page.
323
+
324
  = v3.7.1 ( Oct 11, 2022 ) =
325
 
326
  - **fix:** [VariableProduct] Fixed variable product's variation image uploading height size overlapping on price field.
templates/admin-setup-wizard/step-store.php CHANGED
@@ -71,7 +71,7 @@
71
  <input type="text" id="mapbox_access_token" name="mapbox_access_token" class="location-input" value="<?php echo esc_attr( $mapbox_access_token ); ?>" />
72
  <p class="description">
73
  <?php
74
- sprintf(
75
  /* translators: %1$s: opening anchor tag, %2$s: closing anchor tag */
76
  esc_html__( '%1$sAccess Token%2$s is needed to display map on store page', 'dokan-lite' ),
77
  '<a href="https://docs.mapbox.com/help/how-mapbox-works/access-tokens/" target="_blank" rel="noopener noreferrer">',
71
  <input type="text" id="mapbox_access_token" name="mapbox_access_token" class="location-input" value="<?php echo esc_attr( $mapbox_access_token ); ?>" />
72
  <p class="description">
73
  <?php
74
+ echo sprintf(
75
  /* translators: %1$s: opening anchor tag, %2$s: closing anchor tag */
76
  esc_html__( '%1$sAccess Token%2$s is needed to display map on store page', 'dokan-lite' ),
77
  '<a href="https://docs.mapbox.com/help/how-mapbox-works/access-tokens/" target="_blank" rel="noopener noreferrer">',
templates/my-orders.php CHANGED
@@ -40,10 +40,12 @@ if ( $customer_orders ) :
40
  <tbody>
41
  <?php
42
  $statuses = wc_get_order_statuses();
 
43
  foreach ( $customer_orders as $customer_order ) {
44
  $order = new WC_Order( $customer_order ); // phpcs:ignore
45
  $item_count = $order->get_item_count();
46
-
 
47
  ?>
48
  <tr class="order">
49
  <td class="order-number">
@@ -52,8 +54,8 @@ if ( $customer_orders ) :
52
  </a>
53
  </td>
54
  <td class="order-date">
55
- <time datetime="<?php echo esc_attr( strtotime( $order->get_date_created() ) ? dokan_current_datetime()->modify( $order->get_date_created() )->format( 'Y-m-dTH:i:s' ) : '' ); ?>"
56
- <?php echo esc_html( dokan_format_date( $order->get_date_created() ) ); ?>
57
  </time>
58
  </td>
59
  <td class="order-status" style="text-align:left; white-space:nowrap;">
40
  <tbody>
41
  <?php
42
  $statuses = wc_get_order_statuses();
43
+ $now = dokan_current_datetime();
44
  foreach ( $customer_orders as $customer_order ) {
45
  $order = new WC_Order( $customer_order ); // phpcs:ignore
46
  $item_count = $order->get_item_count();
47
+ $order_date = $order->get_date_created();
48
+ $order_date = is_a( $order_date, 'WC_DateTime' ) ? $now->setTimestamp( $order_date->getTimestamp() ) : $now;
49
  ?>
50
  <tr class="order">
51
  <td class="order-number">
54
  </a>
55
  </td>
56
  <td class="order-date">
57
+ <time datetime="<?php echo esc_attr( $order_date->format( 'Y-m-dTH:i:s' ) ); ?>">
58
+ <?php echo dokan_format_date( $order_date ); ?>
59
  </time>
60
  </td>
61
  <td class="order-status" style="text-align:left; white-space:nowrap;">
templates/orders/listing.php CHANGED
@@ -108,7 +108,7 @@ if ( $user_orders ) {
108
  $t_time = __( 'Unpublished', 'dokan-lite' );
109
  $h_time = __( 'Unpublished', 'dokan-lite' );
110
  } else {
111
- $now = dokan_current_datetime();
112
  $t_time = $now->modify( $order->get_date_created() );
113
  $time_diff = time() - $t_time->getTimestamp();
114
 
108
  $t_time = __( 'Unpublished', 'dokan-lite' );
109
  $h_time = __( 'Unpublished', 'dokan-lite' );
110
  } else {
111
+ $now = dokan_current_datetime()->setTimezone( new DateTimeZone( 'UTC' ) );
112
  $t_time = $now->modify( $order->get_date_created() );
113
  $time_diff = time() - $t_time->getTimestamp();
114
 
templates/products/inventory.php CHANGED
@@ -15,7 +15,7 @@
15
  <?php dokan_post_input_box( $post_id, '_sku' ); ?>
16
  </div>
17
 
18
- <div class="content-half-part hide_if_variable hide_if_external">
19
  <label for="_stock_status" class="form-label"><?php esc_html_e( 'Stock Status', 'dokan-lite' ); ?></label>
20
 
21
  <?php
15
  <?php dokan_post_input_box( $post_id, '_sku' ); ?>
16
  </div>
17
 
18
+ <div class="content-half-part hide_if_variable hide_if_external hide_if_stock_global">
19
  <label for="_stock_status" class="form-label"><?php esc_html_e( 'Stock Status', 'dokan-lite' ); ?></label>
20
 
21
  <?php
templates/settings/store-form.php CHANGED
@@ -71,7 +71,6 @@ $args = apply_filters( 'dokan_store_time_arguments', $args, $all_times );
71
 
72
  <div class="button-area<?php echo $banner_id ? ' dokan-hide' : ''; ?>">
73
  <i class="fas fa-cloud-upload-alt"></i>
74
-
75
  <a href="#" class="dokan-banner-drag dokan-btn dokan-btn-info dokan-theme dokan-btn-theme"><?php esc_html_e( 'Upload banner', 'dokan-lite' ); ?></a>
76
  <p class="help-block">
77
  <?php
@@ -341,54 +340,50 @@ $args = apply_filters( 'dokan_store_time_arguments', $args, $all_times );
341
 
342
  } );
343
 
344
- // Set timepicker jquery here.
345
- $( '.dokan-store-times .time .opening-time' ).timepicker({
346
- scrollDefault : 'now',
347
- maxTime : '<?php echo 'h:i' === strtolower( wc_time_format() ) ? '23:00' : '11:30 pm'; ?>',
348
- timeFormat : '<?php echo addcslashes( esc_attr( wc_time_format() ), '\\' ); ?>',
349
- step : '<?php echo 'h:i' === strtolower( wc_time_format() ) ? '60' : '30'; ?>',
350
- });
351
-
352
- $( '.dokan-store-times .time .closing-time' ).timepicker({
353
- scrollDefault : 'now',
354
- minTime : '<?php echo 'h:i' === strtolower( wc_time_format() ) ? '00:59' : '00:29 am'; ?>',
355
- maxTime : '<?php echo 'h:i' === strtolower( wc_time_format() ) ? '23:59' : '11:59 pm'; ?>',
356
- timeFormat : '<?php echo addcslashes( esc_attr( wc_time_format() ), '\\' ); ?>',
357
- step : '<?php echo 'h:i' === strtolower( wc_time_format() ) ? '60' : '30'; ?>',
358
- });
359
-
360
- // Add validation for store time when changed.
361
- $( '.dokan-store-times' ).on( 'change', '.dokan-form-group', function () {
362
- const self = $( this ),
363
- openValue = self.find( '.opening-time' ).val(),
364
- closeValue = self.find( '.closing-time' ).val(),
365
- formattedOpenValue = moment( openValue, dokan_get_i18n_time_format() ).format( 'HH:mm' ),
366
- formattedCloseValue = moment( closeValue, dokan_get_i18n_time_format() ).format( 'HH:mm' );
367
-
368
- if ( formattedOpenValue > formattedCloseValue ) {
369
- self.find( 'input.dokan-form-control' ).css({ 'border-color': '#F87171', 'color': '#F87171' });
370
- } else {
371
- self.find( 'input.dokan-form-control' ).css({ 'border-color': '#bbb', 'color': '#4e4e4e' });
372
- }
373
- });
374
 
375
- $( 'input[name="dokan_update_store_settings"]' ).on( 'click', function ( e ) {
376
- $( '.dokan-store-times' ).each( function () {
377
  const self = $( this ),
378
  openValue = self.find( '.opening-time' ).val(),
379
  closeValue = self.find( '.closing-time' ).val(),
380
- formattedOpenValue = moment( openValue, dokan_get_i18n_time_format() ).format( 'HH:mm' ),
381
- formattedCloseValue = moment( closeValue, dokan_get_i18n_time_format() ).format( 'HH:mm' );
382
 
383
- if ( formattedOpenValue > formattedCloseValue && '<?php echo ! dokan()->is_pro_exists(); ?>' ) {
384
  self.find( 'input.dokan-form-control' ).css({ 'border-color': '#F87171', 'color': '#F87171' });
385
- e.preventDefault();
386
- return false;
387
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
388
 
389
- self.find( 'input.dokan-form-control' ).css({ 'border-color': '#bbb', 'color': '#4e4e4e' });
 
390
  });
391
- });
392
 
393
  var dokan_address_wrapper = $( '.dokan-address-fields' );
394
  var dokan_address_select = {
71
 
72
  <div class="button-area<?php echo $banner_id ? ' dokan-hide' : ''; ?>">
73
  <i class="fas fa-cloud-upload-alt"></i>
 
74
  <a href="#" class="dokan-banner-drag dokan-btn dokan-btn-info dokan-theme dokan-btn-theme"><?php esc_html_e( 'Upload banner', 'dokan-lite' ); ?></a>
75
  <p class="help-block">
76
  <?php
340
 
341
  } );
342
 
343
+ <?php if ( ! dokan()->is_pro_exists() ) : ?>
344
+ // Set timepicker jquery here.
345
+ $( '.dokan-store-times .time .dokan-form-control' ).timepicker({
346
+ step : 30,
347
+ lang : dokan_helper.timepicker_locale,
348
+ minTime : '12:00 am',
349
+ maxTime : '11:30 pm',
350
+ timeFormat : '<?php echo addcslashes( esc_attr( wc_time_format() ), '\\' ); ?>',
351
+ scrollDefault : 'now',
352
+ });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
353
 
354
+ // Add validation for store time when changed.
355
+ $( '.dokan-store-times' ).on( 'change', '.dokan-form-group', function () {
356
  const self = $( this ),
357
  openValue = self.find( '.opening-time' ).val(),
358
  closeValue = self.find( '.closing-time' ).val(),
359
+ formattedOpenValue = moment( openValue, 'hh:mm a' ).format( 'HH:mm' ),
360
+ formattedCloseValue = moment( closeValue, 'hh:mm a' ).format( 'HH:mm' );
361
 
362
+ if ( formattedOpenValue > formattedCloseValue ) {
363
  self.find( 'input.dokan-form-control' ).css({ 'border-color': '#F87171', 'color': '#F87171' });
364
+ } else {
365
+ self.find( 'input.dokan-form-control' ).css({ 'border-color': '#bbb', 'color': '#4e4e4e' });
366
  }
367
+ });
368
+
369
+ $( 'input[name="dokan_update_store_settings"]' ).on( 'click', function ( e ) {
370
+ $( '.dokan-store-times' ).each( function () {
371
+ const self = $( this ),
372
+ openValue = self.find( '.opening-time' ).val(),
373
+ closeValue = self.find( '.closing-time' ).val(),
374
+ formattedOpenValue = moment( openValue, 'hh:mm a' ).format( 'HH:mm' ),
375
+ formattedCloseValue = moment( closeValue, 'hh:mm a' ).format( 'HH:mm' );
376
+
377
+ if ( formattedOpenValue >= formattedCloseValue ) {
378
+ self.find( 'input.dokan-form-control' ).css({ 'border-color': '#F87171', 'color': '#F87171' });
379
+ e.preventDefault();
380
+ return false;
381
+ }
382
 
383
+ self.find( 'input.dokan-form-control' ).css({ 'border-color': '#bbb', 'color': '#4e4e4e' });
384
+ });
385
  });
386
+ <?php endif; ?>
387
 
388
  var dokan_address_wrapper = $( '.dokan-address-fields' );
389
  var dokan_address_select = {
templates/settings/store-time.php CHANGED
@@ -2,8 +2,11 @@
2
  <div class="dokan-w6" style="width: auto">
3
  <?php
4
  foreach ( $dokan_days as $day_key => $day ) {
5
- $status = isset( $store_info[ $day_key ]['status'] ) ? $store_info[ $day_key ]['status'] : ''; // phpcs:ignore
6
- $status = isset( $store_info[ $day_key ]['open'] ) ? $store_info[ $day_key ]['open'] : $status; // phpcs:ignore
 
 
 
7
  ?>
8
  <div class="dokan-store-times">
9
  <div class="dokan-form-group">
@@ -20,10 +23,16 @@
20
  </select>
21
  </label>
22
  <label for="opening-time[<?php echo esc_attr( $day_key ); ?>]" class="time" style="visibility: <?php echo isset( $status ) && $status === 'open' ? 'visible' : 'hidden'; ?>" >
23
- <input type="text" class="dokan-form-control opening-time" name="opening_time[<?php echo esc_attr( $day_key ); ?>]" id="opening-time[<?php echo esc_attr( $day_key ); ?>]" placeholder="00:00" value="<?php echo esc_attr( dokan_get_store_times( $day_key, 'opening_time' ) ); ?>" />
 
 
 
24
  </label>
25
  <label for="closing-time[<?php echo esc_attr( $day_key ); ?>]" class="time" style="visibility: <?php echo isset( $status ) && $status === 'open' ? 'visible' : 'hidden'; ?>" >
26
- <input type="text" class="dokan-form-control closing-time" name="closing_time[<?php echo esc_attr( $day_key ); ?>]" id="closing-time[<?php echo esc_attr( $day_key ); ?>]" placeholder="00:00" value="<?php echo esc_attr( dokan_get_store_times( $day_key, 'closing_time' ) ); ?>" />
 
 
 
27
  </label>
28
  </div>
29
  </div>
2
  <div class="dokan-w6" style="width: auto">
3
  <?php
4
  foreach ( $dokan_days as $day_key => $day ) {
5
+ $status = isset( $store_info[ $day_key ]['status'] ) ? $store_info[ $day_key ]['status'] : '';
6
+ $status = isset( $store_info[ $day_key ]['open'] ) ? $store_info[ $day_key ]['open'] : $status;
7
+
8
+ $opening_time = dokan_get_store_times( $day_key, 'opening_time' );
9
+ $closing_time = dokan_get_store_times( $day_key, 'closing_time' );
10
  ?>
11
  <div class="dokan-store-times">
12
  <div class="dokan-form-group">
23
  </select>
24
  </label>
25
  <label for="opening-time[<?php echo esc_attr( $day_key ); ?>]" class="time" style="visibility: <?php echo isset( $status ) && $status === 'open' ? 'visible' : 'hidden'; ?>" >
26
+ <input type="text" class="dokan-form-control opening-time"
27
+ name="opening_time[<?php echo esc_attr( $day_key ); ?>]"
28
+ id="opening-time[<?php echo esc_attr( $day_key ); ?>]" placeholder="00:00"
29
+ value="<?php echo esc_attr( $opening_time ); ?>"/>
30
  </label>
31
  <label for="closing-time[<?php echo esc_attr( $day_key ); ?>]" class="time" style="visibility: <?php echo isset( $status ) && $status === 'open' ? 'visible' : 'hidden'; ?>" >
32
+ <input type="text" class="dokan-form-control closing-time"
33
+ name="closing_time[<?php echo esc_attr( $day_key ); ?>]"
34
+ id="closing-time[<?php echo esc_attr( $day_key ); ?>]" placeholder="00:00"
35
+ value="<?php echo esc_attr( $closing_time === '11:59 pm' ? '11:30 pm' : $closing_time ); ?>"/>
36
  </label>
37
  </div>
38
  </div>
templates/store-toc.php CHANGED
@@ -41,7 +41,7 @@ get_header( 'shop' );
41
  <?php if ( ! empty( $vendor->get_store_tnc() ) ) : ?>
42
  <h2 class="headline"><?php esc_html_e( 'Terms And Conditions', 'dokan-lite' ); ?></h2>
43
  <div>
44
- <?php echo wp_kses_post( nl2br( $vendor->get_store_tnc() ) ); ?>
45
  </div>
46
  <?php
47
  endif;
41
  <?php if ( ! empty( $vendor->get_store_tnc() ) ) : ?>
42
  <h2 class="headline"><?php esc_html_e( 'Terms And Conditions', 'dokan-lite' ); ?></h2>
43
  <div>
44
+ <?php echo wp_kses_post( wpautop( wptexturize( $vendor->get_store_tnc() ) ) ); ?>
45
  </div>
46
  <?php
47
  endif;
templates/sub-orders.php CHANGED
@@ -52,9 +52,15 @@ $wc_shipping_enabled = get_option( 'woocommerce_calc_shipping' ) === 'yes' ? tru
52
  </thead>
53
  <tbody>
54
  <?php
 
55
  foreach ( $sub_orders as $order_post ) {
56
- $order = new WC_Order( $order_post->ID ); // phpcs:ignore
 
 
 
57
  $item_count = $order->get_item_count();
 
 
58
  ?>
59
  <tr class="order">
60
  <td class="order-number">
@@ -63,8 +69,8 @@ $wc_shipping_enabled = get_option( 'woocommerce_calc_shipping' ) === 'yes' ? tru
63
  </a>
64
  </td>
65
  <td class="order-date">
66
- <time datetime="<?php echo esc_attr( dokan_current_datetime()->modify( $order->get_date_created() )->format( 'Y-m-dTH:i:s' ) ); ?>">
67
- <?php echo esc_html( dokan_format_date( $order->get_date_created() ) ); ?>
68
  </time>
69
  </td>
70
  <td class="order-status" style="text-align:left; white-space:nowrap;">
52
  </thead>
53
  <tbody>
54
  <?php
55
+ $now = dokan_current_datetime();
56
  foreach ( $sub_orders as $order_post ) {
57
+ $order = wc_get_order( $order_post->ID ); // phpcs:ignore
58
+ if ( ! $order ) {
59
+ continue;
60
+ }
61
  $item_count = $order->get_item_count();
62
+ $order_date = $order->get_date_created();
63
+ $order_date = is_a( $order_date, 'WC_DateTime' ) ? $now->setTimestamp( $order_date->getTimestamp() ) : $now;
64
  ?>
65
  <tr class="order">
66
  <td class="order-number">
69
  </a>
70
  </td>
71
  <td class="order-date">
72
+ <time datetime="<?php echo esc_attr( $order_date->format( 'Y-m-dTH:i:s' ) ); ?>">
73
+ <?php echo esc_html( dokan_format_date( $order_date ) ); ?>
74
  </time>
75
  </td>
76
  <td class="order-status" style="text-align:left; white-space:nowrap;">
templates/whats-new.php CHANGED
@@ -3,6 +3,36 @@
3
  * When you are adding new version please follow this sequence for changes: New Feature, New, Improvement, Fix...
4
  */
5
  $changelog = [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  [
7
  'version' => 'Version 3.7.1',
8
  'released' => '2022-10-11',
3
  * When you are adding new version please follow this sequence for changes: New Feature, New, Improvement, Fix...
4
  */
5
  $changelog = [
6
+ [
7
+ 'version' => 'Version 3.7.2',
8
+ 'released' => '2022-10-27',
9
+ 'changes' => [
10
+ 'New' => [
11
+ [
12
+ 'title' => 'Added a new filter hooked named `dokan_rest_api_store_collection_params` for StoreController request parameters',
13
+ 'description' => '',
14
+ ],
15
+ [
16
+ 'title' => 'Introduced `dokanVendorFilterSectionStart` and `DokanGetVendorArgs` js filter hooks',
17
+ 'description' => '',
18
+ ],
19
+ ],
20
+ 'Fix' => [
21
+ [
22
+ 'title' => '[AdminCommission] - Percentage Commission does not support "comma" as decimal separator under Dokan admin settings `Selling Options` page',
23
+ 'description' => '',
24
+ ],
25
+ [
26
+ 'title' => '[Products] Product author is assigned to the shop manager when the shop manager publishes a product drafted by the admin.',
27
+ 'description' => '',
28
+ ],
29
+ [
30
+ 'title' => 'Spaces between paragraphs are too large under the store terms and condition page.',
31
+ 'description' => '',
32
+ ],
33
+ ],
34
+ ],
35
+ ],
36
  [
37
  'version' => 'Version 3.7.1',
38
  'released' => '2022-10-11',
vendor/appsero/client/src/License.php CHANGED
@@ -52,11 +52,11 @@ class License {
52
  protected $schedule_hook;
53
 
54
  /**
55
- * Set value for valid licnese
56
  *
57
  * @var bool
58
  */
59
- private $is_valid_licnese = null;
60
 
61
  /**
62
  * Initialize the class
@@ -363,19 +363,19 @@ class License {
363
  * Check this is a valid license
364
  */
365
  public function is_valid() {
366
- if ( null !== $this->is_valid_licnese ) {
367
- return $this->is_valid_licnese;
368
  }
369
 
370
  $license = $this->get_license();
371
 
372
  if ( ! empty( $license['key'] ) && isset( $license['status'] ) && $license['status'] == 'activate' ) {
373
- $this->is_valid_licnese = true;
374
  } else {
375
- $this->is_valid_licnese = false;
376
  }
377
 
378
- return $this->is_valid_licnese;
379
  }
380
 
381
  /**
52
  protected $schedule_hook;
53
 
54
  /**
55
+ * Set value for valid license
56
  *
57
  * @var bool
58
  */
59
+ private $is_valid_license = null;
60
 
61
  /**
62
  * Initialize the class
363
  * Check this is a valid license
364
  */
365
  public function is_valid() {
366
+ if ( null !== $this->is_valid_license ) {
367
+ return $this->is_valid_license;
368
  }
369
 
370
  $license = $this->get_license();
371
 
372
  if ( ! empty( $license['key'] ) && isset( $license['status'] ) && $license['status'] == 'activate' ) {
373
+ $this->is_valid_license = true;
374
  } else {
375
+ $this->is_valid_license = false;
376
  }
377
 
378
+ return $this->is_valid_license;
379
  }
380
 
381
  /**
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit0f80bf178a0af9235100dd334b2bcf1f::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitb857f1aee7ef987be046f4132d92cf67::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit0f80bf178a0af9235100dd334b2bcf1f
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit0f80bf178a0af9235100dd334b2bcf1f
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit0f80bf178a0af9235100dd334b2bcf1f', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit0f80bf178a0af9235100dd334b2bcf1f', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInit0f80bf178a0af9235100dd334b2bcf1f::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,12 +53,12 @@ class ComposerAutoloaderInit0f80bf178a0af9235100dd334b2bcf1f
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInit0f80bf178a0af9235100dd334b2bcf1f::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequire0f80bf178a0af9235100dd334b2bcf1f($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
@@ -70,7 +70,7 @@ class ComposerAutoloaderInit0f80bf178a0af9235100dd334b2bcf1f
70
  * @param string $file
71
  * @return void
72
  */
73
- function composerRequire0f80bf178a0af9235100dd334b2bcf1f($fileIdentifier, $file)
74
  {
75
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
76
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitb857f1aee7ef987be046f4132d92cf67
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInitb857f1aee7ef987be046f4132d92cf67', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInitb857f1aee7ef987be046f4132d92cf67', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInitb857f1aee7ef987be046f4132d92cf67::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
+ $includeFiles = Composer\Autoload\ComposerStaticInitb857f1aee7ef987be046f4132d92cf67::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequireb857f1aee7ef987be046f4132d92cf67($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
70
  * @param string $file
71
  * @return void
72
  */
73
+ function composerRequireb857f1aee7ef987be046f4132d92cf67($fileIdentifier, $file)
74
  {
75
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
76
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit0f80bf178a0af9235100dd334b2bcf1f
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
@@ -250,9 +250,9 @@ class ComposerStaticInit0f80bf178a0af9235100dd334b2bcf1f
250
  public static function getInitializer(ClassLoader $loader)
251
  {
252
  return \Closure::bind(function () use ($loader) {
253
- $loader->prefixLengthsPsr4 = ComposerStaticInit0f80bf178a0af9235100dd334b2bcf1f::$prefixLengthsPsr4;
254
- $loader->prefixDirsPsr4 = ComposerStaticInit0f80bf178a0af9235100dd334b2bcf1f::$prefixDirsPsr4;
255
- $loader->classMap = ComposerStaticInit0f80bf178a0af9235100dd334b2bcf1f::$classMap;
256
 
257
  }, null, ClassLoader::class);
258
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitb857f1aee7ef987be046f4132d92cf67
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
250
  public static function getInitializer(ClassLoader $loader)
251
  {
252
  return \Closure::bind(function () use ($loader) {
253
+ $loader->prefixLengthsPsr4 = ComposerStaticInitb857f1aee7ef987be046f4132d92cf67::$prefixLengthsPsr4;
254
+ $loader->prefixDirsPsr4 = ComposerStaticInitb857f1aee7ef987be046f4132d92cf67::$prefixDirsPsr4;
255
+ $loader->classMap = ComposerStaticInitb857f1aee7ef987be046f4132d92cf67::$classMap;
256
 
257
  }, null, ClassLoader::class);
258
  }
vendor/composer/installed.json CHANGED
@@ -7,18 +7,18 @@
7
  "source": {
8
  "type": "git",
9
  "url": "https://github.com/Appsero/client.git",
10
- "reference": "d110c537f4ca92ac7f3398eee67cc6bdf506a4fb"
11
  },
12
  "dist": {
13
  "type": "zip",
14
- "url": "https://api.github.com/repos/Appsero/client/zipball/d110c537f4ca92ac7f3398eee67cc6bdf506a4fb",
15
- "reference": "d110c537f4ca92ac7f3398eee67cc6bdf506a4fb",
16
  "shasum": ""
17
  },
18
  "require": {
19
  "php": ">=5.3"
20
  },
21
- "time": "2022-06-30T12:01:38+00:00",
22
  "default-branch": true,
23
  "type": "library",
24
  "installation-source": "dist",
@@ -46,7 +46,7 @@
46
  ],
47
  "support": {
48
  "issues": "https://github.com/Appsero/client/issues",
49
- "source": "https://github.com/Appsero/client/tree/v1.2.1"
50
  },
51
  "install-path": "../appsero/client"
52
  },
7
  "source": {
8
  "type": "git",
9
  "url": "https://github.com/Appsero/client.git",
10
+ "reference": "169978e17a1aa765fc12fb008569c3e1e8740002"
11
  },
12
  "dist": {
13
  "type": "zip",
14
+ "url": "https://api.github.com/repos/Appsero/client/zipball/169978e17a1aa765fc12fb008569c3e1e8740002",
15
+ "reference": "169978e17a1aa765fc12fb008569c3e1e8740002",
16
  "shasum": ""
17
  },
18
  "require": {
19
  "php": ">=5.3"
20
  },
21
+ "time": "2022-10-07T06:21:17+00:00",
22
  "default-branch": true,
23
  "type": "library",
24
  "installation-source": "dist",
46
  ],
47
  "support": {
48
  "issues": "https://github.com/Appsero/client/issues",
49
+ "source": "https://github.com/Appsero/client/tree/develop"
50
  },
51
  "install-path": "../appsero/client"
52
  },
vendor/composer/installed.php CHANGED
@@ -18,7 +18,7 @@
18
  'aliases' => array(
19
  0 => '9999999-dev',
20
  ),
21
- 'reference' => 'd110c537f4ca92ac7f3398eee67cc6bdf506a4fb',
22
  'dev_requirement' => false,
23
  ),
24
  'jakeasmith/http_build_url' => array(
18
  'aliases' => array(
19
  0 => '9999999-dev',
20
  ),
21
+ 'reference' => '169978e17a1aa765fc12fb008569c3e1e8740002',
22
  'dev_requirement' => false,
23
  ),
24
  'jakeasmith/http_build_url' => array(