WooCommerce Admin - Version 1.6.2

Version Description

10/16/2020 = - Fix: Missing activity panels on ugraded sites #5400 - Fix: Casting of onboarding profile data to array #5415 - Fix: Gutenberg 9.1.1 compat for inbox on home screen not showing #5416 - Fix: i18n of Performance Indicator strings #5405 - Fix: Gutenberg 9.1.1 compat for empty data sets #5409

Download this release

Release Info

Developer timmydcrawford
Plugin Icon 128x128 WooCommerce Admin
Version 1.6.2
Comparing to
See all releases

Code changes from version 1.6.1 to 1.6.2

Files changed (33) hide show
  1. dist/app/index.js +16 -13
  2. dist/app/index.min.js +1 -1
  3. dist/chunks/{0.c2bc01c0f1fb53b04619.js → 0.d82e0e3293a5788ce1b3.js} +1 -1
  4. dist/chunks/{0.c2bc01c0f1fb53b04619.min.js → 0.d82e0e3293a5788ce1b3.min.js} +1 -1
  5. dist/chunks/{10.6ab65bcdbb9b1d18130c.js → 10.5ad18ec555981926de5a.js} +0 -0
  6. dist/chunks/{10.6ab65bcdbb9b1d18130c.min.js → 10.5ad18ec555981926de5a.min.js} +0 -0
  7. dist/chunks/{11.384a5698a2a07a903f33.js → 11.e31ce9931c09bfa70ffd.js} +1 -1
  8. dist/chunks/{11.384a5698a2a07a903f33.min.js → 11.e31ce9931c09bfa70ffd.min.js} +1 -1
  9. dist/chunks/{12.d3d073fe29a28388f6d5.js → 12.1e3fd4a0eb677c221f97.js} +1 -1
  10. dist/chunks/{12.d3d073fe29a28388f6d5.min.js → 12.1e3fd4a0eb677c221f97.min.js} +1 -1
  11. dist/chunks/{14.923b981e22307e59a68a.js → 14.57ecb260ced16ea3d9cd.js} +1 -1
  12. dist/chunks/{14.923b981e22307e59a68a.min.js → 14.57ecb260ced16ea3d9cd.min.js} +1 -1
  13. dist/chunks/{15.572e1639820c8c18c276.js → 15.b43dc4898cfe64a80f40.js} +5 -3
  14. dist/chunks/{15.572e1639820c8c18c276.min.js → 15.b43dc4898cfe64a80f40.min.js} +1 -1
  15. dist/chunks/{16.9370d88cd0f7048fe9ed.js → 16.49b97e6388f1e4ab98e0.js} +2 -2
  16. dist/chunks/{16.9370d88cd0f7048fe9ed.min.js → 16.49b97e6388f1e4ab98e0.min.js} +1 -1
  17. dist/chunks/{17.7b9db75b449e14126c7a.js → 17.3bb7411d9278dab5881f.js} +5 -3
  18. dist/chunks/{17.7b9db75b449e14126c7a.min.js → 17.3bb7411d9278dab5881f.min.js} +1 -1
  19. dist/chunks/{18.c46cd1104731242c53c6.js → 18.9a8ad51cd904fce65ba8.js} +5 -3
  20. dist/chunks/{18.c46cd1104731242c53c6.min.js → 18.9a8ad51cd904fce65ba8.min.js} +1 -1
  21. dist/chunks/{20.bb65ad22ea85233709c5.js → 20.4da69c21435efd2c9e40.js} +5 -3
  22. dist/chunks/{20.bb65ad22ea85233709c5.min.js → 20.4da69c21435efd2c9e40.min.js} +1 -1
  23. dist/chunks/{21.46016e50e137d2ae3be4.js → 21.0573c8f697c9f049bb48.js} +2 -1
  24. dist/chunks/21.0573c8f697c9f049bb48.min.js +1 -0
  25. dist/chunks/21.46016e50e137d2ae3be4.min.js +0 -1
  26. dist/chunks/{22.aab27cc10f4e6eb24302.js → 22.236bdfd5d0b2ac1d6f41.js} +5 -3
  27. dist/chunks/{22.aab27cc10f4e6eb24302.min.js → 22.236bdfd5d0b2ac1d6f41.min.js} +1 -1
  28. dist/chunks/{23.5ebca0cf8e55385565f0.js → 23.2a199043713d4e1770f4.js} +0 -0
  29. dist/chunks/{23.5ebca0cf8e55385565f0.min.js → 23.2a199043713d4e1770f4.min.js} +0 -0
  30. dist/chunks/{28.672662c30b69eaf59341.js → 28.381aadd00d85f921db60.js} +1 -1
  31. dist/chunks/{28.672662c30b69eaf59341.min.js → 28.381aadd00d85f921db60.min.js} +1 -1
  32. dist/chunks/{34.1e9bc8608472c4f5be27.js → 34.d3144bb875308a09d8d7.js} +1 -11
  33. dist/chunks/{34.1e9bc8608472c4f5be27.min.js → 34.d3144bb875308a09d8d7.min.js} +0 -1
dist/app/index.js CHANGED
@@ -52,7 +52,7 @@ this["wc"] = this["wc"] || {}; this["wc"]["app"] =
52
  /******/
53
  /******/ // script path function
54
  /******/ function jsonpScriptSrc(chunkId) {
55
- /******/ return __webpack_require__.p + "chunks/" + chunkId + "." + {"0":"c2bc01c0f1fb53b04619","1":"9c6240fe0285336d4601","2":"7c37f2d162f480b8a1f8","3":"9d9bcc97f47cdfb1b68d","4":"569ef0d82e269809ccea","5":"c750e100a6fdd3a69f62","6":"a1cfaa769c3ae60919e3","7":"c9ed2f5aab5e118da74b","8":"88cdb058cc37250e3894","9":"17f4ec69378f7c8ffa0d","10":"6ab65bcdbb9b1d18130c","11":"384a5698a2a07a903f33","12":"d3d073fe29a28388f6d5","13":"1fb65e2fff8975ecf26a","14":"923b981e22307e59a68a","15":"572e1639820c8c18c276","16":"9370d88cd0f7048fe9ed","17":"7b9db75b449e14126c7a","18":"c46cd1104731242c53c6","19":"2c402410e34b9bac52cb","20":"bb65ad22ea85233709c5","21":"46016e50e137d2ae3be4","22":"aab27cc10f4e6eb24302","23":"5ebca0cf8e55385565f0","28":"672662c30b69eaf59341","29":"18be233035c4325ece57","30":"7e1d8028430fa7148071","33":"1d4c376e447be418680d","34":"1e9bc8608472c4f5be27","36":"d4e2bf3905e220b74d65","38":"6d42b4a3f810d63a4d1f","46":"45fd9f1a980110080b85","47":"28791f36dc275728980e","48":"77063cbcc06c66457bda","49":"e78eb9119c8eac3f6923","51":"7833f6f14975491e98af","52":"6c12fab082eddf9686fc","53":"a3f503c6370338b21be2","54":"7fac56b68b9f3e25d29a"}[chunkId] + ".js"
56
  /******/ }
57
  /******/
58
  /******/ // The require function
@@ -7124,6 +7124,7 @@ var controller_Controller = /*#__PURE__*/function (_Component) {
7124
  key: "componentDidMount",
7125
  value: function componentDidMount() {
7126
  window.document.documentElement.scrollTop = 0;
 
7127
  }
7128
  }, {
7129
  key: "componentDidUpdate",
@@ -7628,10 +7629,10 @@ var InboxPanel = Object(external_this_wp_element_["lazy"])(function () {
7628
  return Promise.all(/* import() | activity-panels-inbox */[__webpack_require__.e(2), __webpack_require__.e(4), __webpack_require__.e(5), __webpack_require__.e(52), __webpack_require__.e(10)]).then(__webpack_require__.bind(null, 762));
7629
  });
7630
  var OrdersPanel = Object(external_this_wp_element_["lazy"])(function () {
7631
- return Promise.all(/* import() | activity-panels-orders */[__webpack_require__.e(2), __webpack_require__.e(4), __webpack_require__.e(11)]).then(__webpack_require__.bind(null, 913));
7632
  });
7633
  var StockPanel = Object(external_this_wp_element_["lazy"])(function () {
7634
- return Promise.all(/* import() | activity-panels-stock */[__webpack_require__.e(2), __webpack_require__.e(4), __webpack_require__.e(12)]).then(__webpack_require__.bind(null, 914));
7635
  });
7636
  var ReviewsPanel = Object(external_this_wp_element_["lazy"])(function () {
7637
  return Promise.all(/* import() | activity-panels-inbox */[__webpack_require__.e(2), __webpack_require__.e(4), __webpack_require__.e(5), __webpack_require__.e(52), __webpack_require__.e(10)]).then(__webpack_require__.bind(null, 903));
@@ -7734,6 +7735,8 @@ var activity_panel_ActivityPanel = /*#__PURE__*/function (_Component) {
7734
  location = _this$props$getHistor.location;
7735
 
7736
  var showInbox = (isEmbedded || location.pathname !== '/') && !isPerformingSetupTask;
 
 
7737
  var inbox = showInbox ? {
7738
  name: 'inbox',
7739
  title: Object(external_this_wp_i18n_["__"])('Inbox', 'woocommerce-admin'),
@@ -7742,12 +7745,12 @@ var activity_panel_ActivityPanel = /*#__PURE__*/function (_Component) {
7742
  }, "inbox"),
7743
  unread: hasUnreadNotes
7744
  } : null;
7745
- var setup = !taskListComplete && !isPerformingSetupTask && !taskListHidden ? {
7746
  name: 'setup',
7747
  title: Object(external_this_wp_i18n_["__"])('Store Setup', 'woocommerce-admin'),
7748
  icon: Object(external_this_wp_element_["createElement"])(setup_progress_SetupProgress, null)
7749
  } : null;
7750
- var ordersStockAndReviews = taskListComplete && !isPerformingSetupTask ? [{
7751
  name: 'orders',
7752
  title: Object(external_this_wp_i18n_["__"])('Orders', 'woocommerce-admin'),
7753
  icon: Object(external_this_wp_element_["createElement"])(pages_default.a, null),
@@ -8584,7 +8587,7 @@ function layout_isNativeReflectConstruct() { if (typeof Reflect === "undefined"
8584
 
8585
 
8586
  var StoreAlerts = Object(external_this_wp_element_["lazy"])(function () {
8587
- return Promise.all(/* import() | store-alerts */[__webpack_require__.e(5), __webpack_require__.e(47)]).then(__webpack_require__.bind(null, 912));
8588
  });
8589
  var layout_PrimaryLayout = /*#__PURE__*/function (_Component) {
8590
  inherits_default()(PrimaryLayout, _Component);
@@ -13056,31 +13059,31 @@ var REPORTS_FILTER = 'woocommerce_admin_reports_list';
13056
  */
13057
 
13058
  var RevenueReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13059
- return Promise.all(/* import() | analytics-report-revenue */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(20)]).then(__webpack_require__.bind(null, 705));
13060
  });
13061
  var ProductsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13062
  return Promise.all(/* import() | analytics-report-products */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(7), __webpack_require__.e(19)]).then(__webpack_require__.bind(null, 706));
13063
  });
13064
  var OrdersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13065
- return Promise.all(/* import() | analytics-report-orders */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(18)]).then(__webpack_require__.bind(null, 707));
13066
  });
13067
  var CategoriesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13068
- return Promise.all(/* import() | analytics-report-categories */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(7), __webpack_require__.e(14)]).then(__webpack_require__.bind(null, 703));
13069
  });
13070
  var CouponsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13071
- return Promise.all(/* import() | analytics-report-coupons */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(15)]).then(__webpack_require__.bind(null, 708));
13072
  });
13073
  var TaxesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13074
- return Promise.all(/* import() | analytics-report-taxes */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(22)]).then(__webpack_require__.bind(null, 709));
13075
  });
13076
  var DownloadsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13077
- return Promise.all(/* import() | analytics-report-downloads */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(17)]).then(__webpack_require__.bind(null, 710));
13078
  });
13079
  var StockReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13080
  return Promise.all(/* import() | analytics-report-stock */[__webpack_require__.e(1), __webpack_require__.e(0), __webpack_require__.e(21)]).then(__webpack_require__.bind(null, 702));
13081
  });
13082
  var CustomersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13083
- return Promise.all(/* import() | analytics-report-customers */[__webpack_require__.e(1), __webpack_require__.e(0), __webpack_require__.e(16)]).then(__webpack_require__.bind(null, 704));
13084
  });
13085
  /* harmony default export */ __webpack_exports__["a"] = (function () {
13086
  var reports = [{
52
  /******/
53
  /******/ // script path function
54
  /******/ function jsonpScriptSrc(chunkId) {
55
+ /******/ return __webpack_require__.p + "chunks/" + chunkId + "." + {"0":"d82e0e3293a5788ce1b3","1":"9c6240fe0285336d4601","2":"7c37f2d162f480b8a1f8","3":"9d9bcc97f47cdfb1b68d","4":"569ef0d82e269809ccea","5":"c750e100a6fdd3a69f62","6":"a1cfaa769c3ae60919e3","7":"98d5571225e8bb353b9c","8":"88cdb058cc37250e3894","9":"17f4ec69378f7c8ffa0d","10":"5ad18ec555981926de5a","11":"e31ce9931c09bfa70ffd","12":"1e3fd4a0eb677c221f97","13":"1fb65e2fff8975ecf26a","14":"57ecb260ced16ea3d9cd","15":"b43dc4898cfe64a80f40","16":"49b97e6388f1e4ab98e0","17":"3bb7411d9278dab5881f","18":"9a8ad51cd904fce65ba8","19":"2c402410e34b9bac52cb","20":"4da69c21435efd2c9e40","21":"0573c8f697c9f049bb48","22":"236bdfd5d0b2ac1d6f41","23":"2a199043713d4e1770f4","28":"381aadd00d85f921db60","29":"18be233035c4325ece57","30":"7e1d8028430fa7148071","33":"1d4c376e447be418680d","34":"d3144bb875308a09d8d7","36":"22aea36f504a5d4259ea","38":"6eb0f9093968baecc7b4","46":"c754aac4b14123e58adb","47":"cd57928eaf0f6b1653b7","48":"77063cbcc06c66457bda","49":"e78eb9119c8eac3f6923","51":"7833f6f14975491e98af","52":"6c12fab082eddf9686fc","53":"a3f503c6370338b21be2","54":"7fac56b68b9f3e25d29a"}[chunkId] + ".js"
56
  /******/ }
57
  /******/
58
  /******/ // The require function
7124
  key: "componentDidMount",
7125
  value: function componentDidMount() {
7126
  window.document.documentElement.scrollTop = 0;
7127
+ window.document.body.classList.remove('woocommerce-admin-is-loading');
7128
  }
7129
  }, {
7130
  key: "componentDidUpdate",
7629
  return Promise.all(/* import() | activity-panels-inbox */[__webpack_require__.e(2), __webpack_require__.e(4), __webpack_require__.e(5), __webpack_require__.e(52), __webpack_require__.e(10)]).then(__webpack_require__.bind(null, 762));
7630
  });
7631
  var OrdersPanel = Object(external_this_wp_element_["lazy"])(function () {
7632
+ return Promise.all(/* import() | activity-panels-orders */[__webpack_require__.e(2), __webpack_require__.e(4), __webpack_require__.e(11)]).then(__webpack_require__.bind(null, 912));
7633
  });
7634
  var StockPanel = Object(external_this_wp_element_["lazy"])(function () {
7635
+ return Promise.all(/* import() | activity-panels-stock */[__webpack_require__.e(2), __webpack_require__.e(4), __webpack_require__.e(12)]).then(__webpack_require__.bind(null, 913));
7636
  });
7637
  var ReviewsPanel = Object(external_this_wp_element_["lazy"])(function () {
7638
  return Promise.all(/* import() | activity-panels-inbox */[__webpack_require__.e(2), __webpack_require__.e(4), __webpack_require__.e(5), __webpack_require__.e(52), __webpack_require__.e(10)]).then(__webpack_require__.bind(null, 903));
7735
  location = _this$props$getHistor.location;
7736
 
7737
  var showInbox = (isEmbedded || location.pathname !== '/') && !isPerformingSetupTask;
7738
+ var showOrdersStockAndReviews = (taskListComplete || taskListHidden) && !isPerformingSetupTask;
7739
+ var showStoreSetup = !taskListComplete && !taskListHidden && !isPerformingSetupTask;
7740
  var inbox = showInbox ? {
7741
  name: 'inbox',
7742
  title: Object(external_this_wp_i18n_["__"])('Inbox', 'woocommerce-admin'),
7745
  }, "inbox"),
7746
  unread: hasUnreadNotes
7747
  } : null;
7748
+ var setup = showStoreSetup ? {
7749
  name: 'setup',
7750
  title: Object(external_this_wp_i18n_["__"])('Store Setup', 'woocommerce-admin'),
7751
  icon: Object(external_this_wp_element_["createElement"])(setup_progress_SetupProgress, null)
7752
  } : null;
7753
+ var ordersStockAndReviews = showOrdersStockAndReviews ? [{
7754
  name: 'orders',
7755
  title: Object(external_this_wp_i18n_["__"])('Orders', 'woocommerce-admin'),
7756
  icon: Object(external_this_wp_element_["createElement"])(pages_default.a, null),
8587
 
8588
 
8589
  var StoreAlerts = Object(external_this_wp_element_["lazy"])(function () {
8590
+ return Promise.all(/* import() | store-alerts */[__webpack_require__.e(5), __webpack_require__.e(47)]).then(__webpack_require__.bind(null, 915));
8591
  });
8592
  var layout_PrimaryLayout = /*#__PURE__*/function (_Component) {
8593
  inherits_default()(PrimaryLayout, _Component);
13059
  */
13060
 
13061
  var RevenueReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13062
+ return Promise.all(/* import() | analytics-report-revenue */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(20)]).then(__webpack_require__.bind(null, 707));
13063
  });
13064
  var ProductsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13065
  return Promise.all(/* import() | analytics-report-products */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(7), __webpack_require__.e(19)]).then(__webpack_require__.bind(null, 706));
13066
  });
13067
  var OrdersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13068
+ return Promise.all(/* import() | analytics-report-orders */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(18)]).then(__webpack_require__.bind(null, 710));
13069
  });
13070
  var CategoriesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13071
+ return Promise.all(/* import() | analytics-report-categories */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(7), __webpack_require__.e(14)]).then(__webpack_require__.bind(null, 704));
13072
  });
13073
  var CouponsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13074
+ return Promise.all(/* import() | analytics-report-coupons */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(15)]).then(__webpack_require__.bind(null, 709));
13075
  });
13076
  var TaxesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13077
+ return Promise.all(/* import() | analytics-report-taxes */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(22)]).then(__webpack_require__.bind(null, 705));
13078
  });
13079
  var DownloadsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13080
+ return Promise.all(/* import() | analytics-report-downloads */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(0), __webpack_require__.e(17)]).then(__webpack_require__.bind(null, 708));
13081
  });
13082
  var StockReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13083
  return Promise.all(/* import() | analytics-report-stock */[__webpack_require__.e(1), __webpack_require__.e(0), __webpack_require__.e(21)]).then(__webpack_require__.bind(null, 702));
13084
  });
13085
  var CustomersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
13086
+ return Promise.all(/* import() | analytics-report-customers */[__webpack_require__.e(1), __webpack_require__.e(0), __webpack_require__.e(16)]).then(__webpack_require__.bind(null, 703));
13087
  });
13088
  /* harmony default export */ __webpack_exports__["a"] = (function () {
13089
  var reports = [{
dist/app/index.min.js CHANGED
@@ -1,2 +1,2 @@
1
  /*! For license information please see index.min.js.LICENSE.txt */
2
- this.wc=this.wc||{},this.wc.app=function(e){function t(t){for(var n,r,o=t[0],i=t[1],a=0,s=[];a<o.length;a++)r=o[a],Object.prototype.hasOwnProperty.call(c,r)&&c[r]&&s.push(c[r][0]),c[r]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(u&&u(t);s.length;)s.shift()()}var n={},r={24:0},c={24:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{0:1,7:1,9:1,10:1,11:1,12:1,13:1,18:1,23:1,29:1,30:1,33:1,34:1,36:1,38:1,46:1,47:1,48:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var c="rtl"===document.dir?"./chunks/"+e+".style.rtl.css":"./chunks/"+e+".style.css",i=o.p+c,a=document.getElementsByTagName("link"),s=0;s<a.length;s++){var u=(f=a[s]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(u===c||u===i))return t()}var l=document.getElementsByTagName("style");for(s=0;s<l.length;s++){var f;if((u=(f=l[s]).getAttribute("data-href"))===c||u===i)return t()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.setAttribute("data-webpack",!0),h.onload=t,h.onerror=function(t){var c=t&&t.target&&t.target.src||i,o=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=c,delete r[e],h.parentNode.removeChild(h),n(o)},h.href=i,document.getElementsByTagName("head")[0].appendChild(h)})).then((function(){r[e]=0})));var n=c[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,r){n=c[e]=[t,r]}));t.push(n[2]=i);var a,s=document.createElement("script");s.charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.src=function(e){return o.p+"chunks/"+e+"."+{0:"c2bc01c0f1fb53b04619",1:"9c6240fe0285336d4601",2:"7c37f2d162f480b8a1f8",3:"9d9bcc97f47cdfb1b68d",4:"569ef0d82e269809ccea",5:"c750e100a6fdd3a69f62",6:"a1cfaa769c3ae60919e3",7:"c9ed2f5aab5e118da74b",8:"88cdb058cc37250e3894",9:"17f4ec69378f7c8ffa0d",10:"6ab65bcdbb9b1d18130c",11:"384a5698a2a07a903f33",12:"d3d073fe29a28388f6d5",13:"1fb65e2fff8975ecf26a",14:"923b981e22307e59a68a",15:"572e1639820c8c18c276",16:"9370d88cd0f7048fe9ed",17:"7b9db75b449e14126c7a",18:"c46cd1104731242c53c6",19:"2c402410e34b9bac52cb",20:"bb65ad22ea85233709c5",21:"46016e50e137d2ae3be4",22:"aab27cc10f4e6eb24302",23:"5ebca0cf8e55385565f0",28:"672662c30b69eaf59341",29:"18be233035c4325ece57",30:"7e1d8028430fa7148071",33:"1d4c376e447be418680d",34:"1e9bc8608472c4f5be27",36:"d4e2bf3905e220b74d65",38:"6d42b4a3f810d63a4d1f",46:"45fd9f1a980110080b85",47:"28791f36dc275728980e",48:"77063cbcc06c66457bda",49:"e78eb9119c8eac3f6923",51:"7833f6f14975491e98af",52:"6c12fab082eddf9686fc",53:"a3f503c6370338b21be2",54:"7fac56b68b9f3e25d29a"}[e]+".min.js"}(e);var u=new Error;a=function(t){s.onerror=s.onload=null,clearTimeout(l);var n=c[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",u.name="ChunkLoadError",u.type=r,u.request=o,n[1](u)}c[e]=void 0}};var l=setTimeout((function(){a({type:"timeout",target:s})}),12e4);s.onerror=s.onload=a,document.head.appendChild(s)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var i=window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var u=a;return o(o.s=521)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t,n){e.exports=n(142)()},10:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},100:function(e,t,n){"use strict";var r=n(28),c=n(20),o=n(21),i=n(23),a=n(7),s=n(22),u=n(0),l=n(2),f=n(74),h=n(18);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var v=Object(u.createContext)({focusHistory:[]}),p=v.Provider,m=v.Consumer;p.displayName="FocusReturnProvider",m.displayName="FocusReturnConsumer";u.Component;function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}t.a=Object(f.a)((function e(t){if((f=t)instanceof u.Component||"function"==typeof f){var n=t;return e({})(n)}var f,h=t.onFocusReturn,d=void 0===h?l.stubTrue:h;return function(e){var t=function(t){Object(s.a)(h,t);var n,f=(n=h,function(){var e,t=Object(a.a)(n);if(b()){var r=Object(a.a)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function h(){var e;return Object(c.a)(this,h),(e=f.apply(this,arguments)).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Object(o.a)(h,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==d())for(var c,o=[].concat(Object(r.a)(l.without.apply(void 0,[this.props.focus.focusHistory].concat(Object(r.a)(n)))),[e]);c=o.pop();)if(document.body.contains(c))return void c.focus()}},{key:"render",value:function(){return Object(u.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(u.createElement)(e,this.props.childProps))}}]),h}(u.Component);return function(e){return Object(u.createElement)(m,null,(function(n){return Object(u.createElement)(t,{childProps:e,focus:n})}))}}}),"withFocusReturn")},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(27),c=n(0);function o(e){var t=Object(c.useState)(e&&window.matchMedia(e).matches),n=Object(r.a)(t,2),o=n[0],i=n[1];return Object(c.useEffect)((function(){if(e){var t=function(){return i(window.matchMedia(e).matches)};t();var n=window.matchMedia(e);return n.addListener(t),function(){n.removeListener(t)}}}),[e]),e&&o}},102:function(e,t,n){"use strict";(function(e){function r(t){void 0!==e&&e.env}n.d(t,"a",(function(){return r}))}).call(this,n(34))},103:function(e,t,n){"use strict";var r=n(0),c=n(2);t.a=function(e){var t,n,o=e.shortcut,i=e.className;return o?(Object(c.isString)(o)&&(t=o),Object(c.isObject)(o)&&(t=o.display,n=o.ariaLabel),Object(r.createElement)("span",{className:i,"aria-label":n},t)):null}},105:function(e,t,n){"use strict";var r=String.prototype.replace,c=/%20/g,o=n(80),i={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=o.assign({default:i.RFC3986,formatters:{RFC1738:function(e){return r.call(e,c,"+")},RFC3986:function(e){return String(e)}}},i)},106:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));n(2),n(53);var r=window,c=(r.DOMParser,r.getComputedStyle,window.Node);c.TEXT_NODE,c.ELEMENT_NODE,c.DOCUMENT_POSITION_PRECEDING,c.DOCUMENT_POSITION_FOLLOWING;function o(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e.startContainer;if("BR"===t.nodeName){var n=t.parentNode,r=Array.from(n.childNodes).indexOf(t);(e=document.createRange()).setStart(n,r),e.setEnd(n,r)}var c=e.getClientRects()[0];if(!c){var o=document.createTextNode("​");(e=e.cloneRange()).insertNode(o),c=e.getClientRects()[0],o.parentNode.removeChild(o)}return c}function i(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return i(e.parentNode)}}},11:function(e,t){!function(){e.exports=this.React}()},115:function(e,t,n){"use strict";var r=n(9),c=n(8),o=n(19),i=n(0),a=n(44),s=n(85);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.a=function(e){var t=e.icon,n=void 0===t?null:t,r=e.size,u=Object(o.a)(e,["icon","size"]),f=r||20;if("string"==typeof n)return Object(i.createElement)(s.a,Object(c.a)({icon:n,size:f},u));if(n&&s.a===n.type)return Object(i.cloneElement)(n,l({size:f},u));var h=r||24;if("function"==typeof n)return n.prototype instanceof i.Component?Object(i.createElement)(n,l({size:h},u)):n(l({size:h},u));if(n&&("svg"===n.type||n.type===a.c)){var d=l({width:h,height:h},n.props,{},u);return Object(i.createElement)(a.c,d)}return Object(i.isValidElement)(n)?Object(i.cloneElement)(n,l({size:h},u)):n}},116:function(e,t,n){"use strict";var r=n(20),c=n(21),o=n(23),i=n(7),a=n(22),s=n(0),u=n(2),l=n(96),f=n(103);function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var d=function(e){Object(a.a)(d,e);var t,n=(t=d,function(){var e,n=Object(i.a)(t);if(h()){var r=Object(i.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(o.a)(this,e)});function d(){var e;return Object(r.a)(this,d),(e=n.apply(this,arguments)).delayedSetIsOver=Object(u.debounce)((function(t){return e.setState({isOver:t})}),700),e.cancelIsMouseDown=e.createSetIsMouseDown(!1),e.isInMouseDown=!1,e.state={isOver:!1},e}return Object(c.a)(d,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel(),document.removeEventListener("mouseup",this.cancelIsMouseDown)}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===s.Children.count(n)){var r=s.Children.only(n);"function"==typeof r.props[e]&&r.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(r){if(n.emitToChild(e,r),!(r.currentTarget.disabled||"focus"===r.type&&n.isInMouseDown)){n.delayedSetIsOver.cancel();var c=Object(u.includes)(["focus","mouseenter"],r.type);c!==n.state.isOver&&(t?n.delayedSetIsOver(c):n.setState({isOver:c}))}}}},{key:"createSetIsMouseDown",value:function(e){var t=this;return function(n){t.emitToChild(e?"onMouseDown":"onMouseUp",n),document[e?"addEventListener":"removeEventListener"]("mouseup",t.cancelIsMouseDown),t.isInMouseDown=e}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,r=e.text,c=e.shortcut;if(1!==s.Children.count(t))return t;var o=s.Children.only(t),i=this.state.isOver;return Object(s.cloneElement)(o,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),onMouseDown:this.createSetIsMouseDown(!0),children:Object(s.concatChildren)(o.props.children,i&&Object(s.createElement)(l.a,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},r,Object(s.createElement)(f.a,{className:"components-tooltip__shortcut",shortcut:c})))})}}]),d}(s.Component);t.a=d},117:function(e,t,n){var r=n(11),c={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},o=function(e){var t=e.onResize,n=r.useRef();return function(e,t){var n=function(){return e.current&&e.current.contentDocument&&e.current.contentDocument.defaultView};function c(){t();var e=n();e&&e.addEventListener("resize",t)}r.useEffect((function(){return n()?c():e.current&&e.current.addEventListener&&e.current.addEventListener("load",c),function(){var e=n();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(n,(function(){return t(n)})),r.createElement("iframe",{style:c,src:"about:blank",ref:n,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},i=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};e.exports=function(e){void 0===e&&(e=i);var t=r.useState(e(null)),n=t[0],c=t[1],a=r.useCallback((function(t){return c(e(t.current))}),[e]);return[r.useMemo((function(){return r.createElement(o,{onResize:a})}),[a]),n]}},118:function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return p})),n.d(t,"d",(function(){return d}));var r=n(8);function c(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,c=e.length;r<c;n+=1,r+=1)e[n]=e[r];e.pop()}var i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],a=e&&c(e),s=t&&c(t),u=a||s;if(e&&c(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var l=i[i.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,h=i.length;h>=0;h--){var d=i[h];"."===d?o(i,h):".."===d?(o(i,h),f++):f&&(o(i,h),f--)}if(!u)for(;f--;f)i.unshift("..");!u||""===i[0]||i[0]&&c(i[0])||i.unshift("");var v=i.join("/");return n&&"/"!==v.substr(-1)&&(v+="/"),v};function a(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=a(t),c=a(n);return r!==t||c!==n?e(r,c):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},u=n(89);function l(e){return"/"===e.charAt(0)?e:"/"+e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function h(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,n=e.search,r=e.hash,c=t||"/";return n&&"?"!==n&&(c+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(c+="#"===r.charAt(0)?r:"#"+r),c}function v(e,t,n,c){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",c=t.indexOf("#");-1!==c&&(r=t.substr(c),t=t.substr(0,c));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=Object(r.a)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),c?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,c.pathname)):o.pathname=c.pathname:o.pathname||(o.pathname="/"),o}function p(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,c){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,c):c(!0):c(!1!==o)}else c(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var b=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}function g(){try{return window.history.state||{}}catch(e){return{}}}function O(e){void 0===e&&(e={}),b||Object(u.a)(!1);var t,n=window.history,c=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,s=void 0!==a&&a,p=i.getUserConfirmation,O=void 0===p?y:p,z=i.keyLength,w=void 0===z?6:z,j=e.basename?h(l(e.basename)):"";function k(e){var t=e||{},n=t.key,r=t.state,c=window.location,o=c.pathname+c.search+c.hash;return j&&(o=f(o,j)),v(o,r,n)}function M(){return Math.random().toString(36).substr(2,w)}var H=m();function V(e){Object(r.a)(D,e),D.length=n.length,H.notifyListeners(D.location,D.action)}function E(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||S(k(e.state))}function C(){S(k(g()))}var x=!1;function S(e){if(x)x=!1,V();else{H.confirmTransitionTo(e,"POP",O,(function(t){t?V({action:"POP",location:e}):function(e){var t=D.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var c=n-r;c&&(x=!0,R(c))}(e)}))}}var _=k(g()),L=[_.key];function P(e){return j+d(e)}function R(e){n.go(e)}var T=0;function A(e){1===(T+=e)&&1===e?(window.addEventListener("popstate",E),o&&window.addEventListener("hashchange",C)):0===T&&(window.removeEventListener("popstate",E),o&&window.removeEventListener("hashchange",C))}var N=!1;var D={length:n.length,action:"POP",location:_,createHref:P,push:function(e,t){var r=v(e,t,M(),D.location);H.confirmTransitionTo(r,"PUSH",O,(function(e){if(e){var t=P(r),o=r.key,i=r.state;if(c)if(n.pushState({key:o,state:i},null,t),s)window.location.href=t;else{var a=L.indexOf(D.location.key),u=L.slice(0,a+1);u.push(r.key),L=u,V({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=v(e,t,M(),D.location);H.confirmTransitionTo(r,"REPLACE",O,(function(e){if(e){var t=P(r),o=r.key,i=r.state;if(c)if(n.replaceState({key:o,state:i},null,t),s)window.location.replace(t);else{var a=L.indexOf(D.location.key);-1!==a&&(L[a]=r.key),V({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=H.setPrompt(e);return N||(A(1),N=!0),function(){return N&&(N=!1,A(-1)),t()}},listen:function(e){var t=H.appendListener(e);return A(1),function(){A(-1),t()}}};return D}function z(e,t,n){return Math.min(Math.max(e,t),n)}function w(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,c=t.initialEntries,o=void 0===c?["/"]:c,i=t.initialIndex,a=void 0===i?0:i,s=t.keyLength,u=void 0===s?6:s,l=m();function f(e){Object(r.a)(O,e),O.length=O.entries.length,l.notifyListeners(O.location,O.action)}function h(){return Math.random().toString(36).substr(2,u)}var p=z(a,0,o.length-1),b=o.map((function(e){return v(e,void 0,"string"==typeof e?h():e.key||h())})),y=d;function g(e){var t=z(O.index+e,0,O.entries.length-1),r=O.entries[t];l.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var O={length:b.length,action:"POP",location:b[p],index:p,entries:b,createHref:y,push:function(e,t){var r=v(e,t,h(),O.location);l.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=O.index+1,n=O.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=v(e,t,h(),O.location);l.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(O.entries[O.index]=r,f({action:"REPLACE",location:r}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=O.index+e;return t>=0&&t<O.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return O}},12:function(e,t,n){e.exports=n(120)},120:function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},c=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function a(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var c=t&&t.prototype instanceof f?t:f,o=Object.create(c.prototype),i=new j(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(c,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===c)throw o;return M()}for(n.method=c,n.arg=o;;){var i=n.delegate;if(i){var a=O(i,n);if(a){if(a===l)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===l)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l={};function f(){}function h(){}function d(){}var v={};v[c]=function(){return this};var p=Object.getPrototypeOf,m=p&&p(p(k([])));m&&m!==t&&n.call(m,c)&&(v=m);var b=d.prototype=f.prototype=Object.create(v);function y(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function g(e,t){var r;this._invoke=function(c,o){function i(){return new t((function(r,i){!function r(c,o,i,a){var s=u(e[c],e,o);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,a)}),(function(e){r("throw",e,i,a)})):t.resolve(f).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,a)}))}a(s.arg)}(c,o,r,i)}))}return r=r?r.then(i,i):i()}}function O(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var c=r.arg;return c?c.done?(t[e.resultName]=c.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):c:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function k(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:M}}function M(){return{value:void 0,done:!0}}return h.prototype=b.constructor=d,d.constructor=h,h.displayName=a(d,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,a(e,i,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(g.prototype),g.prototype[o]=function(){return this},e.AsyncIterator=g,e.async=function(t,n,r,c,o){void 0===o&&(o=Promise);var i=new g(s(t,n,r,c),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(b),a(b,i,"Generator"),b[c]=function(){return this},b.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var c=this.tryEntries.length-1;c>=0;--c){var o=this.tryEntries[c],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var c=this.tryEntries[r];if(c.tryLoc<=this.prev&&n.call(c,"finallyLoc")&&this.prev<c.finallyLoc){var o=c;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var c=r.arg;w(n)}return c}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},121:function(e,t,n){var r=n(78);e.exports=function(e){if(Array.isArray(e))return r(e)}},122:function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},123:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},124:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},125:function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,c=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){c=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(c)throw o}}return n}}},126:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},13:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},138:function(e,t,n){"use strict";function r(e){return function(){return e}}var c=function(){};c.thatReturns=r,c.thatReturnsFalse=r(!1),c.thatReturnsTrue=r(!0),c.thatReturnsNull=r(null),c.thatReturnsThis=function(){return this},c.thatReturnsArgument=function(e){return e},e.exports=c},14:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},141:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},142:function(e,t,n){"use strict";var r=n(143);function c(){}function o(){}o.resetWarningCache=c,e.exports=function(){function e(e,t,n,c,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:c};return n.PropTypes=n,n}},143:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},144:function(e,t,n){"use strict";var r=n(80),c=n(105),o=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Array.isArray,s=Array.prototype.push,u=function(e,t){s.apply(e,a(t)?t:[t])},l=Date.prototype.toISOString,f=c.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:f,formatter:c.formatters[f],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},d=function e(t,n,c,o,i,s,l,f,d,v,p,m,b){var y,g=t;if("function"==typeof l?g=l(n,g):g instanceof Date?g=v(g):"comma"===c&&a(g)&&(g=r.maybeMap(g,(function(e){return e instanceof Date?v(e):e})).join(",")),null===g){if(o)return s&&!m?s(n,h.encoder,b,"key"):n;g=""}if("string"==typeof(y=g)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||r.isBuffer(g))return s?[p(m?n:s(n,h.encoder,b,"key"))+"="+p(s(g,h.encoder,b,"value"))]:[p(n)+"="+p(String(g))];var O,z=[];if(void 0===g)return z;if(a(l))O=l;else{var w=Object.keys(g);O=f?w.sort(f):w}for(var j=0;j<O.length;++j){var k=O[j],M=g[k];if(!i||null!==M){var H=a(g)?"function"==typeof c?c(n,k):n:n+(d?"."+k:"["+k+"]");u(z,e(M,H,c,o,i,s,l,f,d,v,p,m,b))}}return z};e.exports=function(e,t){var n,r=e,s=function(e){if(!e)return h;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=c.default;if(void 0!==e.format){if(!o.call(c.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=c.formatters[n],i=h.filter;return("function"==typeof e.filter||a(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:i,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}}(t);"function"==typeof s.filter?r=(0,s.filter)("",r):a(s.filter)&&(n=s.filter);var l,f=[];if("object"!=typeof r||null===r)return"";l=t&&t.arrayFormat in i?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var v=i[l];n||(n=Object.keys(r)),s.sort&&n.sort(s.sort);for(var p=0;p<n.length;++p){var m=n[p];s.skipNulls&&null===r[m]||u(f,d(r[m],m,v,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.formatter,s.encodeValuesOnly,s.charset))}var b=f.join(s.delimiter),y=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),b.length>0?y+b:""}},145:function(e,t,n){"use strict";var r=n(80),c=Object.prototype.hasOwnProperty,o=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(o),u=a?o.slice(0,a.index):o,l=[];if(u){if(!n.plainObjects&&c.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var f=0;n.depth>0&&null!==(a=i.exec(o))&&f<n.depth;){if(f+=1,!n.plainObjects&&c.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(a[1])}return a&&l.push("["+o.slice(a.index)+"]"),function(e,t,n,r){for(var c=r?t:s(t,n),o=e.length-1;o>=0;--o){var i,a=e[o];if("[]"===a&&n.parseArrays)i=[].concat(c);else{i=n.plainObjects?Object.create(null):{};var u="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&a!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(i=[])[l]=c:i[u]=c:i={0:c}}c=i}return c}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,u={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,h=l.split(t.delimiter,f),d=-1,v=t.charset;if(t.charsetSentinel)for(n=0;n<h.length;++n)0===h[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===h[n]?v="utf-8":"utf8=%26%2310003%3B"===h[n]&&(v="iso-8859-1"),d=n,n=h.length);for(n=0;n<h.length;++n)if(n!==d){var p,m,b=h[n],y=b.indexOf("]="),g=-1===y?b.indexOf("="):y+1;-1===g?(p=t.decoder(b,i.decoder,v,"key"),m=t.strictNullHandling?null:""):(p=t.decoder(b.slice(0,g),i.decoder,v,"key"),m=r.maybeMap(s(b.slice(g+1),t),(function(e){return t.decoder(e,i.decoder,v,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===v&&(m=a(m)),b.indexOf("[]=")>-1&&(m=o(m)?[m]:m),c.call(u,p)?u[p]=r.combine(u[p],m):u[p]=m}return u}(e,n):e,f=n.plainObjects?Object.create(null):{},h=Object.keys(l),d=0;d<h.length;++d){var v=h[d],p=u(v,l[v],n,"string"==typeof e);f=r.merge(f,p,n)}return r.compact(f)}},146:function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,c,o,i,a;if(e===t)return!0;if(n=r(e),c=r(t),n.length!==c.length)return!1;for(o=0;o<n.length;){if(void 0===(a=e[i=n[o]])&&!t.hasOwnProperty(i)||a!==t[i])return!1;o++}return!0}},147:function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},15:function(e,t){!function(){e.exports=this.moment}()},16:function(e,t,n){var r=n(141);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},17:function(e,t,n){var r=n(43),c=n(10);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?c(e):t}},170:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},171:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(77),c=n(3);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",t=document.createElement("div");t.id="a11y-speak-".concat(e),t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(t),t}var i="";function a(e,t){!function(){for(var e=document.getElementsByClassName("a11y-speak-region"),t=document.getElementById("a11y-speak-intro-text"),n=0;n<e.length;n++)e[n].textContent="";t&&t.setAttribute("hidden","hidden")}(),e=function(e){return e=e.replace(/<[^<>]+>/g," "),i===e&&(e+=" "),i=e,e}(e);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),c=document.getElementById("a11y-speak-polite");r&&"assertive"===t?r.textContent=e:c&&(c.textContent=e),n&&n.removeAttribute("hidden")}Object(r.a)((function(){var e=document.getElementById("a11y-speak-intro-text"),t=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===e&&function(){var e=document.createElement("p");e.id="a11y-speak-intro-text",e.className="a11y-speak-intro-text",e.textContent=Object(c.__)("Notifications"),e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("hidden","hidden");var t=document.body;t&&t.appendChild(e)}(),null===t&&o("assertive"),null===n&&o("polite")}))},18:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},188:function(e,t){!function(){e.exports=this.wc.currency}()},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(57);function c(e,t){if(null==e)return{};var n,c,o=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(c=0;c<i.length;c++)n=i[c],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},190:function(e,t,n){"use strict";var r=n(11),c="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(138),i=n(191),a=n(192),s="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function l(e,t,n,r){var o,a=typeof e;if("undefined"!==a&&"boolean"!==a||(e=null),null===e||"string"===a||"number"===a||"object"===a&&e.$$typeof===c)return n(r,e,""===t?"."+u(e,0):t),1;var f=0,h=""===t?".":t+":";if(Array.isArray(e))for(var d=0;d<e.length;d++)f+=l(o=e[d],h+u(o,d),n,r);else{var v=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(v){0;for(var p,m=v.call(e),b=0;!(p=m.next()).done;)f+=l(o=p.value,h+u(o,b++),n,r)}else if("object"===a){0;var y=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(e).join(", ")+"}":y,"")}}return f}var f=/\/+/g;function h(e){return(""+e).replace(f,"$&/")}var d,v,p=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},b=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function y(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function g(e,t,n){var c,i,a=e.result,s=e.keyPrefix,u=e.func,l=e.context,f=u.call(l,t,e.count++);Array.isArray(f)?O(f,a,n,o.thatReturnsArgument):null!=f&&(r.isValidElement(f)&&(c=f,i=s+(!f.key||t&&t.key===f.key?"":h(f.key)+"/")+n,f=r.cloneElement(c,{key:i},void 0!==c.props?c.props.children:void 0)),a.push(f))}function O(e,t,n,r,c){var o="";null!=n&&(o=h(n)+"/");var i=y.getPooled(t,o,r,c);!function(e,t,n){null==e||l(e,"",t,n)}(e,g,i),y.release(i)}y.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var c=this.instancePool.pop();return this.call(c,e,t,n,r),c}return new this(e,t,n,r)},(v=y).instancePool=[],v.getPooled=d||p,v.poolSize||(v.poolSize=10),v.release=b;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return a(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return a(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)O(e[n],t,n,o.thatReturnsArgument);return t}},191:function(e,t,n){"use strict";e.exports=function(e,t,n,r,c,o,i,a){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,c,o,i,a],l=0;(s=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},192:function(e,t,n){"use strict";var r=n(138);e.exports=r},193:function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},21:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return c}))},22:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",(function(){return c}))},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(55),c=n(18);function o(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeof t?Object(c.a)(e):t}},24:function(e,t){!function(){e.exports=this.wp.data}()},254:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return l})),n.d(t,"a",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"f",(function(){return v}));var r=n(30),c=n.n(r),o=n(73),i=n(2),a=n(33);function s(e){return e?e.split(":")[0]:null}function u(e){var t=s(e);return Object(i.without)(Object(a.g)("onboarding",{euCountries:[]}).euCountries,"GB").includes(t)&&(t="EU"),t}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=h(e,t,n),c=r.map((function(e){return e.id||e.product}));return c}function f(e,t){var n={};n.products=h(e,!0,t),n.remainingProducts=h(e,!1,t);var r=c()(new Set([].concat(c()(n.products),c()(n.remainingProducts))));return n.uniqueItemsList=r.map((function(e){return e.label?{type:"extension",name:e.label}:{type:"theme",name:e.title}})),n}function h(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=Object(a.g)("onboarding",{}),c=[];if(!r.productTypes)return c;var o=e.product_types||[];o.forEach((function(e){r.productTypes[e]&&r.productTypes[e].product&&(t||!n.includes(r.productTypes[e].slug))&&c.push(r.productTypes[e])}));var i=r.themes.find((function(t){return t.slug===e.theme}));return i&&i.id&&d(i.price)>0&&(t||!i.is_installed)&&c.push(i),c}function d(e){return Number(Object(o.decodeEntities)(e).replace(/[^0-9.-]+/g,""))}function v(e){return/admin.php\?page=wc-admin/.test(e)}},257:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,c={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}},258:function(e,t,n){"use strict";e.exports=n(282)},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(70);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,c=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){c=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(c)throw o}}return n}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},270:function(e,t,n){"use strict";var r=n(2);t.a=r.flowRight},271:function(e,t,n){"use strict";var r=n(258),c={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function s(e){return r.isMemo(e)?i:a[e.$$typeof]||c}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=i;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,v=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(v){var c=d(n);c&&c!==v&&e(t,c,r)}var i=l(n);f&&(i=i.concat(f(n)));for(var a=s(t),p=s(n),m=0;m<i.length;++m){var b=i[m];if(!(o[b]||r&&r[b]||p&&p[b]||a&&a[b])){var y=h(n,b);try{u(t,b,y)}catch(e){}}}}return t}},273:function(e,t,n){"use strict";n.d(t,"c",(function(){return wt})),n.d(t,"b",(function(){return Ht})),n.d(t,"a",(function(){return Vt}));var r=n(5),c=n.n(r),o=n(37),i=n.n(o),a=n(60),s=n.n(a),u=n(14),l=n.n(u),f=n(13),h=n.n(f),d=n(16),v=n.n(d),p=n(17),m=n.n(p),b=n(6),y=n.n(b),g=n(0),O=n(270),z=n(24),w=n(65),j=n(11),k=n.n(j),M=n(1),H=n.n(M),V=n(118),E=n(170),C=n.n(E),x=n(504),S=n.n(x);function _(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var L=k.a.createContext||function(e,t){var n,r,c="__create-react-context-"+S()()+"__",o=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=_(t.props.value),t}C()(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[c]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,c=e.value;((o=r)===(i=c)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,c):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},r.render=function(){return this.props.children},n}(j.Component);o.childContextTypes=((n={})[c]=H.a.object.isRequired,n);var i=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}C()(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[c]&&this.context[c].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[c]&&this.context[c].off(this.onUpdate)},r.getValue=function(){return this.context[c]?this.context[c].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(j.Component);return i.contextTypes=((r={})[c]=H.a.object,r),{Provider:o,Consumer:i}},P=n(89),R=n(8),T=n(402),A=n.n(T),N=(n(258),n(57)),D=(n(271),function(e){var t=L();return t.displayName=e,t}("Router")),F=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(w.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return k.a.createElement(D.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},t}(k.a.Component);k.a.Component;k.a.Component;var I={},B=0;function U(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,c=n.exact,o=void 0!==c&&c,i=n.strict,a=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=I[n]||(I[n]={});if(r[e])return r[e];var c=[],o={regexp:A()(e,c,t),keys:c};return B<1e4&&(r[e]=o,B++),o}(n,{end:o,strict:a,sensitive:u}),c=r.regexp,i=r.keys,s=c.exec(e);if(!s)return null;var l=s[0],f=s.slice(1),h=e===l;return o&&!h?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:h,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var q=function(e){function t(){return e.apply(this,arguments)||this}return Object(w.a)(t,e),t.prototype.render=function(){var e=this;return k.a.createElement(D.Consumer,null,(function(t){t||Object(P.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?U(n.pathname,e.props):t.match,c=Object(R.a)({},t,{location:n,match:r}),o=e.props,i=o.children,a=o.component,s=o.render;return Array.isArray(i)&&0===i.length&&(i=null),k.a.createElement(D.Provider,{value:c},c.match?i?"function"==typeof i?i(c):i:a?k.a.createElement(a,c):s?s(c):null:"function"==typeof i?i(c):null)}))},t}(k.a.Component);function W(e){return"/"===e.charAt(0)?e:"/"+e}function $(e,t){if(!e)return t;var n=W(e);return 0!==t.pathname.indexOf(n)?t:Object(R.a)({},t,{pathname:t.pathname.substr(n.length)})}function K(e){return"string"==typeof e?e:Object(V.d)(e)}function G(e){return function(){Object(P.a)(!1)}}function Z(){}k.a.Component;var Q=function(e){function t(){return e.apply(this,arguments)||this}return Object(w.a)(t,e),t.prototype.render=function(){var e=this;return k.a.createElement(D.Consumer,null,(function(t){t||Object(P.a)(!1);var n,r,c=e.props.location||t.location;return k.a.Children.forEach(e.props.children,(function(e){if(null==r&&k.a.isValidElement(e)){n=e;var o=e.props.path||e.props.from;r=o?U(c.pathname,Object(R.a)({},e.props,{path:o})):t.match}})),r?k.a.cloneElement(n,{location:c,computedMatch:r}):null}))},t}(k.a.Component);k.a.useContext;var J=n(2),Y=n(67),X=n(68),ee=n(32),te=n(33),ne=n(41),re=n(61),ce=(n(524),n(49)),oe=n(3),ie=n(410),ae=n(417),se=n(254);function ue(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y()(e);if(t){var c=y()(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return m()(this,n)}}var le=Object(g.lazy)((function(){return n.e(13).then(n.bind(null,894))})),fe=Object(g.lazy)((function(){return n.e(23).then(n.bind(null,908))})),he=Object(g.lazy)((function(){return n.e(29).then(n.bind(null,895))})),de=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(53),n.e(33)]).then(n.bind(null,910))})),ve=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(4),n.e(5),n.e(8),n.e(34)]).then(n.bind(null,905))})),pe=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(54),n.e(38)]).then(n.bind(null,909))})),me=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(4),n.e(8),n.e(46)]).then(n.bind(null,906))})),be=function(e){v()(n,e);var t=ue(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"componentDidMount",value:function(){window.document.documentElement.scrollTop=0}},{key:"componentDidUpdate",value:function(e){var t=Object(J.omit)(e.query,"chartType","filter","paged"),n=Object(J.omit)(this.props.query,"chartType","filter","paged");e.query.paged>1&&!Object(J.isEqual)(t,n)&&Object(ee.getHistory)().replace(Object(ee.getNewPath)({paged:1})),e.match.url!==this.props.match.url&&(window.document.documentElement.scrollTop=0)}},{key:"render",value:function(){var e=this.props,t=e.page,n=e.match,r=e.query,c=n.url,o=n.params;return window.wpNavMenuUrlUpdate(r),window.wpNavMenuClassChange(t,c),Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(X.Spinner,null)},Object(g.createElement)(t.container,{params:o,path:c,pathMatch:t.path,query:r}))}}]),n}(g.Component);window.wpNavMenuUrlUpdate=function(e){var t=Object(ce.applyFilters)("woocommerce_admin_time_excluded_screens",["devdocs","stock","settings","customers","homescreen"]),n=Object(ee.getPersistedQuery)(e);Array.from(document.querySelectorAll("#adminmenu a")).forEach((function(e){return function(e,t,n){if(Object(se.f)(e.href)){var r=Object(J.last)(e.href.split("?")),c=Object(Y.parse)(r),o=(c.path||"homescreen").replace("/analytics","").replace("/",""),i=n.includes(o),a="admin.php?"+Object(Y.stringify)(Object.assign(c,i?{}:t));e.href=a,e.onclick=function(e){e.preventDefault(),Object(ee.getHistory)().push(a)}}}(e,n,t)}))},window.wpNavMenuClassChange=function(e,t){Array.from(document.getElementsByClassName("current")).forEach((function(e){e.classList.remove("current")})),Array.from(document.querySelectorAll(".wp-has-current-submenu")).forEach((function(e){e.classList.remove("wp-has-current-submenu"),e.classList.remove("wp-menu-open"),e.classList.remove("selected"),e.classList.add("wp-not-current-submenu"),e.classList.add("menu-top")}));var n="/"===t?"admin.php?page=wc-admin":"admin.php?page=wc-admin&path="+encodeURIComponent(t),r="/"===t?'li > a[href$="'.concat(n,'"], li > a[href*="').concat(n,'?"]'):'li > a[href*="'.concat(n,'"]'),c=document.querySelectorAll(r);if(Array.from(c).forEach((function(e){e.parentElement.classList.add("current")})),e.wpOpenMenu){var o=document.querySelector("#"+e.wpOpenMenu);o&&(o.classList.remove("wp-not-current-submenu"),o.classList.add("wp-has-current-submenu"),o.classList.add("wp-menu-open"),o.classList.add("current"))}document.querySelector("#wpwrap").classList.remove("wp-responsive-open")};var ye=n(38),ge=n.n(ye),Oe=n(4),ze=n.n(Oe),we=n(73),je=(n(525),n(30)),ke=n.n(je),Me=n(500),He=n.n(Me),Ve=n(72),Ee=n(501),Ce=n.n(Ee),xe=n(502),Se=n.n(xe),_e=n(418),Le=n(716),Pe=(n(527),function(e){var t=e.height,n=void 0===t?24:t,r=e.width,c=void 0===r?24:r,o=e.hasUnread,i=void 0!==o&&o,a=ze()("woocommerce-layout__activity-panel-toggle-bubble",{"has-unread":i});return Object(g.createElement)("div",{className:a},Object(g.createElement)("svg",{height:n,width:c,viewBox:"0 0 24 24"},Object(g.createElement)("path",{d:"M18.9 2H5.1C3.4 2 2 3.4 2 5.1v10.7C2 17.6 3.4 19 5.1 19H9l6 3-1-3h4.9c1.7 0 3.1-1.4 3.1-3.1V5.1C22 3.4 20.6 2 18.9 2zm-1.5 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7-.1.2-.3.4-.6.4s-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6.5 0 .8.3.9.9.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2.2.2.3.4.3.6 0 .2 0 .4-.1.5z"})))});Pe.propTypes={height:H.a.number,width:H.a.number,hasUnread:H.a.bool};var Re=Pe,Te=n(415),Ae=n(411);var Ne=n(509),De=function(e){var t=e.icon,n=e.title,r=e.name,c=e.unread,o=e.selected,i=e.isPanelOpen,a=e.onTabClick,s=e.index,u=ze()("woocommerce-layout__activity-panel-tab",{"is-active":i&&o,"has-unread":c}),l=-1;(o||!i&&0===s)&&(l=null);var f="activity-panel-tab-".concat(r);return Object(g.createElement)(Ve.a,{role:"tab",className:u,tabIndex:l,"aria-selected":o,"aria-controls":"activity-panel-".concat(r),key:f,id:f,onClick:function(){a(r)}},t,n," ",c&&Object(g.createElement)("span",{className:"screen-reader-text"},Object(oe.__)("unread activity","woocommerce-admin")))},Fe=function(e){var t=e.tabs,n=e.onTabClick,r=e.selectedTab,c=e.tabOpen,o=void 0!==c&&c,a=Object(g.useState)({tabOpen:o,currentTab:r}),s=ge()(a,2),u=s[0],l=u.tabOpen,f=u.currentTab,h=s[1];return Object(g.useEffect)((function(){h({tabOpen:o,currentTab:r})}),[o,r]),Object(g.createElement)(Ne.a,{role:"tablist",orientation:"horizontal",className:"woocommerce-layout__activity-panel-tabs"},t&&t.map((function(e,t){return Object(g.createElement)(De,i()({key:t,index:t,isPanelOpen:l,selected:f===e.name},e,{onTabClick:function(){var t=f!==e.name&&""!==f||!l;t&&f===e.name||Object(re.recordEvent)("activity_panel_open",{tab:e.name}),h({tabOpen:t,currentTab:e.name}),n(e,t)}}))})))},Ie=function(){return Object(g.createElement)("svg",{className:"setup-progress",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("path",{d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",stroke:"#DCDCDE",strokeWidth:"2"}),Object(g.createElement)("path",{d:"M4 12V12C4 16.4183 7.58172 20 12 20V20C16.4183 20 20 16.4183 20 12V12C20 7.58172 16.4183 4 12 4V4",strokeWidth:"2",strokeLinecap:"round"}))};function Be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y()(e);if(t){var c=y()(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return m()(this,n)}}var Ue=Object(g.lazy)((function(){return Promise.all([n.e(4),n.e(51),n.e(6),n.e(9)]).then(n.bind(null,901))})),qe=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(4),n.e(5),n.e(52),n.e(10)]).then(n.bind(null,762))})),We=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(4),n.e(11)]).then(n.bind(null,913))})),$e=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(4),n.e(12)]).then(n.bind(null,914))})),Ke=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(4),n.e(5),n.e(52),n.e(10)]).then(n.bind(null,903))})),Ge=Object(te.g)("manageStock","no"),Ze=Object(te.g)("reviewsEnabled","no"),Qe=function(e){v()(n,e);var t=Be(n);function n(e){var r;return l()(this,n),(r=t.call(this,e)).state={isPanelOpen:!1,mobileOpen:!1,currentTab:"",isPanelSwitching:!1},r}return h()(n,[{key:"togglePanel",value:function(e,t){var n=e.name;this.setState((function(e){var r=n!==e.currentTab&&""!==e.currentTab&&t&&e.isPanelOpen;return{isPanelOpen:t,mobileOpen:t,currentTab:n,isPanelSwitching:r}}))}},{key:"closePanel",value:function(){this.setState((function(){return{isPanelOpen:!1,currentTab:""}}))}},{key:"clearPanel",value:function(){this.setState((function(){return{isPanelSwitching:!1}}))}},{key:"toggleMobile",value:function(){var e=this.getTabs();this.setState((function(t){return{mobileOpen:!t.mobileOpen,currentTab:t.mobileOpen?"":e[0].name,isPanelOpen:!t.mobileOpen}}))}},{key:"handleClickOutside",value:function(e){var t=this.state.isPanelOpen,n=e.target.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.target.closest(".components-snackbar__action");t&&!n&&this.closePanel()}},{key:"getTabs",value:function(){var e=this.props,t=e.hasUnreadNotes,n=e.hasUnreadOrders,r=e.hasUnapprovedReviews,c=e.hasUnreadStock,o=e.isEmbedded,i=e.requestingTaskListOptions,a=e.taskListComplete,s=e.taskListHidden,u=e.query,l=u.task&&!u.path&&(!0===i||!1===s&&!1===a),f=this.props.getHistory().location,h=(o||"/"!==f.pathname)&&!l?{name:"inbox",title:Object(oe.__)("Inbox","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"inbox"),unread:t}:null,d=a||l||s?null:{name:"setup",title:Object(oe.__)("Store Setup","woocommerce-admin"),icon:Object(g.createElement)(Ie,null)},v=a&&!l?[{name:"orders",title:Object(oe.__)("Orders","woocommerce-admin"),icon:Object(g.createElement)(Ce.a,null),unread:n},"yes"===Ge&&{name:"stock",title:Object(oe.__)("Stock","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"widgets"),unread:c},"yes"===Ze&&{name:"reviews",title:Object(oe.__)("Reviews","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"star_border"),unread:r}].filter(Boolean):[],p=l?{name:"help",title:Object(oe.__)("Help","woocommerce-admin"),icon:Object(g.createElement)(_e.a,{icon:Le.a})}:null;return[h].concat(ke()(v),[d,p]).filter(Boolean)}},{key:"getPanelContent",value:function(e){var t=this.props,n=t.hasUnreadOrders,r=t.query,c=t.hasUnapprovedReviews,o=r.task;switch(e){case"inbox":return Object(g.createElement)(qe,null);case"orders":return Object(g.createElement)(We,{hasActionableOrders:n});case"stock":return Object(g.createElement)($e,null);case"reviews":return Object(g.createElement)(Ke,{hasUnapprovedReviews:c});case"help":return Object(g.createElement)(Ue,{taskName:o});default:return null}}},{key:"renderPanel",value:function(){var e=this,t=this.props,n=t.updateOptions,r=t.taskListHidden,c=this.state,o=c.isPanelOpen,i=c.currentTab,a=c.isPanelSwitching,s=Object(J.find)(this.getTabs(),{name:i});if(!s)return Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-wrapper"});var u=function(){e.clearPanel()};if("setup"===i)return window.location.href!==Object(te.f)("admin.php?page=wc-admin")&&("no"===r?this.redirectToHomeScreen():n({woocommerce_task_list_hidden:"no"}).then(this.redirectToHomeScreen)),null;var l=ze()("woocommerce-layout__activity-panel-wrapper",{"is-open":o,"is-switching":a});return Object(g.createElement)("div",{className:l,tabIndex:0,role:"tabpanel","aria-label":s.title,onTransitionEnd:u,onAnimationEnd:u},Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-content",key:"activity-panel-"+i,id:"activity-panel-"+i},Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(X.Spinner,null)},this.getPanelContent(i))))}},{key:"redirectToHomeScreen",value:function(){Object(se.f)(window.location.href)?Object(ee.getHistory)().push(Object(ee.getNewPath)({},"/",{})):window.location.href=Object(te.f)("admin.php?page=wc-admin")}},{key:"render",value:function(){var e=this,t=this.getTabs(),n=this.state,r=n.mobileOpen,c=n.currentTab,o=n.isPanelOpen,i=Object(J.uniqueId)("activity-panel-header_"),a=ze()("woocommerce-layout__activity-panel",{"is-mobile-open":this.state.mobileOpen}),s=t.some((function(e){return e.unread})),u=s?Object(oe.__)("View Activity Panel, you have unread activity","woocommerce-admin"):Object(oe.__)("View Activity Panel","woocommerce-admin");return Object(g.createElement)("div",null,Object(g.createElement)(X.H,{id:i,className:"screen-reader-text"},Object(oe.__)("Store Activity","woocommerce-admin")),Object(g.createElement)(X.Section,{component:"aside",id:"woocommerce-activity-panel","aria-labelledby":i},Object(g.createElement)(Ve.a,{onClick:function(){e.toggleMobile()},label:r?Object(oe.__)("Close Activity Panel","woocommerce-admin"):u,"aria-expanded":r,className:"woocommerce-layout__activity-panel-mobile-toggle"},r?Object(g.createElement)(Se.a,null):Object(g.createElement)(Re,{hasUnread:s})),Object(g.createElement)("div",{className:a},Object(g.createElement)(Fe,{tabs:t,tabOpen:o,selectedTab:c,onTabClick:function(t,n){e.togglePanel(t,n)}}),this.renderPanel())))}}]),n}(g.Component);Qe.defaultProps={getHistory:ee.getHistory};var Je=Object(O.a)(Object(z.withSelect)((function(e){var t=function(e){var t=e(ne.NOTES_STORE_NAME),n=t.getNotes,r=t.getNotesError,c=t.isResolving,o=(0,e(ne.USER_STORE_NAME).getCurrentUser)(),i=parseInt(o&&o.woocommerce_meta&&o.woocommerce_meta.activity_panel_inbox_last_read,10);if(!i)return null;var a={page:1,per_page:ne.QUERY_DEFAULTS.pageSize,status:"unactioned",type:ne.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc"},s=n(a),u=Boolean(r("getNotes",[a])),l=c("getNotes",[a]);return u||l?null:Object(Ae.a)(s,i)>0}(e),n=function(e){var t=e(ne.ITEMS_STORE_NAME),n=t.getItems,r=t.getItemsTotalCount,c=t.getItemsError,o=t.isResolving,i=(0,e(ne.SETTINGS_STORE_NAME).getSetting)("wc_admin","wcAdminSettings",{}).woocommerce_actionable_order_statuses,a=void 0===i?Te.a:i;if(!a.length)return!1;var s={page:1,per_page:1,status:a,_fields:["id"]};n("orders",s);var u=r("orders",s),l=Boolean(c("orders",s)),f=o("getItems",["orders",s]);return l||f?null:u>0}(e),r=Object(te.g)("hasLowStock",!1),c=function(e){var t=e(ne.REVIEWS_STORE_NAME),n=t.getReviewsTotalCount,r=t.getReviewsError,c=t.isResolving;if("yes"===Object(te.g)("reviewsEnabled")){var o={page:1,per_page:1,status:"hold"},i=n(o),a=Boolean(r(o)),s=c("getReviewsTotalCount",[o]);if(!a&&!s)return i>0}return!1}(e),o=e(ne.OPTIONS_STORE_NAME),i=o.getOption,a=o.isResolving,s="yes"===i("woocommerce_task_list_complete"),u="yes"===i("woocommerce_task_list_hidden");return{hasUnreadNotes:t,hasUnreadOrders:n,hasUnreadStock:r,hasUnapprovedReviews:c,requestingTaskListOptions:a("getOption",["woocommerce_task_list_complete"])||a("getOption",["woocommerce_task_list_hidden"]),taskListComplete:s,taskListHidden:u}})),Object(z.withDispatch)((function(e){return{updateOptions:e(ne.OPTIONS_STORE_NAME).updateOptions}})),He.a)(Qe),Ye=n(115),Xe=function(){return/iPhone|iPad|iPod/i.test(window.navigator.userAgent)?"ios":/Android/i.test(window.navigator.userAgent)?"android":"unknown"},et=function(){return Object(g.createElement)("svg",{width:"37",height:"37",viewBox:"0 0 92 92",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("rect",{width:"92",height:"92",rx:"21.3953",fill:"#7F54B3"}),Object(g.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.5937 28.043H19.8094C16.4781 28.0459 13.7783 30.7705 13.7754 34.1324V54.4501C13.7783 57.812 16.4781 60.5366 19.8094 60.5395H44.8229L56.2573 66.9607L53.6672 60.5395H72.599C74.2009 60.5402 75.7374 59.8983 76.8702 58.7552C78.0029 57.612 78.639 56.0614 78.6383 54.4447V34.1324C78.6376 32.5157 78.0002 30.9657 76.8664 29.8235C75.7327 28.6814 74.1956 28.0408 72.5937 28.043ZM19.1057 32.4208C18.4658 32.4324 17.8646 32.7359 17.467 33.2482C17.0888 33.7635 16.9404 34.4175 17.058 35.0502C18.5962 45.0986 20.0338 51.8757 21.371 55.3816C21.8779 56.658 22.4896 57.2703 23.2063 57.2185C24.3075 57.1489 25.6263 55.5968 27.1627 52.5621C27.9964 50.8412 29.2602 48.2662 30.9539 44.837C32.3785 49.88 34.309 53.6787 36.7456 56.2331C37.4291 56.9436 38.1204 57.2748 38.8195 57.2266C39.4185 57.1931 39.953 56.8315 40.217 56.2813C40.4753 55.7358 40.5806 55.1278 40.5211 54.5248C40.3516 52.0703 40.5919 48.667 41.2421 44.3149C41.9081 39.8057 42.7523 36.5818 43.7749 34.6432C43.9822 34.2526 44.0733 33.8087 44.037 33.366C44.0039 32.7587 43.7116 32.1969 43.2374 31.829C42.7745 31.4367 42.1799 31.2446 41.5803 31.2935C40.8334 31.3325 40.1682 31.7885 39.8499 32.4797C38.2331 35.5019 37.0812 40.4109 36.3943 47.2068C35.2823 44.2394 34.4509 41.1703 33.9114 38.0412C33.623 36.4613 32.9037 35.7125 31.7536 35.7946C30.9592 35.8589 30.3063 36.3944 29.7819 37.4012L24.0348 48.5643C23.0997 44.6692 22.2205 39.9289 21.3972 34.3433C21.1997 32.9652 20.4358 32.3244 19.1057 32.4208ZM69.9089 34.6877C71.6969 35.0381 73.2407 36.2 74.1186 37.8559C74.9693 39.3247 75.3946 41.1161 75.3946 43.23C75.4148 45.9567 74.7062 48.6357 73.3477 50.9687C71.7778 53.7023 69.7195 55.0691 67.1727 55.0691C66.6933 55.0668 66.2153 55.0128 65.7467 54.9078C63.9584 54.5581 62.4143 53.396 61.5371 51.7396C60.6864 50.2452 60.261 48.4411 60.261 46.3272C60.2357 43.6127 60.945 40.9454 62.3079 38.6295C63.9023 35.8959 65.9607 34.5291 68.4829 34.5291C68.9623 34.5304 69.4402 34.5836 69.9089 34.6877ZM68.7937 49.4848C69.7707 48.5773 70.4399 47.2269 70.8012 45.4337V45.4419C70.9315 44.7826 70.9959 44.1112 70.9933 43.4382C70.986 42.5849 70.8291 41.74 70.5302 40.9452C70.1443 39.901 69.6304 39.3124 68.9884 39.1793C68.0378 38.9643 67.1239 39.5256 66.2469 40.8632C65.5812 41.8393 65.109 42.9432 64.8577 44.1106C64.7276 44.7708 64.6632 45.4432 64.6657 46.1171C64.6739 46.9677 64.8308 47.8096 65.1287 48.6019C65.5146 49.6388 66.0294 50.2274 66.6731 50.3678C67.3169 50.5081 68.0237 50.2138 68.7937 49.4848ZM57.9079 37.8559C57.0291 36.2008 55.4854 35.0392 53.6976 34.6877C53.2279 34.5837 52.749 34.5306 52.2687 34.5291C49.7443 34.5291 47.6856 35.8959 46.0927 38.6295C44.7295 40.9454 44.0201 43.6127 44.0454 46.3272C44.0454 48.4411 44.4699 50.2452 45.319 51.7396C46.1976 53.3949 47.7414 54.5566 49.5294 54.9078C49.999 55.0126 50.4779 55.0667 50.9582 55.0691C53.5055 55.0691 55.5642 53.7023 57.1343 50.9687C58.4922 48.6355 59.2001 45.9565 59.1789 43.23C59.1789 41.1161 58.7544 39.3247 57.9053 37.8559H57.9079ZM54.5903 45.4337C54.2307 47.2269 53.5614 48.5773 52.5825 49.4848C51.8115 50.2065 51.101 50.5017 50.4589 50.3678C49.8169 50.2338 49.3011 49.6461 48.9169 48.6019C48.6181 47.8097 48.4603 46.9678 48.4511 46.1171C48.4495 45.4431 48.5148 44.7707 48.6459 44.1106C48.8971 42.9432 49.3694 41.8393 50.0353 40.8632C50.9124 39.5256 51.8264 38.9643 52.7773 39.1793C53.4193 39.3124 53.9333 39.901 54.3193 40.9452C54.617 41.7404 54.7739 42.585 54.7824 43.4382C54.785 44.1112 54.7207 44.7826 54.5903 45.4419V45.4337Z",fill:"white"}))},tt=(n(528),function(e){var t=e.onInstall,n=e.onDismiss;Object(g.useEffect)((function(){var e=document.getElementsByClassName("woocommerce-layout")[0];return"android"===Xe()&&e&&e.classList.add("woocommerce-layout__show-app-banner"),function(){e&&e.classList.remove("woocommerce-layout__show-app-banner")}}),[]);var r=Object(g.useState)(!1),c=ge()(r,2),o=c[0],i=c[1];return"android"!==Xe()||o?null:Object(g.createElement)("div",{className:"woocommerce-mobile-app-banner"},Object(g.createElement)(Ye.a,{icon:"no-alt","data-testid":"dismiss-btn",onClick:function(){n(),i(!0),Object(re.recordEvent)("wcadmin_mobile_android_banner_click",{action:"dismiss"})}}),Object(g.createElement)(et,null),Object(g.createElement)("div",{className:"woocommerce-mobile-app-banner__description"},Object(g.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(oe.__)("Run your store from anywhere","woocommerce-admin")),Object(g.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(oe.__)("Download the WooCommerce app","woocommerce-admin"))),Object(g.createElement)(Ve.a,{href:"https://play.google.com/store/apps/details?id=com.woocommerce.android",isSecondary:!0,onClick:function(){t(),i(!0),Object(re.recordEvent)("wcadmin_mobile_android_banner_click",{action:"install"})}},Object(oe.__)("Install","woocommerce-admin")))}),nt=function(e){var t=e.target.closest("a"),n=t.getAttribute("href");n&&Object(re.recordEvent)("navbar_breadcrumb_click",{href:n,text:t.innerText})},rt=function(e){var t=e.sections,n=e.isEmbedded,r=void 0!==n&&n,c=e.query,o=Object(g.useRef)(null),i=Object(g.useRef)(null),a=Object(g.useRef)(null),u=Object(te.g)("siteTitle",""),l=Object(g.useState)(!1),f=ge()(l,2),h=f[0],d=f[1],v=Object(ne.useUserPreferences)(),p=v.updateUserPreferences,m="yes"===s()(v,["updateUserPreferences"]).android_app_banner_dismissed,b=ze()("woocommerce-layout__header",{"is-scrolled":h});Object(g.useEffect)((function(){a.current=o.current.offsetTop;var e=function(){d(window.pageYOffset>a.current-20)},t=function(){i.current=window.requestAnimationFrame(e)};return window.addEventListener("scroll",t),function(){window.removeEventListener("scroll",t),window.cancelAnimationFrame(i.current)}}),[]),Object(g.useEffect)((function(){if(!r){var e=t.map((function(e){return Array.isArray(e)?e[1]:e})).reverse().join(" &lsaquo; "),n=Object(we.decodeEntities)(Object(oe.sprintf)(Object(oe.__)("%1$s &lsaquo; %2$s &#8212; WooCommerce","woocommerce-admin"),e,u));document.title!==n&&(document.title=n)}}),[r,t,u]);var y=function(){p({android_app_banner_dismissed:"yes"})};return Object(g.createElement)("div",{className:b,ref:o},!m&&Object(g.createElement)(tt,{onDismiss:y,onInstall:y}),Object(g.createElement)("h1",{className:"woocommerce-layout__header-breadcrumbs"},t.map((function(e,t){var n=Array.isArray(e)?Object(g.createElement)(X.Link,{href:r?Object(te.f)(e[0]):Object(ee.getNewPath)({},e[0],{}),type:r?"wp-admin":"wc-admin",onClick:nt},e[1]):e;return Object(g.createElement)("span",{key:t},Object(we.decodeEntities)(n))}))),window.wcAdminFeatures["activity-panels"]&&Object(g.createElement)(Je,{isEmbedded:r,query:c}))};function ct(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y()(e);if(t){var c=y()(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return m()(this,n)}}var ot=function(e){v()(n,e);var t=ct(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"render",value:function(){return Object(g.createElement)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}]),n}(g.Component),it=n(12),at=n.n(it);function st(e,t,n,r,c,o,i){try{var a=e[o](i),s=a.value}catch(e){return void n(e)}a.done?t(s):Promise.resolve(s).then(r,c)}function ut(e){return function(){var t=this,n=arguments;return new Promise((function(r,c){var o=e.apply(t,n);function i(e){st(o,r,c,i,a,"next",e)}function a(e){st(o,r,c,i,a,"throw",e)}i(void 0)}))}}var lt=n(27),ft=n(401),ht=n(717),dt=n(503);var vt=function(e){var t=e.notices,n=e.className,r=e.children,c=e.onRemove,o=void 0===c?J.noop:c,i=Object(ht.a)(),a=Object(g.useState)((function(){return new WeakMap})),s=Object(lt.a)(a,1)[0],u=Object(ft.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=ut(at.a.mark((function t(n){return at.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n({opacity:1,height:s.get(e).offsetHeight});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(){return function(){var e=ut(at.a.mark((function e(t){return at.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0});case 2:return e.next=4,t({height:0});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},immediate:i});n=ze()("components-snackbar-list",n);var l=function(e){return function(){return o(e.id)}};return Object(g.createElement)("div",{className:n},r,u.map((function(e){var t=e.item,n=e.key,r=e.props;return Object(g.createElement)(ft.animated.div,{key:n,style:r},Object(g.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&s.set(t,e)}},Object(g.createElement)(dt.a,Object(R.a)({},Object(J.omit)(t,["content"]),{onRemove:l(t)}),t.content)))})))};n(529);function pt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y()(e);if(t){var c=y()(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return m()(this,n)}}var mt=function(e){v()(n,e);var t=pt(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.notices,r=e.onRemove,c=ze()("woocommerce-transient-notices","components-notices__snackbar",t);return Object(g.createElement)(vt,{notices:n,className:c,onRemove:r})}}]),n}(g.Component);mt.propTypes={className:H.a.string,notices:H.a.array};var bt=Object(O.a)(Object(z.withSelect)((function(e){return{notices:e("core/notices").getNotices()}})),Object(z.withDispatch)((function(e){return{onRemove:e("core/notices").removeNotice}})))(mt);function yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ot(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y()(e);if(t){var c=y()(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return m()(this,n)}}var zt=Object(g.lazy)((function(){return Promise.all([n.e(5),n.e(47)]).then(n.bind(null,912))})),wt=function(e){v()(n,e);var t=Ot(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"render",value:function(){var e=this.props.children;return Object(g.createElement)("div",{className:"woocommerce-layout__primary",id:"woocommerce-layout__primary"},window.wcAdminFeatures["store-alerts"]&&Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(X.Spinner,null)},Object(g.createElement)(zt,null)),Object(g.createElement)(ot,null),e)}}]),n}(g.Component),jt=function(e){v()(n,e);var t=Ot(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"componentDidMount",value:function(){this.recordPageViewTrack()}},{key:"componentDidUpdate",value:function(e){var t=Object(J.get)(e,"location.pathname"),n=Object(J.get)(this.props,"location.pathname");t&&n&&t!==n&&this.recordPageViewTrack()}},{key:"recordPageViewTrack",value:function(){var e=this.props,t=e.activePlugins,n=e.installedPlugins,r=e.isEmbedded,c=e.isJetpackConnected;if(r){var o=document.location.pathname+document.location.search;Object(re.recordPageView)(o,{is_embedded:!0})}else{var i=Object(J.get)(this.props,"location.pathname");if(i){var a=i.substring(1).replace(/\//g,"_");0===a.length&&(a="home_screen"),Object(re.recordPageView)(a,{jetpack_installed:n.includes("jetpack"),jetpack_active:t.includes("jetpack"),jetpack_connected:c})}}}},{key:"getQuery",value:function(e){if(!e)return{};var t=e.substring(1);return Object(Y.parse)(t)}},{key:"render",value:function(){var e=this.props,t=e.isEmbedded,n=s()(e,["isEmbedded"]),r=this.props,c=r.location,o=r.page.breadcrumbs,a=this.getQuery(c&&c.search);return Object(g.createElement)("div",{className:"woocommerce-layout"},Object(g.createElement)(rt,{sections:Object(J.isFunction)(o)?o(this.props):o,isEmbedded:t,query:a}),Object(g.createElement)(bt,null),!t&&Object(g.createElement)(wt,null,Object(g.createElement)("div",{className:"woocommerce-layout__main"},Object(g.createElement)(be,i()({},n,{query:a})))))}}]),n}(g.Component);jt.propTypes={isEmbedded:H.a.bool,page:H.a.shape({container:H.a.oneOfType([H.a.func,H.a.object]),path:H.a.string,breadcrumbs:H.a.oneOfType([H.a.func,H.a.arrayOf(H.a.oneOfType([H.a.arrayOf(H.a.string),H.a.string]))]).isRequired,wpOpenMenu:H.a.string}).isRequired};var kt=Object(O.a)(Object(ne.withPluginsHydration)(gt(gt({},window.wcSettings.plugins||{}),{},{jetpackStatus:window.wcSettings.dataEndpoints&&window.wcSettings.dataEndpoints.jetpackStatus||!1})),Object(z.withSelect)((function(e,t){if(!t.isEmbedded){var n=e(ne.PLUGINS_STORE_NAME),r=n.getActivePlugins,c=n.getInstalledPlugins,o=n.isJetpackConnected;return{activePlugins:r(),isJetpackConnected:o(),installedPlugins:c()}}})))(jt),Mt=function(e){v()(n,e);var t=Ot(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"render",value:function(){return Object(g.createElement)(F,{history:Object(ee.getHistory)()},Object(g.createElement)(Q,null,(e=[],t=[["",wcSettings.woocommerceTranslation]],window.wcAdminFeatures.devdocs&&e.push({container:de,path:"/devdocs",breadcrumbs:function(e){var n=e.location,r=Object(ie.b)(n.search).component;return[].concat(t,r?[["/devdocs","Documentation"],r]:["Documentation"])},wpOpenMenu:"toplevel_page_woocommerce"}),e.push({container:ve,path:"/",breadcrumbs:[].concat(t,[Object(oe.__)("Home","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures.analytics&&(e.push({container:he,path:"/analytics/overview",breadcrumbs:[].concat(t,[["/analytics/overview",Object(oe.__)("Analytics","woocommerce-admin")],Object(oe.__)("Overview","woocommerce-admin")]),wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview"}),e.push({container:fe,path:"/analytics/settings",breadcrumbs:[].concat(t,[["/analytics/revenue",Object(oe.__)("Analytics","woocommerce-admin")],Object(oe.__)("Settings","woocommerce-admin")]),wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview"}),e.push({container:le,path:"/customers",breadcrumbs:[].concat(t,[Object(oe.__)("Customers","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce"}),e.push({container:le,path:"/analytics/:report",breadcrumbs:function(e){var n=e.match,r=Object(J.find)(Object(ae.a)(),{report:n.params.report});return r?[].concat(t,[["/analytics/revenue",Object(oe.__)("Analytics","woocommerce-admin")],r.title]):[]},wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview"})),window.wcAdminFeatures.marketing&&e.push({container:pe,path:"/marketing",breadcrumbs:[].concat(t,[["/marketing",Object(oe.__)("Marketing","woocommerce-admin")],Object(oe.__)("Overview","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce-marketing"}),window.wcAdminFeatures.onboarding&&e.push({container:me,path:"/setup-wizard",breadcrumbs:[].concat(t,[["/setup-wizard",Object(oe.__)("Setup Wizard","woocommerce-admin")]])}),Object(ce.applyFilters)("woocommerce_admin_pages_list",e)).map((function(e){return Object(g.createElement)(q,{key:e.path,path:e.path,exact:!0,render:function(t){return Object(g.createElement)(kt,i()({page:e},t))}})}))));var e,t}}]),n}(g.Component),Ht=Object(O.a)(window.wcSettings.preloadOptions?Object(ne.withOptionsHydration)(gt({},window.wcSettings.preloadOptions)):J.identity)(Mt),Vt=function(e){v()(n,e);var t=Ot(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"render",value:function(){return Object(g.createElement)(kt,{page:{breadcrumbs:Object(te.g)("embedBreadcrumbs",[])},isEmbedded:!0})}}]),n}(g.Component)},274:function(e,t){!function(){e.exports=this.wc.number}()},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(62);var c=n(70);function o(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(c.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},280:function(e,t,n){"use strict";var r=n(0),c=n(101),o={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},i={">=":"min-width","<":"max-width"},a={">=":function(e,t){return t>=e},"<":function(e,t){return t<e}},s=Object(r.createContext)(null),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:">=",n=Object(r.useContext)(s),u=!n&&"(".concat(i[t],": ").concat(o[e],"px)"),l=Object(c.a)(u);return n?a[t](o[e],n):l};u.__experimentalWidthProvider=s.Provider,t.a=u},281:function(e,t,n){"use strict";var r=n(0),c=n(44),o=Object(r.createElement)(c.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.b,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.a=o},282:function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,c=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,v=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,O=r?Symbol.for("react.responder"):60118,z=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case c:switch(e=e.type){case f:case h:case i:case s:case a:case v:return e;default:switch(e=e&&e.$$typeof){case l:case d:case b:case m:case u:return e;default:return t}}case o:return t}}}function j(e){return w(e)===h}t.AsyncMode=f,t.ConcurrentMode=h,t.ContextConsumer=l,t.ContextProvider=u,t.Element=c,t.ForwardRef=d,t.Fragment=i,t.Lazy=b,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=v,t.isAsyncMode=function(e){return j(e)||w(e)===f},t.isConcurrentMode=j,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===c},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===b},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===v},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===h||e===s||e===a||e===v||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===g||e.$$typeof===O||e.$$typeof===z||e.$$typeof===y)},t.typeOf=w},29:function(e,t){!function(){e.exports=this.wp.dataControls}()},3:function(e,t){!function(){e.exports=this.wp.i18n}()},30:function(e,t,n){var r=n(121),c=n(122),o=n(81),i=n(123);e.exports=function(e){return r(e)||c(e)||o(e)||i()}},32:function(e,t){!function(){e.exports=this.wc.navigation}()},33:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return d})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return p})),n.d(t,"f",(function(){return m}));var r=n(43),c=n.n(r),o=n(3),i=["wcAdminSettings","preloadSettings"],a="object"===("undefined"==typeof wcSettings?"undefined":c()(wcSettings))?wcSettings:{},s=Object.keys(a).reduce((function(e,t){return i.includes(t)||(e[t]=a[t]),e}),{}),u=s.adminUrl,l=(s.countries,s.currency),f=s.locale,h=s.orderStatuses,d=(s.siteTitle,s.wcAssetUrl);function v(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(i.includes(e))throw new Error(Object(o.__)("Mutable settings should be accessed via data store."));var r=s.hasOwnProperty(e)?s[e]:t;return n(r,t)}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(i.includes(e))throw new Error(Object(o.__)("Mutable settings should be mutated via data store."));s[e]=n(t)}function m(e){return(u||"")+e}},34:function(e,t){var n,r,c=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,u=[],l=!1,f=-1;function h(){l&&s&&(l=!1,s.length?u=s.concat(u):f=-1,u.length&&d())}function d(){if(!l){var e=a(h);l=!0;for(var t=u.length;t;){for(s=u,u=[];++f<t;)s&&s[f].run();f=-1,t=u.length}s=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function v(e,t){this.fun=e,this.array=t}function p(){}c.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new v(e,t)),1!==u.length||l||a(d)},v.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=p,c.addListener=p,c.once=p,c.off=p,c.removeListener=p,c.removeAllListeners=p,c.emit=p,c.prependListener=p,c.prependOnceListener=p,c.listeners=function(e){return[]},c.binding=function(e){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(e){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},35:function(e,t){!function(){e.exports=this.wc.date}()},36:function(e,t){!function(){e.exports=this.wp.url}()},37:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},38:function(e,t,n){var r=n(124),c=n(125),o=n(81),i=n(126);e.exports=function(e,t){return r(e)||c(e,t)||o(e,t)||i()}},39:function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"f",(function(){return f})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return d}));var r=n(9),c=n(28),o=n(2),i=n(3);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}var s=9,u=27,l=37,f=38,h=39,d=40,v="alt",p="ctrl",m="meta",b="shift",y={primary:function(e){return e()?[m]:[p]},primaryShift:function(e){return e()?[b,m]:[p,b]},primaryAlt:function(e){return e()?[v,m]:[p,v]},secondary:function(e){return e()?[b,v,m]:[p,b,v]},access:function(e){return e()?[p,v]:[b,v]},ctrl:function(){return[p]},alt:function(){return[v]},ctrlShift:function(){return[p,b]},shift:function(){return[b]},shiftAlt:function(){return[b,v]}},g=(Object(o.mapValues)(y,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return[].concat(Object(c.a)(e(n)),[t.toLowerCase()]).join("+")}})),Object(o.mapValues)(y,(function(e){return function(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,s=i(),u=(n={},Object(r.a)(n,v,s?"⌥":"Alt"),Object(r.a)(n,p,s?"⌃":"Ctrl"),Object(r.a)(n,m,"⌘"),Object(r.a)(n,b,s?"⇧":"Shift"),n),l=e(i).reduce((function(e,t){var n=Object(o.get)(u,t,t);return[].concat(Object(c.a)(e),s?[n]:[n,"+"])}),[]),f=Object(o.capitalize)(t);return[].concat(Object(c.a)(l),[f])}})));Object(o.mapValues)(g,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return e(t,n).join("")}})),Object(o.mapValues)(y,(function(e){return function(t){var n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,u=s(),l=(n={},Object(r.a)(n,b,"Shift"),Object(r.a)(n,m,u?"Command":"Control"),Object(r.a)(n,p,"Control"),Object(r.a)(n,v,u?"Option":"Alt"),Object(r.a)(n,",",Object(i.__)("Comma")),Object(r.a)(n,".",Object(i.__)("Period")),Object(r.a)(n,"`",Object(i.__)("Backtick")),n);return[].concat(Object(c.a)(e(s)),[t]).map((function(e){return Object(o.capitalize)(Object(o.get)(l,e,e))})).join(u?" ":" + ")}}));function O(e){return[v,p,m,b].filter((function(t){return e["".concat(t,"Key")]}))}Object(o.mapValues)(y,(function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,c=e(r),i=O(t);return!Object(o.xor)(c,i).length&&(n?t.key===n:Object(o.includes)(c,t.key.toLowerCase()))}}))},4:function(e,t,n){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var c=arguments[r];if(c){var o=typeof c;if("string"===o||"number"===o)e.push(c);else if(Array.isArray(c)&&c.length){var i=n.apply(null,c);i&&e.push(i)}else if("object"===o)for(var a in c)t.call(c,a)&&c[a]&&e.push(a)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return n})):window.classNames=n}()},40:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},c=a(n(11)),o=a(n(190)),i=a(n(193));function a(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function u(e,t){var n,i,a,l,f,h,d,v,p=[],m={};for(h=0;h<e.length;h++)if("string"!==(f=e[h]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==r(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+s);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],a=h;break}p.push(t[f.value])}else p.push(f.value);return n&&(l=function(e,t){var n,r,c=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===c.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+c.value+"`")}(a,e),d=u(e.slice(a+1,l),t),i=c.default.cloneElement(n,{},d),p.push(i),l<e.length-1&&(v=u(e.slice(l+1),t),p=p.concat(v))),1===p.length?p[0]:(p.forEach((function(e,t){e&&(m["interpolation-child-"+t]=e)})),(0,o.default)(m))}t.default=function(e){var t=e.mixedString,n=e.components,c=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(c)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var o=(0,i.default)(t);try{return u(o,n)}catch(e){if(c)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},401:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var c=r(n(37)),o=r(n(257)),i=n(11),a=r(i),s=r(n(170)),u=r(n(10)),l={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(l.str(e)||l.num(e))return e===t;if(l.obj(e)&&l.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!l.und(n)||e===t}};function f(){var e=i.useState(!1)[1];return i.useCallback((function(){return e((function(e){return!e}))}),[])}function h(e,t){return l.und(e)||l.nul(e)?t:e}function d(e){return l.und(e)?[]:l.arr(e)?e:[e]}function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return l.fun(e)?e.apply(void 0,n):e}function p(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,o(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(l.und(t))return c({to:t},e);var n=Object.keys(e).reduce((function(n,r){var o;return l.und(t[r])?c({},n,((o={})[r]=e[r],o)):n}),{});return c({to:t},n)}var m,b,y=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),g=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),c=0;c<n;c++)r[c]=arguments[c];return(t=e.call.apply(e,[this].concat(r))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.addChild(u(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.removeChild(u(t))}))},t}return s(t,e),t}(y),O=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),c=0;c<n;c++)r[c]=arguments[c];return(t=e.call.apply(e,[this].concat(r))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.addChild(u(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.removeChild(u(t))}))},t}s(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof y)&&(t[n]=r instanceof y?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(y);function z(e,t){m={fn:e,transform:t}}function w(e){b=e}var j,k=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},M=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function H(e){j=e}var V,E=function(){return Date.now()};function C(e){V=e}var x,S,_=function(e){return e.current};function L(e){x=e}var P=Object.freeze({get applyAnimatedValues(){return m},injectApplyAnimatedValues:z,get colorNames(){return b},injectColorNames:w,get requestFrame(){return k},get cancelFrame(){return M},injectFrame:function(e,t){k=e,M=t},get interpolation(){return j},injectStringInterpolator:H,get now(){return E},injectNow:function(e){E=e},get defaultElement(){return V},injectDefaultElement:C,get animatedApi(){return _},injectAnimatedApi:function(e){_=e},get createAnimatedStyle(){return x},injectCreateAnimatedStyle:L,get manualFrameloop(){return S},injectManualFrameloop:function(e){S=e}}),R=function(e){function t(t,n){var r;return(r=e.call(this)||this).update=void 0,r.payload=t.style?c({},t,{style:x(t.style)}):t,r.update=n,r.attach(),r}return s(t,e),t}(O),T=!1,A=new Set,N=function e(){if(!T)return!1;var t=E(),n=A,r=Array.isArray(n),c=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(c>=n.length)break;o=n[c++]}else{if((c=n.next()).done)break;o=c.value}for(var i=o,a=!1,s=0;s<i.configs.length;s++){for(var u=i.configs[s],l=void 0,f=void 0,h=0;h<u.animatedValues.length;h++){var d=u.animatedValues[h];if(!d.done){var v=u.fromValues[h],p=u.toValues[h],m=d.lastPosition,b=p instanceof y,g=Array.isArray(u.initialVelocity)?u.initialVelocity[h]:u.initialVelocity;if(b&&(p=p.getValue()),u.immediate)d.setValue(p),d.done=!0;else if("string"!=typeof v&&"string"!=typeof p){if(void 0!==u.duration)m=v+u.easing((t-d.startTime)/u.duration)*(p-v),l=t>=d.startTime+u.duration;else if(u.decay)m=v+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-d.startTime))),(l=Math.abs(d.lastPosition-m)<.1)&&(p=m);else{f=void 0!==d.lastTime?d.lastTime:t,g=void 0!==d.lastVelocity?d.lastVelocity:u.initialVelocity,t>f+64&&(f=t);for(var O=Math.floor(t-f),z=0;z<O;++z){m+=1*(g+=1*((-u.tension*(m-p)+-u.friction*g)/u.mass)/1e3)/1e3}var w=!(!u.clamp||0===u.tension)&&(v<p?m>p:m<p),j=Math.abs(g)<=u.precision,M=0===u.tension||Math.abs(p-m)<=u.precision;l=w||j&&M,d.lastVelocity=g,d.lastTime=t}b&&!u.toValues[h].done&&(l=!1),l?(d.value!==p&&(m=p),d.done=!0):a=!0,d.setValue(m),d.lastPosition=m}else d.setValue(p),d.done=!0}}i.props.onFrame&&(i.values[u.name]=u.interpolation.getValue())}i.props.onFrame&&i.props.onFrame(i.values),a||(A.delete(i),i.stop(!0))}return A.size?S?S():k(e):T=!1,T};function D(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return D({range:e,output:t,extrapolate:n});if(j&&"string"==typeof e.output[0])return j(e);var r=e,c=r.output,o=r.range||[0,1],i=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",s=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,c,o,i,a,s){var u=s?s(e):e;if(u<t){if("identity"===i)return u;"clamp"===i&&(u=t)}if(u>n){if("identity"===a)return u;"clamp"===a&&(u=n)}if(r===c)return r;if(t===n)return e<=t?r:c;t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t);u=o(u),r===-1/0?u=-u:c===1/0?u+=r:u=u*(c-r)+r;return u}(e,o[t],o[t+1],c[t],c[t+1],s,i,a,r.map)}}var F=function(e){function t(n,r,c,o){var i;return(i=e.call(this)||this).calc=void 0,i.payload=n instanceof g&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],i.calc=D(r,c,o),i}s(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=D(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(g);var I=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}s(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new F(this,e,t,n)},t}(y),B=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new I(e)})),n}s(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new F(this,e,t)},t}(g),U=0,q=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=U++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=p(e),n=t.delay,r=void 0===n?0:n,i=t.to,a=o(t,["delay","to"]);if(l.arr(i)||l.fun(i))this.queue.push(c({},a,{delay:r,to:i}));else if(i){var s={};Object.entries(i).forEach((function(e){var t,n=e[0],o=e[1],i=c({to:(t={},t[n]=o,t),delay:v(r,n)},a),u=s[i.delay]&&s[i.delay].to;s[i.delay]=c({},s[i.delay],i,{to:c({},u,i.to)})})),this.queue=Object.values(s)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(a),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,o=e.to,i=void 0===o?{}:o;l.obj(r)&&(n.merged=c({},r,n.merged)),l.obj(i)&&(n.merged=c({},n.merged,i))}));var r=this.local=++this.guid,i=this.localQueue=this.queue;this.queue=[],i.forEach((function(t,c){var a=t.delay,s=o(t,["delay"]),u=function(t){c===i.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},f=l.arr(s.to)||l.fun(s.to);a?setTimeout((function(){r===n.guid&&(f?n.runAsync(s,u):n.diff(s).start(u))}),a):f?n.runAsync(s,u):n.diff(s).start(u)}))}else l.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,A.has(t)||A.add(t),T||(T=!0,k(S||N));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,A.has(t)&&A.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,o(e,["delay"])),i=this.local,a=Promise.resolve(void 0);if(l.arr(r.to))for(var s=function(e){var t=e,o=c({},r,p(r.to[t]));l.arr(o.config)&&(o.config=o.config[t]),a=a.then((function(){if(i===n.guid)return new Promise((function(e){return n.diff(o).start(e)}))}))},u=0;u<r.to.length;u++)s(u);else if(l.fun(r.to)){var f,h=0;a=a.then((function(){return r.to((function(e){var t=c({},r,p(e));if(l.arr(t.config)&&(t.config=t.config[h]),h++,i===n.guid)return f=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return f}))}))}a.then(t)},t.diff=function(e){var t=this;this.props=c({},this.props,e);var n=this.props,r=n.from,o=void 0===r?{}:r,i=n.to,a=void 0===i?{}:i,s=n.config,u=void 0===s?{}:s,f=n.reverse,p=n.attach,m=n.reset,y=n.immediate;if(f){var g=[a,o];o=g[0],a=g[1]}this.merged=c({},o,this.merged,a),this.hasChanged=!1;var O=p&&p(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],i=n[1],a=e[r]||{},s=l.num(i),f=l.str(i)&&!i.startsWith("#")&&!/\d/.test(i)&&!b[i],p=l.arr(i),g=!s&&!p&&!f,z=l.und(o[r])?i:o[r],w=s||p||f?i:1,k=v(u,r);O&&(w=O.animations[r].parent);var M,H=a.parent,V=a.interpolation,C=d(O?w.getPayload():w),x=i;g&&(x=j({range:[0,1],output:[i,i]})(1));var S,_=V&&V.getValue(),L=!l.und(H)&&a.animatedValues.some((function(e){return!e.done})),P=!l.equ(x,_),R=!l.equ(x,a.previous),T=!l.equ(k,a.config);if(m||R&&P||T){var A;if(s||f)H=V=a.parent||new I(z);else if(p)H=V=a.parent||new B(z);else if(g){var N=a.interpolation&&a.interpolation.calc(a.parent.value);N=void 0===N||m?z:N,a.parent?(H=a.parent).setValue(0,!1):H=new I(0);var D={output:[N,i]};a.interpolation?(V=a.interpolation,a.interpolation.updateConfig(D)):V=H.interpolate(D)}return C=d(O?w.getPayload():w),M=d(H.getPayload()),m&&!g&&H.setValue(z,!1),t.hasChanged=!0,M.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=L?e.lastVelocity:void 0,e.lastTime=L?e.lastTime:void 0,e.startTime=E(),e.done=!1,e.animatedStyles.clear()})),v(y,r)&&H.setValue(g?w:i,!1),c({},e,((A={})[r]=c({},a,{name:r,parent:H,interpolation:V,animatedValues:M,toValues:C,previous:x,config:k,fromValues:d(H.getValue()),immediate:v(y,r),initialVelocity:h(k.velocity,0),clamp:h(k.clamp,!1),precision:h(k.precision,.01),tension:h(k.tension,170),friction:h(k.friction,26),mass:h(k.mass,1),duration:k.duration,easing:h(k.easing,(function(e){return e})),decay:k.decay}),A))}return P?e:(g&&(H.setValue(1,!1),V.updateConfig({output:[x,x]})),H.done=!0,t.hasChanged=!0,c({},e,((S={})[r]=c({},e[r],{previous:x}),S)))}),this.animations),this.hasChanged)for(var z in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[z]=this.animations[z].interpolation,this.values[z]=this.animations[z].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),W=function(e,t){var n=i.useRef(!1),r=i.useRef(),c=l.fun(t),o=i.useMemo((function(){var n;return r.current&&(r.current.map((function(e){return e.destroy()})),r.current=void 0),[new Array(e).fill().map((function(e,r){var o=new q,i=c?v(t,r,o):t[r];return 0===r&&(n=i.ref),o.update(i),n||o.start(),o})),n]}),[e]),a=o[0],s=o[1];r.current=a;i.useImperativeHandle(s,(function(){return{start:function(){return Promise.all(r.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return r.current.forEach((function(t){return t.stop(e)}))},get controllers(){return r.current}}}));var u=i.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(c?v(e,n,t):e[n]),s||t.start()}))}}),[e]);i.useEffect((function(){n.current?c||u(t):s||r.current.forEach((function(e){return e.start()}))})),i.useEffect((function(){return n.current=!0,function(){return r.current.forEach((function(e){return e.destroy()}))}}),[]);var f=r.current.map((function(e){return e.getValues()}));return c?[f,u,function(e){return r.current.forEach((function(t){return t.pause(e)}))}]:f},$=0,K=function(e,t){return("function"==typeof t?e.map(t):d(t)).map(String)},G=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,i=o(e,["items","keys"]);return t=d(void 0!==t?t:null),c({items:t,keys:K(t,r)},i)};function Z(e,t){var n=function(){if(c){if(o>=r.length)return"break";i=r[o++]}else{if((o=r.next()).done)return"break";i=o.value}var n=i.key,a=function(e){return e.key!==n};(l.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(a),e.current.deleted=e.current.deleted.filter(a))},r=e.current.deleted,c=Array.isArray(r),o=0;for(r=c?r:r[Symbol.iterator]();;){var i;if("break"===n())break}e.current.forceUpdate()}var Q=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof y||(t=m.transform(t)),n.payload=t,n}return s(t,e),t}(O),J={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Y="[-+]?\\d*\\.?\\d+";function X(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+X(Y,Y,Y)),te=new RegExp("rgba"+X(Y,Y,Y,Y)),ne=new RegExp("hsl"+X(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),re=new RegExp("hsla"+X(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Y)),ce=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ie=/^#([0-9a-fA-F]{6})$/,ae=/^#([0-9a-fA-F]{8})$/;function se(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ue(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,c=2*n-r,o=se(c,r,e+1/3),i=se(c,r,e),a=se(c,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*i)<<16|Math.round(255*a)<<8}function le(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function fe(e){return(parseFloat(e)%360+360)%360/360}function he(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function de(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function ve(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ie.exec(t))?parseInt(n[1]+"ff",16)>>>0:J.hasOwnProperty(t)?J[t]:(n=ee.exec(t))?(le(n[1])<<24|le(n[2])<<16|le(n[3])<<8|255)>>>0:(n=te.exec(t))?(le(n[1])<<24|le(n[2])<<16|le(n[3])<<8|he(n[4]))>>>0:(n=ce.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=ae.exec(t))?parseInt(n[1],16)>>>0:(n=oe.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ne.exec(t))?(255|ue(fe(n[1]),de(n[2]),de(n[3])))>>>0:(n=re.exec(t))?(ue(fe(n[1]),de(n[2]),de(n[3]))|he(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var pe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,me=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,be=new RegExp("("+Object.keys(J).join("|")+")","g"),ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ge=["Webkit","Ms","Moz","O"];function Oe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return ge.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ye);var ze={};L((function(e){return new Q(e)})),C("div"),H((function(e){var t=e.output.map((function(e){return e.replace(me,ve)})).map((function(e){return e.replace(be,ve)})),n=t[0].match(pe).map((function(){return[]}));t.forEach((function(e){e.match(pe).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(pe).map((function(t,r){return D(c({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(pe,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,c){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+c+")"}))}})),w(J),z((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,c=t.scrollTop,i=t.scrollLeft,a=o(t,["style","children","scrollTop","scrollLeft"]),s="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var u in void 0!==c&&(e.scrollTop=c),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(u)){var l=0===u.indexOf("--"),f=Oe(u,n[u],l);"float"===u&&(u="cssFloat"),l?e.style.setProperty(u,f):e.style[u]=f}for(var h in a){var d=s?h:ze[h]||(ze[h]=h.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(d)&&e.setAttribute(d,a[h])}}),(function(e){return e}));var we,je,ke=(we=function(e){return i.forwardRef((function(t,n){var r=f(),s=i.useRef(!0),u=i.useRef(null),h=i.useRef(null),d=i.useCallback((function(e){var t=u.current;u.current=new R(e,(function(){var e=!1;h.current&&(e=m.fn(h.current,u.current.getAnimatedValue())),h.current&&!1!==e||r()})),t&&t.detach()}),[]);i.useEffect((function(){return function(){s.current=!1,u.current&&u.current.detach()}}),[]),i.useImperativeHandle(n,(function(){return _(h,s,r)})),d(t);var v,p=u.current.getValue(),b=(p.scrollTop,p.scrollLeft,o(p,["scrollTop","scrollLeft"])),y=(v=e,!l.fun(v)||v.prototype instanceof a.Component?function(e){return h.current=function(e,t){return t&&(l.fun(t)?t(e):l.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return a.createElement(e,c({},b,{ref:y}))}))},void 0===(je=!1)&&(je=!0),function(e){return(l.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=je?t[0].toLowerCase()+t.substring(1):t;return e[n]=we(n),e}),we)}),Me=ke(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=ke,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=N,t.animated=Me,t.a=Me,t.interpolate=function(e,t,n){return e&&new F(e,t,n)},t.Globals=P,t.useSpring=function(e){var t=l.fun(e),n=W(1,t?e:[e]),r=n[0],c=n[1],o=n[2];return t?[r[0],c,o]:r},t.useTrail=function(e,t){var n=i.useRef(!1),r=l.fun(t),o=v(t),a=i.useRef(),s=W(e,(function(e,t){return 0===e&&(a.current=[]),a.current.push(t),c({},o,{config:v(o.config,e),attach:e>0&&function(){return a.current[e-1]}})})),u=s[0],f=s[1],h=s[2],d=i.useMemo((function(){return function(e){return f((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,i=a.current[r];return c({},e,{config:v(e.config||o.config,t),attach:i&&function(){return i}})}))}}),[e,o.reverse]);return i.useEffect((function(){n.current&&!r&&d(t)})),i.useEffect((function(){n.current=!0}),[]),r?[u,d,h]:u},t.useTransition=function(e,t,n){var r=c({items:e,keys:t||function(e){return e}},n),a=G(r),s=a.lazy,u=void 0!==s&&s,l=(a.unique,a.reset),h=void 0!==l&&l,d=(a.enter,a.leave,a.update,a.onDestroyed),p=(a.keys,a.items,a.onFrame),m=a.onRest,b=a.onStart,y=a.ref,g=o(a,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),O=f(),z=i.useRef(!1),w=i.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!z.current&&new Map,forceUpdate:O});return i.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(w.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(w.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(w.current.instances).map((function(e){return e[1]}))}}})),w.current=function(e,t){var n=e.first,r=e.prevProps,i=o(e,["first","prevProps"]),a=G(t),s=a.items,u=a.keys,l=a.initial,f=a.from,h=a.enter,d=a.leave,p=a.update,m=a.trail,b=void 0===m?0:m,y=a.unique,g=a.config,O=a.order,z=void 0===O?["enter","leave","update"]:O,w=G(r),j=w.keys,k=w.items,M=c({},i.current),H=[].concat(i.deleted),V=Object.keys(M),E=new Set(V),C=new Set(u),x=u.filter((function(e){return!E.has(e)})),S=i.transitions.filter((function(e){return!e.destroyed&&!C.has(e.originalKey)})).map((function(e){return e.originalKey})),_=u.filter((function(e){return E.has(e)})),L=-b;for(;z.length;){switch(z.shift()){case"enter":x.forEach((function(e,t){y&&H.find((function(t){return t.originalKey===e}))&&(H=H.filter((function(t){return t.originalKey!==e})));var r=u.indexOf(e),c=s[r],o=n&&void 0!==l?"initial":"enter";M[e]={slot:o,originalKey:e,key:y?String(e):$++,item:c,trail:L+=b,config:v(g,c,o),from:v(n&&void 0!==l?l||{}:f,c),to:v(h,c)}}));break;case"leave":S.forEach((function(e){var t=j.indexOf(e),n=k[t];H.unshift(c({},M[e],{slot:"leave",destroyed:!0,left:j[Math.max(0,t-1)],right:j[Math.min(j.length,t+1)],trail:L+=b,config:v(g,n,"leave"),to:v(d,n)})),delete M[e]}));break;case"update":_.forEach((function(e){var t=u.indexOf(e),n=s[t];M[e]=c({},M[e],{item:n,slot:"update",trail:L+=b,config:v(g,n,"update"),to:v(p,n)})}))}}var P=u.map((function(e){return M[e]}));return H.forEach((function(e){var t,n=e.left,r=(e.right,o(e,["left","right"]));-1!==(t=P.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),P=[].concat(P.slice(0,t),[r],P.slice(t))})),c({},i,{changed:x.length||S.length||_.length,first:n&&0===x.length,transitions:P,current:M,deleted:H,prevProps:t})}(w.current,r),w.current.changed&&w.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,o=e.config,i=e.trail,a=e.key,s=e.item;w.current.instances.has(a)||w.current.instances.set(a,new q);var l=w.current.instances.get(a),f=c({},g,{to:r,from:n,config:o,ref:y,onRest:function(n){w.current.mounted&&(e.destroyed&&(y||u||Z(w,a),d&&d(s)),!Array.from(w.current.instances).some((function(e){return!e[1].idle}))&&(y||u)&&w.current.deleted.length>0&&Z(w),m&&m(s,t,n))},onStart:b&&function(){return b(s,t)},onFrame:p&&function(e){return p(s,t,e)},delay:i,reset:h&&"enter"===t});l.update(f),w.current.paused||l.start()})),i.useEffect((function(){return w.current.mounted=z.current=!0,function(){w.current.mounted=z.current=!1,Array.from(w.current.instances).map((function(e){return e[1].destroy()})),w.current.instances.clear()}}),[]),w.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:w.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=i.useRef();i.useEffect((function(){l.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var o=e.current;if(o){var i=o.controllers;if(i.length){var a=n*t[r];i.forEach((function(e){e.queue=e.queue.map((function(e){return c({},e,{delay:e.delay+a})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=W},402:function(e,t,n){var r=n(530);e.exports=d,e.exports.parse=o,e.exports.compile=function(e,t){return a(o(e,t),t)},e.exports.tokensToFunction=a,e.exports.tokensToRegExp=h;var c=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,a="",l=t&&t.delimiter||"/";null!=(n=c.exec(e));){var f=n[0],h=n[1],d=n.index;if(a+=e.slice(i,d),i=d+f.length,h)a+=h[1];else{var v=e[i],p=n[2],m=n[3],b=n[4],y=n[5],g=n[6],O=n[7];a&&(r.push(a),a="");var z=null!=p&&null!=v&&v!==p,w="+"===g||"*"===g,j="?"===g||"*"===g,k=n[2]||l,M=b||y;r.push({name:m||o++,prefix:p||"",delimiter:k,optional:j,repeat:w,partial:z,asterisk:!!O,pattern:M?u(M):O?".*":"[^"+s(k)+"]+?"})}}return i<e.length&&(a+=e.substr(i)),a&&r.push(a),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function a(e,t){for(var n=new Array(e.length),c=0;c<e.length;c++)"object"==typeof e[c]&&(n[c]=new RegExp("^(?:"+e[c].pattern+")$",f(t)));return function(t,c){for(var o="",a=t||{},s=(c||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var l=e[u];if("string"!=typeof l){var f,h=a[l.name];if(null==h){if(l.optional){l.partial&&(o+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(h)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<h.length;d++){if(f=s(h[d]),!n[u].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===d?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(h).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(h),!n[u].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');o+=l.prefix+f}}else o+=l}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function h(e,t,n){r(t)||(n=t||n,t=[]);for(var c=(n=n||{}).strict,o=!1!==n.end,i="",a=0;a<e.length;a++){var u=e[a];if("string"==typeof u)i+=s(u);else{var h=s(u.prefix),d="(?:"+u.pattern+")";t.push(u),u.repeat&&(d+="(?:"+h+d+")*"),i+=d=u.optional?u.partial?h+"("+d+")?":"(?:"+h+"("+d+"))?":h+"("+d+")"}}var v=s(n.delimiter||"/"),p=i.slice(-v.length)===v;return c||(i=(p?i.slice(0,-v.length):i)+"(?:"+v+"(?=$))?"),i+=o?"$":c&&p?"":"(?="+v+"|$)",l(new RegExp("^"+i,f(n)),t)}function d(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],c=0;c<e.length;c++)r.push(d(e[c],t,n).source);return l(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return h(o(e,n),t,n)}(e,t,n)}},41:function(e,t){!function(){e.exports=this.wc.data}()},410:function(e,t,n){"use strict";function r(e){return e?e.substr(1).split("&").reduce((function(e,t){var n=t.split("="),r=n[0],c=decodeURIComponent(n[1]);return c=isNaN(Number(c))?c:Number(c),e[r]=c,e}),{}):{}}function c(){var e="",t=r(window.location.search),n=t.page,c=t.path,o=t.post_type;if(n){var i="wc-admin"===n?"home_screen":n;e=c?c.replace(/\//g,"_").substring(1):i}else o&&(e=o);return e}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return c}))},411:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return o}));var r=n(2);function c(e,t){return Object(r.filter)(e,(function(e){var n=e.is_deleted,r=e.date_created_gmt,c=e.status;if(!n)return(!t||!r||new Date(r+"Z").getTime()>t)&&"unactioned"===c})).length}function o(e){return Object(r.filter)(e,(function(e){return!e.is_deleted})).length>0}},415:function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return g}));var r=n(0),c=n(3),o=n(49),i=n(40),a=n.n(i),s=n(33),u=n(67),l=n(68),f=n(41),h=n(35),d=function(e){var t=e.value,n=e.onChange,c=Object(f.useSettings)("wc_admin",["wcAdminSettings"]).wcAdminSettings.woocommerce_default_date_range,o=Object(u.parse)(t.replace(/&amp;/g,"&")),i=Object(h.getDateParamsFromQuery)(o,c),a=i.period,s=i.compare,d=i.before,v=i.after,p=Object(h.getCurrentDates)(o,c),m={period:a,compare:s,before:d,after:v,primaryDate:p.primary,secondaryDate:p.secondary};return Object(r.createElement)(l.DateRangeFilterPicker,{query:o,onRangeSelect:function(e){n({target:{name:"woocommerce_default_date_range",value:Object(u.stringify)(e)}})},dateQuery:m,isoDateFormat:h.isoDateFormat})},v=["processing","on-hold"],p=["completed","processing","refunded","cancelled","failed","pending","on-hold"],m=Object.keys(s.d).filter((function(e){return"refunded"!==e})).map((function(e){return{value:e,label:s.d[e],description:Object(c.sprintf)(Object(c.__)("Exclude the %s status from reports","woocommerce-admin"),s.d[e])}})),b=Object(s.g)("unregisteredOrderStatuses",{}),y=[{key:"defaultStatuses",options:m.filter((function(e){return p.includes(e.value)}))},{key:"customStatuses",label:Object(c.__)("Custom Statuses","woocommerce-admin"),options:m.filter((function(e){return!p.includes(e.value)}))},{key:"unregisteredStatuses",label:Object(c.__)("Unregistered Statuses","woocommerce-admin"),options:Object.keys(b).map((function(e){return{value:e,label:e,description:Object(c.sprintf)(Object(c.__)("Exclude the %s status from reports","woocommerce-admin"),e)}}))}],g=Object(o.applyFilters)("woocommerce_admin_analytics_settings",{woocommerce_excluded_report_order_statuses:{label:Object(c.__)("Excluded Statuses:","woocommerce-admin"),inputType:"checkboxGroup",options:y,helpText:a()({mixedString:Object(c.__)("Orders with these statuses are excluded from the totals in your reports. The {{strong}}Refunded{{/strong}} status can not be excluded.","woocommerce-admin"),components:{strong:Object(r.createElement)("strong",null)}}),defaultValue:["pending","cancelled","failed"]},woocommerce_actionable_order_statuses:{label:Object(c.__)("Actionable Statuses:","woocommerce-admin"),inputType:"checkboxGroup",options:y,helpText:Object(c.__)("Orders with these statuses require action on behalf of the store admin.These orders will show up in the Orders tab under the activity panel.","woocommerce-admin"),defaultValue:v},woocommerce_default_date_range:{name:"woocommerce_default_date_range",label:Object(c.__)("Default Date Range:","woocommerce-admin"),inputType:"component",component:d,helpText:Object(c.__)("Select a default date range. When no range is selected, reports will be viewed by the default date range.","woocommerce-admin"),defaultValue:"period=month&compare=previous_year"}})},417:function(e,t,n){"use strict";var r=n(3),c=n(49),o=n(0),i=n(33),a=Object(i.g)("manageStock","no"),s=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(20)]).then(n.bind(null,705))})),u=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(7),n.e(19)]).then(n.bind(null,706))})),l=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(18)]).then(n.bind(null,707))})),f=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(7),n.e(14)]).then(n.bind(null,703))})),h=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(15)]).then(n.bind(null,708))})),d=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(22)]).then(n.bind(null,709))})),v=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(17)]).then(n.bind(null,710))})),p=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(0),n.e(21)]).then(n.bind(null,702))})),m=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(0),n.e(16)]).then(n.bind(null,704))}));t.a=function(){var e=[{report:"revenue",title:Object(r.__)("Revenue","woocommerce-admin"),component:s},{report:"products",title:Object(r.__)("Products","woocommerce-admin"),component:u},{report:"orders",title:Object(r.__)("Orders","woocommerce-admin"),component:l},{report:"categories",title:Object(r.__)("Categories","woocommerce-admin"),component:f},{report:"coupons",title:Object(r.__)("Coupons","woocommerce-admin"),component:h},{report:"taxes",title:Object(r.__)("Taxes","woocommerce-admin"),component:d},{report:"downloads",title:Object(r.__)("Downloads","woocommerce-admin"),component:v},"yes"===a?{report:"stock",title:Object(r.__)("Stock","woocommerce-admin"),component:p}:null,{report:"customers",title:Object(r.__)("Customers","woocommerce-admin"),component:m},{report:"downloads",title:Object(r.__)("Downloads","woocommerce-admin"),component:v}].filter(Boolean);return Object(c.applyFilters)("woocommerce_admin_reports_list",e)}},418:function(e,t,n){"use strict";var r=n(9),c=n(19),o=n(0);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function(e){var t=e.icon,n=e.size,a=void 0===n?24:n,s=Object(c.a)(e,["icon","size"]);return Object(o.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:a,height:a},s))}},42:function(e,t){!function(){e.exports=this.wp.apiFetch}()},43:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},44:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return f}));var r=n(9),c=n(19),o=n(4),i=n.n(o),a=n(0);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u=function(e){return Object(a.createElement)("circle",e)},l=function(e){return Object(a.createElement)("path",e)},f=function(e){var t=e.className,n=e.isPressed,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(c.a)(e,["className","isPressed"]),{className:i()(t,{"is-pressed":n})||void 0,role:"img","aria-hidden":!0,focusable:!1});return Object(a.createElement)("svg",o)}},47:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},49:function(e,t){!function(){e.exports=this.wp.hooks}()},5:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},500:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=n(526),i=n(11),a=n(88);e.exports=function(e){var t=e.displayName||e.name,n=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleClickOutside=t.handleClickOutside.bind(t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),c(n,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside,!0)}},{key:"handleClickOutside",value:function(e){var t=this.__domNode;t&&t.contains(e.target)||!this.__wrappedInstance||"function"!=typeof this.__wrappedInstance.handleClickOutside||this.__wrappedInstance.handleClickOutside(e)}},{key:"render",value:function(){var t=this,n=this.props,c=n.wrappedRef,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["wrappedRef"]);return i.createElement(e,r({},o,{ref:function(e){t.__wrappedInstance=e,t.__domNode=a.findDOMNode(e),c&&c(e)}}))}}]),n}(i.Component);return n.displayName="clickOutside("+t+")",o(n,e)}},501:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,c=e.onClick,o=(e.icon,e.className),a=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-pages",o,!1,!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:s,height:n,width:n,onClick:c},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"})))};var c,o=n(11),i=(c=o)&&c.__esModule?c:{default:c};e.exports=t.default},502:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,c=e.onClick,o=(e.icon,e.className),a=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-cross-small",o,!1,!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:s,height:n,width:n,onClick:c},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})))};var c,o=n(11),i=(c=o)&&c.__esModule?c:{default:c};e.exports=t.default},503:function(e,t,n){"use strict";(function(e){var r=n(0),c=n(2),o=n(4),i=n.n(o),a=n(171),s=n(3),u=(n(102),n(72));t.a=Object(r.forwardRef)((function(t,n){var o=t.className,l=t.children,f=t.spokenMessage,h=void 0===f?l:f,d=t.politeness,v=void 0===d?"polite":d,p=t.actions,m=void 0===p?[]:p,b=t.onRemove,y=void 0===b?c.noop:b;!function(e,t){var n="string"==typeof e?e:Object(r.renderToString)(e);Object(r.useEffect)((function(){n&&Object(a.a)(n,t)}),[n,t])}(h,v),Object(r.useEffect)((function(){var e=setTimeout((function(){y()}),1e4);return function(){return clearTimeout(e)}}),[]);var g=i()(o,"components-snackbar");return m&&m.length>1&&(void 0!==e&&e.env,m=[m[0]]),Object(r.createElement)("div",{ref:n,className:g,onClick:y,tabIndex:"0",role:"button",onKeyPress:y,"aria-label":Object(s.__)("Dismiss this notice")},Object(r.createElement)("div",{className:"components-snackbar__content"},l,m.map((function(e,t){var n=e.label,c=e.onClick,o=e.url;return Object(r.createElement)(u.a,{key:t,href:o,isTertiary:!0,onClick:function(e){e.stopPropagation(),c&&c(e)},className:"components-snackbar__action"},n)}))))}))}).call(this,n(34))},504:function(e,t,n){"use strict";(function(t){var n="__global_unique_id__";e.exports=function(){return t[n]=(t[n]||0)+1}}).call(this,n(47))},509:function(e,t,n){"use strict";var r=n(8),c=n(19),o=n(0),i=n(2),a=n(39),s=n(20),u=n(21),l=n(18),f=n(23),h=n(7),d=n(22),v=n(51);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var m=function(e){Object(d.a)(a,e);var t,n=(t=a,function(){var e,n=Object(h.a)(t);if(p()){var r=Object(h.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(f.a)(this,e)});function a(){var e;return Object(s.a)(this,a),(e=n.apply(this,arguments)).onKeyDown=e.onKeyDown.bind(Object(l.a)(e)),e.bindContainer=e.bindContainer.bind(Object(l.a)(e)),e.getFocusableContext=e.getFocusableContext.bind(Object(l.a)(e)),e.getFocusableIndex=e.getFocusableIndex.bind(Object(l.a)(e)),e}return Object(u.a)(a,[{key:"componentDidMount",value:function(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}},{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(i.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?v.a.tabbable:v.a.focusable).find(this.container),n=this.getFocusableIndex(t,e);return n>-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,r=n.cycle,c=void 0===r||r,o=n.eventToOffset,a=n.onNavigate,s=void 0===a?i.noop:a,u=n.stopNavigationEvents,l=o(e);if(void 0!==l&&u&&(e.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault()),l){var f=t(document.activeElement);if(f){var h=f.index,d=f.focusables,v=c?function(e,t,n){var r=e+n;return r<0?t+r:r>=t?r-t:r}(h,d.length,l):h+l;v>=0&&v<d.length&&(d[v].focus(),s(v,d[v]))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(c.a)(e,["children"]);return Object(o.createElement)("div",Object(r.a)({ref:this.bindContainer},Object(i.omit)(n,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),t)}}]),a}(o.Component),b=function(e,t){return Object(o.createElement)(m,Object(r.a)({},e,{forwardedRef:t}))};b.displayName="NavigableContainer";var y=Object(o.forwardRef)(b);t.a=Object(o.forwardRef)((function(e,t){var n=e.role,s=void 0===n?"menu":n,u=e.orientation,l=void 0===u?"vertical":u,f=Object(c.a)(e,["role","orientation"]);return Object(o.createElement)(y,Object(r.a)({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:s,"aria-orientation":"presentation"===s?null:l,eventToOffset:function(e){var t=e.keyCode,n=[a.a],r=[a.f];return"horizontal"===l&&(n=[a.d],r=[a.c]),"both"===l&&(n=[a.d,a.a],r=[a.c,a.f]),Object(i.includes)(n,t)?1:Object(i.includes)(r,t)?-1:void 0}},f))}))},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var r={};n.r(r),n.d(r,"find",(function(){return a}));var c={};n.r(c),n.d(c,"isTabbableIndex",(function(){return l})),n.d(c,"find",(function(){return p})),n.d(c,"findPrevious",(function(){return m})),n.d(c,"findNext",(function(){return b}));var o=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function i(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function a(e){var t=e.querySelectorAll(o);return Array.from(t).filter((function(e){return!(!i(e)||function(e){return"iframe"===e.nodeName.toLowerCase()&&"-1"===e.getAttribute("tabindex")}(e))&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&i(n)}(e))}))}var s=n(2);function u(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function l(e){return-1!==u(e)}function f(e,t){return{element:e,index:t}}function h(e){return e.element}function d(e,t){var n=u(e.element),r=u(t.element);return n===r?e.index-t.index:n-r}function v(e){return e.filter(l).map(f).sort(d).map(h).reduce((t={},function(e,n){var r=n.nodeName,c=n.type,o=n.checked,i=n.name;if("INPUT"!==r||"radio"!==c||!i)return e.concat(n);var a=t.hasOwnProperty(i);if(!o&&a)return e;if(a){var u=t[i];e=Object(s.without)(e,u)}return t[i]=n,e.concat(n)}),[]);var t}function p(e){return v(a(e))}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=a(document.body),n=t.indexOf(e);return t.length=n,Object(s.last)(v(t))}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=a(document.body),n=t.indexOf(e),r=t.slice(n+1).filter((function(t){return!e.contains(t)}));return Object(s.first)(v(r))}var y={focusable:r,tabbable:c}},521:function(e,t,n){"use strict";n.r(t),function(e){var t=n(0),r=(n(684),n(41)),c=(n(523),n(273));n.p=e.wcAdminAssets.path;var o=document.getElementById("root"),i=window.wcSettings.currentUserData;if(o){var a=Object(r.withSettingsHydration)("wc_admin",window.wcSettings)(c.b);window.wcSettings.preloadSettings&&window.wcSettings.preloadSettings.general&&(a=Object(r.withSettingsHydration)("general",{general:window.wcSettings.preloadSettings.general})(a)),i&&(a=Object(r.withCurrentUserHydration)(i)(a)),Object(t.render)(Object(t.createElement)(a,null),o)}else{var s=document.getElementById("woocommerce-embedded-root"),u=Object(r.withSettingsHydration)("wc_admin",window.wcSettings)(c.a);i&&(u=Object(r.withCurrentUserHydration)(i)(u)),Object(t.render)(Object(t.createElement)(u,null),s),s.classList.remove("is-embed-loading");var l=document.getElementById("wpbody-content"),f=l.querySelector(".wrap.woocommerce")||l.querySelector('[class="wrap"]'),h=document.createElement("div");Object(t.render)(Object(t.createElement)("div",{className:"woocommerce-layout"},Object(t.createElement)(c.c,null)),l.insertBefore(h,f))}}.call(this,n(47))},523:function(e,t,n){},524:function(e,t,n){},525:function(e,t,n){},526:function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o=Object.defineProperty,i=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,l=u&&u(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(l){var h=u(n);h&&h!==l&&e(t,h,f)}var d=i(n);a&&(d=d.concat(a(n)));for(var v=0;v<d.length;++v){var p=d[v];if(!(r[p]||c[p]||f&&f[p])){var m=s(n,p);try{o(t,p,m)}catch(e){}}}return t}return t}},527:function(e,t,n){},528:function(e,t,n){},529:function(e,t,n){},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(9),c=n(2);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var a={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},small:{},q:{attributes:["cite"]},dfn:{attributes:["title"]},data:{attributes:["value"]},time:{attributes:["datetime"]},var:{},samp:{},kbd:{},i:{},b:{},u:{},mark:{},ruby:{},rt:{},rp:{},bdi:{attributes:["dir"]},bdo:{attributes:["dir"]},wbr:{},"#text":{}};Object(c.without)(Object.keys(a),"#text","br").forEach((function(e){a[e].children=Object(c.omit)(a,e)}));var s=i({},a,{},{audio:{attributes:["src","preload","autoplay","mediagroup","loop","muted"]},canvas:{attributes:["width","height"]},embed:{attributes:["src","type","width","height"]},img:{attributes:["alt","src","srcset","usemap","ismap","width","height"]},object:{attributes:["data","type","name","usemap","form","width","height"]},video:{attributes:["src","poster","preload","autoplay","mediagroup","loop","muted","controls","width","height"]}});function u(e){var t,n=e.nodeName.toLowerCase();return("paste"!==t?s:Object(c.omit)(i({},s,{ins:{children:s.ins.children},del:{children:s.del.children}}),["u","abbr","data","time","wbr","bdi","bdo"])).hasOwnProperty(n)||"span"===n}},530:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},54:function(e,t,n){"use strict";(function(e){var r=n(0),c=(n(102),Object(r.createContext)({slots:{},fills:{},registerSlot:function(){void 0!==e&&e.env},updateSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){}}));t.a=c}).call(this,n(34))},55:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},56:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(49),c=Object.create(null);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,o=t.alternative,i=t.plugin,a=t.link,s=t.hint,u=i?" from ".concat(i):"",l=n?" and will be removed".concat(u," in version ").concat(n):"",f=o?" Please use ".concat(o," instead."):"",h=a?" See: ".concat(a):"",d=s?" Note: ".concat(s):"",v="".concat(e," is deprecated").concat(l,".").concat(f).concat(h).concat(d);v in c||(Object(r.doAction)("deprecated",e,t,v),console.warn(v),c[v]=!0)}},57:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,c={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}n.d(t,"a",(function(){return r}))},6:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},60:function(e,t,n){var r=n(257);e.exports=function(e,t){if(null==e)return{};var n,c,o=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(c=0;c<i.length;c++)n=i[c],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},61:function(e,t){!function(){e.exports=this.wc.tracks}()},62:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},65:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},67:function(e,t,n){"use strict";var r=n(144),c=n(145),o=n(105);e.exports={formats:o,parse:c,stringify:r}},68:function(e,t){!function(){e.exports=this.wc.components}()},684:function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"createNotice",(function(){return p})),n.d(r,"createSuccessNotice",(function(){return m})),n.d(r,"createInfoNotice",(function(){return b})),n.d(r,"createErrorNotice",(function(){return y})),n.d(r,"createWarningNotice",(function(){return g})),n.d(r,"removeNotice",(function(){return O}));var c={};n.r(c),n.d(c,"getNotices",(function(){return w}));var o=n(24),i=n(28),a=n(2),s=n(9);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,c=r[e];if(void 0===c)return n;var o=t(n[c],r);return o===n[c]?n:l({},n,Object(s.a)({},c,o))}}}("context")((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CREATE_NOTICE":return[].concat(Object(i.a)(Object(a.reject)(e,{id:t.notice.id})),[t.notice]);case"REMOVE_NOTICE":return Object(a.reject)(e,{id:t.id})}return e})),h=n(12),d=n.n(h),v=d.a.mark(p);function p(){var e,t,n,r,c,o,i,s,u,l,f,h,p,m,b,y,g=arguments;return d.a.wrap((function(d){for(;;)switch(d.prev=d.next){case 0:if(e=g.length>0&&void 0!==g[0]?g[0]:"info",t=g.length>1?g[1]:void 0,n=g.length>2&&void 0!==g[2]?g[2]:{},r=n.speak,c=void 0===r||r,o=n.isDismissible,i=void 0===o||o,s=n.context,u=void 0===s?"global":s,l=n.id,f=void 0===l?Object(a.uniqueId)(u):l,h=n.actions,p=void 0===h?[]:h,m=n.type,b=void 0===m?"default":m,y=n.__unstableHTML,t=String(t),!c){d.next=8;break}return d.next=8,{type:"SPEAK",message:t,ariaLive:"snackbar"===b?"polite":"assertive"};case 8:return d.next=10,{type:"CREATE_NOTICE",context:u,notice:{id:f,status:e,content:t,__unstableHTML:y,isDismissible:i,actions:p,type:b}};case 10:case"end":return d.stop()}}),v)}function m(e,t){return p("success",e,t)}function b(e,t){return p("info",e,t)}function y(e,t){return p("error",e,t)}function g(e,t){return p("warning",e,t)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return{type:"REMOVE_NOTICE",id:e,context:t}}var z=[];function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return e[t]||z}var j=n(171),k={SPEAK:function(e){Object(j.a)(e.message,e.ariaLive||"assertive")}};Object(o.registerStore)("core/notices",{reducer:f,actions:r,selectors:c,controls:k})},7:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},70:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(62);function c(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},700:function(e,t){!function(){e.exports=this.wc.csvExport}()},716:function(e,t,n){"use strict";var r=n(0),c=n(44),o=Object(r.createElement)(c.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.b,{fillRule:"evenodd",d:"M17.375 15.656A6.47 6.47 0 0018.5 12a6.47 6.47 0 00-.943-3.374l-1.262.813c.448.749.705 1.625.705 2.561a4.977 4.977 0 01-.887 2.844l1.262.813zm-1.951 1.87l-.813-1.261A4.976 4.976 0 0112 17c-.958 0-1.852-.27-2.613-.736l-.812 1.261A6.47 6.47 0 0012 18.5a6.47 6.47 0 003.424-.974zm-8.8-1.87A6.47 6.47 0 015.5 12c0-1.235.344-2.39.943-3.373l1.261.812A4.977 4.977 0 007 12c0 1.056.328 2.036.887 2.843l-1.262.813zm2.581-7.803A4.977 4.977 0 0112 7c1.035 0 1.996.314 2.794.853l.812-1.262A6.47 6.47 0 0012 5.5a6.47 6.47 0 00-3.607 1.092l.812 1.261zM12 20a8 8 0 100-16 8 8 0 000 16zm0-4.5a3.5 3.5 0 100-7 3.5 3.5 0 000 7z",clipRule:"evenodd"}));t.a=o},717:function(e,t,n){"use strict";(function(e){var r=n(101),c="undefined"!=typeof window&&window.navigator.userAgent.indexOf("Trident")>=0,o=e.env.FORCE_REDUCED_MOTION||c?function(){return!0}:function(){return Object(r.a)("(prefers-reduced-motion: reduce)")};t.a=o}).call(this,n(34))},72:function(e,t,n){"use strict";var r=n(8),c=n(19),o=n(0),i=n(4),a=n.n(i),s=n(2),u=n(56),l=n(116),f=n(115);function h(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}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,c,o=!0,i=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){i=!0,c=e},f:function(){try{o||null==r.return||r.return()}finally{if(i)throw c}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=["onMouseDown","onClick"];t.a=Object(o.forwardRef)((function(e,t){var n=e.href,i=e.target,d=e.isPrimary,p=e.isSmall,m=e.isTertiary,b=e.isPressed,y=e.isBusy,g=e.isDefault,O=e.isSecondary,z=e.isLink,w=e.isDestructive,j=e.className,k=e.disabled,M=e.icon,H=e.iconSize,V=e.showTooltip,E=e.tooltipPosition,C=e.shortcut,x=e.label,S=e.children,_=e.__experimentalIsFocusable,L=Object(c.a)(e,["href","target","isPrimary","isSmall","isTertiary","isPressed","isBusy","isDefault","isSecondary","isLink","isDestructive","className","disabled","icon","iconSize","showTooltip","tooltipPosition","shortcut","label","children","__experimentalIsFocusable"]);g&&Object(u.a)("Button isDefault prop",{alternative:"isSecondary"});var P=a()("components-button",j,{"is-secondary":g||O,"is-primary":d,"is-small":p,"is-tertiary":m,"is-pressed":b,"is-busy":y,"is-link":z,"is-destructive":w,"has-text":!!M&&!!S,"has-icon":!!M}),R=k&&!_,T=void 0===n||R?"button":"a",A="a"===T?{href:n,target:i}:{type:"button",disabled:R,"aria-pressed":b};if(k&&_){A["aria-disabled"]=!0;var N,D=h(v);try{for(D.s();!(N=D.n()).done;){L[N.value]=function(e){e.stopPropagation(),e.preventDefault()}}}catch(e){D.e(e)}finally{D.f()}}var F=!R&&(V&&x||C||!!x&&(!S||Object(s.isArray)(S)&&!S.length)&&!1!==V),I=Object(o.createElement)(T,Object(r.a)({},A,L,{className:P,"aria-label":L["aria-label"]||x,ref:t}),M&&Object(o.createElement)(f.a,{icon:M,size:H}),S);return F?Object(o.createElement)(l.a,{text:x,shortcut:C,position:E},I):I}))},73:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},74:function(e,t,n){"use strict";var r=n(2);t.a=function(e,t){return function(n){var c=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return c.displayName="".concat(Object(r.upperFirst)(Object(r.camelCase)(t)),"(").concat(i,")"),c}}},77:function(e,t,n){"use strict";function r(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.d(t,"a",(function(){return r}))},78:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},8:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},80:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,c=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),i=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:i,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],l=i[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:i,prop:u}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(c(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n){if(0===e.length)return e;var r=e;if("symbol"==typeof e?r=Symbol.prototype.toString.call(e):"string"!=typeof e&&(r=String(e)),"iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var c="",i=0;i<r.length;++i){var a=r.charCodeAt(i);45===a||46===a||95===a||126===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?c+=r.charAt(i):a<128?c+=o[a]:a<2048?c+=o[192|a>>6]+o[128|63&a]:a<55296||a>=57344?c+=o[224|a>>12]+o[128|a>>6&63]+o[128|63&a]:(i+=1,a=65536+((1023&a)<<10|1023&r.charCodeAt(i)),c+=o[240|a>>18]+o[128|a>>12&63]+o[128|a>>6&63]+o[128|63&a])}return c},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(c(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,o){if(!n)return t;if("object"!=typeof n){if(c(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(o&&(o.plainObjects||o.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return c(t)&&!c(n)&&(a=i(t,o)),c(t)&&c(n)?(n.forEach((function(n,c){if(r.call(t,c)){var i=t[c];i&&"object"==typeof i&&n&&"object"==typeof n?t[c]=e(i,n,o):t.push(n)}else t[c]=n})),t):Object.keys(n).reduce((function(t,c){var i=n[c];return r.call(t,c)?t[c]=e(t[c],i,o):t[c]=i,t}),a)}}},81:function(e,t,n){var r=n(78);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},83:function(e,t,n){"use strict";var r=n(146),c=n(147),o=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(o(e)&&o(t))return c(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=c},85:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(8),c=n(19),o=n(20),i=n(21),a=n(23),s=n(7),u=n(22),l=n(0),f=n(44);function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var d=function(e){Object(u.a)(d,e);var t,n=(t=d,function(){var e,n=Object(s.a)(t);if(h()){var r=Object(s.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(a.a)(this,e)});function d(){return Object(o.a)(this,d),n.apply(this,arguments)}return Object(i.a)(d,[{key:"render",value:function(){var e,t=this.props,n=t.icon,o=t.size,i=void 0===o?20:o,a=t.className,s=Object(c.a)(t,["icon","size","className"]);switch(n){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var u=["dashicon","dashicons-"+n,a].filter(Boolean).join(" ");return Object(l.createElement)(f.c,Object(r.a)({"aria-hidden":!0,role:"img",focusable:"false",className:u,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 20 20"},s),Object(l.createElement)(f.b,{d:e}))}}]),d}(l.Component)},88:function(e,t){!function(){e.exports=this.ReactDOM}()},89:function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},9:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},96:function(e,t,n){"use strict";var r=n(8),c=n(27),o=n(19),i=n(0),a=n(4),s=n.n(a),u=n(106),l=n(51),f=n(39),h=n(56),d=n(280),v=n(117),p=n.n(v).a,m=n(281),b=n(9);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){Object(b.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function O(e,t,n,r,c,o,i){var a=t.width,s="rtl"===document.documentElement.dir;"left"===n&&s?n="right":"right"===n&&s&&(n="left"),"left"===r&&s?r="right":"right"===r&&s&&(r="left");var u=Math.round(e.left+e.width/2),l={popoverLeft:u,contentWidth:(u-a/2>0?a/2:u)+(u+a/2>window.innerWidth?window.innerWidth-u:a/2)},f=e.left;"right"===r?f=e.right:"middle"!==o&&(f=u);var h=e.right;"left"===r?h=e.left:"middle"!==o&&(h=u);var d,v={popoverLeft:f,contentWidth:f-a>0?a:f},p={popoverLeft:h,contentWidth:h+a>window.innerWidth?window.innerWidth-h:a},m=n,b=null;if(!c)if("center"===n&&l.contentWidth===a)m="center";else if("left"===n&&v.contentWidth===a)m="left";else if("right"===n&&p.contentWidth===a)m="right";else{var y="left"===(m=v.contentWidth>p.contentWidth?"left":"right")?v.contentWidth:p.contentWidth;b=y!==a?y:null}if(d="center"===m?l.popoverLeft:"left"===m?v.popoverLeft:p.popoverLeft,i){var g=i.getBoundingClientRect();d=Math.min(d,g.right-a)}return{xAxis:m,popoverLeft:d,contentWidth:b}}function z(e,t,n,r,c,o,i){var a=t.height;if(c){var s=(Object(u.b)(o)||document.body).getBoundingClientRect().top+a-i;if(e.top<=s)return{yAxis:n,popoverTop:Math.min(e.bottom,s)}}var l=e.top+e.height/2;"bottom"===r?l=e.bottom:"top"===r&&(l=e.top);var f={popoverTop:l,contentHeight:(l-a/2>0?a/2:l)+(l+a/2>window.innerHeight?window.innerHeight-l:a/2)},h={popoverTop:e.top,contentHeight:e.top-10-a>0?a:e.top-10},d={popoverTop:e.bottom,contentHeight:e.bottom+10+a>window.innerHeight?window.innerHeight-10-e.bottom:a},v=n,p=null;if(!c)if("middle"===n&&f.contentHeight===a)v="middle";else if("top"===n&&h.contentHeight===a)v="top";else if("bottom"===n&&d.contentHeight===a)v="bottom";else{var m="top"===(v=h.contentHeight>d.contentHeight?"top":"bottom")?h.contentHeight:d.contentHeight;p=m!==a?m:null}return{yAxis:v,popoverTop:"middle"===v?f.popoverTop:"top"===v?h.popoverTop:d.popoverTop,contentHeight:p}}var w=n(100),j=n(97),k=n(20),M=n(21),H=n(23),V=n(7),E=n(22),C=n(98);function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var S=function(e){Object(E.a)(r,e);var t,n=(t=r,function(){var e,n=Object(V.a)(t);if(x()){var r=Object(V.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(H.a)(this,e)});function r(){return Object(k.a)(this,r),n.apply(this,arguments)}return Object(M.a)(r,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),r}(i.Component),_=Object(C.a)(S),L=n(72);function P(e){return function(){var t,n=Object(V.a)(e);if(R()){var r=Object(V.a)(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Object(H.a)(this,t)}}function R(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,c=void 0===r?"lockscroll":r,o=0,a=0;function s(e){var t=n.scrollingElement||n.body;e&&(a=t.scrollTop);var r=e?"add":"remove";t.classList[r](c),n.documentElement.classList[r](c),e||(t.scrollTop=a)}function u(){0===o&&s(!0),++o}function l(){1===o&&s(!1),--o}return function(e){Object(E.a)(n,e);var t=P(n);function n(){return Object(k.a)(this,n),t.apply(this,arguments)}return Object(M.a)(n,[{key:"componentDidMount",value:function(){u()}},{key:"componentWillUnmount",value:function(){l()}},{key:"render",value:function(){return null}}]),n}(i.Component)}(),A=n(99),N=n(54);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){var t=Object(i.useContext)(N.a),n=t.slots[e]||{},r=t.fills[e],c=Object(i.useMemo)((function(){return r||[]}),[r]);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){Object(b.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{updateSlot:Object(i.useCallback)((function(n){t.updateSlot(e,n)}),[e,t.updateSlot]),unregisterSlot:Object(i.useCallback)((function(n){t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),fills:c,registerFill:Object(i.useCallback)((function(n){t.registerFill(e,n)}),[e,t.registerFill]),unregisterFill:Object(i.useCallback)((function(n){t.unregisterFill(e,n)}),[e,t.unregisterFill])})}var I=n(18);function B(e,t,n){return(B="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Object(V.a)(e)););return e}(e,t);if(r){var c=Object.getOwnPropertyDescriptor(r,t);return c.get?c.get.call(n):c.value}})(e,t,n||e)}var U=n(2),q=n(28),W=n(55),$=n(83),K=n.n($);function G(e){var t=function(e,t){if("object"!==Object(W.a)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Object(W.a)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Object(W.a)(t)?t:String(t)}function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){Object(b.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function J(e){var t,n,r,a,s,u,l,f,h,d,v,p,m,y=e.children,g=(t=Object(i.useState)({}),n=Object(c.a)(t,2),r=n[0],a=n[1],s=Object(i.useState)({}),u=Object(c.a)(s,2),l=u[0],f=u[1],h=Object(i.useCallback)((function(e,t,n){a((function(r){var c=r[e]||{};return Q({},r,Object(b.a)({},e,Q({},c,{ref:t||c.ref,fillProps:n||c.fillProps||{}})))}))}),[]),d=Object(i.useCallback)((function(e,t){a((function(n){var r=n[e],c=Object(o.a)(n,[e].map(G));return(null==r?void 0:r.ref)===t?c:n}))}),[]),v=Object(i.useCallback)((function(e,t){var n=r[e];if(n&&!K()(n.fillProps,t)){n.fillProps=t;var c=l[e];c&&c.map((function(e){return e.current.rerender()}))}}),[r,l]),p=Object(i.useCallback)((function(e,t){f((function(n){return Q({},n,Object(b.a)({},e,[].concat(Object(q.a)(n[e]||[]),[t])))}))}),[]),m=Object(i.useCallback)((function(e,t){f((function(n){return n[e]?Q({},n,Object(b.a)({},e,n[e].filter((function(e){return e!==t})))):n}))}),[]),Object(i.useMemo)((function(){return{slots:r,fills:l,registerSlot:h,updateSlot:v,unregisterSlot:d,registerFill:p,unregisterFill:m}}),[r,l,h,v,d,p,m]));return Object(i.createElement)(N.a.Provider,{value:g},y)}function Y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var X=Object(i.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),ee=X.Provider,te=X.Consumer;i.Component;function ne(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var re=function(e){Object(E.a)(r,e);var t,n=(t=r,function(){var e,n=Object(V.a)(t);if(ne()){var r=Object(V.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(H.a)(this,e)});function r(){var e;return Object(k.a)(this,r),(e=n.apply(this,arguments)).isUnmounted=!1,e.bindNode=e.bindNode.bind(Object(I.a)(e)),e}return Object(M.a)(r,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){var e=this.props.unregisterSlot;this.isUnmounted=!0,e(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,r=t.unregisterSlot,c=t.registerSlot;e.name!==n&&(r(e.name),c(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"forceUpdate",value:function(){this.isUnmounted||B(Object(V.a)(r.prototype),"forceUpdate",this).call(this)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,r=e.fillProps,c=void 0===r?{}:r,o=e.getFills,a=Object(U.map)(o(n,this),(function(e){var t=e.occurrence,n=Object(U.isFunction)(e.children)?e.children(c):e.children;return i.Children.map(n,(function(e,n){if(!e||Object(U.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return Object(i.cloneElement)(e,{key:r})}))})).filter(Object(U.negate)(i.isEmptyElement));return Object(i.createElement)(i.Fragment,null,Object(U.isFunction)(t)?t(a):a)}}]),r}(i.Component),ce=function(e){return Object(i.createElement)(te,null,(function(t){var n=t.registerSlot,c=t.unregisterSlot,o=t.getFills;return Object(i.createElement)(re,Object(r.a)({},e,{registerSlot:n,unregisterSlot:c,getFills:o}))}))},oe=0;function ie(e){var t=e.name,n=e.children,r=e.registerFill,o=e.unregisterFill,a=function(e){var t=Object(i.useContext)(X),n=t.getSlot,r=t.subscribe,o=Object(i.useState)(n(e)),a=Object(c.a)(o,2),s=a[0],u=a[1];return Object(i.useEffect)((function(){return u(n(e)),r((function(){u(n(e))}))}),[e]),s}(t),s=Object(i.useRef)({name:t,children:n});return s.current.occurrence||(s.current.occurrence=++oe),Object(i.useLayoutEffect)((function(){return r(t,s.current),function(){return o(t,s.current)}}),[]),Object(i.useLayoutEffect)((function(){s.current.children=n,a&&a.forceUpdate()}),[n]),Object(i.useLayoutEffect)((function(){t!==s.current.name&&(o(s.current.name,s.current),s.current.name=t,r(t,s.current))}),[t]),a&&a.node?(Object(U.isFunction)(n)&&(n=n(a.props.fillProps)),Object(i.createPortal)(n,a.node)):null}var ae=function(e){return Object(i.createElement)(te,null,(function(t){var n=t.registerFill,c=t.unregisterFill;return Object(i.createElement)(ie,Object(r.a)({},e,{registerFill:n,unregisterFill:c}))}))};function se(e){var t=e.name,n=e.fillProps,c=void 0===n?{}:n,a=e.as,s=void 0===a?"div":a,u=Object(o.a)(e,["name","fillProps","as"]),l=Object(i.useContext)(N.a),f=Object(i.useRef)();return Object(i.useLayoutEffect)((function(){return l.registerSlot(t,f,c),function(){l.unregisterSlot(t,f)}}),[l.registerSlot,l.unregisterSlot,t]),Object(i.useLayoutEffect)((function(){l.updateSlot(t,c)})),Object(i.createElement)(s,Object(r.a)({ref:f},u))}function ue(e){var t,n,r=e.name,o=e.children,a=F(r),s=Object(i.useRef)({rerender:(t=Object(i.useState)({}),n=Object(c.a)(t,2)[1],function(){return n({})})});return Object(i.useEffect)((function(){return a.registerFill(s),function(){a.unregisterFill(s)}}),[a.registerFill,a.unregisterFill]),a.ref&&a.ref.current?("function"==typeof o&&(o=o(a.fillProps)),Object(i.createPortal)(o,a.ref.current)):null}function le(e){var t=e.bubblesVirtually,n=Object(o.a)(e,["bubblesVirtually"]);return t?Object(i.createElement)(se,n):Object(i.createElement)(ce,n)}function fe(e){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(ae,e),Object(i.createElement)(ue,e))}var he=function(e){var t=e.type,n=e.options,r=void 0===n?{}:n,o=e.children;if("appear"===t){var i,a=r.origin,u=(void 0===a?"top":a).split(" "),l=Object(c.a)(u,2),f=l[0],h=l[1],d=void 0===h?"center":h;return o({className:s()("components-animate__appear",(i={},Object(b.a)(i,"is-from-"+d,"center"!==d),Object(b.a)(i,"is-from-"+f,"middle"!==f),i))})}if("slide-in"===t){var v=r.origin,p=void 0===v?"left":v;return o({className:s()("components-animate__slide-in","is-from-"+p)})}return o("loading"===t?{className:s()("components-animate__loading")}:{})},de=Object(j.a)(Object(w.a)((function(e){return e.children})));function ve(e,t){var n=window.getComputedStyle(t),r=n.paddingTop,c=n.paddingBottom,o=n.paddingLeft,i=n.paddingRight,a=r?parseInt(r,10):0,s=c?parseInt(c,10):0,u=o?parseInt(o,10):0,l=i?parseInt(i,10):0;return{x:e.left+u,y:e.top+a,width:e.width-u-l,height:e.height-a-s,left:e.left+u,right:e.right-l,top:e.top+a,bottom:e.bottom-s}}function pe(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function me(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function be(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var ye=function(e){var t=e.headerTitle,n=e.onClose,a=e.onKeyDown,v=e.children,b=e.className,y=e.noArrow,w=void 0===y||y,j=e.isAlternate,k=e.position,M=void 0===k?"bottom right":k,H=(e.range,e.focusOnMount),V=void 0===H?"firstElement":H,E=e.anchorRef,C=e.shouldAnchorIncludePadding,x=e.anchorRect,S=e.getAnchorRect,P=e.expandOnMobile,R=e.animate,N=void 0===R||R,D=e.onClickOutside,I=e.onFocusOutside,B=e.__unstableSticky,U=e.__unstableSlotName,q=void 0===U?"Popover":U,W=e.__unstableObserveElement,$=e.__unstableBoundaryParent,K=Object(o.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","isAlternate","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableSticky","__unstableSlotName","__unstableObserveElement","__unstableBoundaryParent"]),G=Object(i.useRef)(null),Z=Object(i.useRef)(null),Q=Object(i.useRef)(),J=Object(d.a)("medium","<"),Y=Object(i.useState)(),X=Object(c.a)(Y,2),ee=X[0],te=X[1],ne=F(q),re=P&&J,ce=p(),oe=Object(c.a)(ce,2),ie=oe[0],ae=oe[1];w=re||w,Object(i.useLayoutEffect)((function(){if(re)return be(Q.current,"is-without-arrow",w),be(Q.current,"is-alternate",j),pe(Q.current,"data-x-axis"),pe(Q.current,"data-y-axis"),me(Q.current,"top"),me(Q.current,"left"),me(Z.current,"maxHeight"),void me(Z.current,"maxWidth");var e=function(){if(Q.current&&Z.current){var e=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=arguments.length>4?arguments[4]:void 0;if(t)return t;if(n){if(!e.current)return;return n(e.current)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if(r instanceof window.Range)return Object(u.a)(r);if(r instanceof window.Element){var o=r.getBoundingClientRect();return c?o:ve(o,r)}var i=r.top,a=r.bottom,s=i.getBoundingClientRect(),l=a.getBoundingClientRect(),f=new window.DOMRect(s.left,s.top,s.width,l.bottom-s.top);return c?f:ve(f,r)}if(e.current){var h=e.current.parentNode,d=h.getBoundingClientRect();return c?d:ve(d,h)}}(G,x,S,E,C);if(e){var t,n,r=Q.current,o=r.offsetParent,i=r.ownerDocument,a=0;if(o&&o!==i.body){var s=o.getBoundingClientRect();a=s.top,e=new window.DOMRect(e.left-s.left,e.top-s.top,e.width,e.height)}if($)t=null===(n=Q.current.closest(".popover-slot"))||void 0===n?void 0:n.parentNode;var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,s=n.split(" "),u=Object(c.a)(s,3),l=u[0],f=u[1],h=void 0===f?"center":f,d=u[2],v=z(e,t,l,d,r,o,i),p=O(e,t,h,d,r,v.yAxis,a);return g({},p,{},v)}(e,ae.height?ae:Z.current.getBoundingClientRect(),M,B,Q.current,a,t),f=l.popoverTop,h=l.popoverLeft,d=l.xAxis,v=l.yAxis,p=l.contentHeight,m=l.contentWidth;"number"==typeof f&&"number"==typeof h&&(me(Q.current,"top",f+"px"),me(Q.current,"left",h+"px")),be(Q.current,"is-without-arrow",w||"center"===d&&"middle"===v),be(Q.current,"is-alternate",j),pe(Q.current,"data-x-axis",d),pe(Q.current,"data-y-axis",v),me(Z.current,"maxHeight","number"==typeof p?p+"px":""),me(Z.current,"maxWidth","number"==typeof m?m+"px":"");te(({left:"right",right:"left"}[d]||"center")+" "+({top:"bottom",bottom:"top"}[v]||"middle"))}}};e();var t,n,r=window.setInterval(e,500),o=function(){window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e)};return window.addEventListener("click",o),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),W&&(n=new window.MutationObserver(e)).observe(W,{attributes:!0}),function(){window.clearInterval(r),window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0),window.removeEventListener("click",o),window.cancelAnimationFrame(t),n&&n.disconnect()}}),[re,x,S,E,C,M,ae,B,W,$]),function(e,t){Object(i.useEffect)((function(){var n=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=l.a.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}}),0);return function(){return clearTimeout(n)}}),[])}(V,Z);var se=function(e){e.keyCode===f.b&&n&&(e.stopPropagation(),n()),a&&a(e)};var ue=Object(i.createElement)(_,{onFocusOutside:function(e){if(I)I(e);else if(D){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),Object(h.a)("Popover onClickOutside prop",{alternative:"onFocusOutside"}),D(t)}else n&&n()}},Object(i.createElement)(he,{type:N&&ee?"appear":null,options:{origin:ee}},(function(e){var c=e.className;return Object(i.createElement)(A.a,Object(r.a)({className:s()("components-popover",b,c,{"is-expanded":re,"is-without-arrow":w,"is-alternate":j})},K,{onKeyDown:se,ref:Q}),re&&Object(i.createElement)(T,null),re&&Object(i.createElement)("div",{className:"components-popover__header"},Object(i.createElement)("span",{className:"components-popover__header-title"},t),Object(i.createElement)(L.a,{className:"components-popover__close",icon:m.a,onClick:n})),Object(i.createElement)("div",{ref:Z,className:"components-popover__content",tabIndex:"-1"},Object(i.createElement)("div",{style:{position:"relative"}},ie,v)))})));return V&&(ue=Object(i.createElement)(de,null,ue)),ne.ref&&(ue=Object(i.createElement)(fe,{name:q},ue)),E||x?ue:Object(i.createElement)("span",{ref:G},ue)};ye.Slot=function(e){var t=e.name,n=void 0===t?"Popover":t;return Object(i.createElement)(le,{bubblesVirtually:!0,name:n,className:"popover-slot"})};t.a=ye},97:function(e,t,n){"use strict";var r=n(20),c=n(21),o=n(18),i=n(23),a=n(7),s=n(22),u=n(0),l=n(74),f=n(39),h=n(51);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var v=Object(l.a)((function(e){return function(t){Object(s.a)(v,t);var n,l=(n=v,function(){var e,t=Object(a.a)(n);if(d()){var r=Object(a.a)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function v(){var e;return Object(r.a)(this,v),(e=l.apply(this,arguments)).focusContainRef=Object(u.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(o.a)(e)),e}return Object(c.a)(v,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===f.e){var t=h.a.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],r=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),r.focus()):(e.shiftKey||e.target!==r)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(u.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(u.createElement)(e,this.props))}}]),v}(u.Component)}),"withConstrainedTabbing");t.a=v},98:function(e,t,n){"use strict";var r=n(8),c=n(20),o=n(21),i=n(18),a=n(23),s=n(7),u=n(22),l=n(0),f=n(2),h=n(74);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var v=["button","submit"];t.a=Object(h.a)((function(e){return function(t){Object(u.a)(p,t);var n,h=(n=p,function(){var e,t=Object(s.a)(n);if(d()){var r=Object(s.a)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Object(a.a)(this,e)});function p(){var e;return Object(c.a)(this,p),(e=h.apply(this,arguments)).bindNode=e.bindNode.bind(Object(i.a)(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(Object(i.a)(e)),e.queueBlurCheck=e.queueBlurCheck.bind(Object(i.a)(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(Object(i.a)(e)),e}return Object(o.a)(p,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){document.hasFocus()?"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,n=e.target;Object(f.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(f.includes)(v,e.type)}return!1}(n)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(l.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(l.createElement)(e,Object(r.a)({ref:this.bindNode},this.props)))}}]),p}(l.Component)}),"withFocusOutside")},99:function(e,t,n){"use strict";var r=n(8),c=n(19),o=n(0);function i(e){e.stopPropagation()}t.a=Object(o.forwardRef)((function(e,t){var n=e.children,a=Object(c.a)(e,["children"]);return Object(o.createElement)("div",Object(r.a)({},a,{ref:t,onMouseDown:i}),n)}))}});
1
  /*! For license information please see index.min.js.LICENSE.txt */
2
+ this.wc=this.wc||{},this.wc.app=function(e){function t(t){for(var n,r,o=t[0],i=t[1],a=0,s=[];a<o.length;a++)r=o[a],Object.prototype.hasOwnProperty.call(c,r)&&c[r]&&s.push(c[r][0]),c[r]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(u&&u(t);s.length;)s.shift()()}var n={},r={24:0},c={24:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{0:1,7:1,9:1,10:1,11:1,12:1,13:1,18:1,23:1,29:1,30:1,33:1,34:1,36:1,38:1,46:1,47:1,48:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var c="rtl"===document.dir?"./chunks/"+e+".style.rtl.css":"./chunks/"+e+".style.css",i=o.p+c,a=document.getElementsByTagName("link"),s=0;s<a.length;s++){var u=(f=a[s]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(u===c||u===i))return t()}var l=document.getElementsByTagName("style");for(s=0;s<l.length;s++){var f;if((u=(f=l[s]).getAttribute("data-href"))===c||u===i)return t()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.setAttribute("data-webpack",!0),h.onload=t,h.onerror=function(t){var c=t&&t.target&&t.target.src||i,o=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=c,delete r[e],h.parentNode.removeChild(h),n(o)},h.href=i,document.getElementsByTagName("head")[0].appendChild(h)})).then((function(){r[e]=0})));var n=c[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,r){n=c[e]=[t,r]}));t.push(n[2]=i);var a,s=document.createElement("script");s.charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.src=function(e){return o.p+"chunks/"+e+"."+{0:"d82e0e3293a5788ce1b3",1:"9c6240fe0285336d4601",2:"7c37f2d162f480b8a1f8",3:"9d9bcc97f47cdfb1b68d",4:"569ef0d82e269809ccea",5:"c750e100a6fdd3a69f62",6:"a1cfaa769c3ae60919e3",7:"98d5571225e8bb353b9c",8:"88cdb058cc37250e3894",9:"17f4ec69378f7c8ffa0d",10:"5ad18ec555981926de5a",11:"e31ce9931c09bfa70ffd",12:"1e3fd4a0eb677c221f97",13:"1fb65e2fff8975ecf26a",14:"57ecb260ced16ea3d9cd",15:"b43dc4898cfe64a80f40",16:"49b97e6388f1e4ab98e0",17:"3bb7411d9278dab5881f",18:"9a8ad51cd904fce65ba8",19:"2c402410e34b9bac52cb",20:"4da69c21435efd2c9e40",21:"0573c8f697c9f049bb48",22:"236bdfd5d0b2ac1d6f41",23:"2a199043713d4e1770f4",28:"381aadd00d85f921db60",29:"18be233035c4325ece57",30:"7e1d8028430fa7148071",33:"1d4c376e447be418680d",34:"d3144bb875308a09d8d7",36:"22aea36f504a5d4259ea",38:"6eb0f9093968baecc7b4",46:"c754aac4b14123e58adb",47:"cd57928eaf0f6b1653b7",48:"77063cbcc06c66457bda",49:"e78eb9119c8eac3f6923",51:"7833f6f14975491e98af",52:"6c12fab082eddf9686fc",53:"a3f503c6370338b21be2",54:"7fac56b68b9f3e25d29a"}[e]+".min.js"}(e);var u=new Error;a=function(t){s.onerror=s.onload=null,clearTimeout(l);var n=c[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",u.name="ChunkLoadError",u.type=r,u.request=o,n[1](u)}c[e]=void 0}};var l=setTimeout((function(){a({type:"timeout",target:s})}),12e4);s.onerror=s.onload=a,document.head.appendChild(s)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var i=window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var u=a;return o(o.s=521)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t,n){e.exports=n(142)()},10:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},100:function(e,t,n){"use strict";var r=n(28),c=n(20),o=n(21),i=n(23),a=n(7),s=n(22),u=n(0),l=n(2),f=n(74),h=n(18);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var v=Object(u.createContext)({focusHistory:[]}),p=v.Provider,m=v.Consumer;p.displayName="FocusReturnProvider",m.displayName="FocusReturnConsumer";u.Component;function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}t.a=Object(f.a)((function e(t){if((f=t)instanceof u.Component||"function"==typeof f){var n=t;return e({})(n)}var f,h=t.onFocusReturn,d=void 0===h?l.stubTrue:h;return function(e){var t=function(t){Object(s.a)(h,t);var n,f=(n=h,function(){var e,t=Object(a.a)(n);if(b()){var r=Object(a.a)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function h(){var e;return Object(c.a)(this,h),(e=f.apply(this,arguments)).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Object(o.a)(h,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==d())for(var c,o=[].concat(Object(r.a)(l.without.apply(void 0,[this.props.focus.focusHistory].concat(Object(r.a)(n)))),[e]);c=o.pop();)if(document.body.contains(c))return void c.focus()}},{key:"render",value:function(){return Object(u.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(u.createElement)(e,this.props.childProps))}}]),h}(u.Component);return function(e){return Object(u.createElement)(m,null,(function(n){return Object(u.createElement)(t,{childProps:e,focus:n})}))}}}),"withFocusReturn")},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(27),c=n(0);function o(e){var t=Object(c.useState)(e&&window.matchMedia(e).matches),n=Object(r.a)(t,2),o=n[0],i=n[1];return Object(c.useEffect)((function(){if(e){var t=function(){return i(window.matchMedia(e).matches)};t();var n=window.matchMedia(e);return n.addListener(t),function(){n.removeListener(t)}}}),[e]),e&&o}},102:function(e,t,n){"use strict";(function(e){function r(t){void 0!==e&&e.env}n.d(t,"a",(function(){return r}))}).call(this,n(34))},103:function(e,t,n){"use strict";var r=n(0),c=n(2);t.a=function(e){var t,n,o=e.shortcut,i=e.className;return o?(Object(c.isString)(o)&&(t=o),Object(c.isObject)(o)&&(t=o.display,n=o.ariaLabel),Object(r.createElement)("span",{className:i,"aria-label":n},t)):null}},105:function(e,t,n){"use strict";var r=String.prototype.replace,c=/%20/g,o=n(80),i={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=o.assign({default:i.RFC3986,formatters:{RFC1738:function(e){return r.call(e,c,"+")},RFC3986:function(e){return String(e)}}},i)},106:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));n(2),n(53);var r=window,c=(r.DOMParser,r.getComputedStyle,window.Node);c.TEXT_NODE,c.ELEMENT_NODE,c.DOCUMENT_POSITION_PRECEDING,c.DOCUMENT_POSITION_FOLLOWING;function o(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e.startContainer;if("BR"===t.nodeName){var n=t.parentNode,r=Array.from(n.childNodes).indexOf(t);(e=document.createRange()).setStart(n,r),e.setEnd(n,r)}var c=e.getClientRects()[0];if(!c){var o=document.createTextNode("​");(e=e.cloneRange()).insertNode(o),c=e.getClientRects()[0],o.parentNode.removeChild(o)}return c}function i(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return i(e.parentNode)}}},11:function(e,t){!function(){e.exports=this.React}()},115:function(e,t,n){"use strict";var r=n(9),c=n(8),o=n(19),i=n(0),a=n(44),s=n(85);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.a=function(e){var t=e.icon,n=void 0===t?null:t,r=e.size,u=Object(o.a)(e,["icon","size"]),f=r||20;if("string"==typeof n)return Object(i.createElement)(s.a,Object(c.a)({icon:n,size:f},u));if(n&&s.a===n.type)return Object(i.cloneElement)(n,l({size:f},u));var h=r||24;if("function"==typeof n)return n.prototype instanceof i.Component?Object(i.createElement)(n,l({size:h},u)):n(l({size:h},u));if(n&&("svg"===n.type||n.type===a.c)){var d=l({width:h,height:h},n.props,{},u);return Object(i.createElement)(a.c,d)}return Object(i.isValidElement)(n)?Object(i.cloneElement)(n,l({size:h},u)):n}},116:function(e,t,n){"use strict";var r=n(20),c=n(21),o=n(23),i=n(7),a=n(22),s=n(0),u=n(2),l=n(96),f=n(103);function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var d=function(e){Object(a.a)(d,e);var t,n=(t=d,function(){var e,n=Object(i.a)(t);if(h()){var r=Object(i.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(o.a)(this,e)});function d(){var e;return Object(r.a)(this,d),(e=n.apply(this,arguments)).delayedSetIsOver=Object(u.debounce)((function(t){return e.setState({isOver:t})}),700),e.cancelIsMouseDown=e.createSetIsMouseDown(!1),e.isInMouseDown=!1,e.state={isOver:!1},e}return Object(c.a)(d,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel(),document.removeEventListener("mouseup",this.cancelIsMouseDown)}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===s.Children.count(n)){var r=s.Children.only(n);"function"==typeof r.props[e]&&r.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(r){if(n.emitToChild(e,r),!(r.currentTarget.disabled||"focus"===r.type&&n.isInMouseDown)){n.delayedSetIsOver.cancel();var c=Object(u.includes)(["focus","mouseenter"],r.type);c!==n.state.isOver&&(t?n.delayedSetIsOver(c):n.setState({isOver:c}))}}}},{key:"createSetIsMouseDown",value:function(e){var t=this;return function(n){t.emitToChild(e?"onMouseDown":"onMouseUp",n),document[e?"addEventListener":"removeEventListener"]("mouseup",t.cancelIsMouseDown),t.isInMouseDown=e}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,r=e.text,c=e.shortcut;if(1!==s.Children.count(t))return t;var o=s.Children.only(t),i=this.state.isOver;return Object(s.cloneElement)(o,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),onMouseDown:this.createSetIsMouseDown(!0),children:Object(s.concatChildren)(o.props.children,i&&Object(s.createElement)(l.a,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},r,Object(s.createElement)(f.a,{className:"components-tooltip__shortcut",shortcut:c})))})}}]),d}(s.Component);t.a=d},117:function(e,t,n){var r=n(11),c={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},o=function(e){var t=e.onResize,n=r.useRef();return function(e,t){var n=function(){return e.current&&e.current.contentDocument&&e.current.contentDocument.defaultView};function c(){t();var e=n();e&&e.addEventListener("resize",t)}r.useEffect((function(){return n()?c():e.current&&e.current.addEventListener&&e.current.addEventListener("load",c),function(){var e=n();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(n,(function(){return t(n)})),r.createElement("iframe",{style:c,src:"about:blank",ref:n,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},i=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};e.exports=function(e){void 0===e&&(e=i);var t=r.useState(e(null)),n=t[0],c=t[1],a=r.useCallback((function(t){return c(e(t.current))}),[e]);return[r.useMemo((function(){return r.createElement(o,{onResize:a})}),[a]),n]}},118:function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return p})),n.d(t,"d",(function(){return d}));var r=n(8);function c(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,c=e.length;r<c;n+=1,r+=1)e[n]=e[r];e.pop()}var i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],a=e&&c(e),s=t&&c(t),u=a||s;if(e&&c(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var l=i[i.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,h=i.length;h>=0;h--){var d=i[h];"."===d?o(i,h):".."===d?(o(i,h),f++):f&&(o(i,h),f--)}if(!u)for(;f--;f)i.unshift("..");!u||""===i[0]||i[0]&&c(i[0])||i.unshift("");var v=i.join("/");return n&&"/"!==v.substr(-1)&&(v+="/"),v};function a(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=a(t),c=a(n);return r!==t||c!==n?e(r,c):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},u=n(89);function l(e){return"/"===e.charAt(0)?e:"/"+e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function h(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,n=e.search,r=e.hash,c=t||"/";return n&&"?"!==n&&(c+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(c+="#"===r.charAt(0)?r:"#"+r),c}function v(e,t,n,c){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",c=t.indexOf("#");-1!==c&&(r=t.substr(c),t=t.substr(0,c));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=Object(r.a)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),c?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,c.pathname)):o.pathname=c.pathname:o.pathname||(o.pathname="/"),o}function p(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,c){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,c):c(!0):c(!1!==o)}else c(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var b=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}function g(){try{return window.history.state||{}}catch(e){return{}}}function O(e){void 0===e&&(e={}),b||Object(u.a)(!1);var t,n=window.history,c=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,s=void 0!==a&&a,p=i.getUserConfirmation,O=void 0===p?y:p,z=i.keyLength,w=void 0===z?6:z,j=e.basename?h(l(e.basename)):"";function k(e){var t=e||{},n=t.key,r=t.state,c=window.location,o=c.pathname+c.search+c.hash;return j&&(o=f(o,j)),v(o,r,n)}function M(){return Math.random().toString(36).substr(2,w)}var H=m();function V(e){Object(r.a)(D,e),D.length=n.length,H.notifyListeners(D.location,D.action)}function E(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||S(k(e.state))}function C(){S(k(g()))}var x=!1;function S(e){if(x)x=!1,V();else{H.confirmTransitionTo(e,"POP",O,(function(t){t?V({action:"POP",location:e}):function(e){var t=D.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var c=n-r;c&&(x=!0,R(c))}(e)}))}}var _=k(g()),L=[_.key];function P(e){return j+d(e)}function R(e){n.go(e)}var T=0;function A(e){1===(T+=e)&&1===e?(window.addEventListener("popstate",E),o&&window.addEventListener("hashchange",C)):0===T&&(window.removeEventListener("popstate",E),o&&window.removeEventListener("hashchange",C))}var N=!1;var D={length:n.length,action:"POP",location:_,createHref:P,push:function(e,t){var r=v(e,t,M(),D.location);H.confirmTransitionTo(r,"PUSH",O,(function(e){if(e){var t=P(r),o=r.key,i=r.state;if(c)if(n.pushState({key:o,state:i},null,t),s)window.location.href=t;else{var a=L.indexOf(D.location.key),u=L.slice(0,a+1);u.push(r.key),L=u,V({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=v(e,t,M(),D.location);H.confirmTransitionTo(r,"REPLACE",O,(function(e){if(e){var t=P(r),o=r.key,i=r.state;if(c)if(n.replaceState({key:o,state:i},null,t),s)window.location.replace(t);else{var a=L.indexOf(D.location.key);-1!==a&&(L[a]=r.key),V({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=H.setPrompt(e);return N||(A(1),N=!0),function(){return N&&(N=!1,A(-1)),t()}},listen:function(e){var t=H.appendListener(e);return A(1),function(){A(-1),t()}}};return D}function z(e,t,n){return Math.min(Math.max(e,t),n)}function w(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,c=t.initialEntries,o=void 0===c?["/"]:c,i=t.initialIndex,a=void 0===i?0:i,s=t.keyLength,u=void 0===s?6:s,l=m();function f(e){Object(r.a)(O,e),O.length=O.entries.length,l.notifyListeners(O.location,O.action)}function h(){return Math.random().toString(36).substr(2,u)}var p=z(a,0,o.length-1),b=o.map((function(e){return v(e,void 0,"string"==typeof e?h():e.key||h())})),y=d;function g(e){var t=z(O.index+e,0,O.entries.length-1),r=O.entries[t];l.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var O={length:b.length,action:"POP",location:b[p],index:p,entries:b,createHref:y,push:function(e,t){var r=v(e,t,h(),O.location);l.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=O.index+1,n=O.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=v(e,t,h(),O.location);l.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(O.entries[O.index]=r,f({action:"REPLACE",location:r}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=O.index+e;return t>=0&&t<O.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return O}},12:function(e,t,n){e.exports=n(120)},120:function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},c=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function a(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var c=t&&t.prototype instanceof f?t:f,o=Object.create(c.prototype),i=new j(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(c,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===c)throw o;return M()}for(n.method=c,n.arg=o;;){var i=n.delegate;if(i){var a=O(i,n);if(a){if(a===l)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===l)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l={};function f(){}function h(){}function d(){}var v={};v[c]=function(){return this};var p=Object.getPrototypeOf,m=p&&p(p(k([])));m&&m!==t&&n.call(m,c)&&(v=m);var b=d.prototype=f.prototype=Object.create(v);function y(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function g(e,t){var r;this._invoke=function(c,o){function i(){return new t((function(r,i){!function r(c,o,i,a){var s=u(e[c],e,o);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,a)}),(function(e){r("throw",e,i,a)})):t.resolve(f).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,a)}))}a(s.arg)}(c,o,r,i)}))}return r=r?r.then(i,i):i()}}function O(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var c=r.arg;return c?c.done?(t[e.resultName]=c.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):c:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function k(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:M}}function M(){return{value:void 0,done:!0}}return h.prototype=b.constructor=d,d.constructor=h,h.displayName=a(d,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,a(e,i,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(g.prototype),g.prototype[o]=function(){return this},e.AsyncIterator=g,e.async=function(t,n,r,c,o){void 0===o&&(o=Promise);var i=new g(s(t,n,r,c),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(b),a(b,i,"Generator"),b[c]=function(){return this},b.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var c=this.tryEntries.length-1;c>=0;--c){var o=this.tryEntries[c],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var c=this.tryEntries[r];if(c.tryLoc<=this.prev&&n.call(c,"finallyLoc")&&this.prev<c.finallyLoc){var o=c;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var c=r.arg;w(n)}return c}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},121:function(e,t,n){var r=n(78);e.exports=function(e){if(Array.isArray(e))return r(e)}},122:function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},123:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},124:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},125:function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,c=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){c=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(c)throw o}}return n}}},126:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},13:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},138:function(e,t,n){"use strict";function r(e){return function(){return e}}var c=function(){};c.thatReturns=r,c.thatReturnsFalse=r(!1),c.thatReturnsTrue=r(!0),c.thatReturnsNull=r(null),c.thatReturnsThis=function(){return this},c.thatReturnsArgument=function(e){return e},e.exports=c},14:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},141:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},142:function(e,t,n){"use strict";var r=n(143);function c(){}function o(){}o.resetWarningCache=c,e.exports=function(){function e(e,t,n,c,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:c};return n.PropTypes=n,n}},143:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},144:function(e,t,n){"use strict";var r=n(80),c=n(105),o=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Array.isArray,s=Array.prototype.push,u=function(e,t){s.apply(e,a(t)?t:[t])},l=Date.prototype.toISOString,f=c.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:f,formatter:c.formatters[f],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},d=function e(t,n,c,o,i,s,l,f,d,v,p,m,b){var y,g=t;if("function"==typeof l?g=l(n,g):g instanceof Date?g=v(g):"comma"===c&&a(g)&&(g=r.maybeMap(g,(function(e){return e instanceof Date?v(e):e})).join(",")),null===g){if(o)return s&&!m?s(n,h.encoder,b,"key"):n;g=""}if("string"==typeof(y=g)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||r.isBuffer(g))return s?[p(m?n:s(n,h.encoder,b,"key"))+"="+p(s(g,h.encoder,b,"value"))]:[p(n)+"="+p(String(g))];var O,z=[];if(void 0===g)return z;if(a(l))O=l;else{var w=Object.keys(g);O=f?w.sort(f):w}for(var j=0;j<O.length;++j){var k=O[j],M=g[k];if(!i||null!==M){var H=a(g)?"function"==typeof c?c(n,k):n:n+(d?"."+k:"["+k+"]");u(z,e(M,H,c,o,i,s,l,f,d,v,p,m,b))}}return z};e.exports=function(e,t){var n,r=e,s=function(e){if(!e)return h;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=c.default;if(void 0!==e.format){if(!o.call(c.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=c.formatters[n],i=h.filter;return("function"==typeof e.filter||a(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:i,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}}(t);"function"==typeof s.filter?r=(0,s.filter)("",r):a(s.filter)&&(n=s.filter);var l,f=[];if("object"!=typeof r||null===r)return"";l=t&&t.arrayFormat in i?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var v=i[l];n||(n=Object.keys(r)),s.sort&&n.sort(s.sort);for(var p=0;p<n.length;++p){var m=n[p];s.skipNulls&&null===r[m]||u(f,d(r[m],m,v,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.formatter,s.encodeValuesOnly,s.charset))}var b=f.join(s.delimiter),y=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),b.length>0?y+b:""}},145:function(e,t,n){"use strict";var r=n(80),c=Object.prototype.hasOwnProperty,o=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(o),u=a?o.slice(0,a.index):o,l=[];if(u){if(!n.plainObjects&&c.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var f=0;n.depth>0&&null!==(a=i.exec(o))&&f<n.depth;){if(f+=1,!n.plainObjects&&c.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(a[1])}return a&&l.push("["+o.slice(a.index)+"]"),function(e,t,n,r){for(var c=r?t:s(t,n),o=e.length-1;o>=0;--o){var i,a=e[o];if("[]"===a&&n.parseArrays)i=[].concat(c);else{i=n.plainObjects?Object.create(null):{};var u="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&a!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(i=[])[l]=c:i[u]=c:i={0:c}}c=i}return c}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,u={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,h=l.split(t.delimiter,f),d=-1,v=t.charset;if(t.charsetSentinel)for(n=0;n<h.length;++n)0===h[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===h[n]?v="utf-8":"utf8=%26%2310003%3B"===h[n]&&(v="iso-8859-1"),d=n,n=h.length);for(n=0;n<h.length;++n)if(n!==d){var p,m,b=h[n],y=b.indexOf("]="),g=-1===y?b.indexOf("="):y+1;-1===g?(p=t.decoder(b,i.decoder,v,"key"),m=t.strictNullHandling?null:""):(p=t.decoder(b.slice(0,g),i.decoder,v,"key"),m=r.maybeMap(s(b.slice(g+1),t),(function(e){return t.decoder(e,i.decoder,v,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===v&&(m=a(m)),b.indexOf("[]=")>-1&&(m=o(m)?[m]:m),c.call(u,p)?u[p]=r.combine(u[p],m):u[p]=m}return u}(e,n):e,f=n.plainObjects?Object.create(null):{},h=Object.keys(l),d=0;d<h.length;++d){var v=h[d],p=u(v,l[v],n,"string"==typeof e);f=r.merge(f,p,n)}return r.compact(f)}},146:function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,c,o,i,a;if(e===t)return!0;if(n=r(e),c=r(t),n.length!==c.length)return!1;for(o=0;o<n.length;){if(void 0===(a=e[i=n[o]])&&!t.hasOwnProperty(i)||a!==t[i])return!1;o++}return!0}},147:function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},15:function(e,t){!function(){e.exports=this.moment}()},16:function(e,t,n){var r=n(141);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},17:function(e,t,n){var r=n(43),c=n(10);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?c(e):t}},170:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},171:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(77),c=n(3);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",t=document.createElement("div");t.id="a11y-speak-".concat(e),t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(t),t}var i="";function a(e,t){!function(){for(var e=document.getElementsByClassName("a11y-speak-region"),t=document.getElementById("a11y-speak-intro-text"),n=0;n<e.length;n++)e[n].textContent="";t&&t.setAttribute("hidden","hidden")}(),e=function(e){return e=e.replace(/<[^<>]+>/g," "),i===e&&(e+=" "),i=e,e}(e);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),c=document.getElementById("a11y-speak-polite");r&&"assertive"===t?r.textContent=e:c&&(c.textContent=e),n&&n.removeAttribute("hidden")}Object(r.a)((function(){var e=document.getElementById("a11y-speak-intro-text"),t=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===e&&function(){var e=document.createElement("p");e.id="a11y-speak-intro-text",e.className="a11y-speak-intro-text",e.textContent=Object(c.__)("Notifications"),e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("hidden","hidden");var t=document.body;t&&t.appendChild(e)}(),null===t&&o("assertive"),null===n&&o("polite")}))},18:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},188:function(e,t){!function(){e.exports=this.wc.currency}()},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(57);function c(e,t){if(null==e)return{};var n,c,o=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(c=0;c<i.length;c++)n=i[c],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},190:function(e,t,n){"use strict";var r=n(11),c="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(138),i=n(191),a=n(192),s="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function l(e,t,n,r){var o,a=typeof e;if("undefined"!==a&&"boolean"!==a||(e=null),null===e||"string"===a||"number"===a||"object"===a&&e.$$typeof===c)return n(r,e,""===t?"."+u(e,0):t),1;var f=0,h=""===t?".":t+":";if(Array.isArray(e))for(var d=0;d<e.length;d++)f+=l(o=e[d],h+u(o,d),n,r);else{var v=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(v){0;for(var p,m=v.call(e),b=0;!(p=m.next()).done;)f+=l(o=p.value,h+u(o,b++),n,r)}else if("object"===a){0;var y=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(e).join(", ")+"}":y,"")}}return f}var f=/\/+/g;function h(e){return(""+e).replace(f,"$&/")}var d,v,p=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},b=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function y(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function g(e,t,n){var c,i,a=e.result,s=e.keyPrefix,u=e.func,l=e.context,f=u.call(l,t,e.count++);Array.isArray(f)?O(f,a,n,o.thatReturnsArgument):null!=f&&(r.isValidElement(f)&&(c=f,i=s+(!f.key||t&&t.key===f.key?"":h(f.key)+"/")+n,f=r.cloneElement(c,{key:i},void 0!==c.props?c.props.children:void 0)),a.push(f))}function O(e,t,n,r,c){var o="";null!=n&&(o=h(n)+"/");var i=y.getPooled(t,o,r,c);!function(e,t,n){null==e||l(e,"",t,n)}(e,g,i),y.release(i)}y.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var c=this.instancePool.pop();return this.call(c,e,t,n,r),c}return new this(e,t,n,r)},(v=y).instancePool=[],v.getPooled=d||p,v.poolSize||(v.poolSize=10),v.release=b;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return a(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return a(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)O(e[n],t,n,o.thatReturnsArgument);return t}},191:function(e,t,n){"use strict";e.exports=function(e,t,n,r,c,o,i,a){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,c,o,i,a],l=0;(s=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},192:function(e,t,n){"use strict";var r=n(138);e.exports=r},193:function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},21:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return c}))},22:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",(function(){return c}))},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(55),c=n(18);function o(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeof t?Object(c.a)(e):t}},24:function(e,t){!function(){e.exports=this.wp.data}()},254:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return l})),n.d(t,"a",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"f",(function(){return v}));var r=n(30),c=n.n(r),o=n(73),i=n(2),a=n(33);function s(e){return e?e.split(":")[0]:null}function u(e){var t=s(e);return Object(i.without)(Object(a.g)("onboarding",{euCountries:[]}).euCountries,"GB").includes(t)&&(t="EU"),t}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=h(e,t,n),c=r.map((function(e){return e.id||e.product}));return c}function f(e,t){var n={};n.products=h(e,!0,t),n.remainingProducts=h(e,!1,t);var r=c()(new Set([].concat(c()(n.products),c()(n.remainingProducts))));return n.uniqueItemsList=r.map((function(e){return e.label?{type:"extension",name:e.label}:{type:"theme",name:e.title}})),n}function h(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=Object(a.g)("onboarding",{}),c=[];if(!r.productTypes)return c;var o=e.product_types||[];o.forEach((function(e){r.productTypes[e]&&r.productTypes[e].product&&(t||!n.includes(r.productTypes[e].slug))&&c.push(r.productTypes[e])}));var i=r.themes.find((function(t){return t.slug===e.theme}));return i&&i.id&&d(i.price)>0&&(t||!i.is_installed)&&c.push(i),c}function d(e){return Number(Object(o.decodeEntities)(e).replace(/[^0-9.-]+/g,""))}function v(e){return/admin.php\?page=wc-admin/.test(e)}},257:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,c={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}},258:function(e,t,n){"use strict";e.exports=n(282)},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(70);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,c=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){c=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(c)throw o}}return n}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},270:function(e,t,n){"use strict";var r=n(2);t.a=r.flowRight},271:function(e,t,n){"use strict";var r=n(258),c={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function s(e){return r.isMemo(e)?i:a[e.$$typeof]||c}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=i;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,v=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(v){var c=d(n);c&&c!==v&&e(t,c,r)}var i=l(n);f&&(i=i.concat(f(n)));for(var a=s(t),p=s(n),m=0;m<i.length;++m){var b=i[m];if(!(o[b]||r&&r[b]||p&&p[b]||a&&a[b])){var y=h(n,b);try{u(t,b,y)}catch(e){}}}}return t}},273:function(e,t,n){"use strict";n.d(t,"c",(function(){return wt})),n.d(t,"b",(function(){return Ht})),n.d(t,"a",(function(){return Vt}));var r=n(5),c=n.n(r),o=n(37),i=n.n(o),a=n(60),s=n.n(a),u=n(14),l=n.n(u),f=n(13),h=n.n(f),d=n(16),v=n.n(d),p=n(17),m=n.n(p),b=n(6),y=n.n(b),g=n(0),O=n(270),z=n(24),w=n(65),j=n(11),k=n.n(j),M=n(1),H=n.n(M),V=n(118),E=n(170),C=n.n(E),x=n(504),S=n.n(x);function _(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var L=k.a.createContext||function(e,t){var n,r,c="__create-react-context-"+S()()+"__",o=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=_(t.props.value),t}C()(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[c]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,c=e.value;((o=r)===(i=c)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,c):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},r.render=function(){return this.props.children},n}(j.Component);o.childContextTypes=((n={})[c]=H.a.object.isRequired,n);var i=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}C()(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[c]&&this.context[c].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[c]&&this.context[c].off(this.onUpdate)},r.getValue=function(){return this.context[c]?this.context[c].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(j.Component);return i.contextTypes=((r={})[c]=H.a.object,r),{Provider:o,Consumer:i}},P=n(89),R=n(8),T=n(402),A=n.n(T),N=(n(258),n(57)),D=(n(271),function(e){var t=L();return t.displayName=e,t}("Router")),F=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(w.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return k.a.createElement(D.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},t}(k.a.Component);k.a.Component;k.a.Component;var I={},B=0;function U(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,c=n.exact,o=void 0!==c&&c,i=n.strict,a=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=I[n]||(I[n]={});if(r[e])return r[e];var c=[],o={regexp:A()(e,c,t),keys:c};return B<1e4&&(r[e]=o,B++),o}(n,{end:o,strict:a,sensitive:u}),c=r.regexp,i=r.keys,s=c.exec(e);if(!s)return null;var l=s[0],f=s.slice(1),h=e===l;return o&&!h?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:h,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var q=function(e){function t(){return e.apply(this,arguments)||this}return Object(w.a)(t,e),t.prototype.render=function(){var e=this;return k.a.createElement(D.Consumer,null,(function(t){t||Object(P.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?U(n.pathname,e.props):t.match,c=Object(R.a)({},t,{location:n,match:r}),o=e.props,i=o.children,a=o.component,s=o.render;return Array.isArray(i)&&0===i.length&&(i=null),k.a.createElement(D.Provider,{value:c},c.match?i?"function"==typeof i?i(c):i:a?k.a.createElement(a,c):s?s(c):null:"function"==typeof i?i(c):null)}))},t}(k.a.Component);function W(e){return"/"===e.charAt(0)?e:"/"+e}function $(e,t){if(!e)return t;var n=W(e);return 0!==t.pathname.indexOf(n)?t:Object(R.a)({},t,{pathname:t.pathname.substr(n.length)})}function K(e){return"string"==typeof e?e:Object(V.d)(e)}function G(e){return function(){Object(P.a)(!1)}}function Z(){}k.a.Component;var Q=function(e){function t(){return e.apply(this,arguments)||this}return Object(w.a)(t,e),t.prototype.render=function(){var e=this;return k.a.createElement(D.Consumer,null,(function(t){t||Object(P.a)(!1);var n,r,c=e.props.location||t.location;return k.a.Children.forEach(e.props.children,(function(e){if(null==r&&k.a.isValidElement(e)){n=e;var o=e.props.path||e.props.from;r=o?U(c.pathname,Object(R.a)({},e.props,{path:o})):t.match}})),r?k.a.cloneElement(n,{location:c,computedMatch:r}):null}))},t}(k.a.Component);k.a.useContext;var J=n(2),Y=n(67),X=n(68),ee=n(32),te=n(33),ne=n(41),re=n(61),ce=(n(524),n(49)),oe=n(3),ie=n(410),ae=n(417),se=n(254);function ue(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y()(e);if(t){var c=y()(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return m()(this,n)}}var le=Object(g.lazy)((function(){return n.e(13).then(n.bind(null,894))})),fe=Object(g.lazy)((function(){return n.e(23).then(n.bind(null,908))})),he=Object(g.lazy)((function(){return n.e(29).then(n.bind(null,895))})),de=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(53),n.e(33)]).then(n.bind(null,910))})),ve=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(4),n.e(5),n.e(8),n.e(34)]).then(n.bind(null,905))})),pe=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(54),n.e(38)]).then(n.bind(null,909))})),me=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(4),n.e(8),n.e(46)]).then(n.bind(null,906))})),be=function(e){v()(n,e);var t=ue(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"componentDidMount",value:function(){window.document.documentElement.scrollTop=0,window.document.body.classList.remove("woocommerce-admin-is-loading")}},{key:"componentDidUpdate",value:function(e){var t=Object(J.omit)(e.query,"chartType","filter","paged"),n=Object(J.omit)(this.props.query,"chartType","filter","paged");e.query.paged>1&&!Object(J.isEqual)(t,n)&&Object(ee.getHistory)().replace(Object(ee.getNewPath)({paged:1})),e.match.url!==this.props.match.url&&(window.document.documentElement.scrollTop=0)}},{key:"render",value:function(){var e=this.props,t=e.page,n=e.match,r=e.query,c=n.url,o=n.params;return window.wpNavMenuUrlUpdate(r),window.wpNavMenuClassChange(t,c),Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(X.Spinner,null)},Object(g.createElement)(t.container,{params:o,path:c,pathMatch:t.path,query:r}))}}]),n}(g.Component);window.wpNavMenuUrlUpdate=function(e){var t=Object(ce.applyFilters)("woocommerce_admin_time_excluded_screens",["devdocs","stock","settings","customers","homescreen"]),n=Object(ee.getPersistedQuery)(e);Array.from(document.querySelectorAll("#adminmenu a")).forEach((function(e){return function(e,t,n){if(Object(se.f)(e.href)){var r=Object(J.last)(e.href.split("?")),c=Object(Y.parse)(r),o=(c.path||"homescreen").replace("/analytics","").replace("/",""),i=n.includes(o),a="admin.php?"+Object(Y.stringify)(Object.assign(c,i?{}:t));e.href=a,e.onclick=function(e){e.preventDefault(),Object(ee.getHistory)().push(a)}}}(e,n,t)}))},window.wpNavMenuClassChange=function(e,t){Array.from(document.getElementsByClassName("current")).forEach((function(e){e.classList.remove("current")})),Array.from(document.querySelectorAll(".wp-has-current-submenu")).forEach((function(e){e.classList.remove("wp-has-current-submenu"),e.classList.remove("wp-menu-open"),e.classList.remove("selected"),e.classList.add("wp-not-current-submenu"),e.classList.add("menu-top")}));var n="/"===t?"admin.php?page=wc-admin":"admin.php?page=wc-admin&path="+encodeURIComponent(t),r="/"===t?'li > a[href$="'.concat(n,'"], li > a[href*="').concat(n,'?"]'):'li > a[href*="'.concat(n,'"]'),c=document.querySelectorAll(r);if(Array.from(c).forEach((function(e){e.parentElement.classList.add("current")})),e.wpOpenMenu){var o=document.querySelector("#"+e.wpOpenMenu);o&&(o.classList.remove("wp-not-current-submenu"),o.classList.add("wp-has-current-submenu"),o.classList.add("wp-menu-open"),o.classList.add("current"))}document.querySelector("#wpwrap").classList.remove("wp-responsive-open")};var ye=n(38),ge=n.n(ye),Oe=n(4),ze=n.n(Oe),we=n(73),je=(n(525),n(30)),ke=n.n(je),Me=n(500),He=n.n(Me),Ve=n(72),Ee=n(501),Ce=n.n(Ee),xe=n(502),Se=n.n(xe),_e=n(418),Le=n(716),Pe=(n(527),function(e){var t=e.height,n=void 0===t?24:t,r=e.width,c=void 0===r?24:r,o=e.hasUnread,i=void 0!==o&&o,a=ze()("woocommerce-layout__activity-panel-toggle-bubble",{"has-unread":i});return Object(g.createElement)("div",{className:a},Object(g.createElement)("svg",{height:n,width:c,viewBox:"0 0 24 24"},Object(g.createElement)("path",{d:"M18.9 2H5.1C3.4 2 2 3.4 2 5.1v10.7C2 17.6 3.4 19 5.1 19H9l6 3-1-3h4.9c1.7 0 3.1-1.4 3.1-3.1V5.1C22 3.4 20.6 2 18.9 2zm-1.5 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7-.1.2-.3.4-.6.4s-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6.5 0 .8.3.9.9.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2.2.2.3.4.3.6 0 .2 0 .4-.1.5z"})))});Pe.propTypes={height:H.a.number,width:H.a.number,hasUnread:H.a.bool};var Re=Pe,Te=n(415),Ae=n(411);var Ne=n(509),De=function(e){var t=e.icon,n=e.title,r=e.name,c=e.unread,o=e.selected,i=e.isPanelOpen,a=e.onTabClick,s=e.index,u=ze()("woocommerce-layout__activity-panel-tab",{"is-active":i&&o,"has-unread":c}),l=-1;(o||!i&&0===s)&&(l=null);var f="activity-panel-tab-".concat(r);return Object(g.createElement)(Ve.a,{role:"tab",className:u,tabIndex:l,"aria-selected":o,"aria-controls":"activity-panel-".concat(r),key:f,id:f,onClick:function(){a(r)}},t,n," ",c&&Object(g.createElement)("span",{className:"screen-reader-text"},Object(oe.__)("unread activity","woocommerce-admin")))},Fe=function(e){var t=e.tabs,n=e.onTabClick,r=e.selectedTab,c=e.tabOpen,o=void 0!==c&&c,a=Object(g.useState)({tabOpen:o,currentTab:r}),s=ge()(a,2),u=s[0],l=u.tabOpen,f=u.currentTab,h=s[1];return Object(g.useEffect)((function(){h({tabOpen:o,currentTab:r})}),[o,r]),Object(g.createElement)(Ne.a,{role:"tablist",orientation:"horizontal",className:"woocommerce-layout__activity-panel-tabs"},t&&t.map((function(e,t){return Object(g.createElement)(De,i()({key:t,index:t,isPanelOpen:l,selected:f===e.name},e,{onTabClick:function(){var t=f!==e.name&&""!==f||!l;t&&f===e.name||Object(re.recordEvent)("activity_panel_open",{tab:e.name}),h({tabOpen:t,currentTab:e.name}),n(e,t)}}))})))},Ie=function(){return Object(g.createElement)("svg",{className:"setup-progress",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("path",{d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",stroke:"#DCDCDE",strokeWidth:"2"}),Object(g.createElement)("path",{d:"M4 12V12C4 16.4183 7.58172 20 12 20V20C16.4183 20 20 16.4183 20 12V12C20 7.58172 16.4183 4 12 4V4",strokeWidth:"2",strokeLinecap:"round"}))};function Be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y()(e);if(t){var c=y()(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return m()(this,n)}}var Ue=Object(g.lazy)((function(){return Promise.all([n.e(4),n.e(51),n.e(6),n.e(9)]).then(n.bind(null,901))})),qe=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(4),n.e(5),n.e(52),n.e(10)]).then(n.bind(null,762))})),We=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(4),n.e(11)]).then(n.bind(null,912))})),$e=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(4),n.e(12)]).then(n.bind(null,913))})),Ke=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(4),n.e(5),n.e(52),n.e(10)]).then(n.bind(null,903))})),Ge=Object(te.g)("manageStock","no"),Ze=Object(te.g)("reviewsEnabled","no"),Qe=function(e){v()(n,e);var t=Be(n);function n(e){var r;return l()(this,n),(r=t.call(this,e)).state={isPanelOpen:!1,mobileOpen:!1,currentTab:"",isPanelSwitching:!1},r}return h()(n,[{key:"togglePanel",value:function(e,t){var n=e.name;this.setState((function(e){var r=n!==e.currentTab&&""!==e.currentTab&&t&&e.isPanelOpen;return{isPanelOpen:t,mobileOpen:t,currentTab:n,isPanelSwitching:r}}))}},{key:"closePanel",value:function(){this.setState((function(){return{isPanelOpen:!1,currentTab:""}}))}},{key:"clearPanel",value:function(){this.setState((function(){return{isPanelSwitching:!1}}))}},{key:"toggleMobile",value:function(){var e=this.getTabs();this.setState((function(t){return{mobileOpen:!t.mobileOpen,currentTab:t.mobileOpen?"":e[0].name,isPanelOpen:!t.mobileOpen}}))}},{key:"handleClickOutside",value:function(e){var t=this.state.isPanelOpen,n=e.target.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.target.closest(".components-snackbar__action");t&&!n&&this.closePanel()}},{key:"getTabs",value:function(){var e=this.props,t=e.hasUnreadNotes,n=e.hasUnreadOrders,r=e.hasUnapprovedReviews,c=e.hasUnreadStock,o=e.isEmbedded,i=e.requestingTaskListOptions,a=e.taskListComplete,s=e.taskListHidden,u=e.query,l=u.task&&!u.path&&(!0===i||!1===s&&!1===a),f=this.props.getHistory().location,h=(a||s)&&!l,d=!a&&!s&&!l,v=(o||"/"!==f.pathname)&&!l?{name:"inbox",title:Object(oe.__)("Inbox","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"inbox"),unread:t}:null,p=d?{name:"setup",title:Object(oe.__)("Store Setup","woocommerce-admin"),icon:Object(g.createElement)(Ie,null)}:null,m=h?[{name:"orders",title:Object(oe.__)("Orders","woocommerce-admin"),icon:Object(g.createElement)(Ce.a,null),unread:n},"yes"===Ge&&{name:"stock",title:Object(oe.__)("Stock","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"widgets"),unread:c},"yes"===Ze&&{name:"reviews",title:Object(oe.__)("Reviews","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"star_border"),unread:r}].filter(Boolean):[],b=l?{name:"help",title:Object(oe.__)("Help","woocommerce-admin"),icon:Object(g.createElement)(_e.a,{icon:Le.a})}:null;return[v].concat(ke()(m),[p,b]).filter(Boolean)}},{key:"getPanelContent",value:function(e){var t=this.props,n=t.hasUnreadOrders,r=t.query,c=t.hasUnapprovedReviews,o=r.task;switch(e){case"inbox":return Object(g.createElement)(qe,null);case"orders":return Object(g.createElement)(We,{hasActionableOrders:n});case"stock":return Object(g.createElement)($e,null);case"reviews":return Object(g.createElement)(Ke,{hasUnapprovedReviews:c});case"help":return Object(g.createElement)(Ue,{taskName:o});default:return null}}},{key:"renderPanel",value:function(){var e=this,t=this.props,n=t.updateOptions,r=t.taskListHidden,c=this.state,o=c.isPanelOpen,i=c.currentTab,a=c.isPanelSwitching,s=Object(J.find)(this.getTabs(),{name:i});if(!s)return Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-wrapper"});var u=function(){e.clearPanel()};if("setup"===i)return window.location.href!==Object(te.f)("admin.php?page=wc-admin")&&("no"===r?this.redirectToHomeScreen():n({woocommerce_task_list_hidden:"no"}).then(this.redirectToHomeScreen)),null;var l=ze()("woocommerce-layout__activity-panel-wrapper",{"is-open":o,"is-switching":a});return Object(g.createElement)("div",{className:l,tabIndex:0,role:"tabpanel","aria-label":s.title,onTransitionEnd:u,onAnimationEnd:u},Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-content",key:"activity-panel-"+i,id:"activity-panel-"+i},Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(X.Spinner,null)},this.getPanelContent(i))))}},{key:"redirectToHomeScreen",value:function(){Object(se.f)(window.location.href)?Object(ee.getHistory)().push(Object(ee.getNewPath)({},"/",{})):window.location.href=Object(te.f)("admin.php?page=wc-admin")}},{key:"render",value:function(){var e=this,t=this.getTabs(),n=this.state,r=n.mobileOpen,c=n.currentTab,o=n.isPanelOpen,i=Object(J.uniqueId)("activity-panel-header_"),a=ze()("woocommerce-layout__activity-panel",{"is-mobile-open":this.state.mobileOpen}),s=t.some((function(e){return e.unread})),u=s?Object(oe.__)("View Activity Panel, you have unread activity","woocommerce-admin"):Object(oe.__)("View Activity Panel","woocommerce-admin");return Object(g.createElement)("div",null,Object(g.createElement)(X.H,{id:i,className:"screen-reader-text"},Object(oe.__)("Store Activity","woocommerce-admin")),Object(g.createElement)(X.Section,{component:"aside",id:"woocommerce-activity-panel","aria-labelledby":i},Object(g.createElement)(Ve.a,{onClick:function(){e.toggleMobile()},label:r?Object(oe.__)("Close Activity Panel","woocommerce-admin"):u,"aria-expanded":r,className:"woocommerce-layout__activity-panel-mobile-toggle"},r?Object(g.createElement)(Se.a,null):Object(g.createElement)(Re,{hasUnread:s})),Object(g.createElement)("div",{className:a},Object(g.createElement)(Fe,{tabs:t,tabOpen:o,selectedTab:c,onTabClick:function(t,n){e.togglePanel(t,n)}}),this.renderPanel())))}}]),n}(g.Component);Qe.defaultProps={getHistory:ee.getHistory};var Je=Object(O.a)(Object(z.withSelect)((function(e){var t=function(e){var t=e(ne.NOTES_STORE_NAME),n=t.getNotes,r=t.getNotesError,c=t.isResolving,o=(0,e(ne.USER_STORE_NAME).getCurrentUser)(),i=parseInt(o&&o.woocommerce_meta&&o.woocommerce_meta.activity_panel_inbox_last_read,10);if(!i)return null;var a={page:1,per_page:ne.QUERY_DEFAULTS.pageSize,status:"unactioned",type:ne.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc"},s=n(a),u=Boolean(r("getNotes",[a])),l=c("getNotes",[a]);return u||l?null:Object(Ae.a)(s,i)>0}(e),n=function(e){var t=e(ne.ITEMS_STORE_NAME),n=t.getItems,r=t.getItemsTotalCount,c=t.getItemsError,o=t.isResolving,i=(0,e(ne.SETTINGS_STORE_NAME).getSetting)("wc_admin","wcAdminSettings",{}).woocommerce_actionable_order_statuses,a=void 0===i?Te.a:i;if(!a.length)return!1;var s={page:1,per_page:1,status:a,_fields:["id"]};n("orders",s);var u=r("orders",s),l=Boolean(c("orders",s)),f=o("getItems",["orders",s]);return l||f?null:u>0}(e),r=Object(te.g)("hasLowStock",!1),c=function(e){var t=e(ne.REVIEWS_STORE_NAME),n=t.getReviewsTotalCount,r=t.getReviewsError,c=t.isResolving;if("yes"===Object(te.g)("reviewsEnabled")){var o={page:1,per_page:1,status:"hold"},i=n(o),a=Boolean(r(o)),s=c("getReviewsTotalCount",[o]);if(!a&&!s)return i>0}return!1}(e),o=e(ne.OPTIONS_STORE_NAME),i=o.getOption,a=o.isResolving,s="yes"===i("woocommerce_task_list_complete"),u="yes"===i("woocommerce_task_list_hidden");return{hasUnreadNotes:t,hasUnreadOrders:n,hasUnreadStock:r,hasUnapprovedReviews:c,requestingTaskListOptions:a("getOption",["woocommerce_task_list_complete"])||a("getOption",["woocommerce_task_list_hidden"]),taskListComplete:s,taskListHidden:u}})),Object(z.withDispatch)((function(e){return{updateOptions:e(ne.OPTIONS_STORE_NAME).updateOptions}})),He.a)(Qe),Ye=n(115),Xe=function(){return/iPhone|iPad|iPod/i.test(window.navigator.userAgent)?"ios":/Android/i.test(window.navigator.userAgent)?"android":"unknown"},et=function(){return Object(g.createElement)("svg",{width:"37",height:"37",viewBox:"0 0 92 92",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("rect",{width:"92",height:"92",rx:"21.3953",fill:"#7F54B3"}),Object(g.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.5937 28.043H19.8094C16.4781 28.0459 13.7783 30.7705 13.7754 34.1324V54.4501C13.7783 57.812 16.4781 60.5366 19.8094 60.5395H44.8229L56.2573 66.9607L53.6672 60.5395H72.599C74.2009 60.5402 75.7374 59.8983 76.8702 58.7552C78.0029 57.612 78.639 56.0614 78.6383 54.4447V34.1324C78.6376 32.5157 78.0002 30.9657 76.8664 29.8235C75.7327 28.6814 74.1956 28.0408 72.5937 28.043ZM19.1057 32.4208C18.4658 32.4324 17.8646 32.7359 17.467 33.2482C17.0888 33.7635 16.9404 34.4175 17.058 35.0502C18.5962 45.0986 20.0338 51.8757 21.371 55.3816C21.8779 56.658 22.4896 57.2703 23.2063 57.2185C24.3075 57.1489 25.6263 55.5968 27.1627 52.5621C27.9964 50.8412 29.2602 48.2662 30.9539 44.837C32.3785 49.88 34.309 53.6787 36.7456 56.2331C37.4291 56.9436 38.1204 57.2748 38.8195 57.2266C39.4185 57.1931 39.953 56.8315 40.217 56.2813C40.4753 55.7358 40.5806 55.1278 40.5211 54.5248C40.3516 52.0703 40.5919 48.667 41.2421 44.3149C41.9081 39.8057 42.7523 36.5818 43.7749 34.6432C43.9822 34.2526 44.0733 33.8087 44.037 33.366C44.0039 32.7587 43.7116 32.1969 43.2374 31.829C42.7745 31.4367 42.1799 31.2446 41.5803 31.2935C40.8334 31.3325 40.1682 31.7885 39.8499 32.4797C38.2331 35.5019 37.0812 40.4109 36.3943 47.2068C35.2823 44.2394 34.4509 41.1703 33.9114 38.0412C33.623 36.4613 32.9037 35.7125 31.7536 35.7946C30.9592 35.8589 30.3063 36.3944 29.7819 37.4012L24.0348 48.5643C23.0997 44.6692 22.2205 39.9289 21.3972 34.3433C21.1997 32.9652 20.4358 32.3244 19.1057 32.4208ZM69.9089 34.6877C71.6969 35.0381 73.2407 36.2 74.1186 37.8559C74.9693 39.3247 75.3946 41.1161 75.3946 43.23C75.4148 45.9567 74.7062 48.6357 73.3477 50.9687C71.7778 53.7023 69.7195 55.0691 67.1727 55.0691C66.6933 55.0668 66.2153 55.0128 65.7467 54.9078C63.9584 54.5581 62.4143 53.396 61.5371 51.7396C60.6864 50.2452 60.261 48.4411 60.261 46.3272C60.2357 43.6127 60.945 40.9454 62.3079 38.6295C63.9023 35.8959 65.9607 34.5291 68.4829 34.5291C68.9623 34.5304 69.4402 34.5836 69.9089 34.6877ZM68.7937 49.4848C69.7707 48.5773 70.4399 47.2269 70.8012 45.4337V45.4419C70.9315 44.7826 70.9959 44.1112 70.9933 43.4382C70.986 42.5849 70.8291 41.74 70.5302 40.9452C70.1443 39.901 69.6304 39.3124 68.9884 39.1793C68.0378 38.9643 67.1239 39.5256 66.2469 40.8632C65.5812 41.8393 65.109 42.9432 64.8577 44.1106C64.7276 44.7708 64.6632 45.4432 64.6657 46.1171C64.6739 46.9677 64.8308 47.8096 65.1287 48.6019C65.5146 49.6388 66.0294 50.2274 66.6731 50.3678C67.3169 50.5081 68.0237 50.2138 68.7937 49.4848ZM57.9079 37.8559C57.0291 36.2008 55.4854 35.0392 53.6976 34.6877C53.2279 34.5837 52.749 34.5306 52.2687 34.5291C49.7443 34.5291 47.6856 35.8959 46.0927 38.6295C44.7295 40.9454 44.0201 43.6127 44.0454 46.3272C44.0454 48.4411 44.4699 50.2452 45.319 51.7396C46.1976 53.3949 47.7414 54.5566 49.5294 54.9078C49.999 55.0126 50.4779 55.0667 50.9582 55.0691C53.5055 55.0691 55.5642 53.7023 57.1343 50.9687C58.4922 48.6355 59.2001 45.9565 59.1789 43.23C59.1789 41.1161 58.7544 39.3247 57.9053 37.8559H57.9079ZM54.5903 45.4337C54.2307 47.2269 53.5614 48.5773 52.5825 49.4848C51.8115 50.2065 51.101 50.5017 50.4589 50.3678C49.8169 50.2338 49.3011 49.6461 48.9169 48.6019C48.6181 47.8097 48.4603 46.9678 48.4511 46.1171C48.4495 45.4431 48.5148 44.7707 48.6459 44.1106C48.8971 42.9432 49.3694 41.8393 50.0353 40.8632C50.9124 39.5256 51.8264 38.9643 52.7773 39.1793C53.4193 39.3124 53.9333 39.901 54.3193 40.9452C54.617 41.7404 54.7739 42.585 54.7824 43.4382C54.785 44.1112 54.7207 44.7826 54.5903 45.4419V45.4337Z",fill:"white"}))},tt=(n(528),function(e){var t=e.onInstall,n=e.onDismiss;Object(g.useEffect)((function(){var e=document.getElementsByClassName("woocommerce-layout")[0];return"android"===Xe()&&e&&e.classList.add("woocommerce-layout__show-app-banner"),function(){e&&e.classList.remove("woocommerce-layout__show-app-banner")}}),[]);var r=Object(g.useState)(!1),c=ge()(r,2),o=c[0],i=c[1];return"android"!==Xe()||o?null:Object(g.createElement)("div",{className:"woocommerce-mobile-app-banner"},Object(g.createElement)(Ye.a,{icon:"no-alt","data-testid":"dismiss-btn",onClick:function(){n(),i(!0),Object(re.recordEvent)("wcadmin_mobile_android_banner_click",{action:"dismiss"})}}),Object(g.createElement)(et,null),Object(g.createElement)("div",{className:"woocommerce-mobile-app-banner__description"},Object(g.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(oe.__)("Run your store from anywhere","woocommerce-admin")),Object(g.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(oe.__)("Download the WooCommerce app","woocommerce-admin"))),Object(g.createElement)(Ve.a,{href:"https://play.google.com/store/apps/details?id=com.woocommerce.android",isSecondary:!0,onClick:function(){t(),i(!0),Object(re.recordEvent)("wcadmin_mobile_android_banner_click",{action:"install"})}},Object(oe.__)("Install","woocommerce-admin")))}),nt=function(e){var t=e.target.closest("a"),n=t.getAttribute("href");n&&Object(re.recordEvent)("navbar_breadcrumb_click",{href:n,text:t.innerText})},rt=function(e){var t=e.sections,n=e.isEmbedded,r=void 0!==n&&n,c=e.query,o=Object(g.useRef)(null),i=Object(g.useRef)(null),a=Object(g.useRef)(null),u=Object(te.g)("siteTitle",""),l=Object(g.useState)(!1),f=ge()(l,2),h=f[0],d=f[1],v=Object(ne.useUserPreferences)(),p=v.updateUserPreferences,m="yes"===s()(v,["updateUserPreferences"]).android_app_banner_dismissed,b=ze()("woocommerce-layout__header",{"is-scrolled":h});Object(g.useEffect)((function(){a.current=o.current.offsetTop;var e=function(){d(window.pageYOffset>a.current-20)},t=function(){i.current=window.requestAnimationFrame(e)};return window.addEventListener("scroll",t),function(){window.removeEventListener("scroll",t),window.cancelAnimationFrame(i.current)}}),[]),Object(g.useEffect)((function(){if(!r){var e=t.map((function(e){return Array.isArray(e)?e[1]:e})).reverse().join(" &lsaquo; "),n=Object(we.decodeEntities)(Object(oe.sprintf)(Object(oe.__)("%1$s &lsaquo; %2$s &#8212; WooCommerce","woocommerce-admin"),e,u));document.title!==n&&(document.title=n)}}),[r,t,u]);var y=function(){p({android_app_banner_dismissed:"yes"})};return Object(g.createElement)("div",{className:b,ref:o},!m&&Object(g.createElement)(tt,{onDismiss:y,onInstall:y}),Object(g.createElement)("h1",{className:"woocommerce-layout__header-breadcrumbs"},t.map((function(e,t){var n=Array.isArray(e)?Object(g.createElement)(X.Link,{href:r?Object(te.f)(e[0]):Object(ee.getNewPath)({},e[0],{}),type:r?"wp-admin":"wc-admin",onClick:nt},e[1]):e;return Object(g.createElement)("span",{key:t},Object(we.decodeEntities)(n))}))),window.wcAdminFeatures["activity-panels"]&&Object(g.createElement)(Je,{isEmbedded:r,query:c}))};function ct(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y()(e);if(t){var c=y()(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return m()(this,n)}}var ot=function(e){v()(n,e);var t=ct(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"render",value:function(){return Object(g.createElement)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}]),n}(g.Component),it=n(12),at=n.n(it);function st(e,t,n,r,c,o,i){try{var a=e[o](i),s=a.value}catch(e){return void n(e)}a.done?t(s):Promise.resolve(s).then(r,c)}function ut(e){return function(){var t=this,n=arguments;return new Promise((function(r,c){var o=e.apply(t,n);function i(e){st(o,r,c,i,a,"next",e)}function a(e){st(o,r,c,i,a,"throw",e)}i(void 0)}))}}var lt=n(27),ft=n(401),ht=n(717),dt=n(503);var vt=function(e){var t=e.notices,n=e.className,r=e.children,c=e.onRemove,o=void 0===c?J.noop:c,i=Object(ht.a)(),a=Object(g.useState)((function(){return new WeakMap})),s=Object(lt.a)(a,1)[0],u=Object(ft.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=ut(at.a.mark((function t(n){return at.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n({opacity:1,height:s.get(e).offsetHeight});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(){return function(){var e=ut(at.a.mark((function e(t){return at.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0});case 2:return e.next=4,t({height:0});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},immediate:i});n=ze()("components-snackbar-list",n);var l=function(e){return function(){return o(e.id)}};return Object(g.createElement)("div",{className:n},r,u.map((function(e){var t=e.item,n=e.key,r=e.props;return Object(g.createElement)(ft.animated.div,{key:n,style:r},Object(g.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&s.set(t,e)}},Object(g.createElement)(dt.a,Object(R.a)({},Object(J.omit)(t,["content"]),{onRemove:l(t)}),t.content)))})))};n(529);function pt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y()(e);if(t){var c=y()(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return m()(this,n)}}var mt=function(e){v()(n,e);var t=pt(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.notices,r=e.onRemove,c=ze()("woocommerce-transient-notices","components-notices__snackbar",t);return Object(g.createElement)(vt,{notices:n,className:c,onRemove:r})}}]),n}(g.Component);mt.propTypes={className:H.a.string,notices:H.a.array};var bt=Object(O.a)(Object(z.withSelect)((function(e){return{notices:e("core/notices").getNotices()}})),Object(z.withDispatch)((function(e){return{onRemove:e("core/notices").removeNotice}})))(mt);function yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ot(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y()(e);if(t){var c=y()(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return m()(this,n)}}var zt=Object(g.lazy)((function(){return Promise.all([n.e(5),n.e(47)]).then(n.bind(null,915))})),wt=function(e){v()(n,e);var t=Ot(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"render",value:function(){var e=this.props.children;return Object(g.createElement)("div",{className:"woocommerce-layout__primary",id:"woocommerce-layout__primary"},window.wcAdminFeatures["store-alerts"]&&Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(X.Spinner,null)},Object(g.createElement)(zt,null)),Object(g.createElement)(ot,null),e)}}]),n}(g.Component),jt=function(e){v()(n,e);var t=Ot(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"componentDidMount",value:function(){this.recordPageViewTrack()}},{key:"componentDidUpdate",value:function(e){var t=Object(J.get)(e,"location.pathname"),n=Object(J.get)(this.props,"location.pathname");t&&n&&t!==n&&this.recordPageViewTrack()}},{key:"recordPageViewTrack",value:function(){var e=this.props,t=e.activePlugins,n=e.installedPlugins,r=e.isEmbedded,c=e.isJetpackConnected;if(r){var o=document.location.pathname+document.location.search;Object(re.recordPageView)(o,{is_embedded:!0})}else{var i=Object(J.get)(this.props,"location.pathname");if(i){var a=i.substring(1).replace(/\//g,"_");0===a.length&&(a="home_screen"),Object(re.recordPageView)(a,{jetpack_installed:n.includes("jetpack"),jetpack_active:t.includes("jetpack"),jetpack_connected:c})}}}},{key:"getQuery",value:function(e){if(!e)return{};var t=e.substring(1);return Object(Y.parse)(t)}},{key:"render",value:function(){var e=this.props,t=e.isEmbedded,n=s()(e,["isEmbedded"]),r=this.props,c=r.location,o=r.page.breadcrumbs,a=this.getQuery(c&&c.search);return Object(g.createElement)("div",{className:"woocommerce-layout"},Object(g.createElement)(rt,{sections:Object(J.isFunction)(o)?o(this.props):o,isEmbedded:t,query:a}),Object(g.createElement)(bt,null),!t&&Object(g.createElement)(wt,null,Object(g.createElement)("div",{className:"woocommerce-layout__main"},Object(g.createElement)(be,i()({},n,{query:a})))))}}]),n}(g.Component);jt.propTypes={isEmbedded:H.a.bool,page:H.a.shape({container:H.a.oneOfType([H.a.func,H.a.object]),path:H.a.string,breadcrumbs:H.a.oneOfType([H.a.func,H.a.arrayOf(H.a.oneOfType([H.a.arrayOf(H.a.string),H.a.string]))]).isRequired,wpOpenMenu:H.a.string}).isRequired};var kt=Object(O.a)(Object(ne.withPluginsHydration)(gt(gt({},window.wcSettings.plugins||{}),{},{jetpackStatus:window.wcSettings.dataEndpoints&&window.wcSettings.dataEndpoints.jetpackStatus||!1})),Object(z.withSelect)((function(e,t){if(!t.isEmbedded){var n=e(ne.PLUGINS_STORE_NAME),r=n.getActivePlugins,c=n.getInstalledPlugins,o=n.isJetpackConnected;return{activePlugins:r(),isJetpackConnected:o(),installedPlugins:c()}}})))(jt),Mt=function(e){v()(n,e);var t=Ot(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"render",value:function(){return Object(g.createElement)(F,{history:Object(ee.getHistory)()},Object(g.createElement)(Q,null,(e=[],t=[["",wcSettings.woocommerceTranslation]],window.wcAdminFeatures.devdocs&&e.push({container:de,path:"/devdocs",breadcrumbs:function(e){var n=e.location,r=Object(ie.b)(n.search).component;return[].concat(t,r?[["/devdocs","Documentation"],r]:["Documentation"])},wpOpenMenu:"toplevel_page_woocommerce"}),e.push({container:ve,path:"/",breadcrumbs:[].concat(t,[Object(oe.__)("Home","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures.analytics&&(e.push({container:he,path:"/analytics/overview",breadcrumbs:[].concat(t,[["/analytics/overview",Object(oe.__)("Analytics","woocommerce-admin")],Object(oe.__)("Overview","woocommerce-admin")]),wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview"}),e.push({container:fe,path:"/analytics/settings",breadcrumbs:[].concat(t,[["/analytics/revenue",Object(oe.__)("Analytics","woocommerce-admin")],Object(oe.__)("Settings","woocommerce-admin")]),wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview"}),e.push({container:le,path:"/customers",breadcrumbs:[].concat(t,[Object(oe.__)("Customers","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce"}),e.push({container:le,path:"/analytics/:report",breadcrumbs:function(e){var n=e.match,r=Object(J.find)(Object(ae.a)(),{report:n.params.report});return r?[].concat(t,[["/analytics/revenue",Object(oe.__)("Analytics","woocommerce-admin")],r.title]):[]},wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview"})),window.wcAdminFeatures.marketing&&e.push({container:pe,path:"/marketing",breadcrumbs:[].concat(t,[["/marketing",Object(oe.__)("Marketing","woocommerce-admin")],Object(oe.__)("Overview","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce-marketing"}),window.wcAdminFeatures.onboarding&&e.push({container:me,path:"/setup-wizard",breadcrumbs:[].concat(t,[["/setup-wizard",Object(oe.__)("Setup Wizard","woocommerce-admin")]])}),Object(ce.applyFilters)("woocommerce_admin_pages_list",e)).map((function(e){return Object(g.createElement)(q,{key:e.path,path:e.path,exact:!0,render:function(t){return Object(g.createElement)(kt,i()({page:e},t))}})}))));var e,t}}]),n}(g.Component),Ht=Object(O.a)(window.wcSettings.preloadOptions?Object(ne.withOptionsHydration)(gt({},window.wcSettings.preloadOptions)):J.identity)(Mt),Vt=function(e){v()(n,e);var t=Ot(n);function n(){return l()(this,n),t.apply(this,arguments)}return h()(n,[{key:"render",value:function(){return Object(g.createElement)(kt,{page:{breadcrumbs:Object(te.g)("embedBreadcrumbs",[])},isEmbedded:!0})}}]),n}(g.Component)},274:function(e,t){!function(){e.exports=this.wc.number}()},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(62);var c=n(70);function o(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(c.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},280:function(e,t,n){"use strict";var r=n(0),c=n(101),o={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},i={">=":"min-width","<":"max-width"},a={">=":function(e,t){return t>=e},"<":function(e,t){return t<e}},s=Object(r.createContext)(null),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:">=",n=Object(r.useContext)(s),u=!n&&"(".concat(i[t],": ").concat(o[e],"px)"),l=Object(c.a)(u);return n?a[t](o[e],n):l};u.__experimentalWidthProvider=s.Provider,t.a=u},281:function(e,t,n){"use strict";var r=n(0),c=n(44),o=Object(r.createElement)(c.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.b,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.a=o},282:function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,c=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,v=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,O=r?Symbol.for("react.responder"):60118,z=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case c:switch(e=e.type){case f:case h:case i:case s:case a:case v:return e;default:switch(e=e&&e.$$typeof){case l:case d:case b:case m:case u:return e;default:return t}}case o:return t}}}function j(e){return w(e)===h}t.AsyncMode=f,t.ConcurrentMode=h,t.ContextConsumer=l,t.ContextProvider=u,t.Element=c,t.ForwardRef=d,t.Fragment=i,t.Lazy=b,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=v,t.isAsyncMode=function(e){return j(e)||w(e)===f},t.isConcurrentMode=j,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===c},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===b},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===v},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===h||e===s||e===a||e===v||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===g||e.$$typeof===O||e.$$typeof===z||e.$$typeof===y)},t.typeOf=w},29:function(e,t){!function(){e.exports=this.wp.dataControls}()},3:function(e,t){!function(){e.exports=this.wp.i18n}()},30:function(e,t,n){var r=n(121),c=n(122),o=n(81),i=n(123);e.exports=function(e){return r(e)||c(e)||o(e)||i()}},32:function(e,t){!function(){e.exports=this.wc.navigation}()},33:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return d})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return p})),n.d(t,"f",(function(){return m}));var r=n(43),c=n.n(r),o=n(3),i=["wcAdminSettings","preloadSettings"],a="object"===("undefined"==typeof wcSettings?"undefined":c()(wcSettings))?wcSettings:{},s=Object.keys(a).reduce((function(e,t){return i.includes(t)||(e[t]=a[t]),e}),{}),u=s.adminUrl,l=(s.countries,s.currency),f=s.locale,h=s.orderStatuses,d=(s.siteTitle,s.wcAssetUrl);function v(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(i.includes(e))throw new Error(Object(o.__)("Mutable settings should be accessed via data store."));var r=s.hasOwnProperty(e)?s[e]:t;return n(r,t)}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(i.includes(e))throw new Error(Object(o.__)("Mutable settings should be mutated via data store."));s[e]=n(t)}function m(e){return(u||"")+e}},34:function(e,t){var n,r,c=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,u=[],l=!1,f=-1;function h(){l&&s&&(l=!1,s.length?u=s.concat(u):f=-1,u.length&&d())}function d(){if(!l){var e=a(h);l=!0;for(var t=u.length;t;){for(s=u,u=[];++f<t;)s&&s[f].run();f=-1,t=u.length}s=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function v(e,t){this.fun=e,this.array=t}function p(){}c.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new v(e,t)),1!==u.length||l||a(d)},v.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=p,c.addListener=p,c.once=p,c.off=p,c.removeListener=p,c.removeAllListeners=p,c.emit=p,c.prependListener=p,c.prependOnceListener=p,c.listeners=function(e){return[]},c.binding=function(e){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(e){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},35:function(e,t){!function(){e.exports=this.wc.date}()},36:function(e,t){!function(){e.exports=this.wp.url}()},37:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},38:function(e,t,n){var r=n(124),c=n(125),o=n(81),i=n(126);e.exports=function(e,t){return r(e)||c(e,t)||o(e,t)||i()}},39:function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"f",(function(){return f})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return d}));var r=n(9),c=n(28),o=n(2),i=n(3);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}var s=9,u=27,l=37,f=38,h=39,d=40,v="alt",p="ctrl",m="meta",b="shift",y={primary:function(e){return e()?[m]:[p]},primaryShift:function(e){return e()?[b,m]:[p,b]},primaryAlt:function(e){return e()?[v,m]:[p,v]},secondary:function(e){return e()?[b,v,m]:[p,b,v]},access:function(e){return e()?[p,v]:[b,v]},ctrl:function(){return[p]},alt:function(){return[v]},ctrlShift:function(){return[p,b]},shift:function(){return[b]},shiftAlt:function(){return[b,v]}},g=(Object(o.mapValues)(y,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return[].concat(Object(c.a)(e(n)),[t.toLowerCase()]).join("+")}})),Object(o.mapValues)(y,(function(e){return function(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,s=i(),u=(n={},Object(r.a)(n,v,s?"⌥":"Alt"),Object(r.a)(n,p,s?"⌃":"Ctrl"),Object(r.a)(n,m,"⌘"),Object(r.a)(n,b,s?"⇧":"Shift"),n),l=e(i).reduce((function(e,t){var n=Object(o.get)(u,t,t);return[].concat(Object(c.a)(e),s?[n]:[n,"+"])}),[]),f=Object(o.capitalize)(t);return[].concat(Object(c.a)(l),[f])}})));Object(o.mapValues)(g,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return e(t,n).join("")}})),Object(o.mapValues)(y,(function(e){return function(t){var n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,u=s(),l=(n={},Object(r.a)(n,b,"Shift"),Object(r.a)(n,m,u?"Command":"Control"),Object(r.a)(n,p,"Control"),Object(r.a)(n,v,u?"Option":"Alt"),Object(r.a)(n,",",Object(i.__)("Comma")),Object(r.a)(n,".",Object(i.__)("Period")),Object(r.a)(n,"`",Object(i.__)("Backtick")),n);return[].concat(Object(c.a)(e(s)),[t]).map((function(e){return Object(o.capitalize)(Object(o.get)(l,e,e))})).join(u?" ":" + ")}}));function O(e){return[v,p,m,b].filter((function(t){return e["".concat(t,"Key")]}))}Object(o.mapValues)(y,(function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,c=e(r),i=O(t);return!Object(o.xor)(c,i).length&&(n?t.key===n:Object(o.includes)(c,t.key.toLowerCase()))}}))},4:function(e,t,n){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var c=arguments[r];if(c){var o=typeof c;if("string"===o||"number"===o)e.push(c);else if(Array.isArray(c)&&c.length){var i=n.apply(null,c);i&&e.push(i)}else if("object"===o)for(var a in c)t.call(c,a)&&c[a]&&e.push(a)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return n})):window.classNames=n}()},40:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},c=a(n(11)),o=a(n(190)),i=a(n(193));function a(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function u(e,t){var n,i,a,l,f,h,d,v,p=[],m={};for(h=0;h<e.length;h++)if("string"!==(f=e[h]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==r(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+s);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],a=h;break}p.push(t[f.value])}else p.push(f.value);return n&&(l=function(e,t){var n,r,c=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===c.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+c.value+"`")}(a,e),d=u(e.slice(a+1,l),t),i=c.default.cloneElement(n,{},d),p.push(i),l<e.length-1&&(v=u(e.slice(l+1),t),p=p.concat(v))),1===p.length?p[0]:(p.forEach((function(e,t){e&&(m["interpolation-child-"+t]=e)})),(0,o.default)(m))}t.default=function(e){var t=e.mixedString,n=e.components,c=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(c)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var o=(0,i.default)(t);try{return u(o,n)}catch(e){if(c)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},401:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var c=r(n(37)),o=r(n(257)),i=n(11),a=r(i),s=r(n(170)),u=r(n(10)),l={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(l.str(e)||l.num(e))return e===t;if(l.obj(e)&&l.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!l.und(n)||e===t}};function f(){var e=i.useState(!1)[1];return i.useCallback((function(){return e((function(e){return!e}))}),[])}function h(e,t){return l.und(e)||l.nul(e)?t:e}function d(e){return l.und(e)?[]:l.arr(e)?e:[e]}function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return l.fun(e)?e.apply(void 0,n):e}function p(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,o(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(l.und(t))return c({to:t},e);var n=Object.keys(e).reduce((function(n,r){var o;return l.und(t[r])?c({},n,((o={})[r]=e[r],o)):n}),{});return c({to:t},n)}var m,b,y=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),g=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),c=0;c<n;c++)r[c]=arguments[c];return(t=e.call.apply(e,[this].concat(r))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.addChild(u(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.removeChild(u(t))}))},t}return s(t,e),t}(y),O=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),c=0;c<n;c++)r[c]=arguments[c];return(t=e.call.apply(e,[this].concat(r))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.addChild(u(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.removeChild(u(t))}))},t}s(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof y)&&(t[n]=r instanceof y?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(y);function z(e,t){m={fn:e,transform:t}}function w(e){b=e}var j,k=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},M=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function H(e){j=e}var V,E=function(){return Date.now()};function C(e){V=e}var x,S,_=function(e){return e.current};function L(e){x=e}var P=Object.freeze({get applyAnimatedValues(){return m},injectApplyAnimatedValues:z,get colorNames(){return b},injectColorNames:w,get requestFrame(){return k},get cancelFrame(){return M},injectFrame:function(e,t){k=e,M=t},get interpolation(){return j},injectStringInterpolator:H,get now(){return E},injectNow:function(e){E=e},get defaultElement(){return V},injectDefaultElement:C,get animatedApi(){return _},injectAnimatedApi:function(e){_=e},get createAnimatedStyle(){return x},injectCreateAnimatedStyle:L,get manualFrameloop(){return S},injectManualFrameloop:function(e){S=e}}),R=function(e){function t(t,n){var r;return(r=e.call(this)||this).update=void 0,r.payload=t.style?c({},t,{style:x(t.style)}):t,r.update=n,r.attach(),r}return s(t,e),t}(O),T=!1,A=new Set,N=function e(){if(!T)return!1;var t=E(),n=A,r=Array.isArray(n),c=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(c>=n.length)break;o=n[c++]}else{if((c=n.next()).done)break;o=c.value}for(var i=o,a=!1,s=0;s<i.configs.length;s++){for(var u=i.configs[s],l=void 0,f=void 0,h=0;h<u.animatedValues.length;h++){var d=u.animatedValues[h];if(!d.done){var v=u.fromValues[h],p=u.toValues[h],m=d.lastPosition,b=p instanceof y,g=Array.isArray(u.initialVelocity)?u.initialVelocity[h]:u.initialVelocity;if(b&&(p=p.getValue()),u.immediate)d.setValue(p),d.done=!0;else if("string"!=typeof v&&"string"!=typeof p){if(void 0!==u.duration)m=v+u.easing((t-d.startTime)/u.duration)*(p-v),l=t>=d.startTime+u.duration;else if(u.decay)m=v+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-d.startTime))),(l=Math.abs(d.lastPosition-m)<.1)&&(p=m);else{f=void 0!==d.lastTime?d.lastTime:t,g=void 0!==d.lastVelocity?d.lastVelocity:u.initialVelocity,t>f+64&&(f=t);for(var O=Math.floor(t-f),z=0;z<O;++z){m+=1*(g+=1*((-u.tension*(m-p)+-u.friction*g)/u.mass)/1e3)/1e3}var w=!(!u.clamp||0===u.tension)&&(v<p?m>p:m<p),j=Math.abs(g)<=u.precision,M=0===u.tension||Math.abs(p-m)<=u.precision;l=w||j&&M,d.lastVelocity=g,d.lastTime=t}b&&!u.toValues[h].done&&(l=!1),l?(d.value!==p&&(m=p),d.done=!0):a=!0,d.setValue(m),d.lastPosition=m}else d.setValue(p),d.done=!0}}i.props.onFrame&&(i.values[u.name]=u.interpolation.getValue())}i.props.onFrame&&i.props.onFrame(i.values),a||(A.delete(i),i.stop(!0))}return A.size?S?S():k(e):T=!1,T};function D(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return D({range:e,output:t,extrapolate:n});if(j&&"string"==typeof e.output[0])return j(e);var r=e,c=r.output,o=r.range||[0,1],i=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",s=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,c,o,i,a,s){var u=s?s(e):e;if(u<t){if("identity"===i)return u;"clamp"===i&&(u=t)}if(u>n){if("identity"===a)return u;"clamp"===a&&(u=n)}if(r===c)return r;if(t===n)return e<=t?r:c;t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t);u=o(u),r===-1/0?u=-u:c===1/0?u+=r:u=u*(c-r)+r;return u}(e,o[t],o[t+1],c[t],c[t+1],s,i,a,r.map)}}var F=function(e){function t(n,r,c,o){var i;return(i=e.call(this)||this).calc=void 0,i.payload=n instanceof g&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],i.calc=D(r,c,o),i}s(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=D(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(g);var I=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}s(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new F(this,e,t,n)},t}(y),B=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new I(e)})),n}s(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new F(this,e,t)},t}(g),U=0,q=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=U++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=p(e),n=t.delay,r=void 0===n?0:n,i=t.to,a=o(t,["delay","to"]);if(l.arr(i)||l.fun(i))this.queue.push(c({},a,{delay:r,to:i}));else if(i){var s={};Object.entries(i).forEach((function(e){var t,n=e[0],o=e[1],i=c({to:(t={},t[n]=o,t),delay:v(r,n)},a),u=s[i.delay]&&s[i.delay].to;s[i.delay]=c({},s[i.delay],i,{to:c({},u,i.to)})})),this.queue=Object.values(s)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(a),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,o=e.to,i=void 0===o?{}:o;l.obj(r)&&(n.merged=c({},r,n.merged)),l.obj(i)&&(n.merged=c({},n.merged,i))}));var r=this.local=++this.guid,i=this.localQueue=this.queue;this.queue=[],i.forEach((function(t,c){var a=t.delay,s=o(t,["delay"]),u=function(t){c===i.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},f=l.arr(s.to)||l.fun(s.to);a?setTimeout((function(){r===n.guid&&(f?n.runAsync(s,u):n.diff(s).start(u))}),a):f?n.runAsync(s,u):n.diff(s).start(u)}))}else l.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,A.has(t)||A.add(t),T||(T=!0,k(S||N));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,A.has(t)&&A.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,o(e,["delay"])),i=this.local,a=Promise.resolve(void 0);if(l.arr(r.to))for(var s=function(e){var t=e,o=c({},r,p(r.to[t]));l.arr(o.config)&&(o.config=o.config[t]),a=a.then((function(){if(i===n.guid)return new Promise((function(e){return n.diff(o).start(e)}))}))},u=0;u<r.to.length;u++)s(u);else if(l.fun(r.to)){var f,h=0;a=a.then((function(){return r.to((function(e){var t=c({},r,p(e));if(l.arr(t.config)&&(t.config=t.config[h]),h++,i===n.guid)return f=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return f}))}))}a.then(t)},t.diff=function(e){var t=this;this.props=c({},this.props,e);var n=this.props,r=n.from,o=void 0===r?{}:r,i=n.to,a=void 0===i?{}:i,s=n.config,u=void 0===s?{}:s,f=n.reverse,p=n.attach,m=n.reset,y=n.immediate;if(f){var g=[a,o];o=g[0],a=g[1]}this.merged=c({},o,this.merged,a),this.hasChanged=!1;var O=p&&p(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],i=n[1],a=e[r]||{},s=l.num(i),f=l.str(i)&&!i.startsWith("#")&&!/\d/.test(i)&&!b[i],p=l.arr(i),g=!s&&!p&&!f,z=l.und(o[r])?i:o[r],w=s||p||f?i:1,k=v(u,r);O&&(w=O.animations[r].parent);var M,H=a.parent,V=a.interpolation,C=d(O?w.getPayload():w),x=i;g&&(x=j({range:[0,1],output:[i,i]})(1));var S,_=V&&V.getValue(),L=!l.und(H)&&a.animatedValues.some((function(e){return!e.done})),P=!l.equ(x,_),R=!l.equ(x,a.previous),T=!l.equ(k,a.config);if(m||R&&P||T){var A;if(s||f)H=V=a.parent||new I(z);else if(p)H=V=a.parent||new B(z);else if(g){var N=a.interpolation&&a.interpolation.calc(a.parent.value);N=void 0===N||m?z:N,a.parent?(H=a.parent).setValue(0,!1):H=new I(0);var D={output:[N,i]};a.interpolation?(V=a.interpolation,a.interpolation.updateConfig(D)):V=H.interpolate(D)}return C=d(O?w.getPayload():w),M=d(H.getPayload()),m&&!g&&H.setValue(z,!1),t.hasChanged=!0,M.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=L?e.lastVelocity:void 0,e.lastTime=L?e.lastTime:void 0,e.startTime=E(),e.done=!1,e.animatedStyles.clear()})),v(y,r)&&H.setValue(g?w:i,!1),c({},e,((A={})[r]=c({},a,{name:r,parent:H,interpolation:V,animatedValues:M,toValues:C,previous:x,config:k,fromValues:d(H.getValue()),immediate:v(y,r),initialVelocity:h(k.velocity,0),clamp:h(k.clamp,!1),precision:h(k.precision,.01),tension:h(k.tension,170),friction:h(k.friction,26),mass:h(k.mass,1),duration:k.duration,easing:h(k.easing,(function(e){return e})),decay:k.decay}),A))}return P?e:(g&&(H.setValue(1,!1),V.updateConfig({output:[x,x]})),H.done=!0,t.hasChanged=!0,c({},e,((S={})[r]=c({},e[r],{previous:x}),S)))}),this.animations),this.hasChanged)for(var z in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[z]=this.animations[z].interpolation,this.values[z]=this.animations[z].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),W=function(e,t){var n=i.useRef(!1),r=i.useRef(),c=l.fun(t),o=i.useMemo((function(){var n;return r.current&&(r.current.map((function(e){return e.destroy()})),r.current=void 0),[new Array(e).fill().map((function(e,r){var o=new q,i=c?v(t,r,o):t[r];return 0===r&&(n=i.ref),o.update(i),n||o.start(),o})),n]}),[e]),a=o[0],s=o[1];r.current=a;i.useImperativeHandle(s,(function(){return{start:function(){return Promise.all(r.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return r.current.forEach((function(t){return t.stop(e)}))},get controllers(){return r.current}}}));var u=i.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(c?v(e,n,t):e[n]),s||t.start()}))}}),[e]);i.useEffect((function(){n.current?c||u(t):s||r.current.forEach((function(e){return e.start()}))})),i.useEffect((function(){return n.current=!0,function(){return r.current.forEach((function(e){return e.destroy()}))}}),[]);var f=r.current.map((function(e){return e.getValues()}));return c?[f,u,function(e){return r.current.forEach((function(t){return t.pause(e)}))}]:f},$=0,K=function(e,t){return("function"==typeof t?e.map(t):d(t)).map(String)},G=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,i=o(e,["items","keys"]);return t=d(void 0!==t?t:null),c({items:t,keys:K(t,r)},i)};function Z(e,t){var n=function(){if(c){if(o>=r.length)return"break";i=r[o++]}else{if((o=r.next()).done)return"break";i=o.value}var n=i.key,a=function(e){return e.key!==n};(l.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(a),e.current.deleted=e.current.deleted.filter(a))},r=e.current.deleted,c=Array.isArray(r),o=0;for(r=c?r:r[Symbol.iterator]();;){var i;if("break"===n())break}e.current.forceUpdate()}var Q=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof y||(t=m.transform(t)),n.payload=t,n}return s(t,e),t}(O),J={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Y="[-+]?\\d*\\.?\\d+";function X(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+X(Y,Y,Y)),te=new RegExp("rgba"+X(Y,Y,Y,Y)),ne=new RegExp("hsl"+X(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),re=new RegExp("hsla"+X(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Y)),ce=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ie=/^#([0-9a-fA-F]{6})$/,ae=/^#([0-9a-fA-F]{8})$/;function se(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ue(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,c=2*n-r,o=se(c,r,e+1/3),i=se(c,r,e),a=se(c,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*i)<<16|Math.round(255*a)<<8}function le(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function fe(e){return(parseFloat(e)%360+360)%360/360}function he(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function de(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function ve(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ie.exec(t))?parseInt(n[1]+"ff",16)>>>0:J.hasOwnProperty(t)?J[t]:(n=ee.exec(t))?(le(n[1])<<24|le(n[2])<<16|le(n[3])<<8|255)>>>0:(n=te.exec(t))?(le(n[1])<<24|le(n[2])<<16|le(n[3])<<8|he(n[4]))>>>0:(n=ce.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=ae.exec(t))?parseInt(n[1],16)>>>0:(n=oe.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ne.exec(t))?(255|ue(fe(n[1]),de(n[2]),de(n[3])))>>>0:(n=re.exec(t))?(ue(fe(n[1]),de(n[2]),de(n[3]))|he(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var pe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,me=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,be=new RegExp("("+Object.keys(J).join("|")+")","g"),ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ge=["Webkit","Ms","Moz","O"];function Oe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return ge.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ye);var ze={};L((function(e){return new Q(e)})),C("div"),H((function(e){var t=e.output.map((function(e){return e.replace(me,ve)})).map((function(e){return e.replace(be,ve)})),n=t[0].match(pe).map((function(){return[]}));t.forEach((function(e){e.match(pe).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(pe).map((function(t,r){return D(c({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(pe,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,c){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+c+")"}))}})),w(J),z((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,c=t.scrollTop,i=t.scrollLeft,a=o(t,["style","children","scrollTop","scrollLeft"]),s="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var u in void 0!==c&&(e.scrollTop=c),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(u)){var l=0===u.indexOf("--"),f=Oe(u,n[u],l);"float"===u&&(u="cssFloat"),l?e.style.setProperty(u,f):e.style[u]=f}for(var h in a){var d=s?h:ze[h]||(ze[h]=h.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(d)&&e.setAttribute(d,a[h])}}),(function(e){return e}));var we,je,ke=(we=function(e){return i.forwardRef((function(t,n){var r=f(),s=i.useRef(!0),u=i.useRef(null),h=i.useRef(null),d=i.useCallback((function(e){var t=u.current;u.current=new R(e,(function(){var e=!1;h.current&&(e=m.fn(h.current,u.current.getAnimatedValue())),h.current&&!1!==e||r()})),t&&t.detach()}),[]);i.useEffect((function(){return function(){s.current=!1,u.current&&u.current.detach()}}),[]),i.useImperativeHandle(n,(function(){return _(h,s,r)})),d(t);var v,p=u.current.getValue(),b=(p.scrollTop,p.scrollLeft,o(p,["scrollTop","scrollLeft"])),y=(v=e,!l.fun(v)||v.prototype instanceof a.Component?function(e){return h.current=function(e,t){return t&&(l.fun(t)?t(e):l.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return a.createElement(e,c({},b,{ref:y}))}))},void 0===(je=!1)&&(je=!0),function(e){return(l.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=je?t[0].toLowerCase()+t.substring(1):t;return e[n]=we(n),e}),we)}),Me=ke(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=ke,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=N,t.animated=Me,t.a=Me,t.interpolate=function(e,t,n){return e&&new F(e,t,n)},t.Globals=P,t.useSpring=function(e){var t=l.fun(e),n=W(1,t?e:[e]),r=n[0],c=n[1],o=n[2];return t?[r[0],c,o]:r},t.useTrail=function(e,t){var n=i.useRef(!1),r=l.fun(t),o=v(t),a=i.useRef(),s=W(e,(function(e,t){return 0===e&&(a.current=[]),a.current.push(t),c({},o,{config:v(o.config,e),attach:e>0&&function(){return a.current[e-1]}})})),u=s[0],f=s[1],h=s[2],d=i.useMemo((function(){return function(e){return f((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,i=a.current[r];return c({},e,{config:v(e.config||o.config,t),attach:i&&function(){return i}})}))}}),[e,o.reverse]);return i.useEffect((function(){n.current&&!r&&d(t)})),i.useEffect((function(){n.current=!0}),[]),r?[u,d,h]:u},t.useTransition=function(e,t,n){var r=c({items:e,keys:t||function(e){return e}},n),a=G(r),s=a.lazy,u=void 0!==s&&s,l=(a.unique,a.reset),h=void 0!==l&&l,d=(a.enter,a.leave,a.update,a.onDestroyed),p=(a.keys,a.items,a.onFrame),m=a.onRest,b=a.onStart,y=a.ref,g=o(a,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),O=f(),z=i.useRef(!1),w=i.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!z.current&&new Map,forceUpdate:O});return i.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(w.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(w.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(w.current.instances).map((function(e){return e[1]}))}}})),w.current=function(e,t){var n=e.first,r=e.prevProps,i=o(e,["first","prevProps"]),a=G(t),s=a.items,u=a.keys,l=a.initial,f=a.from,h=a.enter,d=a.leave,p=a.update,m=a.trail,b=void 0===m?0:m,y=a.unique,g=a.config,O=a.order,z=void 0===O?["enter","leave","update"]:O,w=G(r),j=w.keys,k=w.items,M=c({},i.current),H=[].concat(i.deleted),V=Object.keys(M),E=new Set(V),C=new Set(u),x=u.filter((function(e){return!E.has(e)})),S=i.transitions.filter((function(e){return!e.destroyed&&!C.has(e.originalKey)})).map((function(e){return e.originalKey})),_=u.filter((function(e){return E.has(e)})),L=-b;for(;z.length;){switch(z.shift()){case"enter":x.forEach((function(e,t){y&&H.find((function(t){return t.originalKey===e}))&&(H=H.filter((function(t){return t.originalKey!==e})));var r=u.indexOf(e),c=s[r],o=n&&void 0!==l?"initial":"enter";M[e]={slot:o,originalKey:e,key:y?String(e):$++,item:c,trail:L+=b,config:v(g,c,o),from:v(n&&void 0!==l?l||{}:f,c),to:v(h,c)}}));break;case"leave":S.forEach((function(e){var t=j.indexOf(e),n=k[t];H.unshift(c({},M[e],{slot:"leave",destroyed:!0,left:j[Math.max(0,t-1)],right:j[Math.min(j.length,t+1)],trail:L+=b,config:v(g,n,"leave"),to:v(d,n)})),delete M[e]}));break;case"update":_.forEach((function(e){var t=u.indexOf(e),n=s[t];M[e]=c({},M[e],{item:n,slot:"update",trail:L+=b,config:v(g,n,"update"),to:v(p,n)})}))}}var P=u.map((function(e){return M[e]}));return H.forEach((function(e){var t,n=e.left,r=(e.right,o(e,["left","right"]));-1!==(t=P.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),P=[].concat(P.slice(0,t),[r],P.slice(t))})),c({},i,{changed:x.length||S.length||_.length,first:n&&0===x.length,transitions:P,current:M,deleted:H,prevProps:t})}(w.current,r),w.current.changed&&w.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,o=e.config,i=e.trail,a=e.key,s=e.item;w.current.instances.has(a)||w.current.instances.set(a,new q);var l=w.current.instances.get(a),f=c({},g,{to:r,from:n,config:o,ref:y,onRest:function(n){w.current.mounted&&(e.destroyed&&(y||u||Z(w,a),d&&d(s)),!Array.from(w.current.instances).some((function(e){return!e[1].idle}))&&(y||u)&&w.current.deleted.length>0&&Z(w),m&&m(s,t,n))},onStart:b&&function(){return b(s,t)},onFrame:p&&function(e){return p(s,t,e)},delay:i,reset:h&&"enter"===t});l.update(f),w.current.paused||l.start()})),i.useEffect((function(){return w.current.mounted=z.current=!0,function(){w.current.mounted=z.current=!1,Array.from(w.current.instances).map((function(e){return e[1].destroy()})),w.current.instances.clear()}}),[]),w.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:w.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=i.useRef();i.useEffect((function(){l.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var o=e.current;if(o){var i=o.controllers;if(i.length){var a=n*t[r];i.forEach((function(e){e.queue=e.queue.map((function(e){return c({},e,{delay:e.delay+a})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=W},402:function(e,t,n){var r=n(530);e.exports=d,e.exports.parse=o,e.exports.compile=function(e,t){return a(o(e,t),t)},e.exports.tokensToFunction=a,e.exports.tokensToRegExp=h;var c=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,a="",l=t&&t.delimiter||"/";null!=(n=c.exec(e));){var f=n[0],h=n[1],d=n.index;if(a+=e.slice(i,d),i=d+f.length,h)a+=h[1];else{var v=e[i],p=n[2],m=n[3],b=n[4],y=n[5],g=n[6],O=n[7];a&&(r.push(a),a="");var z=null!=p&&null!=v&&v!==p,w="+"===g||"*"===g,j="?"===g||"*"===g,k=n[2]||l,M=b||y;r.push({name:m||o++,prefix:p||"",delimiter:k,optional:j,repeat:w,partial:z,asterisk:!!O,pattern:M?u(M):O?".*":"[^"+s(k)+"]+?"})}}return i<e.length&&(a+=e.substr(i)),a&&r.push(a),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function a(e,t){for(var n=new Array(e.length),c=0;c<e.length;c++)"object"==typeof e[c]&&(n[c]=new RegExp("^(?:"+e[c].pattern+")$",f(t)));return function(t,c){for(var o="",a=t||{},s=(c||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var l=e[u];if("string"!=typeof l){var f,h=a[l.name];if(null==h){if(l.optional){l.partial&&(o+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(h)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<h.length;d++){if(f=s(h[d]),!n[u].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===d?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(h).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(h),!n[u].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');o+=l.prefix+f}}else o+=l}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function h(e,t,n){r(t)||(n=t||n,t=[]);for(var c=(n=n||{}).strict,o=!1!==n.end,i="",a=0;a<e.length;a++){var u=e[a];if("string"==typeof u)i+=s(u);else{var h=s(u.prefix),d="(?:"+u.pattern+")";t.push(u),u.repeat&&(d+="(?:"+h+d+")*"),i+=d=u.optional?u.partial?h+"("+d+")?":"(?:"+h+"("+d+"))?":h+"("+d+")"}}var v=s(n.delimiter||"/"),p=i.slice(-v.length)===v;return c||(i=(p?i.slice(0,-v.length):i)+"(?:"+v+"(?=$))?"),i+=o?"$":c&&p?"":"(?="+v+"|$)",l(new RegExp("^"+i,f(n)),t)}function d(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],c=0;c<e.length;c++)r.push(d(e[c],t,n).source);return l(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return h(o(e,n),t,n)}(e,t,n)}},41:function(e,t){!function(){e.exports=this.wc.data}()},410:function(e,t,n){"use strict";function r(e){return e?e.substr(1).split("&").reduce((function(e,t){var n=t.split("="),r=n[0],c=decodeURIComponent(n[1]);return c=isNaN(Number(c))?c:Number(c),e[r]=c,e}),{}):{}}function c(){var e="",t=r(window.location.search),n=t.page,c=t.path,o=t.post_type;if(n){var i="wc-admin"===n?"home_screen":n;e=c?c.replace(/\//g,"_").substring(1):i}else o&&(e=o);return e}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return c}))},411:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return o}));var r=n(2);function c(e,t){return Object(r.filter)(e,(function(e){var n=e.is_deleted,r=e.date_created_gmt,c=e.status;if(!n)return(!t||!r||new Date(r+"Z").getTime()>t)&&"unactioned"===c})).length}function o(e){return Object(r.filter)(e,(function(e){return!e.is_deleted})).length>0}},415:function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return g}));var r=n(0),c=n(3),o=n(49),i=n(40),a=n.n(i),s=n(33),u=n(67),l=n(68),f=n(41),h=n(35),d=function(e){var t=e.value,n=e.onChange,c=Object(f.useSettings)("wc_admin",["wcAdminSettings"]).wcAdminSettings.woocommerce_default_date_range,o=Object(u.parse)(t.replace(/&amp;/g,"&")),i=Object(h.getDateParamsFromQuery)(o,c),a=i.period,s=i.compare,d=i.before,v=i.after,p=Object(h.getCurrentDates)(o,c),m={period:a,compare:s,before:d,after:v,primaryDate:p.primary,secondaryDate:p.secondary};return Object(r.createElement)(l.DateRangeFilterPicker,{query:o,onRangeSelect:function(e){n({target:{name:"woocommerce_default_date_range",value:Object(u.stringify)(e)}})},dateQuery:m,isoDateFormat:h.isoDateFormat})},v=["processing","on-hold"],p=["completed","processing","refunded","cancelled","failed","pending","on-hold"],m=Object.keys(s.d).filter((function(e){return"refunded"!==e})).map((function(e){return{value:e,label:s.d[e],description:Object(c.sprintf)(Object(c.__)("Exclude the %s status from reports","woocommerce-admin"),s.d[e])}})),b=Object(s.g)("unregisteredOrderStatuses",{}),y=[{key:"defaultStatuses",options:m.filter((function(e){return p.includes(e.value)}))},{key:"customStatuses",label:Object(c.__)("Custom Statuses","woocommerce-admin"),options:m.filter((function(e){return!p.includes(e.value)}))},{key:"unregisteredStatuses",label:Object(c.__)("Unregistered Statuses","woocommerce-admin"),options:Object.keys(b).map((function(e){return{value:e,label:e,description:Object(c.sprintf)(Object(c.__)("Exclude the %s status from reports","woocommerce-admin"),e)}}))}],g=Object(o.applyFilters)("woocommerce_admin_analytics_settings",{woocommerce_excluded_report_order_statuses:{label:Object(c.__)("Excluded Statuses:","woocommerce-admin"),inputType:"checkboxGroup",options:y,helpText:a()({mixedString:Object(c.__)("Orders with these statuses are excluded from the totals in your reports. The {{strong}}Refunded{{/strong}} status can not be excluded.","woocommerce-admin"),components:{strong:Object(r.createElement)("strong",null)}}),defaultValue:["pending","cancelled","failed"]},woocommerce_actionable_order_statuses:{label:Object(c.__)("Actionable Statuses:","woocommerce-admin"),inputType:"checkboxGroup",options:y,helpText:Object(c.__)("Orders with these statuses require action on behalf of the store admin.These orders will show up in the Orders tab under the activity panel.","woocommerce-admin"),defaultValue:v},woocommerce_default_date_range:{name:"woocommerce_default_date_range",label:Object(c.__)("Default Date Range:","woocommerce-admin"),inputType:"component",component:d,helpText:Object(c.__)("Select a default date range. When no range is selected, reports will be viewed by the default date range.","woocommerce-admin"),defaultValue:"period=month&compare=previous_year"}})},417:function(e,t,n){"use strict";var r=n(3),c=n(49),o=n(0),i=n(33),a=Object(i.g)("manageStock","no"),s=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(20)]).then(n.bind(null,707))})),u=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(7),n.e(19)]).then(n.bind(null,706))})),l=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(18)]).then(n.bind(null,710))})),f=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(7),n.e(14)]).then(n.bind(null,704))})),h=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(15)]).then(n.bind(null,709))})),d=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(22)]).then(n.bind(null,705))})),v=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(0),n.e(17)]).then(n.bind(null,708))})),p=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(0),n.e(21)]).then(n.bind(null,702))})),m=Object(o.lazy)((function(){return Promise.all([n.e(1),n.e(0),n.e(16)]).then(n.bind(null,703))}));t.a=function(){var e=[{report:"revenue",title:Object(r.__)("Revenue","woocommerce-admin"),component:s},{report:"products",title:Object(r.__)("Products","woocommerce-admin"),component:u},{report:"orders",title:Object(r.__)("Orders","woocommerce-admin"),component:l},{report:"categories",title:Object(r.__)("Categories","woocommerce-admin"),component:f},{report:"coupons",title:Object(r.__)("Coupons","woocommerce-admin"),component:h},{report:"taxes",title:Object(r.__)("Taxes","woocommerce-admin"),component:d},{report:"downloads",title:Object(r.__)("Downloads","woocommerce-admin"),component:v},"yes"===a?{report:"stock",title:Object(r.__)("Stock","woocommerce-admin"),component:p}:null,{report:"customers",title:Object(r.__)("Customers","woocommerce-admin"),component:m},{report:"downloads",title:Object(r.__)("Downloads","woocommerce-admin"),component:v}].filter(Boolean);return Object(c.applyFilters)("woocommerce_admin_reports_list",e)}},418:function(e,t,n){"use strict";var r=n(9),c=n(19),o=n(0);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function(e){var t=e.icon,n=e.size,a=void 0===n?24:n,s=Object(c.a)(e,["icon","size"]);return Object(o.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:a,height:a},s))}},42:function(e,t){!function(){e.exports=this.wp.apiFetch}()},43:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},44:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return f}));var r=n(9),c=n(19),o=n(4),i=n.n(o),a=n(0);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u=function(e){return Object(a.createElement)("circle",e)},l=function(e){return Object(a.createElement)("path",e)},f=function(e){var t=e.className,n=e.isPressed,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(c.a)(e,["className","isPressed"]),{className:i()(t,{"is-pressed":n})||void 0,role:"img","aria-hidden":!0,focusable:!1});return Object(a.createElement)("svg",o)}},47:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},49:function(e,t){!function(){e.exports=this.wp.hooks}()},5:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},500:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=n(526),i=n(11),a=n(88);e.exports=function(e){var t=e.displayName||e.name,n=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleClickOutside=t.handleClickOutside.bind(t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),c(n,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside,!0)}},{key:"handleClickOutside",value:function(e){var t=this.__domNode;t&&t.contains(e.target)||!this.__wrappedInstance||"function"!=typeof this.__wrappedInstance.handleClickOutside||this.__wrappedInstance.handleClickOutside(e)}},{key:"render",value:function(){var t=this,n=this.props,c=n.wrappedRef,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["wrappedRef"]);return i.createElement(e,r({},o,{ref:function(e){t.__wrappedInstance=e,t.__domNode=a.findDOMNode(e),c&&c(e)}}))}}]),n}(i.Component);return n.displayName="clickOutside("+t+")",o(n,e)}},501:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,c=e.onClick,o=(e.icon,e.className),a=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-pages",o,!1,!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:s,height:n,width:n,onClick:c},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"})))};var c,o=n(11),i=(c=o)&&c.__esModule?c:{default:c};e.exports=t.default},502:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,c=e.onClick,o=(e.icon,e.className),a=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-cross-small",o,!1,!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:s,height:n,width:n,onClick:c},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})))};var c,o=n(11),i=(c=o)&&c.__esModule?c:{default:c};e.exports=t.default},503:function(e,t,n){"use strict";(function(e){var r=n(0),c=n(2),o=n(4),i=n.n(o),a=n(171),s=n(3),u=(n(102),n(72));t.a=Object(r.forwardRef)((function(t,n){var o=t.className,l=t.children,f=t.spokenMessage,h=void 0===f?l:f,d=t.politeness,v=void 0===d?"polite":d,p=t.actions,m=void 0===p?[]:p,b=t.onRemove,y=void 0===b?c.noop:b;!function(e,t){var n="string"==typeof e?e:Object(r.renderToString)(e);Object(r.useEffect)((function(){n&&Object(a.a)(n,t)}),[n,t])}(h,v),Object(r.useEffect)((function(){var e=setTimeout((function(){y()}),1e4);return function(){return clearTimeout(e)}}),[]);var g=i()(o,"components-snackbar");return m&&m.length>1&&(void 0!==e&&e.env,m=[m[0]]),Object(r.createElement)("div",{ref:n,className:g,onClick:y,tabIndex:"0",role:"button",onKeyPress:y,"aria-label":Object(s.__)("Dismiss this notice")},Object(r.createElement)("div",{className:"components-snackbar__content"},l,m.map((function(e,t){var n=e.label,c=e.onClick,o=e.url;return Object(r.createElement)(u.a,{key:t,href:o,isTertiary:!0,onClick:function(e){e.stopPropagation(),c&&c(e)},className:"components-snackbar__action"},n)}))))}))}).call(this,n(34))},504:function(e,t,n){"use strict";(function(t){var n="__global_unique_id__";e.exports=function(){return t[n]=(t[n]||0)+1}}).call(this,n(47))},509:function(e,t,n){"use strict";var r=n(8),c=n(19),o=n(0),i=n(2),a=n(39),s=n(20),u=n(21),l=n(18),f=n(23),h=n(7),d=n(22),v=n(51);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var m=function(e){Object(d.a)(a,e);var t,n=(t=a,function(){var e,n=Object(h.a)(t);if(p()){var r=Object(h.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(f.a)(this,e)});function a(){var e;return Object(s.a)(this,a),(e=n.apply(this,arguments)).onKeyDown=e.onKeyDown.bind(Object(l.a)(e)),e.bindContainer=e.bindContainer.bind(Object(l.a)(e)),e.getFocusableContext=e.getFocusableContext.bind(Object(l.a)(e)),e.getFocusableIndex=e.getFocusableIndex.bind(Object(l.a)(e)),e}return Object(u.a)(a,[{key:"componentDidMount",value:function(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}},{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(i.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?v.a.tabbable:v.a.focusable).find(this.container),n=this.getFocusableIndex(t,e);return n>-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,r=n.cycle,c=void 0===r||r,o=n.eventToOffset,a=n.onNavigate,s=void 0===a?i.noop:a,u=n.stopNavigationEvents,l=o(e);if(void 0!==l&&u&&(e.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault()),l){var f=t(document.activeElement);if(f){var h=f.index,d=f.focusables,v=c?function(e,t,n){var r=e+n;return r<0?t+r:r>=t?r-t:r}(h,d.length,l):h+l;v>=0&&v<d.length&&(d[v].focus(),s(v,d[v]))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(c.a)(e,["children"]);return Object(o.createElement)("div",Object(r.a)({ref:this.bindContainer},Object(i.omit)(n,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),t)}}]),a}(o.Component),b=function(e,t){return Object(o.createElement)(m,Object(r.a)({},e,{forwardedRef:t}))};b.displayName="NavigableContainer";var y=Object(o.forwardRef)(b);t.a=Object(o.forwardRef)((function(e,t){var n=e.role,s=void 0===n?"menu":n,u=e.orientation,l=void 0===u?"vertical":u,f=Object(c.a)(e,["role","orientation"]);return Object(o.createElement)(y,Object(r.a)({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:s,"aria-orientation":"presentation"===s?null:l,eventToOffset:function(e){var t=e.keyCode,n=[a.a],r=[a.f];return"horizontal"===l&&(n=[a.d],r=[a.c]),"both"===l&&(n=[a.d,a.a],r=[a.c,a.f]),Object(i.includes)(n,t)?1:Object(i.includes)(r,t)?-1:void 0}},f))}))},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var r={};n.r(r),n.d(r,"find",(function(){return a}));var c={};n.r(c),n.d(c,"isTabbableIndex",(function(){return l})),n.d(c,"find",(function(){return p})),n.d(c,"findPrevious",(function(){return m})),n.d(c,"findNext",(function(){return b}));var o=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function i(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function a(e){var t=e.querySelectorAll(o);return Array.from(t).filter((function(e){return!(!i(e)||function(e){return"iframe"===e.nodeName.toLowerCase()&&"-1"===e.getAttribute("tabindex")}(e))&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&i(n)}(e))}))}var s=n(2);function u(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function l(e){return-1!==u(e)}function f(e,t){return{element:e,index:t}}function h(e){return e.element}function d(e,t){var n=u(e.element),r=u(t.element);return n===r?e.index-t.index:n-r}function v(e){return e.filter(l).map(f).sort(d).map(h).reduce((t={},function(e,n){var r=n.nodeName,c=n.type,o=n.checked,i=n.name;if("INPUT"!==r||"radio"!==c||!i)return e.concat(n);var a=t.hasOwnProperty(i);if(!o&&a)return e;if(a){var u=t[i];e=Object(s.without)(e,u)}return t[i]=n,e.concat(n)}),[]);var t}function p(e){return v(a(e))}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=a(document.body),n=t.indexOf(e);return t.length=n,Object(s.last)(v(t))}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=a(document.body),n=t.indexOf(e),r=t.slice(n+1).filter((function(t){return!e.contains(t)}));return Object(s.first)(v(r))}var y={focusable:r,tabbable:c}},521:function(e,t,n){"use strict";n.r(t),function(e){var t=n(0),r=(n(684),n(41)),c=(n(523),n(273));n.p=e.wcAdminAssets.path;var o=document.getElementById("root"),i=window.wcSettings.currentUserData;if(o){var a=Object(r.withSettingsHydration)("wc_admin",window.wcSettings)(c.b);window.wcSettings.preloadSettings&&window.wcSettings.preloadSettings.general&&(a=Object(r.withSettingsHydration)("general",{general:window.wcSettings.preloadSettings.general})(a)),i&&(a=Object(r.withCurrentUserHydration)(i)(a)),Object(t.render)(Object(t.createElement)(a,null),o)}else{var s=document.getElementById("woocommerce-embedded-root"),u=Object(r.withSettingsHydration)("wc_admin",window.wcSettings)(c.a);i&&(u=Object(r.withCurrentUserHydration)(i)(u)),Object(t.render)(Object(t.createElement)(u,null),s),s.classList.remove("is-embed-loading");var l=document.getElementById("wpbody-content"),f=l.querySelector(".wrap.woocommerce")||l.querySelector('[class="wrap"]'),h=document.createElement("div");Object(t.render)(Object(t.createElement)("div",{className:"woocommerce-layout"},Object(t.createElement)(c.c,null)),l.insertBefore(h,f))}}.call(this,n(47))},523:function(e,t,n){},524:function(e,t,n){},525:function(e,t,n){},526:function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o=Object.defineProperty,i=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,l=u&&u(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(l){var h=u(n);h&&h!==l&&e(t,h,f)}var d=i(n);a&&(d=d.concat(a(n)));for(var v=0;v<d.length;++v){var p=d[v];if(!(r[p]||c[p]||f&&f[p])){var m=s(n,p);try{o(t,p,m)}catch(e){}}}return t}return t}},527:function(e,t,n){},528:function(e,t,n){},529:function(e,t,n){},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(9),c=n(2);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var a={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},small:{},q:{attributes:["cite"]},dfn:{attributes:["title"]},data:{attributes:["value"]},time:{attributes:["datetime"]},var:{},samp:{},kbd:{},i:{},b:{},u:{},mark:{},ruby:{},rt:{},rp:{},bdi:{attributes:["dir"]},bdo:{attributes:["dir"]},wbr:{},"#text":{}};Object(c.without)(Object.keys(a),"#text","br").forEach((function(e){a[e].children=Object(c.omit)(a,e)}));var s=i({},a,{},{audio:{attributes:["src","preload","autoplay","mediagroup","loop","muted"]},canvas:{attributes:["width","height"]},embed:{attributes:["src","type","width","height"]},img:{attributes:["alt","src","srcset","usemap","ismap","width","height"]},object:{attributes:["data","type","name","usemap","form","width","height"]},video:{attributes:["src","poster","preload","autoplay","mediagroup","loop","muted","controls","width","height"]}});function u(e){var t,n=e.nodeName.toLowerCase();return("paste"!==t?s:Object(c.omit)(i({},s,{ins:{children:s.ins.children},del:{children:s.del.children}}),["u","abbr","data","time","wbr","bdi","bdo"])).hasOwnProperty(n)||"span"===n}},530:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},54:function(e,t,n){"use strict";(function(e){var r=n(0),c=(n(102),Object(r.createContext)({slots:{},fills:{},registerSlot:function(){void 0!==e&&e.env},updateSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){}}));t.a=c}).call(this,n(34))},55:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},56:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(49),c=Object.create(null);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,o=t.alternative,i=t.plugin,a=t.link,s=t.hint,u=i?" from ".concat(i):"",l=n?" and will be removed".concat(u," in version ").concat(n):"",f=o?" Please use ".concat(o," instead."):"",h=a?" See: ".concat(a):"",d=s?" Note: ".concat(s):"",v="".concat(e," is deprecated").concat(l,".").concat(f).concat(h).concat(d);v in c||(Object(r.doAction)("deprecated",e,t,v),console.warn(v),c[v]=!0)}},57:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,c={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}n.d(t,"a",(function(){return r}))},6:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},60:function(e,t,n){var r=n(257);e.exports=function(e,t){if(null==e)return{};var n,c,o=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(c=0;c<i.length;c++)n=i[c],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},61:function(e,t){!function(){e.exports=this.wc.tracks}()},62:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},65:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},67:function(e,t,n){"use strict";var r=n(144),c=n(145),o=n(105);e.exports={formats:o,parse:c,stringify:r}},68:function(e,t){!function(){e.exports=this.wc.components}()},684:function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"createNotice",(function(){return p})),n.d(r,"createSuccessNotice",(function(){return m})),n.d(r,"createInfoNotice",(function(){return b})),n.d(r,"createErrorNotice",(function(){return y})),n.d(r,"createWarningNotice",(function(){return g})),n.d(r,"removeNotice",(function(){return O}));var c={};n.r(c),n.d(c,"getNotices",(function(){return w}));var o=n(24),i=n(28),a=n(2),s=n(9);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,c=r[e];if(void 0===c)return n;var o=t(n[c],r);return o===n[c]?n:l({},n,Object(s.a)({},c,o))}}}("context")((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CREATE_NOTICE":return[].concat(Object(i.a)(Object(a.reject)(e,{id:t.notice.id})),[t.notice]);case"REMOVE_NOTICE":return Object(a.reject)(e,{id:t.id})}return e})),h=n(12),d=n.n(h),v=d.a.mark(p);function p(){var e,t,n,r,c,o,i,s,u,l,f,h,p,m,b,y,g=arguments;return d.a.wrap((function(d){for(;;)switch(d.prev=d.next){case 0:if(e=g.length>0&&void 0!==g[0]?g[0]:"info",t=g.length>1?g[1]:void 0,n=g.length>2&&void 0!==g[2]?g[2]:{},r=n.speak,c=void 0===r||r,o=n.isDismissible,i=void 0===o||o,s=n.context,u=void 0===s?"global":s,l=n.id,f=void 0===l?Object(a.uniqueId)(u):l,h=n.actions,p=void 0===h?[]:h,m=n.type,b=void 0===m?"default":m,y=n.__unstableHTML,t=String(t),!c){d.next=8;break}return d.next=8,{type:"SPEAK",message:t,ariaLive:"snackbar"===b?"polite":"assertive"};case 8:return d.next=10,{type:"CREATE_NOTICE",context:u,notice:{id:f,status:e,content:t,__unstableHTML:y,isDismissible:i,actions:p,type:b}};case 10:case"end":return d.stop()}}),v)}function m(e,t){return p("success",e,t)}function b(e,t){return p("info",e,t)}function y(e,t){return p("error",e,t)}function g(e,t){return p("warning",e,t)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return{type:"REMOVE_NOTICE",id:e,context:t}}var z=[];function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return e[t]||z}var j=n(171),k={SPEAK:function(e){Object(j.a)(e.message,e.ariaLive||"assertive")}};Object(o.registerStore)("core/notices",{reducer:f,actions:r,selectors:c,controls:k})},7:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},70:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(62);function c(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},700:function(e,t){!function(){e.exports=this.wc.csvExport}()},716:function(e,t,n){"use strict";var r=n(0),c=n(44),o=Object(r.createElement)(c.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.b,{fillRule:"evenodd",d:"M17.375 15.656A6.47 6.47 0 0018.5 12a6.47 6.47 0 00-.943-3.374l-1.262.813c.448.749.705 1.625.705 2.561a4.977 4.977 0 01-.887 2.844l1.262.813zm-1.951 1.87l-.813-1.261A4.976 4.976 0 0112 17c-.958 0-1.852-.27-2.613-.736l-.812 1.261A6.47 6.47 0 0012 18.5a6.47 6.47 0 003.424-.974zm-8.8-1.87A6.47 6.47 0 015.5 12c0-1.235.344-2.39.943-3.373l1.261.812A4.977 4.977 0 007 12c0 1.056.328 2.036.887 2.843l-1.262.813zm2.581-7.803A4.977 4.977 0 0112 7c1.035 0 1.996.314 2.794.853l.812-1.262A6.47 6.47 0 0012 5.5a6.47 6.47 0 00-3.607 1.092l.812 1.261zM12 20a8 8 0 100-16 8 8 0 000 16zm0-4.5a3.5 3.5 0 100-7 3.5 3.5 0 000 7z",clipRule:"evenodd"}));t.a=o},717:function(e,t,n){"use strict";(function(e){var r=n(101),c="undefined"!=typeof window&&window.navigator.userAgent.indexOf("Trident")>=0,o=e.env.FORCE_REDUCED_MOTION||c?function(){return!0}:function(){return Object(r.a)("(prefers-reduced-motion: reduce)")};t.a=o}).call(this,n(34))},72:function(e,t,n){"use strict";var r=n(8),c=n(19),o=n(0),i=n(4),a=n.n(i),s=n(2),u=n(56),l=n(116),f=n(115);function h(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}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,c,o=!0,i=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){i=!0,c=e},f:function(){try{o||null==r.return||r.return()}finally{if(i)throw c}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=["onMouseDown","onClick"];t.a=Object(o.forwardRef)((function(e,t){var n=e.href,i=e.target,d=e.isPrimary,p=e.isSmall,m=e.isTertiary,b=e.isPressed,y=e.isBusy,g=e.isDefault,O=e.isSecondary,z=e.isLink,w=e.isDestructive,j=e.className,k=e.disabled,M=e.icon,H=e.iconSize,V=e.showTooltip,E=e.tooltipPosition,C=e.shortcut,x=e.label,S=e.children,_=e.__experimentalIsFocusable,L=Object(c.a)(e,["href","target","isPrimary","isSmall","isTertiary","isPressed","isBusy","isDefault","isSecondary","isLink","isDestructive","className","disabled","icon","iconSize","showTooltip","tooltipPosition","shortcut","label","children","__experimentalIsFocusable"]);g&&Object(u.a)("Button isDefault prop",{alternative:"isSecondary"});var P=a()("components-button",j,{"is-secondary":g||O,"is-primary":d,"is-small":p,"is-tertiary":m,"is-pressed":b,"is-busy":y,"is-link":z,"is-destructive":w,"has-text":!!M&&!!S,"has-icon":!!M}),R=k&&!_,T=void 0===n||R?"button":"a",A="a"===T?{href:n,target:i}:{type:"button",disabled:R,"aria-pressed":b};if(k&&_){A["aria-disabled"]=!0;var N,D=h(v);try{for(D.s();!(N=D.n()).done;){L[N.value]=function(e){e.stopPropagation(),e.preventDefault()}}}catch(e){D.e(e)}finally{D.f()}}var F=!R&&(V&&x||C||!!x&&(!S||Object(s.isArray)(S)&&!S.length)&&!1!==V),I=Object(o.createElement)(T,Object(r.a)({},A,L,{className:P,"aria-label":L["aria-label"]||x,ref:t}),M&&Object(o.createElement)(f.a,{icon:M,size:H}),S);return F?Object(o.createElement)(l.a,{text:x,shortcut:C,position:E},I):I}))},73:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},74:function(e,t,n){"use strict";var r=n(2);t.a=function(e,t){return function(n){var c=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return c.displayName="".concat(Object(r.upperFirst)(Object(r.camelCase)(t)),"(").concat(i,")"),c}}},77:function(e,t,n){"use strict";function r(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.d(t,"a",(function(){return r}))},78:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},8:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},80:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,c=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),i=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:i,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],l=i[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:i,prop:u}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(c(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n){if(0===e.length)return e;var r=e;if("symbol"==typeof e?r=Symbol.prototype.toString.call(e):"string"!=typeof e&&(r=String(e)),"iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var c="",i=0;i<r.length;++i){var a=r.charCodeAt(i);45===a||46===a||95===a||126===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?c+=r.charAt(i):a<128?c+=o[a]:a<2048?c+=o[192|a>>6]+o[128|63&a]:a<55296||a>=57344?c+=o[224|a>>12]+o[128|a>>6&63]+o[128|63&a]:(i+=1,a=65536+((1023&a)<<10|1023&r.charCodeAt(i)),c+=o[240|a>>18]+o[128|a>>12&63]+o[128|a>>6&63]+o[128|63&a])}return c},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(c(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,o){if(!n)return t;if("object"!=typeof n){if(c(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(o&&(o.plainObjects||o.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return c(t)&&!c(n)&&(a=i(t,o)),c(t)&&c(n)?(n.forEach((function(n,c){if(r.call(t,c)){var i=t[c];i&&"object"==typeof i&&n&&"object"==typeof n?t[c]=e(i,n,o):t.push(n)}else t[c]=n})),t):Object.keys(n).reduce((function(t,c){var i=n[c];return r.call(t,c)?t[c]=e(t[c],i,o):t[c]=i,t}),a)}}},81:function(e,t,n){var r=n(78);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},83:function(e,t,n){"use strict";var r=n(146),c=n(147),o=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(o(e)&&o(t))return c(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=c},85:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(8),c=n(19),o=n(20),i=n(21),a=n(23),s=n(7),u=n(22),l=n(0),f=n(44);function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var d=function(e){Object(u.a)(d,e);var t,n=(t=d,function(){var e,n=Object(s.a)(t);if(h()){var r=Object(s.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(a.a)(this,e)});function d(){return Object(o.a)(this,d),n.apply(this,arguments)}return Object(i.a)(d,[{key:"render",value:function(){var e,t=this.props,n=t.icon,o=t.size,i=void 0===o?20:o,a=t.className,s=Object(c.a)(t,["icon","size","className"]);switch(n){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var u=["dashicon","dashicons-"+n,a].filter(Boolean).join(" ");return Object(l.createElement)(f.c,Object(r.a)({"aria-hidden":!0,role:"img",focusable:"false",className:u,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 20 20"},s),Object(l.createElement)(f.b,{d:e}))}}]),d}(l.Component)},88:function(e,t){!function(){e.exports=this.ReactDOM}()},89:function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},9:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},96:function(e,t,n){"use strict";var r=n(8),c=n(27),o=n(19),i=n(0),a=n(4),s=n.n(a),u=n(106),l=n(51),f=n(39),h=n(56),d=n(280),v=n(117),p=n.n(v).a,m=n(281),b=n(9);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){Object(b.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function O(e,t,n,r,c,o,i){var a=t.width,s="rtl"===document.documentElement.dir;"left"===n&&s?n="right":"right"===n&&s&&(n="left"),"left"===r&&s?r="right":"right"===r&&s&&(r="left");var u=Math.round(e.left+e.width/2),l={popoverLeft:u,contentWidth:(u-a/2>0?a/2:u)+(u+a/2>window.innerWidth?window.innerWidth-u:a/2)},f=e.left;"right"===r?f=e.right:"middle"!==o&&(f=u);var h=e.right;"left"===r?h=e.left:"middle"!==o&&(h=u);var d,v={popoverLeft:f,contentWidth:f-a>0?a:f},p={popoverLeft:h,contentWidth:h+a>window.innerWidth?window.innerWidth-h:a},m=n,b=null;if(!c)if("center"===n&&l.contentWidth===a)m="center";else if("left"===n&&v.contentWidth===a)m="left";else if("right"===n&&p.contentWidth===a)m="right";else{var y="left"===(m=v.contentWidth>p.contentWidth?"left":"right")?v.contentWidth:p.contentWidth;b=y!==a?y:null}if(d="center"===m?l.popoverLeft:"left"===m?v.popoverLeft:p.popoverLeft,i){var g=i.getBoundingClientRect();d=Math.min(d,g.right-a)}return{xAxis:m,popoverLeft:d,contentWidth:b}}function z(e,t,n,r,c,o,i){var a=t.height;if(c){var s=(Object(u.b)(o)||document.body).getBoundingClientRect().top+a-i;if(e.top<=s)return{yAxis:n,popoverTop:Math.min(e.bottom,s)}}var l=e.top+e.height/2;"bottom"===r?l=e.bottom:"top"===r&&(l=e.top);var f={popoverTop:l,contentHeight:(l-a/2>0?a/2:l)+(l+a/2>window.innerHeight?window.innerHeight-l:a/2)},h={popoverTop:e.top,contentHeight:e.top-10-a>0?a:e.top-10},d={popoverTop:e.bottom,contentHeight:e.bottom+10+a>window.innerHeight?window.innerHeight-10-e.bottom:a},v=n,p=null;if(!c)if("middle"===n&&f.contentHeight===a)v="middle";else if("top"===n&&h.contentHeight===a)v="top";else if("bottom"===n&&d.contentHeight===a)v="bottom";else{var m="top"===(v=h.contentHeight>d.contentHeight?"top":"bottom")?h.contentHeight:d.contentHeight;p=m!==a?m:null}return{yAxis:v,popoverTop:"middle"===v?f.popoverTop:"top"===v?h.popoverTop:d.popoverTop,contentHeight:p}}var w=n(100),j=n(97),k=n(20),M=n(21),H=n(23),V=n(7),E=n(22),C=n(98);function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var S=function(e){Object(E.a)(r,e);var t,n=(t=r,function(){var e,n=Object(V.a)(t);if(x()){var r=Object(V.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(H.a)(this,e)});function r(){return Object(k.a)(this,r),n.apply(this,arguments)}return Object(M.a)(r,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),r}(i.Component),_=Object(C.a)(S),L=n(72);function P(e){return function(){var t,n=Object(V.a)(e);if(R()){var r=Object(V.a)(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Object(H.a)(this,t)}}function R(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,c=void 0===r?"lockscroll":r,o=0,a=0;function s(e){var t=n.scrollingElement||n.body;e&&(a=t.scrollTop);var r=e?"add":"remove";t.classList[r](c),n.documentElement.classList[r](c),e||(t.scrollTop=a)}function u(){0===o&&s(!0),++o}function l(){1===o&&s(!1),--o}return function(e){Object(E.a)(n,e);var t=P(n);function n(){return Object(k.a)(this,n),t.apply(this,arguments)}return Object(M.a)(n,[{key:"componentDidMount",value:function(){u()}},{key:"componentWillUnmount",value:function(){l()}},{key:"render",value:function(){return null}}]),n}(i.Component)}(),A=n(99),N=n(54);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){var t=Object(i.useContext)(N.a),n=t.slots[e]||{},r=t.fills[e],c=Object(i.useMemo)((function(){return r||[]}),[r]);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){Object(b.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{updateSlot:Object(i.useCallback)((function(n){t.updateSlot(e,n)}),[e,t.updateSlot]),unregisterSlot:Object(i.useCallback)((function(n){t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),fills:c,registerFill:Object(i.useCallback)((function(n){t.registerFill(e,n)}),[e,t.registerFill]),unregisterFill:Object(i.useCallback)((function(n){t.unregisterFill(e,n)}),[e,t.unregisterFill])})}var I=n(18);function B(e,t,n){return(B="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Object(V.a)(e)););return e}(e,t);if(r){var c=Object.getOwnPropertyDescriptor(r,t);return c.get?c.get.call(n):c.value}})(e,t,n||e)}var U=n(2),q=n(28),W=n(55),$=n(83),K=n.n($);function G(e){var t=function(e,t){if("object"!==Object(W.a)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Object(W.a)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Object(W.a)(t)?t:String(t)}function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){Object(b.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function J(e){var t,n,r,a,s,u,l,f,h,d,v,p,m,y=e.children,g=(t=Object(i.useState)({}),n=Object(c.a)(t,2),r=n[0],a=n[1],s=Object(i.useState)({}),u=Object(c.a)(s,2),l=u[0],f=u[1],h=Object(i.useCallback)((function(e,t,n){a((function(r){var c=r[e]||{};return Q({},r,Object(b.a)({},e,Q({},c,{ref:t||c.ref,fillProps:n||c.fillProps||{}})))}))}),[]),d=Object(i.useCallback)((function(e,t){a((function(n){var r=n[e],c=Object(o.a)(n,[e].map(G));return(null==r?void 0:r.ref)===t?c:n}))}),[]),v=Object(i.useCallback)((function(e,t){var n=r[e];if(n&&!K()(n.fillProps,t)){n.fillProps=t;var c=l[e];c&&c.map((function(e){return e.current.rerender()}))}}),[r,l]),p=Object(i.useCallback)((function(e,t){f((function(n){return Q({},n,Object(b.a)({},e,[].concat(Object(q.a)(n[e]||[]),[t])))}))}),[]),m=Object(i.useCallback)((function(e,t){f((function(n){return n[e]?Q({},n,Object(b.a)({},e,n[e].filter((function(e){return e!==t})))):n}))}),[]),Object(i.useMemo)((function(){return{slots:r,fills:l,registerSlot:h,updateSlot:v,unregisterSlot:d,registerFill:p,unregisterFill:m}}),[r,l,h,v,d,p,m]));return Object(i.createElement)(N.a.Provider,{value:g},y)}function Y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var X=Object(i.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),ee=X.Provider,te=X.Consumer;i.Component;function ne(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var re=function(e){Object(E.a)(r,e);var t,n=(t=r,function(){var e,n=Object(V.a)(t);if(ne()){var r=Object(V.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(H.a)(this,e)});function r(){var e;return Object(k.a)(this,r),(e=n.apply(this,arguments)).isUnmounted=!1,e.bindNode=e.bindNode.bind(Object(I.a)(e)),e}return Object(M.a)(r,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){var e=this.props.unregisterSlot;this.isUnmounted=!0,e(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,r=t.unregisterSlot,c=t.registerSlot;e.name!==n&&(r(e.name),c(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"forceUpdate",value:function(){this.isUnmounted||B(Object(V.a)(r.prototype),"forceUpdate",this).call(this)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,r=e.fillProps,c=void 0===r?{}:r,o=e.getFills,a=Object(U.map)(o(n,this),(function(e){var t=e.occurrence,n=Object(U.isFunction)(e.children)?e.children(c):e.children;return i.Children.map(n,(function(e,n){if(!e||Object(U.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return Object(i.cloneElement)(e,{key:r})}))})).filter(Object(U.negate)(i.isEmptyElement));return Object(i.createElement)(i.Fragment,null,Object(U.isFunction)(t)?t(a):a)}}]),r}(i.Component),ce=function(e){return Object(i.createElement)(te,null,(function(t){var n=t.registerSlot,c=t.unregisterSlot,o=t.getFills;return Object(i.createElement)(re,Object(r.a)({},e,{registerSlot:n,unregisterSlot:c,getFills:o}))}))},oe=0;function ie(e){var t=e.name,n=e.children,r=e.registerFill,o=e.unregisterFill,a=function(e){var t=Object(i.useContext)(X),n=t.getSlot,r=t.subscribe,o=Object(i.useState)(n(e)),a=Object(c.a)(o,2),s=a[0],u=a[1];return Object(i.useEffect)((function(){return u(n(e)),r((function(){u(n(e))}))}),[e]),s}(t),s=Object(i.useRef)({name:t,children:n});return s.current.occurrence||(s.current.occurrence=++oe),Object(i.useLayoutEffect)((function(){return r(t,s.current),function(){return o(t,s.current)}}),[]),Object(i.useLayoutEffect)((function(){s.current.children=n,a&&a.forceUpdate()}),[n]),Object(i.useLayoutEffect)((function(){t!==s.current.name&&(o(s.current.name,s.current),s.current.name=t,r(t,s.current))}),[t]),a&&a.node?(Object(U.isFunction)(n)&&(n=n(a.props.fillProps)),Object(i.createPortal)(n,a.node)):null}var ae=function(e){return Object(i.createElement)(te,null,(function(t){var n=t.registerFill,c=t.unregisterFill;return Object(i.createElement)(ie,Object(r.a)({},e,{registerFill:n,unregisterFill:c}))}))};function se(e){var t=e.name,n=e.fillProps,c=void 0===n?{}:n,a=e.as,s=void 0===a?"div":a,u=Object(o.a)(e,["name","fillProps","as"]),l=Object(i.useContext)(N.a),f=Object(i.useRef)();return Object(i.useLayoutEffect)((function(){return l.registerSlot(t,f,c),function(){l.unregisterSlot(t,f)}}),[l.registerSlot,l.unregisterSlot,t]),Object(i.useLayoutEffect)((function(){l.updateSlot(t,c)})),Object(i.createElement)(s,Object(r.a)({ref:f},u))}function ue(e){var t,n,r=e.name,o=e.children,a=F(r),s=Object(i.useRef)({rerender:(t=Object(i.useState)({}),n=Object(c.a)(t,2)[1],function(){return n({})})});return Object(i.useEffect)((function(){return a.registerFill(s),function(){a.unregisterFill(s)}}),[a.registerFill,a.unregisterFill]),a.ref&&a.ref.current?("function"==typeof o&&(o=o(a.fillProps)),Object(i.createPortal)(o,a.ref.current)):null}function le(e){var t=e.bubblesVirtually,n=Object(o.a)(e,["bubblesVirtually"]);return t?Object(i.createElement)(se,n):Object(i.createElement)(ce,n)}function fe(e){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(ae,e),Object(i.createElement)(ue,e))}var he=function(e){var t=e.type,n=e.options,r=void 0===n?{}:n,o=e.children;if("appear"===t){var i,a=r.origin,u=(void 0===a?"top":a).split(" "),l=Object(c.a)(u,2),f=l[0],h=l[1],d=void 0===h?"center":h;return o({className:s()("components-animate__appear",(i={},Object(b.a)(i,"is-from-"+d,"center"!==d),Object(b.a)(i,"is-from-"+f,"middle"!==f),i))})}if("slide-in"===t){var v=r.origin,p=void 0===v?"left":v;return o({className:s()("components-animate__slide-in","is-from-"+p)})}return o("loading"===t?{className:s()("components-animate__loading")}:{})},de=Object(j.a)(Object(w.a)((function(e){return e.children})));function ve(e,t){var n=window.getComputedStyle(t),r=n.paddingTop,c=n.paddingBottom,o=n.paddingLeft,i=n.paddingRight,a=r?parseInt(r,10):0,s=c?parseInt(c,10):0,u=o?parseInt(o,10):0,l=i?parseInt(i,10):0;return{x:e.left+u,y:e.top+a,width:e.width-u-l,height:e.height-a-s,left:e.left+u,right:e.right-l,top:e.top+a,bottom:e.bottom-s}}function pe(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function me(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function be(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var ye=function(e){var t=e.headerTitle,n=e.onClose,a=e.onKeyDown,v=e.children,b=e.className,y=e.noArrow,w=void 0===y||y,j=e.isAlternate,k=e.position,M=void 0===k?"bottom right":k,H=(e.range,e.focusOnMount),V=void 0===H?"firstElement":H,E=e.anchorRef,C=e.shouldAnchorIncludePadding,x=e.anchorRect,S=e.getAnchorRect,P=e.expandOnMobile,R=e.animate,N=void 0===R||R,D=e.onClickOutside,I=e.onFocusOutside,B=e.__unstableSticky,U=e.__unstableSlotName,q=void 0===U?"Popover":U,W=e.__unstableObserveElement,$=e.__unstableBoundaryParent,K=Object(o.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","isAlternate","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableSticky","__unstableSlotName","__unstableObserveElement","__unstableBoundaryParent"]),G=Object(i.useRef)(null),Z=Object(i.useRef)(null),Q=Object(i.useRef)(),J=Object(d.a)("medium","<"),Y=Object(i.useState)(),X=Object(c.a)(Y,2),ee=X[0],te=X[1],ne=F(q),re=P&&J,ce=p(),oe=Object(c.a)(ce,2),ie=oe[0],ae=oe[1];w=re||w,Object(i.useLayoutEffect)((function(){if(re)return be(Q.current,"is-without-arrow",w),be(Q.current,"is-alternate",j),pe(Q.current,"data-x-axis"),pe(Q.current,"data-y-axis"),me(Q.current,"top"),me(Q.current,"left"),me(Z.current,"maxHeight"),void me(Z.current,"maxWidth");var e=function(){if(Q.current&&Z.current){var e=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=arguments.length>4?arguments[4]:void 0;if(t)return t;if(n){if(!e.current)return;return n(e.current)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if(r instanceof window.Range)return Object(u.a)(r);if(r instanceof window.Element){var o=r.getBoundingClientRect();return c?o:ve(o,r)}var i=r.top,a=r.bottom,s=i.getBoundingClientRect(),l=a.getBoundingClientRect(),f=new window.DOMRect(s.left,s.top,s.width,l.bottom-s.top);return c?f:ve(f,r)}if(e.current){var h=e.current.parentNode,d=h.getBoundingClientRect();return c?d:ve(d,h)}}(G,x,S,E,C);if(e){var t,n,r=Q.current,o=r.offsetParent,i=r.ownerDocument,a=0;if(o&&o!==i.body){var s=o.getBoundingClientRect();a=s.top,e=new window.DOMRect(e.left-s.left,e.top-s.top,e.width,e.height)}if($)t=null===(n=Q.current.closest(".popover-slot"))||void 0===n?void 0:n.parentNode;var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,s=n.split(" "),u=Object(c.a)(s,3),l=u[0],f=u[1],h=void 0===f?"center":f,d=u[2],v=z(e,t,l,d,r,o,i),p=O(e,t,h,d,r,v.yAxis,a);return g({},p,{},v)}(e,ae.height?ae:Z.current.getBoundingClientRect(),M,B,Q.current,a,t),f=l.popoverTop,h=l.popoverLeft,d=l.xAxis,v=l.yAxis,p=l.contentHeight,m=l.contentWidth;"number"==typeof f&&"number"==typeof h&&(me(Q.current,"top",f+"px"),me(Q.current,"left",h+"px")),be(Q.current,"is-without-arrow",w||"center"===d&&"middle"===v),be(Q.current,"is-alternate",j),pe(Q.current,"data-x-axis",d),pe(Q.current,"data-y-axis",v),me(Z.current,"maxHeight","number"==typeof p?p+"px":""),me(Z.current,"maxWidth","number"==typeof m?m+"px":"");te(({left:"right",right:"left"}[d]||"center")+" "+({top:"bottom",bottom:"top"}[v]||"middle"))}}};e();var t,n,r=window.setInterval(e,500),o=function(){window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e)};return window.addEventListener("click",o),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),W&&(n=new window.MutationObserver(e)).observe(W,{attributes:!0}),function(){window.clearInterval(r),window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0),window.removeEventListener("click",o),window.cancelAnimationFrame(t),n&&n.disconnect()}}),[re,x,S,E,C,M,ae,B,W,$]),function(e,t){Object(i.useEffect)((function(){var n=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=l.a.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}}),0);return function(){return clearTimeout(n)}}),[])}(V,Z);var se=function(e){e.keyCode===f.b&&n&&(e.stopPropagation(),n()),a&&a(e)};var ue=Object(i.createElement)(_,{onFocusOutside:function(e){if(I)I(e);else if(D){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),Object(h.a)("Popover onClickOutside prop",{alternative:"onFocusOutside"}),D(t)}else n&&n()}},Object(i.createElement)(he,{type:N&&ee?"appear":null,options:{origin:ee}},(function(e){var c=e.className;return Object(i.createElement)(A.a,Object(r.a)({className:s()("components-popover",b,c,{"is-expanded":re,"is-without-arrow":w,"is-alternate":j})},K,{onKeyDown:se,ref:Q}),re&&Object(i.createElement)(T,null),re&&Object(i.createElement)("div",{className:"components-popover__header"},Object(i.createElement)("span",{className:"components-popover__header-title"},t),Object(i.createElement)(L.a,{className:"components-popover__close",icon:m.a,onClick:n})),Object(i.createElement)("div",{ref:Z,className:"components-popover__content",tabIndex:"-1"},Object(i.createElement)("div",{style:{position:"relative"}},ie,v)))})));return V&&(ue=Object(i.createElement)(de,null,ue)),ne.ref&&(ue=Object(i.createElement)(fe,{name:q},ue)),E||x?ue:Object(i.createElement)("span",{ref:G},ue)};ye.Slot=function(e){var t=e.name,n=void 0===t?"Popover":t;return Object(i.createElement)(le,{bubblesVirtually:!0,name:n,className:"popover-slot"})};t.a=ye},97:function(e,t,n){"use strict";var r=n(20),c=n(21),o=n(18),i=n(23),a=n(7),s=n(22),u=n(0),l=n(74),f=n(39),h=n(51);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var v=Object(l.a)((function(e){return function(t){Object(s.a)(v,t);var n,l=(n=v,function(){var e,t=Object(a.a)(n);if(d()){var r=Object(a.a)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function v(){var e;return Object(r.a)(this,v),(e=l.apply(this,arguments)).focusContainRef=Object(u.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(o.a)(e)),e}return Object(c.a)(v,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===f.e){var t=h.a.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],r=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),r.focus()):(e.shiftKey||e.target!==r)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(u.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(u.createElement)(e,this.props))}}]),v}(u.Component)}),"withConstrainedTabbing");t.a=v},98:function(e,t,n){"use strict";var r=n(8),c=n(20),o=n(21),i=n(18),a=n(23),s=n(7),u=n(22),l=n(0),f=n(2),h=n(74);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var v=["button","submit"];t.a=Object(h.a)((function(e){return function(t){Object(u.a)(p,t);var n,h=(n=p,function(){var e,t=Object(s.a)(n);if(d()){var r=Object(s.a)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Object(a.a)(this,e)});function p(){var e;return Object(c.a)(this,p),(e=h.apply(this,arguments)).bindNode=e.bindNode.bind(Object(i.a)(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(Object(i.a)(e)),e.queueBlurCheck=e.queueBlurCheck.bind(Object(i.a)(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(Object(i.a)(e)),e}return Object(o.a)(p,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){document.hasFocus()?"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,n=e.target;Object(f.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(f.includes)(v,e.type)}return!1}(n)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(l.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(l.createElement)(e,Object(r.a)({ref:this.bindNode},this.props)))}}]),p}(l.Component)}),"withFocusOutside")},99:function(e,t,n){"use strict";var r=n(8),c=n(19),o=n(0);function i(e){e.stopPropagation()}t.a=Object(o.forwardRef)((function(e,t){var n=e.children,a=Object(c.a)(e,["children"]);return Object(o.createElement)("div",Object(r.a)({},a,{ref:t,onMouseDown:i}),n)}))}});
dist/chunks/{0.c2bc01c0f1fb53b04619.js → 0.d82e0e3293a5788ce1b3.js} RENAMED
@@ -1091,7 +1091,7 @@ report_table_ReportTable.defaultProps = {
1091
  var extendedTableData = extendTableData(select, props, queriedTableData);
1092
  return {
1093
  primaryData: primaryData,
1094
- ids: itemIdField ? extendedTableData.items.data.map(function (item) {
1095
  return item[itemIdField];
1096
  }) : [],
1097
  tableData: extendedTableData,
1091
  var extendedTableData = extendTableData(select, props, queriedTableData);
1092
  return {
1093
  primaryData: primaryData,
1094
+ ids: itemIdField && extendedTableData.items.data ? extendedTableData.items.data.map(function (item) {
1095
  return item[itemIdField];
1096
  }) : [],
1097
  tableData: extendedTableData,
dist/chunks/{0.c2bc01c0f1fb53b04619.min.js → 0.d82e0e3293a5788ce1b3.min.js} RENAMED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[0],{718:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return u}));var a=r(0),n=r(49),c=r(188),o=r.n(c),i=r(33),s=o()(i.b),l=function(e){var t=s.getCurrencyConfig(),r=Object(n.applyFilters)("woocommerce_admin_report_currency",t,e);return o()(r)},u=Object(a.createContext)(s)},719:function(e,t,r){"use strict";var a=r(14),n=r.n(a),c=r(13),o=r.n(c),i=r(16),s=r.n(i),l=r(17),u=r.n(l),d=r(6),p=r.n(d),m=r(0),b=r(3),f=r(1),y=r.n(f),g=r(68),O=r(33);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=p()(e);if(t){var n=p()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return u()(this,r)}}var j=function(e){s()(r,e);var t=h(r);function r(){return n()(this,r),t.apply(this,arguments)}return o()(r,[{key:"render",value:function(){var e,t,r,a,n=this.props,c=n.className,o=n.isError,i=n.isEmpty;return o?(e=Object(b.__)("There was an error getting your stats. Please try again.","woocommerce-admin"),t=Object(b.__)("Reload","woocommerce-admin"),a=function(){window.location.reload()}):i&&(e=Object(b.__)("No results could be found for this date range.","woocommerce-admin"),t=Object(b.__)("View Orders","woocommerce-admin"),r=Object(O.f)("edit.php?post_type=shop_order")),Object(m.createElement)(g.EmptyContent,{className:c,title:e,actionLabel:t,actionURL:r,actionCallback:a})}}]),r}(m.Component);j.propTypes={className:y.a.string,isError:y.a.bool,isEmpty:y.a.bool},j.defaultProps={className:""},t.a=j},725:function(e,t,r){"use strict";var a=r(5),n=r.n(a),c=r(14),o=r.n(c),i=r(13),s=r.n(i),l=r(10),u=r.n(l),d=r(16),p=r.n(d),m=r(17),b=r.n(m),f=r(6),y=r.n(f),g=r(0),O=r(1),h=r.n(O),j=r(2),v=r(24),_=r(68),w=r(33),E=r(41),S=r(35),D=r(61),k=r(718);function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=y()(e);if(t){var n=y()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return b()(this,r)}}var F=function(e){p()(r,e);var t=C(r);function r(){var e;return o()(this,r),(e=t.call(this)).trackDateSelect=e.trackDateSelect.bind(u()(e)),e.trackFilterSelect=e.trackFilterSelect.bind(u()(e)),e.trackAdvancedFilterAction=e.trackAdvancedFilterAction.bind(u()(e)),e}return s()(r,[{key:"trackDateSelect",value:function(e){var t=this.props.report;Object(D.recordEvent)("datepicker_update",P({report:t},Object(j.omitBy)(e,j.isUndefined)))}},{key:"trackFilterSelect",value:function(e){var t=this.props.report;Object(D.recordEvent)("analytics_filter",{report:t,filter:e.filter||"all"})}},{key:"trackAdvancedFilterAction",value:function(e,t){var r=this.props.report;switch(e){case"add":Object(D.recordEvent)("analytics_filters_add",{report:r,filter:t.key});break;case"remove":Object(D.recordEvent)("analytics_filters_remove",{report:r,filter:t.key});break;case"filter":var a=Object.keys(t).reduce((function(e,r){return e[Object(j.snakeCase)(r)]=t[r],e}),{});Object(D.recordEvent)("analytics_filters_filter",P({report:r},a));break;case"clear_all":Object(D.recordEvent)("analytics_filters_clear_all",{report:r});break;case"match":Object(D.recordEvent)("analytics_filters_all_any",{report:r,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.path,n=e.query,c=e.showDatePicker,o=e.defaultDateRange,i=Object(S.getDateParamsFromQuery)(n,o),s=i.period,l=i.compare,u=i.before,d=i.after,p=Object(S.getCurrentDates)(n,o),m={period:s,compare:l,before:u,after:d,primaryDate:p.primary,secondaryDate:p.secondary},b=this.context;return Object(g.createElement)(_.ReportFilters,{query:n,siteLocale:w.c.siteLocale,currency:b.getCurrencyConfig(),path:a,filters:r,advancedFilters:t,showDatePicker:c,onDateSelect:this.trackDateSelect,onFilterSelect:this.trackFilterSelect,onAdvancedFilterAction:this.trackAdvancedFilterAction,dateQuery:m,isoDateFormat:S.isoDateFormat})}}]),r}(g.Component);F.contextType=k.a,t.a=Object(v.withSelect)((function(e){return{defaultDateRange:e(E.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(F),F.propTypes={advancedFilters:h.a.object,filters:h.a.array,path:h.a.string.isRequired,query:h.a.object,showDatePicker:h.a.bool,report:h.a.string.isRequired}},728:function(e,t,r){"use strict";var a=r(37),n=r.n(a),c=r(30),o=r.n(c),i=r(5),s=r.n(i),l=r(38),u=r.n(l),d=r(60),p=r.n(d),m=r(0),b=r(735),f=r(72),y=r(49),g=r(270),O=r(413),h=r(24),j=r(2),v=r(3),_=r(4),w=r.n(_),E=r(1),S=r.n(E),D=r(68),k=r(32),R=r(700),P=r(41),C=r(61),F=function(){return Object(m.createElement)("svg",{role:"img","aria-hidden":"true",focusable:"false",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},Object(m.createElement)("path",{d:"M18,9c-0.009,0-0.017,0.002-0.025,0.003C17.72,5.646,14.922,3,11.5,3C7.91,3,5,5.91,5,9.5c0,0.524,0.069,1.031,0.186,1.519 C5.123,11.016,5.064,11,5,11c-2.209,0-4,1.791-4,4c0,1.202,0.541,2.267,1.38,3h18.593C22.196,17.089,23,15.643,23,14 C23,11.239,20.761,9,18,9z M12,16l-4-5h3V8h2v3h3L12,16z"}))},q=r(719);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r(879);function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Q=function(e){var t=e.getHeadersContent,r=e.getRowsContent,a=e.getSummary,c=e.isRequesting,i=e.primaryData,l=e.tableData,d=e.endpoint,g=(e.itemIdField,e.tableQuery,e.compareBy),h=e.searchBy,_=e.labels,E=void 0===_?{}:_,S=p()(e,["getHeadersContent","getRowsContent","getSummary","isRequesting","primaryData","tableData","endpoint","itemIdField","tableQuery","compareBy","searchBy","labels"]),x=e.query,T=e.columnPrefsKey,N=l.items,Q=l.query,B=x.filter?Object(k.getIdsFromQuery)(x[g]):[],I=Object(m.useState)(B),L=u()(I,2),M=L[0],U=L[1],V=Object(m.useRef)(null),z=Object(P.useUserPreferences)(),H=z.updateUserPreferences,G=p()(z,["updateUserPreferences"]);if(l.isError||i.isError)return Object(m.createElement)(q.a,{isError:!0});var J=[];T&&(J=G&&G[T]?G[T]:J);var K,Y,W,X,Z=function(t){var r=e.ids;U(t?r:[])},$=function(t,r){var a=e.ids;if(r)U(Object(j.uniq)([a[t]].concat(o()(M))));else{var n=M.indexOf(a[t]);U([].concat(o()(M.slice(0,n)),o()(M.slice(n+1))))}},ee=function(t){var r=e.ids,a=void 0===r?[]:r,n=-1!==M.indexOf(a[t]);return{display:Object(m.createElement)(b.a,{onChange:Object(j.partial)($,t),checked:n}),value:!1}},te=c||l.isRequesting||i.isRequesting,re=Object(j.get)(i,["data","totals"],{}),ae=N.totalResults,ne=ae>0,ce=Object(k.getSearchWords)(x).map((function(e){return{key:e,label:e}})),oe=Object(y.applyFilters)("woocommerce_admin_report_table",{endpoint:d,headers:t(),rows:r(N.data),totals:re,summary:a?a(re,ae):null,items:N}),ie=oe.headers,se=oe.rows,le=oe.summary;g&&(se=se.map((function(e,t){return[ee(t)].concat(o()(e))})),ie=[(K=e.ids,Y=void 0===K?[]:K,W=Y.length>0,X=W&&Y.length===M.length,{cellClassName:"is-checkbox-column",key:"compare",label:Object(m.createElement)(b.a,{onChange:Z,"aria-label":Object(v.__)("Select All"),checked:X,disabled:!W}),required:!0})].concat(o()(ie)));var ue=function(e,t){return t?e.map((function(e){return A(A({},e),{},{visible:e.required||!t.includes(e.key)})})):e.map((function(e){return A(A({},e),{},{visible:e.required||!e.hiddenByDefault})}))}(ie,J),de=w()("woocommerce-report-table",{"has-compare":!!g,"has-search":!!h});return Object(m.createElement)(m.Fragment,null,Object(m.createElement)("div",{className:"woocommerce-report-table__scroll-point",ref:V,"aria-hidden":!0}),Object(m.createElement)(D.TableCard,n()({className:de,actions:[g&&Object(m.createElement)(D.CompareButton,{key:"compare",className:"woocommerce-table__compare",count:M.length,helpText:E.helpText||Object(v.__)("Check at least two items below to compare","woocommerce-admin"),onClick:function(){var t=e.compareParam;g&&Object(k.onQueryChange)("compare")(g,t,M.join(","))},disabled:!ne},E.compareButton||Object(v.__)("Compare","woocommerce-admin")),h&&Object(m.createElement)(D.Search,{allowFreeTextSearch:!0,inlineTags:!0,key:"search",onChange:function(t){var r,a=e.baseSearchQuery,n=e.compareParam,c=t.map((function(e){return e.label.replace(",","%2C")}));c.length?Object(k.updateQueryString)(A(A((r={filter:void 0},s()(r,n,void 0),s()(r,h,void 0),r),a),{},{search:Object(j.uniq)(c).join(",")})):Object(k.updateQueryString)({search:void 0});Object(C.recordEvent)("analytics_table_filter",{report:d})},placeholder:E.placeholder||Object(v.__)("Search by item name","woocommerce-admin"),selected:ce,showClearButton:!0,type:h,disabled:!ne}),ne&&Object(m.createElement)(f.a,{key:"download",className:"woocommerce-table__download-button",disabled:te,onClick:function(){var a=e.createNotice,n=e.startExport,c=e.title,o=Object.assign({},x),i=N.data,s=N.totalResults,l="browser";delete o.extended_info,o.search&&delete o[h],i&&i.length===s?Object(R.downloadCSVFile)(Object(R.generateCSVFileName)(c,o),Object(R.generateCSVDataFromTable)(t(),r(i))):(l="email",n(d,Q).then((function(){return a("success",Object(v.sprintf)(Object(v.__)("Your %s Report will be emailed to you.","woocommerce-admin"),c))})).catch((function(e){return a("error",e.message||Object(v.sprintf)(Object(v.__)("There was a problem exporting your %s Report. Please try again.","woocommerce-admin"),c))}))),Object(C.recordEvent)("analytics_table_download",{report:d,rows:s,downloadType:l})}},Object(m.createElement)(F,null),Object(m.createElement)("span",{className:"woocommerce-table__download-button__label"},E.downloadButton||Object(v.__)("Download","woocommerce-admin")))],headers:ue,isLoading:te,onQueryChange:k.onQueryChange,onColumnsChange:function(e,t){var r=ie.map((function(e){return e.key})).filter((function(t){return!e.includes(t)}));if(T){var a=s()({},T,r);H(a)}if(t){var n={report:d,column:t,status:e.includes(t)?"on":"off"};Object(C.recordEvent)("analytics_table_header_toggle",n)}},onSort:function(e,t){Object(k.onQueryChange)("sort")(e,t);var r={report:d,column:e,direction:t};Object(C.recordEvent)("analytics_table_sort",r)},onPageChange:function(e,t){V.current.scrollIntoView();var r=V.current.nextSibling.querySelector(".woocommerce-table__table"),a=O.a.focusable.find(r);a.length&&a[0].focus(),t&&("goto"===t?Object(C.recordEvent)("analytics_table_go_to_page",{report:d,page:e}):Object(C.recordEvent)("analytics_table_page_click",{report:d,direction:t}))},rows:se,rowsPerPage:parseInt(Q.per_page,10)||P.QUERY_DEFAULTS.pageSize,summary:le,totalRows:ae},S)))};Q.propTypes={baseSearchQuery:S.a.object,compareBy:S.a.string,compareParam:S.a.string,columnPrefsKey:S.a.string,endpoint:S.a.string,extendItemsMethodNames:S.a.shape({getError:S.a.string,isRequesting:S.a.string,load:S.a.string}),extendedItemsStoreName:S.a.string,getHeadersContent:S.a.func.isRequired,getRowsContent:S.a.func.isRequired,getSummary:S.a.func,itemIdField:S.a.string,labels:S.a.shape({compareButton:S.a.string,downloadButton:S.a.string,helpText:S.a.string,placeholder:S.a.string}),primaryData:S.a.object,searchBy:S.a.string,summaryFields:S.a.arrayOf(S.a.string),tableData:S.a.object.isRequired,tableQuery:S.a.object,title:S.a.string.isRequired},Q.defaultProps={primaryData:{},tableData:{items:{data:[],totalResults:0},query:{}},tableQuery:{},compareParam:"filter",downloadable:!1,onSearch:j.noop,baseSearchQuery:{}};t.a=Object(g.a)(Object(h.withSelect)((function(e,t){var r=t.endpoint,a=t.getSummary,n=t.isRequesting,c=t.itemIdField,o=t.query,i=t.tableData,s=t.tableQuery,l=t.filters,u=t.advancedFilters,d=t.summaryFields;if(n||o.search&&(!o[r]||!o[r].length))return{};var p=e(P.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,m=["variations","categories"].includes(r)?"products":r,b=a?Object(P.getReportChartData)({endpoint:m,dataType:"primary",query:o,select:e,filters:l,advancedFilters:u,tableQuery:s,defaultDateRange:p,fields:d}):{},f=function(e,t,r){var a=t.extendItemsMethodNames,n=t.extendedItemsStoreName,c=t.itemIdField,o=r.items.data;if(!(Array.isArray(o)&&o.length&&a&&c))return r;var i=e(n),s=i[a.getError],l=i[a.isRequesting],u=i[a.load],d={include:o.map((function(e){return e[c]})).join(","),per_page:o.length},p=u(d),m=!!l&&l(d),b=!!s&&s(d),f=o.map((function(e){var t=Object(j.first)(p.filter((function(t){return e.id===t.id})));return T(T({},e),t)})),y=r.isRequesting||m,g=r.isError||b;return T(T({},r),{},{isRequesting:y,isError:g,items:T(T({},r.items),{},{data:f})})}(e,t,i||Object(P.getReportTableData)({endpoint:r,query:o,select:e,tableQuery:s,filters:l,advancedFilters:u,defaultDateRange:p}));return{primaryData:b,ids:c?f.items.data.map((function(e){return e[c]})):[],tableData:f,query:A(A({},s),o)}})),Object(h.withDispatch)((function(e){var t=e(P.EXPORT_STORE_NAME).startExport;return{createNotice:e("core/notices").createNotice,startExport:t}})))(Q)},879:function(e,t,r){}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[0],{718:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return u}));var a=r(0),n=r(49),c=r(188),o=r.n(c),i=r(33),s=o()(i.b),l=function(e){var t=s.getCurrencyConfig(),r=Object(n.applyFilters)("woocommerce_admin_report_currency",t,e);return o()(r)},u=Object(a.createContext)(s)},719:function(e,t,r){"use strict";var a=r(14),n=r.n(a),c=r(13),o=r.n(c),i=r(16),s=r.n(i),l=r(17),u=r.n(l),d=r(6),p=r.n(d),m=r(0),b=r(3),f=r(1),y=r.n(f),g=r(68),O=r(33);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=p()(e);if(t){var n=p()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return u()(this,r)}}var j=function(e){s()(r,e);var t=h(r);function r(){return n()(this,r),t.apply(this,arguments)}return o()(r,[{key:"render",value:function(){var e,t,r,a,n=this.props,c=n.className,o=n.isError,i=n.isEmpty;return o?(e=Object(b.__)("There was an error getting your stats. Please try again.","woocommerce-admin"),t=Object(b.__)("Reload","woocommerce-admin"),a=function(){window.location.reload()}):i&&(e=Object(b.__)("No results could be found for this date range.","woocommerce-admin"),t=Object(b.__)("View Orders","woocommerce-admin"),r=Object(O.f)("edit.php?post_type=shop_order")),Object(m.createElement)(g.EmptyContent,{className:c,title:e,actionLabel:t,actionURL:r,actionCallback:a})}}]),r}(m.Component);j.propTypes={className:y.a.string,isError:y.a.bool,isEmpty:y.a.bool},j.defaultProps={className:""},t.a=j},725:function(e,t,r){"use strict";var a=r(5),n=r.n(a),c=r(14),o=r.n(c),i=r(13),s=r.n(i),l=r(10),u=r.n(l),d=r(16),p=r.n(d),m=r(17),b=r.n(m),f=r(6),y=r.n(f),g=r(0),O=r(1),h=r.n(O),j=r(2),v=r(24),_=r(68),w=r(33),E=r(41),S=r(35),D=r(61),k=r(718);function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=y()(e);if(t){var n=y()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return b()(this,r)}}var F=function(e){p()(r,e);var t=C(r);function r(){var e;return o()(this,r),(e=t.call(this)).trackDateSelect=e.trackDateSelect.bind(u()(e)),e.trackFilterSelect=e.trackFilterSelect.bind(u()(e)),e.trackAdvancedFilterAction=e.trackAdvancedFilterAction.bind(u()(e)),e}return s()(r,[{key:"trackDateSelect",value:function(e){var t=this.props.report;Object(D.recordEvent)("datepicker_update",P({report:t},Object(j.omitBy)(e,j.isUndefined)))}},{key:"trackFilterSelect",value:function(e){var t=this.props.report;Object(D.recordEvent)("analytics_filter",{report:t,filter:e.filter||"all"})}},{key:"trackAdvancedFilterAction",value:function(e,t){var r=this.props.report;switch(e){case"add":Object(D.recordEvent)("analytics_filters_add",{report:r,filter:t.key});break;case"remove":Object(D.recordEvent)("analytics_filters_remove",{report:r,filter:t.key});break;case"filter":var a=Object.keys(t).reduce((function(e,r){return e[Object(j.snakeCase)(r)]=t[r],e}),{});Object(D.recordEvent)("analytics_filters_filter",P({report:r},a));break;case"clear_all":Object(D.recordEvent)("analytics_filters_clear_all",{report:r});break;case"match":Object(D.recordEvent)("analytics_filters_all_any",{report:r,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.path,n=e.query,c=e.showDatePicker,o=e.defaultDateRange,i=Object(S.getDateParamsFromQuery)(n,o),s=i.period,l=i.compare,u=i.before,d=i.after,p=Object(S.getCurrentDates)(n,o),m={period:s,compare:l,before:u,after:d,primaryDate:p.primary,secondaryDate:p.secondary},b=this.context;return Object(g.createElement)(_.ReportFilters,{query:n,siteLocale:w.c.siteLocale,currency:b.getCurrencyConfig(),path:a,filters:r,advancedFilters:t,showDatePicker:c,onDateSelect:this.trackDateSelect,onFilterSelect:this.trackFilterSelect,onAdvancedFilterAction:this.trackAdvancedFilterAction,dateQuery:m,isoDateFormat:S.isoDateFormat})}}]),r}(g.Component);F.contextType=k.a,t.a=Object(v.withSelect)((function(e){return{defaultDateRange:e(E.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(F),F.propTypes={advancedFilters:h.a.object,filters:h.a.array,path:h.a.string.isRequired,query:h.a.object,showDatePicker:h.a.bool,report:h.a.string.isRequired}},728:function(e,t,r){"use strict";var a=r(37),n=r.n(a),c=r(30),o=r.n(c),i=r(5),s=r.n(i),l=r(38),u=r.n(l),d=r(60),p=r.n(d),m=r(0),b=r(735),f=r(72),y=r(49),g=r(270),O=r(413),h=r(24),j=r(2),v=r(3),_=r(4),w=r.n(_),E=r(1),S=r.n(E),D=r(68),k=r(32),R=r(700),P=r(41),C=r(61),F=function(){return Object(m.createElement)("svg",{role:"img","aria-hidden":"true",focusable:"false",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},Object(m.createElement)("path",{d:"M18,9c-0.009,0-0.017,0.002-0.025,0.003C17.72,5.646,14.922,3,11.5,3C7.91,3,5,5.91,5,9.5c0,0.524,0.069,1.031,0.186,1.519 C5.123,11.016,5.064,11,5,11c-2.209,0-4,1.791-4,4c0,1.202,0.541,2.267,1.38,3h18.593C22.196,17.089,23,15.643,23,14 C23,11.239,20.761,9,18,9z M12,16l-4-5h3V8h2v3h3L12,16z"}))},q=r(719);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r(879);function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Q=function(e){var t=e.getHeadersContent,r=e.getRowsContent,a=e.getSummary,c=e.isRequesting,i=e.primaryData,l=e.tableData,d=e.endpoint,g=(e.itemIdField,e.tableQuery,e.compareBy),h=e.searchBy,_=e.labels,E=void 0===_?{}:_,S=p()(e,["getHeadersContent","getRowsContent","getSummary","isRequesting","primaryData","tableData","endpoint","itemIdField","tableQuery","compareBy","searchBy","labels"]),x=e.query,T=e.columnPrefsKey,N=l.items,Q=l.query,B=x.filter?Object(k.getIdsFromQuery)(x[g]):[],I=Object(m.useState)(B),L=u()(I,2),M=L[0],U=L[1],V=Object(m.useRef)(null),z=Object(P.useUserPreferences)(),H=z.updateUserPreferences,G=p()(z,["updateUserPreferences"]);if(l.isError||i.isError)return Object(m.createElement)(q.a,{isError:!0});var J=[];T&&(J=G&&G[T]?G[T]:J);var K,Y,W,X,Z=function(t){var r=e.ids;U(t?r:[])},$=function(t,r){var a=e.ids;if(r)U(Object(j.uniq)([a[t]].concat(o()(M))));else{var n=M.indexOf(a[t]);U([].concat(o()(M.slice(0,n)),o()(M.slice(n+1))))}},ee=function(t){var r=e.ids,a=void 0===r?[]:r,n=-1!==M.indexOf(a[t]);return{display:Object(m.createElement)(b.a,{onChange:Object(j.partial)($,t),checked:n}),value:!1}},te=c||l.isRequesting||i.isRequesting,re=Object(j.get)(i,["data","totals"],{}),ae=N.totalResults,ne=ae>0,ce=Object(k.getSearchWords)(x).map((function(e){return{key:e,label:e}})),oe=Object(y.applyFilters)("woocommerce_admin_report_table",{endpoint:d,headers:t(),rows:r(N.data),totals:re,summary:a?a(re,ae):null,items:N}),ie=oe.headers,se=oe.rows,le=oe.summary;g&&(se=se.map((function(e,t){return[ee(t)].concat(o()(e))})),ie=[(K=e.ids,Y=void 0===K?[]:K,W=Y.length>0,X=W&&Y.length===M.length,{cellClassName:"is-checkbox-column",key:"compare",label:Object(m.createElement)(b.a,{onChange:Z,"aria-label":Object(v.__)("Select All"),checked:X,disabled:!W}),required:!0})].concat(o()(ie)));var ue=function(e,t){return t?e.map((function(e){return A(A({},e),{},{visible:e.required||!t.includes(e.key)})})):e.map((function(e){return A(A({},e),{},{visible:e.required||!e.hiddenByDefault})}))}(ie,J),de=w()("woocommerce-report-table",{"has-compare":!!g,"has-search":!!h});return Object(m.createElement)(m.Fragment,null,Object(m.createElement)("div",{className:"woocommerce-report-table__scroll-point",ref:V,"aria-hidden":!0}),Object(m.createElement)(D.TableCard,n()({className:de,actions:[g&&Object(m.createElement)(D.CompareButton,{key:"compare",className:"woocommerce-table__compare",count:M.length,helpText:E.helpText||Object(v.__)("Check at least two items below to compare","woocommerce-admin"),onClick:function(){var t=e.compareParam;g&&Object(k.onQueryChange)("compare")(g,t,M.join(","))},disabled:!ne},E.compareButton||Object(v.__)("Compare","woocommerce-admin")),h&&Object(m.createElement)(D.Search,{allowFreeTextSearch:!0,inlineTags:!0,key:"search",onChange:function(t){var r,a=e.baseSearchQuery,n=e.compareParam,c=t.map((function(e){return e.label.replace(",","%2C")}));c.length?Object(k.updateQueryString)(A(A((r={filter:void 0},s()(r,n,void 0),s()(r,h,void 0),r),a),{},{search:Object(j.uniq)(c).join(",")})):Object(k.updateQueryString)({search:void 0});Object(C.recordEvent)("analytics_table_filter",{report:d})},placeholder:E.placeholder||Object(v.__)("Search by item name","woocommerce-admin"),selected:ce,showClearButton:!0,type:h,disabled:!ne}),ne&&Object(m.createElement)(f.a,{key:"download",className:"woocommerce-table__download-button",disabled:te,onClick:function(){var a=e.createNotice,n=e.startExport,c=e.title,o=Object.assign({},x),i=N.data,s=N.totalResults,l="browser";delete o.extended_info,o.search&&delete o[h],i&&i.length===s?Object(R.downloadCSVFile)(Object(R.generateCSVFileName)(c,o),Object(R.generateCSVDataFromTable)(t(),r(i))):(l="email",n(d,Q).then((function(){return a("success",Object(v.sprintf)(Object(v.__)("Your %s Report will be emailed to you.","woocommerce-admin"),c))})).catch((function(e){return a("error",e.message||Object(v.sprintf)(Object(v.__)("There was a problem exporting your %s Report. Please try again.","woocommerce-admin"),c))}))),Object(C.recordEvent)("analytics_table_download",{report:d,rows:s,downloadType:l})}},Object(m.createElement)(F,null),Object(m.createElement)("span",{className:"woocommerce-table__download-button__label"},E.downloadButton||Object(v.__)("Download","woocommerce-admin")))],headers:ue,isLoading:te,onQueryChange:k.onQueryChange,onColumnsChange:function(e,t){var r=ie.map((function(e){return e.key})).filter((function(t){return!e.includes(t)}));if(T){var a=s()({},T,r);H(a)}if(t){var n={report:d,column:t,status:e.includes(t)?"on":"off"};Object(C.recordEvent)("analytics_table_header_toggle",n)}},onSort:function(e,t){Object(k.onQueryChange)("sort")(e,t);var r={report:d,column:e,direction:t};Object(C.recordEvent)("analytics_table_sort",r)},onPageChange:function(e,t){V.current.scrollIntoView();var r=V.current.nextSibling.querySelector(".woocommerce-table__table"),a=O.a.focusable.find(r);a.length&&a[0].focus(),t&&("goto"===t?Object(C.recordEvent)("analytics_table_go_to_page",{report:d,page:e}):Object(C.recordEvent)("analytics_table_page_click",{report:d,direction:t}))},rows:se,rowsPerPage:parseInt(Q.per_page,10)||P.QUERY_DEFAULTS.pageSize,summary:le,totalRows:ae},S)))};Q.propTypes={baseSearchQuery:S.a.object,compareBy:S.a.string,compareParam:S.a.string,columnPrefsKey:S.a.string,endpoint:S.a.string,extendItemsMethodNames:S.a.shape({getError:S.a.string,isRequesting:S.a.string,load:S.a.string}),extendedItemsStoreName:S.a.string,getHeadersContent:S.a.func.isRequired,getRowsContent:S.a.func.isRequired,getSummary:S.a.func,itemIdField:S.a.string,labels:S.a.shape({compareButton:S.a.string,downloadButton:S.a.string,helpText:S.a.string,placeholder:S.a.string}),primaryData:S.a.object,searchBy:S.a.string,summaryFields:S.a.arrayOf(S.a.string),tableData:S.a.object.isRequired,tableQuery:S.a.object,title:S.a.string.isRequired},Q.defaultProps={primaryData:{},tableData:{items:{data:[],totalResults:0},query:{}},tableQuery:{},compareParam:"filter",downloadable:!1,onSearch:j.noop,baseSearchQuery:{}};t.a=Object(g.a)(Object(h.withSelect)((function(e,t){var r=t.endpoint,a=t.getSummary,n=t.isRequesting,c=t.itemIdField,o=t.query,i=t.tableData,s=t.tableQuery,l=t.filters,u=t.advancedFilters,d=t.summaryFields;if(n||o.search&&(!o[r]||!o[r].length))return{};var p=e(P.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,m=["variations","categories"].includes(r)?"products":r,b=a?Object(P.getReportChartData)({endpoint:m,dataType:"primary",query:o,select:e,filters:l,advancedFilters:u,tableQuery:s,defaultDateRange:p,fields:d}):{},f=function(e,t,r){var a=t.extendItemsMethodNames,n=t.extendedItemsStoreName,c=t.itemIdField,o=r.items.data;if(!(Array.isArray(o)&&o.length&&a&&c))return r;var i=e(n),s=i[a.getError],l=i[a.isRequesting],u=i[a.load],d={include:o.map((function(e){return e[c]})).join(","),per_page:o.length},p=u(d),m=!!l&&l(d),b=!!s&&s(d),f=o.map((function(e){var t=Object(j.first)(p.filter((function(t){return e.id===t.id})));return T(T({},e),t)})),y=r.isRequesting||m,g=r.isError||b;return T(T({},r),{},{isRequesting:y,isError:g,items:T(T({},r.items),{},{data:f})})}(e,t,i||Object(P.getReportTableData)({endpoint:r,query:o,select:e,tableQuery:s,filters:l,advancedFilters:u,defaultDateRange:p}));return{primaryData:b,ids:c&&f.items.data?f.items.data.map((function(e){return e[c]})):[],tableData:f,query:A(A({},s),o)}})),Object(h.withDispatch)((function(e){var t=e(P.EXPORT_STORE_NAME).startExport;return{createNotice:e("core/notices").createNotice,startExport:t}})))(Q)},879:function(e,t,r){}}]);
dist/chunks/{10.6ab65bcdbb9b1d18130c.js → 10.5ad18ec555981926de5a.js} RENAMED
File without changes
dist/chunks/{10.6ab65bcdbb9b1d18130c.min.js → 10.5ad18ec555981926de5a.min.js} RENAMED
File without changes
dist/chunks/{11.384a5698a2a07a903f33.js → 11.e31ce9931c09bfa70ffd.js} RENAMED
@@ -414,7 +414,7 @@ activity_card_ActivityCard.defaultProps = {
414
 
415
  /***/ }),
416
 
417
- /***/ 913:
418
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
419
 
420
  "use strict";
414
 
415
  /***/ }),
416
 
417
+ /***/ 912:
418
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
419
 
420
  "use strict";
dist/chunks/{11.384a5698a2a07a903f33.min.js → 11.e31ce9931c09bfa70ffd.min.js} RENAMED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[11],{718:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return m}));var n=r(0),c=r(49),a=r(188),o=r.n(a),i=r(33),s=o()(i.b),l=function(e){var t=s.getCurrencyConfig(),r=Object(c.applyFilters)("woocommerce_admin_report_currency",t,e);return o()(r)},m=Object(n.createContext)(s)},727:function(e,t,r){"use strict";var n=r(14),c=r.n(n),a=r(13),o=r.n(a),i=r(16),s=r.n(i),l=r(17),m=r.n(l),u=r(6),d=r.n(u),f=r(0),p=r(4),b=r.n(p),_=r(1),y=r.n(_),O=r(701),h=r(68);r(729);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var c=d()(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return m()(this,r)}}var j=function(e){s()(r,e);var t=v(r);function r(){return c()(this,r),t.apply(this,arguments)}return o()(r,[{key:"render",value:function(){var e=this.props,t=e.className,r=e.menu,n=e.subtitle,c=e.title,a=e.unreadMessages,o=b()({"woocommerce-layout__inbox-panel-header":n,"woocommerce-layout__activity-panel-header":!n},t),i=a||0;return Object(f.createElement)("div",{className:o},Object(f.createElement)("div",{className:"woocommerce-layout__inbox-title"},Object(f.createElement)(O.a,{variant:"title.small"},c),Object(f.createElement)(O.a,{variant:"button"},i>0&&Object(f.createElement)("span",{className:"woocommerce-layout__inbox-badge"},a))),Object(f.createElement)("div",{className:"woocommerce-layout__inbox-subtitle"},n&&Object(f.createElement)(O.a,{variant:"body.small"},n)),r&&Object(f.createElement)("div",{className:"woocommerce-layout__activity-panel-header-menu"},r))}}]),r}(f.Component);j.propTypes={className:y.a.string,unreadMessages:y.a.number,title:y.a.string.isRequired,subtitle:y.a.string,menu:y.a.shape({type:y.a.oneOf([h.EllipsisMenu])})},t.a=j},729:function(e,t,r){},730:function(e,t,r){"use strict";r.d(t,"a",(function(){return k})),r.d(t,"b",(function(){return R}));var n=r(14),c=r.n(n),a=r(13),o=r.n(a),i=r(16),s=r.n(i),l=r(17),m=r.n(l),u=r(6),d=r.n(u),f=r(0),p=r(4),b=r.n(p),_=r(90),y=r.n(_),O=r(15),h=r.n(O),v=r(1),j=r.n(v),E=r(68),g=(r(731),r(2));function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var c=d()(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return m()(this,r)}}var N=function(e){s()(r,e);var t=w(r);function r(){return c()(this,r),t.apply(this,arguments)}return o()(r,[{key:"render",value:function(){var e=this.props,t=e.className,r=e.hasAction,n=e.hasDate,c=e.hasSubtitle,a=e.lines,o=b()("woocommerce-activity-card is-loading",t);return Object(f.createElement)("div",{className:o,"aria-hidden":!0},Object(f.createElement)("span",{className:"woocommerce-activity-card__icon"},Object(f.createElement)("span",{className:"is-placeholder"})),Object(f.createElement)("div",{className:"woocommerce-activity-card__header"},Object(f.createElement)("div",{className:"woocommerce-activity-card__title is-placeholder"}),c&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle is-placeholder"}),n&&Object(f.createElement)("div",{className:"woocommerce-activity-card__date"},Object(f.createElement)("span",{className:"is-placeholder"}))),Object(f.createElement)("div",{className:"woocommerce-activity-card__body"},Object(g.range)(a).map((function(e){return Object(f.createElement)("span",{className:"is-placeholder",key:e})}))),r&&Object(f.createElement)("div",{className:"woocommerce-activity-card__actions"},Object(f.createElement)("span",{className:"is-placeholder"})))}}]),r}(f.Component);N.propTypes={className:j.a.string,hasAction:j.a.bool,hasDate:j.a.bool,hasSubtitle:j.a.bool,lines:j.a.number},N.defaultProps={hasAction:!1,hasDate:!1,hasSubtitle:!1,lines:1};var R=N;function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var c=d()(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return m()(this,r)}}var k=function(e){s()(r,e);var t=S(r);function r(){return c()(this,r),t.apply(this,arguments)}return o()(r,[{key:"render",value:function(){var e=this.props,t=e.actions,r=e.className,n=e.children,c=e.date,a=e.icon,o=e.subtitle,i=e.title,s=e.unread,l=b()("woocommerce-activity-card",r),m=Array.isArray(t)?t:[t];return Object(f.createElement)("section",{className:l},s&&Object(f.createElement)("span",{className:"woocommerce-activity-card__unread"}),a&&Object(f.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},a),Object(f.createElement)("header",{className:"woocommerce-activity-card__header"},Object(f.createElement)(E.H,{className:"woocommerce-activity-card__title"},i),o&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle"},o),c&&Object(f.createElement)("span",{className:"woocommerce-activity-card__date"},h.a.utc(c).fromNow())),Object(f.createElement)(E.Section,{className:"woocommerce-activity-card__body"},n),t&&Object(f.createElement)("footer",{className:"woocommerce-activity-card__actions"},m.map((function(e,t){return Object(f.cloneElement)(e,{key:t})}))))}}]),r}(f.Component);k.propTypes={actions:j.a.oneOfType([j.a.arrayOf(j.a.element),j.a.element]),className:j.a.string,children:j.a.node.isRequired,date:j.a.string,icon:j.a.node,subtitle:j.a.node,title:j.a.oneOfType([j.a.string,j.a.node]).isRequired,unread:j.a.bool},k.defaultProps={icon:Object(f.createElement)(y.a,{icon:"notice-outline",size:48}),unread:!1}},731:function(e,t,r){},886:function(e,t,r){},913:function(e,t,r){"use strict";r.r(t);var n=r(14),c=r.n(n),a=r(13),o=r.n(a),i=r(16),s=r.n(i),l=r(17),m=r.n(l),u=r(6),d=r.n(u),f=r(0),p=r(3),b=r(72),_=r(270),y=r(24),O=r(90),h=r.n(O),v=r(1),j=r.n(v),E=r(40),g=r.n(E),w=r(2),N=r(68),R=r(32),S=r(33),k=r(41),T=r(61),x=r(730),A=r(727),C=r(37),L=r.n(C),q=r(60),D=r.n(q),P=r(4),F=r.n(P),I=(r(886),function(e){var t=e.href,r=e.type,n=e.className,c=e.children,a=D()(e,["href","type","className","children"]),o=F()("woocommerce-layout__activity-panel-outbound-link",n);return Object(f.createElement)(N.Link,L()({href:t,type:r,className:o},a),c,Object(f.createElement)(h.a,{icon:"arrow-right"}))});I.propTypes={href:j.a.string.isRequired,type:j.a.oneOf(["wp-admin","wc-admin","external"]).isRequired,className:j.a.string},I.defaultProps={type:"wp-admin"};var M=I,U=r(415),Y=r(718);function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var c=d()(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return m()(this,r)}}var B=function(e){s()(r,e);var t=z(r);function r(){return c()(this,r),t.apply(this,arguments)}return o()(r,[{key:"recordOrderEvent",value:function(e){Object(T.recordEvent)("activity_panel_orders_".concat(e),{})}},{key:"renderEmptyCard",value:function(){var e=this;return this.props.hasNonActionableOrders?Object(f.createElement)(x.a,{className:"woocommerce-empty-activity-card",title:Object(p.__)("You have no orders to fulfill","woocommerce-admin"),icon:Object(f.createElement)(h.a,{icon:"checkmark",size:48})},Object(p.__)("Good job, you've fulfilled all of your new orders!","woocommerce-admin")):Object(f.createElement)(x.a,{className:"woocommerce-empty-activity-card",title:Object(p.__)("You have no orders to fulfill","woocommerce-admin"),icon:Object(f.createElement)(h.a,{icon:"time",size:48}),actions:Object(f.createElement)(b.a,{href:"https://docs.woocommerce.com/document/managing-orders/",isSecondary:!0,onClick:function(){return e.recordOrderEvent("learn_more")},target:"_blank"},Object(p.__)("Learn more","woocommerce-admin"))},Object(p.__)("You're still waiting for your customers to make their first orders. While you wait why not learn how to manage orders?","woocommerce-admin"))}},{key:"renderOrders",value:function(){var e=this,t=this.props.orders,r=this.context;if(0===t.length)return this.renderEmptyCard();var n=function(e){var t=(e.extended_info||{}).customer||{},r=t.first_name,n=t.last_name;if(!r&&!n)return"";var c=[r,n].join(" ");return Object(p.sprintf)(Object(p.__)("placed by {{customerLink}}%(customerName)s{{/customerLink}}","woocommerce-admin"),{customerName:c})},c=function(t){var r=t.extended_info,c=t.order_id,a=t.order_number,o=(r||{}).customer,i=o.customer_id?Object(R.getNewPath)({},"/analytics/customers",{filter:"single_customer",customers:o.customer_id}):null;return Object(f.createElement)(f.Fragment,null,g()({mixedString:Object(p.sprintf)(Object(p.__)("Order {{orderLink}}#%(orderNumber)s{{/orderLink}} %(customerString)s {{destinationFlag/}}","woocommerce-admin"),{orderNumber:a,customerString:n(t)}),components:{orderLink:Object(f.createElement)(N.Link,{href:Object(S.f)("post.php?action=edit&post="+c),onClick:function(){return e.recordOrderEvent("order_number")},type:"wp-admin"}),destinationFlag:o.country?Object(f.createElement)(N.Flag,{code:o.country,round:!1}):null,customerLink:i?Object(f.createElement)(N.Link,{href:i,onClick:function(){return e.recordOrderEvent("customer_name")},type:"wc-admin"}):Object(f.createElement)("span",null)}}))},a=[];return t.forEach((function(t){var n=t.extended_info||{},o=n&&n.products?n.products.length:0,i=t.total_sales;a.push(Object(f.createElement)(x.a,{key:t.order_id,className:"woocommerce-order-activity-card",title:c(t),date:t.date_created_gmt,subtitle:Object(f.createElement)("div",null,Object(f.createElement)("span",null,Object(p.sprintf)(Object(p._n)("%d product","%d products",o,"woocommerce-admin"),o)),Object(f.createElement)("span",null,r.formatAmount(i))),actions:Object(f.createElement)(b.a,{isSecondary:!0,href:Object(S.f)("post.php?action=edit&post="+t.order_id),onClick:function(){return e.recordOrderEvent("orders_begin_fulfillment")}},Object(p.__)("Begin fulfillment"))},Object(f.createElement)(N.OrderStatus,{order:t,orderStatusMap:Object(S.g)("orderStatuses",{})})))})),Object(f.createElement)(f.Fragment,null,a,Object(f.createElement)(M,{href:"edit.php?post_type=shop_order",onClick:function(){return e.recordOrderEvent("orders_manage")}},Object(p.__)("Manage all orders","woocommerce-admin")))}},{key:"render",value:function(){var e=this.props,t=e.orders,r=e.isRequesting,n=e.isError,c=e.orderStatuses;if(n){if(!c.length)return Object(f.createElement)(N.EmptyContent,{title:Object(p.__)("You currently don't have any actionable statuses. To display orders here, select orders that require further review in settings.","woocommerce-admin"),actionLabel:Object(p.__)("Settings","woocommerce-admin"),actionURL:Object(S.f)("admin.php?page=wc-admin&path=/analytics/settings")});var a=Object(p.__)("There was an error getting your orders. Please try again.","woocommerce-admin"),o=Object(p.__)("Reload","woocommerce-admin");return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(N.EmptyContent,{title:a,actionLabel:o,actionURL:null,actionCallback:function(){window.location.reload()}}))}var i=r||t.length?Object(p.__)("Orders","woocommerce-admin"):Object(p.__)("No orders to fulfill","woocommerce-admin");return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(A.a,{title:i}),Object(f.createElement)(N.Section,null,r?Object(f.createElement)(x.b,{className:"woocommerce-order-activity-card",hasAction:!0,hasDate:!0,lines:2}):this.renderOrders()))}}]),r}(f.Component);B.propTypes={orders:j.a.array.isRequired,isError:j.a.bool,isRequesting:j.a.bool},B.defaultProps={orders:[],isError:!1,isRequesting:!1},B.contextType=Y.a;t.default=Object(_.a)(Object(y.withSelect)((function(e,t){var r=t.hasActionableOrders,n=e(k.ITEMS_STORE_NAME),c=n.getItems,a=n.getItemsError,o=n.getItemsTotalCount,i=e(k.REPORTS_STORE_NAME),s=i.getReportItems,l=i.getReportItemsError,m=i.isResolving,u=(0,e(k.SETTINGS_STORE_NAME).getSetting)("wc_admin","wcAdminSettings",{}).woocommerce_actionable_order_statuses,d=void 0===u?U.a:u;if(!d.length)return{orders:[],isError:!0,isRequesting:!1,orderStatuses:d};if(r){var f={page:1,per_page:k.QUERY_DEFAULTS.pageSize,status:d,_fields:["id","date_created_gmt","status"]},p=Array.from(c("orders",f).values()),b=m("getItems",["orders",f]);if(b)return{isError:Boolean(a("orders",f)),isRequesting:b,orderStatuses:d};var _={page:1,per_page:k.QUERY_DEFAULTS.pageSize,extended_info:!0,order_includes:Object(w.map)(p,"id"),_fields:["order_id","order_number","status","data_created_gmt","total_sales","extended_info.customer","extended_info.products"]},y=s("orders",_).data,O=Boolean(l("orders",_)),h=m("getReportItems",["orders",_]),v=[];if(y&&y.length){var j=Object(w.keyBy)(p,"id");v=y.map((function(e){return Object(w.merge)({},e,j[e.order_id]||{})}))}return{orders:v,isError:O,isRequesting:h,orderStatuses:d}}var E={page:1,per_page:1,_fields:["id"]};return c("orders",E),{hasNonActionableOrders:o("orders",E)>0,isError:Boolean(a("orders",E)),isRequesting:m("getItems",["orders",E]),orderStatuses:d}})))(B)}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[11],{718:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return m}));var n=r(0),c=r(49),a=r(188),o=r.n(a),i=r(33),s=o()(i.b),l=function(e){var t=s.getCurrencyConfig(),r=Object(c.applyFilters)("woocommerce_admin_report_currency",t,e);return o()(r)},m=Object(n.createContext)(s)},727:function(e,t,r){"use strict";var n=r(14),c=r.n(n),a=r(13),o=r.n(a),i=r(16),s=r.n(i),l=r(17),m=r.n(l),u=r(6),d=r.n(u),f=r(0),p=r(4),b=r.n(p),_=r(1),y=r.n(_),O=r(701),h=r(68);r(729);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var c=d()(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return m()(this,r)}}var j=function(e){s()(r,e);var t=v(r);function r(){return c()(this,r),t.apply(this,arguments)}return o()(r,[{key:"render",value:function(){var e=this.props,t=e.className,r=e.menu,n=e.subtitle,c=e.title,a=e.unreadMessages,o=b()({"woocommerce-layout__inbox-panel-header":n,"woocommerce-layout__activity-panel-header":!n},t),i=a||0;return Object(f.createElement)("div",{className:o},Object(f.createElement)("div",{className:"woocommerce-layout__inbox-title"},Object(f.createElement)(O.a,{variant:"title.small"},c),Object(f.createElement)(O.a,{variant:"button"},i>0&&Object(f.createElement)("span",{className:"woocommerce-layout__inbox-badge"},a))),Object(f.createElement)("div",{className:"woocommerce-layout__inbox-subtitle"},n&&Object(f.createElement)(O.a,{variant:"body.small"},n)),r&&Object(f.createElement)("div",{className:"woocommerce-layout__activity-panel-header-menu"},r))}}]),r}(f.Component);j.propTypes={className:y.a.string,unreadMessages:y.a.number,title:y.a.string.isRequired,subtitle:y.a.string,menu:y.a.shape({type:y.a.oneOf([h.EllipsisMenu])})},t.a=j},729:function(e,t,r){},730:function(e,t,r){"use strict";r.d(t,"a",(function(){return k})),r.d(t,"b",(function(){return R}));var n=r(14),c=r.n(n),a=r(13),o=r.n(a),i=r(16),s=r.n(i),l=r(17),m=r.n(l),u=r(6),d=r.n(u),f=r(0),p=r(4),b=r.n(p),_=r(90),y=r.n(_),O=r(15),h=r.n(O),v=r(1),j=r.n(v),E=r(68),g=(r(731),r(2));function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var c=d()(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return m()(this,r)}}var N=function(e){s()(r,e);var t=w(r);function r(){return c()(this,r),t.apply(this,arguments)}return o()(r,[{key:"render",value:function(){var e=this.props,t=e.className,r=e.hasAction,n=e.hasDate,c=e.hasSubtitle,a=e.lines,o=b()("woocommerce-activity-card is-loading",t);return Object(f.createElement)("div",{className:o,"aria-hidden":!0},Object(f.createElement)("span",{className:"woocommerce-activity-card__icon"},Object(f.createElement)("span",{className:"is-placeholder"})),Object(f.createElement)("div",{className:"woocommerce-activity-card__header"},Object(f.createElement)("div",{className:"woocommerce-activity-card__title is-placeholder"}),c&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle is-placeholder"}),n&&Object(f.createElement)("div",{className:"woocommerce-activity-card__date"},Object(f.createElement)("span",{className:"is-placeholder"}))),Object(f.createElement)("div",{className:"woocommerce-activity-card__body"},Object(g.range)(a).map((function(e){return Object(f.createElement)("span",{className:"is-placeholder",key:e})}))),r&&Object(f.createElement)("div",{className:"woocommerce-activity-card__actions"},Object(f.createElement)("span",{className:"is-placeholder"})))}}]),r}(f.Component);N.propTypes={className:j.a.string,hasAction:j.a.bool,hasDate:j.a.bool,hasSubtitle:j.a.bool,lines:j.a.number},N.defaultProps={hasAction:!1,hasDate:!1,hasSubtitle:!1,lines:1};var R=N;function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var c=d()(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return m()(this,r)}}var k=function(e){s()(r,e);var t=S(r);function r(){return c()(this,r),t.apply(this,arguments)}return o()(r,[{key:"render",value:function(){var e=this.props,t=e.actions,r=e.className,n=e.children,c=e.date,a=e.icon,o=e.subtitle,i=e.title,s=e.unread,l=b()("woocommerce-activity-card",r),m=Array.isArray(t)?t:[t];return Object(f.createElement)("section",{className:l},s&&Object(f.createElement)("span",{className:"woocommerce-activity-card__unread"}),a&&Object(f.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},a),Object(f.createElement)("header",{className:"woocommerce-activity-card__header"},Object(f.createElement)(E.H,{className:"woocommerce-activity-card__title"},i),o&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle"},o),c&&Object(f.createElement)("span",{className:"woocommerce-activity-card__date"},h.a.utc(c).fromNow())),Object(f.createElement)(E.Section,{className:"woocommerce-activity-card__body"},n),t&&Object(f.createElement)("footer",{className:"woocommerce-activity-card__actions"},m.map((function(e,t){return Object(f.cloneElement)(e,{key:t})}))))}}]),r}(f.Component);k.propTypes={actions:j.a.oneOfType([j.a.arrayOf(j.a.element),j.a.element]),className:j.a.string,children:j.a.node.isRequired,date:j.a.string,icon:j.a.node,subtitle:j.a.node,title:j.a.oneOfType([j.a.string,j.a.node]).isRequired,unread:j.a.bool},k.defaultProps={icon:Object(f.createElement)(y.a,{icon:"notice-outline",size:48}),unread:!1}},731:function(e,t,r){},886:function(e,t,r){},912:function(e,t,r){"use strict";r.r(t);var n=r(14),c=r.n(n),a=r(13),o=r.n(a),i=r(16),s=r.n(i),l=r(17),m=r.n(l),u=r(6),d=r.n(u),f=r(0),p=r(3),b=r(72),_=r(270),y=r(24),O=r(90),h=r.n(O),v=r(1),j=r.n(v),E=r(40),g=r.n(E),w=r(2),N=r(68),R=r(32),S=r(33),k=r(41),T=r(61),x=r(730),A=r(727),C=r(37),L=r.n(C),q=r(60),D=r.n(q),P=r(4),F=r.n(P),I=(r(886),function(e){var t=e.href,r=e.type,n=e.className,c=e.children,a=D()(e,["href","type","className","children"]),o=F()("woocommerce-layout__activity-panel-outbound-link",n);return Object(f.createElement)(N.Link,L()({href:t,type:r,className:o},a),c,Object(f.createElement)(h.a,{icon:"arrow-right"}))});I.propTypes={href:j.a.string.isRequired,type:j.a.oneOf(["wp-admin","wc-admin","external"]).isRequired,className:j.a.string},I.defaultProps={type:"wp-admin"};var M=I,U=r(415),Y=r(718);function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var c=d()(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return m()(this,r)}}var B=function(e){s()(r,e);var t=z(r);function r(){return c()(this,r),t.apply(this,arguments)}return o()(r,[{key:"recordOrderEvent",value:function(e){Object(T.recordEvent)("activity_panel_orders_".concat(e),{})}},{key:"renderEmptyCard",value:function(){var e=this;return this.props.hasNonActionableOrders?Object(f.createElement)(x.a,{className:"woocommerce-empty-activity-card",title:Object(p.__)("You have no orders to fulfill","woocommerce-admin"),icon:Object(f.createElement)(h.a,{icon:"checkmark",size:48})},Object(p.__)("Good job, you've fulfilled all of your new orders!","woocommerce-admin")):Object(f.createElement)(x.a,{className:"woocommerce-empty-activity-card",title:Object(p.__)("You have no orders to fulfill","woocommerce-admin"),icon:Object(f.createElement)(h.a,{icon:"time",size:48}),actions:Object(f.createElement)(b.a,{href:"https://docs.woocommerce.com/document/managing-orders/",isSecondary:!0,onClick:function(){return e.recordOrderEvent("learn_more")},target:"_blank"},Object(p.__)("Learn more","woocommerce-admin"))},Object(p.__)("You're still waiting for your customers to make their first orders. While you wait why not learn how to manage orders?","woocommerce-admin"))}},{key:"renderOrders",value:function(){var e=this,t=this.props.orders,r=this.context;if(0===t.length)return this.renderEmptyCard();var n=function(e){var t=(e.extended_info||{}).customer||{},r=t.first_name,n=t.last_name;if(!r&&!n)return"";var c=[r,n].join(" ");return Object(p.sprintf)(Object(p.__)("placed by {{customerLink}}%(customerName)s{{/customerLink}}","woocommerce-admin"),{customerName:c})},c=function(t){var r=t.extended_info,c=t.order_id,a=t.order_number,o=(r||{}).customer,i=o.customer_id?Object(R.getNewPath)({},"/analytics/customers",{filter:"single_customer",customers:o.customer_id}):null;return Object(f.createElement)(f.Fragment,null,g()({mixedString:Object(p.sprintf)(Object(p.__)("Order {{orderLink}}#%(orderNumber)s{{/orderLink}} %(customerString)s {{destinationFlag/}}","woocommerce-admin"),{orderNumber:a,customerString:n(t)}),components:{orderLink:Object(f.createElement)(N.Link,{href:Object(S.f)("post.php?action=edit&post="+c),onClick:function(){return e.recordOrderEvent("order_number")},type:"wp-admin"}),destinationFlag:o.country?Object(f.createElement)(N.Flag,{code:o.country,round:!1}):null,customerLink:i?Object(f.createElement)(N.Link,{href:i,onClick:function(){return e.recordOrderEvent("customer_name")},type:"wc-admin"}):Object(f.createElement)("span",null)}}))},a=[];return t.forEach((function(t){var n=t.extended_info||{},o=n&&n.products?n.products.length:0,i=t.total_sales;a.push(Object(f.createElement)(x.a,{key:t.order_id,className:"woocommerce-order-activity-card",title:c(t),date:t.date_created_gmt,subtitle:Object(f.createElement)("div",null,Object(f.createElement)("span",null,Object(p.sprintf)(Object(p._n)("%d product","%d products",o,"woocommerce-admin"),o)),Object(f.createElement)("span",null,r.formatAmount(i))),actions:Object(f.createElement)(b.a,{isSecondary:!0,href:Object(S.f)("post.php?action=edit&post="+t.order_id),onClick:function(){return e.recordOrderEvent("orders_begin_fulfillment")}},Object(p.__)("Begin fulfillment"))},Object(f.createElement)(N.OrderStatus,{order:t,orderStatusMap:Object(S.g)("orderStatuses",{})})))})),Object(f.createElement)(f.Fragment,null,a,Object(f.createElement)(M,{href:"edit.php?post_type=shop_order",onClick:function(){return e.recordOrderEvent("orders_manage")}},Object(p.__)("Manage all orders","woocommerce-admin")))}},{key:"render",value:function(){var e=this.props,t=e.orders,r=e.isRequesting,n=e.isError,c=e.orderStatuses;if(n){if(!c.length)return Object(f.createElement)(N.EmptyContent,{title:Object(p.__)("You currently don't have any actionable statuses. To display orders here, select orders that require further review in settings.","woocommerce-admin"),actionLabel:Object(p.__)("Settings","woocommerce-admin"),actionURL:Object(S.f)("admin.php?page=wc-admin&path=/analytics/settings")});var a=Object(p.__)("There was an error getting your orders. Please try again.","woocommerce-admin"),o=Object(p.__)("Reload","woocommerce-admin");return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(N.EmptyContent,{title:a,actionLabel:o,actionURL:null,actionCallback:function(){window.location.reload()}}))}var i=r||t.length?Object(p.__)("Orders","woocommerce-admin"):Object(p.__)("No orders to fulfill","woocommerce-admin");return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(A.a,{title:i}),Object(f.createElement)(N.Section,null,r?Object(f.createElement)(x.b,{className:"woocommerce-order-activity-card",hasAction:!0,hasDate:!0,lines:2}):this.renderOrders()))}}]),r}(f.Component);B.propTypes={orders:j.a.array.isRequired,isError:j.a.bool,isRequesting:j.a.bool},B.defaultProps={orders:[],isError:!1,isRequesting:!1},B.contextType=Y.a;t.default=Object(_.a)(Object(y.withSelect)((function(e,t){var r=t.hasActionableOrders,n=e(k.ITEMS_STORE_NAME),c=n.getItems,a=n.getItemsError,o=n.getItemsTotalCount,i=e(k.REPORTS_STORE_NAME),s=i.getReportItems,l=i.getReportItemsError,m=i.isResolving,u=(0,e(k.SETTINGS_STORE_NAME).getSetting)("wc_admin","wcAdminSettings",{}).woocommerce_actionable_order_statuses,d=void 0===u?U.a:u;if(!d.length)return{orders:[],isError:!0,isRequesting:!1,orderStatuses:d};if(r){var f={page:1,per_page:k.QUERY_DEFAULTS.pageSize,status:d,_fields:["id","date_created_gmt","status"]},p=Array.from(c("orders",f).values()),b=m("getItems",["orders",f]);if(b)return{isError:Boolean(a("orders",f)),isRequesting:b,orderStatuses:d};var _={page:1,per_page:k.QUERY_DEFAULTS.pageSize,extended_info:!0,order_includes:Object(w.map)(p,"id"),_fields:["order_id","order_number","status","data_created_gmt","total_sales","extended_info.customer","extended_info.products"]},y=s("orders",_).data,O=Boolean(l("orders",_)),h=m("getReportItems",["orders",_]),v=[];if(y&&y.length){var j=Object(w.keyBy)(p,"id");v=y.map((function(e){return Object(w.merge)({},e,j[e.order_id]||{})}))}return{orders:v,isError:O,isRequesting:h,orderStatuses:d}}var E={page:1,per_page:1,_fields:["id"]};return c("orders",E),{hasNonActionableOrders:o("orders",E)>0,isError:Boolean(a("orders",E)),isRequesting:m("getItems",["orders",E]),orderStatuses:d}})))(B)}}]);
dist/chunks/{12.d3d073fe29a28388f6d5.js → 12.1e3fd4a0eb677c221f97.js} RENAMED
@@ -904,7 +904,7 @@ module.exports = _asyncToGenerator;
904
 
905
  /***/ }),
906
 
907
- /***/ 914:
908
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
909
 
910
  "use strict";
904
 
905
  /***/ }),
906
 
907
+ /***/ 913:
908
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
909
 
910
  "use strict";
dist/chunks/{12.d3d073fe29a28388f6d5.min.js → 12.1e3fd4a0eb677c221f97.min.js} RENAMED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[12],{172:function(e,t,n){"use strict";var c=n(9),r=n(19),a=n(4),o=n.n(a),i=n(0);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}t.a=function(e){var t=e.as,n=void 0===t?"div":t,a=e.className,u=Object(r.a)(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,c=Object(r.a)(e,["as"]);return"function"==typeof c.children?c.children(c):Object(i.createElement)(n,c)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(c.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:n,className:o()("components-visually-hidden",a)},u))}},253:function(e,t,n){"use strict";var c=n(0),r=n(4),a=n.n(r),o=n(172);function i(e){var t=e.id,n=e.label,r=e.hideLabelFromVision,s=e.help,u=e.className,l=e.children;return Object(c.createElement)("div",{className:a()("components-base-control",u)},Object(c.createElement)("div",{className:"components-base-control__field"},n&&t&&(r?Object(c.createElement)(o.a,{as:"label",htmlFor:t},n):Object(c.createElement)("label",{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(r?Object(c.createElement)(o.a,{as:"label"},n):Object(c.createElement)(i.VisualLabel,null,n)),l),!!s&&Object(c.createElement)("p",{id:t+"__help",className:"components-base-control__help"},s))}i.VisualLabel=function(e){var t=e.className,n=e.children;return t=a()("components-base-control__label",t),Object(c.createElement)("span",{className:t},n)},t.a=i},66:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return m})),n.d(t,"g",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"f",(function(){return b})),n.d(t,"b",(function(){return y}));var c=n(9),r=n(28),a=n(2),o=n(3);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(a.includes)(["iPad","iPhone"],t)}var s=8,u=9,l=13,m=27,d=32,f=37,p=38,b=39,y=40,v="alt",h="ctrl",O="shift",j={primary:function(e){return e()?["meta"]:[h]},primaryShift:function(e){return e()?[O,"meta"]:[h,O]},primaryAlt:function(e){return e()?[v,"meta"]:[h,v]},secondary:function(e){return e()?[O,v,"meta"]:[h,O,v]},access:function(e){return e()?[h,v]:[O,v]},ctrl:function(){return[h]},alt:function(){return[v]},ctrlShift:function(){return[h,O]},shift:function(){return[O]},shiftAlt:function(){return[O,v]}},_=(Object(a.mapValues)(j,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(r.a)(e(n)),[t.toLowerCase()]).join("+")}})),Object(a.mapValues)(j,(function(e){return function(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,s=o(),u=(n={},Object(c.a)(n,v,s?"⌥":"Alt"),Object(c.a)(n,h,s?"^":"Ctrl"),Object(c.a)(n,"meta","⌘"),Object(c.a)(n,O,s?"⇧":"Shift"),n),l=e(o).reduce((function(e,t){var n=Object(a.get)(u,t,t);return[].concat(Object(r.a)(e),s?[n]:[n,"+"])}),[]),m=Object(a.capitalize)(t);return[].concat(Object(r.a)(l),[m])}})));Object(a.mapValues)(_,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e(t,n).join("")}})),Object(a.mapValues)(j,(function(e){return function(t){var n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,u=s(),l=(n={},Object(c.a)(n,O,"Shift"),Object(c.a)(n,"meta",u?"Command":"Control"),Object(c.a)(n,h,"Control"),Object(c.a)(n,v,u?"Option":"Alt"),Object(c.a)(n,",",Object(o.__)("Comma")),Object(c.a)(n,".",Object(o.__)("Period")),Object(c.a)(n,"`",Object(o.__)("Backtick")),n);return[].concat(Object(r.a)(e(s)),[t]).map((function(e){return Object(a.capitalize)(Object(a.get)(l,e,e))})).join(u?" ":" + ")}})),Object(a.mapValues)(j,(function(e){return function(t,n){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,r=e(c);return!!r.every((function(e){return t["".concat(e,"Key")]}))&&(n?t.key===n:Object(a.includes)(r,t.key.toLowerCase()))}}))},727:function(e,t,n){"use strict";var c=n(14),r=n.n(c),a=n(13),o=n.n(a),i=n(16),s=n.n(i),u=n(17),l=n.n(u),m=n(6),d=n.n(m),f=n(0),p=n(4),b=n.n(p),y=n(1),v=n.n(y),h=n(701),O=n(68);n(729);function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var r=d()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return l()(this,n)}}var _=function(e){s()(n,e);var t=j(n);function n(){return r()(this,n),t.apply(this,arguments)}return o()(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.menu,c=e.subtitle,r=e.title,a=e.unreadMessages,o=b()({"woocommerce-layout__inbox-panel-header":c,"woocommerce-layout__activity-panel-header":!c},t),i=a||0;return Object(f.createElement)("div",{className:o},Object(f.createElement)("div",{className:"woocommerce-layout__inbox-title"},Object(f.createElement)(h.a,{variant:"title.small"},r),Object(f.createElement)(h.a,{variant:"button"},i>0&&Object(f.createElement)("span",{className:"woocommerce-layout__inbox-badge"},a))),Object(f.createElement)("div",{className:"woocommerce-layout__inbox-subtitle"},c&&Object(f.createElement)(h.a,{variant:"body.small"},c)),n&&Object(f.createElement)("div",{className:"woocommerce-layout__activity-panel-header-menu"},n))}}]),n}(f.Component);_.propTypes={className:v.a.string,unreadMessages:v.a.number,title:v.a.string.isRequired,subtitle:v.a.string,menu:v.a.shape({type:v.a.oneOf([O.EllipsisMenu])})},t.a=_},729:function(e,t,n){},730:function(e,t,n){"use strict";n.d(t,"a",(function(){return R})),n.d(t,"b",(function(){return N}));var c=n(14),r=n.n(c),a=n(13),o=n.n(a),i=n(16),s=n.n(i),u=n(17),l=n.n(u),m=n(6),d=n.n(m),f=n(0),p=n(4),b=n.n(p),y=n(90),v=n.n(y),h=n(15),O=n.n(h),j=n(1),_=n.n(j),E=n(68),g=(n(731),n(2));function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var r=d()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return l()(this,n)}}var k=function(e){s()(n,e);var t=w(n);function n(){return r()(this,n),t.apply(this,arguments)}return o()(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.hasAction,c=e.hasDate,r=e.hasSubtitle,a=e.lines,o=b()("woocommerce-activity-card is-loading",t);return Object(f.createElement)("div",{className:o,"aria-hidden":!0},Object(f.createElement)("span",{className:"woocommerce-activity-card__icon"},Object(f.createElement)("span",{className:"is-placeholder"})),Object(f.createElement)("div",{className:"woocommerce-activity-card__header"},Object(f.createElement)("div",{className:"woocommerce-activity-card__title is-placeholder"}),r&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle is-placeholder"}),c&&Object(f.createElement)("div",{className:"woocommerce-activity-card__date"},Object(f.createElement)("span",{className:"is-placeholder"}))),Object(f.createElement)("div",{className:"woocommerce-activity-card__body"},Object(g.range)(a).map((function(e){return Object(f.createElement)("span",{className:"is-placeholder",key:e})}))),n&&Object(f.createElement)("div",{className:"woocommerce-activity-card__actions"},Object(f.createElement)("span",{className:"is-placeholder"})))}}]),n}(f.Component);k.propTypes={className:_.a.string,hasAction:_.a.bool,hasDate:_.a.bool,hasSubtitle:_.a.bool,lines:_.a.number},k.defaultProps={hasAction:!1,hasDate:!1,hasSubtitle:!1,lines:1};var N=k;function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var r=d()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return l()(this,n)}}var R=function(e){s()(n,e);var t=S(n);function n(){return r()(this,n),t.apply(this,arguments)}return o()(n,[{key:"render",value:function(){var e=this.props,t=e.actions,n=e.className,c=e.children,r=e.date,a=e.icon,o=e.subtitle,i=e.title,s=e.unread,u=b()("woocommerce-activity-card",n),l=Array.isArray(t)?t:[t];return Object(f.createElement)("section",{className:u},s&&Object(f.createElement)("span",{className:"woocommerce-activity-card__unread"}),a&&Object(f.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},a),Object(f.createElement)("header",{className:"woocommerce-activity-card__header"},Object(f.createElement)(E.H,{className:"woocommerce-activity-card__title"},i),o&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle"},o),r&&Object(f.createElement)("span",{className:"woocommerce-activity-card__date"},O.a.utc(r).fromNow())),Object(f.createElement)(E.Section,{className:"woocommerce-activity-card__body"},c),t&&Object(f.createElement)("footer",{className:"woocommerce-activity-card__actions"},l.map((function(e,t){return Object(f.cloneElement)(e,{key:t})}))))}}]),n}(f.Component);R.propTypes={actions:_.a.oneOfType([_.a.arrayOf(_.a.element),_.a.element]),className:_.a.string,children:_.a.node.isRequired,date:_.a.string,icon:_.a.node,subtitle:_.a.node,title:_.a.oneOfType([_.a.string,_.a.node]).isRequired,unread:_.a.bool},R.defaultProps={icon:Object(f.createElement)(v.a,{icon:"notice-outline",size:48}),unread:!1}},731:function(e,t,n){},86:function(e,t){function n(e,t,n,c,r,a,o){try{var i=e[a](o),s=i.value}catch(e){return void n(e)}i.done?t(s):Promise.resolve(s).then(c,r)}e.exports=function(e){return function(){var t=this,c=arguments;return new Promise((function(r,a){var o=e.apply(t,c);function i(e){n(o,r,a,i,s,"next",e)}function s(e){n(o,r,a,i,s,"throw",e)}i(void 0)}))}}},914:function(e,t,n){"use strict";n.r(t);var c=n(14),r=n.n(c),a=n(13),o=n.n(a),i=n(16),s=n.n(i),u=n(17),l=n.n(u),m=n(6),d=n.n(m),f=n(0),p=n(3),b=n(270),y=n(24),v=n(1),h=n.n(v),O=n(90),j=n.n(O),_=n(68),E=n(41),g=n(730),w=n(727),k=n(12),N=n.n(k),S=n(86),R=n.n(S),P=n(10),q=n.n(P),C=n(72),D=n(253),A=n(4),x=n.n(A),T=n(66),L=n(2),I=n(33),F=n(61);function M(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var r=d()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return l()(this,n)}}var V=function(e){s()(c,e);var t,n=M(c);function c(e){var t;return r()(this,c),(t=n.call(this,e)).state={quantity:e.product.stock_quantity,editing:!1,edited:!1},t.beginEdit=t.beginEdit.bind(q()(t)),t.cancelEdit=t.cancelEdit.bind(q()(t)),t.onQuantityChange=t.onQuantityChange.bind(q()(t)),t.handleKeyDown=t.handleKeyDown.bind(q()(t)),t.onSubmit=t.onSubmit.bind(q()(t)),t}return o()(c,[{key:"recordStockEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(F.recordEvent)("activity_panel_stock_".concat(e),t)}},{key:"beginEdit",value:function(){var e=this,t=this.props.product;this.setState({editing:!0,quantity:t.stock_quantity},(function(){e.quantityInput&&e.quantityInput.focus()})),this.recordStockEvent("update_stock")}},{key:"cancelEdit",value:function(){var e=this.props.product;this.setState({editing:!1,quantity:e.stock_quantity}),this.recordStockEvent("cancel")}},{key:"handleKeyDown",value:function(e){e.keyCode===T.d&&this.cancelEdit()}},{key:"onQuantityChange",value:function(e){this.setState({quantity:e.target.value})}},{key:"onSubmit",value:(t=R()(N.a.mark((function e(){var t,n,c,r,a;return N.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.product,c=t.updateProductStock,r=t.createNotice,a=this.state.quantity,this.setState({editing:!1,edited:!0}),e.next=5,c(n,a);case 5:e.sent.success?r("success",Object(p.sprintf)(Object(p.__)("%s stock updated.","woocommerce-admin"),n.name)):r("error",Object(p.sprintf)(Object(p.__)("%s stock could not be updated.","woocommerce-admin"),n.name)),this.recordStockEvent("save",{quantity:a});case 8:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"getActions",value:function(){return this.state.editing?[Object(f.createElement)(C.a,{key:"save",type:"submit",isPrimary:!0},Object(p.__)("Save","woocommerce-admin")),Object(f.createElement)(C.a,{key:"cancel",type:"reset"},Object(p.__)("Cancel","woocommerce-admin"))]:[Object(f.createElement)(C.a,{key:"update",isSecondary:!0,onClick:this.beginEdit},Object(p.__)("Update stock","woocommerce-admin"))]}},{key:"getBody",value:function(){var e=this,t=this.props.product,n=this.state,c=n.editing,r=n.quantity;return c?Object(f.createElement)(f.Fragment,null,Object(f.createElement)(D.a,{className:"woocommerce-stock-activity-card__edit-quantity"},Object(f.createElement)("input",{className:"components-text-control__input",type:"number",value:r,onKeyDown:this.handleKeyDown,onChange:this.onQuantityChange,ref:function(t){e.quantityInput=t}})),Object(f.createElement)("span",null,Object(p.__)("in stock","woocommerce-admin"))):Object(f.createElement)("span",{className:"woocommerce-stock-activity-card__stock-quantity"},Object(p.sprintf)(Object(p.__)("%d in stock","woocommerce-admin"),t.stock_quantity))}},{key:"render",value:function(){var e=this,t=this.props.product,n=this.state,c=n.edited,r=n.editing,a=Object(I.g)("notifyLowStockAmount",0),o=Number.isFinite(t.low_stock_amount)?t.low_stock_amount:a,i=t.stock_quantity<=o;if(!i&&!c)return null;var s=Object(f.createElement)(_.Link,{href:"post.php?action=edit&post="+(t.parent_id||t.id),onClick:function(){return e.recordStockEvent("product_name")},type:"wp-admin"},t.name),u=null;"variation"===t.type&&(u=Object.values(t.attributes).map((function(e){return e.option})).join(", "));var l=Object(L.get)(t,["images",0])||Object(L.get)(t,["image"]),m=x()("woocommerce-stock-activity-card__image-overlay__product",{"is-placeholder":!l||!l.src}),d=Object(f.createElement)("div",{className:"woocommerce-stock-activity-card__image-overlay"},Object(f.createElement)("div",{className:m},Object(f.createElement)(_.ProductImage,{product:t}))),p=x()("woocommerce-stock-activity-card",{"is-dimmed":!r&&!i}),b=Object(f.createElement)(g.a,{className:p,title:s,subtitle:u,icon:d,actions:this.getActions()},this.getBody());return r?Object(f.createElement)("form",{onReset:this.cancelEdit,onSubmit:this.onSubmit},b):b}}]),c}(f.Component),K=Object(b.a)(Object(y.withDispatch)((function(e){var t=e("core/notices").createNotice;return{updateProductStock:e(E.ITEMS_STORE_NAME).updateProductStock,createNotice:t}})))(V);function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var r=d()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return l()(this,n)}}var Q=function(e){s()(n,e);var t=z(n);function n(){return r()(this,n),t.apply(this,arguments)}return o()(n,[{key:"renderEmptyCard",value:function(){return Object(f.createElement)(g.a,{className:"woocommerce-empty-activity-card",title:Object(p.__)("Your stock is in good shape.","woocommerce-admin"),icon:Object(f.createElement)(j.a,{icon:"checkmark",size:48})},Object(p.__)("You currently have no products running low on stock.","woocommerce-admin"))}},{key:"renderProducts",value:function(){var e=this.props.products;return 0===e.length?this.renderEmptyCard():e.map((function(e){return Object(f.createElement)(K,{key:e.id,product:e})}))}},{key:"render",value:function(){var e=this.props,t=e.isError,n=e.isRequesting,c=e.products;if(t){var r=Object(p.__)("There was an error getting your low stock products. Please try again.","woocommerce-admin"),a=Object(p.__)("Reload","woocommerce-admin");return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(_.EmptyContent,{title:r,actionLabel:a,actionURL:null,actionCallback:function(){window.location.reload()}}))}var o=n||c.length>0?Object(p.__)("Stock","woocommerce-admin"):Object(p.__)("No products with low stock","woocommerce-admin");return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(w.a,{title:o}),Object(f.createElement)(_.Section,null,n?Object(f.createElement)(g.b,{className:"woocommerce-stock-activity-card",hasAction:!0,lines:1}):this.renderProducts()))}}]),n}(f.Component);Q.propTypes={products:h.a.array.isRequired,isError:h.a.bool,isRequesting:h.a.bool},Q.defaultProps={products:[],isError:!1,isRequesting:!1};t.default=Object(b.a)(Object(y.withSelect)((function(e){var t=e(E.ITEMS_STORE_NAME),n=t.getItems,c=t.getItemsError,r=t.isResolving,a={page:1,per_page:E.QUERY_DEFAULTS.pageSize,low_in_stock:!0,status:"publish"};return{products:Array.from(n("products",a).values()),isError:Boolean(c("products",a)),isRequesting:r("getItems",["products",a])}})))(Q)}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[12],{172:function(e,t,n){"use strict";var c=n(9),r=n(19),a=n(4),o=n.n(a),i=n(0);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}t.a=function(e){var t=e.as,n=void 0===t?"div":t,a=e.className,u=Object(r.a)(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,c=Object(r.a)(e,["as"]);return"function"==typeof c.children?c.children(c):Object(i.createElement)(n,c)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(c.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:n,className:o()("components-visually-hidden",a)},u))}},253:function(e,t,n){"use strict";var c=n(0),r=n(4),a=n.n(r),o=n(172);function i(e){var t=e.id,n=e.label,r=e.hideLabelFromVision,s=e.help,u=e.className,l=e.children;return Object(c.createElement)("div",{className:a()("components-base-control",u)},Object(c.createElement)("div",{className:"components-base-control__field"},n&&t&&(r?Object(c.createElement)(o.a,{as:"label",htmlFor:t},n):Object(c.createElement)("label",{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(r?Object(c.createElement)(o.a,{as:"label"},n):Object(c.createElement)(i.VisualLabel,null,n)),l),!!s&&Object(c.createElement)("p",{id:t+"__help",className:"components-base-control__help"},s))}i.VisualLabel=function(e){var t=e.className,n=e.children;return t=a()("components-base-control__label",t),Object(c.createElement)("span",{className:t},n)},t.a=i},66:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return m})),n.d(t,"g",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"f",(function(){return b})),n.d(t,"b",(function(){return y}));var c=n(9),r=n(28),a=n(2),o=n(3);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(a.includes)(["iPad","iPhone"],t)}var s=8,u=9,l=13,m=27,d=32,f=37,p=38,b=39,y=40,v="alt",h="ctrl",O="shift",j={primary:function(e){return e()?["meta"]:[h]},primaryShift:function(e){return e()?[O,"meta"]:[h,O]},primaryAlt:function(e){return e()?[v,"meta"]:[h,v]},secondary:function(e){return e()?[O,v,"meta"]:[h,O,v]},access:function(e){return e()?[h,v]:[O,v]},ctrl:function(){return[h]},alt:function(){return[v]},ctrlShift:function(){return[h,O]},shift:function(){return[O]},shiftAlt:function(){return[O,v]}},_=(Object(a.mapValues)(j,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(r.a)(e(n)),[t.toLowerCase()]).join("+")}})),Object(a.mapValues)(j,(function(e){return function(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,s=o(),u=(n={},Object(c.a)(n,v,s?"⌥":"Alt"),Object(c.a)(n,h,s?"^":"Ctrl"),Object(c.a)(n,"meta","⌘"),Object(c.a)(n,O,s?"⇧":"Shift"),n),l=e(o).reduce((function(e,t){var n=Object(a.get)(u,t,t);return[].concat(Object(r.a)(e),s?[n]:[n,"+"])}),[]),m=Object(a.capitalize)(t);return[].concat(Object(r.a)(l),[m])}})));Object(a.mapValues)(_,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e(t,n).join("")}})),Object(a.mapValues)(j,(function(e){return function(t){var n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,u=s(),l=(n={},Object(c.a)(n,O,"Shift"),Object(c.a)(n,"meta",u?"Command":"Control"),Object(c.a)(n,h,"Control"),Object(c.a)(n,v,u?"Option":"Alt"),Object(c.a)(n,",",Object(o.__)("Comma")),Object(c.a)(n,".",Object(o.__)("Period")),Object(c.a)(n,"`",Object(o.__)("Backtick")),n);return[].concat(Object(r.a)(e(s)),[t]).map((function(e){return Object(a.capitalize)(Object(a.get)(l,e,e))})).join(u?" ":" + ")}})),Object(a.mapValues)(j,(function(e){return function(t,n){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,r=e(c);return!!r.every((function(e){return t["".concat(e,"Key")]}))&&(n?t.key===n:Object(a.includes)(r,t.key.toLowerCase()))}}))},727:function(e,t,n){"use strict";var c=n(14),r=n.n(c),a=n(13),o=n.n(a),i=n(16),s=n.n(i),u=n(17),l=n.n(u),m=n(6),d=n.n(m),f=n(0),p=n(4),b=n.n(p),y=n(1),v=n.n(y),h=n(701),O=n(68);n(729);function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var r=d()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return l()(this,n)}}var _=function(e){s()(n,e);var t=j(n);function n(){return r()(this,n),t.apply(this,arguments)}return o()(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.menu,c=e.subtitle,r=e.title,a=e.unreadMessages,o=b()({"woocommerce-layout__inbox-panel-header":c,"woocommerce-layout__activity-panel-header":!c},t),i=a||0;return Object(f.createElement)("div",{className:o},Object(f.createElement)("div",{className:"woocommerce-layout__inbox-title"},Object(f.createElement)(h.a,{variant:"title.small"},r),Object(f.createElement)(h.a,{variant:"button"},i>0&&Object(f.createElement)("span",{className:"woocommerce-layout__inbox-badge"},a))),Object(f.createElement)("div",{className:"woocommerce-layout__inbox-subtitle"},c&&Object(f.createElement)(h.a,{variant:"body.small"},c)),n&&Object(f.createElement)("div",{className:"woocommerce-layout__activity-panel-header-menu"},n))}}]),n}(f.Component);_.propTypes={className:v.a.string,unreadMessages:v.a.number,title:v.a.string.isRequired,subtitle:v.a.string,menu:v.a.shape({type:v.a.oneOf([O.EllipsisMenu])})},t.a=_},729:function(e,t,n){},730:function(e,t,n){"use strict";n.d(t,"a",(function(){return R})),n.d(t,"b",(function(){return N}));var c=n(14),r=n.n(c),a=n(13),o=n.n(a),i=n(16),s=n.n(i),u=n(17),l=n.n(u),m=n(6),d=n.n(m),f=n(0),p=n(4),b=n.n(p),y=n(90),v=n.n(y),h=n(15),O=n.n(h),j=n(1),_=n.n(j),E=n(68),g=(n(731),n(2));function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var r=d()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return l()(this,n)}}var k=function(e){s()(n,e);var t=w(n);function n(){return r()(this,n),t.apply(this,arguments)}return o()(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.hasAction,c=e.hasDate,r=e.hasSubtitle,a=e.lines,o=b()("woocommerce-activity-card is-loading",t);return Object(f.createElement)("div",{className:o,"aria-hidden":!0},Object(f.createElement)("span",{className:"woocommerce-activity-card__icon"},Object(f.createElement)("span",{className:"is-placeholder"})),Object(f.createElement)("div",{className:"woocommerce-activity-card__header"},Object(f.createElement)("div",{className:"woocommerce-activity-card__title is-placeholder"}),r&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle is-placeholder"}),c&&Object(f.createElement)("div",{className:"woocommerce-activity-card__date"},Object(f.createElement)("span",{className:"is-placeholder"}))),Object(f.createElement)("div",{className:"woocommerce-activity-card__body"},Object(g.range)(a).map((function(e){return Object(f.createElement)("span",{className:"is-placeholder",key:e})}))),n&&Object(f.createElement)("div",{className:"woocommerce-activity-card__actions"},Object(f.createElement)("span",{className:"is-placeholder"})))}}]),n}(f.Component);k.propTypes={className:_.a.string,hasAction:_.a.bool,hasDate:_.a.bool,hasSubtitle:_.a.bool,lines:_.a.number},k.defaultProps={hasAction:!1,hasDate:!1,hasSubtitle:!1,lines:1};var N=k;function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var r=d()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return l()(this,n)}}var R=function(e){s()(n,e);var t=S(n);function n(){return r()(this,n),t.apply(this,arguments)}return o()(n,[{key:"render",value:function(){var e=this.props,t=e.actions,n=e.className,c=e.children,r=e.date,a=e.icon,o=e.subtitle,i=e.title,s=e.unread,u=b()("woocommerce-activity-card",n),l=Array.isArray(t)?t:[t];return Object(f.createElement)("section",{className:u},s&&Object(f.createElement)("span",{className:"woocommerce-activity-card__unread"}),a&&Object(f.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},a),Object(f.createElement)("header",{className:"woocommerce-activity-card__header"},Object(f.createElement)(E.H,{className:"woocommerce-activity-card__title"},i),o&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle"},o),r&&Object(f.createElement)("span",{className:"woocommerce-activity-card__date"},O.a.utc(r).fromNow())),Object(f.createElement)(E.Section,{className:"woocommerce-activity-card__body"},c),t&&Object(f.createElement)("footer",{className:"woocommerce-activity-card__actions"},l.map((function(e,t){return Object(f.cloneElement)(e,{key:t})}))))}}]),n}(f.Component);R.propTypes={actions:_.a.oneOfType([_.a.arrayOf(_.a.element),_.a.element]),className:_.a.string,children:_.a.node.isRequired,date:_.a.string,icon:_.a.node,subtitle:_.a.node,title:_.a.oneOfType([_.a.string,_.a.node]).isRequired,unread:_.a.bool},R.defaultProps={icon:Object(f.createElement)(v.a,{icon:"notice-outline",size:48}),unread:!1}},731:function(e,t,n){},86:function(e,t){function n(e,t,n,c,r,a,o){try{var i=e[a](o),s=i.value}catch(e){return void n(e)}i.done?t(s):Promise.resolve(s).then(c,r)}e.exports=function(e){return function(){var t=this,c=arguments;return new Promise((function(r,a){var o=e.apply(t,c);function i(e){n(o,r,a,i,s,"next",e)}function s(e){n(o,r,a,i,s,"throw",e)}i(void 0)}))}}},913:function(e,t,n){"use strict";n.r(t);var c=n(14),r=n.n(c),a=n(13),o=n.n(a),i=n(16),s=n.n(i),u=n(17),l=n.n(u),m=n(6),d=n.n(m),f=n(0),p=n(3),b=n(270),y=n(24),v=n(1),h=n.n(v),O=n(90),j=n.n(O),_=n(68),E=n(41),g=n(730),w=n(727),k=n(12),N=n.n(k),S=n(86),R=n.n(S),P=n(10),q=n.n(P),C=n(72),D=n(253),A=n(4),x=n.n(A),T=n(66),L=n(2),I=n(33),F=n(61);function M(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var r=d()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return l()(this,n)}}var V=function(e){s()(c,e);var t,n=M(c);function c(e){var t;return r()(this,c),(t=n.call(this,e)).state={quantity:e.product.stock_quantity,editing:!1,edited:!1},t.beginEdit=t.beginEdit.bind(q()(t)),t.cancelEdit=t.cancelEdit.bind(q()(t)),t.onQuantityChange=t.onQuantityChange.bind(q()(t)),t.handleKeyDown=t.handleKeyDown.bind(q()(t)),t.onSubmit=t.onSubmit.bind(q()(t)),t}return o()(c,[{key:"recordStockEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(F.recordEvent)("activity_panel_stock_".concat(e),t)}},{key:"beginEdit",value:function(){var e=this,t=this.props.product;this.setState({editing:!0,quantity:t.stock_quantity},(function(){e.quantityInput&&e.quantityInput.focus()})),this.recordStockEvent("update_stock")}},{key:"cancelEdit",value:function(){var e=this.props.product;this.setState({editing:!1,quantity:e.stock_quantity}),this.recordStockEvent("cancel")}},{key:"handleKeyDown",value:function(e){e.keyCode===T.d&&this.cancelEdit()}},{key:"onQuantityChange",value:function(e){this.setState({quantity:e.target.value})}},{key:"onSubmit",value:(t=R()(N.a.mark((function e(){var t,n,c,r,a;return N.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.product,c=t.updateProductStock,r=t.createNotice,a=this.state.quantity,this.setState({editing:!1,edited:!0}),e.next=5,c(n,a);case 5:e.sent.success?r("success",Object(p.sprintf)(Object(p.__)("%s stock updated.","woocommerce-admin"),n.name)):r("error",Object(p.sprintf)(Object(p.__)("%s stock could not be updated.","woocommerce-admin"),n.name)),this.recordStockEvent("save",{quantity:a});case 8:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"getActions",value:function(){return this.state.editing?[Object(f.createElement)(C.a,{key:"save",type:"submit",isPrimary:!0},Object(p.__)("Save","woocommerce-admin")),Object(f.createElement)(C.a,{key:"cancel",type:"reset"},Object(p.__)("Cancel","woocommerce-admin"))]:[Object(f.createElement)(C.a,{key:"update",isSecondary:!0,onClick:this.beginEdit},Object(p.__)("Update stock","woocommerce-admin"))]}},{key:"getBody",value:function(){var e=this,t=this.props.product,n=this.state,c=n.editing,r=n.quantity;return c?Object(f.createElement)(f.Fragment,null,Object(f.createElement)(D.a,{className:"woocommerce-stock-activity-card__edit-quantity"},Object(f.createElement)("input",{className:"components-text-control__input",type:"number",value:r,onKeyDown:this.handleKeyDown,onChange:this.onQuantityChange,ref:function(t){e.quantityInput=t}})),Object(f.createElement)("span",null,Object(p.__)("in stock","woocommerce-admin"))):Object(f.createElement)("span",{className:"woocommerce-stock-activity-card__stock-quantity"},Object(p.sprintf)(Object(p.__)("%d in stock","woocommerce-admin"),t.stock_quantity))}},{key:"render",value:function(){var e=this,t=this.props.product,n=this.state,c=n.edited,r=n.editing,a=Object(I.g)("notifyLowStockAmount",0),o=Number.isFinite(t.low_stock_amount)?t.low_stock_amount:a,i=t.stock_quantity<=o;if(!i&&!c)return null;var s=Object(f.createElement)(_.Link,{href:"post.php?action=edit&post="+(t.parent_id||t.id),onClick:function(){return e.recordStockEvent("product_name")},type:"wp-admin"},t.name),u=null;"variation"===t.type&&(u=Object.values(t.attributes).map((function(e){return e.option})).join(", "));var l=Object(L.get)(t,["images",0])||Object(L.get)(t,["image"]),m=x()("woocommerce-stock-activity-card__image-overlay__product",{"is-placeholder":!l||!l.src}),d=Object(f.createElement)("div",{className:"woocommerce-stock-activity-card__image-overlay"},Object(f.createElement)("div",{className:m},Object(f.createElement)(_.ProductImage,{product:t}))),p=x()("woocommerce-stock-activity-card",{"is-dimmed":!r&&!i}),b=Object(f.createElement)(g.a,{className:p,title:s,subtitle:u,icon:d,actions:this.getActions()},this.getBody());return r?Object(f.createElement)("form",{onReset:this.cancelEdit,onSubmit:this.onSubmit},b):b}}]),c}(f.Component),K=Object(b.a)(Object(y.withDispatch)((function(e){var t=e("core/notices").createNotice;return{updateProductStock:e(E.ITEMS_STORE_NAME).updateProductStock,createNotice:t}})))(V);function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var r=d()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return l()(this,n)}}var Q=function(e){s()(n,e);var t=z(n);function n(){return r()(this,n),t.apply(this,arguments)}return o()(n,[{key:"renderEmptyCard",value:function(){return Object(f.createElement)(g.a,{className:"woocommerce-empty-activity-card",title:Object(p.__)("Your stock is in good shape.","woocommerce-admin"),icon:Object(f.createElement)(j.a,{icon:"checkmark",size:48})},Object(p.__)("You currently have no products running low on stock.","woocommerce-admin"))}},{key:"renderProducts",value:function(){var e=this.props.products;return 0===e.length?this.renderEmptyCard():e.map((function(e){return Object(f.createElement)(K,{key:e.id,product:e})}))}},{key:"render",value:function(){var e=this.props,t=e.isError,n=e.isRequesting,c=e.products;if(t){var r=Object(p.__)("There was an error getting your low stock products. Please try again.","woocommerce-admin"),a=Object(p.__)("Reload","woocommerce-admin");return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(_.EmptyContent,{title:r,actionLabel:a,actionURL:null,actionCallback:function(){window.location.reload()}}))}var o=n||c.length>0?Object(p.__)("Stock","woocommerce-admin"):Object(p.__)("No products with low stock","woocommerce-admin");return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(w.a,{title:o}),Object(f.createElement)(_.Section,null,n?Object(f.createElement)(g.b,{className:"woocommerce-stock-activity-card",hasAction:!0,lines:1}):this.renderProducts()))}}]),n}(f.Component);Q.propTypes={products:h.a.array.isRequired,isError:h.a.bool,isRequesting:h.a.bool},Q.defaultProps={products:[],isError:!1,isRequesting:!1};t.default=Object(b.a)(Object(y.withSelect)((function(e){var t=e(E.ITEMS_STORE_NAME),n=t.getItems,c=t.getItemsError,r=t.isResolving,a={page:1,per_page:E.QUERY_DEFAULTS.pageSize,low_in_stock:!0,status:"publish"};return{products:Array.from(n("products",a).values()),isError:Boolean(c("products",a)),isRequesting:r("getItems",["products",a])}})))(Q)}}]);
dist/chunks/{14.923b981e22307e59a68a.js → 14.57ecb260ced16ea3d9cd.js} RENAMED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[14],{
2
 
3
- /***/ 703:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[14],{
2
 
3
+ /***/ 704:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
dist/chunks/{14.923b981e22307e59a68a.min.js → 14.57ecb260ced16ea3d9cd.min.js} RENAMED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[14],{703:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return z}));var o=r(5),c=r.n(o),a=r(14),n=r.n(a),i=r(13),s=r.n(i),l=r(16),m=r.n(l),u=r(17),d=r.n(u),g=r(6),p=r.n(g),b=r(0),y=r(1),_=r.n(y),f=r(3),O=r(49),h=r(720),j=Object(O.applyFilters)("woocommerce_admin_categories_report_charts",[{key:"items_sold",label:Object(f.__)("Items Sold","woocommerce-admin"),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(f.__)("Net Sales","woocommerce-admin"),order:"desc",orderby:"net_revenue",type:"currency"},{key:"orders_count",label:Object(f.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),v=Object(O.applyFilters)("woocommerce_admin_categories_report_filters",[{label:Object(f.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(f.__)("All Categories","woocommerce-admin"),value:"all"},{label:Object(f.__)("Single Category","woocommerce-admin"),value:"select_category",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_category",chartMode:"item-comparison",path:["select_category"],settings:{type:"categories",param:"categories",getLabels:h.a,labels:{placeholder:Object(f.__)("Type to search for a category","woocommerce-admin"),button:Object(f.__)("Single Category","woocommerce-admin")}}}]},{label:Object(f.__)("Comparison","woocommerce-admin"),value:"compare-categories",chartMode:"item-comparison",settings:{type:"categories",param:"categories",getLabels:h.a,labels:{helpText:Object(f.__)("Check at least two categories below to compare","woocommerce-admin"),placeholder:Object(f.__)("Search for categories to compare","woocommerce-admin"),title:Object(f.__)("Compare Categories","woocommerce-admin"),update:Object(f.__)("Compare","woocommerce-admin")}}}]}]),w=Object(O.applyFilters)("woocommerce_admin_category_report_advanced_filters",{}),C=r(10),S=r.n(C),R=r(270),q=r(24),k=r(2),P=r(32),E=r(68),F=r(274),D=r(41),x=r(760),N=r(728),T=r(718);function V(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=p()(e);if(t){var c=p()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return d()(this,r)}}var I=function(e){m()(r,e);var t=V(r);function r(e){var o;return n()(this,r),(o=t.call(this,e)).getRowsContent=o.getRowsContent.bind(S()(o)),o.getSummary=o.getSummary.bind(S()(o)),o}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(f.__)("Category","woocommerce-admin"),key:"category",required:!0,isSortable:!0,isLeftAligned:!0},{label:Object(f.__)("Items Sold","woocommerce-admin"),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(f.__)("Net Sales","woocommerce-admin"),key:"net_revenue",isSortable:!0,isNumeric:!0},{label:Object(f.__)("Products","woocommerce-admin"),key:"products_count",isSortable:!0,isNumeric:!0},{label:Object(f.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.context,o=r.render,c=r.formatDecimal,a=(0,r.getCurrencyConfig)();return Object(k.map)(e,(function(e){var r=e.category_id,n=e.items_sold,i=e.net_revenue,s=e.products_count,l=e.orders_count,m=t.props,u=m.categories,d=m.query,g=u.get(r),p=Object(P.getPersistedQuery)(d);return[{display:Object(b.createElement)(x.a,{query:d,category:g,categories:u}),value:g&&g.name},{display:Object(F.formatValue)(a,"number",n),value:n},{display:o(i),value:c(i)},{display:g&&Object(b.createElement)(E.Link,{href:Object(P.getNewPath)(p,"/analytics/categories",{filter:"single_category",categories:g.id}),type:"wc-admin"},Object(F.formatValue)(a,"number",s)),value:s},{display:Object(F.formatValue)(a,"number",l),value:l}]}))}},{key:"getSummary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.items_sold,o=void 0===r?0:r,c=e.net_revenue,a=void 0===c?0:c,n=e.orders_count,i=void 0===n?0:n,s=this.context,l=s.formatAmount,m=s.getCurrencyConfig,u=m();return[{label:Object(f._n)("category","categories",t,"woocommerce-admin"),value:Object(F.formatValue)(u,"number",t)},{label:Object(f._n)("item sold","items sold",o,"woocommerce-admin"),value:Object(F.formatValue)(u,"number",o)},{label:Object(f.__)("net sales","woocommerce-admin"),value:l(a)},{label:Object(f._n)("order","orders",i,"woocommerce-admin"),value:Object(F.formatValue)(u,"number",i)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,o=e.isRequesting,c=e.query,a={helpText:Object(f.__)("Check at least two categories below to compare","woocommerce-admin"),placeholder:Object(f.__)("Search by category name","woocommerce-admin")};return Object(b.createElement)(N.a,{compareBy:"categories",endpoint:"categories",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["items_sold","net_revenue","orders_count"],isRequesting:o,itemIdField:"category_id",query:c,searchBy:"categories",labels:a,tableQuery:{orderby:c.orderby||"items_sold",order:c.order||"desc",extended_info:!0},title:Object(f.__)("Categories","woocommerce-admin"),columnPrefsKey:"categories_report_columns",filters:r,advancedFilters:t})}}]),r}(b.Component);I.contextType=T.a;var L=Object(R.a)(Object(q.withSelect)((function(e,t){var r=t.isRequesting,o=t.query;if(r||o.search&&(!o.categories||!o.categories.length))return{};var c=e(D.ITEMS_STORE_NAME),a=c.getItems,n=c.getItemsError,i=c.isResolving,s={per_page:-1};return{categories:a("categories",s),isError:Boolean(n("categories",s)),isRequesting:i("getItems",["categories",s])}})))(I),M=r(723),A=r(722),B=r(724),H=r(759),Q=r(725);function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function K(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=p()(e);if(t){var c=p()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return d()(this,r)}}var z=function(e){m()(r,e);var t=K(r);function r(){return n()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e=this.props.query,t="compare-categories"===e.filter&&e.categories&&e.categories.split(",").length>1,r="single_category"===e.filter&&!!e.categories,o=t||r?"item-comparison":"time-comparison";return{isSingleCategoryView:r,itemsLabel:r?Object(f.__)("%d products","woocommerce-admin"):Object(f.__)("%d categories","woocommerce-admin"),mode:o}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.path,a=this.getChartMeta(),n=a.mode,i=a.itemsLabel,s=a.isSingleCategoryView,l=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===n&&(l.segmentby=s?"product":"category"),Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Q.a,{query:r,path:o,filters:v,advancedFilters:w,report:"categories"}),Object(b.createElement)(B.a,{charts:j,endpoint:"products",isRequesting:t,limitProperties:s?["products","categories"]:["categories"],query:l,selectedChart:Object(M.a)(r.chart,j),filters:v,advancedFilters:w,report:"categories"}),Object(b.createElement)(A.a,{charts:j,filters:v,advancedFilters:w,mode:n,endpoint:"products",limitProperties:s?["products","categories"]:["categories"],path:o,query:l,isRequesting:t,itemsLabel:i,selectedChart:Object(M.a)(r.chart,j)}),s?Object(b.createElement)(H.a,{isRequesting:t,query:l,baseSearchQuery:{filter:"single_category"},hideCompare:s,filters:v,advancedFilters:w}):Object(b.createElement)(L,{isRequesting:t,query:r,filters:v,advancedFilters:w}))}}]),r}(b.Component);z.propTypes={query:_.a.object.isRequired,path:_.a.string.isRequired}}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[14],{704:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return z}));var o=r(5),c=r.n(o),a=r(14),n=r.n(a),i=r(13),s=r.n(i),l=r(16),m=r.n(l),u=r(17),d=r.n(u),g=r(6),p=r.n(g),b=r(0),y=r(1),_=r.n(y),f=r(3),O=r(49),h=r(720),j=Object(O.applyFilters)("woocommerce_admin_categories_report_charts",[{key:"items_sold",label:Object(f.__)("Items Sold","woocommerce-admin"),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(f.__)("Net Sales","woocommerce-admin"),order:"desc",orderby:"net_revenue",type:"currency"},{key:"orders_count",label:Object(f.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),v=Object(O.applyFilters)("woocommerce_admin_categories_report_filters",[{label:Object(f.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(f.__)("All Categories","woocommerce-admin"),value:"all"},{label:Object(f.__)("Single Category","woocommerce-admin"),value:"select_category",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_category",chartMode:"item-comparison",path:["select_category"],settings:{type:"categories",param:"categories",getLabels:h.a,labels:{placeholder:Object(f.__)("Type to search for a category","woocommerce-admin"),button:Object(f.__)("Single Category","woocommerce-admin")}}}]},{label:Object(f.__)("Comparison","woocommerce-admin"),value:"compare-categories",chartMode:"item-comparison",settings:{type:"categories",param:"categories",getLabels:h.a,labels:{helpText:Object(f.__)("Check at least two categories below to compare","woocommerce-admin"),placeholder:Object(f.__)("Search for categories to compare","woocommerce-admin"),title:Object(f.__)("Compare Categories","woocommerce-admin"),update:Object(f.__)("Compare","woocommerce-admin")}}}]}]),w=Object(O.applyFilters)("woocommerce_admin_category_report_advanced_filters",{}),C=r(10),S=r.n(C),R=r(270),q=r(24),k=r(2),P=r(32),E=r(68),F=r(274),D=r(41),x=r(760),N=r(728),T=r(718);function V(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=p()(e);if(t){var c=p()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return d()(this,r)}}var I=function(e){m()(r,e);var t=V(r);function r(e){var o;return n()(this,r),(o=t.call(this,e)).getRowsContent=o.getRowsContent.bind(S()(o)),o.getSummary=o.getSummary.bind(S()(o)),o}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(f.__)("Category","woocommerce-admin"),key:"category",required:!0,isSortable:!0,isLeftAligned:!0},{label:Object(f.__)("Items Sold","woocommerce-admin"),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(f.__)("Net Sales","woocommerce-admin"),key:"net_revenue",isSortable:!0,isNumeric:!0},{label:Object(f.__)("Products","woocommerce-admin"),key:"products_count",isSortable:!0,isNumeric:!0},{label:Object(f.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.context,o=r.render,c=r.formatDecimal,a=(0,r.getCurrencyConfig)();return Object(k.map)(e,(function(e){var r=e.category_id,n=e.items_sold,i=e.net_revenue,s=e.products_count,l=e.orders_count,m=t.props,u=m.categories,d=m.query,g=u.get(r),p=Object(P.getPersistedQuery)(d);return[{display:Object(b.createElement)(x.a,{query:d,category:g,categories:u}),value:g&&g.name},{display:Object(F.formatValue)(a,"number",n),value:n},{display:o(i),value:c(i)},{display:g&&Object(b.createElement)(E.Link,{href:Object(P.getNewPath)(p,"/analytics/categories",{filter:"single_category",categories:g.id}),type:"wc-admin"},Object(F.formatValue)(a,"number",s)),value:s},{display:Object(F.formatValue)(a,"number",l),value:l}]}))}},{key:"getSummary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.items_sold,o=void 0===r?0:r,c=e.net_revenue,a=void 0===c?0:c,n=e.orders_count,i=void 0===n?0:n,s=this.context,l=s.formatAmount,m=s.getCurrencyConfig,u=m();return[{label:Object(f._n)("category","categories",t,"woocommerce-admin"),value:Object(F.formatValue)(u,"number",t)},{label:Object(f._n)("item sold","items sold",o,"woocommerce-admin"),value:Object(F.formatValue)(u,"number",o)},{label:Object(f.__)("net sales","woocommerce-admin"),value:l(a)},{label:Object(f._n)("order","orders",i,"woocommerce-admin"),value:Object(F.formatValue)(u,"number",i)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,o=e.isRequesting,c=e.query,a={helpText:Object(f.__)("Check at least two categories below to compare","woocommerce-admin"),placeholder:Object(f.__)("Search by category name","woocommerce-admin")};return Object(b.createElement)(N.a,{compareBy:"categories",endpoint:"categories",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["items_sold","net_revenue","orders_count"],isRequesting:o,itemIdField:"category_id",query:c,searchBy:"categories",labels:a,tableQuery:{orderby:c.orderby||"items_sold",order:c.order||"desc",extended_info:!0},title:Object(f.__)("Categories","woocommerce-admin"),columnPrefsKey:"categories_report_columns",filters:r,advancedFilters:t})}}]),r}(b.Component);I.contextType=T.a;var L=Object(R.a)(Object(q.withSelect)((function(e,t){var r=t.isRequesting,o=t.query;if(r||o.search&&(!o.categories||!o.categories.length))return{};var c=e(D.ITEMS_STORE_NAME),a=c.getItems,n=c.getItemsError,i=c.isResolving,s={per_page:-1};return{categories:a("categories",s),isError:Boolean(n("categories",s)),isRequesting:i("getItems",["categories",s])}})))(I),M=r(723),A=r(722),B=r(724),H=r(759),Q=r(725);function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function K(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=p()(e);if(t){var c=p()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return d()(this,r)}}var z=function(e){m()(r,e);var t=K(r);function r(){return n()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e=this.props.query,t="compare-categories"===e.filter&&e.categories&&e.categories.split(",").length>1,r="single_category"===e.filter&&!!e.categories,o=t||r?"item-comparison":"time-comparison";return{isSingleCategoryView:r,itemsLabel:r?Object(f.__)("%d products","woocommerce-admin"):Object(f.__)("%d categories","woocommerce-admin"),mode:o}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.path,a=this.getChartMeta(),n=a.mode,i=a.itemsLabel,s=a.isSingleCategoryView,l=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===n&&(l.segmentby=s?"product":"category"),Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Q.a,{query:r,path:o,filters:v,advancedFilters:w,report:"categories"}),Object(b.createElement)(B.a,{charts:j,endpoint:"products",isRequesting:t,limitProperties:s?["products","categories"]:["categories"],query:l,selectedChart:Object(M.a)(r.chart,j),filters:v,advancedFilters:w,report:"categories"}),Object(b.createElement)(A.a,{charts:j,filters:v,advancedFilters:w,mode:n,endpoint:"products",limitProperties:s?["products","categories"]:["categories"],path:o,query:l,isRequesting:t,itemsLabel:i,selectedChart:Object(M.a)(r.chart,j)}),s?Object(b.createElement)(H.a,{isRequesting:t,query:l,baseSearchQuery:{filter:"single_category"},hideCompare:s,filters:v,advancedFilters:w}):Object(b.createElement)(L,{isRequesting:t,query:r,filters:v,advancedFilters:w}))}}]),r}(b.Component);z.propTypes={query:_.a.object.isRequired,path:_.a.string.isRequired}}}]);
dist/chunks/{15.572e1639820c8c18c276.js → 15.b43dc4898cfe64a80f40.js} RENAMED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[15],{
2
 
3
- /***/ 708:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -1198,8 +1198,10 @@ var ReportSummary = /*#__PURE__*/function (_Component) {
1198
  emptySearchResults = _this$props.emptySearchResults,
1199
  summaryData = _this$props.summaryData;
1200
  var totals = summaryData.totals;
1201
- var primaryValue = emptySearchResults ? 0 : totals.primary[key];
1202
- var secondaryValue = emptySearchResults ? 0 : totals.secondary[key];
 
 
1203
  return {
1204
  delta: Object(_woocommerce_number__WEBPACK_IMPORTED_MODULE_12__["calculateDelta"])(primaryValue, secondaryValue),
1205
  prevValue: this.formatVal(secondaryValue, type),
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[15],{
2
 
3
+ /***/ 709:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
1198
  emptySearchResults = _this$props.emptySearchResults,
1199
  summaryData = _this$props.summaryData;
1200
  var totals = summaryData.totals;
1201
+ var primaryTotal = totals.primary ? totals.primary[key] : 0;
1202
+ var secondaryTotal = totals.secondary ? totals.secondary[key] : 0;
1203
+ var primaryValue = emptySearchResults ? 0 : primaryTotal;
1204
+ var secondaryValue = emptySearchResults ? 0 : secondaryTotal;
1205
  return {
1206
  delta: Object(_woocommerce_number__WEBPACK_IMPORTED_MODULE_12__["calculateDelta"])(primaryValue, secondaryValue),
1207
  prevValue: this.formatVal(secondaryValue, type),
dist/chunks/{15.572e1639820c8c18c276.min.js → 15.b43dc4898cfe64a80f40.min.js} RENAMED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[15],{708:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return V}));var n=r(5),a=r.n(n),o=r(14),c=r.n(o),i=r(13),u=r.n(i),s=r(16),l=r.n(s),m=r(17),d=r.n(m),p=r(6),f=r.n(p),y=r(0),b=r(1),g=r.n(b),h=r(3),v=r(748),O=r(10),_=r.n(O),j=r(2),w=r(68),R=r(32),C=r(274),D=r(33),q=r(35),k=r(728),E=r(718);function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d()(this,r)}}var S=function(e){l()(r,e);var t=P(r);function r(){var e;return c()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(_()(e)),e.getRowsContent=e.getRowsContent.bind(_()(e)),e.getSummary=e.getSummary.bind(_()(e)),e}return u()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(h.__)("Coupon Code","woocommerce-admin"),key:"code",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(h.__)("Orders","woocommerce-admin"),key:"orders_count",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(h.__)("Amount Discounted","woocommerce-admin"),key:"amount",isSortable:!0,isNumeric:!0},{label:Object(h.__)("Created","woocommerce-admin"),key:"created"},{label:Object(h.__)("Expires","woocommerce-admin"),key:"expires"},{label:Object(h.__)("Type","woocommerce-admin"),key:"type"}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.props.query,n=Object(R.getPersistedQuery)(r),a=Object(D.g)("dateFormat",q.defaultTableDateFormat),o=this.context,c=o.formatAmount,i=o.formatDecimal,u=o.getCurrencyConfig;return Object(j.map)(e,(function(e){var r=e.amount,o=e.coupon_id,s=e.orders_count,l=e.extended_info||{},m=l.code,d=l.date_created,p=l.date_expires,f=l.discount_type,b=o>0?Object(R.getNewPath)(n,"/analytics/coupons",{filter:"single_coupon",coupons:o}):null,g=null===b?m:Object(y.createElement)(w.Link,{href:b,type:"wc-admin"},m),v=o>0?Object(R.getNewPath)(n,"/analytics/orders",{filter:"advanced",coupon_includes:o}):null;return[{display:g,value:m},{display:null===v?s:Object(y.createElement)(w.Link,{href:v,type:"wc-admin"},Object(C.formatValue)(u(),"number",s)),value:s},{display:c(r),value:i(r)},{display:d?Object(y.createElement)(w.Date,{date:d,visibleFormat:a}):Object(h.__)("N/A","woocommerce-admin"),value:d},{display:p?Object(y.createElement)(w.Date,{date:p,visibleFormat:a}):Object(h.__)("N/A","woocommerce-admin"),value:p},{display:t.getCouponType(f),value:f}]}))}},{key:"getSummary",value:function(e){var t=e.coupons_count,r=void 0===t?0:t,n=e.orders_count,a=void 0===n?0:n,o=e.amount,c=void 0===o?0:o,i=this.context,u=i.formatAmount,s=(0,i.getCurrencyConfig)();return[{label:Object(h._n)("coupon","coupons",r,"woocommerce-admin"),value:Object(C.formatValue)(s,"number",r)},{label:Object(h._n)("order","orders",a,"woocommerce-admin"),value:Object(C.formatValue)(s,"number",a)},{label:Object(h.__)("amount discounted","woocommerce-admin"),value:u(c)}]}},{key:"getCouponType",value:function(e){return{percent:Object(h.__)("Percentage","woocommerce-admin"),fixed_cart:Object(h.__)("Fixed cart","woocommerce-admin"),fixed_product:Object(h.__)("Fixed product","woocommerce-admin")}[e]||Object(h.__)("N/A","woocommerce-admin")}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,n=e.isRequesting,a=e.query;return Object(y.createElement)(k.a,{compareBy:"coupons",endpoint:"coupons",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["coupons_count","orders_count","amount"],isRequesting:n,itemIdField:"coupon_id",query:a,searchBy:"coupons",tableQuery:{orderby:a.orderby||"orders_count",order:a.order||"desc",extended_info:!0},title:Object(h.__)("Coupons","woocommerce-admin"),columnPrefsKey:"coupons_report_columns",filters:r,advancedFilters:t})}}]),r}(y.Component);S.contextType=E.a;var F=S,T=r(723),A=r(722),x=r(724),N=r(725);function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function M(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d()(this,r)}}var V=function(e){l()(r,e);var t=M(r);function r(){return c()(this,r),t.apply(this,arguments)}return u()(r,[{key:"getChartMeta",value:function(){var e=this.props.query,t="compare-coupons"===e.filter&&e.coupons&&e.coupons.split(",").length>1?"item-comparison":"time-comparison";return{itemsLabel:Object(h.__)("%d coupons","woocommerce-admin"),mode:t}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,n=e.path,o=this.getChartMeta(),c=o.mode,i=o.itemsLabel,u=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===c&&(u.segmentby="coupon"),Object(y.createElement)(y.Fragment,null,Object(y.createElement)(N.a,{query:r,path:n,filters:v.c,advancedFilters:v.a,report:"coupons"}),Object(y.createElement)(x.a,{charts:v.b,endpoint:"coupons",isRequesting:t,query:u,selectedChart:Object(T.a)(r.chart,v.b),filters:v.c,advancedFilters:v.a}),Object(y.createElement)(A.a,{charts:v.b,filters:v.c,advancedFilters:v.a,mode:c,endpoint:"coupons",path:n,query:u,isRequesting:t,itemsLabel:i,selectedChart:Object(T.a)(r.chart,v.b)}),Object(y.createElement)(F,{isRequesting:t,query:r,filters:v.c,advancedFilters:v.a}))}}]),r}(y.Component);V.propTypes={query:g.a.object.isRequired}},720:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return m})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return y})),r.d(t,"g",(function(){return b}));var n=r(36),a=r(42),o=r.n(a),c=r(2),i=r(32),u=r(41),s=r(721);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(a):e,u=Object(i.getIdsFromQuery)(r);if(u.length<1)return Promise.resolve([]);var s={include:u.join(","),per_page:u.length};return o()({path:Object(n.addQueryArgs)(c,s)}).then((function(e){return e.map(t)}))}}var m=l(u.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=l(u.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(u.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(u.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),y=l(u.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(s.a)(e)}})),b=l((function(e){return u.NAMESPACE+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.map((function(e){return e.option})).join(", ")}}))},721:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(3);function a(e){return[e.country,e.state,e.name||Object(n.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},722:function(e,t,r){"use strict";var n=r(5),a=r.n(n),o=r(14),c=r.n(o),i=r(13),u=r.n(i),s=r(16),l=r.n(s),m=r(17),d=r.n(m),p=r(6),f=r.n(p),y=r(0),b=r(3),g=r(270),h=r(137),v=r(24),O=r(2),_=r(1),j=r.n(_),w=r(68),R=r(41),C=r(35),D=r(718),q=r(719),k=r(32);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d()(this,r)}}var F=function(e){l()(r,e);var t=S(r);function r(){return c()(this,r),t.apply(this,arguments)}return u()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(O.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var n=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:n,value:e.subtotals[r.key]||0}}})),P({date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,n=e.secondaryData,a=e.selectedChart,o=e.defaultDateRange,c=Object(C.getIntervalForQuery)(t),i=Object(C.getCurrentDates)(t,o),u=i.primary,s=i.secondary;return r.data.intervals.map((function(e,r){var o=Object(C.getPreviousDate)(e.date_start,u.after,s.after,t.compare,c),i=n.data.intervals[r];return{date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:e.date_start,value:e.subtotals[a.key]||0},secondary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[a.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,n=e.selectedChart;return{primary:Object(O.get)(t,["data","totals",n.key],null),secondary:Object(O.get)(r,["data","totals",n.key],null)}}},{key:"renderChart",value:function(e,t,r,n){var a=this.props,o=a.emptySearchResults,c=a.filterParam,i=a.interactiveLegend,u=a.itemsLabel,s=a.legendPosition,l=a.path,m=a.query,d=a.selectedChart,p=a.showHeaderControls,f=a.primaryData,g=Object(C.getIntervalForQuery)(m),h=Object(C.getAllowedIntervalsForQuery)(m),v=Object(C.getDateFormatsForInterval)(g,f.data.intervals.length),O=o?Object(b.__)("No data for the current search","woocommerce-admin"):Object(b.__)("No data for the selected date range","woocommerce-admin"),_=this.context,j=_.formatAmount,D=_.getCurrencyConfig;return Object(y.createElement)(w.Chart,{allowedIntervals:h,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:O,filterParam:c,interactiveLegend:i,interval:g,isRequesting:t,itemsLabel:u,legendPosition:s,legendTotals:n,mode:e,path:l,query:m,screenReaderFormat:v.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:v.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(R.getTooltipValueFormat)(d.type,j),chartType:Object(C.getChartTypeForQuery)(m),valueType:d.type,xFormat:v.xFormat,x2Format:v.x2Format,currency:D()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(q.a,{isError:!0});var n=t||r.isRequesting,a=this.getItemChartData();return this.renderChart("item-comparison",n,a)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,n=e.secondaryData;if(!r||r.isError||n.isError)return Object(y.createElement)(q.a,{isError:!0});var a=t||r.isRequesting||n.isRequesting,o=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",a,o,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(y.Component);F.contextType=D.a,F.propTypes={filters:j.a.array,isRequesting:j.a.bool,itemsLabel:j.a.string,limitProperties:j.a.array,mode:j.a.string,path:j.a.string.isRequired,primaryData:j.a.object,query:j.a.object.isRequired,secondaryData:j.a.object,selectedChart:j.a.shape({key:j.a.string.isRequired,label:j.a.string.isRequired,order:j.a.oneOf(["asc","desc"]),orderby:j.a.string,type:j.a.oneOf(["average","number","currency"]).isRequired}).isRequired},F.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(g.a)(Object(v.withSelect)((function(e,t){var r=t.charts,n=t.endpoint,a=t.filters,o=t.isRequesting,c=t.limitProperties,i=t.query,u=t.advancedFilters,s=c||[n],l=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var a=t.slice(0),o=a.pop();if(o.showFilters(r,n)){var c=Object(k.flattenFilters)(o.filters),i=r[o.param]||o.defaultValue||"all";return Object(O.find)(c,{value:i})}return e(a,r,n)}(a,i),m=Object(O.get)(l,["settings","param"]),d=t.mode||function(e,t){if(e&&t){var r=Object(O.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(O.get)(e,["chartMode"])}return null}(l,i)||"time-comparison",p=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:d,filterParam:m,defaultDateRange:p};if(o)return f;var y=s.some((function(e){return i[e]&&i[e].length}));if(i.search&&!y)return P(P({},f),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),g=Object(R.getReportChartData)({endpoint:n,dataType:"primary",query:i,select:e,limitBy:s,filters:a,advancedFilters:u,defaultDateRange:p,fields:b});if("item-comparison"===d)return P(P({},f),{},{primaryData:g});var h=Object(R.getReportChartData)({endpoint:n,dataType:"secondary",query:i,select:e,limitBy:s,filters:a,advancedFilters:u,defaultDateRange:p,fields:b});return P(P({},f),{},{primaryData:g,secondaryData:h})})))(F)},723:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(2);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(n.find)(t,{key:e});return r||t[0]}},724:function(e,t,r){"use strict";var n=r(14),a=r.n(n),o=r(13),c=r.n(o),i=r(16),u=r.n(i),s=r(17),l=r.n(s),m=r(6),d=r.n(m),p=r(0),f=r(3),y=r(270),b=r(24),g=r(1),h=r.n(g),v=r(32),O=r(68),_=r(274),j=r(41),w=r(35),R=r(61),C=r(719),D=r(718);function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l()(this,r)}}var k=function(e){u()(r,e);var t=q(r);function r(){return a()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,n=r.formatAmount,a=r.getCurrencyConfig;return"currency"===t?n(e):Object(_.formatValue)(a(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,n=r.emptySearchResults,a=r.summaryData.totals,o=n?0:a.primary[e],c=n?0:a.secondary[e];return{delta:Object(_.calculateDelta)(o,c),prevValue:this.formatVal(c,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,n=t.query,a=t.selectedChart,o=t.summaryData,c=t.endpoint,i=t.report,u=t.defaultDateRange,s=o.isError,l=o.isRequesting;if(s)return Object(p.createElement)(C.a,{isError:!0});if(l)return Object(p.createElement)(O.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(w.getDateParamsFromQuery)(n,u).compare;return Object(p.createElement)(O.SummaryList,null,(function(t){var n=t.onToggle;return r.map((function(t){var r=t.key,o=t.order,u=t.orderby,s=t.label,l=t.type,d={chart:r};u&&(d.orderby=u),o&&(d.order=o);var y=Object(v.getNewPath)(d),b=a.key===r,g=e.getValues(r,l),h=g.delta,_=g.prevValue,j=g.value;return Object(p.createElement)(O.SummaryNumber,{key:r,delta:h,href:y,label:s,prevLabel:"previous_period"===m?Object(f.__)("Previous Period:","woocommerce-admin"):Object(f.__)("Previous Year:","woocommerce-admin"),prevValue:_,selected:b,value:j,onLinkClickCallback:function(){n&&n(),Object(R.recordEvent)("analytics_chart_tab_click",{report:i||c,key:r})}})}))}))}}]),r}(p.Component);k.propTypes={charts:h.a.array.isRequired,endpoint:h.a.string.isRequired,limitProperties:h.a.array,query:h.a.object.isRequired,selectedChart:h.a.shape({key:h.a.string.isRequired,label:h.a.string.isRequired,order:h.a.oneOf(["asc","desc"]),orderby:h.a.string,type:h.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:h.a.object,report:h.a.string},k.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},k.contextType=D.a,t.a=Object(y.a)(Object(b.withSelect)((function(e,t){var r=t.charts,n=t.endpoint,a=t.limitProperties,o=t.query,c=t.filters,i=t.advancedFilters,u=a||[n],s=u.some((function(e){return o[e]&&o[e].length}));if(o.search&&!s)return{emptySearchResults:!0};var l=r&&r.map((function(e){return e.key})),m=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(j.getSummaryNumbers)({endpoint:n,query:o,select:e,limitBy:u,filters:c,advancedFilters:i,defaultDateRange:m,fields:l}),defaultDateRange:m}})))(k)},748:function(e,t,r){"use strict";r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return u}));var n=r(3),a=r(49),o=r(720),c=Object(a.applyFilters)("woocommerce_admin_coupons_report_charts",[{key:"orders_count",label:Object(n.__)("Discounted Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"},{key:"amount",label:Object(n.__)("Amount","woocommerce-admin"),order:"desc",orderby:"amount",type:"currency"}]),i=Object(a.applyFilters)("woocommerce_admin_coupons_report_filters",[{label:Object(n.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(n.__)("All Coupons","woocommerce-admin"),value:"all"},{label:Object(n.__)("Single Coupon","woocommerce-admin"),value:"select_coupon",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_coupon",chartMode:"item-comparison",path:["select_coupon"],settings:{type:"coupons",param:"coupons",getLabels:o.b,labels:{placeholder:Object(n.__)("Type to search for a coupon","woocommerce-admin"),button:Object(n.__)("Single Coupon","woocommerce-admin")}}}]},{label:Object(n.__)("Comparison","woocommerce-admin"),value:"compare-coupons",settings:{type:"coupons",param:"coupons",getLabels:o.b,labels:{title:Object(n.__)("Compare Coupon Codes","woocommerce-admin"),update:Object(n.__)("Compare","woocommerce-admin"),helpText:Object(n.__)("Check at least two coupon codes below to compare","woocommerce-admin")}}}]}]),u=Object(a.applyFilters)("woocommerce_admin_coupon_report_advanced_filters",{})}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[15],{709:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return V}));var n=r(5),a=r.n(n),o=r(14),c=r.n(o),i=r(13),s=r.n(i),u=r(16),l=r.n(u),m=r(17),d=r.n(m),p=r(6),f=r.n(p),y=r(0),b=r(1),g=r.n(b),h=r(3),v=r(748),O=r(10),_=r.n(O),j=r(2),w=r(68),R=r(32),C=r(274),D=r(33),q=r(35),k=r(728),E=r(718);function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d()(this,r)}}var S=function(e){l()(r,e);var t=P(r);function r(){var e;return c()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(_()(e)),e.getRowsContent=e.getRowsContent.bind(_()(e)),e.getSummary=e.getSummary.bind(_()(e)),e}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(h.__)("Coupon Code","woocommerce-admin"),key:"code",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(h.__)("Orders","woocommerce-admin"),key:"orders_count",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(h.__)("Amount Discounted","woocommerce-admin"),key:"amount",isSortable:!0,isNumeric:!0},{label:Object(h.__)("Created","woocommerce-admin"),key:"created"},{label:Object(h.__)("Expires","woocommerce-admin"),key:"expires"},{label:Object(h.__)("Type","woocommerce-admin"),key:"type"}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.props.query,n=Object(R.getPersistedQuery)(r),a=Object(D.g)("dateFormat",q.defaultTableDateFormat),o=this.context,c=o.formatAmount,i=o.formatDecimal,s=o.getCurrencyConfig;return Object(j.map)(e,(function(e){var r=e.amount,o=e.coupon_id,u=e.orders_count,l=e.extended_info||{},m=l.code,d=l.date_created,p=l.date_expires,f=l.discount_type,b=o>0?Object(R.getNewPath)(n,"/analytics/coupons",{filter:"single_coupon",coupons:o}):null,g=null===b?m:Object(y.createElement)(w.Link,{href:b,type:"wc-admin"},m),v=o>0?Object(R.getNewPath)(n,"/analytics/orders",{filter:"advanced",coupon_includes:o}):null;return[{display:g,value:m},{display:null===v?u:Object(y.createElement)(w.Link,{href:v,type:"wc-admin"},Object(C.formatValue)(s(),"number",u)),value:u},{display:c(r),value:i(r)},{display:d?Object(y.createElement)(w.Date,{date:d,visibleFormat:a}):Object(h.__)("N/A","woocommerce-admin"),value:d},{display:p?Object(y.createElement)(w.Date,{date:p,visibleFormat:a}):Object(h.__)("N/A","woocommerce-admin"),value:p},{display:t.getCouponType(f),value:f}]}))}},{key:"getSummary",value:function(e){var t=e.coupons_count,r=void 0===t?0:t,n=e.orders_count,a=void 0===n?0:n,o=e.amount,c=void 0===o?0:o,i=this.context,s=i.formatAmount,u=(0,i.getCurrencyConfig)();return[{label:Object(h._n)("coupon","coupons",r,"woocommerce-admin"),value:Object(C.formatValue)(u,"number",r)},{label:Object(h._n)("order","orders",a,"woocommerce-admin"),value:Object(C.formatValue)(u,"number",a)},{label:Object(h.__)("amount discounted","woocommerce-admin"),value:s(c)}]}},{key:"getCouponType",value:function(e){return{percent:Object(h.__)("Percentage","woocommerce-admin"),fixed_cart:Object(h.__)("Fixed cart","woocommerce-admin"),fixed_product:Object(h.__)("Fixed product","woocommerce-admin")}[e]||Object(h.__)("N/A","woocommerce-admin")}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,n=e.isRequesting,a=e.query;return Object(y.createElement)(k.a,{compareBy:"coupons",endpoint:"coupons",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["coupons_count","orders_count","amount"],isRequesting:n,itemIdField:"coupon_id",query:a,searchBy:"coupons",tableQuery:{orderby:a.orderby||"orders_count",order:a.order||"desc",extended_info:!0},title:Object(h.__)("Coupons","woocommerce-admin"),columnPrefsKey:"coupons_report_columns",filters:r,advancedFilters:t})}}]),r}(y.Component);S.contextType=E.a;var F=S,T=r(723),A=r(722),x=r(724),N=r(725);function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function M(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d()(this,r)}}var V=function(e){l()(r,e);var t=M(r);function r(){return c()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e=this.props.query,t="compare-coupons"===e.filter&&e.coupons&&e.coupons.split(",").length>1?"item-comparison":"time-comparison";return{itemsLabel:Object(h.__)("%d coupons","woocommerce-admin"),mode:t}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,n=e.path,o=this.getChartMeta(),c=o.mode,i=o.itemsLabel,s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===c&&(s.segmentby="coupon"),Object(y.createElement)(y.Fragment,null,Object(y.createElement)(N.a,{query:r,path:n,filters:v.c,advancedFilters:v.a,report:"coupons"}),Object(y.createElement)(x.a,{charts:v.b,endpoint:"coupons",isRequesting:t,query:s,selectedChart:Object(T.a)(r.chart,v.b),filters:v.c,advancedFilters:v.a}),Object(y.createElement)(A.a,{charts:v.b,filters:v.c,advancedFilters:v.a,mode:c,endpoint:"coupons",path:n,query:s,isRequesting:t,itemsLabel:i,selectedChart:Object(T.a)(r.chart,v.b)}),Object(y.createElement)(F,{isRequesting:t,query:r,filters:v.c,advancedFilters:v.a}))}}]),r}(y.Component);V.propTypes={query:g.a.object.isRequired}},720:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return m})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return y})),r.d(t,"g",(function(){return b}));var n=r(36),a=r(42),o=r.n(a),c=r(2),i=r(32),s=r(41),u=r(721);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(a):e,s=Object(i.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(n.addQueryArgs)(c,u)}).then((function(e){return e.map(t)}))}}var m=l(s.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=l(s.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(s.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(s.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),y=l(s.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(u.a)(e)}})),b=l((function(e){return s.NAMESPACE+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.map((function(e){return e.option})).join(", ")}}))},721:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(3);function a(e){return[e.country,e.state,e.name||Object(n.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},722:function(e,t,r){"use strict";var n=r(5),a=r.n(n),o=r(14),c=r.n(o),i=r(13),s=r.n(i),u=r(16),l=r.n(u),m=r(17),d=r.n(m),p=r(6),f=r.n(p),y=r(0),b=r(3),g=r(270),h=r(137),v=r(24),O=r(2),_=r(1),j=r.n(_),w=r(68),R=r(41),C=r(35),D=r(718),q=r(719),k=r(32);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d()(this,r)}}var F=function(e){l()(r,e);var t=S(r);function r(){return c()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(O.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var n=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:n,value:e.subtotals[r.key]||0}}})),P({date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,n=e.secondaryData,a=e.selectedChart,o=e.defaultDateRange,c=Object(C.getIntervalForQuery)(t),i=Object(C.getCurrentDates)(t,o),s=i.primary,u=i.secondary;return r.data.intervals.map((function(e,r){var o=Object(C.getPreviousDate)(e.date_start,s.after,u.after,t.compare,c),i=n.data.intervals[r];return{date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[a.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[a.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,n=e.selectedChart;return{primary:Object(O.get)(t,["data","totals",n.key],null),secondary:Object(O.get)(r,["data","totals",n.key],null)}}},{key:"renderChart",value:function(e,t,r,n){var a=this.props,o=a.emptySearchResults,c=a.filterParam,i=a.interactiveLegend,s=a.itemsLabel,u=a.legendPosition,l=a.path,m=a.query,d=a.selectedChart,p=a.showHeaderControls,f=a.primaryData,g=Object(C.getIntervalForQuery)(m),h=Object(C.getAllowedIntervalsForQuery)(m),v=Object(C.getDateFormatsForInterval)(g,f.data.intervals.length),O=o?Object(b.__)("No data for the current search","woocommerce-admin"):Object(b.__)("No data for the selected date range","woocommerce-admin"),_=this.context,j=_.formatAmount,D=_.getCurrencyConfig;return Object(y.createElement)(w.Chart,{allowedIntervals:h,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:O,filterParam:c,interactiveLegend:i,interval:g,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:n,mode:e,path:l,query:m,screenReaderFormat:v.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:v.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(R.getTooltipValueFormat)(d.type,j),chartType:Object(C.getChartTypeForQuery)(m),valueType:d.type,xFormat:v.xFormat,x2Format:v.x2Format,currency:D()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(q.a,{isError:!0});var n=t||r.isRequesting,a=this.getItemChartData();return this.renderChart("item-comparison",n,a)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,n=e.secondaryData;if(!r||r.isError||n.isError)return Object(y.createElement)(q.a,{isError:!0});var a=t||r.isRequesting||n.isRequesting,o=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",a,o,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(y.Component);F.contextType=D.a,F.propTypes={filters:j.a.array,isRequesting:j.a.bool,itemsLabel:j.a.string,limitProperties:j.a.array,mode:j.a.string,path:j.a.string.isRequired,primaryData:j.a.object,query:j.a.object.isRequired,secondaryData:j.a.object,selectedChart:j.a.shape({key:j.a.string.isRequired,label:j.a.string.isRequired,order:j.a.oneOf(["asc","desc"]),orderby:j.a.string,type:j.a.oneOf(["average","number","currency"]).isRequired}).isRequired},F.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(g.a)(Object(v.withSelect)((function(e,t){var r=t.charts,n=t.endpoint,a=t.filters,o=t.isRequesting,c=t.limitProperties,i=t.query,s=t.advancedFilters,u=c||[n],l=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var a=t.slice(0),o=a.pop();if(o.showFilters(r,n)){var c=Object(k.flattenFilters)(o.filters),i=r[o.param]||o.defaultValue||"all";return Object(O.find)(c,{value:i})}return e(a,r,n)}(a,i),m=Object(O.get)(l,["settings","param"]),d=t.mode||function(e,t){if(e&&t){var r=Object(O.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(O.get)(e,["chartMode"])}return null}(l,i)||"time-comparison",p=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:d,filterParam:m,defaultDateRange:p};if(o)return f;var y=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!y)return P(P({},f),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),g=Object(R.getReportChartData)({endpoint:n,dataType:"primary",query:i,select:e,limitBy:u,filters:a,advancedFilters:s,defaultDateRange:p,fields:b});if("item-comparison"===d)return P(P({},f),{},{primaryData:g});var h=Object(R.getReportChartData)({endpoint:n,dataType:"secondary",query:i,select:e,limitBy:u,filters:a,advancedFilters:s,defaultDateRange:p,fields:b});return P(P({},f),{},{primaryData:g,secondaryData:h})})))(F)},723:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(2);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(n.find)(t,{key:e});return r||t[0]}},724:function(e,t,r){"use strict";var n=r(14),a=r.n(n),o=r(13),c=r.n(o),i=r(16),s=r.n(i),u=r(17),l=r.n(u),m=r(6),d=r.n(m),p=r(0),f=r(3),y=r(270),b=r(24),g=r(1),h=r.n(g),v=r(32),O=r(68),_=r(274),j=r(41),w=r(35),R=r(61),C=r(719),D=r(718);function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l()(this,r)}}var k=function(e){s()(r,e);var t=q(r);function r(){return a()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,n=r.formatAmount,a=r.getCurrencyConfig;return"currency"===t?n(e):Object(_.formatValue)(a(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,n=r.emptySearchResults,a=r.summaryData.totals,o=a.primary?a.primary[e]:0,c=a.secondary?a.secondary[e]:0,i=n?0:o,s=n?0:c;return{delta:Object(_.calculateDelta)(i,s),prevValue:this.formatVal(s,t),value:this.formatVal(i,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,n=t.query,a=t.selectedChart,o=t.summaryData,c=t.endpoint,i=t.report,s=t.defaultDateRange,u=o.isError,l=o.isRequesting;if(u)return Object(p.createElement)(C.a,{isError:!0});if(l)return Object(p.createElement)(O.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(w.getDateParamsFromQuery)(n,s).compare;return Object(p.createElement)(O.SummaryList,null,(function(t){var n=t.onToggle;return r.map((function(t){var r=t.key,o=t.order,s=t.orderby,u=t.label,l=t.type,d={chart:r};s&&(d.orderby=s),o&&(d.order=o);var y=Object(v.getNewPath)(d),b=a.key===r,g=e.getValues(r,l),h=g.delta,_=g.prevValue,j=g.value;return Object(p.createElement)(O.SummaryNumber,{key:r,delta:h,href:y,label:u,prevLabel:"previous_period"===m?Object(f.__)("Previous Period:","woocommerce-admin"):Object(f.__)("Previous Year:","woocommerce-admin"),prevValue:_,selected:b,value:j,onLinkClickCallback:function(){n&&n(),Object(R.recordEvent)("analytics_chart_tab_click",{report:i||c,key:r})}})}))}))}}]),r}(p.Component);k.propTypes={charts:h.a.array.isRequired,endpoint:h.a.string.isRequired,limitProperties:h.a.array,query:h.a.object.isRequired,selectedChart:h.a.shape({key:h.a.string.isRequired,label:h.a.string.isRequired,order:h.a.oneOf(["asc","desc"]),orderby:h.a.string,type:h.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:h.a.object,report:h.a.string},k.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},k.contextType=D.a,t.a=Object(y.a)(Object(b.withSelect)((function(e,t){var r=t.charts,n=t.endpoint,a=t.limitProperties,o=t.query,c=t.filters,i=t.advancedFilters,s=a||[n],u=s.some((function(e){return o[e]&&o[e].length}));if(o.search&&!u)return{emptySearchResults:!0};var l=r&&r.map((function(e){return e.key})),m=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(j.getSummaryNumbers)({endpoint:n,query:o,select:e,limitBy:s,filters:c,advancedFilters:i,defaultDateRange:m,fields:l}),defaultDateRange:m}})))(k)},748:function(e,t,r){"use strict";r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return s}));var n=r(3),a=r(49),o=r(720),c=Object(a.applyFilters)("woocommerce_admin_coupons_report_charts",[{key:"orders_count",label:Object(n.__)("Discounted Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"},{key:"amount",label:Object(n.__)("Amount","woocommerce-admin"),order:"desc",orderby:"amount",type:"currency"}]),i=Object(a.applyFilters)("woocommerce_admin_coupons_report_filters",[{label:Object(n.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(n.__)("All Coupons","woocommerce-admin"),value:"all"},{label:Object(n.__)("Single Coupon","woocommerce-admin"),value:"select_coupon",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_coupon",chartMode:"item-comparison",path:["select_coupon"],settings:{type:"coupons",param:"coupons",getLabels:o.b,labels:{placeholder:Object(n.__)("Type to search for a coupon","woocommerce-admin"),button:Object(n.__)("Single Coupon","woocommerce-admin")}}}]},{label:Object(n.__)("Comparison","woocommerce-admin"),value:"compare-coupons",settings:{type:"coupons",param:"coupons",getLabels:o.b,labels:{title:Object(n.__)("Compare Coupon Codes","woocommerce-admin"),update:Object(n.__)("Compare","woocommerce-admin"),helpText:Object(n.__)("Check at least two coupon codes below to compare","woocommerce-admin")}}}]}]),s=Object(a.applyFilters)("woocommerce_admin_coupon_report_advanced_filters",{})}}]);
dist/chunks/{16.9370d88cd0f7048fe9ed.js → 16.49b97e6388f1e4ab98e0.js} RENAMED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[16],{
2
 
3
- /***/ 704:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -582,7 +582,7 @@ var table_CustomersReportTable = /*#__PURE__*/function (_Component) {
582
  formatAmount = _this$context.formatAmount,
583
  getCurrencyFormatDecimal = _this$context.formatDecimal,
584
  getCurrencyConfig = _this$context.getCurrencyConfig;
585
- return customers.map(function (customer) {
586
  var avgOrderValue = customer.avg_order_value,
587
  dateLastActive = customer.date_last_active,
588
  dateRegistered = customer.date_registered,
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[16],{
2
 
3
+ /***/ 703:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
582
  formatAmount = _this$context.formatAmount,
583
  getCurrencyFormatDecimal = _this$context.formatDecimal,
584
  getCurrencyConfig = _this$context.getCurrencyConfig;
585
+ return customers === null || customers === void 0 ? void 0 : customers.map(function (customer) {
586
  var avgOrderValue = customer.avg_order_value,
587
  dateLastActive = customer.date_last_active,
588
  dateRegistered = customer.date_registered,
dist/chunks/{16.9370d88cd0f7048fe9ed.min.js → 16.49b97e6388f1e4ab98e0.min.js} RENAMED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[16],{704:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return G}));var o,c=r(5),a=r.n(c),n=r(14),m=r.n(n),l=r(13),i=r.n(l),u=r(16),s=r.n(u),d=r(17),b=r.n(d),_=r(6),f=r.n(_),v=r(0),p=r(1),O=r.n(p),j=r(12),w=r.n(j),y=r(86),g=r.n(y),h=r(3),S=r(73),x=r(49),C=r(33),E=r(41),R=r(720),A=Object(C.g)("dataEndpoints",{countries:{}}).countries,k=Object(x.applyFilters)("woocommerce_admin_customers_report_filters",[{label:Object(h.__)("Show","woocommerce-admin"),staticParams:["paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(h.__)("All Customers","woocommerce-admin"),value:"all"},{label:Object(h.__)("Single Customer","woocommerce-admin"),value:"select_customer",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_customer",chartMode:"item-comparison",path:["select_customer"],settings:{type:"customers",param:"customers",getLabels:R.c,labels:{placeholder:Object(h.__)("Type to search for a customer","woocommerce-admin"),button:Object(h.__)("Single Customer","woocommerce-admin")}}}]},{label:Object(h.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),P=Object(x.applyFilters)("woocommerce_admin_customers_report_advanced_filters",{title:Object(h._x)("Customers Match {{select /}} Filters","A sentence describing filters for Customers. See screen shot for context: https://cloudup.com/cCsm3GeXJbE","woocommerce-admin"),filters:{name:{labels:{add:Object(h.__)("Name","woocommerce-admin"),placeholder:Object(h.__)("Search","woocommerce-admin"),remove:Object(h.__)("Remove customer name filter","woocommerce-admin"),rule:Object(h.__)("Select a customer name filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Name{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(h.__)("Select customer name","woocommerce-admin")},rules:[{value:"includes",label:Object(h._x)("Includes","customer names","woocommerce-admin")},{value:"excludes",label:Object(h._x)("Excludes","customer names","woocommerce-admin")}],input:{component:"Search",type:"customers",getLabels:Object(R.e)(E.NAMESPACE+"/customers",(function(e){return{id:e.id,label:e.name}}))}},country:{labels:{add:Object(h.__)("Country / Region","woocommerce-admin"),placeholder:Object(h.__)("Search","woocommerce-admin"),remove:Object(h.__)("Remove country / region filter","woocommerce-admin"),rule:Object(h.__)("Select a country / region filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Country / Region{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(h.__)("Select country / region","woocommerce-admin")},rules:[{value:"includes",label:Object(h._x)("Includes","countries","woocommerce-admin")},{value:"excludes",label:Object(h._x)("Excludes","countries","woocommerce-admin")}],input:{component:"Search",type:"countries",getLabels:(o=g()(w.a.mark((function e(t){var r,o;return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=A.map((function(e){return{key:e.code,label:Object(S.decodeEntities)(e.name)}})),o=t.split(","),e.next=4,r.filter((function(e){return o.includes(e.key)}));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)}))),function(e){return o.apply(this,arguments)})}},username:{labels:{add:Object(h.__)("Username","woocommerce-admin"),placeholder:Object(h.__)("Search customer username","woocommerce-admin"),remove:Object(h.__)("Remove customer username filter","woocommerce-admin"),rule:Object(h.__)("Select a customer username filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(h.__)("Select customer username","woocommerce-admin")},rules:[{value:"includes",label:Object(h._x)("Includes","customer usernames","woocommerce-admin")},{value:"excludes",label:Object(h._x)("Excludes","customer usernames","woocommerce-admin")}],input:{component:"Search",type:"usernames",getLabels:R.c}},email:{labels:{add:Object(h.__)("Email","woocommerce-admin"),placeholder:Object(h.__)("Search customer email","woocommerce-admin"),remove:Object(h.__)("Remove customer email filter","woocommerce-admin"),rule:Object(h.__)("Select a customer email filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Email{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(h.__)("Select customer email","woocommerce-admin")},rules:[{value:"includes",label:Object(h._x)("Includes","customer emails","woocommerce-admin")},{value:"excludes",label:Object(h._x)("Excludes","customer emails","woocommerce-admin")}],input:{component:"Search",type:"emails",getLabels:Object(R.e)(E.NAMESPACE+"/customers",(function(e){return{id:e.id,label:e.email}}))}},orders_count:{labels:{add:Object(h.__)("No. of Orders","woocommerce-admin"),remove:Object(h.__)("Remove order filter","woocommerce-admin"),rule:Object(h.__)("Select an order count filter match","woocommerce-admin"),title:Object(h.__)("{{title}}No. of Orders{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(h._x)("Less Than","number of orders","woocommerce-admin")},{value:"min",label:Object(h._x)("More Than","number of orders","woocommerce-admin")},{value:"between",label:Object(h._x)("Between","number of orders","woocommerce-admin")}],input:{component:"Number"}},total_spend:{labels:{add:Object(h.__)("Total Spend","woocommerce-admin"),remove:Object(h.__)("Remove total spend filter","woocommerce-admin"),rule:Object(h.__)("Select a total spend filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Total Spend{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(h._x)("Less Than","total spend by customer","woocommerce-admin")},{value:"min",label:Object(h._x)("More Than","total spend by customer","woocommerce-admin")},{value:"between",label:Object(h._x)("Between","total spend by customer","woocommerce-admin")}],input:{component:"Currency"}},avg_order_value:{labels:{add:Object(h.__)("AOV","woocommerce-admin"),remove:Object(h.__)("Remove average order value filter","woocommerce-admin"),rule:Object(h.__)("Select an average order value filter match","woocommerce-admin"),title:Object(h.__)("{{title}}AOV{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(h._x)("Less Than","average order value of customer","woocommerce-admin")},{value:"min",label:Object(h._x)("More Than","average order value of customer","woocommerce-admin")},{value:"between",label:Object(h._x)("Between","average order value of customer","woocommerce-admin")}],input:{component:"Currency"}},registered:{labels:{add:Object(h.__)("Registered","woocommerce-admin"),remove:Object(h.__)("Remove registered filter","woocommerce-admin"),rule:Object(h.__)("Select a registered filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Registered{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(h.__)("Select registered date","woocommerce-admin")},rules:[{value:"before",label:Object(h._x)("Before","date","woocommerce-admin")},{value:"after",label:Object(h._x)("After","date","woocommerce-admin")},{value:"between",label:Object(h._x)("Between","date","woocommerce-admin")}],input:{component:"Date"}},last_active:{labels:{add:Object(h.__)("Last active","woocommerce-admin"),remove:Object(h.__)("Remove last active filter","woocommerce-admin"),rule:Object(h.__)("Select a last active filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Last active{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(h.__)("Select registered date","woocommerce-admin")},rules:[{value:"before",label:Object(h._x)("Before","date","woocommerce-admin")},{value:"after",label:Object(h._x)("After","date","woocommerce-admin")},{value:"between",label:Object(h._x)("Between","date","woocommerce-admin")}],input:{component:"Date"}}}}),N=r(10),D=r.n(N),F=r(116),L=r(68),M=r(274),T=r(35),B=r(728),q=r(718);function V(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=f()(e);if(t){var c=f()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return b()(this,r)}}var I=Object(C.g)("dataEndpoints",{countries:{}}).countries,H=function(e){s()(r,e);var t=V(r);function r(){var e;return m()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(D()(e)),e.getRowsContent=e.getRowsContent.bind(D()(e)),e.getSummary=e.getSummary.bind(D()(e)),e}return i()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(h.__)("Name","woocommerce-admin"),key:"name",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(h.__)("Username","woocommerce-admin"),key:"username",hiddenByDefault:!0},{label:Object(h.__)("Last Active","woocommerce-admin"),key:"date_last_active",defaultSort:!0,isSortable:!0},{label:Object(h.__)("Sign Up","woocommerce-admin"),key:"date_registered",isSortable:!0},{label:Object(h.__)("Email","woocommerce-admin"),key:"email"},{label:Object(h.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0},{label:Object(h.__)("Total Spend","woocommerce-admin"),key:"total_spend",isSortable:!0,isNumeric:!0},{label:Object(h.__)("AOV","woocommerce-admin"),screenReaderLabel:Object(h.__)("Average Order Value","woocommerce-admin"),key:"avg_order_value",isNumeric:!0},{label:Object(h.__)("Country / Region","woocommerce-admin"),key:"country",isSortable:!0},{label:Object(h.__)("City","woocommerce-admin"),key:"city",hiddenByDefault:!0,isSortable:!0},{label:Object(h.__)("Region","woocommerce-admin"),key:"state",hiddenByDefault:!0,isSortable:!0},{label:Object(h.__)("Postal Code","woocommerce-admin"),key:"postcode",hiddenByDefault:!0,isSortable:!0}]}},{key:"getCountryName",value:function(e){return void 0!==I[e]?I[e]:null}},{key:"getRowsContent",value:function(e){var t=this,r=Object(C.g)("dateFormat",T.defaultTableDateFormat),o=this.context,c=o.formatAmount,a=o.formatDecimal,n=o.getCurrencyConfig;return e.map((function(e){var o=e.avg_order_value,m=e.date_last_active,l=e.date_registered,i=e.email,u=e.name,s=e.user_id,d=e.orders_count,b=e.username,_=e.total_spend,f=e.postcode,p=e.city,O=e.state,j=e.country,w=t.getCountryName(j),y=s?Object(v.createElement)(L.Link,{href:Object(C.f)("user-edit.php?user_id="+s),type:"wp-admin"},u):u,g=m?Object(v.createElement)(L.Date,{date:m,visibleFormat:r}):"—",h=l?Object(v.createElement)(L.Date,{date:l,visibleFormat:r}):"—",S=Object(v.createElement)(v.Fragment,null,Object(v.createElement)(F.a,{text:w},Object(v.createElement)("span",{"aria-hidden":"true"},j)),Object(v.createElement)("span",{className:"screen-reader-text"},w));return[{display:y,value:u},{display:b,value:b},{display:g,value:m},{display:h,value:l},{display:Object(v.createElement)("a",{href:"mailto:"+i},i),value:i},{display:Object(M.formatValue)(n(),"number",d),value:d},{display:c(_),value:a(_)},{display:c(o),value:a(o)},{display:S,value:j},{display:p,value:p},{display:O,value:O},{display:f,value:f}]}))}},{key:"getSummary",value:function(e){var t=e.customers_count,r=void 0===t?0:t,o=e.avg_orders_count,c=void 0===o?0:o,a=e.avg_total_spend,n=void 0===a?0:a,m=e.avg_avg_order_value,l=void 0===m?0:m,i=this.context,u=i.formatAmount,s=(0,i.getCurrencyConfig)();return[{label:Object(h._n)("customer","customers",r,"woocommerce-admin"),value:Object(M.formatValue)(s,"number",r)},{label:Object(h._n)("average order","average orders",c,"woocommerce-admin"),value:Object(M.formatValue)(s,"number",c)},{label:Object(h.__)("average lifetime spend","woocommerce-admin"),value:u(n)},{label:Object(h.__)("average order value","woocommerce-admin"),value:u(l)}]}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.filters,c=e.advancedFilters;return Object(v.createElement)(B.a,{endpoint:"customers",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["customers_count","avg_orders_count","avg_total_spend","avg_avg_order_value"],isRequesting:t,itemIdField:"id",query:r,labels:{placeholder:Object(h.__)("Search by customer name","woocommerce-admin")},searchBy:"customers",title:Object(h.__)("Customers","woocommerce-admin"),columnPrefsKey:"customers_report_columns",filters:o,advancedFilters:c})}}]),r}(v.Component);H.contextType=q.a;var U=H,J=r(725);function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function X(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=f()(e);if(t){var c=f()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return b()(this,r)}}var G=function(e){s()(r,e);var t=X(r);function r(){return m()(this,r),t.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.path,c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({orderby:"date_last_active",order:"desc"},r);return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(J.a,{query:r,path:o,filters:k,showDatePicker:!1,advancedFilters:P,report:"customers"}),Object(v.createElement)(U,{isRequesting:t,query:c,filters:k,advancedFilters:P}))}}]),r}(v.Component);G.propTypes={query:O.a.object.isRequired}},720:function(e,t,r){"use strict";r.d(t,"e",(function(){return u})),r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return b})),r.d(t,"d",(function(){return _})),r.d(t,"f",(function(){return f})),r.d(t,"g",(function(){return v}));var o=r(36),c=r(42),a=r.n(c),n=r(2),m=r(32),l=r(41),i=r(721);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1?arguments[1]:void 0,n="function"==typeof e?e(c):e,l=Object(m.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);var i={include:l.join(","),per_page:l.length};return a()({path:Object(o.addQueryArgs)(n,i)}).then((function(e){return e.map(t)}))}}var s=u(l.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=u(l.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),b=u(l.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),_=u(l.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),f=u(l.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(i.a)(e)}})),v=u((function(e){return l.NAMESPACE+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.map((function(e){return e.option})).join(", ")}}))},721:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o=r(3);function c(e){return[e.country,e.state,e.name||Object(o.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},86:function(e,t){function r(e,t,r,o,c,a,n){try{var m=e[a](n),l=m.value}catch(e){return void r(e)}m.done?t(l):Promise.resolve(l).then(o,c)}e.exports=function(e){return function(){var t=this,o=arguments;return new Promise((function(c,a){var n=e.apply(t,o);function m(e){r(n,c,a,m,l,"next",e)}function l(e){r(n,c,a,m,l,"throw",e)}m(void 0)}))}}}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[16],{703:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return G}));var o,c=r(5),a=r.n(c),n=r(14),m=r.n(n),l=r(13),i=r.n(l),u=r(16),s=r.n(u),d=r(17),b=r.n(d),_=r(6),f=r.n(_),v=r(0),p=r(1),O=r.n(p),j=r(12),w=r.n(j),y=r(86),g=r.n(y),h=r(3),S=r(73),x=r(49),C=r(33),E=r(41),R=r(720),A=Object(C.g)("dataEndpoints",{countries:{}}).countries,k=Object(x.applyFilters)("woocommerce_admin_customers_report_filters",[{label:Object(h.__)("Show","woocommerce-admin"),staticParams:["paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(h.__)("All Customers","woocommerce-admin"),value:"all"},{label:Object(h.__)("Single Customer","woocommerce-admin"),value:"select_customer",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_customer",chartMode:"item-comparison",path:["select_customer"],settings:{type:"customers",param:"customers",getLabels:R.c,labels:{placeholder:Object(h.__)("Type to search for a customer","woocommerce-admin"),button:Object(h.__)("Single Customer","woocommerce-admin")}}}]},{label:Object(h.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),P=Object(x.applyFilters)("woocommerce_admin_customers_report_advanced_filters",{title:Object(h._x)("Customers Match {{select /}} Filters","A sentence describing filters for Customers. See screen shot for context: https://cloudup.com/cCsm3GeXJbE","woocommerce-admin"),filters:{name:{labels:{add:Object(h.__)("Name","woocommerce-admin"),placeholder:Object(h.__)("Search","woocommerce-admin"),remove:Object(h.__)("Remove customer name filter","woocommerce-admin"),rule:Object(h.__)("Select a customer name filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Name{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(h.__)("Select customer name","woocommerce-admin")},rules:[{value:"includes",label:Object(h._x)("Includes","customer names","woocommerce-admin")},{value:"excludes",label:Object(h._x)("Excludes","customer names","woocommerce-admin")}],input:{component:"Search",type:"customers",getLabels:Object(R.e)(E.NAMESPACE+"/customers",(function(e){return{id:e.id,label:e.name}}))}},country:{labels:{add:Object(h.__)("Country / Region","woocommerce-admin"),placeholder:Object(h.__)("Search","woocommerce-admin"),remove:Object(h.__)("Remove country / region filter","woocommerce-admin"),rule:Object(h.__)("Select a country / region filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Country / Region{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(h.__)("Select country / region","woocommerce-admin")},rules:[{value:"includes",label:Object(h._x)("Includes","countries","woocommerce-admin")},{value:"excludes",label:Object(h._x)("Excludes","countries","woocommerce-admin")}],input:{component:"Search",type:"countries",getLabels:(o=g()(w.a.mark((function e(t){var r,o;return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=A.map((function(e){return{key:e.code,label:Object(S.decodeEntities)(e.name)}})),o=t.split(","),e.next=4,r.filter((function(e){return o.includes(e.key)}));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)}))),function(e){return o.apply(this,arguments)})}},username:{labels:{add:Object(h.__)("Username","woocommerce-admin"),placeholder:Object(h.__)("Search customer username","woocommerce-admin"),remove:Object(h.__)("Remove customer username filter","woocommerce-admin"),rule:Object(h.__)("Select a customer username filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(h.__)("Select customer username","woocommerce-admin")},rules:[{value:"includes",label:Object(h._x)("Includes","customer usernames","woocommerce-admin")},{value:"excludes",label:Object(h._x)("Excludes","customer usernames","woocommerce-admin")}],input:{component:"Search",type:"usernames",getLabels:R.c}},email:{labels:{add:Object(h.__)("Email","woocommerce-admin"),placeholder:Object(h.__)("Search customer email","woocommerce-admin"),remove:Object(h.__)("Remove customer email filter","woocommerce-admin"),rule:Object(h.__)("Select a customer email filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Email{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(h.__)("Select customer email","woocommerce-admin")},rules:[{value:"includes",label:Object(h._x)("Includes","customer emails","woocommerce-admin")},{value:"excludes",label:Object(h._x)("Excludes","customer emails","woocommerce-admin")}],input:{component:"Search",type:"emails",getLabels:Object(R.e)(E.NAMESPACE+"/customers",(function(e){return{id:e.id,label:e.email}}))}},orders_count:{labels:{add:Object(h.__)("No. of Orders","woocommerce-admin"),remove:Object(h.__)("Remove order filter","woocommerce-admin"),rule:Object(h.__)("Select an order count filter match","woocommerce-admin"),title:Object(h.__)("{{title}}No. of Orders{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(h._x)("Less Than","number of orders","woocommerce-admin")},{value:"min",label:Object(h._x)("More Than","number of orders","woocommerce-admin")},{value:"between",label:Object(h._x)("Between","number of orders","woocommerce-admin")}],input:{component:"Number"}},total_spend:{labels:{add:Object(h.__)("Total Spend","woocommerce-admin"),remove:Object(h.__)("Remove total spend filter","woocommerce-admin"),rule:Object(h.__)("Select a total spend filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Total Spend{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(h._x)("Less Than","total spend by customer","woocommerce-admin")},{value:"min",label:Object(h._x)("More Than","total spend by customer","woocommerce-admin")},{value:"between",label:Object(h._x)("Between","total spend by customer","woocommerce-admin")}],input:{component:"Currency"}},avg_order_value:{labels:{add:Object(h.__)("AOV","woocommerce-admin"),remove:Object(h.__)("Remove average order value filter","woocommerce-admin"),rule:Object(h.__)("Select an average order value filter match","woocommerce-admin"),title:Object(h.__)("{{title}}AOV{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(h._x)("Less Than","average order value of customer","woocommerce-admin")},{value:"min",label:Object(h._x)("More Than","average order value of customer","woocommerce-admin")},{value:"between",label:Object(h._x)("Between","average order value of customer","woocommerce-admin")}],input:{component:"Currency"}},registered:{labels:{add:Object(h.__)("Registered","woocommerce-admin"),remove:Object(h.__)("Remove registered filter","woocommerce-admin"),rule:Object(h.__)("Select a registered filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Registered{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(h.__)("Select registered date","woocommerce-admin")},rules:[{value:"before",label:Object(h._x)("Before","date","woocommerce-admin")},{value:"after",label:Object(h._x)("After","date","woocommerce-admin")},{value:"between",label:Object(h._x)("Between","date","woocommerce-admin")}],input:{component:"Date"}},last_active:{labels:{add:Object(h.__)("Last active","woocommerce-admin"),remove:Object(h.__)("Remove last active filter","woocommerce-admin"),rule:Object(h.__)("Select a last active filter match","woocommerce-admin"),title:Object(h.__)("{{title}}Last active{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(h.__)("Select registered date","woocommerce-admin")},rules:[{value:"before",label:Object(h._x)("Before","date","woocommerce-admin")},{value:"after",label:Object(h._x)("After","date","woocommerce-admin")},{value:"between",label:Object(h._x)("Between","date","woocommerce-admin")}],input:{component:"Date"}}}}),N=r(10),D=r.n(N),F=r(116),L=r(68),M=r(274),T=r(35),B=r(728),q=r(718);function V(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=f()(e);if(t){var c=f()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return b()(this,r)}}var I=Object(C.g)("dataEndpoints",{countries:{}}).countries,H=function(e){s()(r,e);var t=V(r);function r(){var e;return m()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(D()(e)),e.getRowsContent=e.getRowsContent.bind(D()(e)),e.getSummary=e.getSummary.bind(D()(e)),e}return i()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(h.__)("Name","woocommerce-admin"),key:"name",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(h.__)("Username","woocommerce-admin"),key:"username",hiddenByDefault:!0},{label:Object(h.__)("Last Active","woocommerce-admin"),key:"date_last_active",defaultSort:!0,isSortable:!0},{label:Object(h.__)("Sign Up","woocommerce-admin"),key:"date_registered",isSortable:!0},{label:Object(h.__)("Email","woocommerce-admin"),key:"email"},{label:Object(h.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0},{label:Object(h.__)("Total Spend","woocommerce-admin"),key:"total_spend",isSortable:!0,isNumeric:!0},{label:Object(h.__)("AOV","woocommerce-admin"),screenReaderLabel:Object(h.__)("Average Order Value","woocommerce-admin"),key:"avg_order_value",isNumeric:!0},{label:Object(h.__)("Country / Region","woocommerce-admin"),key:"country",isSortable:!0},{label:Object(h.__)("City","woocommerce-admin"),key:"city",hiddenByDefault:!0,isSortable:!0},{label:Object(h.__)("Region","woocommerce-admin"),key:"state",hiddenByDefault:!0,isSortable:!0},{label:Object(h.__)("Postal Code","woocommerce-admin"),key:"postcode",hiddenByDefault:!0,isSortable:!0}]}},{key:"getCountryName",value:function(e){return void 0!==I[e]?I[e]:null}},{key:"getRowsContent",value:function(e){var t=this,r=Object(C.g)("dateFormat",T.defaultTableDateFormat),o=this.context,c=o.formatAmount,a=o.formatDecimal,n=o.getCurrencyConfig;return null==e?void 0:e.map((function(e){var o=e.avg_order_value,m=e.date_last_active,l=e.date_registered,i=e.email,u=e.name,s=e.user_id,d=e.orders_count,b=e.username,_=e.total_spend,f=e.postcode,p=e.city,O=e.state,j=e.country,w=t.getCountryName(j),y=s?Object(v.createElement)(L.Link,{href:Object(C.f)("user-edit.php?user_id="+s),type:"wp-admin"},u):u,g=m?Object(v.createElement)(L.Date,{date:m,visibleFormat:r}):"—",h=l?Object(v.createElement)(L.Date,{date:l,visibleFormat:r}):"—",S=Object(v.createElement)(v.Fragment,null,Object(v.createElement)(F.a,{text:w},Object(v.createElement)("span",{"aria-hidden":"true"},j)),Object(v.createElement)("span",{className:"screen-reader-text"},w));return[{display:y,value:u},{display:b,value:b},{display:g,value:m},{display:h,value:l},{display:Object(v.createElement)("a",{href:"mailto:"+i},i),value:i},{display:Object(M.formatValue)(n(),"number",d),value:d},{display:c(_),value:a(_)},{display:c(o),value:a(o)},{display:S,value:j},{display:p,value:p},{display:O,value:O},{display:f,value:f}]}))}},{key:"getSummary",value:function(e){var t=e.customers_count,r=void 0===t?0:t,o=e.avg_orders_count,c=void 0===o?0:o,a=e.avg_total_spend,n=void 0===a?0:a,m=e.avg_avg_order_value,l=void 0===m?0:m,i=this.context,u=i.formatAmount,s=(0,i.getCurrencyConfig)();return[{label:Object(h._n)("customer","customers",r,"woocommerce-admin"),value:Object(M.formatValue)(s,"number",r)},{label:Object(h._n)("average order","average orders",c,"woocommerce-admin"),value:Object(M.formatValue)(s,"number",c)},{label:Object(h.__)("average lifetime spend","woocommerce-admin"),value:u(n)},{label:Object(h.__)("average order value","woocommerce-admin"),value:u(l)}]}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.filters,c=e.advancedFilters;return Object(v.createElement)(B.a,{endpoint:"customers",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["customers_count","avg_orders_count","avg_total_spend","avg_avg_order_value"],isRequesting:t,itemIdField:"id",query:r,labels:{placeholder:Object(h.__)("Search by customer name","woocommerce-admin")},searchBy:"customers",title:Object(h.__)("Customers","woocommerce-admin"),columnPrefsKey:"customers_report_columns",filters:o,advancedFilters:c})}}]),r}(v.Component);H.contextType=q.a;var U=H,J=r(725);function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function X(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=f()(e);if(t){var c=f()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return b()(this,r)}}var G=function(e){s()(r,e);var t=X(r);function r(){return m()(this,r),t.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.path,c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({orderby:"date_last_active",order:"desc"},r);return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(J.a,{query:r,path:o,filters:k,showDatePicker:!1,advancedFilters:P,report:"customers"}),Object(v.createElement)(U,{isRequesting:t,query:c,filters:k,advancedFilters:P}))}}]),r}(v.Component);G.propTypes={query:O.a.object.isRequired}},720:function(e,t,r){"use strict";r.d(t,"e",(function(){return u})),r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return b})),r.d(t,"d",(function(){return _})),r.d(t,"f",(function(){return f})),r.d(t,"g",(function(){return v}));var o=r(36),c=r(42),a=r.n(c),n=r(2),m=r(32),l=r(41),i=r(721);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1?arguments[1]:void 0,n="function"==typeof e?e(c):e,l=Object(m.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);var i={include:l.join(","),per_page:l.length};return a()({path:Object(o.addQueryArgs)(n,i)}).then((function(e){return e.map(t)}))}}var s=u(l.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=u(l.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),b=u(l.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),_=u(l.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),f=u(l.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(i.a)(e)}})),v=u((function(e){return l.NAMESPACE+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.map((function(e){return e.option})).join(", ")}}))},721:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o=r(3);function c(e){return[e.country,e.state,e.name||Object(o.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},86:function(e,t){function r(e,t,r,o,c,a,n){try{var m=e[a](n),l=m.value}catch(e){return void r(e)}m.done?t(l):Promise.resolve(l).then(o,c)}e.exports=function(e){return function(){var t=this,o=arguments;return new Promise((function(c,a){var n=e.apply(t,o);function m(e){r(n,c,a,m,l,"next",e)}function l(e){r(n,c,a,m,l,"throw",e)}m(void 0)}))}}}}]);
dist/chunks/{17.7b9db75b449e14126c7a.js → 17.3bb7411d9278dab5881f.js} RENAMED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[17],{
2
 
3
- /***/ 710:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -1157,8 +1157,10 @@ var ReportSummary = /*#__PURE__*/function (_Component) {
1157
  emptySearchResults = _this$props.emptySearchResults,
1158
  summaryData = _this$props.summaryData;
1159
  var totals = summaryData.totals;
1160
- var primaryValue = emptySearchResults ? 0 : totals.primary[key];
1161
- var secondaryValue = emptySearchResults ? 0 : totals.secondary[key];
 
 
1162
  return {
1163
  delta: Object(_woocommerce_number__WEBPACK_IMPORTED_MODULE_12__["calculateDelta"])(primaryValue, secondaryValue),
1164
  prevValue: this.formatVal(secondaryValue, type),
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[17],{
2
 
3
+ /***/ 708:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
1157
  emptySearchResults = _this$props.emptySearchResults,
1158
  summaryData = _this$props.summaryData;
1159
  var totals = summaryData.totals;
1160
+ var primaryTotal = totals.primary ? totals.primary[key] : 0;
1161
+ var secondaryTotal = totals.secondary ? totals.secondary[key] : 0;
1162
+ var primaryValue = emptySearchResults ? 0 : primaryTotal;
1163
+ var secondaryValue = emptySearchResults ? 0 : secondaryTotal;
1164
  return {
1165
  delta: Object(_woocommerce_number__WEBPACK_IMPORTED_MODULE_12__["calculateDelta"])(primaryValue, secondaryValue),
1166
  prevValue: this.formatVal(secondaryValue, type),
dist/chunks/{17.7b9db75b449e14126c7a.min.js → 17.3bb7411d9278dab5881f.min.js} RENAMED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[17],{710:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return V}));var a=r(14),n=r.n(a),o=r(13),c=r.n(o),i=r(16),s=r.n(i),u=r(17),l=r.n(u),d=r(6),m=r.n(d),p=r(0),f=r(1),b=r.n(f),y=r(750),v=r(10),h=r.n(v),_=r(3),g=r(24),O=r(2),j=r(15),w=r.n(j),R=r(68),D=r(32),S=r(274),C=r(33),q=r(41),E=r(35),k=r(728),P=r(718);function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var x=function(e){s()(r,e);var t=F(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(h()(e)),e.getRowsContent=e.getRowsContent.bind(h()(e)),e.getSummary=e.getSummary.bind(h()(e)),e}return c()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(_.__)("Date","woocommerce-admin"),key:"date",defaultSort:!0,required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(_.__)("Product Title","woocommerce-admin"),key:"product",isSortable:!0,required:!0},{label:Object(_.__)("File Name","woocommerce-admin"),key:"file_name"},{label:Object(_.__)("Order #","woocommerce-admin"),screenReaderLabel:Object(_.__)("Order Number","woocommerce-admin"),key:"order_number"},{label:Object(_.__)("Username","woocommerce-admin"),key:"user_id"},{label:Object(_.__)("IP","woocommerce-admin"),key:"ip_address"}]}},{key:"getRowsContent",value:function(e){var t=this.props.query,r=Object(D.getPersistedQuery)(t),a=Object(C.g)("dateFormat",E.defaultTableDateFormat);return Object(O.map)(e,(function(e){var t,n,o=e._embedded,c=e.date,i=e.file_name,s=e.file_path,u=e.ip_address,l=e.order_id,d=e.order_number,m=e.product_id,f=e.username,b=o.product[0],y=b.code,v=b.name;if("woocommerce_rest_product_invalid_id"===y)t=Object(_.__)("(Deleted)","woocommerce-admin"),n=Object(_.__)("(Deleted)","woocommerce-admin");else{var h=Object(D.getNewPath)(r,"/analytics/products",{filter:"single_product",products:m});t=Object(p.createElement)(R.Link,{href:h,type:"wc-admin"},v),n=v}return[{display:Object(p.createElement)(R.Date,{date:c,visibleFormat:a}),value:c},{display:t,value:n},{display:Object(p.createElement)(R.Link,{href:s,type:"external"},i),value:i},{display:Object(p.createElement)(R.Link,{href:Object(C.f)("post.php?post=".concat(l,"&action=edit")),type:"wp-admin"},d),value:d},{display:f,value:f},{display:u,value:u}]}))}},{key:"getSummary",value:function(e){var t=e.download_count,r=void 0===t?0:t,a=this.props,n=a.query,o=a.defaultDateRange,c=Object(E.getCurrentDates)(n,o),i=w()(c.primary.after),s=w()(c.primary.before).diff(i,"days")+1,u=this.context.getCurrencyConfig();return[{label:Object(_._n)("day","days",s,"woocommerce-admin"),value:Object(S.formatValue)(u,"number",s)},{label:Object(_._n)("download","downloads",r,"woocommerce-admin"),value:Object(S.formatValue)(u,"number",r)}]}},{key:"render",value:function(){var e=this.props,t=e.query,r=e.filters,a=e.advancedFilters;return Object(p.createElement)(k.a,{endpoint:"downloads",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["download_count"],query:t,tableQuery:{_embed:!0},title:Object(_.__)("Downloads","woocommerce-admin"),columnPrefsKey:"downloads_report_columns",filters:r,advancedFilters:a})}}]),r}(p.Component);x.contextType=P.a;var T=Object(g.withSelect)((function(e){return{defaultDateRange:e(q.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(x),A=r(723),I=r(722),L=r(724),N=r(725);function M(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var V=function(e){s()(r,e);var t=M(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e=this.props,t=e.query,r=e.path;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(N.a,{query:t,path:r,filters:y.c,advancedFilters:y.a,report:"downloads"}),Object(p.createElement)(L.a,{charts:y.b,endpoint:"downloads",query:t,selectedChart:Object(A.a)(t.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(I.a,{charts:y.b,endpoint:"downloads",path:r,query:t,selectedChart:Object(A.a)(t.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(T,{query:t,filters:y.c,advancedFilters:y.a}))}}]),r}(p.Component);V.propTypes={query:b.a.object.isRequired}},720:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return b})),r.d(t,"g",(function(){return y}));var a=r(36),n=r(42),o=r.n(n),c=r(2),i=r(32),s=r(41),u=r(721);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(n):e,s=Object(i.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(a.addQueryArgs)(c,u)}).then((function(e){return e.map(t)}))}}var d=l(s.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),m=l(s.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(s.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(s.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),b=l(s.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(u.a)(e)}})),y=l((function(e){return s.NAMESPACE+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.map((function(e){return e.option})).join(", ")}}))},721:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},722:function(e,t,r){"use strict";var a=r(5),n=r.n(a),o=r(14),c=r.n(o),i=r(13),s=r.n(i),u=r(16),l=r.n(u),d=r(17),m=r.n(d),p=r(6),f=r.n(p),b=r(0),y=r(3),v=r(270),h=r(137),_=r(24),g=r(2),O=r(1),j=r.n(O),w=r(68),R=r(41),D=r(35),S=r(718),C=r(719),q=r(32);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var F=function(e){l()(r,e);var t=P(r);function r(){return c()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(g.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),k({date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,c=Object(D.getIntervalForQuery)(t),i=Object(D.getCurrentDates)(t,o),s=i.primary,u=i.secondary;return r.data.intervals.map((function(e,r){var o=Object(D.getPreviousDate)(e.date_start,s.after,u.after,t.compare,c),i=a.data.intervals[r];return{date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(g.get)(t,["data","totals",a.key],null),secondary:Object(g.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,c=n.filterParam,i=n.interactiveLegend,s=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,f=n.primaryData,v=Object(D.getIntervalForQuery)(d),h=Object(D.getAllowedIntervalsForQuery)(d),_=Object(D.getDateFormatsForInterval)(v,f.data.intervals.length),g=o?Object(y.__)("No data for the current search","woocommerce-admin"):Object(y.__)("No data for the selected date range","woocommerce-admin"),O=this.context,j=O.formatAmount,S=O.getCurrencyConfig;return Object(b.createElement)(w.Chart,{allowedIntervals:h,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:g,filterParam:c,interactiveLegend:i,interval:v,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:_.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:_.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(R.getTooltipValueFormat)(m.type,j),chartType:Object(D.getChartTypeForQuery)(d),valueType:m.type,xFormat:_.xFormat,x2Format:_.x2Format,currency:S()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(b.createElement)(C.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(b.createElement)(C.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(b.Component);F.contextType=S.a,F.propTypes={filters:j.a.array,isRequesting:j.a.bool,itemsLabel:j.a.string,limitProperties:j.a.array,mode:j.a.string,path:j.a.string.isRequired,primaryData:j.a.object,query:j.a.object.isRequired,secondaryData:j.a.object,selectedChart:j.a.shape({key:j.a.string.isRequired,label:j.a.string.isRequired,order:j.a.oneOf(["asc","desc"]),orderby:j.a.string,type:j.a.oneOf(["average","number","currency"]).isRequired}).isRequired},F.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(v.a)(Object(_.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,c=t.limitProperties,i=t.query,s=t.advancedFilters,u=c||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var c=Object(q.flattenFilters)(o.filters),i=r[o.param]||o.defaultValue||"all";return Object(g.find)(c,{value:i})}return e(n,r,a)}(n,i),d=Object(g.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(g.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(g.get)(e,["chartMode"])}return null}(l,i)||"time-comparison",p=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:m,filterParam:d,defaultDateRange:p};if(o)return f;var b=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!b)return k(k({},f),{},{emptySearchResults:!0});var y=r&&r.map((function(e){return e.key})),v=Object(R.getReportChartData)({endpoint:a,dataType:"primary",query:i,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:y});if("item-comparison"===m)return k(k({},f),{},{primaryData:v});var h=Object(R.getReportChartData)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:y});return k(k({},f),{},{primaryData:v,secondaryData:h})})))(F)},723:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},724:function(e,t,r){"use strict";var a=r(14),n=r.n(a),o=r(13),c=r.n(o),i=r(16),s=r.n(i),u=r(17),l=r.n(u),d=r(6),m=r.n(d),p=r(0),f=r(3),b=r(270),y=r(24),v=r(1),h=r.n(v),_=r(32),g=r(68),O=r(274),j=r(41),w=r(35),R=r(61),D=r(719),S=r(718);function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var q=function(e){s()(r,e);var t=C(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatAmount,n=r.getCurrencyConfig;return"currency"===t?a(e):Object(O.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],c=a?0:n.secondary[e];return{delta:Object(O.calculateDelta)(o,c),prevValue:this.formatVal(c,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.query,n=t.selectedChart,o=t.summaryData,c=t.endpoint,i=t.report,s=t.defaultDateRange,u=o.isError,l=o.isRequesting;if(u)return Object(p.createElement)(D.a,{isError:!0});if(l)return Object(p.createElement)(g.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(w.getDateParamsFromQuery)(a,s).compare;return Object(p.createElement)(g.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,o=t.order,s=t.orderby,u=t.label,l=t.type,m={chart:r};s&&(m.orderby=s),o&&(m.order=o);var b=Object(_.getNewPath)(m),y=n.key===r,v=e.getValues(r,l),h=v.delta,O=v.prevValue,j=v.value;return Object(p.createElement)(g.SummaryNumber,{key:r,delta:h,href:b,label:u,prevLabel:"previous_period"===d?Object(f.__)("Previous Period:","woocommerce-admin"):Object(f.__)("Previous Year:","woocommerce-admin"),prevValue:O,selected:y,value:j,onLinkClickCallback:function(){a&&a(),Object(R.recordEvent)("analytics_chart_tab_click",{report:i||c,key:r})}})}))}))}}]),r}(p.Component);q.propTypes={charts:h.a.array.isRequired,endpoint:h.a.string.isRequired,limitProperties:h.a.array,query:h.a.object.isRequired,selectedChart:h.a.shape({key:h.a.string.isRequired,label:h.a.string.isRequired,order:h.a.oneOf(["asc","desc"]),orderby:h.a.string,type:h.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:h.a.object,report:h.a.string},q.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},q.contextType=S.a,t.a=Object(b.a)(Object(y.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.limitProperties,o=t.query,c=t.filters,i=t.advancedFilters,s=n||[a],u=s.some((function(e){return o[e]&&o[e].length}));if(o.search&&!u)return{emptySearchResults:!0};var l=r&&r.map((function(e){return e.key})),d=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(j.getSummaryNumbers)({endpoint:a,query:o,select:e,limitBy:s,filters:c,advancedFilters:i,defaultDateRange:d,fields:l}),defaultDateRange:d}})))(q)},750:function(e,t,r){"use strict";r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return p})),r.d(t,"a",(function(){return f}));var a,n,o=r(12),c=r.n(o),i=r(86),s=r.n(i),u=r(3),l=r(49),d=r(720),m=Object(l.applyFilters)("woocommerce_admin_downloads_report_charts",[{key:"download_count",label:Object(u.__)("Downloads","woocommerce-admin"),type:"number"}]),p=Object(l.applyFilters)("woocommerce_admin_downloads_report_filters",[{label:Object(u.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(u.__)("All Downloads","woocommerce-admin"),value:"all"},{label:Object(u.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),f=Object(l.applyFilters)("woocommerce_admin_downloads_report_advanced_filters",{title:Object(u._x)("Downloads Match {{select /}} Filters","A sentence describing filters for Downloads. See screen shot for context: https://cloudup.com/ccxhyH2mEDg","woocommerce-admin"),filters:{product:{labels:{add:Object(u.__)("Product","woocommerce-admin"),placeholder:Object(u.__)("Search","woocommerce-admin"),remove:Object(u.__)("Remove product filter","woocommerce-admin"),rule:Object(u.__)("Select a product filter match","woocommerce-admin"),title:Object(u.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(u.__)("Select product","woocommerce-admin")},rules:[{value:"includes",label:Object(u._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(u._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:d.d}},customer:{labels:{add:Object(u.__)("Username","woocommerce-admin"),placeholder:Object(u.__)("Search customer username","woocommerce-admin"),remove:Object(u.__)("Remove customer username filter","woocommerce-admin"),rule:Object(u.__)("Select a customer username filter match","woocommerce-admin"),title:Object(u.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(u.__)("Select customer username","woocommerce-admin")},rules:[{value:"includes",label:Object(u._x)("Includes","customer usernames","woocommerce-admin")},{value:"excludes",label:Object(u._x)("Excludes","customer usernames","woocommerce-admin")}],input:{component:"Search",type:"usernames",getLabels:d.c}},order:{labels:{add:Object(u.__)("Order #","woocommerce-admin"),placeholder:Object(u.__)("Search order number","woocommerce-admin"),remove:Object(u.__)("Remove order number filter","woocommerce-admin"),rule:Object(u.__)("Select a order number filter match","woocommerce-admin"),title:Object(u.__)("{{title}}Order #{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(u.__)("Select order number","woocommerce-admin")},rules:[{value:"includes",label:Object(u._x)("Includes","order numbers","woocommerce-admin")},{value:"excludes",label:Object(u._x)("Excludes","order numbers","woocommerce-admin")}],input:{component:"Search",type:"orders",getLabels:(n=s()(c.a.mark((function e(t){var r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.split(","),e.next=3,r.map((function(e){return{id:e,label:"#"+e}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})}},ip_address:{labels:{add:Object(u.__)("IP Address","woocommerce-admin"),placeholder:Object(u.__)("Search IP address","woocommerce-admin"),remove:Object(u.__)("Remove IP address filter","woocommerce-admin"),rule:Object(u.__)("Select an IP address filter match","woocommerce-admin"),title:Object(u.__)("{{title}}IP Address{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(u.__)("Select IP address","woocommerce-admin")},rules:[{value:"includes",label:Object(u._x)("Includes","IP addresses","woocommerce-admin")},{value:"excludes",label:Object(u._x)("Excludes","IP addresses","woocommerce-admin")}],input:{component:"Search",type:"downloadIps",getLabels:(a=s()(c.a.mark((function e(t){var r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.split(","),e.next=3,r.map((function(e){return{id:e,label:e}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})}}}})},86:function(e,t){function r(e,t,r,a,n,o,c){try{var i=e[o](c),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(a,n)}e.exports=function(e){return function(){var t=this,a=arguments;return new Promise((function(n,o){var c=e.apply(t,a);function i(e){r(c,n,o,i,s,"next",e)}function s(e){r(c,n,o,i,s,"throw",e)}i(void 0)}))}}}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[17],{708:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return V}));var a=r(14),n=r.n(a),o=r(13),c=r.n(o),i=r(16),s=r.n(i),u=r(17),l=r.n(u),d=r(6),m=r.n(d),p=r(0),f=r(1),b=r.n(f),y=r(750),v=r(10),h=r.n(v),_=r(3),g=r(24),O=r(2),j=r(15),w=r.n(j),R=r(68),D=r(32),S=r(274),C=r(33),q=r(41),E=r(35),k=r(728),P=r(718);function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var x=function(e){s()(r,e);var t=F(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(h()(e)),e.getRowsContent=e.getRowsContent.bind(h()(e)),e.getSummary=e.getSummary.bind(h()(e)),e}return c()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(_.__)("Date","woocommerce-admin"),key:"date",defaultSort:!0,required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(_.__)("Product Title","woocommerce-admin"),key:"product",isSortable:!0,required:!0},{label:Object(_.__)("File Name","woocommerce-admin"),key:"file_name"},{label:Object(_.__)("Order #","woocommerce-admin"),screenReaderLabel:Object(_.__)("Order Number","woocommerce-admin"),key:"order_number"},{label:Object(_.__)("Username","woocommerce-admin"),key:"user_id"},{label:Object(_.__)("IP","woocommerce-admin"),key:"ip_address"}]}},{key:"getRowsContent",value:function(e){var t=this.props.query,r=Object(D.getPersistedQuery)(t),a=Object(C.g)("dateFormat",E.defaultTableDateFormat);return Object(O.map)(e,(function(e){var t,n,o=e._embedded,c=e.date,i=e.file_name,s=e.file_path,u=e.ip_address,l=e.order_id,d=e.order_number,m=e.product_id,f=e.username,b=o.product[0],y=b.code,v=b.name;if("woocommerce_rest_product_invalid_id"===y)t=Object(_.__)("(Deleted)","woocommerce-admin"),n=Object(_.__)("(Deleted)","woocommerce-admin");else{var h=Object(D.getNewPath)(r,"/analytics/products",{filter:"single_product",products:m});t=Object(p.createElement)(R.Link,{href:h,type:"wc-admin"},v),n=v}return[{display:Object(p.createElement)(R.Date,{date:c,visibleFormat:a}),value:c},{display:t,value:n},{display:Object(p.createElement)(R.Link,{href:s,type:"external"},i),value:i},{display:Object(p.createElement)(R.Link,{href:Object(C.f)("post.php?post=".concat(l,"&action=edit")),type:"wp-admin"},d),value:d},{display:f,value:f},{display:u,value:u}]}))}},{key:"getSummary",value:function(e){var t=e.download_count,r=void 0===t?0:t,a=this.props,n=a.query,o=a.defaultDateRange,c=Object(E.getCurrentDates)(n,o),i=w()(c.primary.after),s=w()(c.primary.before).diff(i,"days")+1,u=this.context.getCurrencyConfig();return[{label:Object(_._n)("day","days",s,"woocommerce-admin"),value:Object(S.formatValue)(u,"number",s)},{label:Object(_._n)("download","downloads",r,"woocommerce-admin"),value:Object(S.formatValue)(u,"number",r)}]}},{key:"render",value:function(){var e=this.props,t=e.query,r=e.filters,a=e.advancedFilters;return Object(p.createElement)(k.a,{endpoint:"downloads",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["download_count"],query:t,tableQuery:{_embed:!0},title:Object(_.__)("Downloads","woocommerce-admin"),columnPrefsKey:"downloads_report_columns",filters:r,advancedFilters:a})}}]),r}(p.Component);x.contextType=P.a;var T=Object(g.withSelect)((function(e){return{defaultDateRange:e(q.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(x),A=r(723),I=r(722),L=r(724),N=r(725);function M(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var V=function(e){s()(r,e);var t=M(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e=this.props,t=e.query,r=e.path;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(N.a,{query:t,path:r,filters:y.c,advancedFilters:y.a,report:"downloads"}),Object(p.createElement)(L.a,{charts:y.b,endpoint:"downloads",query:t,selectedChart:Object(A.a)(t.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(I.a,{charts:y.b,endpoint:"downloads",path:r,query:t,selectedChart:Object(A.a)(t.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(T,{query:t,filters:y.c,advancedFilters:y.a}))}}]),r}(p.Component);V.propTypes={query:b.a.object.isRequired}},720:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return b})),r.d(t,"g",(function(){return y}));var a=r(36),n=r(42),o=r.n(n),c=r(2),i=r(32),s=r(41),u=r(721);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(n):e,s=Object(i.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(a.addQueryArgs)(c,u)}).then((function(e){return e.map(t)}))}}var d=l(s.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),m=l(s.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(s.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(s.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),b=l(s.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(u.a)(e)}})),y=l((function(e){return s.NAMESPACE+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.map((function(e){return e.option})).join(", ")}}))},721:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},722:function(e,t,r){"use strict";var a=r(5),n=r.n(a),o=r(14),c=r.n(o),i=r(13),s=r.n(i),u=r(16),l=r.n(u),d=r(17),m=r.n(d),p=r(6),f=r.n(p),b=r(0),y=r(3),v=r(270),h=r(137),_=r(24),g=r(2),O=r(1),j=r.n(O),w=r(68),R=r(41),D=r(35),S=r(718),C=r(719),q=r(32);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var F=function(e){l()(r,e);var t=P(r);function r(){return c()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(g.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),k({date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,c=Object(D.getIntervalForQuery)(t),i=Object(D.getCurrentDates)(t,o),s=i.primary,u=i.secondary;return r.data.intervals.map((function(e,r){var o=Object(D.getPreviousDate)(e.date_start,s.after,u.after,t.compare,c),i=a.data.intervals[r];return{date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(g.get)(t,["data","totals",a.key],null),secondary:Object(g.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,c=n.filterParam,i=n.interactiveLegend,s=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,f=n.primaryData,v=Object(D.getIntervalForQuery)(d),h=Object(D.getAllowedIntervalsForQuery)(d),_=Object(D.getDateFormatsForInterval)(v,f.data.intervals.length),g=o?Object(y.__)("No data for the current search","woocommerce-admin"):Object(y.__)("No data for the selected date range","woocommerce-admin"),O=this.context,j=O.formatAmount,S=O.getCurrencyConfig;return Object(b.createElement)(w.Chart,{allowedIntervals:h,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:g,filterParam:c,interactiveLegend:i,interval:v,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:_.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:_.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(R.getTooltipValueFormat)(m.type,j),chartType:Object(D.getChartTypeForQuery)(d),valueType:m.type,xFormat:_.xFormat,x2Format:_.x2Format,currency:S()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(b.createElement)(C.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(b.createElement)(C.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(b.Component);F.contextType=S.a,F.propTypes={filters:j.a.array,isRequesting:j.a.bool,itemsLabel:j.a.string,limitProperties:j.a.array,mode:j.a.string,path:j.a.string.isRequired,primaryData:j.a.object,query:j.a.object.isRequired,secondaryData:j.a.object,selectedChart:j.a.shape({key:j.a.string.isRequired,label:j.a.string.isRequired,order:j.a.oneOf(["asc","desc"]),orderby:j.a.string,type:j.a.oneOf(["average","number","currency"]).isRequired}).isRequired},F.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(v.a)(Object(_.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,c=t.limitProperties,i=t.query,s=t.advancedFilters,u=c||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var c=Object(q.flattenFilters)(o.filters),i=r[o.param]||o.defaultValue||"all";return Object(g.find)(c,{value:i})}return e(n,r,a)}(n,i),d=Object(g.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(g.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(g.get)(e,["chartMode"])}return null}(l,i)||"time-comparison",p=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:m,filterParam:d,defaultDateRange:p};if(o)return f;var b=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!b)return k(k({},f),{},{emptySearchResults:!0});var y=r&&r.map((function(e){return e.key})),v=Object(R.getReportChartData)({endpoint:a,dataType:"primary",query:i,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:y});if("item-comparison"===m)return k(k({},f),{},{primaryData:v});var h=Object(R.getReportChartData)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:y});return k(k({},f),{},{primaryData:v,secondaryData:h})})))(F)},723:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},724:function(e,t,r){"use strict";var a=r(14),n=r.n(a),o=r(13),c=r.n(o),i=r(16),s=r.n(i),u=r(17),l=r.n(u),d=r(6),m=r.n(d),p=r(0),f=r(3),b=r(270),y=r(24),v=r(1),h=r.n(v),_=r(32),g=r(68),O=r(274),j=r(41),w=r(35),R=r(61),D=r(719),S=r(718);function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var q=function(e){s()(r,e);var t=C(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatAmount,n=r.getCurrencyConfig;return"currency"===t?a(e):Object(O.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=n.primary?n.primary[e]:0,c=n.secondary?n.secondary[e]:0,i=a?0:o,s=a?0:c;return{delta:Object(O.calculateDelta)(i,s),prevValue:this.formatVal(s,t),value:this.formatVal(i,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.query,n=t.selectedChart,o=t.summaryData,c=t.endpoint,i=t.report,s=t.defaultDateRange,u=o.isError,l=o.isRequesting;if(u)return Object(p.createElement)(D.a,{isError:!0});if(l)return Object(p.createElement)(g.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(w.getDateParamsFromQuery)(a,s).compare;return Object(p.createElement)(g.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,o=t.order,s=t.orderby,u=t.label,l=t.type,m={chart:r};s&&(m.orderby=s),o&&(m.order=o);var b=Object(_.getNewPath)(m),y=n.key===r,v=e.getValues(r,l),h=v.delta,O=v.prevValue,j=v.value;return Object(p.createElement)(g.SummaryNumber,{key:r,delta:h,href:b,label:u,prevLabel:"previous_period"===d?Object(f.__)("Previous Period:","woocommerce-admin"):Object(f.__)("Previous Year:","woocommerce-admin"),prevValue:O,selected:y,value:j,onLinkClickCallback:function(){a&&a(),Object(R.recordEvent)("analytics_chart_tab_click",{report:i||c,key:r})}})}))}))}}]),r}(p.Component);q.propTypes={charts:h.a.array.isRequired,endpoint:h.a.string.isRequired,limitProperties:h.a.array,query:h.a.object.isRequired,selectedChart:h.a.shape({key:h.a.string.isRequired,label:h.a.string.isRequired,order:h.a.oneOf(["asc","desc"]),orderby:h.a.string,type:h.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:h.a.object,report:h.a.string},q.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},q.contextType=S.a,t.a=Object(b.a)(Object(y.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.limitProperties,o=t.query,c=t.filters,i=t.advancedFilters,s=n||[a],u=s.some((function(e){return o[e]&&o[e].length}));if(o.search&&!u)return{emptySearchResults:!0};var l=r&&r.map((function(e){return e.key})),d=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(j.getSummaryNumbers)({endpoint:a,query:o,select:e,limitBy:s,filters:c,advancedFilters:i,defaultDateRange:d,fields:l}),defaultDateRange:d}})))(q)},750:function(e,t,r){"use strict";r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return p})),r.d(t,"a",(function(){return f}));var a,n,o=r(12),c=r.n(o),i=r(86),s=r.n(i),u=r(3),l=r(49),d=r(720),m=Object(l.applyFilters)("woocommerce_admin_downloads_report_charts",[{key:"download_count",label:Object(u.__)("Downloads","woocommerce-admin"),type:"number"}]),p=Object(l.applyFilters)("woocommerce_admin_downloads_report_filters",[{label:Object(u.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(u.__)("All Downloads","woocommerce-admin"),value:"all"},{label:Object(u.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),f=Object(l.applyFilters)("woocommerce_admin_downloads_report_advanced_filters",{title:Object(u._x)("Downloads Match {{select /}} Filters","A sentence describing filters for Downloads. See screen shot for context: https://cloudup.com/ccxhyH2mEDg","woocommerce-admin"),filters:{product:{labels:{add:Object(u.__)("Product","woocommerce-admin"),placeholder:Object(u.__)("Search","woocommerce-admin"),remove:Object(u.__)("Remove product filter","woocommerce-admin"),rule:Object(u.__)("Select a product filter match","woocommerce-admin"),title:Object(u.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(u.__)("Select product","woocommerce-admin")},rules:[{value:"includes",label:Object(u._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(u._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:d.d}},customer:{labels:{add:Object(u.__)("Username","woocommerce-admin"),placeholder:Object(u.__)("Search customer username","woocommerce-admin"),remove:Object(u.__)("Remove customer username filter","woocommerce-admin"),rule:Object(u.__)("Select a customer username filter match","woocommerce-admin"),title:Object(u.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(u.__)("Select customer username","woocommerce-admin")},rules:[{value:"includes",label:Object(u._x)("Includes","customer usernames","woocommerce-admin")},{value:"excludes",label:Object(u._x)("Excludes","customer usernames","woocommerce-admin")}],input:{component:"Search",type:"usernames",getLabels:d.c}},order:{labels:{add:Object(u.__)("Order #","woocommerce-admin"),placeholder:Object(u.__)("Search order number","woocommerce-admin"),remove:Object(u.__)("Remove order number filter","woocommerce-admin"),rule:Object(u.__)("Select a order number filter match","woocommerce-admin"),title:Object(u.__)("{{title}}Order #{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(u.__)("Select order number","woocommerce-admin")},rules:[{value:"includes",label:Object(u._x)("Includes","order numbers","woocommerce-admin")},{value:"excludes",label:Object(u._x)("Excludes","order numbers","woocommerce-admin")}],input:{component:"Search",type:"orders",getLabels:(n=s()(c.a.mark((function e(t){var r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.split(","),e.next=3,r.map((function(e){return{id:e,label:"#"+e}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})}},ip_address:{labels:{add:Object(u.__)("IP Address","woocommerce-admin"),placeholder:Object(u.__)("Search IP address","woocommerce-admin"),remove:Object(u.__)("Remove IP address filter","woocommerce-admin"),rule:Object(u.__)("Select an IP address filter match","woocommerce-admin"),title:Object(u.__)("{{title}}IP Address{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(u.__)("Select IP address","woocommerce-admin")},rules:[{value:"includes",label:Object(u._x)("Includes","IP addresses","woocommerce-admin")},{value:"excludes",label:Object(u._x)("Excludes","IP addresses","woocommerce-admin")}],input:{component:"Search",type:"downloadIps",getLabels:(a=s()(c.a.mark((function e(t){var r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.split(","),e.next=3,r.map((function(e){return{id:e,label:e}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})}}}})},86:function(e,t){function r(e,t,r,a,n,o,c){try{var i=e[o](c),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(a,n)}e.exports=function(e){return function(){var t=this,a=arguments;return new Promise((function(n,o){var c=e.apply(t,a);function i(e){r(c,n,o,i,s,"next",e)}function s(e){r(c,n,o,i,s,"throw",e)}i(void 0)}))}}}}]);
dist/chunks/{18.c46cd1104731242c53c6.js → 18.9a8ad51cd904fce65ba8.js} RENAMED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[18],{
2
 
3
- /***/ 707:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -1243,8 +1243,10 @@ var ReportSummary = /*#__PURE__*/function (_Component) {
1243
  emptySearchResults = _this$props.emptySearchResults,
1244
  summaryData = _this$props.summaryData;
1245
  var totals = summaryData.totals;
1246
- var primaryValue = emptySearchResults ? 0 : totals.primary[key];
1247
- var secondaryValue = emptySearchResults ? 0 : totals.secondary[key];
 
 
1248
  return {
1249
  delta: Object(_woocommerce_number__WEBPACK_IMPORTED_MODULE_12__["calculateDelta"])(primaryValue, secondaryValue),
1250
  prevValue: this.formatVal(secondaryValue, type),
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[18],{
2
 
3
+ /***/ 710:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
1243
  emptySearchResults = _this$props.emptySearchResults,
1244
  summaryData = _this$props.summaryData;
1245
  var totals = summaryData.totals;
1246
+ var primaryTotal = totals.primary ? totals.primary[key] : 0;
1247
+ var secondaryTotal = totals.secondary ? totals.secondary[key] : 0;
1248
+ var primaryValue = emptySearchResults ? 0 : primaryTotal;
1249
+ var secondaryValue = emptySearchResults ? 0 : secondaryTotal;
1250
  return {
1251
  delta: Object(_woocommerce_number__WEBPACK_IMPORTED_MODULE_12__["calculateDelta"])(primaryValue, secondaryValue),
1252
  prevValue: this.formatVal(secondaryValue, type),
dist/chunks/{18.c46cd1104731242c53c6.min.js → 18.9a8ad51cd904fce65ba8.min.js} RENAMED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[18],{707:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return N}));var a=r(14),o=r.n(a),n=r(13),c=r.n(n),i=r(16),l=r.n(i),u=r(17),s=r.n(u),m=r(6),d=r.n(m),p=r(0),b=r(1),f=r.n(b),_=r(747),y=r(723),v=r(10),O=r.n(v),j=r(3),h=r(2),g=r(68),w=r(274),R=r(33),S=r(32),C=r(35),q=r(728),k=r(718);r(881);function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return s()(this,r)}}var E=function(e){l()(r,e);var t=D(r);function r(){var e;return o()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(O()(e)),e.getRowsContent=e.getRowsContent.bind(O()(e)),e.getSummary=e.getSummary.bind(O()(e)),e}return c()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(j.__)("Date","woocommerce-admin"),key:"date",required:!0,defaultSort:!0,isLeftAligned:!0,isSortable:!0},{label:Object(j.__)("Order #","woocommerce-admin"),screenReaderLabel:Object(j.__)("Order Number","woocommerce-admin"),key:"order_number",required:!0},{label:Object(j.__)("Status","woocommerce-admin"),key:"status",required:!1,isSortable:!1},{label:Object(j.__)("Customer","woocommerce-admin"),key:"customer_id",required:!1,isSortable:!1},{label:Object(j.__)("Product(s)","woocommerce-admin"),screenReaderLabel:Object(j.__)("Products","woocommerce-admin"),key:"products",required:!1,isSortable:!1},{label:Object(j.__)("Items Sold","woocommerce-admin"),key:"num_items_sold",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Coupon(s)","woocommerce-admin"),screenReaderLabel:Object(j.__)("Coupons","woocommerce-admin"),key:"coupons",required:!1,isSortable:!1},{label:Object(j.__)("Net Sales","woocommerce-admin"),screenReaderLabel:Object(j.__)("Net Sales","woocommerce-admin"),key:"net_total",required:!0,isSortable:!0,isNumeric:!0}]}},{key:"getCustomerName",value:function(e){var t=e||{},r=t.first_name,a=t.last_name;return r||a?[r,a].join(" "):""}},{key:"getRowsContent",value:function(e){var t=this,r=this.props.query,a=Object(S.getPersistedQuery)(r),o=Object(R.g)("dateFormat",C.defaultTableDateFormat),n=this.context,c=n.render,i=n.getCurrencyConfig;return Object(h.map)(e,(function(e){var r=e.currency,n=e.date_created,l=e.net_total,u=e.num_items_sold,s=e.order_id,m=e.order_number,d=e.parent_id,b=e.status,f=e.extended_info||{},_=f.coupons,y=f.customer,v=f.products.sort((function(e,t){return t.quantity-e.quantity})).map((function(e){return{label:e.name,quantity:e.quantity,href:Object(S.getNewPath)(a,"/analytics/products",{filter:"single_product",products:e.id})}})),O=_.map((function(e){return{label:e.code,href:Object(S.getNewPath)(a,"/analytics/coupons",{filter:"single_coupon",coupons:e.id})}}));return[{display:Object(p.createElement)(g.Date,{date:n,visibleFormat:o}),value:n},{display:Object(p.createElement)(g.Link,{href:"post.php?post="+(d||s)+"&action=edit"+(d?"#order_refunds":""),type:"wp-admin"},m),value:m},{display:Object(p.createElement)(g.OrderStatus,{className:"woocommerce-orders-table__status",order:{status:b},orderStatusMap:Object(R.g)("orderStatuses",{})}),value:b},{display:t.getCustomerName(y),value:t.getCustomerName(y)},{display:t.renderList(v.length?[v[0]]:[],v.map((function(e){return{label:Object(j.sprintf)(Object(j.__)("%s× %s","woocommerce-admin"),e.quantity,e.label),href:e.href}}))),value:v.map((function(e){var t=e.quantity,r=e.label;return Object(j.sprintf)(Object(j.__)("%s× %s","woocommerce-admin"),t,r)})).join(", ")},{display:Object(w.formatValue)(i(),"number",u),value:u},{display:t.renderList(O.length?[O[0]]:[],O),value:O.map((function(e){return e.label})).join(", ")},{display:c(l,r),value:l}]}))}},{key:"getSummary",value:function(e){var t=e.orders_count,r=void 0===t?0:t,a=e.total_customers,o=void 0===a?0:a,n=e.products,c=void 0===n?0:n,i=e.num_items_sold,l=void 0===i?0:i,u=e.coupons_count,s=void 0===u?0:u,m=e.net_revenue,d=void 0===m?0:m,p=this.context,b=p.formatAmount,f=(0,p.getCurrencyConfig)();return[{label:Object(j._n)("order","orders",r,"woocommerce-admin"),value:Object(w.formatValue)(f,"number",r)},{label:Object(j._n)(" customer"," customers",o,"woocommerce-admin"),value:Object(w.formatValue)(f,"number",o)},{label:Object(j._n)("product","products",c,"woocommerce-admin"),value:Object(w.formatValue)(f,"number",c)},{label:Object(j._n)("item sold","items sold",l,"woocommerce-admin"),value:Object(w.formatValue)(f,"number",l)},{label:Object(j._n)("coupon","coupons",s,"woocommerce-admin"),value:Object(w.formatValue)(f,"number",s)},{label:Object(j.__)("net sales","woocommerce-admin"),value:b(d)}]}},{key:"renderLinks",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e,t){return Object(p.createElement)(g.Link,{href:e.href,key:t,type:"wc-admin"},e.label)}))}},{key:"renderList",value:function(e,t){return Object(p.createElement)(p.Fragment,null,this.renderLinks(e),t.length>1&&Object(p.createElement)(g.ViewMoreList,{items:this.renderLinks(t)}))}},{key:"render",value:function(){var e=this.props,t=e.query,r=e.filters,a=e.advancedFilters;return Object(p.createElement)(q.a,{endpoint:"orders",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["orders_count","total_customers","products","num_items_sold","coupons_count","net_revenue"],query:t,tableQuery:{extended_info:!0},title:Object(j.__)("Orders","woocommerce-admin"),columnPrefsKey:"orders_report_columns",filters:r,advancedFilters:a})}}]),r}(p.Component);E.contextType=k.a;var P=E,x=r(722),F=r(724),T=r(725);function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return s()(this,r)}}var N=function(e){l()(r,e);var t=A(r);function r(){return o()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e=this.props,t=e.path,r=e.query;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(T.a,{query:r,path:t,filters:_.c,advancedFilters:_.a,report:"orders"}),Object(p.createElement)(F.a,{charts:_.b,endpoint:"orders",query:r,selectedChart:Object(y.a)(r.chart,_.b),filters:_.c,advancedFilters:_.a}),Object(p.createElement)(x.a,{charts:_.b,endpoint:"orders",path:t,query:r,selectedChart:Object(y.a)(r.chart,_.b),filters:_.c,advancedFilters:_.a}),Object(p.createElement)(P,{query:r,filters:_.c,advancedFilters:_.a}))}}]),r}(p.Component);N.propTypes={path:f.a.string.isRequired,query:f.a.object.isRequired}},720:function(e,t,r){"use strict";r.d(t,"e",(function(){return s})),r.d(t,"a",(function(){return m})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return b})),r.d(t,"f",(function(){return f})),r.d(t,"g",(function(){return _}));var a=r(36),o=r(42),n=r.n(o),c=r(2),i=r(32),l=r(41),u=r(721);function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(o):e,l=Object(i.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);var u={include:l.join(","),per_page:l.length};return n()({path:Object(a.addQueryArgs)(c,u)}).then((function(e){return e.map(t)}))}}var m=s(l.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=s(l.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=s(l.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),b=s(l.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),f=s(l.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(u.a)(e)}})),_=s((function(e){return l.NAMESPACE+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.map((function(e){return e.option})).join(", ")}}))},721:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r(3);function o(e){return[e.country,e.state,e.name||Object(a.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},722:function(e,t,r){"use strict";var a=r(5),o=r.n(a),n=r(14),c=r.n(n),i=r(13),l=r.n(i),u=r(16),s=r.n(u),m=r(17),d=r.n(m),p=r(6),b=r.n(p),f=r(0),_=r(3),y=r(270),v=r(137),O=r(24),j=r(2),h=r(1),g=r.n(h),w=r(68),R=r(41),S=r(35),C=r(718),q=r(719),k=r(32);function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=b()(e);if(t){var o=b()(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return d()(this,r)}}var x=function(e){s()(r,e);var t=P(r);function r(){return c()(this,r),t.apply(this,arguments)}return l()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(j.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),E({date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,o=e.selectedChart,n=e.defaultDateRange,c=Object(S.getIntervalForQuery)(t),i=Object(S.getCurrentDates)(t,n),l=i.primary,u=i.secondary;return r.data.intervals.map((function(e,r){var n=Object(S.getPreviousDate)(e.date_start,l.after,u.after,t.compare,c),i=a.data.intervals[r];return{date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(l.label," (").concat(l.range,")"),labelDate:e.date_start,value:e.subtotals[o.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:n.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[o.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(j.get)(t,["data","totals",a.key],null),secondary:Object(j.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var o=this.props,n=o.emptySearchResults,c=o.filterParam,i=o.interactiveLegend,l=o.itemsLabel,u=o.legendPosition,s=o.path,m=o.query,d=o.selectedChart,p=o.showHeaderControls,b=o.primaryData,y=Object(S.getIntervalForQuery)(m),v=Object(S.getAllowedIntervalsForQuery)(m),O=Object(S.getDateFormatsForInterval)(y,b.data.intervals.length),j=n?Object(_.__)("No data for the current search","woocommerce-admin"):Object(_.__)("No data for the selected date range","woocommerce-admin"),h=this.context,g=h.formatAmount,C=h.getCurrencyConfig;return Object(f.createElement)(w.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:j,filterParam:c,interactiveLegend:i,interval:y,isRequesting:t,itemsLabel:l,legendPosition:u,legendTotals:a,mode:e,path:s,query:m,screenReaderFormat:O.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:O.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(R.getTooltipValueFormat)(d.type,g),chartType:Object(S.getChartTypeForQuery)(m),valueType:d.type,xFormat:O.xFormat,x2Format:O.x2Format,currency:C()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(f.createElement)(q.a,{isError:!0});var a=t||r.isRequesting,o=this.getItemChartData();return this.renderChart("item-comparison",a,o)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(f.createElement)(q.a,{isError:!0});var o=t||r.isRequesting||a.isRequesting,n=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",o,n,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(f.Component);x.contextType=C.a,x.propTypes={filters:g.a.array,isRequesting:g.a.bool,itemsLabel:g.a.string,limitProperties:g.a.array,mode:g.a.string,path:g.a.string.isRequired,primaryData:g.a.object,query:g.a.object.isRequired,secondaryData:g.a.object,selectedChart:g.a.shape({key:g.a.string.isRequired,label:g.a.string.isRequired,order:g.a.oneOf(["asc","desc"]),orderby:g.a.string,type:g.a.oneOf(["average","number","currency"]).isRequired}).isRequired},x.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(y.a)(Object(O.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,o=t.filters,n=t.isRequesting,c=t.limitProperties,i=t.query,l=t.advancedFilters,u=c||[a],s=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var o=t.slice(0),n=o.pop();if(n.showFilters(r,a)){var c=Object(k.flattenFilters)(n.filters),i=r[n.param]||n.defaultValue||"all";return Object(j.find)(c,{value:i})}return e(o,r,a)}(o,i),m=Object(j.get)(s,["settings","param"]),d=t.mode||function(e,t){if(e&&t){var r=Object(j.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(j.get)(e,["chartMode"])}return null}(s,i)||"time-comparison",p=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,b={mode:d,filterParam:m,defaultDateRange:p};if(n)return b;var f=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!f)return E(E({},b),{},{emptySearchResults:!0});var _=r&&r.map((function(e){return e.key})),y=Object(R.getReportChartData)({endpoint:a,dataType:"primary",query:i,select:e,limitBy:u,filters:o,advancedFilters:l,defaultDateRange:p,fields:_});if("item-comparison"===d)return E(E({},b),{},{primaryData:y});var v=Object(R.getReportChartData)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:u,filters:o,advancedFilters:l,defaultDateRange:p,fields:_});return E(E({},b),{},{primaryData:y,secondaryData:v})})))(x)},723:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r(2);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},724:function(e,t,r){"use strict";var a=r(14),o=r.n(a),n=r(13),c=r.n(n),i=r(16),l=r.n(i),u=r(17),s=r.n(u),m=r(6),d=r.n(m),p=r(0),b=r(3),f=r(270),_=r(24),y=r(1),v=r.n(y),O=r(32),j=r(68),h=r(274),g=r(41),w=r(35),R=r(61),S=r(719),C=r(718);function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return s()(this,r)}}var k=function(e){l()(r,e);var t=q(r);function r(){return o()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatAmount,o=r.getCurrencyConfig;return"currency"===t?a(e):Object(h.formatValue)(o(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,o=r.summaryData.totals,n=a?0:o.primary[e],c=a?0:o.secondary[e];return{delta:Object(h.calculateDelta)(n,c),prevValue:this.formatVal(c,t),value:this.formatVal(n,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.query,o=t.selectedChart,n=t.summaryData,c=t.endpoint,i=t.report,l=t.defaultDateRange,u=n.isError,s=n.isRequesting;if(u)return Object(p.createElement)(S.a,{isError:!0});if(s)return Object(p.createElement)(j.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(w.getDateParamsFromQuery)(a,l).compare;return Object(p.createElement)(j.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,l=t.orderby,u=t.label,s=t.type,d={chart:r};l&&(d.orderby=l),n&&(d.order=n);var f=Object(O.getNewPath)(d),_=o.key===r,y=e.getValues(r,s),v=y.delta,h=y.prevValue,g=y.value;return Object(p.createElement)(j.SummaryNumber,{key:r,delta:v,href:f,label:u,prevLabel:"previous_period"===m?Object(b.__)("Previous Period:","woocommerce-admin"):Object(b.__)("Previous Year:","woocommerce-admin"),prevValue:h,selected:_,value:g,onLinkClickCallback:function(){a&&a(),Object(R.recordEvent)("analytics_chart_tab_click",{report:i||c,key:r})}})}))}))}}]),r}(p.Component);k.propTypes={charts:v.a.array.isRequired,endpoint:v.a.string.isRequired,limitProperties:v.a.array,query:v.a.object.isRequired,selectedChart:v.a.shape({key:v.a.string.isRequired,label:v.a.string.isRequired,order:v.a.oneOf(["asc","desc"]),orderby:v.a.string,type:v.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:v.a.object,report:v.a.string},k.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},k.contextType=C.a,t.a=Object(f.a)(Object(_.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,o=t.limitProperties,n=t.query,c=t.filters,i=t.advancedFilters,l=o||[a],u=l.some((function(e){return n[e]&&n[e].length}));if(n.search&&!u)return{emptySearchResults:!0};var s=r&&r.map((function(e){return e.key})),m=e(g.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(g.getSummaryNumbers)({endpoint:a,query:n,select:e,limitBy:l,filters:c,advancedFilters:i,defaultDateRange:m,fields:s}),defaultDateRange:m}})))(k)},747:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return l})),r.d(t,"a",(function(){return u}));var a=r(3),o=r(49),n=r(33),c=r(720),i=Object(o.applyFilters)("woocommerce_admin_orders_report_charts",[{key:"orders_count",label:Object(a.__)("Orders","woocommerce-admin"),type:"number"},{key:"net_revenue",label:Object(a.__)("Net Sales","woocommerce-admin"),order:"desc",orderby:"net_total",type:"currency"},{key:"avg_order_value",label:Object(a.__)("Average Order Value","woocommerce-admin"),type:"currency"},{key:"avg_items_per_order",label:Object(a.__)("Average Items Per Order","woocommerce-admin"),order:"desc",orderby:"num_items_sold",type:"average"}]),l=Object(o.applyFilters)("woocommerce_admin_orders_report_filters",[{label:Object(a.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(a.__)("All Orders","woocommerce-admin"),value:"all"},{label:Object(a.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),u=Object(o.applyFilters)("woocommerce_admin_orders_report_advanced_filters",{title:Object(a._x)("Orders Match {{select /}} Filters","A sentence describing filters for Orders. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce-admin"),filters:{status:{labels:{add:Object(a.__)("Order Status","woocommerce-admin"),remove:Object(a.__)("Remove order status filter","woocommerce-admin"),rule:Object(a.__)("Select an order status filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Order Status{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select an order status","woocommerce-admin")},rules:[{value:"is",label:Object(a._x)("Is","order status","woocommerce-admin")},{value:"is_not",label:Object(a._x)("Is Not","order status","woocommerce-admin")}],input:{component:"SelectControl",options:Object.keys(n.d).map((function(e){return{value:e,label:n.d[e]}}))}},product:{labels:{add:Object(a.__)("Products","woocommerce-admin"),placeholder:Object(a.__)("Search products","woocommerce-admin"),remove:Object(a.__)("Remove products filter","woocommerce-admin"),rule:Object(a.__)("Select a product filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select products","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:c.d}},coupon:{labels:{add:Object(a.__)("Coupon Codes","woocommerce-admin"),placeholder:Object(a.__)("Search coupons","woocommerce-admin"),remove:Object(a.__)("Remove coupon filter","woocommerce-admin"),rule:Object(a.__)("Select a coupon filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Coupon Code{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select coupon codes","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","coupon code","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","coupon code","woocommerce-admin")}],input:{component:"Search",type:"coupons",getLabels:c.b}},customer_type:{labels:{add:Object(a.__)("Customer Type","woocommerce-admin"),remove:Object(a.__)("Remove customer filter","woocommerce-admin"),rule:Object(a.__)("Select a customer filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Customer is{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select a customer type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"new",label:Object(a.__)("New","woocommerce-admin")},{value:"returning",label:Object(a.__)("Returning","woocommerce-admin")}],defaultOption:"new"}},refunds:{labels:{add:Object(a.__)("Refunds","woocommerce-admin"),remove:Object(a.__)("Remove refunds filter","woocommerce-admin"),rule:Object(a.__)("Select a refund filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Refunds{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select a refund type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"all",label:Object(a.__)("All","woocommerce-admin")},{value:"partial",label:Object(a.__)("Partially refunded","woocommerce-admin")},{value:"full",label:Object(a.__)("Fully refunded","woocommerce-admin")},{value:"none",label:Object(a.__)("None","woocommerce-admin")}],defaultOption:"all"}},tax_rate:{labels:{add:Object(a.__)("Tax Rates","woocommerce-admin"),placeholder:Object(a.__)("Search tax rates","woocommerce-admin"),remove:Object(a.__)("Remove tax rate filter","woocommerce-admin"),rule:Object(a.__)("Select a tax rate filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Tax Rate{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select tax rates","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","tax rate","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","tax rate","woocommerce-admin")}],input:{component:"Search",type:"taxes",getLabels:c.f}},attribute:{allowMultiple:!0,labels:{add:Object(a.__)("Attribute","woocommerce-admin"),placeholder:Object(a.__)("Search attributes","woocommerce-admin"),remove:Object(a.__)("Remove attribute filter","woocommerce-admin"),rule:Object(a.__)("Select a product attribute filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Attribute{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select attributes","woocommerce-admin")},rules:[{value:"is",label:Object(a._x)("Is","product attribute","woocommerce-admin")},{value:"is_not",label:Object(a._x)("Is Not","product attribute","woocommerce-admin")}],input:{component:"ProductAttribute"}}}})},881:function(e,t,r){}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[18],{710:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return N}));var a=r(14),o=r.n(a),n=r(13),c=r.n(n),i=r(16),l=r.n(i),u=r(17),s=r.n(u),m=r(6),d=r.n(m),p=r(0),b=r(1),f=r.n(b),y=r(747),_=r(723),v=r(10),O=r.n(v),j=r(3),h=r(2),g=r(68),w=r(274),R=r(33),S=r(32),C=r(35),q=r(728),k=r(718);r(881);function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return s()(this,r)}}var E=function(e){l()(r,e);var t=D(r);function r(){var e;return o()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(O()(e)),e.getRowsContent=e.getRowsContent.bind(O()(e)),e.getSummary=e.getSummary.bind(O()(e)),e}return c()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(j.__)("Date","woocommerce-admin"),key:"date",required:!0,defaultSort:!0,isLeftAligned:!0,isSortable:!0},{label:Object(j.__)("Order #","woocommerce-admin"),screenReaderLabel:Object(j.__)("Order Number","woocommerce-admin"),key:"order_number",required:!0},{label:Object(j.__)("Status","woocommerce-admin"),key:"status",required:!1,isSortable:!1},{label:Object(j.__)("Customer","woocommerce-admin"),key:"customer_id",required:!1,isSortable:!1},{label:Object(j.__)("Product(s)","woocommerce-admin"),screenReaderLabel:Object(j.__)("Products","woocommerce-admin"),key:"products",required:!1,isSortable:!1},{label:Object(j.__)("Items Sold","woocommerce-admin"),key:"num_items_sold",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Coupon(s)","woocommerce-admin"),screenReaderLabel:Object(j.__)("Coupons","woocommerce-admin"),key:"coupons",required:!1,isSortable:!1},{label:Object(j.__)("Net Sales","woocommerce-admin"),screenReaderLabel:Object(j.__)("Net Sales","woocommerce-admin"),key:"net_total",required:!0,isSortable:!0,isNumeric:!0}]}},{key:"getCustomerName",value:function(e){var t=e||{},r=t.first_name,a=t.last_name;return r||a?[r,a].join(" "):""}},{key:"getRowsContent",value:function(e){var t=this,r=this.props.query,a=Object(S.getPersistedQuery)(r),o=Object(R.g)("dateFormat",C.defaultTableDateFormat),n=this.context,c=n.render,i=n.getCurrencyConfig;return Object(h.map)(e,(function(e){var r=e.currency,n=e.date_created,l=e.net_total,u=e.num_items_sold,s=e.order_id,m=e.order_number,d=e.parent_id,b=e.status,f=e.extended_info||{},y=f.coupons,_=f.customer,v=f.products.sort((function(e,t){return t.quantity-e.quantity})).map((function(e){return{label:e.name,quantity:e.quantity,href:Object(S.getNewPath)(a,"/analytics/products",{filter:"single_product",products:e.id})}})),O=y.map((function(e){return{label:e.code,href:Object(S.getNewPath)(a,"/analytics/coupons",{filter:"single_coupon",coupons:e.id})}}));return[{display:Object(p.createElement)(g.Date,{date:n,visibleFormat:o}),value:n},{display:Object(p.createElement)(g.Link,{href:"post.php?post="+(d||s)+"&action=edit"+(d?"#order_refunds":""),type:"wp-admin"},m),value:m},{display:Object(p.createElement)(g.OrderStatus,{className:"woocommerce-orders-table__status",order:{status:b},orderStatusMap:Object(R.g)("orderStatuses",{})}),value:b},{display:t.getCustomerName(_),value:t.getCustomerName(_)},{display:t.renderList(v.length?[v[0]]:[],v.map((function(e){return{label:Object(j.sprintf)(Object(j.__)("%s× %s","woocommerce-admin"),e.quantity,e.label),href:e.href}}))),value:v.map((function(e){var t=e.quantity,r=e.label;return Object(j.sprintf)(Object(j.__)("%s× %s","woocommerce-admin"),t,r)})).join(", ")},{display:Object(w.formatValue)(i(),"number",u),value:u},{display:t.renderList(O.length?[O[0]]:[],O),value:O.map((function(e){return e.label})).join(", ")},{display:c(l,r),value:l}]}))}},{key:"getSummary",value:function(e){var t=e.orders_count,r=void 0===t?0:t,a=e.total_customers,o=void 0===a?0:a,n=e.products,c=void 0===n?0:n,i=e.num_items_sold,l=void 0===i?0:i,u=e.coupons_count,s=void 0===u?0:u,m=e.net_revenue,d=void 0===m?0:m,p=this.context,b=p.formatAmount,f=(0,p.getCurrencyConfig)();return[{label:Object(j._n)("order","orders",r,"woocommerce-admin"),value:Object(w.formatValue)(f,"number",r)},{label:Object(j._n)(" customer"," customers",o,"woocommerce-admin"),value:Object(w.formatValue)(f,"number",o)},{label:Object(j._n)("product","products",c,"woocommerce-admin"),value:Object(w.formatValue)(f,"number",c)},{label:Object(j._n)("item sold","items sold",l,"woocommerce-admin"),value:Object(w.formatValue)(f,"number",l)},{label:Object(j._n)("coupon","coupons",s,"woocommerce-admin"),value:Object(w.formatValue)(f,"number",s)},{label:Object(j.__)("net sales","woocommerce-admin"),value:b(d)}]}},{key:"renderLinks",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e,t){return Object(p.createElement)(g.Link,{href:e.href,key:t,type:"wc-admin"},e.label)}))}},{key:"renderList",value:function(e,t){return Object(p.createElement)(p.Fragment,null,this.renderLinks(e),t.length>1&&Object(p.createElement)(g.ViewMoreList,{items:this.renderLinks(t)}))}},{key:"render",value:function(){var e=this.props,t=e.query,r=e.filters,a=e.advancedFilters;return Object(p.createElement)(q.a,{endpoint:"orders",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["orders_count","total_customers","products","num_items_sold","coupons_count","net_revenue"],query:t,tableQuery:{extended_info:!0},title:Object(j.__)("Orders","woocommerce-admin"),columnPrefsKey:"orders_report_columns",filters:r,advancedFilters:a})}}]),r}(p.Component);E.contextType=k.a;var P=E,x=r(722),F=r(724),T=r(725);function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return s()(this,r)}}var N=function(e){l()(r,e);var t=A(r);function r(){return o()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e=this.props,t=e.path,r=e.query;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(T.a,{query:r,path:t,filters:y.c,advancedFilters:y.a,report:"orders"}),Object(p.createElement)(F.a,{charts:y.b,endpoint:"orders",query:r,selectedChart:Object(_.a)(r.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(x.a,{charts:y.b,endpoint:"orders",path:t,query:r,selectedChart:Object(_.a)(r.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(P,{query:r,filters:y.c,advancedFilters:y.a}))}}]),r}(p.Component);N.propTypes={path:f.a.string.isRequired,query:f.a.object.isRequired}},720:function(e,t,r){"use strict";r.d(t,"e",(function(){return s})),r.d(t,"a",(function(){return m})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return b})),r.d(t,"f",(function(){return f})),r.d(t,"g",(function(){return y}));var a=r(36),o=r(42),n=r.n(o),c=r(2),i=r(32),l=r(41),u=r(721);function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(o):e,l=Object(i.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);var u={include:l.join(","),per_page:l.length};return n()({path:Object(a.addQueryArgs)(c,u)}).then((function(e){return e.map(t)}))}}var m=s(l.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=s(l.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=s(l.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),b=s(l.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),f=s(l.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(u.a)(e)}})),y=s((function(e){return l.NAMESPACE+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.map((function(e){return e.option})).join(", ")}}))},721:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r(3);function o(e){return[e.country,e.state,e.name||Object(a.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},722:function(e,t,r){"use strict";var a=r(5),o=r.n(a),n=r(14),c=r.n(n),i=r(13),l=r.n(i),u=r(16),s=r.n(u),m=r(17),d=r.n(m),p=r(6),b=r.n(p),f=r(0),y=r(3),_=r(270),v=r(137),O=r(24),j=r(2),h=r(1),g=r.n(h),w=r(68),R=r(41),S=r(35),C=r(718),q=r(719),k=r(32);function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=b()(e);if(t){var o=b()(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return d()(this,r)}}var x=function(e){s()(r,e);var t=P(r);function r(){return c()(this,r),t.apply(this,arguments)}return l()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(j.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),E({date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,o=e.selectedChart,n=e.defaultDateRange,c=Object(S.getIntervalForQuery)(t),i=Object(S.getCurrentDates)(t,n),l=i.primary,u=i.secondary;return r.data.intervals.map((function(e,r){var n=Object(S.getPreviousDate)(e.date_start,l.after,u.after,t.compare,c),i=a.data.intervals[r];return{date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(l.label," (").concat(l.range,")"),labelDate:e.date_start,value:e.subtotals[o.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:n.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[o.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(j.get)(t,["data","totals",a.key],null),secondary:Object(j.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var o=this.props,n=o.emptySearchResults,c=o.filterParam,i=o.interactiveLegend,l=o.itemsLabel,u=o.legendPosition,s=o.path,m=o.query,d=o.selectedChart,p=o.showHeaderControls,b=o.primaryData,_=Object(S.getIntervalForQuery)(m),v=Object(S.getAllowedIntervalsForQuery)(m),O=Object(S.getDateFormatsForInterval)(_,b.data.intervals.length),j=n?Object(y.__)("No data for the current search","woocommerce-admin"):Object(y.__)("No data for the selected date range","woocommerce-admin"),h=this.context,g=h.formatAmount,C=h.getCurrencyConfig;return Object(f.createElement)(w.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:j,filterParam:c,interactiveLegend:i,interval:_,isRequesting:t,itemsLabel:l,legendPosition:u,legendTotals:a,mode:e,path:s,query:m,screenReaderFormat:O.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:O.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(R.getTooltipValueFormat)(d.type,g),chartType:Object(S.getChartTypeForQuery)(m),valueType:d.type,xFormat:O.xFormat,x2Format:O.x2Format,currency:C()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(f.createElement)(q.a,{isError:!0});var a=t||r.isRequesting,o=this.getItemChartData();return this.renderChart("item-comparison",a,o)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(f.createElement)(q.a,{isError:!0});var o=t||r.isRequesting||a.isRequesting,n=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",o,n,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(f.Component);x.contextType=C.a,x.propTypes={filters:g.a.array,isRequesting:g.a.bool,itemsLabel:g.a.string,limitProperties:g.a.array,mode:g.a.string,path:g.a.string.isRequired,primaryData:g.a.object,query:g.a.object.isRequired,secondaryData:g.a.object,selectedChart:g.a.shape({key:g.a.string.isRequired,label:g.a.string.isRequired,order:g.a.oneOf(["asc","desc"]),orderby:g.a.string,type:g.a.oneOf(["average","number","currency"]).isRequired}).isRequired},x.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(_.a)(Object(O.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,o=t.filters,n=t.isRequesting,c=t.limitProperties,i=t.query,l=t.advancedFilters,u=c||[a],s=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var o=t.slice(0),n=o.pop();if(n.showFilters(r,a)){var c=Object(k.flattenFilters)(n.filters),i=r[n.param]||n.defaultValue||"all";return Object(j.find)(c,{value:i})}return e(o,r,a)}(o,i),m=Object(j.get)(s,["settings","param"]),d=t.mode||function(e,t){if(e&&t){var r=Object(j.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(j.get)(e,["chartMode"])}return null}(s,i)||"time-comparison",p=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,b={mode:d,filterParam:m,defaultDateRange:p};if(n)return b;var f=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!f)return E(E({},b),{},{emptySearchResults:!0});var y=r&&r.map((function(e){return e.key})),_=Object(R.getReportChartData)({endpoint:a,dataType:"primary",query:i,select:e,limitBy:u,filters:o,advancedFilters:l,defaultDateRange:p,fields:y});if("item-comparison"===d)return E(E({},b),{},{primaryData:_});var v=Object(R.getReportChartData)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:u,filters:o,advancedFilters:l,defaultDateRange:p,fields:y});return E(E({},b),{},{primaryData:_,secondaryData:v})})))(x)},723:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r(2);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},724:function(e,t,r){"use strict";var a=r(14),o=r.n(a),n=r(13),c=r.n(n),i=r(16),l=r.n(i),u=r(17),s=r.n(u),m=r(6),d=r.n(m),p=r(0),b=r(3),f=r(270),y=r(24),_=r(1),v=r.n(_),O=r(32),j=r(68),h=r(274),g=r(41),w=r(35),R=r(61),S=r(719),C=r(718);function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return s()(this,r)}}var k=function(e){l()(r,e);var t=q(r);function r(){return o()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatAmount,o=r.getCurrencyConfig;return"currency"===t?a(e):Object(h.formatValue)(o(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,o=r.summaryData.totals,n=o.primary?o.primary[e]:0,c=o.secondary?o.secondary[e]:0,i=a?0:n,l=a?0:c;return{delta:Object(h.calculateDelta)(i,l),prevValue:this.formatVal(l,t),value:this.formatVal(i,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.query,o=t.selectedChart,n=t.summaryData,c=t.endpoint,i=t.report,l=t.defaultDateRange,u=n.isError,s=n.isRequesting;if(u)return Object(p.createElement)(S.a,{isError:!0});if(s)return Object(p.createElement)(j.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(w.getDateParamsFromQuery)(a,l).compare;return Object(p.createElement)(j.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,l=t.orderby,u=t.label,s=t.type,d={chart:r};l&&(d.orderby=l),n&&(d.order=n);var f=Object(O.getNewPath)(d),y=o.key===r,_=e.getValues(r,s),v=_.delta,h=_.prevValue,g=_.value;return Object(p.createElement)(j.SummaryNumber,{key:r,delta:v,href:f,label:u,prevLabel:"previous_period"===m?Object(b.__)("Previous Period:","woocommerce-admin"):Object(b.__)("Previous Year:","woocommerce-admin"),prevValue:h,selected:y,value:g,onLinkClickCallback:function(){a&&a(),Object(R.recordEvent)("analytics_chart_tab_click",{report:i||c,key:r})}})}))}))}}]),r}(p.Component);k.propTypes={charts:v.a.array.isRequired,endpoint:v.a.string.isRequired,limitProperties:v.a.array,query:v.a.object.isRequired,selectedChart:v.a.shape({key:v.a.string.isRequired,label:v.a.string.isRequired,order:v.a.oneOf(["asc","desc"]),orderby:v.a.string,type:v.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:v.a.object,report:v.a.string},k.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},k.contextType=C.a,t.a=Object(f.a)(Object(y.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,o=t.limitProperties,n=t.query,c=t.filters,i=t.advancedFilters,l=o||[a],u=l.some((function(e){return n[e]&&n[e].length}));if(n.search&&!u)return{emptySearchResults:!0};var s=r&&r.map((function(e){return e.key})),m=e(g.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(g.getSummaryNumbers)({endpoint:a,query:n,select:e,limitBy:l,filters:c,advancedFilters:i,defaultDateRange:m,fields:s}),defaultDateRange:m}})))(k)},747:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return l})),r.d(t,"a",(function(){return u}));var a=r(3),o=r(49),n=r(33),c=r(720),i=Object(o.applyFilters)("woocommerce_admin_orders_report_charts",[{key:"orders_count",label:Object(a.__)("Orders","woocommerce-admin"),type:"number"},{key:"net_revenue",label:Object(a.__)("Net Sales","woocommerce-admin"),order:"desc",orderby:"net_total",type:"currency"},{key:"avg_order_value",label:Object(a.__)("Average Order Value","woocommerce-admin"),type:"currency"},{key:"avg_items_per_order",label:Object(a.__)("Average Items Per Order","woocommerce-admin"),order:"desc",orderby:"num_items_sold",type:"average"}]),l=Object(o.applyFilters)("woocommerce_admin_orders_report_filters",[{label:Object(a.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(a.__)("All Orders","woocommerce-admin"),value:"all"},{label:Object(a.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),u=Object(o.applyFilters)("woocommerce_admin_orders_report_advanced_filters",{title:Object(a._x)("Orders Match {{select /}} Filters","A sentence describing filters for Orders. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce-admin"),filters:{status:{labels:{add:Object(a.__)("Order Status","woocommerce-admin"),remove:Object(a.__)("Remove order status filter","woocommerce-admin"),rule:Object(a.__)("Select an order status filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Order Status{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select an order status","woocommerce-admin")},rules:[{value:"is",label:Object(a._x)("Is","order status","woocommerce-admin")},{value:"is_not",label:Object(a._x)("Is Not","order status","woocommerce-admin")}],input:{component:"SelectControl",options:Object.keys(n.d).map((function(e){return{value:e,label:n.d[e]}}))}},product:{labels:{add:Object(a.__)("Products","woocommerce-admin"),placeholder:Object(a.__)("Search products","woocommerce-admin"),remove:Object(a.__)("Remove products filter","woocommerce-admin"),rule:Object(a.__)("Select a product filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select products","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:c.d}},coupon:{labels:{add:Object(a.__)("Coupon Codes","woocommerce-admin"),placeholder:Object(a.__)("Search coupons","woocommerce-admin"),remove:Object(a.__)("Remove coupon filter","woocommerce-admin"),rule:Object(a.__)("Select a coupon filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Coupon Code{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select coupon codes","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","coupon code","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","coupon code","woocommerce-admin")}],input:{component:"Search",type:"coupons",getLabels:c.b}},customer_type:{labels:{add:Object(a.__)("Customer Type","woocommerce-admin"),remove:Object(a.__)("Remove customer filter","woocommerce-admin"),rule:Object(a.__)("Select a customer filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Customer is{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select a customer type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"new",label:Object(a.__)("New","woocommerce-admin")},{value:"returning",label:Object(a.__)("Returning","woocommerce-admin")}],defaultOption:"new"}},refunds:{labels:{add:Object(a.__)("Refunds","woocommerce-admin"),remove:Object(a.__)("Remove refunds filter","woocommerce-admin"),rule:Object(a.__)("Select a refund filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Refunds{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select a refund type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"all",label:Object(a.__)("All","woocommerce-admin")},{value:"partial",label:Object(a.__)("Partially refunded","woocommerce-admin")},{value:"full",label:Object(a.__)("Fully refunded","woocommerce-admin")},{value:"none",label:Object(a.__)("None","woocommerce-admin")}],defaultOption:"all"}},tax_rate:{labels:{add:Object(a.__)("Tax Rates","woocommerce-admin"),placeholder:Object(a.__)("Search tax rates","woocommerce-admin"),remove:Object(a.__)("Remove tax rate filter","woocommerce-admin"),rule:Object(a.__)("Select a tax rate filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Tax Rate{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select tax rates","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","tax rate","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","tax rate","woocommerce-admin")}],input:{component:"Search",type:"taxes",getLabels:c.f}},attribute:{allowMultiple:!0,labels:{add:Object(a.__)("Attribute","woocommerce-admin"),placeholder:Object(a.__)("Search attributes","woocommerce-admin"),remove:Object(a.__)("Remove attribute filter","woocommerce-admin"),rule:Object(a.__)("Select a product attribute filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Attribute{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select attributes","woocommerce-admin")},rules:[{value:"is",label:Object(a._x)("Is","product attribute","woocommerce-admin")},{value:"is_not",label:Object(a._x)("Is Not","product attribute","woocommerce-admin")}],input:{component:"ProductAttribute"}}}})},881:function(e,t,r){}}]);
dist/chunks/{20.bb65ad22ea85233709c5.js → 20.4da69c21435efd2c9e40.js} RENAMED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[20],{
2
 
3
- /***/ 705:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -1121,8 +1121,10 @@ var ReportSummary = /*#__PURE__*/function (_Component) {
1121
  emptySearchResults = _this$props.emptySearchResults,
1122
  summaryData = _this$props.summaryData;
1123
  var totals = summaryData.totals;
1124
- var primaryValue = emptySearchResults ? 0 : totals.primary[key];
1125
- var secondaryValue = emptySearchResults ? 0 : totals.secondary[key];
 
 
1126
  return {
1127
  delta: Object(_woocommerce_number__WEBPACK_IMPORTED_MODULE_12__["calculateDelta"])(primaryValue, secondaryValue),
1128
  prevValue: this.formatVal(secondaryValue, type),
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[20],{
2
 
3
+ /***/ 707:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
1121
  emptySearchResults = _this$props.emptySearchResults,
1122
  summaryData = _this$props.summaryData;
1123
  var totals = summaryData.totals;
1124
+ var primaryTotal = totals.primary ? totals.primary[key] : 0;
1125
+ var secondaryTotal = totals.secondary ? totals.secondary[key] : 0;
1126
+ var primaryValue = emptySearchResults ? 0 : primaryTotal;
1127
+ var secondaryValue = emptySearchResults ? 0 : secondaryTotal;
1128
  return {
1129
  delta: Object(_woocommerce_number__WEBPACK_IMPORTED_MODULE_12__["calculateDelta"])(primaryValue, secondaryValue),
1130
  prevValue: this.formatVal(secondaryValue, type),
dist/chunks/{20.bb65ad22ea85233709c5.min.js → 20.4da69c21435efd2c9e40.min.js} RENAMED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[20],{705:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return I}));var a=r(14),n=r.n(a),o=r(13),i=r.n(o),s=r(16),c=r.n(s),u=r(17),l=r.n(u),d=r(6),m=r.n(d),p=r(0),y=r(1),f=r.n(y),b=r(745),v=r(723),g=r(722),h=r(724),_=r(10),O=r.n(_),j=r(3),R=r(137),w=r(24),q=r(270),D=r(2),S=r(68),C=r(274),k=r(33),E=r(41),T=r(35),F=r(728),P=r(718);function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var N=function(e){c()(r,e);var t=x(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(O()(e)),e.getRowsContent=e.getRowsContent.bind(O()(e)),e.getSummary=e.getSummary.bind(O()(e)),e}return i()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(j.__)("Date","woocommerce-admin"),key:"date",required:!0,defaultSort:!0,isLeftAligned:!0,isSortable:!0},{label:Object(j.__)("Orders","woocommerce-admin"),key:"orders_count",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Gross Sales","woocommerce-admin"),key:"gross_sales",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Returns","woocommerce-admin"),key:"refunds",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Coupons","woocommerce-admin"),key:"coupons",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Net Sales","woocommerce-admin"),key:"net_revenue",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Taxes","woocommerce-admin"),key:"taxes",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Shipping","woocommerce-admin"),key:"shipping",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Total Sales","woocommerce-admin"),key:"total_sales",required:!1,isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=Object(k.g)("dateFormat",T.defaultTableDateFormat),r=this.context,a=r.formatAmount,n=r.render,o=r.formatDecimal,i=r.getCurrencyConfig;return e.map((function(e){var r=e.subtotals,s=r.coupons,c=r.gross_sales,u=r.total_sales,l=r.net_revenue,d=r.orders_count,m=r.refunds,y=r.shipping,f=r.taxes,b=Object(p.createElement)(S.Link,{href:"edit.php?post_type=shop_order&m="+Object(R.a)("Ymd",e.date_start),type:"wp-admin"},Object(C.formatValue)(i(),"number",d));return[{display:Object(p.createElement)(S.Date,{date:e.date_start,visibleFormat:t}),value:e.date_start},{display:b,value:Number(d)},{display:n(c),value:o(c)},{display:a(m),value:o(m)},{display:a(s),value:o(s)},{display:n(l),value:o(l)},{display:n(f),value:o(f)},{display:n(y),value:o(y)},{display:n(u),value:o(u)}]}))}},{key:"getSummary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.orders_count,a=void 0===r?0:r,n=e.gross_sales,o=void 0===n?0:n,i=e.total_sales,s=void 0===i?0:i,c=e.refunds,u=void 0===c?0:c,l=e.coupons,d=void 0===l?0:l,m=e.taxes,p=void 0===m?0:m,y=e.shipping,f=void 0===y?0:y,b=e.net_revenue,v=void 0===b?0:b,g=this.context,h=g.formatAmount,_=g.getCurrencyConfig,O=_();return[{label:Object(j._n)("day","days",t,"woocommerce-admin"),value:Object(C.formatValue)(O,"number",t)},{label:Object(j._n)("order","orders",a,"woocommerce-admin"),value:Object(C.formatValue)(O,"number",a)},{label:Object(j.__)("gross sales","woocommerce-admin"),value:h(o)},{label:Object(j.__)("returns","woocommerce-admin"),value:h(u)},{label:Object(j.__)("coupons","woocommerce-admin"),value:h(d)},{label:Object(j.__)("net sales","woocommerce-admin"),value:h(v)},{label:Object(j.__)("taxes","woocommerce-admin"),value:h(p)},{label:Object(j.__)("shipping","woocommerce-admin"),value:h(f)},{label:Object(j.__)("total sales","woocommerce-admin"),value:h(s)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.tableData,n=e.query;return Object(p.createElement)(F.a,{endpoint:"revenue",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["orders_count","gross_sales","total_sales","refunds","coupons","taxes","shipping","net_revenue"],query:n,tableData:a,title:Object(j.__)("Revenue","woocommerce-admin"),columnPrefsKey:"revenue_report_columns",filters:r,advancedFilters:t})}}]),r}(p.Component);N.contextType=P.a;var A=Object(q.a)(Object(w.withSelect)((function(e,t){var r=t.query,a=t.filters,n=t.advancedFilters,o=e(E.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,i=Object(T.getCurrentDates)(r,o),s=e(E.REPORTS_STORE_NAME),c=s.getReportStats,u=s.getReportStatsError,l=s.isResolving,d={interval:"day",orderby:r.orderby||"date",order:r.order||"desc",page:r.paged||1,per_page:r.per_page||E.QUERY_DEFAULTS.pageSize,after:Object(T.appendTimestamp)(i.primary.after,"start"),before:Object(T.appendTimestamp)(i.primary.before,"end")},m=Object(E.getReportTableQuery)({endpoint:"revenue",query:r,select:e,tableQuery:d,filters:a,advancedFilters:n}),p=c("revenue",m),y=Boolean(u("revenue",m)),f=l("getReportStats",["revenue",m]);return{tableData:{items:{data:Object(D.get)(p,["data","intervals"],[]),totalResults:Object(D.get)(p,["totalResults"],0)},isError:y,isRequesting:f,query:d}}})))(N),V=r(725);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var I=function(e){c()(r,e);var t=L(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var e=this.props,t=e.path,r=e.query;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(V.a,{query:r,path:t,report:"revenue",filters:b.c,advancedFilters:b.a}),Object(p.createElement)(h.a,{charts:b.b,endpoint:"revenue",query:r,selectedChart:Object(v.a)(r.chart,b.b),filters:b.c,advancedFilters:b.a}),Object(p.createElement)(g.a,{charts:b.b,endpoint:"revenue",path:t,query:r,selectedChart:Object(v.a)(r.chart,b.b),filters:b.c,advancedFilters:b.a}),Object(p.createElement)(A,{query:r,filters:b.c,advancedFilters:b.a}))}}]),r}(p.Component);I.propTypes={path:f.a.string.isRequired,query:f.a.object.isRequired}},722:function(e,t,r){"use strict";var a=r(5),n=r.n(a),o=r(14),i=r.n(o),s=r(13),c=r.n(s),u=r(16),l=r.n(u),d=r(17),m=r.n(d),p=r(6),y=r.n(p),f=r(0),b=r(3),v=r(270),g=r(137),h=r(24),_=r(2),O=r(1),j=r.n(O),R=r(68),w=r(41),q=r(35),D=r(718),S=r(719),C=r(32);function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=y()(e);if(t){var n=y()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var F=function(e){l()(r,e);var t=T(r);function r(){return i()(this,r),t.apply(this,arguments)}return c()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(_.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),E({date:Object(g.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,i=Object(q.getIntervalForQuery)(t),s=Object(q.getCurrentDates)(t,o),c=s.primary,u=s.secondary;return r.data.intervals.map((function(e,r){var o=Object(q.getPreviousDate)(e.date_start,c.after,u.after,t.compare,i),s=a.data.intervals[r];return{date:Object(g.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(c.label," (").concat(c.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:s&&s.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(_.get)(t,["data","totals",a.key],null),secondary:Object(_.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,i=n.filterParam,s=n.interactiveLegend,c=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,y=n.primaryData,v=Object(q.getIntervalForQuery)(d),g=Object(q.getAllowedIntervalsForQuery)(d),h=Object(q.getDateFormatsForInterval)(v,y.data.intervals.length),_=o?Object(b.__)("No data for the current search","woocommerce-admin"):Object(b.__)("No data for the selected date range","woocommerce-admin"),O=this.context,j=O.formatAmount,D=O.getCurrencyConfig;return Object(f.createElement)(R.Chart,{allowedIntervals:g,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:_,filterParam:i,interactiveLegend:s,interval:v,isRequesting:t,itemsLabel:c,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:h.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:h.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(w.getTooltipValueFormat)(m.type,j),chartType:Object(q.getChartTypeForQuery)(d),valueType:m.type,xFormat:h.xFormat,x2Format:h.x2Format,currency:D()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(f.createElement)(S.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(f.createElement)(S.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),i=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,i)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(f.Component);F.contextType=D.a,F.propTypes={filters:j.a.array,isRequesting:j.a.bool,itemsLabel:j.a.string,limitProperties:j.a.array,mode:j.a.string,path:j.a.string.isRequired,primaryData:j.a.object,query:j.a.object.isRequired,secondaryData:j.a.object,selectedChart:j.a.shape({key:j.a.string.isRequired,label:j.a.string.isRequired,order:j.a.oneOf(["asc","desc"]),orderby:j.a.string,type:j.a.oneOf(["average","number","currency"]).isRequired}).isRequired},F.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(v.a)(Object(h.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,i=t.limitProperties,s=t.query,c=t.advancedFilters,u=i||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var i=Object(C.flattenFilters)(o.filters),s=r[o.param]||o.defaultValue||"all";return Object(_.find)(i,{value:s})}return e(n,r,a)}(n,s),d=Object(_.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(_.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(_.get)(e,["chartMode"])}return null}(l,s)||"time-comparison",p=e(w.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,y={mode:m,filterParam:d,defaultDateRange:p};if(o)return y;var f=u.some((function(e){return s[e]&&s[e].length}));if(s.search&&!f)return E(E({},y),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),v=Object(w.getReportChartData)({endpoint:a,dataType:"primary",query:s,select:e,limitBy:u,filters:n,advancedFilters:c,defaultDateRange:p,fields:b});if("item-comparison"===m)return E(E({},y),{},{primaryData:v});var g=Object(w.getReportChartData)({endpoint:a,dataType:"secondary",query:s,select:e,limitBy:u,filters:n,advancedFilters:c,defaultDateRange:p,fields:b});return E(E({},y),{},{primaryData:v,secondaryData:g})})))(F)},723:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},724:function(e,t,r){"use strict";var a=r(14),n=r.n(a),o=r(13),i=r.n(o),s=r(16),c=r.n(s),u=r(17),l=r.n(u),d=r(6),m=r.n(d),p=r(0),y=r(3),f=r(270),b=r(24),v=r(1),g=r.n(v),h=r(32),_=r(68),O=r(274),j=r(41),R=r(35),w=r(61),q=r(719),D=r(718);function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var C=function(e){c()(r,e);var t=S(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatAmount,n=r.getCurrencyConfig;return"currency"===t?a(e):Object(O.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],i=a?0:n.secondary[e];return{delta:Object(O.calculateDelta)(o,i),prevValue:this.formatVal(i,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.query,n=t.selectedChart,o=t.summaryData,i=t.endpoint,s=t.report,c=t.defaultDateRange,u=o.isError,l=o.isRequesting;if(u)return Object(p.createElement)(q.a,{isError:!0});if(l)return Object(p.createElement)(_.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(R.getDateParamsFromQuery)(a,c).compare;return Object(p.createElement)(_.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,o=t.order,c=t.orderby,u=t.label,l=t.type,m={chart:r};c&&(m.orderby=c),o&&(m.order=o);var f=Object(h.getNewPath)(m),b=n.key===r,v=e.getValues(r,l),g=v.delta,O=v.prevValue,j=v.value;return Object(p.createElement)(_.SummaryNumber,{key:r,delta:g,href:f,label:u,prevLabel:"previous_period"===d?Object(y.__)("Previous Period:","woocommerce-admin"):Object(y.__)("Previous Year:","woocommerce-admin"),prevValue:O,selected:b,value:j,onLinkClickCallback:function(){a&&a(),Object(w.recordEvent)("analytics_chart_tab_click",{report:s||i,key:r})}})}))}))}}]),r}(p.Component);C.propTypes={charts:g.a.array.isRequired,endpoint:g.a.string.isRequired,limitProperties:g.a.array,query:g.a.object.isRequired,selectedChart:g.a.shape({key:g.a.string.isRequired,label:g.a.string.isRequired,order:g.a.oneOf(["asc","desc"]),orderby:g.a.string,type:g.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:g.a.object,report:g.a.string},C.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},C.contextType=D.a,t.a=Object(f.a)(Object(b.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.limitProperties,o=t.query,i=t.filters,s=t.advancedFilters,c=n||[a],u=c.some((function(e){return o[e]&&o[e].length}));if(o.search&&!u)return{emptySearchResults:!0};var l=r&&r.map((function(e){return e.key})),d=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(j.getSummaryNumbers)({endpoint:a,query:o,select:e,limitBy:c,filters:i,advancedFilters:s,defaultDateRange:d,fields:l}),defaultDateRange:d}})))(C)},745:function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return s}));var a=r(3),n=r(49),o=Object(n.applyFilters)("woocommerce_admin_revenue_report_charts",[{key:"gross_sales",label:Object(a.__)("Gross Sales","woocommerce-admin"),order:"desc",orderby:"gross_sales",type:"currency"},{key:"refunds",label:Object(a.__)("Returns","woocommerce-admin"),order:"desc",orderby:"refunds",type:"currency"},{key:"coupons",label:Object(a.__)("Coupons","woocommerce-admin"),order:"desc",orderby:"coupons",type:"currency"},{key:"net_revenue",label:Object(a.__)("Net Sales","woocommerce-admin"),orderby:"net_revenue",type:"currency"},{key:"taxes",label:Object(a.__)("Taxes","woocommerce-admin"),order:"desc",orderby:"taxes",type:"currency"},{key:"shipping",label:Object(a.__)("Shipping","woocommerce-admin"),orderby:"shipping",type:"currency"},{key:"total_sales",label:Object(a.__)("Total Sales","woocommerce-admin"),order:"desc",orderby:"total_sales",type:"currency"}]),i=Object(n.applyFilters)("woocommerce_admin_revenue_report_filters",[]),s=Object(n.applyFilters)("woocommerce_admin_revenue_report_advanced_filters",{})}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[20],{707:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return I}));var a=r(14),n=r.n(a),o=r(13),i=r.n(o),s=r(16),c=r.n(s),u=r(17),l=r.n(u),d=r(6),m=r.n(d),p=r(0),y=r(1),f=r.n(y),b=r(745),v=r(723),g=r(722),h=r(724),_=r(10),O=r.n(_),j=r(3),R=r(137),w=r(24),q=r(270),D=r(2),S=r(68),C=r(274),k=r(33),E=r(41),T=r(35),F=r(728),P=r(718);function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var N=function(e){c()(r,e);var t=x(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(O()(e)),e.getRowsContent=e.getRowsContent.bind(O()(e)),e.getSummary=e.getSummary.bind(O()(e)),e}return i()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(j.__)("Date","woocommerce-admin"),key:"date",required:!0,defaultSort:!0,isLeftAligned:!0,isSortable:!0},{label:Object(j.__)("Orders","woocommerce-admin"),key:"orders_count",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Gross Sales","woocommerce-admin"),key:"gross_sales",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Returns","woocommerce-admin"),key:"refunds",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Coupons","woocommerce-admin"),key:"coupons",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Net Sales","woocommerce-admin"),key:"net_revenue",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Taxes","woocommerce-admin"),key:"taxes",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Shipping","woocommerce-admin"),key:"shipping",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Total Sales","woocommerce-admin"),key:"total_sales",required:!1,isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=Object(k.g)("dateFormat",T.defaultTableDateFormat),r=this.context,a=r.formatAmount,n=r.render,o=r.formatDecimal,i=r.getCurrencyConfig;return e.map((function(e){var r=e.subtotals,s=r.coupons,c=r.gross_sales,u=r.total_sales,l=r.net_revenue,d=r.orders_count,m=r.refunds,y=r.shipping,f=r.taxes,b=Object(p.createElement)(S.Link,{href:"edit.php?post_type=shop_order&m="+Object(R.a)("Ymd",e.date_start),type:"wp-admin"},Object(C.formatValue)(i(),"number",d));return[{display:Object(p.createElement)(S.Date,{date:e.date_start,visibleFormat:t}),value:e.date_start},{display:b,value:Number(d)},{display:n(c),value:o(c)},{display:a(m),value:o(m)},{display:a(s),value:o(s)},{display:n(l),value:o(l)},{display:n(f),value:o(f)},{display:n(y),value:o(y)},{display:n(u),value:o(u)}]}))}},{key:"getSummary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.orders_count,a=void 0===r?0:r,n=e.gross_sales,o=void 0===n?0:n,i=e.total_sales,s=void 0===i?0:i,c=e.refunds,u=void 0===c?0:c,l=e.coupons,d=void 0===l?0:l,m=e.taxes,p=void 0===m?0:m,y=e.shipping,f=void 0===y?0:y,b=e.net_revenue,v=void 0===b?0:b,g=this.context,h=g.formatAmount,_=g.getCurrencyConfig,O=_();return[{label:Object(j._n)("day","days",t,"woocommerce-admin"),value:Object(C.formatValue)(O,"number",t)},{label:Object(j._n)("order","orders",a,"woocommerce-admin"),value:Object(C.formatValue)(O,"number",a)},{label:Object(j.__)("gross sales","woocommerce-admin"),value:h(o)},{label:Object(j.__)("returns","woocommerce-admin"),value:h(u)},{label:Object(j.__)("coupons","woocommerce-admin"),value:h(d)},{label:Object(j.__)("net sales","woocommerce-admin"),value:h(v)},{label:Object(j.__)("taxes","woocommerce-admin"),value:h(p)},{label:Object(j.__)("shipping","woocommerce-admin"),value:h(f)},{label:Object(j.__)("total sales","woocommerce-admin"),value:h(s)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.tableData,n=e.query;return Object(p.createElement)(F.a,{endpoint:"revenue",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["orders_count","gross_sales","total_sales","refunds","coupons","taxes","shipping","net_revenue"],query:n,tableData:a,title:Object(j.__)("Revenue","woocommerce-admin"),columnPrefsKey:"revenue_report_columns",filters:r,advancedFilters:t})}}]),r}(p.Component);N.contextType=P.a;var A=Object(q.a)(Object(w.withSelect)((function(e,t){var r=t.query,a=t.filters,n=t.advancedFilters,o=e(E.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,i=Object(T.getCurrentDates)(r,o),s=e(E.REPORTS_STORE_NAME),c=s.getReportStats,u=s.getReportStatsError,l=s.isResolving,d={interval:"day",orderby:r.orderby||"date",order:r.order||"desc",page:r.paged||1,per_page:r.per_page||E.QUERY_DEFAULTS.pageSize,after:Object(T.appendTimestamp)(i.primary.after,"start"),before:Object(T.appendTimestamp)(i.primary.before,"end")},m=Object(E.getReportTableQuery)({endpoint:"revenue",query:r,select:e,tableQuery:d,filters:a,advancedFilters:n}),p=c("revenue",m),y=Boolean(u("revenue",m)),f=l("getReportStats",["revenue",m]);return{tableData:{items:{data:Object(D.get)(p,["data","intervals"],[]),totalResults:Object(D.get)(p,["totalResults"],0)},isError:y,isRequesting:f,query:d}}})))(N),V=r(725);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var I=function(e){c()(r,e);var t=L(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var e=this.props,t=e.path,r=e.query;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(V.a,{query:r,path:t,report:"revenue",filters:b.c,advancedFilters:b.a}),Object(p.createElement)(h.a,{charts:b.b,endpoint:"revenue",query:r,selectedChart:Object(v.a)(r.chart,b.b),filters:b.c,advancedFilters:b.a}),Object(p.createElement)(g.a,{charts:b.b,endpoint:"revenue",path:t,query:r,selectedChart:Object(v.a)(r.chart,b.b),filters:b.c,advancedFilters:b.a}),Object(p.createElement)(A,{query:r,filters:b.c,advancedFilters:b.a}))}}]),r}(p.Component);I.propTypes={path:f.a.string.isRequired,query:f.a.object.isRequired}},722:function(e,t,r){"use strict";var a=r(5),n=r.n(a),o=r(14),i=r.n(o),s=r(13),c=r.n(s),u=r(16),l=r.n(u),d=r(17),m=r.n(d),p=r(6),y=r.n(p),f=r(0),b=r(3),v=r(270),g=r(137),h=r(24),_=r(2),O=r(1),j=r.n(O),R=r(68),w=r(41),q=r(35),D=r(718),S=r(719),C=r(32);function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=y()(e);if(t){var n=y()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var F=function(e){l()(r,e);var t=T(r);function r(){return i()(this,r),t.apply(this,arguments)}return c()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(_.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),E({date:Object(g.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,i=Object(q.getIntervalForQuery)(t),s=Object(q.getCurrentDates)(t,o),c=s.primary,u=s.secondary;return r.data.intervals.map((function(e,r){var o=Object(q.getPreviousDate)(e.date_start,c.after,u.after,t.compare,i),s=a.data.intervals[r];return{date:Object(g.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(c.label," (").concat(c.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:s&&s.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(_.get)(t,["data","totals",a.key],null),secondary:Object(_.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,i=n.filterParam,s=n.interactiveLegend,c=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,y=n.primaryData,v=Object(q.getIntervalForQuery)(d),g=Object(q.getAllowedIntervalsForQuery)(d),h=Object(q.getDateFormatsForInterval)(v,y.data.intervals.length),_=o?Object(b.__)("No data for the current search","woocommerce-admin"):Object(b.__)("No data for the selected date range","woocommerce-admin"),O=this.context,j=O.formatAmount,D=O.getCurrencyConfig;return Object(f.createElement)(R.Chart,{allowedIntervals:g,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:_,filterParam:i,interactiveLegend:s,interval:v,isRequesting:t,itemsLabel:c,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:h.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:h.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(w.getTooltipValueFormat)(m.type,j),chartType:Object(q.getChartTypeForQuery)(d),valueType:m.type,xFormat:h.xFormat,x2Format:h.x2Format,currency:D()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(f.createElement)(S.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(f.createElement)(S.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),i=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,i)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(f.Component);F.contextType=D.a,F.propTypes={filters:j.a.array,isRequesting:j.a.bool,itemsLabel:j.a.string,limitProperties:j.a.array,mode:j.a.string,path:j.a.string.isRequired,primaryData:j.a.object,query:j.a.object.isRequired,secondaryData:j.a.object,selectedChart:j.a.shape({key:j.a.string.isRequired,label:j.a.string.isRequired,order:j.a.oneOf(["asc","desc"]),orderby:j.a.string,type:j.a.oneOf(["average","number","currency"]).isRequired}).isRequired},F.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(v.a)(Object(h.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,i=t.limitProperties,s=t.query,c=t.advancedFilters,u=i||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var i=Object(C.flattenFilters)(o.filters),s=r[o.param]||o.defaultValue||"all";return Object(_.find)(i,{value:s})}return e(n,r,a)}(n,s),d=Object(_.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(_.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(_.get)(e,["chartMode"])}return null}(l,s)||"time-comparison",p=e(w.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,y={mode:m,filterParam:d,defaultDateRange:p};if(o)return y;var f=u.some((function(e){return s[e]&&s[e].length}));if(s.search&&!f)return E(E({},y),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),v=Object(w.getReportChartData)({endpoint:a,dataType:"primary",query:s,select:e,limitBy:u,filters:n,advancedFilters:c,defaultDateRange:p,fields:b});if("item-comparison"===m)return E(E({},y),{},{primaryData:v});var g=Object(w.getReportChartData)({endpoint:a,dataType:"secondary",query:s,select:e,limitBy:u,filters:n,advancedFilters:c,defaultDateRange:p,fields:b});return E(E({},y),{},{primaryData:v,secondaryData:g})})))(F)},723:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},724:function(e,t,r){"use strict";var a=r(14),n=r.n(a),o=r(13),i=r.n(o),s=r(16),c=r.n(s),u=r(17),l=r.n(u),d=r(6),m=r.n(d),p=r(0),y=r(3),f=r(270),b=r(24),v=r(1),g=r.n(v),h=r(32),_=r(68),O=r(274),j=r(41),R=r(35),w=r(61),q=r(719),D=r(718);function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var C=function(e){c()(r,e);var t=S(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatAmount,n=r.getCurrencyConfig;return"currency"===t?a(e):Object(O.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=n.primary?n.primary[e]:0,i=n.secondary?n.secondary[e]:0,s=a?0:o,c=a?0:i;return{delta:Object(O.calculateDelta)(s,c),prevValue:this.formatVal(c,t),value:this.formatVal(s,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.query,n=t.selectedChart,o=t.summaryData,i=t.endpoint,s=t.report,c=t.defaultDateRange,u=o.isError,l=o.isRequesting;if(u)return Object(p.createElement)(q.a,{isError:!0});if(l)return Object(p.createElement)(_.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(R.getDateParamsFromQuery)(a,c).compare;return Object(p.createElement)(_.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,o=t.order,c=t.orderby,u=t.label,l=t.type,m={chart:r};c&&(m.orderby=c),o&&(m.order=o);var f=Object(h.getNewPath)(m),b=n.key===r,v=e.getValues(r,l),g=v.delta,O=v.prevValue,j=v.value;return Object(p.createElement)(_.SummaryNumber,{key:r,delta:g,href:f,label:u,prevLabel:"previous_period"===d?Object(y.__)("Previous Period:","woocommerce-admin"):Object(y.__)("Previous Year:","woocommerce-admin"),prevValue:O,selected:b,value:j,onLinkClickCallback:function(){a&&a(),Object(w.recordEvent)("analytics_chart_tab_click",{report:s||i,key:r})}})}))}))}}]),r}(p.Component);C.propTypes={charts:g.a.array.isRequired,endpoint:g.a.string.isRequired,limitProperties:g.a.array,query:g.a.object.isRequired,selectedChart:g.a.shape({key:g.a.string.isRequired,label:g.a.string.isRequired,order:g.a.oneOf(["asc","desc"]),orderby:g.a.string,type:g.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:g.a.object,report:g.a.string},C.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},C.contextType=D.a,t.a=Object(f.a)(Object(b.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.limitProperties,o=t.query,i=t.filters,s=t.advancedFilters,c=n||[a],u=c.some((function(e){return o[e]&&o[e].length}));if(o.search&&!u)return{emptySearchResults:!0};var l=r&&r.map((function(e){return e.key})),d=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(j.getSummaryNumbers)({endpoint:a,query:o,select:e,limitBy:c,filters:i,advancedFilters:s,defaultDateRange:d,fields:l}),defaultDateRange:d}})))(C)},745:function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return s}));var a=r(3),n=r(49),o=Object(n.applyFilters)("woocommerce_admin_revenue_report_charts",[{key:"gross_sales",label:Object(a.__)("Gross Sales","woocommerce-admin"),order:"desc",orderby:"gross_sales",type:"currency"},{key:"refunds",label:Object(a.__)("Returns","woocommerce-admin"),order:"desc",orderby:"refunds",type:"currency"},{key:"coupons",label:Object(a.__)("Coupons","woocommerce-admin"),order:"desc",orderby:"coupons",type:"currency"},{key:"net_revenue",label:Object(a.__)("Net Sales","woocommerce-admin"),orderby:"net_revenue",type:"currency"},{key:"taxes",label:Object(a.__)("Taxes","woocommerce-admin"),order:"desc",orderby:"taxes",type:"currency"},{key:"shipping",label:Object(a.__)("Shipping","woocommerce-admin"),orderby:"shipping",type:"currency"},{key:"total_sales",label:Object(a.__)("Total Sales","woocommerce-admin"),order:"desc",orderby:"total_sales",type:"currency"}]),i=Object(n.applyFilters)("woocommerce_admin_revenue_report_filters",[]),s=Object(n.applyFilters)("woocommerce_admin_revenue_report_advanced_filters",{})}}]);
dist/chunks/{21.46016e50e137d2ae3be4.js → 21.0573c8f697c9f049bb48.js} RENAMED
@@ -192,9 +192,10 @@ var table_StockReportTable = /*#__PURE__*/function (_Component) {
192
  }
193
  }, {
194
  key: "getRowsContent",
195
- value: function getRowsContent(products) {
196
  var _this2 = this;
197
 
 
198
  var query = this.props.query;
199
  var persistedQuery = Object(external_this_wc_navigation_["getPersistedQuery"])(query);
200
  return products.map(function (product) {
192
  }
193
  }, {
194
  key: "getRowsContent",
195
+ value: function getRowsContent() {
196
  var _this2 = this;
197
 
198
+ var products = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
199
  var query = this.props.query;
200
  var persistedQuery = Object(external_this_wc_navigation_["getPersistedQuery"])(query);
201
  return products.map(function (product) {
dist/chunks/21.0573c8f697c9f049bb48.min.js ADDED
@@ -0,0 +1 @@
 
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[21],{702:function(e,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return D}));var r=o(14),n=o.n(r),c=o(13),a=o.n(c),i=o(16),u=o.n(i),l=o(17),s=o.n(l),m=o(6),d=o.n(m),f=o(0),b=o(1),p=o.n(b),_=o(3),y=o(49),k=Object(y.applyFilters)("woocommerce_admin_stock_report_filters",[{label:Object(_.__)("Show","woocommerce-admin"),staticParams:["paged","per_page"],param:"type",showFilters:function(){return!0},filters:[{label:Object(_.__)("All Products","woocommerce-admin"),value:"all"},{label:Object(_.__)("Out of Stock","woocommerce-admin"),value:"outofstock"},{label:Object(_.__)("Low Stock","woocommerce-admin"),value:"lowstock"},{label:Object(_.__)("In Stock","woocommerce-admin"),value:"instock"},{label:Object(_.__)("On Backorder","woocommerce-admin"),value:"onbackorder"}]}]),v=Object(y.applyFilters)("woocommerce_admin_stock_report_advanced_filters",{}),w=o(10),O=o.n(w),j=o(73),h=o(68),g=o(32),S=o(274),C=o(33),R=o(728);function q(e,t,o){return!!t&&(e&&t<=o==="instock")}var F=o(718);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,r=d()(e);if(t){var n=d()(this).constructor;o=Reflect.construct(r,arguments,n)}else o=r.apply(this,arguments);return s()(this,o)}}var P=Object(C.g)("stockStatuses",{}),V=function(e){u()(o,e);var t=E(o);function o(){var e;return n()(this,o),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(O()(e)),e.getRowsContent=e.getRowsContent.bind(O()(e)),e.getSummary=e.getSummary.bind(O()(e)),e}return a()(o,[{key:"getHeadersContent",value:function(){return[{label:Object(_.__)("Product / Variation","woocommerce-admin"),key:"title",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(_.__)("SKU","woocommerce-admin"),key:"sku",isSortable:!0},{label:Object(_.__)("Status","woocommerce-admin"),key:"stock_status",isSortable:!0,defaultSort:!0},{label:Object(_.__)("Stock","woocommerce-admin"),key:"stock_quantity",isSortable:!0}]}},{key:"getRowsContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=this.props.query,r=Object(g.getPersistedQuery)(o);return t.map((function(t){var o=t.id,n=t.manage_stock,c=t.parent_id,a=t.sku,i=t.stock_quantity,u=t.stock_status,l=t.low_stock_amount,s=Object(j.decodeEntities)(t.name),m=Object(g.getNewPath)(r,"/analytics/products",{filter:"single_product",products:c||o}),d=Object(f.createElement)(h.Link,{href:m,type:"wc-admin"},s),b=Object(C.f)("post.php?action=edit&post="+(c||o));return[{display:d,value:s},{display:a,value:a},{display:q(u,i,l)?Object(f.createElement)(h.Link,{href:b,type:"wp-admin"},Object(_._x)("Low","Indication of a low quantity","woocommerce-admin")):Object(f.createElement)(h.Link,{href:b,type:"wp-admin"},P[u]),value:u},{display:n?Object(S.formatValue)(e.context.getCurrencyConfig(),"number",i):Object(_.__)("N/A","woocommerce-admin"),value:i}]}))}},{key:"getSummary",value:function(e){var t=e.products,o=void 0===t?0:t,r=e.outofstock,n=void 0===r?0:r,c=e.lowstock,a=void 0===c?0:c,i=e.instock,u=void 0===i?0:i,l=e.onbackorder,s=void 0===l?0:l,m=this.context.getCurrencyConfig();return[{label:Object(_._n)("product","products",o,"woocommerce-admin"),value:Object(S.formatValue)(m,"number",o)},{label:Object(_.__)("out of stock","woocommerce-admin"),value:Object(S.formatValue)(m,"number",n)},{label:Object(_.__)("low stock","woocommerce-admin"),value:Object(S.formatValue)(m,"number",a)},{label:Object(_.__)("on backorder","woocommerce-admin"),value:Object(S.formatValue)(m,"number",s)},{label:Object(_.__)("in stock","woocommerce-admin"),value:Object(S.formatValue)(m,"number",u)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,o=e.filters,r=e.query;return Object(f.createElement)(R.a,{endpoint:"stock",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["products","outofstock","lowstock","instock","onbackorder"],query:r,tableQuery:{orderby:r.orderby||"stock_status",order:r.order||"asc",type:r.type||"all"},title:Object(_.__)("Stock","woocommerce-admin"),filters:o,advancedFilters:t})}}]),o}(f.Component);V.contextType=F.a;var x=V,L=o(725);function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,r=d()(e);if(t){var n=d()(this).constructor;o=Reflect.construct(r,arguments,n)}else o=r.apply(this,arguments);return s()(this,o)}}var D=function(e){u()(o,e);var t=A(o);function o(){return n()(this,o),t.apply(this,arguments)}return a()(o,[{key:"render",value:function(){var e=this.props,t=e.query,o=e.path;return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(L.a,{query:t,path:o,showDatePicker:!1,filters:k,advancedFilters:v,report:"stock"}),Object(f.createElement)(x,{query:t,filters:k,advancedFilters:v}))}}]),o}(f.Component);D.propTypes={query:p.a.object.isRequired}}}]);
dist/chunks/21.46016e50e137d2ae3be4.min.js DELETED
@@ -1 +0,0 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[21],{702:function(e,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return A}));var r=o(14),c=o.n(r),n=o(13),a=o.n(n),i=o(16),u=o.n(i),l=o(17),s=o.n(l),m=o(6),d=o.n(m),b=o(0),f=o(1),p=o.n(f),_=o(3),y=o(49),k=Object(y.applyFilters)("woocommerce_admin_stock_report_filters",[{label:Object(_.__)("Show","woocommerce-admin"),staticParams:["paged","per_page"],param:"type",showFilters:function(){return!0},filters:[{label:Object(_.__)("All Products","woocommerce-admin"),value:"all"},{label:Object(_.__)("Out of Stock","woocommerce-admin"),value:"outofstock"},{label:Object(_.__)("Low Stock","woocommerce-admin"),value:"lowstock"},{label:Object(_.__)("In Stock","woocommerce-admin"),value:"instock"},{label:Object(_.__)("On Backorder","woocommerce-admin"),value:"onbackorder"}]}]),v=Object(y.applyFilters)("woocommerce_admin_stock_report_advanced_filters",{}),w=o(10),O=o.n(w),j=o(73),h=o(68),g=o(32),S=o(274),C=o(33),R=o(728);var q=o(718);function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,r=d()(e);if(t){var c=d()(this).constructor;o=Reflect.construct(r,arguments,c)}else o=r.apply(this,arguments);return s()(this,o)}}var E=Object(C.g)("stockStatuses",{}),P=function(e){u()(o,e);var t=F(o);function o(){var e;return c()(this,o),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(O()(e)),e.getRowsContent=e.getRowsContent.bind(O()(e)),e.getSummary=e.getSummary.bind(O()(e)),e}return a()(o,[{key:"getHeadersContent",value:function(){return[{label:Object(_.__)("Product / Variation","woocommerce-admin"),key:"title",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(_.__)("SKU","woocommerce-admin"),key:"sku",isSortable:!0},{label:Object(_.__)("Status","woocommerce-admin"),key:"stock_status",isSortable:!0,defaultSort:!0},{label:Object(_.__)("Stock","woocommerce-admin"),key:"stock_quantity",isSortable:!0}]}},{key:"getRowsContent",value:function(e){var t=this,o=this.props.query,r=Object(g.getPersistedQuery)(o);return e.map((function(e){var o,c,n,a=e.id,i=e.manage_stock,u=e.parent_id,l=e.sku,s=e.stock_quantity,m=e.stock_status,d=e.low_stock_amount,f=Object(j.decodeEntities)(e.name),p=Object(g.getNewPath)(r,"/analytics/products",{filter:"single_product",products:u||a}),y=Object(b.createElement)(h.Link,{href:p,type:"wc-admin"},f),k=Object(C.f)("post.php?action=edit&post="+(u||a));return[{display:y,value:f},{display:l,value:l},{display:(o=m,n=d,(c=s)&&o&&c<=n==="instock"?Object(b.createElement)(h.Link,{href:k,type:"wp-admin"},Object(_._x)("Low","Indication of a low quantity","woocommerce-admin")):Object(b.createElement)(h.Link,{href:k,type:"wp-admin"},E[m])),value:m},{display:i?Object(S.formatValue)(t.context.getCurrencyConfig(),"number",s):Object(_.__)("N/A","woocommerce-admin"),value:s}]}))}},{key:"getSummary",value:function(e){var t=e.products,o=void 0===t?0:t,r=e.outofstock,c=void 0===r?0:r,n=e.lowstock,a=void 0===n?0:n,i=e.instock,u=void 0===i?0:i,l=e.onbackorder,s=void 0===l?0:l,m=this.context.getCurrencyConfig();return[{label:Object(_._n)("product","products",o,"woocommerce-admin"),value:Object(S.formatValue)(m,"number",o)},{label:Object(_.__)("out of stock","woocommerce-admin"),value:Object(S.formatValue)(m,"number",c)},{label:Object(_.__)("low stock","woocommerce-admin"),value:Object(S.formatValue)(m,"number",a)},{label:Object(_.__)("on backorder","woocommerce-admin"),value:Object(S.formatValue)(m,"number",s)},{label:Object(_.__)("in stock","woocommerce-admin"),value:Object(S.formatValue)(m,"number",u)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,o=e.filters,r=e.query;return Object(b.createElement)(R.a,{endpoint:"stock",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["products","outofstock","lowstock","instock","onbackorder"],query:r,tableQuery:{orderby:r.orderby||"stock_status",order:r.order||"asc",type:r.type||"all"},title:Object(_.__)("Stock","woocommerce-admin"),filters:o,advancedFilters:t})}}]),o}(b.Component);P.contextType=q.a;var V=P,x=o(725);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,r=d()(e);if(t){var c=d()(this).constructor;o=Reflect.construct(r,arguments,c)}else o=r.apply(this,arguments);return s()(this,o)}}var A=function(e){u()(o,e);var t=L(o);function o(){return c()(this,o),t.apply(this,arguments)}return a()(o,[{key:"render",value:function(){var e=this.props,t=e.query,o=e.path;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(x.a,{query:t,path:o,showDatePicker:!1,filters:k,advancedFilters:v,report:"stock"}),Object(b.createElement)(V,{query:t,filters:k,advancedFilters:v}))}}]),o}(b.Component);A.propTypes={query:p.a.object.isRequired}}}]);
 
dist/chunks/{22.aab27cc10f4e6eb24302.js → 22.236bdfd5d0b2ac1d6f41.js} RENAMED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[22],{
2
 
3
- /***/ 709:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -1179,8 +1179,10 @@ var ReportSummary = /*#__PURE__*/function (_Component) {
1179
  emptySearchResults = _this$props.emptySearchResults,
1180
  summaryData = _this$props.summaryData;
1181
  var totals = summaryData.totals;
1182
- var primaryValue = emptySearchResults ? 0 : totals.primary[key];
1183
- var secondaryValue = emptySearchResults ? 0 : totals.secondary[key];
 
 
1184
  return {
1185
  delta: Object(_woocommerce_number__WEBPACK_IMPORTED_MODULE_12__["calculateDelta"])(primaryValue, secondaryValue),
1186
  prevValue: this.formatVal(secondaryValue, type),
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[22],{
2
 
3
+ /***/ 705:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
1179
  emptySearchResults = _this$props.emptySearchResults,
1180
  summaryData = _this$props.summaryData;
1181
  var totals = summaryData.totals;
1182
+ var primaryTotal = totals.primary ? totals.primary[key] : 0;
1183
+ var secondaryTotal = totals.secondary ? totals.secondary[key] : 0;
1184
+ var primaryValue = emptySearchResults ? 0 : primaryTotal;
1185
+ var secondaryValue = emptySearchResults ? 0 : secondaryTotal;
1186
  return {
1187
  delta: Object(_woocommerce_number__WEBPACK_IMPORTED_MODULE_12__["calculateDelta"])(primaryValue, secondaryValue),
1188
  prevValue: this.formatVal(secondaryValue, type),
dist/chunks/{22.aab27cc10f4e6eb24302.min.js → 22.236bdfd5d0b2ac1d6f41.min.js} RENAMED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[22],{709:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return M}));var a=r(5),n=r.n(a),o=r(14),i=r.n(o),c=r(13),s=r.n(c),u=r(16),l=r.n(u),d=r(17),m=r.n(d),p=r(6),f=r.n(p),y=r(0),b=r(1),g=r.n(b),h=r(3),v=r(749),_=r(723),O=r(722),j=r(724),R=r(10),x=r.n(R),w=r(2),C=r(68),q=r(32),D=r(274),k=r(721),S=r(728),E=r(718);function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var T=function(e){l()(r,e);var t=P(r);function r(){var e;return i()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(x()(e)),e.getRowsContent=e.getRowsContent.bind(x()(e)),e.getSummary=e.getSummary.bind(x()(e)),e}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(h.__)("Tax Code","woocommerce-admin"),key:"tax_code",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(h.__)("Rate","woocommerce-admin"),key:"rate",isSortable:!0,isNumeric:!0},{label:Object(h.__)("Total Tax","woocommerce-admin"),key:"total_tax",isSortable:!0},{label:Object(h.__)("Order Tax","woocommerce-admin"),key:"order_tax",isSortable:!0},{label:Object(h.__)("Shipping Tax","woocommerce-admin"),key:"shipping_tax",isSortable:!0},{label:Object(h.__)("Orders","woocommerce-admin"),key:"orders_count",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.context,a=r.render,n=r.formatDecimal,o=r.getCurrencyConfig;return Object(w.map)(e,(function(e){var r=t.props.query,i=e.order_tax,c=e.orders_count,s=e.tax_rate,u=e.tax_rate_id,l=e.total_tax,d=e.shipping_tax,m=Object(k.a)(e),p=Object(q.getPersistedQuery)(r),f=Object(q.getNewPath)(p,"/analytics/orders",{filter:"advanced",tax_rate_includes:u});return[{display:Object(y.createElement)(C.Link,{href:f,type:"wc-admin"},m),value:m},{display:s.toFixed(2)+"%",value:s},{display:a(l),value:n(l)},{display:a(i),value:n(i)},{display:a(d),value:n(d)},{display:Object(D.formatValue)(o(),"number",c),value:c}]}))}},{key:"getSummary",value:function(e){var t=e.tax_codes,r=void 0===t?0:t,a=e.total_tax,n=void 0===a?0:a,o=e.order_tax,i=void 0===o?0:o,c=e.shipping_tax,s=void 0===c?0:c,u=e.orders_count,l=void 0===u?0:u,d=this.context,m=d.formatAmount,p=(0,d.getCurrencyConfig)();return[{label:Object(h._n)("tax code","tax codes",r,"woocommerce-admin"),value:Object(D.formatValue)(p,"number",r)},{label:Object(h.__)("total tax","woocommerce-admin"),value:m(n)},{label:Object(h.__)("order tax","woocommerce-admin"),value:m(i)},{label:Object(h.__)("shipping tax","woocommerce-admin"),value:m(s)},{label:Object(h._n)("order","orders",l,"woocommerce-admin"),value:Object(D.formatValue)(p,"number",l)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.isRequesting,n=e.query;return Object(y.createElement)(S.a,{compareBy:"taxes",endpoint:"taxes",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["tax_codes","total_tax","order_tax","shipping_tax","orders_count"],isRequesting:a,itemIdField:"tax_rate_id",query:n,searchBy:"taxes",tableQuery:{orderby:n.orderby||"tax_rate_id"},title:Object(h.__)("Taxes","woocommerce-admin"),columnPrefsKey:"taxes_report_columns",filters:r,advancedFilters:t})}}]),r}(y.Component);T.contextType=E.a;var F=T,A=r(725);function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var M=function(e){l()(r,e);var t=L(r);function r(){return i()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e="compare-taxes"===this.props.query.filter?"item-comparison":"time-comparison";return{itemsLabel:Object(h.__)("%d taxes","woocommerce-admin"),mode:e}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,a=e.path,o=this.getChartMeta(),i=o.mode,c=o.itemsLabel,s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===i&&(s.segmentby="tax_rate_id"),Object(y.createElement)(y.Fragment,null,Object(y.createElement)(A.a,{query:r,path:a,filters:v.c,advancedFilters:v.a,report:"taxes"}),Object(y.createElement)(j.a,{charts:v.b,endpoint:"taxes",isRequesting:t,query:s,selectedChart:Object(_.a)(r.chart,v.b),filters:v.c,advancedFilters:v.a}),Object(y.createElement)(O.a,{charts:v.b,filters:v.c,advancedFilters:v.a,mode:i,endpoint:"taxes",query:s,path:a,isRequesting:t,itemsLabel:c,selectedChart:Object(_.a)(r.chart,v.b)}),Object(y.createElement)(F,{isRequesting:t,query:r,filters:v.c,advancedFilters:v.a}))}}]),r}(y.Component);M.propTypes={query:g.a.object.isRequired}},720:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return y})),r.d(t,"g",(function(){return b}));var a=r(36),n=r(42),o=r.n(n),i=r(2),c=r(32),s=r(41),u=r(721);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,i="function"==typeof e?e(n):e,s=Object(c.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(a.addQueryArgs)(i,u)}).then((function(e){return e.map(t)}))}}var d=l(s.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),m=l(s.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(s.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(s.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),y=l(s.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(u.a)(e)}})),b=l((function(e){return s.NAMESPACE+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.map((function(e){return e.option})).join(", ")}}))},721:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},722:function(e,t,r){"use strict";var a=r(5),n=r.n(a),o=r(14),i=r.n(o),c=r(13),s=r.n(c),u=r(16),l=r.n(u),d=r(17),m=r.n(d),p=r(6),f=r.n(p),y=r(0),b=r(3),g=r(270),h=r(137),v=r(24),_=r(2),O=r(1),j=r.n(O),R=r(68),x=r(41),w=r(35),C=r(718),q=r(719),D=r(32);function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var P=function(e){l()(r,e);var t=E(r);function r(){return i()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(_.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),S({date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,i=Object(w.getIntervalForQuery)(t),c=Object(w.getCurrentDates)(t,o),s=c.primary,u=c.secondary;return r.data.intervals.map((function(e,r){var o=Object(w.getPreviousDate)(e.date_start,s.after,u.after,t.compare,i),c=a.data.intervals[r];return{date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:c&&c.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(_.get)(t,["data","totals",a.key],null),secondary:Object(_.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,i=n.filterParam,c=n.interactiveLegend,s=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,f=n.primaryData,g=Object(w.getIntervalForQuery)(d),h=Object(w.getAllowedIntervalsForQuery)(d),v=Object(w.getDateFormatsForInterval)(g,f.data.intervals.length),_=o?Object(b.__)("No data for the current search","woocommerce-admin"):Object(b.__)("No data for the selected date range","woocommerce-admin"),O=this.context,j=O.formatAmount,C=O.getCurrencyConfig;return Object(y.createElement)(R.Chart,{allowedIntervals:h,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:_,filterParam:i,interactiveLegend:c,interval:g,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:v.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:v.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(x.getTooltipValueFormat)(m.type,j),chartType:Object(w.getChartTypeForQuery)(d),valueType:m.type,xFormat:v.xFormat,x2Format:v.x2Format,currency:C()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(q.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(y.createElement)(q.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),i=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,i)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(y.Component);P.contextType=C.a,P.propTypes={filters:j.a.array,isRequesting:j.a.bool,itemsLabel:j.a.string,limitProperties:j.a.array,mode:j.a.string,path:j.a.string.isRequired,primaryData:j.a.object,query:j.a.object.isRequired,secondaryData:j.a.object,selectedChart:j.a.shape({key:j.a.string.isRequired,label:j.a.string.isRequired,order:j.a.oneOf(["asc","desc"]),orderby:j.a.string,type:j.a.oneOf(["average","number","currency"]).isRequired}).isRequired},P.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(g.a)(Object(v.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,i=t.limitProperties,c=t.query,s=t.advancedFilters,u=i||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var i=Object(D.flattenFilters)(o.filters),c=r[o.param]||o.defaultValue||"all";return Object(_.find)(i,{value:c})}return e(n,r,a)}(n,c),d=Object(_.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(_.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(_.get)(e,["chartMode"])}return null}(l,c)||"time-comparison",p=e(x.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:m,filterParam:d,defaultDateRange:p};if(o)return f;var y=u.some((function(e){return c[e]&&c[e].length}));if(c.search&&!y)return S(S({},f),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),g=Object(x.getReportChartData)({endpoint:a,dataType:"primary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:b});if("item-comparison"===m)return S(S({},f),{},{primaryData:g});var h=Object(x.getReportChartData)({endpoint:a,dataType:"secondary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:b});return S(S({},f),{},{primaryData:g,secondaryData:h})})))(P)},723:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},724:function(e,t,r){"use strict";var a=r(14),n=r.n(a),o=r(13),i=r.n(o),c=r(16),s=r.n(c),u=r(17),l=r.n(u),d=r(6),m=r.n(d),p=r(0),f=r(3),y=r(270),b=r(24),g=r(1),h=r.n(g),v=r(32),_=r(68),O=r(274),j=r(41),R=r(35),x=r(61),w=r(719),C=r(718);function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var D=function(e){s()(r,e);var t=q(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatAmount,n=r.getCurrencyConfig;return"currency"===t?a(e):Object(O.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],i=a?0:n.secondary[e];return{delta:Object(O.calculateDelta)(o,i),prevValue:this.formatVal(i,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.query,n=t.selectedChart,o=t.summaryData,i=t.endpoint,c=t.report,s=t.defaultDateRange,u=o.isError,l=o.isRequesting;if(u)return Object(p.createElement)(w.a,{isError:!0});if(l)return Object(p.createElement)(_.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(R.getDateParamsFromQuery)(a,s).compare;return Object(p.createElement)(_.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,o=t.order,s=t.orderby,u=t.label,l=t.type,m={chart:r};s&&(m.orderby=s),o&&(m.order=o);var y=Object(v.getNewPath)(m),b=n.key===r,g=e.getValues(r,l),h=g.delta,O=g.prevValue,j=g.value;return Object(p.createElement)(_.SummaryNumber,{key:r,delta:h,href:y,label:u,prevLabel:"previous_period"===d?Object(f.__)("Previous Period:","woocommerce-admin"):Object(f.__)("Previous Year:","woocommerce-admin"),prevValue:O,selected:b,value:j,onLinkClickCallback:function(){a&&a(),Object(x.recordEvent)("analytics_chart_tab_click",{report:c||i,key:r})}})}))}))}}]),r}(p.Component);D.propTypes={charts:h.a.array.isRequired,endpoint:h.a.string.isRequired,limitProperties:h.a.array,query:h.a.object.isRequired,selectedChart:h.a.shape({key:h.a.string.isRequired,label:h.a.string.isRequired,order:h.a.oneOf(["asc","desc"]),orderby:h.a.string,type:h.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:h.a.object,report:h.a.string},D.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},D.contextType=C.a,t.a=Object(y.a)(Object(b.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.limitProperties,o=t.query,i=t.filters,c=t.advancedFilters,s=n||[a],u=s.some((function(e){return o[e]&&o[e].length}));if(o.search&&!u)return{emptySearchResults:!0};var l=r&&r.map((function(e){return e.key})),d=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(j.getSummaryNumbers)({endpoint:a,query:o,select:e,limitBy:s,filters:i,advancedFilters:c,defaultDateRange:d,fields:l}),defaultDateRange:d}})))(D)},749:function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return l}));var a=r(3),n=r(49),o=r(41),i=r(720),c=r(721),s=Object(n.applyFilters)("woocommerce_admin_taxes_report_charts",[{key:"total_tax",label:Object(a.__)("Total Tax","woocommerce-admin"),order:"desc",orderby:"total_tax",type:"currency"},{key:"order_tax",label:Object(a.__)("Order Tax","woocommerce-admin"),order:"desc",orderby:"order_tax",type:"currency"},{key:"shipping_tax",label:Object(a.__)("Shipping Tax","woocommerce-admin"),order:"desc",orderby:"shipping_tax",type:"currency"},{key:"orders_count",label:Object(a.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),u=Object(n.applyFilters)("woocommerce_admin_taxes_report_filters",[{label:Object(a.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(a.__)("All Taxes","woocommerce-admin"),value:"all"},{label:Object(a.__)("Comparison","woocommerce-admin"),value:"compare-taxes",chartMode:"item-comparison",settings:{type:"taxes",param:"taxes",getLabels:Object(i.e)(o.NAMESPACE+"/taxes",(function(e){return{id:e.id,label:Object(c.a)(e)}})),labels:{helpText:Object(a.__)("Check at least two tax codes below to compare","woocommerce-admin"),placeholder:Object(a.__)("Search for tax codes to compare","woocommerce-admin"),title:Object(a.__)("Compare Tax Codes","woocommerce-admin"),update:Object(a.__)("Compare","woocommerce-admin")}}}]}]),l=Object(n.applyFilters)("woocommerce_admin_taxes_report_advanced_filters",{})}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[22],{705:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return M}));var a=r(5),n=r.n(a),o=r(14),i=r.n(o),c=r(13),s=r.n(c),u=r(16),l=r.n(u),d=r(17),m=r.n(d),p=r(6),f=r.n(p),y=r(0),b=r(1),g=r.n(b),h=r(3),v=r(749),_=r(723),O=r(722),j=r(724),R=r(10),x=r.n(R),w=r(2),C=r(68),q=r(32),D=r(274),k=r(721),S=r(728),E=r(718);function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var T=function(e){l()(r,e);var t=P(r);function r(){var e;return i()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(x()(e)),e.getRowsContent=e.getRowsContent.bind(x()(e)),e.getSummary=e.getSummary.bind(x()(e)),e}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(h.__)("Tax Code","woocommerce-admin"),key:"tax_code",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(h.__)("Rate","woocommerce-admin"),key:"rate",isSortable:!0,isNumeric:!0},{label:Object(h.__)("Total Tax","woocommerce-admin"),key:"total_tax",isSortable:!0},{label:Object(h.__)("Order Tax","woocommerce-admin"),key:"order_tax",isSortable:!0},{label:Object(h.__)("Shipping Tax","woocommerce-admin"),key:"shipping_tax",isSortable:!0},{label:Object(h.__)("Orders","woocommerce-admin"),key:"orders_count",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.context,a=r.render,n=r.formatDecimal,o=r.getCurrencyConfig;return Object(w.map)(e,(function(e){var r=t.props.query,i=e.order_tax,c=e.orders_count,s=e.tax_rate,u=e.tax_rate_id,l=e.total_tax,d=e.shipping_tax,m=Object(k.a)(e),p=Object(q.getPersistedQuery)(r),f=Object(q.getNewPath)(p,"/analytics/orders",{filter:"advanced",tax_rate_includes:u});return[{display:Object(y.createElement)(C.Link,{href:f,type:"wc-admin"},m),value:m},{display:s.toFixed(2)+"%",value:s},{display:a(l),value:n(l)},{display:a(i),value:n(i)},{display:a(d),value:n(d)},{display:Object(D.formatValue)(o(),"number",c),value:c}]}))}},{key:"getSummary",value:function(e){var t=e.tax_codes,r=void 0===t?0:t,a=e.total_tax,n=void 0===a?0:a,o=e.order_tax,i=void 0===o?0:o,c=e.shipping_tax,s=void 0===c?0:c,u=e.orders_count,l=void 0===u?0:u,d=this.context,m=d.formatAmount,p=(0,d.getCurrencyConfig)();return[{label:Object(h._n)("tax code","tax codes",r,"woocommerce-admin"),value:Object(D.formatValue)(p,"number",r)},{label:Object(h.__)("total tax","woocommerce-admin"),value:m(n)},{label:Object(h.__)("order tax","woocommerce-admin"),value:m(i)},{label:Object(h.__)("shipping tax","woocommerce-admin"),value:m(s)},{label:Object(h._n)("order","orders",l,"woocommerce-admin"),value:Object(D.formatValue)(p,"number",l)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.isRequesting,n=e.query;return Object(y.createElement)(S.a,{compareBy:"taxes",endpoint:"taxes",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["tax_codes","total_tax","order_tax","shipping_tax","orders_count"],isRequesting:a,itemIdField:"tax_rate_id",query:n,searchBy:"taxes",tableQuery:{orderby:n.orderby||"tax_rate_id"},title:Object(h.__)("Taxes","woocommerce-admin"),columnPrefsKey:"taxes_report_columns",filters:r,advancedFilters:t})}}]),r}(y.Component);T.contextType=E.a;var F=T,A=r(725);function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var M=function(e){l()(r,e);var t=L(r);function r(){return i()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e="compare-taxes"===this.props.query.filter?"item-comparison":"time-comparison";return{itemsLabel:Object(h.__)("%d taxes","woocommerce-admin"),mode:e}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,a=e.path,o=this.getChartMeta(),i=o.mode,c=o.itemsLabel,s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===i&&(s.segmentby="tax_rate_id"),Object(y.createElement)(y.Fragment,null,Object(y.createElement)(A.a,{query:r,path:a,filters:v.c,advancedFilters:v.a,report:"taxes"}),Object(y.createElement)(j.a,{charts:v.b,endpoint:"taxes",isRequesting:t,query:s,selectedChart:Object(_.a)(r.chart,v.b),filters:v.c,advancedFilters:v.a}),Object(y.createElement)(O.a,{charts:v.b,filters:v.c,advancedFilters:v.a,mode:i,endpoint:"taxes",query:s,path:a,isRequesting:t,itemsLabel:c,selectedChart:Object(_.a)(r.chart,v.b)}),Object(y.createElement)(F,{isRequesting:t,query:r,filters:v.c,advancedFilters:v.a}))}}]),r}(y.Component);M.propTypes={query:g.a.object.isRequired}},720:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return y})),r.d(t,"g",(function(){return b}));var a=r(36),n=r(42),o=r.n(n),i=r(2),c=r(32),s=r(41),u=r(721);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,i="function"==typeof e?e(n):e,s=Object(c.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(a.addQueryArgs)(i,u)}).then((function(e){return e.map(t)}))}}var d=l(s.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),m=l(s.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(s.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(s.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),y=l(s.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(u.a)(e)}})),b=l((function(e){return s.NAMESPACE+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.map((function(e){return e.option})).join(", ")}}))},721:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},722:function(e,t,r){"use strict";var a=r(5),n=r.n(a),o=r(14),i=r.n(o),c=r(13),s=r.n(c),u=r(16),l=r.n(u),d=r(17),m=r.n(d),p=r(6),f=r.n(p),y=r(0),b=r(3),g=r(270),h=r(137),v=r(24),_=r(2),O=r(1),j=r.n(O),R=r(68),x=r(41),w=r(35),C=r(718),q=r(719),D=r(32);function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var P=function(e){l()(r,e);var t=E(r);function r(){return i()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(_.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),S({date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,i=Object(w.getIntervalForQuery)(t),c=Object(w.getCurrentDates)(t,o),s=c.primary,u=c.secondary;return r.data.intervals.map((function(e,r){var o=Object(w.getPreviousDate)(e.date_start,s.after,u.after,t.compare,i),c=a.data.intervals[r];return{date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:c&&c.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(_.get)(t,["data","totals",a.key],null),secondary:Object(_.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,i=n.filterParam,c=n.interactiveLegend,s=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,f=n.primaryData,g=Object(w.getIntervalForQuery)(d),h=Object(w.getAllowedIntervalsForQuery)(d),v=Object(w.getDateFormatsForInterval)(g,f.data.intervals.length),_=o?Object(b.__)("No data for the current search","woocommerce-admin"):Object(b.__)("No data for the selected date range","woocommerce-admin"),O=this.context,j=O.formatAmount,C=O.getCurrencyConfig;return Object(y.createElement)(R.Chart,{allowedIntervals:h,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:_,filterParam:i,interactiveLegend:c,interval:g,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:v.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:v.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(x.getTooltipValueFormat)(m.type,j),chartType:Object(w.getChartTypeForQuery)(d),valueType:m.type,xFormat:v.xFormat,x2Format:v.x2Format,currency:C()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(q.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(y.createElement)(q.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),i=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,i)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(y.Component);P.contextType=C.a,P.propTypes={filters:j.a.array,isRequesting:j.a.bool,itemsLabel:j.a.string,limitProperties:j.a.array,mode:j.a.string,path:j.a.string.isRequired,primaryData:j.a.object,query:j.a.object.isRequired,secondaryData:j.a.object,selectedChart:j.a.shape({key:j.a.string.isRequired,label:j.a.string.isRequired,order:j.a.oneOf(["asc","desc"]),orderby:j.a.string,type:j.a.oneOf(["average","number","currency"]).isRequired}).isRequired},P.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(g.a)(Object(v.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,i=t.limitProperties,c=t.query,s=t.advancedFilters,u=i||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var i=Object(D.flattenFilters)(o.filters),c=r[o.param]||o.defaultValue||"all";return Object(_.find)(i,{value:c})}return e(n,r,a)}(n,c),d=Object(_.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(_.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(_.get)(e,["chartMode"])}return null}(l,c)||"time-comparison",p=e(x.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:m,filterParam:d,defaultDateRange:p};if(o)return f;var y=u.some((function(e){return c[e]&&c[e].length}));if(c.search&&!y)return S(S({},f),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),g=Object(x.getReportChartData)({endpoint:a,dataType:"primary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:b});if("item-comparison"===m)return S(S({},f),{},{primaryData:g});var h=Object(x.getReportChartData)({endpoint:a,dataType:"secondary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:b});return S(S({},f),{},{primaryData:g,secondaryData:h})})))(P)},723:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},724:function(e,t,r){"use strict";var a=r(14),n=r.n(a),o=r(13),i=r.n(o),c=r(16),s=r.n(c),u=r(17),l=r.n(u),d=r(6),m=r.n(d),p=r(0),f=r(3),y=r(270),b=r(24),g=r(1),h=r.n(g),v=r(32),_=r(68),O=r(274),j=r(41),R=r(35),x=r(61),w=r(719),C=r(718);function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var D=function(e){s()(r,e);var t=q(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatAmount,n=r.getCurrencyConfig;return"currency"===t?a(e):Object(O.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=n.primary?n.primary[e]:0,i=n.secondary?n.secondary[e]:0,c=a?0:o,s=a?0:i;return{delta:Object(O.calculateDelta)(c,s),prevValue:this.formatVal(s,t),value:this.formatVal(c,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.query,n=t.selectedChart,o=t.summaryData,i=t.endpoint,c=t.report,s=t.defaultDateRange,u=o.isError,l=o.isRequesting;if(u)return Object(p.createElement)(w.a,{isError:!0});if(l)return Object(p.createElement)(_.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(R.getDateParamsFromQuery)(a,s).compare;return Object(p.createElement)(_.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,o=t.order,s=t.orderby,u=t.label,l=t.type,m={chart:r};s&&(m.orderby=s),o&&(m.order=o);var y=Object(v.getNewPath)(m),b=n.key===r,g=e.getValues(r,l),h=g.delta,O=g.prevValue,j=g.value;return Object(p.createElement)(_.SummaryNumber,{key:r,delta:h,href:y,label:u,prevLabel:"previous_period"===d?Object(f.__)("Previous Period:","woocommerce-admin"):Object(f.__)("Previous Year:","woocommerce-admin"),prevValue:O,selected:b,value:j,onLinkClickCallback:function(){a&&a(),Object(x.recordEvent)("analytics_chart_tab_click",{report:c||i,key:r})}})}))}))}}]),r}(p.Component);D.propTypes={charts:h.a.array.isRequired,endpoint:h.a.string.isRequired,limitProperties:h.a.array,query:h.a.object.isRequired,selectedChart:h.a.shape({key:h.a.string.isRequired,label:h.a.string.isRequired,order:h.a.oneOf(["asc","desc"]),orderby:h.a.string,type:h.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:h.a.object,report:h.a.string},D.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},D.contextType=C.a,t.a=Object(y.a)(Object(b.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.limitProperties,o=t.query,i=t.filters,c=t.advancedFilters,s=n||[a],u=s.some((function(e){return o[e]&&o[e].length}));if(o.search&&!u)return{emptySearchResults:!0};var l=r&&r.map((function(e){return e.key})),d=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(j.getSummaryNumbers)({endpoint:a,query:o,select:e,limitBy:s,filters:i,advancedFilters:c,defaultDateRange:d,fields:l}),defaultDateRange:d}})))(D)},749:function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return l}));var a=r(3),n=r(49),o=r(41),i=r(720),c=r(721),s=Object(n.applyFilters)("woocommerce_admin_taxes_report_charts",[{key:"total_tax",label:Object(a.__)("Total Tax","woocommerce-admin"),order:"desc",orderby:"total_tax",type:"currency"},{key:"order_tax",label:Object(a.__)("Order Tax","woocommerce-admin"),order:"desc",orderby:"order_tax",type:"currency"},{key:"shipping_tax",label:Object(a.__)("Shipping Tax","woocommerce-admin"),order:"desc",orderby:"shipping_tax",type:"currency"},{key:"orders_count",label:Object(a.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),u=Object(n.applyFilters)("woocommerce_admin_taxes_report_filters",[{label:Object(a.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(a.__)("All Taxes","woocommerce-admin"),value:"all"},{label:Object(a.__)("Comparison","woocommerce-admin"),value:"compare-taxes",chartMode:"item-comparison",settings:{type:"taxes",param:"taxes",getLabels:Object(i.e)(o.NAMESPACE+"/taxes",(function(e){return{id:e.id,label:Object(c.a)(e)}})),labels:{helpText:Object(a.__)("Check at least two tax codes below to compare","woocommerce-admin"),placeholder:Object(a.__)("Search for tax codes to compare","woocommerce-admin"),title:Object(a.__)("Compare Tax Codes","woocommerce-admin"),update:Object(a.__)("Compare","woocommerce-admin")}}}]}]),l=Object(n.applyFilters)("woocommerce_admin_taxes_report_advanced_filters",{})}}]);
dist/chunks/{23.5ebca0cf8e55385565f0.js → 23.2a199043713d4e1770f4.js} RENAMED
File without changes
dist/chunks/{23.5ebca0cf8e55385565f0.min.js → 23.2a199043713d4e1770f4.min.js} RENAMED
File without changes
dist/chunks/{28.672662c30b69eaf59341.js → 28.381aadd00d85f921db60.js} RENAMED
@@ -755,7 +755,7 @@ var LazyDashboardCharts = Object(external_this_wp_element_["lazy"])(function ()
755
  return Promise.all(/* import() | dashboard-charts */[__webpack_require__.e(3), __webpack_require__.e(2), __webpack_require__.e(30)]).then(__webpack_require__.bind(null, 911));
756
  });
757
  var LazyLeaderboards = Object(external_this_wp_element_["lazy"])(function () {
758
- return Promise.all(/* import() | leaderboards */[__webpack_require__.e(5), __webpack_require__.e(36)]).then(__webpack_require__.bind(null, 915));
759
  });
760
  var LazyStorePerformance = Object(external_this_wp_element_["lazy"])(function () {
761
  return __webpack_require__.e(/* import() | store-performance */ 48).then(__webpack_require__.bind(null, 904));
755
  return Promise.all(/* import() | dashboard-charts */[__webpack_require__.e(3), __webpack_require__.e(2), __webpack_require__.e(30)]).then(__webpack_require__.bind(null, 911));
756
  });
757
  var LazyLeaderboards = Object(external_this_wp_element_["lazy"])(function () {
758
+ return Promise.all(/* import() | leaderboards */[__webpack_require__.e(5), __webpack_require__.e(36)]).then(__webpack_require__.bind(null, 914));
759
  });
760
  var LazyStorePerformance = Object(external_this_wp_element_["lazy"])(function () {
761
  return __webpack_require__.e(/* import() | store-performance */ 48).then(__webpack_require__.bind(null, 904));
dist/chunks/{28.672662c30b69eaf59341.min.js → 28.381aadd00d85f921db60.min.js} RENAMED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[28],{172:function(e,t,n){"use strict";var r=n(9),o=n(19),c=n(4),a=n.n(c),i=n(0);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function(e){var t=e.as,n=void 0===t?"div":t,c=e.className,s=Object(o.a)(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=Object(o.a)(e,["as"]);return"function"==typeof r.children?r.children(r):Object(i.createElement)(n,r)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:n,className:a()("components-visually-hidden",c)},s))}},175:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),o=new WeakMap;function c(e,t){return Object(r.useMemo)((function(){var n=function(e){var t=o.get(e)||0;return o.set(e,t+1),t}(e);return t?"".concat(t,"-").concat(n):n}),[e])}},253:function(e,t,n){"use strict";var r=n(0),o=n(4),c=n.n(o),a=n(172);function i(e){var t=e.id,n=e.label,o=e.hideLabelFromVision,l=e.help,s=e.className,u=e.children;return Object(r.createElement)("div",{className:c()("components-base-control",s)},Object(r.createElement)("div",{className:"components-base-control__field"},n&&t&&(o?Object(r.createElement)(a.a,{as:"label",htmlFor:t},n):Object(r.createElement)("label",{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(o?Object(r.createElement)(a.a,{as:"label"},n):Object(r.createElement)(i.VisualLabel,null,n)),u),!!l&&Object(r.createElement)("p",{id:t+"__help",className:"components-base-control__help"},l))}i.VisualLabel=function(e){var t=e.className,n=e.children;return t=c()("components-base-control__label",t),Object(r.createElement)("span",{className:t},n)},t.a=i},690:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(8),o=n(27),c=n(0),a=n(4),i=n.n(a),l=n(96);function s(e){var t,n,a,s,u,d,b=e.renderContent,p=e.renderToggle,f=e.position,m=void 0===f?"bottom right":f,O=e.className,v=e.contentClassName,h=e.expandOnMobile,j=e.headerTitle,y=e.focusOnMount,_=e.popoverProps,g=e.onClose,k=e.onToggle,w=Object(c.useRef)(),E=(t=!1,n=k,a=Object(c.useState)(t),s=Object(o.a)(a,2),u=s[0],d=s[1],[u,function(e){d(e),n&&n(e)}]),D=Object(o.a)(E,2),S=D[0],P=D[1];function C(){g&&g(),P(!1)}Object(c.useEffect)((function(){return function(){k&&k(!1)}}),[]);var T={isOpen:S,onToggle:function(){P(!S)},onClose:C};return Object(c.createElement)("div",{className:i()("components-dropdown",O),ref:w},p(T),S&&Object(c.createElement)(l.a,Object(r.a)({position:m,onClose:C,onFocusOutside:function(){w.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||C()},expandOnMobile:h,headerTitle:j,focusOnMount:y},_,{anchorRef:w.current,className:i()("components-dropdown__content",_?_.className:void 0,v)}),b(T)))}},692:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(8),o=n(19),c=n(0),a=n(175),i=n(253);function l(e){var t=e.label,n=e.hideLabelFromVision,s=e.value,u=e.help,d=e.className,b=e.onChange,p=e.type,f=void 0===p?"text":p,m=Object(o.a)(e,["label","hideLabelFromVision","value","help","className","onChange","type"]),O=Object(a.a)(l),v="inspector-text-control-".concat(O);return Object(c.createElement)(i.a,{label:t,hideLabelFromVision:n,id:v,help:u,className:d},Object(c.createElement)("input",Object(r.a)({className:"components-text-control__input",type:f,id:v,value:s,onChange:function(e){return b(e.target.value)},"aria-describedby":u?v+"__help":void 0},m)))}},718:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return u}));var r=n(0),o=n(49),c=n(188),a=n.n(c),i=n(33),l=a()(i.b),s=function(e){var t=l.getCurrencyConfig(),n=Object(o.applyFilters)("woocommerce_admin_report_currency",t,e);return a()(n)},u=Object(r.createContext)(l)},725:function(e,t,n){"use strict";var r=n(5),o=n.n(r),c=n(14),a=n.n(c),i=n(13),l=n.n(i),s=n(10),u=n.n(s),d=n(16),b=n.n(d),p=n(17),f=n.n(p),m=n(6),O=n.n(m),v=n(0),h=n(1),j=n.n(h),y=n(2),_=n(24),g=n(68),k=n(33),w=n(41),E=n(35),D=n(61),S=n(718);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O()(e);if(t){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var F=function(e){b()(n,e);var t=T(n);function n(){var e;return a()(this,n),(e=t.call(this)).trackDateSelect=e.trackDateSelect.bind(u()(e)),e.trackFilterSelect=e.trackFilterSelect.bind(u()(e)),e.trackAdvancedFilterAction=e.trackAdvancedFilterAction.bind(u()(e)),e}return l()(n,[{key:"trackDateSelect",value:function(e){var t=this.props.report;Object(D.recordEvent)("datepicker_update",C({report:t},Object(y.omitBy)(e,y.isUndefined)))}},{key:"trackFilterSelect",value:function(e){var t=this.props.report;Object(D.recordEvent)("analytics_filter",{report:t,filter:e.filter||"all"})}},{key:"trackAdvancedFilterAction",value:function(e,t){var n=this.props.report;switch(e){case"add":Object(D.recordEvent)("analytics_filters_add",{report:n,filter:t.key});break;case"remove":Object(D.recordEvent)("analytics_filters_remove",{report:n,filter:t.key});break;case"filter":var r=Object.keys(t).reduce((function(e,n){return e[Object(y.snakeCase)(n)]=t[n],e}),{});Object(D.recordEvent)("analytics_filters_filter",C({report:n},r));break;case"clear_all":Object(D.recordEvent)("analytics_filters_clear_all",{report:n});break;case"match":Object(D.recordEvent)("analytics_filters_all_any",{report:n,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,n=e.filters,r=e.path,o=e.query,c=e.showDatePicker,a=e.defaultDateRange,i=Object(E.getDateParamsFromQuery)(o,a),l=i.period,s=i.compare,u=i.before,d=i.after,b=Object(E.getCurrentDates)(o,a),p={period:l,compare:s,before:u,after:d,primaryDate:b.primary,secondaryDate:b.secondary},f=this.context;return Object(v.createElement)(g.ReportFilters,{query:o,siteLocale:k.c.siteLocale,currency:f.getCurrencyConfig(),path:r,filters:n,advancedFilters:t,showDatePicker:c,onDateSelect:this.trackDateSelect,onFilterSelect:this.trackFilterSelect,onAdvancedFilterAction:this.trackAdvancedFilterAction,dateQuery:p,isoDateFormat:E.isoDateFormat})}}]),n}(v.Component);F.contextType=S.a,t.a=Object(_.withSelect)((function(e){return{defaultDateRange:e(w.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(F),F.propTypes={advancedFilters:j.a.object,filters:j.a.array,path:j.a.string.isRequired,query:j.a.object,showDatePicker:j.a.bool,report:j.a.string.isRequired}},892:function(e,t,n){"use strict";n.r(t);var r=n(60),o=n.n(r),c=n(5),a=n.n(c),i=n(30),l=n.n(i),s=n(0),u=n(3),d=n(270),b=n(2),p=n(690),f=n(72),m=n(115),O=n(49),v=n(418),h=n(44),j=Object(s.createElement)(h.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(h.b,{d:"M2 12C2 6.44444 6.44444 2 12 2C17.5556 2 22 6.44444 22 12C22 17.5556 17.5556 22 12 22C6.44444 22 2 17.5556 2 12ZM13 11V7H11V11H7V13H11V17H13V13H17V11H13Z"})),y=n(24),_=n(68),g=n(41),k=n(32),w=n(35),E=n(61),D=(n(737),Object(s.lazy)((function(){return Promise.all([n.e(3),n.e(2),n.e(30)]).then(n.bind(null,911))}))),S=Object(s.lazy)((function(){return Promise.all([n.e(5),n.e(36)]).then(n.bind(null,915))})),P=Object(s.lazy)((function(){return n.e(48).then(n.bind(null,904))})),C=Object(O.applyFilters)("woocommerce_dashboard_default_sections",[{key:"store-performance",component:function(e){return Object(s.createElement)(s.Suspense,{fallback:Object(s.createElement)(_.Spinner,null)},Object(s.createElement)(P,e))},title:Object(u.__)("Performance","woocommerce-admin"),isVisible:!0,icon:"arrow-right-alt",hiddenBlocks:["coupons/amount","coupons/orders_count","downloads/download_count","taxes/order_tax","taxes/total_tax","taxes/shipping_tax","revenue/shipping","orders/avg_order_value","revenue/refunds","revenue/gross_sales"]},{key:"charts",component:function(e){return Object(s.createElement)(s.Suspense,{fallback:Object(s.createElement)(_.Spinner,null)},Object(s.createElement)(D,e))},title:Object(u.__)("Charts","woocommerce-admin"),isVisible:!0,icon:"chart-bar",hiddenBlocks:["orders_avg_order_value","avg_items_per_order","products_items_sold","revenue_total_sales","revenue_refunds","coupons_amount","coupons_orders_count","revenue_shipping","taxes_total_tax","taxes_order_tax","taxes_shipping_tax","downloads_download_count"]},{key:"leaderboards",component:function(e){return Object(s.createElement)(s.Suspense,{fallback:Object(s.createElement)(_.Spinner,null)},Object(s.createElement)(S,e))},title:Object(u.__)("Leaderboards","woocommerce-admin"),isVisible:!0,icon:"editor-ol",hiddenBlocks:["coupons","customers"]}]),T=n(37),F=n.n(T),N=n(14),R=n.n(N),x=n(13),M=n.n(x),B=n(10),V=n.n(B),A=n(16),I=n.n(A),H=n(17),L=n.n(H),U=n(6),q=n.n(U),Q=n(692);function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q()(e);if(t){var o=q()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return L()(this,n)}}var G=function(e){I()(n,e);var t=z(n);function n(e){var r;return R()(this,n),(r=t.call(this,e)).onMoveUp=r.onMoveUp.bind(V()(r)),r.onMoveDown=r.onMoveDown.bind(V()(r)),r}return M()(n,[{key:"onMoveUp",value:function(){var e=this.props,t=e.onMove,n=e.onToggle;t(-1),n()}},{key:"onMoveDown",value:function(){var e=this.props,t=e.onMove,n=e.onToggle;t(1),n()}},{key:"render",value:function(){var e=this.props,t=e.onRemove,n=e.isFirst,r=e.isLast,o=e.onTitleBlur,c=e.onTitleChange,a=e.titleInput;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)("div",{className:"woocommerce-ellipsis-menu__item"},Object(s.createElement)(Q.a,{label:Object(u.__)("Section Title","woocommerce-admin"),onBlur:o,onChange:c,required:!0,value:a})),Object(s.createElement)("div",{className:"woocommerce-dashboard-section-controls"},!n&&Object(s.createElement)(_.MenuItem,{isClickable:!0,onInvoke:this.onMoveUp},Object(s.createElement)(m.a,{icon:"arrow-up-alt2",label:Object(u.__)("Move up")}),Object(u.__)("Move up","woocommerce-admin")),!r&&Object(s.createElement)(_.MenuItem,{isClickable:!0,onInvoke:this.onMoveDown},Object(s.createElement)(m.a,{icon:"arrow-down-alt2",label:Object(u.__)("Move Down")}),Object(u.__)("Move Down","woocommerce-admin")),Object(s.createElement)(_.MenuItem,{isClickable:!0,onInvoke:t},Object(s.createElement)(m.a,{icon:"trash",label:Object(u.__)("Remove block")}),Object(u.__)("Remove section","woocommerce-admin"))))}}]),n}(s.Component);function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q()(e);if(t){var o=q()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return L()(this,n)}}var Z=function(e){I()(n,e);var t=J(n);function n(e){var r;R()(this,n),r=t.call(this,e);var o=e.title;return r.state={titleInput:o},r.onToggleHiddenBlock=r.onToggleHiddenBlock.bind(V()(r)),r.onTitleChange=r.onTitleChange.bind(V()(r)),r.onTitleBlur=r.onTitleBlur.bind(V()(r)),r}return M()(n,[{key:"onTitleChange",value:function(e){this.setState({titleInput:e})}},{key:"onTitleBlur",value:function(){var e=this.props,t=e.onTitleUpdate,n=e.title,r=this.state.titleInput;""===r?this.setState({titleInput:n}):t&&t(r)}},{key:"onToggleHiddenBlock",value:function(e){var t=this;return function(){var n=Object(b.xor)(t.props.hiddenBlocks,[e]);t.props.onChangeHiddenBlocks(n)}}},{key:"render",value:function(){var e=this.props,t=e.component,n=o()(e,["component"]),r=this.state.titleInput;return Object(s.createElement)("div",{className:"woocommerce-dashboard-section"},Object(s.createElement)(t,F()({onTitleChange:this.onTitleChange,onTitleBlur:this.onTitleBlur,onToggleHiddenBlock:this.onToggleHiddenBlock,titleInput:r,controls:G},n)))}}]),n}(s.Component),W=n(725),K=n(718);function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $=Object(O.applyFilters)("woocommerce_admin_dashboard_filters",[]);t.default=Object(d.a)(Object(y.withSelect)((function(e){return{defaultDateRange:e(g.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}})))((function(e){var t,n,r,c,a,i,d,O,h,y=e.defaultDateRange,D=e.path,S=e.query,P=Object(g.useUserPreferences)(),T=P.updateUserPreferences,F=function(e){if(!e||0===e.length)return C;var t=C.map((function(e){return e.key})),n=e.map((function(e){return e.key})),r=new Set([].concat(l()(n),l()(t))),o=[];return r.forEach((function(t){var n=C.find((function(e){return e.key===t}));if(n){var r=e.find((function(e){return e.key===t}));o.push(Y(Y({},n),r))}})),o}(o()(P,["updateUserPreferences"]).dashboard_sections),N=function(e){T({dashboard_sections:e})},R=function(e,t){var n=F.map((function(n){return n.key===e?Y(Y({},n),t):n}));N(n)},x=function(e){return function(t){Object(E.recordEvent)("dash_section_rename",{key:e}),R(e,{title:t})}},M=function(e,t){return function(){t&&t();var n=F.findIndex((function(t){return e===t.key})),r=F.splice(n,1).shift();r.isVisible=!r.isVisible,F.push(r),r.isVisible?Object(E.recordEvent)("dash_section_add",{key:r.key}):Object(E.recordEvent)("dash_section_remove",{key:r.key}),N(F)}},B=function e(t,n){var r=F.splice(t,1).shift(),o=t+n;if(F[n<0?o:o-1].isVisible||0===t||t===F.length-1){F.splice(o,0,r),N(F);var c={key:r.key,direction:n>0?"down":"up"};Object(E.recordEvent)("dash_section_order_change",c)}else e(t,n+n)};return Object(s.createElement)(K.a.Provider,{value:Object(K.b)(Object(k.getQuery)())},(n=Object(w.getDateParamsFromQuery)(S,y),r=n.period,c=n.compare,a=n.before,i=n.after,d=Object(w.getCurrentDates)(S,y),O={period:r,compare:c,before:a,after:i,primaryDate:d.primary,secondaryDate:d.secondary},h=F.filter((function(e){return e.isVisible})).map((function(e){return e.key})),Object(s.createElement)(s.Fragment,null,Object(s.createElement)(W.a,{report:"dashboard",query:S,path:D,dateQuery:O,isoDateFormat:w.isoDateFormat,filters:$}),F.map((function(e,t){return e.isVisible?Object(s.createElement)(Z,{component:e.component,hiddenBlocks:e.hiddenBlocks,key:e.key,onChangeHiddenBlocks:(n=e.key,function(e){R(n,{hiddenBlocks:e})}),onTitleUpdate:x(e.key),path:D,query:S,title:e.title,onMove:Object(b.partial)(B,t),onRemove:M(e.key),isFirst:e.key===h[0],isLast:e.key===h[h.length-1],filters:$}):null;var n})),0===(t=F.filter((function(e){return!1===e.isVisible}))).length?null:Object(s.createElement)(p.a,{position:"top center",className:"woocommerce-dashboard-section__add-more",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(s.createElement)(f.a,{onClick:t,title:Object(u.__)("Add more sections","woocommerce-admin"),"aria-expanded":n},Object(s.createElement)(v.a,{icon:j}))},renderContent:function(e){var n=e.onToggle;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(_.H,null,Object(u.__)("Dashboard Sections","woocommerce-admin")),Object(s.createElement)("div",{className:"woocommerce-dashboard-section__add-more-choices"},t.map((function(e){return Object(s.createElement)(f.a,{key:e.key,onClick:M(e.key,n),className:"woocommerce-dashboard-section__add-more-btn",title:Object(u.sprintf)(Object(u.__)("Add %s section","woocommerce-admin"),e.title)},Object(s.createElement)(m.a,{icon:e.icon,size:30}),Object(s.createElement)("span",{className:"woocommerce-dashboard-section__add-more-btn-title"},e.title))}))))}}))))}))}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[28],{172:function(e,t,n){"use strict";var r=n(9),o=n(19),c=n(4),a=n.n(c),i=n(0);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function(e){var t=e.as,n=void 0===t?"div":t,c=e.className,s=Object(o.a)(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=Object(o.a)(e,["as"]);return"function"==typeof r.children?r.children(r):Object(i.createElement)(n,r)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:n,className:a()("components-visually-hidden",c)},s))}},175:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),o=new WeakMap;function c(e,t){return Object(r.useMemo)((function(){var n=function(e){var t=o.get(e)||0;return o.set(e,t+1),t}(e);return t?"".concat(t,"-").concat(n):n}),[e])}},253:function(e,t,n){"use strict";var r=n(0),o=n(4),c=n.n(o),a=n(172);function i(e){var t=e.id,n=e.label,o=e.hideLabelFromVision,l=e.help,s=e.className,u=e.children;return Object(r.createElement)("div",{className:c()("components-base-control",s)},Object(r.createElement)("div",{className:"components-base-control__field"},n&&t&&(o?Object(r.createElement)(a.a,{as:"label",htmlFor:t},n):Object(r.createElement)("label",{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(o?Object(r.createElement)(a.a,{as:"label"},n):Object(r.createElement)(i.VisualLabel,null,n)),u),!!l&&Object(r.createElement)("p",{id:t+"__help",className:"components-base-control__help"},l))}i.VisualLabel=function(e){var t=e.className,n=e.children;return t=c()("components-base-control__label",t),Object(r.createElement)("span",{className:t},n)},t.a=i},690:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(8),o=n(27),c=n(0),a=n(4),i=n.n(a),l=n(96);function s(e){var t,n,a,s,u,d,b=e.renderContent,p=e.renderToggle,f=e.position,m=void 0===f?"bottom right":f,O=e.className,v=e.contentClassName,h=e.expandOnMobile,j=e.headerTitle,y=e.focusOnMount,_=e.popoverProps,g=e.onClose,k=e.onToggle,w=Object(c.useRef)(),E=(t=!1,n=k,a=Object(c.useState)(t),s=Object(o.a)(a,2),u=s[0],d=s[1],[u,function(e){d(e),n&&n(e)}]),D=Object(o.a)(E,2),S=D[0],P=D[1];function C(){g&&g(),P(!1)}Object(c.useEffect)((function(){return function(){k&&k(!1)}}),[]);var T={isOpen:S,onToggle:function(){P(!S)},onClose:C};return Object(c.createElement)("div",{className:i()("components-dropdown",O),ref:w},p(T),S&&Object(c.createElement)(l.a,Object(r.a)({position:m,onClose:C,onFocusOutside:function(){w.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||C()},expandOnMobile:h,headerTitle:j,focusOnMount:y},_,{anchorRef:w.current,className:i()("components-dropdown__content",_?_.className:void 0,v)}),b(T)))}},692:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(8),o=n(19),c=n(0),a=n(175),i=n(253);function l(e){var t=e.label,n=e.hideLabelFromVision,s=e.value,u=e.help,d=e.className,b=e.onChange,p=e.type,f=void 0===p?"text":p,m=Object(o.a)(e,["label","hideLabelFromVision","value","help","className","onChange","type"]),O=Object(a.a)(l),v="inspector-text-control-".concat(O);return Object(c.createElement)(i.a,{label:t,hideLabelFromVision:n,id:v,help:u,className:d},Object(c.createElement)("input",Object(r.a)({className:"components-text-control__input",type:f,id:v,value:s,onChange:function(e){return b(e.target.value)},"aria-describedby":u?v+"__help":void 0},m)))}},718:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return u}));var r=n(0),o=n(49),c=n(188),a=n.n(c),i=n(33),l=a()(i.b),s=function(e){var t=l.getCurrencyConfig(),n=Object(o.applyFilters)("woocommerce_admin_report_currency",t,e);return a()(n)},u=Object(r.createContext)(l)},725:function(e,t,n){"use strict";var r=n(5),o=n.n(r),c=n(14),a=n.n(c),i=n(13),l=n.n(i),s=n(10),u=n.n(s),d=n(16),b=n.n(d),p=n(17),f=n.n(p),m=n(6),O=n.n(m),v=n(0),h=n(1),j=n.n(h),y=n(2),_=n(24),g=n(68),k=n(33),w=n(41),E=n(35),D=n(61),S=n(718);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O()(e);if(t){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var F=function(e){b()(n,e);var t=T(n);function n(){var e;return a()(this,n),(e=t.call(this)).trackDateSelect=e.trackDateSelect.bind(u()(e)),e.trackFilterSelect=e.trackFilterSelect.bind(u()(e)),e.trackAdvancedFilterAction=e.trackAdvancedFilterAction.bind(u()(e)),e}return l()(n,[{key:"trackDateSelect",value:function(e){var t=this.props.report;Object(D.recordEvent)("datepicker_update",C({report:t},Object(y.omitBy)(e,y.isUndefined)))}},{key:"trackFilterSelect",value:function(e){var t=this.props.report;Object(D.recordEvent)("analytics_filter",{report:t,filter:e.filter||"all"})}},{key:"trackAdvancedFilterAction",value:function(e,t){var n=this.props.report;switch(e){case"add":Object(D.recordEvent)("analytics_filters_add",{report:n,filter:t.key});break;case"remove":Object(D.recordEvent)("analytics_filters_remove",{report:n,filter:t.key});break;case"filter":var r=Object.keys(t).reduce((function(e,n){return e[Object(y.snakeCase)(n)]=t[n],e}),{});Object(D.recordEvent)("analytics_filters_filter",C({report:n},r));break;case"clear_all":Object(D.recordEvent)("analytics_filters_clear_all",{report:n});break;case"match":Object(D.recordEvent)("analytics_filters_all_any",{report:n,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,n=e.filters,r=e.path,o=e.query,c=e.showDatePicker,a=e.defaultDateRange,i=Object(E.getDateParamsFromQuery)(o,a),l=i.period,s=i.compare,u=i.before,d=i.after,b=Object(E.getCurrentDates)(o,a),p={period:l,compare:s,before:u,after:d,primaryDate:b.primary,secondaryDate:b.secondary},f=this.context;return Object(v.createElement)(g.ReportFilters,{query:o,siteLocale:k.c.siteLocale,currency:f.getCurrencyConfig(),path:r,filters:n,advancedFilters:t,showDatePicker:c,onDateSelect:this.trackDateSelect,onFilterSelect:this.trackFilterSelect,onAdvancedFilterAction:this.trackAdvancedFilterAction,dateQuery:p,isoDateFormat:E.isoDateFormat})}}]),n}(v.Component);F.contextType=S.a,t.a=Object(_.withSelect)((function(e){return{defaultDateRange:e(w.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(F),F.propTypes={advancedFilters:j.a.object,filters:j.a.array,path:j.a.string.isRequired,query:j.a.object,showDatePicker:j.a.bool,report:j.a.string.isRequired}},892:function(e,t,n){"use strict";n.r(t);var r=n(60),o=n.n(r),c=n(5),a=n.n(c),i=n(30),l=n.n(i),s=n(0),u=n(3),d=n(270),b=n(2),p=n(690),f=n(72),m=n(115),O=n(49),v=n(418),h=n(44),j=Object(s.createElement)(h.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(h.b,{d:"M2 12C2 6.44444 6.44444 2 12 2C17.5556 2 22 6.44444 22 12C22 17.5556 17.5556 22 12 22C6.44444 22 2 17.5556 2 12ZM13 11V7H11V11H7V13H11V17H13V13H17V11H13Z"})),y=n(24),_=n(68),g=n(41),k=n(32),w=n(35),E=n(61),D=(n(737),Object(s.lazy)((function(){return Promise.all([n.e(3),n.e(2),n.e(30)]).then(n.bind(null,911))}))),S=Object(s.lazy)((function(){return Promise.all([n.e(5),n.e(36)]).then(n.bind(null,914))})),P=Object(s.lazy)((function(){return n.e(48).then(n.bind(null,904))})),C=Object(O.applyFilters)("woocommerce_dashboard_default_sections",[{key:"store-performance",component:function(e){return Object(s.createElement)(s.Suspense,{fallback:Object(s.createElement)(_.Spinner,null)},Object(s.createElement)(P,e))},title:Object(u.__)("Performance","woocommerce-admin"),isVisible:!0,icon:"arrow-right-alt",hiddenBlocks:["coupons/amount","coupons/orders_count","downloads/download_count","taxes/order_tax","taxes/total_tax","taxes/shipping_tax","revenue/shipping","orders/avg_order_value","revenue/refunds","revenue/gross_sales"]},{key:"charts",component:function(e){return Object(s.createElement)(s.Suspense,{fallback:Object(s.createElement)(_.Spinner,null)},Object(s.createElement)(D,e))},title:Object(u.__)("Charts","woocommerce-admin"),isVisible:!0,icon:"chart-bar",hiddenBlocks:["orders_avg_order_value","avg_items_per_order","products_items_sold","revenue_total_sales","revenue_refunds","coupons_amount","coupons_orders_count","revenue_shipping","taxes_total_tax","taxes_order_tax","taxes_shipping_tax","downloads_download_count"]},{key:"leaderboards",component:function(e){return Object(s.createElement)(s.Suspense,{fallback:Object(s.createElement)(_.Spinner,null)},Object(s.createElement)(S,e))},title:Object(u.__)("Leaderboards","woocommerce-admin"),isVisible:!0,icon:"editor-ol",hiddenBlocks:["coupons","customers"]}]),T=n(37),F=n.n(T),N=n(14),R=n.n(N),x=n(13),M=n.n(x),B=n(10),V=n.n(B),A=n(16),I=n.n(A),H=n(17),L=n.n(H),U=n(6),q=n.n(U),Q=n(692);function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q()(e);if(t){var o=q()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return L()(this,n)}}var G=function(e){I()(n,e);var t=z(n);function n(e){var r;return R()(this,n),(r=t.call(this,e)).onMoveUp=r.onMoveUp.bind(V()(r)),r.onMoveDown=r.onMoveDown.bind(V()(r)),r}return M()(n,[{key:"onMoveUp",value:function(){var e=this.props,t=e.onMove,n=e.onToggle;t(-1),n()}},{key:"onMoveDown",value:function(){var e=this.props,t=e.onMove,n=e.onToggle;t(1),n()}},{key:"render",value:function(){var e=this.props,t=e.onRemove,n=e.isFirst,r=e.isLast,o=e.onTitleBlur,c=e.onTitleChange,a=e.titleInput;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)("div",{className:"woocommerce-ellipsis-menu__item"},Object(s.createElement)(Q.a,{label:Object(u.__)("Section Title","woocommerce-admin"),onBlur:o,onChange:c,required:!0,value:a})),Object(s.createElement)("div",{className:"woocommerce-dashboard-section-controls"},!n&&Object(s.createElement)(_.MenuItem,{isClickable:!0,onInvoke:this.onMoveUp},Object(s.createElement)(m.a,{icon:"arrow-up-alt2",label:Object(u.__)("Move up")}),Object(u.__)("Move up","woocommerce-admin")),!r&&Object(s.createElement)(_.MenuItem,{isClickable:!0,onInvoke:this.onMoveDown},Object(s.createElement)(m.a,{icon:"arrow-down-alt2",label:Object(u.__)("Move Down")}),Object(u.__)("Move Down","woocommerce-admin")),Object(s.createElement)(_.MenuItem,{isClickable:!0,onInvoke:t},Object(s.createElement)(m.a,{icon:"trash",label:Object(u.__)("Remove block")}),Object(u.__)("Remove section","woocommerce-admin"))))}}]),n}(s.Component);function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q()(e);if(t){var o=q()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return L()(this,n)}}var Z=function(e){I()(n,e);var t=J(n);function n(e){var r;R()(this,n),r=t.call(this,e);var o=e.title;return r.state={titleInput:o},r.onToggleHiddenBlock=r.onToggleHiddenBlock.bind(V()(r)),r.onTitleChange=r.onTitleChange.bind(V()(r)),r.onTitleBlur=r.onTitleBlur.bind(V()(r)),r}return M()(n,[{key:"onTitleChange",value:function(e){this.setState({titleInput:e})}},{key:"onTitleBlur",value:function(){var e=this.props,t=e.onTitleUpdate,n=e.title,r=this.state.titleInput;""===r?this.setState({titleInput:n}):t&&t(r)}},{key:"onToggleHiddenBlock",value:function(e){var t=this;return function(){var n=Object(b.xor)(t.props.hiddenBlocks,[e]);t.props.onChangeHiddenBlocks(n)}}},{key:"render",value:function(){var e=this.props,t=e.component,n=o()(e,["component"]),r=this.state.titleInput;return Object(s.createElement)("div",{className:"woocommerce-dashboard-section"},Object(s.createElement)(t,F()({onTitleChange:this.onTitleChange,onTitleBlur:this.onTitleBlur,onToggleHiddenBlock:this.onToggleHiddenBlock,titleInput:r,controls:G},n)))}}]),n}(s.Component),W=n(725),K=n(718);function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $=Object(O.applyFilters)("woocommerce_admin_dashboard_filters",[]);t.default=Object(d.a)(Object(y.withSelect)((function(e){return{defaultDateRange:e(g.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}})))((function(e){var t,n,r,c,a,i,d,O,h,y=e.defaultDateRange,D=e.path,S=e.query,P=Object(g.useUserPreferences)(),T=P.updateUserPreferences,F=function(e){if(!e||0===e.length)return C;var t=C.map((function(e){return e.key})),n=e.map((function(e){return e.key})),r=new Set([].concat(l()(n),l()(t))),o=[];return r.forEach((function(t){var n=C.find((function(e){return e.key===t}));if(n){var r=e.find((function(e){return e.key===t}));o.push(Y(Y({},n),r))}})),o}(o()(P,["updateUserPreferences"]).dashboard_sections),N=function(e){T({dashboard_sections:e})},R=function(e,t){var n=F.map((function(n){return n.key===e?Y(Y({},n),t):n}));N(n)},x=function(e){return function(t){Object(E.recordEvent)("dash_section_rename",{key:e}),R(e,{title:t})}},M=function(e,t){return function(){t&&t();var n=F.findIndex((function(t){return e===t.key})),r=F.splice(n,1).shift();r.isVisible=!r.isVisible,F.push(r),r.isVisible?Object(E.recordEvent)("dash_section_add",{key:r.key}):Object(E.recordEvent)("dash_section_remove",{key:r.key}),N(F)}},B=function e(t,n){var r=F.splice(t,1).shift(),o=t+n;if(F[n<0?o:o-1].isVisible||0===t||t===F.length-1){F.splice(o,0,r),N(F);var c={key:r.key,direction:n>0?"down":"up"};Object(E.recordEvent)("dash_section_order_change",c)}else e(t,n+n)};return Object(s.createElement)(K.a.Provider,{value:Object(K.b)(Object(k.getQuery)())},(n=Object(w.getDateParamsFromQuery)(S,y),r=n.period,c=n.compare,a=n.before,i=n.after,d=Object(w.getCurrentDates)(S,y),O={period:r,compare:c,before:a,after:i,primaryDate:d.primary,secondaryDate:d.secondary},h=F.filter((function(e){return e.isVisible})).map((function(e){return e.key})),Object(s.createElement)(s.Fragment,null,Object(s.createElement)(W.a,{report:"dashboard",query:S,path:D,dateQuery:O,isoDateFormat:w.isoDateFormat,filters:$}),F.map((function(e,t){return e.isVisible?Object(s.createElement)(Z,{component:e.component,hiddenBlocks:e.hiddenBlocks,key:e.key,onChangeHiddenBlocks:(n=e.key,function(e){R(n,{hiddenBlocks:e})}),onTitleUpdate:x(e.key),path:D,query:S,title:e.title,onMove:Object(b.partial)(B,t),onRemove:M(e.key),isFirst:e.key===h[0],isLast:e.key===h[h.length-1],filters:$}):null;var n})),0===(t=F.filter((function(e){return!1===e.isVisible}))).length?null:Object(s.createElement)(p.a,{position:"top center",className:"woocommerce-dashboard-section__add-more",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(s.createElement)(f.a,{onClick:t,title:Object(u.__)("Add more sections","woocommerce-admin"),"aria-expanded":n},Object(s.createElement)(v.a,{icon:j}))},renderContent:function(e){var n=e.onToggle;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(_.H,null,Object(u.__)("Dashboard Sections","woocommerce-admin")),Object(s.createElement)("div",{className:"woocommerce-dashboard-section__add-more-choices"},t.map((function(e){return Object(s.createElement)(f.a,{key:e.key,onClick:M(e.key,n),className:"woocommerce-dashboard-section__add-more-btn",title:Object(u.sprintf)(Object(u.__)("Add %s section","woocommerce-admin"),e.title)},Object(s.createElement)(m.a,{icon:e.icon,size:30}),Object(s.createElement)("span",{className:"woocommerce-dashboard-section__add-more-btn-title"},e.title))}))))}}))))}))}}]);
dist/chunks/{34.1e9bc8608472c4f5be27.js → 34.d3144bb875308a09d8d7.js} RENAMED
@@ -5367,14 +5367,6 @@ var layout_Layout = function Layout(_ref) {
5367
  var isTaskListEnabled = taskListHidden === false && !taskListComplete;
5368
  var isDashboardShown = !isTaskListEnabled || !query.task;
5369
 
5370
- var isInboxPanelEmpty = function isInboxPanelEmpty(isEmpty) {
5371
- if (isBatchUpdating) {
5372
- return;
5373
- }
5374
-
5375
- setShowInbox(!isEmpty);
5376
- };
5377
-
5378
  if (isBatchUpdating && !showInbox) {
5379
  setShowInbox(true);
5380
  }
@@ -5382,9 +5374,7 @@ var layout_Layout = function Layout(_ref) {
5382
  var renderColumns = function renderColumns() {
5383
  return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, showInbox && Object(external_this_wp_element_["createElement"])("div", {
5384
  className: "woocommerce-homescreen-column is-inbox"
5385
- }, Object(external_this_wp_element_["createElement"])(inbox["default"], {
5386
- isPanelEmpty: isInboxPanelEmpty
5387
- })), Object(external_this_wp_element_["createElement"])("div", {
5388
  className: "woocommerce-homescreen-column",
5389
  ref: content,
5390
  style: {
5367
  var isTaskListEnabled = taskListHidden === false && !taskListComplete;
5368
  var isDashboardShown = !isTaskListEnabled || !query.task;
5369
 
 
 
 
 
 
 
 
 
5370
  if (isBatchUpdating && !showInbox) {
5371
  setShowInbox(true);
5372
  }
5374
  var renderColumns = function renderColumns() {
5375
  return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, showInbox && Object(external_this_wp_element_["createElement"])("div", {
5376
  className: "woocommerce-homescreen-column is-inbox"
5377
+ }, Object(external_this_wp_element_["createElement"])(inbox["default"], null)), Object(external_this_wp_element_["createElement"])("div", {
 
 
5378
  className: "woocommerce-homescreen-column",
5379
  ref: content,
5380
  style: {
dist/chunks/{34.1e9bc8608472c4f5be27.min.js → 34.d3144bb875308a09d8d7.min.js} RENAMED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[34],{690:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(8),c=a(27),o=a(0),r=a(4),i=a.n(r),l=a(96);function s(e){var t,a,r,s,m,u,d=e.renderContent,p=e.renderToggle,f=e.position,b=void 0===f?"bottom right":f,h=e.className,v=e.contentClassName,O=e.expandOnMobile,j=e.headerTitle,y=e.focusOnMount,_=e.popoverProps,g=e.onClose,w=e.onToggle,E=Object(o.useRef)(),k=(t=!1,a=w,r=Object(o.useState)(t),s=Object(c.a)(r,2),m=s[0],u=s[1],[m,function(e){u(e),a&&a(e)}]),N=Object(c.a)(k,2),z=N[0],C=N[1];function M(){g&&g(),C(!1)}Object(o.useEffect)((function(){return function(){w&&w(!1)}}),[]);var T={isOpen:z,onToggle:function(){C(!z)},onClose:M};return Object(o.createElement)("div",{className:i()("components-dropdown",h),ref:E},p(T),z&&Object(o.createElement)(l.a,Object(n.a)({position:b,onClose:M,onFocusOutside:function(){E.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||M()},expandOnMobile:O,headerTitle:j,focusOnMount:y},_,{anchorRef:E.current,className:i()("components-dropdown__content",_?_.className:void 0,v)}),d(T)))}},718:function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return m}));var n=a(0),c=a(49),o=a(188),r=a.n(o),i=a(33),l=r()(i.b),s=function(e){var t=l.getCurrencyConfig(),a=Object(c.applyFilters)("woocommerce_admin_report_currency",t,e);return r()(a)},m=Object(n.createContext)(l)},726:function(e,t,a){"use strict";var n=a(736),c=["a","b","em","i","strong","p","br"],o=["target","href","rel","name","download"];t.a=function(e){return{__html:Object(n.sanitize)(e,{ALLOWED_TAGS:c,ALLOWED_ATTR:o})}}},727:function(e,t,a){"use strict";var n=a(14),c=a.n(n),o=a(13),r=a.n(o),i=a(16),l=a.n(i),s=a(17),m=a.n(s),u=a(6),d=a.n(u),p=a(0),f=a(4),b=a.n(f),h=a(1),v=a.n(h),O=a(701),j=a(68);a(729);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,n=d()(e);if(t){var c=d()(this).constructor;a=Reflect.construct(n,arguments,c)}else a=n.apply(this,arguments);return m()(this,a)}}var _=function(e){l()(a,e);var t=y(a);function a(){return c()(this,a),t.apply(this,arguments)}return r()(a,[{key:"render",value:function(){var e=this.props,t=e.className,a=e.menu,n=e.subtitle,c=e.title,o=e.unreadMessages,r=b()({"woocommerce-layout__inbox-panel-header":n,"woocommerce-layout__activity-panel-header":!n},t),i=o||0;return Object(p.createElement)("div",{className:r},Object(p.createElement)("div",{className:"woocommerce-layout__inbox-title"},Object(p.createElement)(O.a,{variant:"title.small"},c),Object(p.createElement)(O.a,{variant:"button"},i>0&&Object(p.createElement)("span",{className:"woocommerce-layout__inbox-badge"},o))),Object(p.createElement)("div",{className:"woocommerce-layout__inbox-subtitle"},n&&Object(p.createElement)(O.a,{variant:"body.small"},n)),a&&Object(p.createElement)("div",{className:"woocommerce-layout__activity-panel-header-menu"},a))}}]),a}(p.Component);_.propTypes={className:v.a.string,unreadMessages:v.a.number,title:v.a.string.isRequired,subtitle:v.a.string,menu:v.a.shape({type:v.a.oneOf([j.EllipsisMenu])})},t.a=_},729:function(e,t,a){},730:function(e,t,a){"use strict";a.d(t,"a",(function(){return C})),a.d(t,"b",(function(){return N}));var n=a(14),c=a.n(n),o=a(13),r=a.n(o),i=a(16),l=a.n(i),s=a(17),m=a.n(s),u=a(6),d=a.n(u),p=a(0),f=a(4),b=a.n(f),h=a(90),v=a.n(h),O=a(15),j=a.n(O),y=a(1),_=a.n(y),g=a(68),w=(a(731),a(2));function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,n=d()(e);if(t){var c=d()(this).constructor;a=Reflect.construct(n,arguments,c)}else a=n.apply(this,arguments);return m()(this,a)}}var k=function(e){l()(a,e);var t=E(a);function a(){return c()(this,a),t.apply(this,arguments)}return r()(a,[{key:"render",value:function(){var e=this.props,t=e.className,a=e.hasAction,n=e.hasDate,c=e.hasSubtitle,o=e.lines,r=b()("woocommerce-activity-card is-loading",t);return Object(p.createElement)("div",{className:r,"aria-hidden":!0},Object(p.createElement)("span",{className:"woocommerce-activity-card__icon"},Object(p.createElement)("span",{className:"is-placeholder"})),Object(p.createElement)("div",{className:"woocommerce-activity-card__header"},Object(p.createElement)("div",{className:"woocommerce-activity-card__title is-placeholder"}),c&&Object(p.createElement)("div",{className:"woocommerce-activity-card__subtitle is-placeholder"}),n&&Object(p.createElement)("div",{className:"woocommerce-activity-card__date"},Object(p.createElement)("span",{className:"is-placeholder"}))),Object(p.createElement)("div",{className:"woocommerce-activity-card__body"},Object(w.range)(o).map((function(e){return Object(p.createElement)("span",{className:"is-placeholder",key:e})}))),a&&Object(p.createElement)("div",{className:"woocommerce-activity-card__actions"},Object(p.createElement)("span",{className:"is-placeholder"})))}}]),a}(p.Component);k.propTypes={className:_.a.string,hasAction:_.a.bool,hasDate:_.a.bool,hasSubtitle:_.a.bool,lines:_.a.number},k.defaultProps={hasAction:!1,hasDate:!1,hasSubtitle:!1,lines:1};var N=k;function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,n=d()(e);if(t){var c=d()(this).constructor;a=Reflect.construct(n,arguments,c)}else a=n.apply(this,arguments);return m()(this,a)}}var C=function(e){l()(a,e);var t=z(a);function a(){return c()(this,a),t.apply(this,arguments)}return r()(a,[{key:"render",value:function(){var e=this.props,t=e.actions,a=e.className,n=e.children,c=e.date,o=e.icon,r=e.subtitle,i=e.title,l=e.unread,s=b()("woocommerce-activity-card",a),m=Array.isArray(t)?t:[t];return Object(p.createElement)("section",{className:s},l&&Object(p.createElement)("span",{className:"woocommerce-activity-card__unread"}),o&&Object(p.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},o),Object(p.createElement)("header",{className:"woocommerce-activity-card__header"},Object(p.createElement)(g.H,{className:"woocommerce-activity-card__title"},i),r&&Object(p.createElement)("div",{className:"woocommerce-activity-card__subtitle"},r),c&&Object(p.createElement)("span",{className:"woocommerce-activity-card__date"},j.a.utc(c).fromNow())),Object(p.createElement)(g.Section,{className:"woocommerce-activity-card__body"},n),t&&Object(p.createElement)("footer",{className:"woocommerce-activity-card__actions"},m.map((function(e,t){return Object(p.cloneElement)(e,{key:t})}))))}}]),a}(p.Component);C.propTypes={actions:_.a.oneOfType([_.a.arrayOf(_.a.element),_.a.element]),className:_.a.string,children:_.a.node.isRequired,date:_.a.string,icon:_.a.node,subtitle:_.a.node,title:_.a.oneOfType([_.a.string,_.a.node]).isRequired,unread:_.a.bool},C.defaultProps={icon:Object(p.createElement)(v.a,{icon:"notice-outline",size:48}),unread:!1}},731:function(e,t,a){},737:function(e,t,a){},741:function(e,t,a){"use strict";a.d(t,"b",(function(){return b})),a.d(t,"a",(function(){return h}));var n=a(5),c=a.n(n),o=a(15),r=a.n(o),i=a(2),l=a(35),s=a(41),m=a(32),u=a(274),d=a(33);function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function f(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){c()(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}var b=function(e){var t=e.indicator,a=e.primaryData,n=e.secondaryData,c=e.currency,o=e.formatAmount,r=e.persistedQuery,l=Object(i.find)(a.data,(function(e){return e.stat===t.stat})),s=Object(i.find)(n.data,(function(e){return e.stat===t.stat}));if(!l||!s)return{};var p=l._links&&l._links.report[0]&&l._links.report[0].href||"",f=function(e,t,a){return e?"/jetpack"===e?Object(d.f)("admin.php?page=jetpack#/dashboard"):Object(m.getNewPath)(t,e,{chart:a.chart}):""}(p,r,l),b="/jetpack"===p?"wp-admin":"wc-admin",h="currency"===l.format,v=Object(u.calculateDelta)(l.value,s.value);return{primaryValue:h?o(l.value):Object(u.formatValue)(c,l.format,l.value),secondaryValue:h?o(s.value):Object(u.formatValue)(c,s.format,s.value),delta:v,reportUrl:f,reportUrlType:b}},h=function(e,t,a,n){var c=e(s.REPORTS_STORE_NAME),o=c.getReportItems,i=c.getReportItemsError,m=c.isResolving,u=e(s.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,d=Object(l.getCurrentDates)(a,u),p=d.primary.before,b=d.secondary.before,h=t.map((function(e){return e.stat})).join(","),v=Object(s.getFilterQuery)({filters:n,query:a}),O=f(f({},v),{},{after:Object(l.appendTimestamp)(d.primary.after,"start"),before:Object(l.appendTimestamp)(p,p.isSame(r()(),"day")?"now":"end"),stats:h}),j=f(f({},v),{},{after:Object(l.appendTimestamp)(d.secondary.after,"start"),before:Object(l.appendTimestamp)(b,b.isSame(r()(),"day")?"now":"end"),stats:h});return{primaryData:o("performance-indicators",O),primaryError:i("performance-indicators",O)||null,primaryRequesting:m("getReportItems",["performance-indicators",O]),secondaryData:o("performance-indicators",j),secondaryError:i("performance-indicators",j)||null,secondaryRequesting:m("getReportItems",["performance-indicators",j]),defaultDateRange:u}}},742:function(e,t,a){var n;n=function(e,t){return function(e){var t={};function a(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,a),c.l=!0,c.exports}return a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)a.d(n,c,function(t){return e[t]}.bind(null,c));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=4)}([function(e,t,a){e.exports=a(5)()},function(t,a){t.exports=e},function(e,a){e.exports=t},function(e,t){e.exports=function(e,t,a){var n=e.direction,c=e.value;switch(n){case"top":return a.top+c<t.top&&a.bottom>t.bottom&&a.left<t.left&&a.right>t.right;case"left":return a.left+c<t.left&&a.bottom>t.bottom&&a.top<t.top&&a.right>t.right;case"bottom":return a.bottom-c>t.bottom&&a.left<t.left&&a.right>t.right&&a.top<t.top;case"right":return a.right-c>t.right&&a.left<t.left&&a.top<t.top&&a.bottom>t.bottom}}},function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return v}));var n=a(1),c=a.n(n),o=a(2),r=a.n(o),i=a(0),l=a.n(i),s=a(3),m=a.n(s);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var v=function(e){function t(e){var a,n,c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,c=p(t).call(this,e),a=!c||"object"!==u(c)&&"function"!=typeof c?f(n):c,h(f(a),"getContainer",(function(){return a.props.containment||window})),h(f(a),"addEventListener",(function(e,t,n,c){var o;a.debounceCheck||(a.debounceCheck={});var r=function(){o=null,a.check()},i={target:e,fn:c>-1?function(){o||(o=setTimeout(r,c||0))}:function(){clearTimeout(o),o=setTimeout(r,n||0)},getLastTimeout:function(){return o}};e.addEventListener(t,i.fn),a.debounceCheck[t]=i})),h(f(a),"startWatching",(function(){a.debounceCheck||a.interval||(a.props.intervalCheck&&(a.interval=setInterval(a.check,a.props.intervalDelay)),a.props.scrollCheck&&a.addEventListener(a.getContainer(),"scroll",a.props.scrollDelay,a.props.scrollThrottle),a.props.resizeCheck&&a.addEventListener(window,"resize",a.props.resizeDelay,a.props.resizeThrottle),!a.props.delayedCall&&a.check())})),h(f(a),"stopWatching",(function(){if(a.debounceCheck)for(var e in a.debounceCheck)if(a.debounceCheck.hasOwnProperty(e)){var t=a.debounceCheck[e];clearTimeout(t.getLastTimeout()),t.target.removeEventListener(e,t.fn),a.debounceCheck[e]=null}a.debounceCheck=null,a.interval&&(a.interval=clearInterval(a.interval))})),h(f(a),"check",(function(){var e,t,n=a.node;if(!n)return a.state;if(e=function(e){return void 0===e.width&&(e.width=e.right-e.left),void 0===e.height&&(e.height=e.bottom-e.top),e}(a.roundRectDown(n.getBoundingClientRect())),a.props.containment){var c=a.props.containment.getBoundingClientRect();t={top:c.top,left:c.left,bottom:c.bottom,right:c.right}}else t={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var o=a.props.offset||{};"object"===u(o)&&(t.top+=o.top||0,t.left+=o.left||0,t.bottom-=o.bottom||0,t.right-=o.right||0);var r={top:e.top>=t.top,left:e.left>=t.left,bottom:e.bottom<=t.bottom,right:e.right<=t.right},i=e.height>0&&e.width>0,l=i&&r.top&&r.left&&r.bottom&&r.right;if(i&&a.props.partialVisibility){var s=e.top<=t.bottom&&e.bottom>=t.top&&e.left<=t.right&&e.right>=t.left;"string"==typeof a.props.partialVisibility&&(s=r[a.props.partialVisibility]),l=a.props.minTopValue?s&&e.top<=t.bottom-a.props.minTopValue:s}"string"==typeof o.direction&&"number"==typeof o.value&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",o.direction,o.value),l=m()(o,e,t));var d=a.state;return a.state.isVisible!==l&&(d={isVisible:l,visibilityRect:r},a.setState(d),a.props.onChange&&a.props.onChange(l)),d})),a.state={isVisible:null,visibilityRect:{}},a}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(t,e),a=t,(n=[{key:"componentDidMount",value:function(){this.node=r.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(e){this.node=r.a.findDOMNode(this),this.props.active&&!e.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(e){return{top:Math.floor(e.top),left:Math.floor(e.left),bottom:Math.floor(e.bottom),right:Math.floor(e.right)}}},{key:"render",value:function(){return this.props.children instanceof Function?this.props.children({isVisible:this.state.isVisible,visibilityRect:this.state.visibilityRect}):c.a.Children.only(this.props.children)}}])&&d(a.prototype,n),o&&d(a,o),t}(c.a.Component);h(v,"defaultProps",{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:c.a.createElement("span",null)}),h(v,"propTypes",{onChange:l.a.func,active:l.a.bool,partialVisibility:l.a.oneOfType([l.a.bool,l.a.oneOf(["top","right","bottom","left"])]),delayedCall:l.a.bool,offset:l.a.oneOfType([l.a.shape({top:l.a.number,left:l.a.number,bottom:l.a.number,right:l.a.number}),l.a.shape({direction:l.a.oneOf(["top","right","bottom","left"]),value:l.a.number})]),scrollCheck:l.a.bool,scrollDelay:l.a.number,scrollThrottle:l.a.number,resizeCheck:l.a.bool,resizeDelay:l.a.number,resizeThrottle:l.a.number,intervalCheck:l.a.bool,intervalDelay:l.a.number,containment:"undefined"!=typeof window?l.a.instanceOf(window.Element):l.a.any,children:l.a.oneOfType([l.a.element,l.a.func]),minTopValue:l.a.number})},function(e,t,a){"use strict";var n=a(6);function c(){}function o(){}o.resetWarningCache=c,e.exports=function(){function e(e,t,a,c,o,r){if(r!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var a={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:c};return a.PropTypes=a,a}},function(e,t,a){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}])},e.exports=n(a(11),a(88))},743:function(e,t,a){},757:function(e,t,a){},762:function(e,t,a){"use strict";a.r(t);var n=a(60),c=a.n(n),o=a(0),r=a(3),i=a(270),l=a(68),s=a(41),m=a(24),u=a(730),d=a(14),p=a.n(d),f=a(13),b=a.n(f),h=a(16),v=a.n(h),O=a(17),j=a.n(O),y=a(6),_=a.n(y),g=a(1),w=a.n(g);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,n=_()(e);if(t){var c=_()(this).constructor;a=Reflect.construct(n,arguments,c)}else a=n.apply(this,arguments);return j()(this,a)}}var k=function(e){v()(a,e);var t=E(a);function a(){return p()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props.className;return Object(o.createElement)("div",{className:"woocommerce-inbox-message is-placeholder ".concat(e),"aria-hidden":!0},Object(o.createElement)("div",{className:"woocommerce-inbox-message__image"},Object(o.createElement)("div",{className:"banner-block"})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(o.createElement)("div",{className:"woocommerce-inbox-message__content"},Object(o.createElement)("div",{className:"woocommerce-inbox-message__date"},Object(o.createElement)("div",{className:"sixth-line"})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__title"},Object(o.createElement)("div",{className:"line"}),Object(o.createElement)("div",{className:"line"})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__text"},Object(o.createElement)("div",{className:"line"}),Object(o.createElement)("div",{className:"third-line"}))),Object(o.createElement)("div",{className:"woocommerce-inbox-message__actions"},Object(o.createElement)("div",{className:"fifth-line"}),Object(o.createElement)("div",{className:"fifth-line"}))))}}]),a}(o.Component);k.propTypes={className:w.a.string};var N=k,z=a(727),C=a(10),M=a.n(C),T=a(5),S=a.n(T),R=a(690),P=a(72),x=a(691),D=a(742),A=a.n(D),V=a(15),L=a.n(V),I=a(4),H=a.n(I),q=a(61),B=a(33);function U(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,n=_()(e);if(t){var c=_()(this).constructor;a=Reflect.construct(n,arguments,c)}else a=n.apply(this,arguments);return j()(this,a)}}var F=function(e){v()(a,e);var t=U(a);function a(e){var n;return p()(this,a),(n=t.call(this,e)).state={inAction:!1},n.handleActionClick=n.handleActionClick.bind(M()(n)),n}return b()(a,[{key:"handleActionClick",value:function(e){var t=this.props,a=t.action,n=t.actionCallback,c=t.batchUpdateNotes,o=t.createNotice,i=t.noteId,l=t.triggerNoteAction,s=t.removeAllNotes,m=t.removeNote,u=t.onClick,d=t.updateNote,p=e.target.href||"",f=!0;p.length&&!p.startsWith(B.a)&&(e.preventDefault(),f=!1,window.open(p,"_blank")),a?this.setState({inAction:f},(function(){l(i,a.id),u&&u()})):(i?m(i).then((function(){o("success",Object(r.__)("Message dismissed.","woocommerce-admin"),{actions:[{label:Object(r.__)("Undo","woocommerce-admin"),onClick:function(){d(i,{is_deleted:0})}}]})})).catch((function(){o("error",Object(r.__)("Message could not be dismissed.","woocommerce-admin"))})):s().then((function(e){o("success",Object(r.__)("All messages dismissed.","woocommerce-admin"),{actions:[{label:Object(r.__)("Undo","woocommerce-admin"),onClick:function(){c(e.map((function(e){return e.id})),{is_deleted:0})}}]})})).catch((function(){o("error",Object(r.__)("Message could not be dismissed.","woocommerce-admin"))})),n(!0))}},{key:"render",value:function(){var e=this.props,t=e.action,a=e.dismiss,n=e.label;return Object(o.createElement)(P.a,{isSecondary:!0,isBusy:this.state.inAction,disabled:this.state.inAction,href:t&&t.url&&t.url.length?t.url:void 0,onClick:this.handleActionClick},a?n:t.label)}}]),a}(o.Component);F.propTypes={noteId:w.a.number,label:w.a.string,dismiss:w.a.bool,actionCallback:w.a.func,action:w.a.shape({id:w.a.number.isRequired,url:w.a.string,label:w.a.string.isRequired,primary:w.a.bool.isRequired}),onClick:w.a.func};var W=Object(i.a)(Object(m.withDispatch)((function(e){var t=e("core/notices").createNotice,a=e(s.NOTES_STORE_NAME),n=a.batchUpdateNotes,c=a.removeAllNotes,o=a.removeNote,r=a.updateNote;return{batchUpdateNotes:n,createNotice:t,removeAllNotes:c,removeNote:o,triggerNoteAction:a.triggerNoteAction,updateNote:r}})))(F),G=a(726),K=(a(743),a(410));function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,n=_()(e);if(t){var c=_()(this).constructor;a=Reflect.construct(n,arguments,c)}else a=n.apply(this,arguments);return j()(this,a)}}var Q=function(e){v()(a,e);var t=J(a);function a(e){var n;return p()(this,a),n=t.call(this,e),S()(M()(n),"onActionClicked",(function(e){e.actioned_text&&n.setState({clickedActionText:e.actioned_text})})),n.onVisible=n.onVisible.bind(M()(n)),n.hasBeenSeen=!1,n.state={isDismissModalOpen:!1,dismissType:null,clickedActionText:null},n.openDismissModal=n.openDismissModal.bind(M()(n)),n.closeDismissModal=n.closeDismissModal.bind(M()(n)),n.bodyNotificationRef=Object(o.createRef)(),n.screen=Object(K.a)(),n}return b()(a,[{key:"componentDidMount",value:function(){var e=this;this.bodyNotificationRef.current&&this.bodyNotificationRef.current.addEventListener("click",(function(t){return e.handleBodyClick(t,e.props)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.bodyNotificationRef.current&&this.bodyNotificationRef.current.removeEventListener("click",(function(t){return e.handleBodyClick(t,e.props)}))}},{key:"handleBodyClick",value:function(e,t){var a=e.target.href;if(a){var n=t.note;Object(q.recordEvent)("wcadmin_inbox_action_click",{note_name:n.name,note_title:n.title,note_content_inner_link:a})}}},{key:"onVisible",value:function(e){if(e&&!this.hasBeenSeen){var t=this.props.note;Object(q.recordEvent)("inbox_note_view",{note_content:t.content,note_name:t.name,note_title:t.title,note_type:t.type,screen:this.screen}),this.hasBeenSeen=!0}}},{key:"openDismissModal",value:function(e,t){this.setState({isDismissModalOpen:!0,dismissType:e}),t()}},{key:"closeDismissModal",value:function(e){var t=this.state.dismissType,a=this.props.note,n="all"===t;Object(q.recordEvent)("inbox_action_dismiss",{note_name:a.name,note_title:a.title,note_name_dismiss_all:n,note_name_dismiss_confirmation:e||!1,screen:this.screen}),this.setState({isDismissModalOpen:!1})}},{key:"handleBlur",value:function(e,t){var a=e.relatedTarget?e.relatedTarget:document.activeElement;!!a&&["woocommerce-admin-dismiss-notification","components-popover__content"].some((function(e){return a.className.includes(e)}))?e.preventDefault():t()}},{key:"renderDismissButton",value:function(){var e=this;return this.state.clickedActionText?null:Object(o.createElement)(R.a,{contentClassName:"woocommerce-admin-dismiss-dropdown",position:"bottom right",renderToggle:function(t){var a=t.onClose,n=t.onToggle;return Object(o.createElement)(P.a,{isTertiary:!0,onClick:n,onBlur:function(t){return e.handleBlur(t,a)}},Object(r.__)("Dismiss","woocommerce-admin"))},focusOnMount:!1,popoverProps:{noArrow:!0},renderContent:function(t){var a=t.onToggle;return Object(o.createElement)("ul",null,Object(o.createElement)("li",null,Object(o.createElement)(P.a,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("this",a)}},Object(r.__)("Dismiss this message","woocommerce-admin"))),Object(o.createElement)("li",null,Object(o.createElement)(P.a,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("all",a)}},Object(r.__)("Dismiss all messages","woocommerce-admin"))))}})}},{key:"getDismissConfirmationButton",value:function(){var e=this.props.note,t=this.state.dismissType;return Object(o.createElement)(W,{key:e.id,noteId:"all"===t?null:e.id,label:Object(r.__)("Yes, I'm sure","woocommerce-admin"),actionCallback:this.closeDismissModal,dismiss:!0,screen:this.screen})}},{key:"renderDismissConfirmationModal",value:function(){var e=this;return Object(o.createElement)(x.a,{title:Object(o.createElement)(o.Fragment,null,Object(r.__)("Are you sure?","woocommerce-admin")),onRequestClose:function(){return e.closeDismissModal()},className:"woocommerce-inbox-dismiss-confirmation_modal"},Object(o.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_wrapper"},Object(o.createElement)("p",null,Object(r.__)("Dismissed messages cannot be viewed again","woocommerce-admin")),Object(o.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_buttons"},Object(o.createElement)(P.a,{isSecondary:!0,onClick:function(){return e.closeDismissModal()}},Object(r.__)("Cancel","woocommerce-admin")),this.getDismissConfirmationButton())))}},{key:"renderActions",value:function(e){var t=this,a=e.actions,n=e.id,c=this.state.clickedActionText;return c||(a?Object(o.createElement)(o.Fragment,null,a.map((function(e,a){return Object(o.createElement)(W,{key:a,noteId:n,action:e,onClick:function(){return t.onActionClicked(e)}})}))):void 0)}},{key:"render",value:function(){var e=this.props,t=e.lastRead,a=e.note,n=this.state.isDismissModalOpen,c=a.content,r=a.date_created,i=a.date_created_gmt,s=a.image,m=a.is_deleted,u=a.layout,d=a.status,p=a.title;if(m)return null;var f=!t||!i||new Date(i+"Z").getTime()>t,b=r,h="plain"!==u&&""!==u,v=H()("woocommerce-inbox-message",u,{"message-is-unread":f&&"unactioned"===d});return Object(o.createElement)(A.a,{onChange:this.onVisible},Object(o.createElement)("section",{className:v},h&&Object(o.createElement)("div",{className:"woocommerce-inbox-message__image"},Object(o.createElement)("img",{src:s,alt:""})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(o.createElement)("div",{className:"woocommerce-inbox-message__content"},b&&Object(o.createElement)("span",{className:"woocommerce-inbox-message__date"},L.a.utc(b).fromNow()),Object(o.createElement)(l.H,{className:"woocommerce-inbox-message__title"},p),Object(o.createElement)(l.Section,{className:"woocommerce-inbox-message__text"},Object(o.createElement)("span",{dangerouslySetInnerHTML:Object(G.a)(c),ref:this.bodyNotificationRef}))),Object(o.createElement)("div",{className:"woocommerce-inbox-message__actions"},this.renderActions(a),this.renderDismissButton())),n&&this.renderDismissConfirmationModal()))}}]),a}(o.Component);Q.propTypes={note:w.a.shape({id:w.a.number,status:w.a.string,title:w.a.string,content:w.a.string,date_created:w.a.string,date_created_gmt:w.a.string,actions:w.a.arrayOf(w.a.shape({id:w.a.number.isRequired,url:w.a.string,label:w.a.string.isRequired,primary:w.a.bool.isRequired})),layout:w.a.string,image:w.a.string,is_deleted:w.a.bool}),lastRead:w.a.number};var Y=Q,$=a(411),X=function(e){var t=e.hasNotes,a=e.isBatchUpdating,n=e.lastRead,c=e.notes;if(!a)return t?Object.keys(c).map((function(e){return c[e]})).map((function(e){return e.isUpdating?Object(o.createElement)(N,{className:"banner message-is-unread",key:e.id}):Object(o.createElement)(Y,{key:e.id,note:e,lastRead:n})})):Object(o.createElement)(u.a,{className:"woocommerce-empty-activity-card",title:Object(r.__)("Your inbox is empty","woocommerce-admin"),icon:!1},Object(r.__)("As things begin to happen in your store your inbox will start to fill up. You'll see things like achievements, new feature announcements, extension recommendations and more!","woocommerce-admin"))};t.default=Object(i.a)(Object(m.withSelect)((function(e){var t=e(s.NOTES_STORE_NAME),a=t.getNotes,n=t.getNotesError,c=t.isResolving,o=t.isNotesRequesting,r={page:1,per_page:s.QUERY_DEFAULTS.pageSize,status:"unactioned",type:s.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc",_fields:["id","name","title","content","type","status","actions","date_created","date_created_gmt","layout","image","is_deleted"]};return{notes:a(r),isError:Boolean(n("getNotes",[r])),isResolving:c("getNotes",[r]),isUpdatingNote:o("updateNote"),isBatchUpdating:o("batchUpdateNotes")}})))((function(e){var t=e.isError,a=e.isPanelEmpty,n=e.isResolving,i=e.isBatchUpdating,m=e.notes,u=e.isUpdatingNote,d=Object(s.useUserPreferences)(),p=d.updateUserPreferences,f=c()(d,["updateUserPreferences"]).activity_panel_inbox_last_read;if(Object(o.useEffect)((function(){var e=Date.now();return function(){p({activity_panel_inbox_last_read:e})}}),[]),t){var b=Object(r.__)("There was an error getting your inbox. Please try again.","woocommerce-admin"),h=Object(r.__)("Reload","woocommerce-admin");return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.EmptyContent,{title:b,actionLabel:h,actionURL:null,actionCallback:function(){window.location.reload()}}))}var v=Object($.b)(m),O=v||n||u;return a&&a(!v&&!O),Object(o.createElement)(o.Fragment,null,O&&Object(o.createElement)(z.a,{title:Object(r.__)("Inbox","woocommerce-admin"),subtitle:Object(r.__)("Insights and growth tips for your business","woocommerce-admin"),unreadMessages:Object($.a)(m,f)}),Object(o.createElement)("div",{className:"woocommerce-homepage-notes-wrapper"},(n||i)&&Object(o.createElement)(l.Section,null,Object(o.createElement)(N,{className:"banner message-is-unread"})),Object(o.createElement)(l.Section,null,!n&&!i&&X({hasNotes:v,isBatchUpdating:i,lastRead:f,notes:m}))))}))},864:function(e,t,a){},866:function(e,t,a){},867:function(e,t,a){},868:function(e,t,a){},869:function(e,t,a){!function(t,a,n){if(t){for(var c,o={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},r={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},i={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},l={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},s=1;s<20;++s)o[111+s]="f"+s;for(s=0;s<=9;++s)o[s+96]=s.toString();b.prototype.bind=function(e,t,a){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,a),this},b.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},b.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},b.prototype.reset=function(){return this._callbacks={},this._directMap={},this},b.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==a&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},b.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},b.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(o[t]=e[t]);c=null},b.init=function(){var e=b(a);for(var t in e)"_"!==t.charAt(0)&&(b[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},b.init(),t.Mousetrap=b,e.exports&&(e.exports=b),"function"==typeof define&&define.amd&&define((function(){return b}))}function m(e,t,a){e.addEventListener?e.addEventListener(t,a,!1):e.attachEvent("on"+t,a)}function u(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return o[e.which]?o[e.which]:r[e.which]?r[e.which]:String.fromCharCode(e.which).toLowerCase()}function d(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function p(e,t,a){return a||(a=function(){if(!c)for(var e in c={},o)e>95&&e<112||o.hasOwnProperty(e)&&(c[o[e]]=e);return c}()[e]?"keydown":"keypress"),"keypress"==a&&t.length&&(a="keydown"),a}function f(e,t){var a,n,c,o=[];for(a=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),c=0;c<a.length;++c)n=a[c],l[n]&&(n=l[n]),t&&"keypress"!=t&&i[n]&&(n=i[n],o.push("shift")),d(n)&&o.push(n);return{key:n,modifiers:o,action:t=p(n,o,t)}}function b(e){var t=this;if(e=e||a,!(t instanceof b))return new b(e);t.target=e,t._callbacks={},t._directMap={};var n,c={},o=!1,r=!1,i=!1;function l(e){e=e||{};var t,a=!1;for(t in c)e[t]?a=!0:c[t]=0;a||(i=!1)}function s(e,a,n,o,r,i){var l,s,m,u,p=[],f=n.type;if(!t._callbacks[e])return[];for("keyup"==f&&d(e)&&(a=[e]),l=0;l<t._callbacks[e].length;++l)if(s=t._callbacks[e][l],(o||!s.seq||c[s.seq]==s.level)&&f==s.action&&("keypress"==f&&!n.metaKey&&!n.ctrlKey||(m=a,u=s.modifiers,m.sort().join(",")===u.sort().join(",")))){var b=!o&&s.combo==r,h=o&&s.seq==o&&s.level==i;(b||h)&&t._callbacks[e].splice(l,1),p.push(s)}return p}function p(e,a,n,c){t.stopCallback(a,a.target||a.srcElement,n,c)||!1===e(a,n)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(a),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(a))}function h(e){"number"!=typeof e.which&&(e.which=e.keyCode);var a=u(e);a&&("keyup"!=e.type||o!==a?t.handleKey(a,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):o=!1)}function v(e,t,a,r){function s(t){return function(){i=t,++c[e],clearTimeout(n),n=setTimeout(l,1e3)}}function m(t){p(a,t,e),"keyup"!==r&&(o=u(t)),setTimeout(l,10)}c[e]=0;for(var d=0;d<t.length;++d){var b=d+1===t.length?m:s(r||f(t[d+1]).action);O(t[d],b,r,e,d)}}function O(e,a,n,c,o){t._directMap[e+":"+n]=a;var r,i=(e=e.replace(/\s+/g," ")).split(" ");i.length>1?v(e,i,a,n):(r=f(e,n),t._callbacks[r.key]=t._callbacks[r.key]||[],s(r.key,r.modifiers,{type:r.action},c,e,o),t._callbacks[r.key][c?"unshift":"push"]({callback:a,modifiers:r.modifiers,action:r.action,seq:c,level:o,combo:e}))}t._handleKey=function(e,t,a){var n,c=s(e,t,a),o={},m=0,u=!1;for(n=0;n<c.length;++n)c[n].seq&&(m=Math.max(m,c[n].level));for(n=0;n<c.length;++n)if(c[n].seq){if(c[n].level!=m)continue;u=!0,o[c[n].seq]=1,p(c[n].callback,a,c[n].combo,c[n].seq)}else u||p(c[n].callback,a,c[n].combo);var f="keypress"==a.type&&r;a.type!=i||d(e)||f||l(o),r=u&&"keydown"==a.type},t._bindMultiple=function(e,t,a){for(var n=0;n<e.length;++n)O(e[n],t,a)},m(e,"keypress",h),m(e,"keydown",h),m(e,"keyup",h)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},870:function(e,t){!function(e){if(e){var t={},a=e.prototype.stopCallback;e.prototype.stopCallback=function(e,n,c,o){return!!this.paused||!t[c]&&!t[o]&&a.call(this,e,n,c)},e.prototype.bindGlobal=function(e,a,n){if(this.bind(e,a,n),e instanceof Array)for(var c=0;c<e.length;c++)t[e[c]]=!0;else t[e]=!0},e.init()}}("undefined"!=typeof Mousetrap?Mousetrap:void 0)},898:function(e,t,a){"use strict";var n=a(8),c=a(9),o=a(19),r=a(0),i=a(4),l=a.n(i),s=a(739),m=a(738);function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}var d={isBorderless:!1,isShady:!1,size:"medium"};t.a=function(e){var t=e.className,a=e.isShady,i=Object(o.a)(e,["className","isShady"]),p=function(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){Object(c.a)(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}({},d,{},Object(m.b)(),{},e),f=p.isBorderless,b=p.size,h=l()("components-card__header",f&&"is-borderless",a&&"is-shady",b&&"is-size-".concat(b),t);return Object(r.createElement)(s.d,Object(n.a)({},i,{className:h}))}},905:function(e,t,a){"use strict";a.r(t);var n=a(0),c=a(270),o=a(24),r=a(2),i=a(33),l=a(41),s=a(32),m=a(38),u=a.n(m),d=a(4),p=a.n(d),f=a(1),b=a.n(f),h=a(5),v=a.n(h),O=a(3),j=a(701),y=a(897),_=a(898),g=a(899),w=a(44),E=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.b,{fillRule:"evenodd",d:"M6.863 13.644L5 13.25h-.5a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5H5L18 6.5h2V16h-2l-3.854-.815.026.008a3.75 3.75 0 01-7.31-1.549zm1.477.313a2.251 2.251 0 004.356.921l-4.356-.921zm-2.84-3.28L18.157 8h.343v6.5h-.343L5.5 11.823v-1.146z",clipRule:"evenodd"})),k=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.b,{fillRule:"evenodd",d:"M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z",clipRule:"evenodd"})),N=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(w.b,{d:"M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z"})),z=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.b,{d:"M3 6.75C3 5.784 3.784 5 4.75 5H15V7.313l.05.027 5.056 2.73.394.212v3.468a1.75 1.75 0 01-1.75 1.75h-.012a2.5 2.5 0 11-4.975 0H9.737a2.5 2.5 0 11-4.975 0H3V6.75zM13.5 14V6.5H4.75a.25.25 0 00-.25.25V14h.965a2.493 2.493 0 011.785-.75c.7 0 1.332.287 1.785.75H13.5zm4.535 0h.715a.25.25 0 00.25-.25v-2.573l-4-2.16v4.568a2.487 2.487 0 011.25-.335c.7 0 1.332.287 1.785.75zM6.282 15.5a1.002 1.002 0 00.968 1.25 1 1 0 10-.968-1.25zm9 0a1 1 0 101.937.498 1 1 0 00-1.938-.498z"})),C=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.b,{fillRule:"evenodd",d:"M6.5 8a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zM8 5a3 3 0 100 6 3 3 0 000-6zm6.5 11a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zm1.5-3a3 3 0 100 6 3 3 0 000-6zM5.47 17.41a.75.75 0 001.06 1.06L18.47 6.53a.75.75 0 10-1.06-1.06L5.47 17.41z",clipRule:"evenodd"})),M=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.b,{fillRule:"evenodd",d:"M5.5 9.5v-2h13v2h-13zm0 3v4h13v-4h-13zM4 7a1 1 0 011-1h14a1 1 0 011 1v10a1 1 0 01-1 1H5a1 1 0 01-1-1V7z",clipRule:"evenodd"})),T=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(w.b,{d:"M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6zM13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z"})),S=a(716),R=a(418),P=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.b,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"})),x=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.b,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})),D=a(68),A=a(61);a(864);function V(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function L(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?V(Object(a),!0).forEach((function(t){v()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):V(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function I(e,t){var a=t.currentTarget.dataset.listItemTag;if(a&&(e.recordEvent("home_quick_links_click",{task_name:a}),"function"==typeof e.onItemClick))return e.onItemClick(a)?void 0:(t.preventDefault(),!1)}function H(e){return function(e){return[{title:Object(O.__)("Market my store","woocommerce-admin"),type:"wc-admin",path:"marketing",icon:E,listItemTag:"marketing"},{title:Object(O.__)("Add products","woocommerce-admin"),type:"wp-admin",path:"post-new.php?post_type=product",icon:k,listItemTag:"add-products"},{title:Object(O.__)("Personalize my store","woocommerce-admin"),type:"wp-admin",path:"customize.php",icon:N,listItemTag:"personalize-store"},{title:Object(O.__)("Shipping settings","woocommerce-admin"),type:"wc-settings",tab:"shipping",icon:z,listItemTag:"shipping-settings"},{title:Object(O.__)("Tax settings","woocommerce-admin"),type:"wc-settings",tab:"tax",icon:C,listItemTag:"tax-settings"},{title:Object(O.__)("Payment settings","woocommerce-admin"),type:"wc-settings",tab:"checkout",icon:M,listItemTag:"payment-settings"},{title:Object(O.__)("Edit store details","woocommerce-admin"),type:"wc-settings",tab:"general",icon:T,listItemTag:"edit-store-details"},{title:Object(O.__)("Get support","woocommerce-admin"),type:"external",href:"https://woocommerce.com/my-account/create-a-ticket/",icon:S.a,after:Object(n.createElement)(R.a,{icon:P}),listItemTag:"support"},{title:Object(O.__)("View my store","woocommerce-admin"),type:"external",href:e.getSetting("siteUrl"),icon:x,after:Object(n.createElement)(R.a,{icon:P}),listItemTag:"view-store"}]}(e).map((function(t){return L(L({title:Object(n.createElement)(j.a,{as:"div",variant:"button"},t.title),before:Object(n.createElement)(R.a,{icon:t.icon}),after:t.after},function(e){var t,a;switch(e.type){case"wc-admin":t="wc-admin",a="admin.php?page=wc-admin&path=%2F".concat(e.path);break;case"wp-admin":t="wp-admin",a=e.path;break;case"wc-settings":t="wp-admin",a="admin.php?page=wc-settings&tab=".concat(e.tab);break;default:t="external",a=e.href}return{linkType:t,href:a}}(t)),{},{listItemTag:t.listItemTag,onClick:Object(r.partial)(I,e)})}))}var q=function(e){var t=H(e);return Object(n.createElement)(y.a,{size:"large",className:"woocommerce-quick-links"},Object(n.createElement)(_.a,{size:"medium"},Object(n.createElement)(j.a,{variant:"title.small"},Object(O.__)("Store management","woocommerce-admin"))),Object(n.createElement)(g.a,null,Object(n.createElement)(D.List,{items:t,className:"woocommerce-quick-links__list"})))};q.defaultProps={getSetting:i.g,recordEvent:A.recordEvent};var B=q,U=a(60),F=a.n(U),W=a(698),G=a(900),K=(a(866),a(49)),J=Object(K.applyFilters)("woocommerce_admin_homepage_default_stats",["revenue/total_sales","revenue/net_revenue","orders/orders_count","products/items_sold","jetpack/stats/visitors","jetpack/stats/views"]),Q=["revenue/net_revenue","products/items_sold"],Y=a(718),$=a(741),X=Object(o.withSelect)((function(e,t){var a=t.stats,n=t.query;if(0!==a.length)return Object($.a)(e,a,n)}))((function(e){var t=e.stats,a=e.primaryData,c=e.secondaryData,o=e.primaryRequesting,r=e.secondaryRequesting,i=e.primaryError,l=e.secondaryError,m=e.query,u=Object(n.useContext)(Y.a),d=u.formatAmount,f=u.getCurrencyConfig;if(i||l)return null;var b=Object(s.getPersistedQuery)(m),h=f();return Object(n.createElement)("ul",{className:p()("woocommerce-stats-overview__stats",{"is-even":t.length%2==0})},t.map((function(e){if(o||r)return Object(n.createElement)(D.SummaryNumberPlaceholder,{key:e.stat});var t=Object($.b)({indicator:e,primaryData:a,secondaryData:c,currency:h,formatAmount:d,persistedQuery:b}),i=t.primaryValue,l=t.secondaryValue,s=t.delta,m=t.reportUrl,u=t.reportUrlType;return Object(n.createElement)(D.SummaryNumber,{isHomescreen:!0,key:e.stat,href:m,hrefType:u,label:e.label,value:i,prevLabel:Object(O.__)("Previous Period:","woocommerce-admin"),prevValue:l,delta:s,onLinkClickCallback:function(){Object(A.recordEvent)("statsoverview_indicators_click",{key:e.stat})}})})))})),Z=a(72),ee=(a(12),a(29));Object(O.__)("Facebook for WooCommerce","woocommerce-admin"),Object(O.__)("Jetpack","woocommerce-admin"),Object(O.__)("Klarna Checkout for WooCommerce","woocommerce-admin"),Object(O.__)("Klarna Payments for WooCommerce","woocommerce-admin"),Object(O.__)("Mailchimp for WooCommerce","woocommerce-admin"),Object(O.__)("WooCommerce PayPal","woocommerce-admin"),Object(O.__)("WooCommerce Stripe","woocommerce-admin"),Object(O.__)("WooCommerce PayFast","woocommerce-admin"),Object(O.__)("WooCommerce Payments","woocommerce-admin"),Object(O.__)("WooCommerce Shipping & Tax","woocommerce-admin"),Object(O.__)("WooCommerce ShipStation Gateway","woocommerce-admin"),Object(O.__)("Google Ads","woocommerce-admin");var te=function(e){return Object(ee.dispatch)("core/notices","createNotice",e)};var ae=function(e){var t=e.onClickInstall,a=e.onClickDismiss,c=e.isBusy,o=e.jetpackInstallState;return Object(n.createElement)("article",{className:"woocommerce-stats-overview__install-jetpack-promo"},Object(n.createElement)("div",{className:"woocommerce-stats-overview__install-jetpack-promo__content"},Object(n.createElement)(D.H,null,Object(O.__)("Get traffic stats with Jetpack","woocommerce-admin")),Object(n.createElement)("p",null,Object(O.__)("Keep an eye on your views and visitors metrics with Jetpack. Requires Jetpack plugin and a WordPress.com account.","woocommerce-admin"))),Object(n.createElement)("footer",null,Object(n.createElement)(Z.a,{isSecondary:!0,onClick:function(){Object(A.recordEvent)("statsoverview_install_jetpack"),t()},disabled:c,isBusy:c},function(e){return{unavailable:Object(O.__)("Get Jetpack","woocommerce-admin"),installed:Object(O.__)("Activate Jetpack","woocommerce-admin"),activated:Object(O.__)("Connect Jetpack","woocommerce-admin")}[e]||""}(o)),Object(n.createElement)(Z.a,{isTertiary:!0,onClick:function(){Object(A.recordEvent)("statsoverview_dismiss_install_jetpack"),a()},disabled:c,isBusy:c},Object(O.__)("No thanks","woocommerce-admin"))))},ne=function(){var e=Object(l.useUserPreferences)(),t=e.updateUserPreferences,a=F()(e,["updateUserPreferences"]),c=Object(o.useSelect)((function(e){var t=e(l.PLUGINS_STORE_NAME),a=t.getPluginInstallState,n=t.isPluginsRequesting,c=a("jetpack");return{isBusy:n("getJetpackConnectUrl")||n("installPlugins")||n("activatePlugins"),jetpackInstallState:c}})),r=c.jetpackInstallState,s=c.isBusy,m=Object(o.useDispatch)(l.PLUGINS_STORE_NAME).installJetpackAndConnect;return Object(n.createElement)(ae,{jetpackInstallState:r,isBusy:s,onClickInstall:function(){m(te,i.f)},onClickDismiss:function(){var e=a.homepage_stats||{};e.installJetpackDismissed=!0,t({homepage_stats:e})}})},ce=Object(i.g)("dataEndpoints",{performanceIndicators:[]}).performanceIndicators.filter((function(e){return J.includes(e.stat)})),oe=function(){var e=Object(l.useUserPreferences)(),t=e.updateUserPreferences,a=F()(e,["updateUserPreferences"]),c=Object(r.get)(a,["homepage_stats","hiddenStats"],Q),i=Object(o.useSelect)((function(e){return e(l.PLUGINS_STORE_NAME).isJetpackConnected()}),[]),m=(a.homepage_stats||{}).installJetpackDismissed,u=ce.filter((function(e){return!c.includes(e.stat)}));return Object(n.createElement)(y.a,{size:"large",className:"woocommerce-stats-overview woocommerce-homescreen-card"},Object(n.createElement)(_.a,{size:"medium"},Object(n.createElement)(j.a,{variant:"title.small"},Object(O.__)("Stats overview","woocommerce-admin")),Object(n.createElement)(D.EllipsisMenu,{label:Object(O.__)("Choose which values to display","woocommerce-admin"),renderContent:function(){return Object(n.createElement)(n.Fragment,null,Object(n.createElement)(D.MenuTitle,null,Object(O.__)("Display stats:","woocommerce-admin")),ce.map((function(e){var a=!c.includes(e.stat);return Object(n.createElement)(D.MenuItem,{checked:a,isCheckbox:!0,isClickable:!0,key:e.stat,onInvoke:function(){return a=e.stat,n=Object(r.xor)(c,[a]),t({homepage_stats:{hiddenStats:n}}),void Object(A.recordEvent)("statsoverview_indicators_toggle",{indicator_name:a,status:n.includes(a)?"off":"on"});var a,n}},e.label)})))}})),Object(n.createElement)(g.a,null,Object(n.createElement)(W.a,{className:"woocommerce-stats-overview__tabs",onSelect:function(e){Object(A.recordEvent)("statsoverview_date_picker_update",{period:e})},tabs:[{title:Object(O.__)("Today","woocommerce-admin"),name:"today"},{title:Object(O.__)("Week to date","woocommerce-admin"),name:"week"},{title:Object(O.__)("Month to date","woocommerce-admin"),name:"month"}]},(function(e){return Object(n.createElement)(n.Fragment,null,!i&&!m&&Object(n.createElement)(ne,null),Object(n.createElement)(X,{query:{period:e.name,compare:"previous_period"},stats:u}))}))),Object(n.createElement)(G.a,null,Object(n.createElement)(D.Link,{className:"woocommerce-stats-overview__more-btn",href:Object(s.getNewPath)({},"/analytics/overview"),type:"wc-admin",onClick:function(){Object(A.recordEvent)("statsoverview_indicators_click",{key:"view_detailed_stats"})}},Object(O.__)("View detailed stats"))))},re=(a(867),a(737),a(757),function(e){var t=e.numTasks,a=void 0===t?5:t;return Object(n.createElement)("div",{className:"woocommerce-task-dashboard__container"},Object(n.createElement)("div",{className:"woocommerce-card woocommerce-task-card is-loading","aria-hidden":!0},Object(n.createElement)("div",{className:"woocommerce-card__header"},Object(n.createElement)("div",{className:"woocommerce-card__title-wrapper"},Object(n.createElement)("div",{className:"woocommerce-card__title woocommerce-card__header-item"},Object(n.createElement)("span",{className:"is-placeholder"})))),Object(n.createElement)("div",{className:"woocommerce-card__body"},Object(n.createElement)("div",{className:"woocommerce-list"},Array.from(new Array(a)).map((function(e,t){return Object(n.createElement)("div",{key:t,className:"woocommerce-list__item has-action"},Object(n.createElement)("div",{className:"woocommerce-list__item-inner"},Object(n.createElement)("div",{className:"woocommerce-list__item-before"},Object(n.createElement)("span",{className:"is-placeholder"})),Object(n.createElement)("div",{className:"woocommerce-list__item-text"},Object(n.createElement)("div",{className:"woocommerce-list__item-title"},Object(n.createElement)("span",{className:"is-placeholder"}))),Object(n.createElement)("div",{className:"woocommerce-list__item-after"},Object(n.createElement)("span",{className:"is-placeholder"}))))}))))))}),ie=a(762),le=a(27),se=a(56),me=a(691),ue=a(869),de=a.n(ue);a(870);function pe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(r.includes)(["iPad","iPhone"],t)}var fe=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=a.bindGlobal,o=void 0!==c&&c,i=a.eventName,l=void 0===i?"keydown":i,s=a.isDisabled,m=void 0!==s&&s,u=a.target,d=Object(n.useRef)(t);Object(n.useEffect)((function(){d.current=t}),[t]),Object(n.useEffect)((function(){if(!m){var t=new de.a(u?u.current:document);return Object(r.castArray)(e).forEach((function(e){var a=e.split("+"),n=new Set(a.filter((function(e){return e.length>1}))),c=n.has("alt"),r=n.has("shift");if(pe()&&(1===n.size&&c||2===n.size&&c&&r))throw new Error("Cannot bind ".concat(e,". Alt and Shift+Alt modifiers are reserved for character input."));t[o?"bindGlobal":"bind"](e,(function(){return d.current.apply(d,arguments)}),l)})),function(){t.reset()}}}),[e,o,l,u,m])};function be(e){var t=e.target,a=e.callback,n=e.shortcut,c=e.bindGlobal,o=e.eventName;return fe(n,a,{bindGlobal:c,target:t,eventName:o}),null}var he=function(e){var t=e.children,a=e.shortcuts,c=e.bindGlobal,o=e.eventName,i=Object(n.useRef)(),l=Object(r.map)(a,(function(e,t){return Object(n.createElement)(be,{key:t,shortcut:t,callback:e,bindGlobal:c,eventName:o,target:i})}));return n.Children.count(t)?Object(n.createElement)("div",{ref:i},l,t):l},ve=function(e){var t=e.isSelected;return Object(n.createElement)(w.c,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(n.createElement)(w.a,{cx:"4",cy:"4",r:"4",fill:t?"#419ECD":"#E1E3E6"}))};function Oe(e){var t=e.currentPage,a=e.numberOfPages,c=e.setCurrentPage;return Object(n.createElement)("ul",{className:"components-guide__page-control","aria-label":Object(O.__)("Guide controls")},Object(r.times)(a,(function(e){return Object(n.createElement)("li",{key:e,"aria-current":e===t?"step":void 0},Object(n.createElement)(Z.a,{key:e,icon:Object(n.createElement)(ve,{isSelected:e===t}),"aria-label":Object(O.sprintf)(Object(O.__)("Page %1$d of %2$d"),e+1,a),onClick:function(){return c(e)}}))})))}function je(e){var t=e.className,a=e.onClick,c=e.children,o=Object(n.useRef)(null);return Object(n.useLayoutEffect)((function(){document.activeElement&&document.activeElement!==document.body||o.current.focus()}),[o]),Object(n.createElement)(Z.a,{ref:o,className:t,isPrimary:!0,onClick:a},c)}function ye(e){var t=e.children,a=e.className,c=e.contentLabel,o=e.finishButtonText,r=e.onFinish,i=e.pages,l=void 0===i?[]:i,s=Object(n.useState)(0),m=Object(le.a)(s,2),u=m[0],d=m[1];Object(n.useEffect)((function(){n.Children.count(t)&&Object(se.a)("Passing children to <Guide>",{alternative:"the `pages` prop"})}),[t]),n.Children.count(t)&&(l=n.Children.map(t,(function(e){return{content:e}})));var f=u>0,b=u<l.length-1,h=function(){f&&d(u-1)},v=function(){b&&d(u+1)};return 0===l.length?null:Object(n.createElement)(me.a,{className:p()("components-guide",a),contentLabel:c,onRequestClose:r},Object(n.createElement)(he,{key:u,shortcuts:{left:h,right:v}}),Object(n.createElement)("div",{className:"components-guide__container"},Object(n.createElement)("div",{className:"components-guide__page"},l[u].image,Object(n.createElement)(Oe,{currentPage:u,numberOfPages:l.length,setCurrentPage:d}),l[u].content,!b&&Object(n.createElement)(je,{className:"components-guide__inline-finish-button",onClick:r},o||Object(O.__)("Finish"))),Object(n.createElement)("div",{className:"components-guide__footer"},f&&Object(n.createElement)(Z.a,{className:"components-guide__back-button",onClick:h},Object(O.__)("Previous")),b&&Object(n.createElement)(Z.a,{className:"components-guide__forward-button",onClick:v},Object(O.__)("Next")),!b&&Object(n.createElement)(je,{className:"components-guide__finish-button",onClick:r},o||Object(O.__)("Finish")))))}var _e=function(e){var t=e.title,a=e.body;return Object(n.createElement)("div",{className:"woocommerce__welcome-modal__page-content"},Object(n.createElement)("h2",{className:"woocommerce__welcome-modal__page-content__header"},t),Object(n.createElement)("p",{className:"woocommerce__welcome-modal__page-content__body"},a))},ge=(a(868),[{image:Object(n.createElement)((function(){return Object(n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"517",height:"160",fill:"none"},Object(n.createElement)("defs",null),Object(n.createElement)("g",{clipPath:"url(#clip0)"},Object(n.createElement)("path",{className:"fill-theme-color",d:"M0 0h517v160H0z"}),Object(n.createElement)("path",{fill:"#fff",fillOpacity:".65",d:"M125.85 217.924l-1.055-.321c-34.868-10.598-101.138-36.619-95.91-101.998 7.156-89.462 89.192-28.933 194.231-87.715 161.485-90.37 242.851-42.249 253.957 78.717 10.842 118.101-82.942 115.494-138.938 123.306-118.486 16.529-165.516 2.231-212.285-11.989z"}),Object(n.createElement)("path",{fill:"#F6F7F7",d:"M125 33h267v185H125z"}),Object(n.createElement)("path",{fill:"#CCC",d:"M327.367 93.974a6.417 6.417 0 00-6.285 7.671 6.418 6.418 0 005.035 5.044 6.405 6.405 0 006.579-2.73 6.427 6.427 0 00-.797-8.105 6.404 6.404 0 00-4.532-1.88zm0 11.615a5.18 5.18 0 01-3.668-1.522 5.2 5.2 0 01-1.23-5.38 5.196 5.196 0 014.168-3.447 5.18 5.18 0 014.967 2.137 5.201 5.201 0 01-1.546 7.453 5.186 5.186 0 01-2.706.75l.015.009z"}),Object(n.createElement)("path",{fill:"#CCC",d:"M329.332 103.181l.806-.811a.354.354 0 00.078-.391.365.365 0 00-.078-.116l-1.456-1.461 1.456-1.458a.363.363 0 00.105-.254.36.36 0 00-.105-.254l-.806-.81a.354.354 0 00-.254-.106.356.356 0 00-.255.106l-1.456 1.458-1.456-1.458a.35.35 0 00-.253-.105.355.355 0 00-.253.105l-.809.826a.362.362 0 00-.078.39.363.363 0 00.078.117l1.456 1.458-1.456 1.461a.369.369 0 00-.105.254.356.356 0 00.105.254l.809.81a.354.354 0 00.39.078.354.354 0 00.116-.078l1.456-1.461 1.456 1.461a.366.366 0 00.509-.015zM314.559 145.63a6.413 6.413 0 00-2.722-4.13 6.429 6.429 0 00-4.883-.957l-.192.046c-.346.08-.684.191-1.01.33a6.437 6.437 0 00-3.892 5.926 6.433 6.433 0 003.907 5.916l.183.074a6.402 6.402 0 007.999-2.997 6.423 6.423 0 00.735-3.001 6.196 6.196 0 00-.125-1.207zm-1.184 1.978a.028.028 0 010 .018v.058a5.213 5.213 0 01-.913 2.181 5.191 5.191 0 01-4.068 2.146 5.162 5.162 0 01-3.445-1.2 5.2 5.2 0 01.693-8.443 4.936 4.936 0 011.026-.464l.192-.058a5.176 5.176 0 014.527.859 5.201 5.201 0 012.058 4.129 4.906 4.906 0 01-.07.774z"}),Object(n.createElement)("path",{fill:"#CCC",d:"M310.223 149.613l.808-.81a.349.349 0 00.078-.116.348.348 0 000-.275.353.353 0 00-.078-.117l-1.455-1.458 1.455-1.458a.36.36 0 00.079-.393.36.36 0 00-.079-.117l-.808-.807a.362.362 0 00-.391-.078.349.349 0 00-.116.078l-1.455 1.464-1.465-1.464a.366.366 0 00-.254-.106.36.36 0 00-.253.106l-.809.807a.358.358 0 00-.078.393.358.358 0 00.078.117l1.459 1.458-1.459 1.458a.356.356 0 00-.078.392.382.382 0 00.078.116l.809.81a.365.365 0 00.253.106.366.366 0 00.254-.106l1.458-1.458 1.456 1.458a.353.353 0 00.513 0zM295.605 51.781l-.583-.587a.297.297 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372a.31.31 0 00.339.07.297.297 0 00.1-.07l4.465-4.439a.316.316 0 00.097-.22.313.313 0 00-.094-.223zm0 0l-.583-.587a.297.297 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372a.31.31 0 00.339.07.297.297 0 00.1-.07l4.465-4.439a.316.316 0 00.097-.22.313.313 0 00-.094-.223zm0 0l-.583-.587a.297.297 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372a.31.31 0 00.339.07.297.297 0 00.1-.07l4.465-4.439a.316.316 0 00.097-.22.313.313 0 00-.094-.223zm0 0l-.583-.587a.297.297 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372a.31.31 0 00.339.07.297.297 0 00.1-.07l4.465-4.439a.316.316 0 00.097-.22.313.313 0 00-.094-.223zm-3.628-4.619a6.402 6.402 0 00-5.921 3.963 6.432 6.432 0 001.389 6.996 6.404 6.404 0 009.86-.973 6.428 6.428 0 00-.797-8.106 6.403 6.403 0 00-4.531-1.88zm0 11.616a5.186 5.186 0 01-4.793-3.208 5.2 5.2 0 011.124-5.663 5.186 5.186 0 015.654-1.126 5.204 5.204 0 011.685 8.476 5.17 5.17 0 01-3.67 1.515v.006zm3.628-6.99l-.583-.588a.298.298 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372c.029.03.063.053.1.07a.31.31 0 00.239 0 .297.297 0 00.1-.07l4.465-4.438a.304.304 0 00.075-.347.31.31 0 00-.072-.103v.006zm0 0l-.583-.588a.298.298 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372c.029.03.063.053.1.07a.31.31 0 00.239 0 .297.297 0 00.1-.07l4.465-4.438a.304.304 0 00.075-.347.31.31 0 00-.072-.103v.006zm0 0l-.583-.588a.298.298 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372c.029.03.063.053.1.07a.31.31 0 00.239 0 .297.297 0 00.1-.07l4.465-4.438a.304.304 0 00.075-.347.31.31 0 00-.072-.103v.006zm0 0l-.583-.588a.298.298 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372c.029.03.063.053.1.07a.31.31 0 00.239 0 .297.297 0 00.1-.07l4.465-4.438a.304.304 0 00.075-.347.31.31 0 00-.072-.103v.006zm0 0l-.583-.588a.298.298 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372c.029.03.063.053.1.07a.31.31 0 00.239 0 .297.297 0 00.1-.07l4.465-4.438a.304.304 0 00.075-.347.31.31 0 00-.072-.103v.006zM306.96 98.595l-.582-.59a.311.311 0 00-.22-.093.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.303.303 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.312.312 0 00.097-.22.308.308 0 00-.091-.22zm0 0l-.582-.59a.311.311 0 00-.22-.093.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.303.303 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.312.312 0 00.097-.22.308.308 0 00-.091-.22zm0 0l-.582-.59a.311.311 0 00-.22-.093.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.303.303 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.312.312 0 00.097-.22.308.308 0 00-.091-.22zm0 0l-.582-.59a.311.311 0 00-.22-.093.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.303.303 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.312.312 0 00.097-.22.308.308 0 00-.091-.22zm-3.628-4.621a6.417 6.417 0 00-6.285 7.671 6.412 6.412 0 005.035 5.044 6.401 6.401 0 006.578-2.73 6.42 6.42 0 00-.797-8.105 6.4 6.4 0 00-4.531-1.88zm0 11.615a5.18 5.18 0 01-4.793-3.208 5.201 5.201 0 013.781-7.085 5.179 5.179 0 015.326 2.21c.57.854.874 1.86.874 2.887a5.202 5.202 0 01-1.516 3.677 5.178 5.178 0 01-3.672 1.516v.003zm3.628-6.99l-.582-.59a.31.31 0 00-.22-.094.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.302.302 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.3.3 0 00.098-.22.304.304 0 00-.092-.223v.002zm0 0l-.582-.59a.31.31 0 00-.22-.094.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.302.302 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.3.3 0 00.098-.22.304.304 0 00-.092-.223v.002zm0 0l-.582-.59a.31.31 0 00-.22-.094.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.302.302 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.3.3 0 00.098-.22.304.304 0 00-.092-.223v.002zm0 0l-.582-.59a.31.31 0 00-.22-.094.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.302.302 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.3.3 0 00.098-.22.304.304 0 00-.092-.223v.002zm0 0l-.582-.59a.31.31 0 00-.22-.094.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.302.302 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.3.3 0 00.098-.22.304.304 0 00-.092-.223v.002zM287.774 145.407l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.309.309 0 00.097-.219.309.309 0 00-.091-.221zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.309.309 0 00.097-.219.309.309 0 00-.091-.221zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.309.309 0 00.097-.219.309.309 0 00-.091-.221zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.309.309 0 00.097-.219.309.309 0 00-.091-.221zm-3.628-4.622a6.416 6.416 0 00-6.285 7.671 6.414 6.414 0 005.035 5.044 6.393 6.393 0 003.702-.365 6.418 6.418 0 003.957-5.931 6.43 6.43 0 00-1.877-4.539 6.403 6.403 0 00-4.532-1.88zm0 11.616a5.181 5.181 0 01-2.882-.876 5.2 5.2 0 011.87-9.418 5.186 5.186 0 015.326 2.21c.57.855.874 1.859.874 2.887a5.191 5.191 0 01-1.515 3.678 5.163 5.163 0 01-3.673 1.516v.003zm3.628-6.991l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.297.297 0 00.098-.22.293.293 0 00-.023-.121.284.284 0 00-.069-.102v.003zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.297.297 0 00.098-.22.293.293 0 00-.023-.121.284.284 0 00-.069-.102v.003zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.297.297 0 00.098-.22.293.293 0 00-.023-.121.284.284 0 00-.069-.102v.003zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.297.297 0 00.098-.22.293.293 0 00-.023-.121.284.284 0 00-.069-.102v.003zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.297.297 0 00.098-.22.293.293 0 00-.023-.121.284.284 0 00-.069-.102v.003zM349.568 75.187l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm-3.628-4.619a6.402 6.402 0 00-4.17 1.5 6.422 6.422 0 00-1.386 8.21 6.415 6.415 0 003.447 2.79 6.4 6.4 0 004.477-.092c.317-.126.624-.278.915-.456a6.418 6.418 0 002.93-7.236 6.422 6.422 0 00-2.309-3.413 6.4 6.4 0 00-3.904-1.303zm2.273 11.087a5.056 5.056 0 01-.665.272 5.213 5.213 0 01-3.406-.067 5.197 5.197 0 01-1.681-8.731 5.182 5.182 0 018.501 2.56 5.195 5.195 0 01-2.749 5.966zm1.355-6.468l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447z"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M268.92 47H150.08c-3.358 0-6.08 2.91-6.08 6.5s2.722 6.5 6.08 6.5h118.84c3.358 0 6.08-2.91 6.08-6.5s-2.722-6.5-6.08-6.5z",opacity:".6"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M321.919 71H150.081c-3.359 0-6.081 2.686-6.081 6s2.722 6 6.081 6h171.838c3.359 0 6.081-2.686 6.081-6s-2.722-6-6.081-6z",opacity:".3"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M279.927 94H150.073c-3.354 0-6.073 2.91-6.073 6.5s2.719 6.5 6.073 6.5h129.854c3.354 0 6.073-2.91 6.073-6.5s-2.719-6.5-6.073-6.5z",opacity:".6"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M321.919 118H150.081c-3.359 0-6.081 2.686-6.081 6s2.722 6 6.081 6h171.838c3.359 0 6.081-2.686 6.081-6s-2.722-6-6.081-6z",opacity:".3"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M261.916 141H150.084c-3.36 0-6.084 2.686-6.084 6s2.724 6 6.084 6h111.832c3.36 0 6.084-2.686 6.084-6s-2.724-6-6.084-6z",opacity:".1"}),Object(n.createElement)("path",{fill:"#CCC",d:"M316.161 47.162a6.4 6.4 0 00-5.92 3.963 6.432 6.432 0 001.389 6.996 6.404 6.404 0 009.86-.973 6.428 6.428 0 00-.797-8.106 6.404 6.404 0 00-4.532-1.88zm0 11.616a5.18 5.18 0 01-2.882-.876 5.198 5.198 0 011.87-9.417 5.181 5.181 0 015.326 2.21c.57.854.874 1.859.874 2.887a5.195 5.195 0 01-3.201 4.8c-.63.26-1.305.392-1.987.39v.006z"}),Object(n.createElement)("path",{fill:"#CCC",d:"M318.127 56.366l.808-.807a.35.35 0 00.078-.117.346.346 0 000-.276.35.35 0 00-.078-.117l-1.458-1.458 1.455-1.458a.35.35 0 00.078-.117.346.346 0 000-.277.35.35 0 00-.078-.117l-.808-.807a.364.364 0 00-.254-.105.358.358 0 00-.253.105l-1.456 1.458-1.455-1.458a.361.361 0 00-.51 0l-.806.807a.365.365 0 00-.107.255.365.365 0 00.107.256l1.456 1.458-1.453 1.455a.365.365 0 00-.079.394.381.381 0 00.079.116l.806.807a.353.353 0 00.255.106.363.363 0 00.255-.106l1.455-1.458 1.456 1.458a.352.352 0 00.253.107.356.356 0 00.254-.104zM369.966 70.568a6.402 6.402 0 00-5.921 3.963 6.432 6.432 0 001.389 6.995 6.404 6.404 0 0010.94-4.539 6.403 6.403 0 00-3.953-5.935 6.383 6.383 0 00-2.455-.484zm0 11.616a5.179 5.179 0 01-3.17-1.076 5.203 5.203 0 01-1.621-6.136 5.187 5.187 0 015.512-3.13 5.186 5.186 0 012.985 1.519 5.2 5.2 0 01-1.158 8.146 5.18 5.18 0 01-2.548.674v.003z"}),Object(n.createElement)("path",{fill:"#CCC",d:"M371.925 79.772l.808-.807a.363.363 0 000-.51l-1.458-1.459 1.458-1.458a.348.348 0 00.078-.116.343.343 0 000-.275.346.346 0 00-.078-.116l-.808-.81a.358.358 0 00-.507 0l-1.452 1.458-1.456-1.458a.358.358 0 00-.507 0l-.808.81a.36.36 0 00-.078.391.348.348 0 00.078.116l1.455 1.458-1.455 1.458a.364.364 0 000 .51l.808.808a.35.35 0 00.507 0l1.456-1.458 1.458 1.458a.358.358 0 00.501 0z"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M344 94h90v80h-90z"}),Object(n.createElement)("path",{fill:"#fff",fillOpacity:".65",d:"M364.607 150.419H357v25.307h7.607v-25.307zM379.317 132h-7.607v43.455h7.607V132zM394.026 136h-7.607v61.603h7.607V136zM408.736 123h-7.607v55.726h7.607V123zM423.445 132.197h-7.607v38.342h7.607v-38.342z",opacity:".2"}),Object(n.createElement)("path",{fill:"#fff",d:"M356.331 134l-.331-.495 15.486-21.052 13.65 14.005 11.039-17.456 4.84 5.868 13.168-11.268 14.625 14.021L451.763 99l.237.594-23.213 18.833-14.619-14.015-13.201 11.297-4.748-5.756-11.014 17.418-13.677-14.031L356.331 134z"})),Object(n.createElement)("defs",null,Object(n.createElement)("clipPath",{id:"clip0"},Object(n.createElement)("path",{fill:"#fff",d:"M0 0h517v160H0z"}))))}),null),content:Object(n.createElement)(_e,{title:Object(O.__)("Welcome to your WooCommerce store’s online HQ!","woocommerce-admin"),body:Object(O.__)("Here's where you’ll find setup suggestions, tips and tools, and key data on your store’s performance and earnings — all the basics for store management and growth.","woocommerce-admin")})},{image:Object(n.createElement)((function(){return Object(n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"517",height:"160",fill:"none"},Object(n.createElement)("defs",null),Object(n.createElement)("g",{clipPath:"url(#clip0)"},Object(n.createElement)("path",{className:"fill-theme-color",d:"M0 0h517v160H0z"}),Object