netlicensing-client 1.2.34 → 1.2.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -468,7 +468,7 @@ exports["default"] = void 0;
468
468
  * @link https://netlicensing.io
469
469
  * @copyright 2017 Labs64 NetLicensing
470
470
  */
471
- var _default = {
471
+ var _default = exports["default"] = {
472
472
  BASIC_AUTHENTICATION: 'BASIC_AUTH',
473
473
  APIKEY_IDENTIFICATION: 'APIKEY',
474
474
  ANONYMOUS_IDENTIFICATION: 'ANONYMOUS',
@@ -661,12 +661,12 @@ var _default = {
661
661
  WEBHOOK: 'WEBHOOK'
662
662
  },
663
663
  Event: {
664
- CREATE_LICENSEE: 'CREATE_LICENSEE',
665
- CREATE_LICENSE: 'CREATE_LICENSE'
664
+ LICENSEE_CREATED: 'LICENSEE_CREATED',
665
+ LICENSE_CREATED: 'LICENSE_CREATED',
666
+ WARNING_LEVEL_CHANGED: 'WARNING_LEVEL_CHANGED'
666
667
  }
667
668
  }
668
669
  };
669
- exports["default"] = _default;
670
670
 
671
671
  /***/ }),
672
672
 
@@ -683,10 +683,9 @@ Object.defineProperty(exports, "__esModule", ({
683
683
  exports["default"] = void 0;
684
684
  var _itemToObject = _interopRequireDefault(__webpack_require__(7106));
685
685
  var _Bundle = _interopRequireDefault(__webpack_require__(2044));
686
- var _default = function _default(item) {
686
+ var _default = exports["default"] = function _default(item) {
687
687
  return new _Bundle.default((0, _itemToObject.default)(item));
688
688
  };
689
- exports["default"] = _default;
690
689
 
691
690
  /***/ }),
692
691
 
@@ -703,10 +702,9 @@ Object.defineProperty(exports, "__esModule", ({
703
702
  exports["default"] = void 0;
704
703
  var _itemToObject = _interopRequireDefault(__webpack_require__(7106));
705
704
  var _Country = _interopRequireDefault(__webpack_require__(187));
706
- var _default = function _default(item) {
705
+ var _default = exports["default"] = function _default(item) {
707
706
  return new _Country.default((0, _itemToObject.default)(item));
708
707
  };
709
- exports["default"] = _default;
710
708
 
711
709
  /***/ }),
712
710
 
@@ -723,10 +721,9 @@ Object.defineProperty(exports, "__esModule", ({
723
721
  exports["default"] = void 0;
724
722
  var _itemToObject = _interopRequireDefault(__webpack_require__(7106));
725
723
  var _License = _interopRequireDefault(__webpack_require__(9763));
726
- var _default = function _default(item) {
724
+ var _default = exports["default"] = function _default(item) {
727
725
  return new _License.default((0, _itemToObject.default)(item));
728
726
  };
729
- exports["default"] = _default;
730
727
 
731
728
  /***/ }),
732
729
 
@@ -743,10 +740,9 @@ Object.defineProperty(exports, "__esModule", ({
743
740
  exports["default"] = void 0;
744
741
  var _itemToObject = _interopRequireDefault(__webpack_require__(7106));
745
742
  var _LicenseTemplate = _interopRequireDefault(__webpack_require__(767));
746
- var _default = function _default(item) {
743
+ var _default = exports["default"] = function _default(item) {
747
744
  return new _LicenseTemplate.default((0, _itemToObject.default)(item));
748
745
  };
749
- exports["default"] = _default;
750
746
 
751
747
  /***/ }),
752
748
 
@@ -763,10 +759,9 @@ Object.defineProperty(exports, "__esModule", ({
763
759
  exports["default"] = void 0;
764
760
  var _itemToObject = _interopRequireDefault(__webpack_require__(7106));
765
761
  var _Licensee = _interopRequireDefault(__webpack_require__(2948));
766
- var _default = function _default(item) {
762
+ var _default = exports["default"] = function _default(item) {
767
763
  return new _Licensee.default((0, _itemToObject.default)(item));
768
764
  };
769
- exports["default"] = _default;
770
765
 
771
766
  /***/ }),
772
767
 
@@ -783,10 +778,9 @@ Object.defineProperty(exports, "__esModule", ({
783
778
  exports["default"] = void 0;
784
779
  var _itemToObject = _interopRequireDefault(__webpack_require__(7106));
785
780
  var _Notification = _interopRequireDefault(__webpack_require__(5433));
786
- var _default = function _default(item) {
781
+ var _default = exports["default"] = function _default(item) {
787
782
  return new _Notification.default((0, _itemToObject.default)(item));
788
783
  };
789
- exports["default"] = _default;
790
784
 
791
785
  /***/ }),
792
786
 
@@ -822,8 +816,7 @@ var itemToObject = function itemToObject(item) {
822
816
  }
823
817
  return object;
824
818
  };
825
- var _default = itemToObject;
826
- exports["default"] = _default;
819
+ var _default = exports["default"] = itemToObject;
827
820
 
828
821
  /***/ }),
829
822
 
@@ -840,10 +833,9 @@ Object.defineProperty(exports, "__esModule", ({
840
833
  exports["default"] = void 0;
841
834
  var _itemToObject = _interopRequireDefault(__webpack_require__(7106));
842
835
  var _PaymentMethod = _interopRequireDefault(__webpack_require__(5088));
843
- var _default = function _default(item) {
836
+ var _default = exports["default"] = function _default(item) {
844
837
  return new _PaymentMethod.default((0, _itemToObject.default)(item));
845
838
  };
846
- exports["default"] = _default;
847
839
 
848
840
  /***/ }),
849
841
 
@@ -860,7 +852,7 @@ Object.defineProperty(exports, "__esModule", ({
860
852
  exports["default"] = void 0;
861
853
  var _itemToObject = _interopRequireDefault(__webpack_require__(7106));
862
854
  var _Product = _interopRequireDefault(__webpack_require__(7143));
863
- var _default = function _default(item) {
855
+ var _default = exports["default"] = function _default(item) {
864
856
  var object = (0, _itemToObject.default)(item);
865
857
  var discounts = object.discount;
866
858
  delete object.discount;
@@ -868,7 +860,6 @@ var _default = function _default(item) {
868
860
  product.setProductDiscounts(discounts);
869
861
  return product;
870
862
  };
871
- exports["default"] = _default;
872
863
 
873
864
  /***/ }),
874
865
 
@@ -885,10 +876,9 @@ Object.defineProperty(exports, "__esModule", ({
885
876
  exports["default"] = void 0;
886
877
  var _itemToObject = _interopRequireDefault(__webpack_require__(7106));
887
878
  var _ProductModule = _interopRequireDefault(__webpack_require__(3886));
888
- var _default = function _default(item) {
879
+ var _default = exports["default"] = function _default(item) {
889
880
  return new _ProductModule.default((0, _itemToObject.default)(item));
890
881
  };
891
- exports["default"] = _default;
892
882
 
893
883
  /***/ }),
894
884
 
@@ -905,10 +895,9 @@ Object.defineProperty(exports, "__esModule", ({
905
895
  exports["default"] = void 0;
906
896
  var _itemToObject = _interopRequireDefault(__webpack_require__(7106));
907
897
  var _Token = _interopRequireDefault(__webpack_require__(8132));
908
- var _default = function _default(item) {
898
+ var _default = exports["default"] = function _default(item) {
909
899
  return new _Token.default((0, _itemToObject.default)(item));
910
900
  };
911
- exports["default"] = _default;
912
901
 
913
902
  /***/ }),
914
903
 
@@ -928,7 +917,7 @@ var _Transaction = _interopRequireDefault(__webpack_require__(4880));
928
917
  var _License = _interopRequireDefault(__webpack_require__(9763));
929
918
  var _LicenseTransactionJoin = _interopRequireDefault(__webpack_require__(3089));
930
919
  var _Constants = _interopRequireDefault(__webpack_require__(1480));
931
- var _default = function _default(item) {
920
+ var _default = exports["default"] = function _default(item) {
932
921
  var object = (0, _itemToObject.default)(item);
933
922
  var licenseTransactionJoin = object.licenseTransactionJoin;
934
923
  delete object.licenseTransactionJoin;
@@ -949,7 +938,6 @@ var _default = function _default(item) {
949
938
  }
950
939
  return transaction;
951
940
  };
952
- exports["default"] = _default;
953
941
 
954
942
  /***/ }),
955
943
 
@@ -970,13 +958,13 @@ var _classCallCheck2 = _interopRequireDefault(__webpack_require__(6690));
970
958
  var _createClass2 = _interopRequireDefault(__webpack_require__(9728));
971
959
  var _CheckUtils = _interopRequireDefault(__webpack_require__(5661));
972
960
  var _CastsUtils = _interopRequireDefault(__webpack_require__(553));
973
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
974
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /**
975
- * @author Labs64 <netlicensing@labs64.com>
976
- * @license Apache-2.0
977
- * @link https://netlicensing.io
978
- * @copyright 2017 Labs64 NetLicensing
979
- */
961
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
962
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /**
963
+ * @author Labs64 <netlicensing@labs64.com>
964
+ * @license Apache-2.0
965
+ * @link https://netlicensing.io
966
+ * @copyright 2017 Labs64 NetLicensing
967
+ */
980
968
  /**
981
969
  * The entity properties.
982
970
  * @type {{}}
@@ -998,7 +986,7 @@ var definedMap = new WeakMap();
998
986
  * @private
999
987
  */
1000
988
  var castsMap = new WeakMap();
1001
- var BaseEntity = /*#__PURE__*/function () {
989
+ var BaseEntity = exports["default"] = /*#__PURE__*/function () {
1002
990
  function BaseEntity(_ref) {
1003
991
  var properties = _ref.properties,
1004
992
  casts = _ref.casts;
@@ -1207,7 +1195,6 @@ var BaseEntity = /*#__PURE__*/function () {
1207
1195
  }]);
1208
1196
  return BaseEntity;
1209
1197
  }();
1210
- exports["default"] = BaseEntity;
1211
1198
 
1212
1199
  /***/ }),
1213
1200
 
@@ -1230,11 +1217,11 @@ var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(3808));
1230
1217
  var _BaseEntity2 = _interopRequireDefault(__webpack_require__(389));
1231
1218
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
1232
1219
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
1233
- * @author Labs64 <netlicensing@labs64.com>
1234
- * @license Apache-2.0
1235
- * @link https://netlicensing.io
1236
- * @copyright 2017 Labs64 NetLicensing
1237
- */
1220
+ * @author Labs64 <netlicensing@labs64.com>
1221
+ * @license Apache-2.0
1222
+ * @link https://netlicensing.io
1223
+ * @copyright 2017 Labs64 NetLicensing
1224
+ */
1238
1225
  /**
1239
1226
  * NetLicensing Bundle entity.
1240
1227
  *
@@ -1255,7 +1242,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
1255
1242
  *
1256
1243
  * @constructor
1257
1244
  */
1258
- var Bundle = /*#__PURE__*/function (_BaseEntity) {
1245
+ var Bundle = exports["default"] = /*#__PURE__*/function (_BaseEntity) {
1259
1246
  (0, _inherits2.default)(Bundle, _BaseEntity);
1260
1247
  var _super = _createSuper(Bundle);
1261
1248
  function Bundle(properties) {
@@ -1339,7 +1326,6 @@ var Bundle = /*#__PURE__*/function (_BaseEntity) {
1339
1326
  }]);
1340
1327
  return Bundle;
1341
1328
  }(_BaseEntity2.default);
1342
- exports["default"] = Bundle;
1343
1329
 
1344
1330
  /***/ }),
1345
1331
 
@@ -1362,11 +1348,11 @@ var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(3808));
1362
1348
  var _BaseEntity2 = _interopRequireDefault(__webpack_require__(389));
1363
1349
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
1364
1350
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
1365
- * @author Labs64 <netlicensing@labs64.com>
1366
- * @license Apache-2.0
1367
- * @link https://netlicensing.io
1368
- * @copyright 2017 Labs64 NetLicensing
1369
- */
1351
+ * @author Labs64 <netlicensing@labs64.com>
1352
+ * @license Apache-2.0
1353
+ * @link https://netlicensing.io
1354
+ * @copyright 2017 Labs64 NetLicensing
1355
+ */
1370
1356
  /**
1371
1357
  * Country entity used internally by NetLicensing.
1372
1358
  *
@@ -1380,7 +1366,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
1380
1366
  *
1381
1367
  * @property isEu - is country in EU.
1382
1368
  */
1383
- var Country = /*#__PURE__*/function (_BaseEntity) {
1369
+ var Country = exports["default"] = /*#__PURE__*/function (_BaseEntity) {
1384
1370
  (0, _inherits2.default)(Country, _BaseEntity);
1385
1371
  var _super = _createSuper(Country);
1386
1372
  function Country(properties) {
@@ -1439,7 +1425,6 @@ var Country = /*#__PURE__*/function (_BaseEntity) {
1439
1425
  }]);
1440
1426
  return Country;
1441
1427
  }(_BaseEntity2.default);
1442
- exports["default"] = Country;
1443
1428
 
1444
1429
  /***/ }),
1445
1430
 
@@ -1462,11 +1447,11 @@ var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(3808));
1462
1447
  var _BaseEntity2 = _interopRequireDefault(__webpack_require__(389));
1463
1448
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
1464
1449
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
1465
- * @author Labs64 <netlicensing@labs64.com>
1466
- * @license Apache-2.0
1467
- * @link https://netlicensing.io
1468
- * @copyright 2017 Labs64 NetLicensing
1469
- */
1450
+ * @author Labs64 <netlicensing@labs64.com>
1451
+ * @license Apache-2.0
1452
+ * @link https://netlicensing.io
1453
+ * @copyright 2017 Labs64 NetLicensing
1454
+ */
1470
1455
  /**
1471
1456
  * License entity used internally by NetLicensing.
1472
1457
  *
@@ -1502,7 +1487,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
1502
1487
  * must not be equal to any of the fixed property names listed above and must be none of id, deleted, licenseeNumber,
1503
1488
  * licenseTemplateNumber.
1504
1489
  */
1505
- var License = /*#__PURE__*/function (_BaseEntity) {
1490
+ var License = exports["default"] = /*#__PURE__*/function (_BaseEntity) {
1506
1491
  (0, _inherits2.default)(License, _BaseEntity);
1507
1492
  var _super = _createSuper(License);
1508
1493
  function License(properties) {
@@ -1611,7 +1596,6 @@ var License = /*#__PURE__*/function (_BaseEntity) {
1611
1596
  }]);
1612
1597
  return License;
1613
1598
  }(_BaseEntity2.default);
1614
- exports["default"] = License;
1615
1599
 
1616
1600
  /***/ }),
1617
1601
 
@@ -1634,11 +1618,11 @@ var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(3808));
1634
1618
  var _BaseEntity2 = _interopRequireDefault(__webpack_require__(389));
1635
1619
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
1636
1620
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
1637
- * @author Labs64 <netlicensing@labs64.com>
1638
- * @license Apache-2.0
1639
- * @link https://netlicensing.io
1640
- * @copyright 2017 Labs64 NetLicensing
1641
- */
1621
+ * @author Labs64 <netlicensing@labs64.com>
1622
+ * @license Apache-2.0
1623
+ * @link https://netlicensing.io
1624
+ * @copyright 2017 Labs64 NetLicensing
1625
+ */
1642
1626
  /**
1643
1627
  * License template entity used internally by NetLicensing.
1644
1628
  *
@@ -1695,7 +1679,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
1695
1679
  *
1696
1680
  * @constructor
1697
1681
  */
1698
- var LicenseTemplate = /*#__PURE__*/function (_BaseEntity) {
1682
+ var LicenseTemplate = exports["default"] = /*#__PURE__*/function (_BaseEntity) {
1699
1683
  (0, _inherits2.default)(LicenseTemplate, _BaseEntity);
1700
1684
  var _super = _createSuper(LicenseTemplate);
1701
1685
  function LicenseTemplate(properties) {
@@ -1860,7 +1844,6 @@ var LicenseTemplate = /*#__PURE__*/function (_BaseEntity) {
1860
1844
  }]);
1861
1845
  return LicenseTemplate;
1862
1846
  }(_BaseEntity2.default);
1863
- exports["default"] = LicenseTemplate;
1864
1847
 
1865
1848
  /***/ }),
1866
1849
 
@@ -1883,7 +1866,7 @@ var _createClass2 = _interopRequireDefault(__webpack_require__(9728));
1883
1866
  * @link https://netlicensing.io
1884
1867
  * @copyright 2017 Labs64 NetLicensing
1885
1868
  */
1886
- var LicenseTransactionJoin = /*#__PURE__*/function () {
1869
+ var LicenseTransactionJoin = exports["default"] = /*#__PURE__*/function () {
1887
1870
  function LicenseTransactionJoin(transaction, license) {
1888
1871
  (0, _classCallCheck2.default)(this, LicenseTransactionJoin);
1889
1872
  this.transaction = transaction;
@@ -1914,7 +1897,6 @@ var LicenseTransactionJoin = /*#__PURE__*/function () {
1914
1897
  }]);
1915
1898
  return LicenseTransactionJoin;
1916
1899
  }();
1917
- exports["default"] = LicenseTransactionJoin;
1918
1900
 
1919
1901
  /***/ }),
1920
1902
 
@@ -1937,11 +1919,11 @@ var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(3808));
1937
1919
  var _BaseEntity2 = _interopRequireDefault(__webpack_require__(389));
1938
1920
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
1939
1921
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
1940
- * @author Labs64 <netlicensing@labs64.com>
1941
- * @license Apache-2.0
1942
- * @link https://netlicensing.io
1943
- * @copyright 2017 Labs64 NetLicensing
1944
- */
1922
+ * @author Labs64 <netlicensing@labs64.com>
1923
+ * @license Apache-2.0
1924
+ * @link https://netlicensing.io
1925
+ * @copyright 2017 Labs64 NetLicensing
1926
+ */
1945
1927
  /**
1946
1928
  * Licensee entity used internally by NetLicensing.
1947
1929
  *
@@ -1970,7 +1952,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
1970
1952
  *
1971
1953
  * @constructor
1972
1954
  */
1973
- var Licensee = /*#__PURE__*/function (_BaseEntity) {
1955
+ var Licensee = exports["default"] = /*#__PURE__*/function (_BaseEntity) {
1974
1956
  (0, _inherits2.default)(Licensee, _BaseEntity);
1975
1957
  var _super = _createSuper(Licensee);
1976
1958
  function Licensee(properties) {
@@ -2064,7 +2046,6 @@ var Licensee = /*#__PURE__*/function (_BaseEntity) {
2064
2046
  }]);
2065
2047
  return Licensee;
2066
2048
  }(_BaseEntity2.default);
2067
- exports["default"] = Licensee;
2068
2049
 
2069
2050
  /***/ }),
2070
2051
 
@@ -2087,11 +2068,11 @@ var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(3808));
2087
2068
  var _BaseEntity2 = _interopRequireDefault(__webpack_require__(389));
2088
2069
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
2089
2070
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
2090
- * @author Labs64 <netlicensing@labs64.com>
2091
- * @license Apache-2.0
2092
- * @link https://netlicensing.io
2093
- * @copyright 2017 Labs64 NetLicensing
2094
- */
2071
+ * @author Labs64 <netlicensing@labs64.com>
2072
+ * @license Apache-2.0
2073
+ * @link https://netlicensing.io
2074
+ * @copyright 2017 Labs64 NetLicensing
2075
+ */
2095
2076
  /**
2096
2077
  * NetLicensing Notification entity.
2097
2078
  *
@@ -2124,7 +2105,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
2124
2105
  *
2125
2106
  * @constructor
2126
2107
  */
2127
- var Notification = /*#__PURE__*/function (_BaseEntity) {
2108
+ var Notification = exports["default"] = /*#__PURE__*/function (_BaseEntity) {
2128
2109
  (0, _inherits2.default)(Notification, _BaseEntity);
2129
2110
  var _super = _createSuper(Notification);
2130
2111
  function Notification(properties) {
@@ -2216,7 +2197,6 @@ var Notification = /*#__PURE__*/function (_BaseEntity) {
2216
2197
  }]);
2217
2198
  return Notification;
2218
2199
  }(_BaseEntity2.default);
2219
- exports["default"] = Notification;
2220
2200
 
2221
2201
  /***/ }),
2222
2202
 
@@ -2239,11 +2219,11 @@ var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(3808));
2239
2219
  var _BaseEntity2 = _interopRequireDefault(__webpack_require__(389));
2240
2220
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
2241
2221
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
2242
- * @author Labs64 <netlicensing@labs64.com>
2243
- * @license Apache-2.0
2244
- * @link https://netlicensing.io
2245
- * @copyright 2017 Labs64 NetLicensing
2246
- */
2222
+ * @author Labs64 <netlicensing@labs64.com>
2223
+ * @license Apache-2.0
2224
+ * @link https://netlicensing.io
2225
+ * @copyright 2017 Labs64 NetLicensing
2226
+ */
2247
2227
  /**
2248
2228
  * PaymentMethod entity used internally by NetLicensing.
2249
2229
  *
@@ -2252,7 +2232,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
2252
2232
  *
2253
2233
  * @constructor
2254
2234
  */
2255
- var PaymentMethod = /*#__PURE__*/function (_BaseEntity) {
2235
+ var PaymentMethod = exports["default"] = /*#__PURE__*/function (_BaseEntity) {
2256
2236
  (0, _inherits2.default)(PaymentMethod, _BaseEntity);
2257
2237
  var _super = _createSuper(PaymentMethod);
2258
2238
  function PaymentMethod(properties) {
@@ -2300,7 +2280,6 @@ var PaymentMethod = /*#__PURE__*/function (_BaseEntity) {
2300
2280
  }]);
2301
2281
  return PaymentMethod;
2302
2282
  }(_BaseEntity2.default);
2303
- exports["default"] = PaymentMethod;
2304
2283
 
2305
2284
  /***/ }),
2306
2285
 
@@ -2326,11 +2305,11 @@ var _BaseEntity2 = _interopRequireDefault(__webpack_require__(389));
2326
2305
  var _ProductDiscount = _interopRequireDefault(__webpack_require__(3144));
2327
2306
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
2328
2307
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
2329
- * @author Labs64 <netlicensing@labs64.com>
2330
- * @license Apache-2.0
2331
- * @link https://netlicensing.io
2332
- * @copyright 2017 Labs64 NetLicensing
2333
- */
2308
+ * @author Labs64 <netlicensing@labs64.com>
2309
+ * @license Apache-2.0
2310
+ * @link https://netlicensing.io
2311
+ * @copyright 2017 Labs64 NetLicensing
2312
+ */
2334
2313
  /**
2335
2314
  * The discounts map
2336
2315
  * @type {{}}
@@ -2383,7 +2362,7 @@ var discountsTouched = new WeakMap();
2383
2362
  *
2384
2363
  * @constructor
2385
2364
  */
2386
- var Product = /*#__PURE__*/function (_BaseEntity) {
2365
+ var Product = exports["default"] = /*#__PURE__*/function (_BaseEntity) {
2387
2366
  (0, _inherits2.default)(Product, _BaseEntity);
2388
2367
  var _super = _createSuper(Product);
2389
2368
  function Product(properties) {
@@ -2569,7 +2548,6 @@ var Product = /*#__PURE__*/function (_BaseEntity) {
2569
2548
  }]);
2570
2549
  return Product;
2571
2550
  }(_BaseEntity2.default);
2572
- exports["default"] = Product;
2573
2551
 
2574
2552
  /***/ }),
2575
2553
 
@@ -2592,12 +2570,12 @@ var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(3808));
2592
2570
  var _BaseEntity2 = _interopRequireDefault(__webpack_require__(389));
2593
2571
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
2594
2572
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
2595
- * @author Labs64 <netlicensing@labs64.com>
2596
- * @license Apache-2.0
2597
- * @link https://netlicensing.io
2598
- * @copyright 2017 Labs64 NetLicensing
2599
- */
2600
- var ProductDiscount = /*#__PURE__*/function (_BaseEntity) {
2573
+ * @author Labs64 <netlicensing@labs64.com>
2574
+ * @license Apache-2.0
2575
+ * @link https://netlicensing.io
2576
+ * @copyright 2017 Labs64 NetLicensing
2577
+ */
2578
+ var ProductDiscount = exports["default"] = /*#__PURE__*/function (_BaseEntity) {
2601
2579
  (0, _inherits2.default)(ProductDiscount, _BaseEntity);
2602
2580
  var _super = _createSuper(ProductDiscount);
2603
2581
  function ProductDiscount(properties) {
@@ -2666,7 +2644,6 @@ var ProductDiscount = /*#__PURE__*/function (_BaseEntity) {
2666
2644
  }]);
2667
2645
  return ProductDiscount;
2668
2646
  }(_BaseEntity2.default);
2669
- exports["default"] = ProductDiscount;
2670
2647
 
2671
2648
  /***/ }),
2672
2649
 
@@ -2689,11 +2666,11 @@ var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(3808));
2689
2666
  var _BaseEntity2 = _interopRequireDefault(__webpack_require__(389));
2690
2667
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
2691
2668
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
2692
- * @author Labs64 <netlicensing@labs64.com>
2693
- * @license Apache-2.0
2694
- * @link https://netlicensing.io
2695
- * @copyright 2017 Labs64 NetLicensing
2696
- */
2669
+ * @author Labs64 <netlicensing@labs64.com>
2670
+ * @license Apache-2.0
2671
+ * @link https://netlicensing.io
2672
+ * @copyright 2017 Labs64 NetLicensing
2673
+ */
2697
2674
  /**
2698
2675
  * Product module entity used internally by NetLicensing.
2699
2676
  *
@@ -2732,7 +2709,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
2732
2709
  *
2733
2710
  * @constructor
2734
2711
  */
2735
- var ProductModule = /*#__PURE__*/function (_BaseEntity) {
2712
+ var ProductModule = exports["default"] = /*#__PURE__*/function (_BaseEntity) {
2736
2713
  (0, _inherits2.default)(ProductModule, _BaseEntity);
2737
2714
  var _super = _createSuper(ProductModule);
2738
2715
  function ProductModule(properties) {
@@ -2852,7 +2829,6 @@ var ProductModule = /*#__PURE__*/function (_BaseEntity) {
2852
2829
  }]);
2853
2830
  return ProductModule;
2854
2831
  }(_BaseEntity2.default);
2855
- exports["default"] = ProductModule;
2856
2832
 
2857
2833
  /***/ }),
2858
2834
 
@@ -2875,11 +2851,11 @@ var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(3808));
2875
2851
  var _BaseEntity2 = _interopRequireDefault(__webpack_require__(389));
2876
2852
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
2877
2853
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
2878
- * @author Labs64 <netlicensing@labs64.com>
2879
- * @license Apache-2.0
2880
- * @link https://netlicensing.io
2881
- * @copyright 2017 Labs64 NetLicensing
2882
- */
2854
+ * @author Labs64 <netlicensing@labs64.com>
2855
+ * @license Apache-2.0
2856
+ * @link https://netlicensing.io
2857
+ * @copyright 2017 Labs64 NetLicensing
2858
+ */
2883
2859
  /**
2884
2860
  * Product module entity used internally by NetLicensing.
2885
2861
  *
@@ -2906,7 +2882,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
2906
2882
  *
2907
2883
  * @constructor
2908
2884
  */
2909
- var Token = /*#__PURE__*/function (_BaseEntity) {
2885
+ var Token = exports["default"] = /*#__PURE__*/function (_BaseEntity) {
2910
2886
  (0, _inherits2.default)(Token, _BaseEntity);
2911
2887
  var _super = _createSuper(Token);
2912
2888
  function Token(properties) {
@@ -3066,7 +3042,6 @@ var Token = /*#__PURE__*/function (_BaseEntity) {
3066
3042
  }]);
3067
3043
  return Token;
3068
3044
  }(_BaseEntity2.default);
3069
- exports["default"] = Token;
3070
3045
 
3071
3046
  /***/ }),
3072
3047
 
@@ -3091,11 +3066,11 @@ var _LicenseTransactionJoin = _interopRequireDefault(__webpack_require__(3089));
3091
3066
  var _License = _interopRequireDefault(__webpack_require__(9763));
3092
3067
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
3093
3068
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
3094
- * @author Labs64 <netlicensing@labs64.com>
3095
- * @license Apache-2.0
3096
- * @link https://netlicensing.io
3097
- * @copyright 2017 Labs64 NetLicensing
3098
- */
3069
+ * @author Labs64 <netlicensing@labs64.com>
3070
+ * @license Apache-2.0
3071
+ * @link https://netlicensing.io
3072
+ * @copyright 2017 Labs64 NetLicensing
3073
+ */
3099
3074
  /**
3100
3075
  * Transaction entity used internally by NetLicensing.
3101
3076
  *
@@ -3131,7 +3106,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
3131
3106
  *
3132
3107
  * @constructor
3133
3108
  */
3134
- var Transaction = /*#__PURE__*/function (_BaseEntity) {
3109
+ var Transaction = exports["default"] = /*#__PURE__*/function (_BaseEntity) {
3135
3110
  (0, _inherits2.default)(Transaction, _BaseEntity);
3136
3111
  var _super = _createSuper(Transaction);
3137
3112
  function Transaction(properties) {
@@ -3293,7 +3268,6 @@ var Transaction = /*#__PURE__*/function (_BaseEntity) {
3293
3268
  }]);
3294
3269
  return Transaction;
3295
3270
  }(_BaseEntity2.default);
3296
- exports["default"] = Transaction;
3297
3271
 
3298
3272
  /***/ }),
3299
3273
 
@@ -3316,7 +3290,7 @@ var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(3808));
3316
3290
  var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(3496));
3317
3291
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
3318
3292
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
3319
- var NlicError = /*#__PURE__*/function (_Error) {
3293
+ var NlicError = exports["default"] = /*#__PURE__*/function (_Error) {
3320
3294
  (0, _inherits2.default)(NlicError, _Error);
3321
3295
  var _super = _createSuper(NlicError);
3322
3296
  function NlicError() {
@@ -3357,7 +3331,6 @@ var NlicError = /*#__PURE__*/function (_Error) {
3357
3331
  }]);
3358
3332
  return NlicError;
3359
3333
  }( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
3360
- exports["default"] = NlicError;
3361
3334
 
3362
3335
  /***/ }),
3363
3336
 
@@ -3395,7 +3368,7 @@ var _Page = _interopRequireDefault(__webpack_require__(9407));
3395
3368
  *
3396
3369
  * @constructor
3397
3370
  */
3398
- var _default = {
3371
+ var _default = exports["default"] = {
3399
3372
  /**
3400
3373
  * Creates new bundle with given properties.See NetLicensingAPI for details:
3401
3374
  * @see https://netlicensing.io/wiki/bundle-services#create-bundle
@@ -3628,7 +3601,6 @@ var _default = {
3628
3601
  }))();
3629
3602
  }
3630
3603
  };
3631
- exports["default"] = _default;
3632
3604
 
3633
3605
  /***/ }),
3634
3606
 
@@ -3664,7 +3636,7 @@ var _Page = _interopRequireDefault(__webpack_require__(9407));
3664
3636
  *
3665
3637
  * @constructor
3666
3638
  */
3667
- var _default = {
3639
+ var _default = exports["default"] = {
3668
3640
  /**
3669
3641
  * Creates new license object with given properties.See NetLicensingAPI for details:
3670
3642
  * @see https://netlicensing.io/wiki/license-services#create-license
@@ -3877,7 +3849,6 @@ var _default = {
3877
3849
  return _Service.default.delete(context, "".concat(_Constants.default.License.ENDPOINT_PATH, "/").concat(number), queryParams);
3878
3850
  }
3879
3851
  };
3880
- exports["default"] = _default;
3881
3852
 
3882
3853
  /***/ }),
3883
3854
 
@@ -3913,7 +3884,7 @@ var _Page = _interopRequireDefault(__webpack_require__(9407));
3913
3884
  *
3914
3885
  * @constructor
3915
3886
  */
3916
- var _default = {
3887
+ var _default = exports["default"] = {
3917
3888
  /**
3918
3889
  * Creates new license template object with given properties.See NetLicensingAPI for details:
3919
3890
  * @see https://netlicensing.io/wiki/license-template-services#create-license-template
@@ -4108,7 +4079,6 @@ var _default = {
4108
4079
  return _Service.default.delete(context, "".concat(_Constants.default.LicenseTemplate.ENDPOINT_PATH, "/").concat(number), queryParams);
4109
4080
  }
4110
4081
  };
4111
- exports["default"] = _default;
4112
4082
 
4113
4083
  /***/ }),
4114
4084
 
@@ -4146,7 +4116,7 @@ var _itemToObject = _interopRequireDefault(__webpack_require__(7106));
4146
4116
  *
4147
4117
  * @constructor
4148
4118
  */
4149
- var _default = {
4119
+ var _default = exports["default"] = {
4150
4120
  /**
4151
4121
  * Creates new licensee object with given properties.See NetLicensingAPI for details:
4152
4122
  * @see https://netlicensing.io/wiki/licensee-services#create-licensee
@@ -4439,7 +4409,6 @@ var _default = {
4439
4409
  return _Service.default.post(context, "".concat(_Constants.default.Licensee.ENDPOINT_PATH, "/").concat(number, "/").concat(_Constants.default.Licensee.ENDPOINT_PATH_TRANSFER), queryParams);
4440
4410
  }
4441
4411
  };
4442
- exports["default"] = _default;
4443
4412
 
4444
4413
  /***/ }),
4445
4414
 
@@ -4475,7 +4444,7 @@ var _Page = _interopRequireDefault(__webpack_require__(9407));
4475
4444
  *
4476
4445
  * @constructor
4477
4446
  */
4478
- var _default = {
4447
+ var _default = exports["default"] = {
4479
4448
  /**
4480
4449
  * Creates new notification with given properties.See NetLicensingAPI for details:
4481
4450
  * @see https://netlicensing.io/wiki/notification-services#create-notification
@@ -4658,7 +4627,6 @@ var _default = {
4658
4627
  return _Service.default.delete(context, "".concat(_Constants.default.Notification.ENDPOINT_PATH, "/").concat(number));
4659
4628
  }
4660
4629
  };
4661
- exports["default"] = _default;
4662
4630
 
4663
4631
  /***/ }),
4664
4632
 
@@ -4688,7 +4656,7 @@ var _Page = _interopRequireDefault(__webpack_require__(9407));
4688
4656
  * @link https://netlicensing.io
4689
4657
  * @copyright 2017 Labs64 NetLicensing
4690
4658
  */
4691
- var _default = {
4659
+ var _default = exports["default"] = {
4692
4660
  /**
4693
4661
  * Gets payment method by its number.See NetLicensingAPI for details:
4694
4662
  * @see https://netlicensing.io/wiki/payment-method-services#get-payment-method
@@ -4818,7 +4786,6 @@ var _default = {
4818
4786
  }))();
4819
4787
  }
4820
4788
  };
4821
- exports["default"] = _default;
4822
4789
 
4823
4790
  /***/ }),
4824
4791
 
@@ -4854,7 +4821,7 @@ var _Page = _interopRequireDefault(__webpack_require__(9407));
4854
4821
  *
4855
4822
  * @constructor
4856
4823
  */
4857
- var _default = {
4824
+ var _default = exports["default"] = {
4858
4825
  /**
4859
4826
  * Creates new product module object with given properties.See NetLicensingAPI for details:
4860
4827
  * @see https://netlicensing.io/wiki/product-module-services#create-product-module
@@ -5048,7 +5015,6 @@ var _default = {
5048
5015
  return _Service.default.delete(context, "".concat(_Constants.default.ProductModule.ENDPOINT_PATH, "/").concat(number), queryParams);
5049
5016
  }
5050
5017
  };
5051
- exports["default"] = _default;
5052
5018
 
5053
5019
  /***/ }),
5054
5020
 
@@ -5084,7 +5050,7 @@ var _Page = _interopRequireDefault(__webpack_require__(9407));
5084
5050
  *
5085
5051
  * @constructor
5086
5052
  */
5087
- var _default = {
5053
+ var _default = exports["default"] = {
5088
5054
  /**
5089
5055
  * Creates new product with given properties.See NetLicensingAPI for details:
5090
5056
  * @see https://netlicensing.io/wiki/product-services#create-product
@@ -5273,7 +5239,6 @@ var _default = {
5273
5239
  return _Service.default.delete(context, "".concat(_Constants.default.Product.ENDPOINT_PATH, "/").concat(number), queryParams);
5274
5240
  }
5275
5241
  };
5276
- exports["default"] = _default;
5277
5242
 
5278
5243
  /***/ }),
5279
5244
 
@@ -5306,7 +5271,7 @@ var _package = _interopRequireDefault(__webpack_require__(4147));
5306
5271
 
5307
5272
  var httpXHR = {};
5308
5273
  var axiosInstance = null;
5309
- var Service = /*#__PURE__*/function () {
5274
+ var Service = exports["default"] = /*#__PURE__*/function () {
5310
5275
  function Service() {
5311
5276
  (0, _classCallCheck2.default)(this, Service);
5312
5277
  }
@@ -5533,7 +5498,6 @@ var Service = /*#__PURE__*/function () {
5533
5498
  }]);
5534
5499
  return Service;
5535
5500
  }();
5536
- exports["default"] = Service;
5537
5501
 
5538
5502
  /***/ }),
5539
5503
 
@@ -5569,7 +5533,7 @@ var _Page = _interopRequireDefault(__webpack_require__(9407));
5569
5533
  *
5570
5534
  * @constructor
5571
5535
  */
5572
- var _default = {
5536
+ var _default = exports["default"] = {
5573
5537
  /**
5574
5538
  * Creates new token.See NetLicensingAPI for details:
5575
5539
  * @see https://netlicensing.io/wiki/token-services#create-token
@@ -5711,7 +5675,6 @@ var _default = {
5711
5675
  return _Service.default.delete(context, "".concat(_Constants.default.Token.ENDPOINT_PATH, "/").concat(number));
5712
5676
  }
5713
5677
  };
5714
- exports["default"] = _default;
5715
5678
 
5716
5679
  /***/ }),
5717
5680
 
@@ -5755,7 +5718,7 @@ var _Page = _interopRequireDefault(__webpack_require__(9407));
5755
5718
  *
5756
5719
  * @constructor
5757
5720
  */
5758
- var _default = {
5721
+ var _default = exports["default"] = {
5759
5722
  /**
5760
5723
  * Creates new transaction object with given properties.See NetLicensingAPI for details:
5761
5724
  * @see https://netlicensing.io/wiki/transaction-services#create-transaction
@@ -5921,7 +5884,6 @@ var _default = {
5921
5884
  }))();
5922
5885
  }
5923
5886
  };
5924
- exports["default"] = _default;
5925
5887
 
5926
5888
  /***/ }),
5927
5889
 
@@ -5956,7 +5918,7 @@ var _itemToCountry = _interopRequireDefault(__webpack_require__(3213));
5956
5918
  * https://netlicensing.io/wiki/utility-services
5957
5919
  * @constructor
5958
5920
  */
5959
- var _default = {
5921
+ var _default = exports["default"] = {
5960
5922
  /**
5961
5923
  * Returns all license types. See NetLicensingAPI for details:
5962
5924
  * @see https://netlicensing.io/wiki/utility-services#license-types-list
@@ -6075,7 +6037,6 @@ var _default = {
6075
6037
  }))();
6076
6038
  }
6077
6039
  };
6078
- exports["default"] = _default;
6079
6040
 
6080
6041
  /***/ }),
6081
6042
 
@@ -6096,7 +6057,7 @@ exports["default"] = void 0;
6096
6057
  * @copyright 2017 Labs64 NetLicensing
6097
6058
  */
6098
6059
  // Cast an attribute to a native JS type.
6099
- var _default = function _default(key, value) {
6060
+ var _default = exports["default"] = function _default(key, value) {
6100
6061
  switch (key.trim().toLowerCase()) {
6101
6062
  case 'str':
6102
6063
  case 'string':
@@ -6131,7 +6092,6 @@ var _default = function _default(key, value) {
6131
6092
  return value;
6132
6093
  }
6133
6094
  };
6134
- exports["default"] = _default;
6135
6095
 
6136
6096
  /***/ }),
6137
6097
 
@@ -6151,7 +6111,7 @@ exports["default"] = void 0;
6151
6111
  * @link https://netlicensing.io
6152
6112
  * @copyright 2017 Labs64 NetLicensing
6153
6113
  */
6154
- var _default = {
6114
+ var _default = exports["default"] = {
6155
6115
  isValid: function isValid(value) {
6156
6116
  var valid = value !== undefined && typeof value !== 'function';
6157
6117
  if (typeof value === 'number') valid = Number.isFinite(value) && !Number.isNaN(value);
@@ -6166,7 +6126,6 @@ var _default = {
6166
6126
  if (!parameter) throw new TypeError("Parameter ".concat(parameterName, " cannot be null or empty string"));
6167
6127
  }
6168
6128
  };
6169
- exports["default"] = _default;
6170
6129
 
6171
6130
  /***/ }),
6172
6131
 
@@ -6182,7 +6141,7 @@ Object.defineProperty(exports, "__esModule", ({
6182
6141
  }));
6183
6142
  exports["default"] = void 0;
6184
6143
  var _slicedToArray2 = _interopRequireDefault(__webpack_require__(7424));
6185
- var _default = {
6144
+ var _default = exports["default"] = {
6186
6145
  FILTER_DELIMITER: ';',
6187
6146
  FILTER_PAIR_DELIMITER: '=',
6188
6147
  encode: function encode() {
@@ -6211,7 +6170,6 @@ var _default = {
6211
6170
  return filter;
6212
6171
  }
6213
6172
  };
6214
- exports["default"] = _default;
6215
6173
 
6216
6174
  /***/ }),
6217
6175
 
@@ -6234,7 +6192,7 @@ var _createClass2 = _interopRequireDefault(__webpack_require__(9728));
6234
6192
  * @link https://netlicensing.io
6235
6193
  * @copyright 2017 Labs64 NetLicensing
6236
6194
  */
6237
- var BundleObtainParameters = /*#__PURE__*/function () {
6195
+ var BundleObtainParameters = exports["default"] = /*#__PURE__*/function () {
6238
6196
  function BundleObtainParameters() {
6239
6197
  (0, _classCallCheck2.default)(this, BundleObtainParameters);
6240
6198
  this.licenseeNumber = '';
@@ -6253,7 +6211,6 @@ var BundleObtainParameters = /*#__PURE__*/function () {
6253
6211
  }]);
6254
6212
  return BundleObtainParameters;
6255
6213
  }();
6256
- exports["default"] = BundleObtainParameters;
6257
6214
 
6258
6215
  /***/ }),
6259
6216
 
@@ -6274,13 +6231,13 @@ var _classCallCheck2 = _interopRequireDefault(__webpack_require__(6690));
6274
6231
  var _createClass2 = _interopRequireDefault(__webpack_require__(9728));
6275
6232
  var _Constants = _interopRequireDefault(__webpack_require__(1480));
6276
6233
  var _CheckUtils = _interopRequireDefault(__webpack_require__(5661));
6277
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6278
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /**
6279
- * @author Labs64 <netlicensing@labs64.com>
6280
- * @license Apache-2.0
6281
- * @link https://netlicensing.io
6282
- * @copyright 2017 Labs64 NetLicensing
6283
- */
6234
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6235
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /**
6236
+ * @author Labs64 <netlicensing@labs64.com>
6237
+ * @license Apache-2.0
6238
+ * @link https://netlicensing.io
6239
+ * @copyright 2017 Labs64 NetLicensing
6240
+ */
6284
6241
  /**
6285
6242
  * The context values.
6286
6243
  * @type {{}}
@@ -6301,7 +6258,7 @@ var definedMap = new WeakMap();
6301
6258
  * @private
6302
6259
  */
6303
6260
  var defaultsMap = new WeakMap();
6304
- var Context = /*#__PURE__*/function () {
6261
+ var Context = exports["default"] = /*#__PURE__*/function () {
6305
6262
  function Context(values) {
6306
6263
  (0, _classCallCheck2.default)(this, Context);
6307
6264
  defaultsMap.set(this, {
@@ -6526,7 +6483,6 @@ var Context = /*#__PURE__*/function () {
6526
6483
  }]);
6527
6484
  return Context;
6528
6485
  }();
6529
- exports["default"] = Context;
6530
6486
 
6531
6487
  /***/ }),
6532
6488
 
@@ -6540,7 +6496,7 @@ Object.defineProperty(exports, "__esModule", ({
6540
6496
  value: true
6541
6497
  }));
6542
6498
  exports["default"] = void 0;
6543
- var _default = function _default() {
6499
+ var _default = exports["default"] = function _default() {
6544
6500
  var content = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
6545
6501
  var pageNumber = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
6546
6502
  var itemsNumber = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
@@ -6576,7 +6532,6 @@ var _default = function _default() {
6576
6532
  }
6577
6533
  });
6578
6534
  };
6579
- exports["default"] = _default;
6580
6535
 
6581
6536
  /***/ }),
6582
6537
 
@@ -6594,15 +6549,15 @@ exports["default"] = void 0;
6594
6549
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(8416));
6595
6550
  var _classCallCheck2 = _interopRequireDefault(__webpack_require__(6690));
6596
6551
  var _createClass2 = _interopRequireDefault(__webpack_require__(9728));
6597
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6598
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6552
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6553
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6599
6554
  /**
6600
6555
  * @author Labs64 <netlicensing@labs64.com>
6601
6556
  * @license Apache-2.0
6602
6557
  * @link https://netlicensing.io
6603
6558
  * @copyright 2017 Labs64 NetLicensing
6604
6559
  */
6605
- var ValidationParameters = /*#__PURE__*/function () {
6560
+ var ValidationParameters = exports["default"] = /*#__PURE__*/function () {
6606
6561
  function ValidationParameters() {
6607
6562
  (0, _classCallCheck2.default)(this, ValidationParameters);
6608
6563
  this.parameters = {};
@@ -6771,7 +6726,6 @@ var ValidationParameters = /*#__PURE__*/function () {
6771
6726
  }]);
6772
6727
  return ValidationParameters;
6773
6728
  }();
6774
- exports["default"] = ValidationParameters;
6775
6729
 
6776
6730
  /***/ }),
6777
6731
 
@@ -6791,14 +6745,14 @@ var _defineProperty2 = _interopRequireDefault(__webpack_require__(8416));
6791
6745
  var _classCallCheck2 = _interopRequireDefault(__webpack_require__(6690));
6792
6746
  var _createClass2 = _interopRequireDefault(__webpack_require__(9728));
6793
6747
  var _CheckUtils = _interopRequireDefault(__webpack_require__(5661));
6794
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6795
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /**
6796
- * @author Labs64 <netlicensing@labs64.com>
6797
- * @license Apache-2.0
6798
- * @link https://netlicensing.io
6799
- * @copyright 2017 Labs64 NetLicensing
6800
- */
6801
- var ValidationResults = /*#__PURE__*/function () {
6748
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6749
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /**
6750
+ * @author Labs64 <netlicensing@labs64.com>
6751
+ * @license Apache-2.0
6752
+ * @link https://netlicensing.io
6753
+ * @copyright 2017 Labs64 NetLicensing
6754
+ */
6755
+ var ValidationResults = exports["default"] = /*#__PURE__*/function () {
6802
6756
  function ValidationResults() {
6803
6757
  (0, _classCallCheck2.default)(this, ValidationResults);
6804
6758
  this.validators = {};
@@ -6857,7 +6811,6 @@ var ValidationResults = /*#__PURE__*/function () {
6857
6811
  }]);
6858
6812
  return ValidationResults;
6859
6813
  }();
6860
- exports["default"] = ValidationResults;
6861
6814
 
6862
6815
  /***/ }),
6863
6816
 
@@ -8123,6 +8076,9 @@ var WriteAfterEndError = createErrorType(
8123
8076
  "write after end"
8124
8077
  );
8125
8078
 
8079
+ // istanbul ignore next
8080
+ var destroy = Writable.prototype.destroy || noop;
8081
+
8126
8082
  // An HTTP(S) request that can be redirected
8127
8083
  function RedirectableRequest(options, responseCallback) {
8128
8084
  // Initialize the request
@@ -8153,10 +8109,17 @@ function RedirectableRequest(options, responseCallback) {
8153
8109
  RedirectableRequest.prototype = Object.create(Writable.prototype);
8154
8110
 
8155
8111
  RedirectableRequest.prototype.abort = function () {
8156
- abortRequest(this._currentRequest);
8112
+ destroyRequest(this._currentRequest);
8113
+ this._currentRequest.abort();
8157
8114
  this.emit("abort");
8158
8115
  };
8159
8116
 
8117
+ RedirectableRequest.prototype.destroy = function (error) {
8118
+ destroyRequest(this._currentRequest, error);
8119
+ destroy.call(this, error);
8120
+ return this;
8121
+ };
8122
+
8160
8123
  // Writes buffered data to the current native request
8161
8124
  RedirectableRequest.prototype.write = function (data, encoding, callback) {
8162
8125
  // Writing is not allowed if end has been called
@@ -8269,6 +8232,7 @@ RedirectableRequest.prototype.setTimeout = function (msecs, callback) {
8269
8232
  self.removeListener("abort", clearTimer);
8270
8233
  self.removeListener("error", clearTimer);
8271
8234
  self.removeListener("response", clearTimer);
8235
+ self.removeListener("close", clearTimer);
8272
8236
  if (callback) {
8273
8237
  self.removeListener("timeout", callback);
8274
8238
  }
@@ -8295,6 +8259,7 @@ RedirectableRequest.prototype.setTimeout = function (msecs, callback) {
8295
8259
  this.on("abort", clearTimer);
8296
8260
  this.on("error", clearTimer);
8297
8261
  this.on("response", clearTimer);
8262
+ this.on("close", clearTimer);
8298
8263
 
8299
8264
  return this;
8300
8265
  };
@@ -8446,7 +8411,7 @@ RedirectableRequest.prototype._processResponse = function (response) {
8446
8411
  }
8447
8412
 
8448
8413
  // The response is a redirect, so abort the current request
8449
- abortRequest(this._currentRequest);
8414
+ destroyRequest(this._currentRequest);
8450
8415
  // Discard the remainder of the response to avoid waiting for data
8451
8416
  response.destroy();
8452
8417
 
@@ -8675,12 +8640,12 @@ function createErrorType(code, message, baseClass) {
8675
8640
  return CustomError;
8676
8641
  }
8677
8642
 
8678
- function abortRequest(request) {
8643
+ function destroyRequest(request, error) {
8679
8644
  for (var event of events) {
8680
8645
  request.removeListener(event, eventHandlers[event]);
8681
8646
  }
8682
8647
  request.on("error", noop);
8683
- request.abort();
8648
+ request.destroy(error);
8684
8649
  }
8685
8650
 
8686
8651
  function isSubdomain(subdomain, domain) {
@@ -10220,7 +10185,11 @@ module.exports = _interopRequireDefault, module.exports.__esModule = true, modul
10220
10185
  /***/ ((module) => {
10221
10186
 
10222
10187
  function _isNativeFunction(fn) {
10223
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
10188
+ try {
10189
+ return Function.toString.call(fn).indexOf("[native code]") !== -1;
10190
+ } catch (e) {
10191
+ return typeof fn === "function";
10192
+ }
10224
10193
  }
10225
10194
  module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports;
10226
10195
 
@@ -10247,31 +10216,31 @@ module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, mo
10247
10216
  /***/ 8872:
10248
10217
  /***/ ((module) => {
10249
10218
 
10250
- function _iterableToArrayLimit(arr, i) {
10251
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
10252
- if (null != _i) {
10253
- var _s,
10254
- _e,
10255
- _x,
10256
- _r,
10257
- _arr = [],
10258
- _n = !0,
10259
- _d = !1;
10219
+ function _iterableToArrayLimit(r, l) {
10220
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
10221
+ if (null != t) {
10222
+ var e,
10223
+ n,
10224
+ i,
10225
+ u,
10226
+ a = [],
10227
+ f = !0,
10228
+ o = !1;
10260
10229
  try {
10261
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
10262
- if (Object(_i) !== _i) return;
10263
- _n = !1;
10264
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
10265
- } catch (err) {
10266
- _d = !0, _e = err;
10230
+ if (i = (t = t.call(r)).next, 0 === l) {
10231
+ if (Object(t) !== t) return;
10232
+ f = !1;
10233
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
10234
+ } catch (r) {
10235
+ o = !0, n = r;
10267
10236
  } finally {
10268
10237
  try {
10269
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
10238
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
10270
10239
  } finally {
10271
- if (_d) throw _e;
10240
+ if (o) throw n;
10272
10241
  }
10273
10242
  }
10274
- return _arr;
10243
+ return a;
10275
10244
  }
10276
10245
  }
10277
10246
  module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
@@ -10312,304 +10281,304 @@ var _typeof = (__webpack_require__(8698)["default"]);
10312
10281
  function _regeneratorRuntime() {
10313
10282
  "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
10314
10283
  module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
10315
- return exports;
10284
+ return e;
10316
10285
  }, module.exports.__esModule = true, module.exports["default"] = module.exports;
10317
- var exports = {},
10318
- Op = Object.prototype,
10319
- hasOwn = Op.hasOwnProperty,
10320
- defineProperty = Object.defineProperty || function (obj, key, desc) {
10321
- obj[key] = desc.value;
10286
+ var t,
10287
+ e = {},
10288
+ r = Object.prototype,
10289
+ n = r.hasOwnProperty,
10290
+ o = Object.defineProperty || function (t, e, r) {
10291
+ t[e] = r.value;
10322
10292
  },
10323
- $Symbol = "function" == typeof Symbol ? Symbol : {},
10324
- iteratorSymbol = $Symbol.iterator || "@@iterator",
10325
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
10326
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
10327
- function define(obj, key, value) {
10328
- return Object.defineProperty(obj, key, {
10329
- value: value,
10293
+ i = "function" == typeof Symbol ? Symbol : {},
10294
+ a = i.iterator || "@@iterator",
10295
+ c = i.asyncIterator || "@@asyncIterator",
10296
+ u = i.toStringTag || "@@toStringTag";
10297
+ function define(t, e, r) {
10298
+ return Object.defineProperty(t, e, {
10299
+ value: r,
10330
10300
  enumerable: !0,
10331
10301
  configurable: !0,
10332
10302
  writable: !0
10333
- }), obj[key];
10303
+ }), t[e];
10334
10304
  }
10335
10305
  try {
10336
10306
  define({}, "");
10337
- } catch (err) {
10338
- define = function define(obj, key, value) {
10339
- return obj[key] = value;
10307
+ } catch (t) {
10308
+ define = function define(t, e, r) {
10309
+ return t[e] = r;
10340
10310
  };
10341
10311
  }
10342
- function wrap(innerFn, outerFn, self, tryLocsList) {
10343
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
10344
- generator = Object.create(protoGenerator.prototype),
10345
- context = new Context(tryLocsList || []);
10346
- return defineProperty(generator, "_invoke", {
10347
- value: makeInvokeMethod(innerFn, self, context)
10348
- }), generator;
10312
+ function wrap(t, e, r, n) {
10313
+ var i = e && e.prototype instanceof Generator ? e : Generator,
10314
+ a = Object.create(i.prototype),
10315
+ c = new Context(n || []);
10316
+ return o(a, "_invoke", {
10317
+ value: makeInvokeMethod(t, r, c)
10318
+ }), a;
10349
10319
  }
10350
- function tryCatch(fn, obj, arg) {
10320
+ function tryCatch(t, e, r) {
10351
10321
  try {
10352
10322
  return {
10353
10323
  type: "normal",
10354
- arg: fn.call(obj, arg)
10324
+ arg: t.call(e, r)
10355
10325
  };
10356
- } catch (err) {
10326
+ } catch (t) {
10357
10327
  return {
10358
10328
  type: "throw",
10359
- arg: err
10329
+ arg: t
10360
10330
  };
10361
10331
  }
10362
10332
  }
10363
- exports.wrap = wrap;
10364
- var ContinueSentinel = {};
10333
+ e.wrap = wrap;
10334
+ var h = "suspendedStart",
10335
+ l = "suspendedYield",
10336
+ f = "executing",
10337
+ s = "completed",
10338
+ y = {};
10365
10339
  function Generator() {}
10366
10340
  function GeneratorFunction() {}
10367
10341
  function GeneratorFunctionPrototype() {}
10368
- var IteratorPrototype = {};
10369
- define(IteratorPrototype, iteratorSymbol, function () {
10342
+ var p = {};
10343
+ define(p, a, function () {
10370
10344
  return this;
10371
10345
  });
10372
- var getProto = Object.getPrototypeOf,
10373
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
10374
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
10375
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
10376
- function defineIteratorMethods(prototype) {
10377
- ["next", "throw", "return"].forEach(function (method) {
10378
- define(prototype, method, function (arg) {
10379
- return this._invoke(method, arg);
10346
+ var d = Object.getPrototypeOf,
10347
+ v = d && d(d(values([])));
10348
+ v && v !== r && n.call(v, a) && (p = v);
10349
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
10350
+ function defineIteratorMethods(t) {
10351
+ ["next", "throw", "return"].forEach(function (e) {
10352
+ define(t, e, function (t) {
10353
+ return this._invoke(e, t);
10380
10354
  });
10381
10355
  });
10382
10356
  }
10383
- function AsyncIterator(generator, PromiseImpl) {
10384
- function invoke(method, arg, resolve, reject) {
10385
- var record = tryCatch(generator[method], generator, arg);
10386
- if ("throw" !== record.type) {
10387
- var result = record.arg,
10388
- value = result.value;
10389
- return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
10390
- invoke("next", value, resolve, reject);
10391
- }, function (err) {
10392
- invoke("throw", err, resolve, reject);
10393
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
10394
- result.value = unwrapped, resolve(result);
10395
- }, function (error) {
10396
- return invoke("throw", error, resolve, reject);
10357
+ function AsyncIterator(t, e) {
10358
+ function invoke(r, o, i, a) {
10359
+ var c = tryCatch(t[r], t, o);
10360
+ if ("throw" !== c.type) {
10361
+ var u = c.arg,
10362
+ h = u.value;
10363
+ return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
10364
+ invoke("next", t, i, a);
10365
+ }, function (t) {
10366
+ invoke("throw", t, i, a);
10367
+ }) : e.resolve(h).then(function (t) {
10368
+ u.value = t, i(u);
10369
+ }, function (t) {
10370
+ return invoke("throw", t, i, a);
10397
10371
  });
10398
10372
  }
10399
- reject(record.arg);
10373
+ a(c.arg);
10400
10374
  }
10401
- var previousPromise;
10402
- defineProperty(this, "_invoke", {
10403
- value: function value(method, arg) {
10375
+ var r;
10376
+ o(this, "_invoke", {
10377
+ value: function value(t, n) {
10404
10378
  function callInvokeWithMethodAndArg() {
10405
- return new PromiseImpl(function (resolve, reject) {
10406
- invoke(method, arg, resolve, reject);
10379
+ return new e(function (e, r) {
10380
+ invoke(t, n, e, r);
10407
10381
  });
10408
10382
  }
10409
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
10383
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
10410
10384
  }
10411
10385
  });
10412
10386
  }
10413
- function makeInvokeMethod(innerFn, self, context) {
10414
- var state = "suspendedStart";
10415
- return function (method, arg) {
10416
- if ("executing" === state) throw new Error("Generator is already running");
10417
- if ("completed" === state) {
10418
- if ("throw" === method) throw arg;
10419
- return doneResult();
10420
- }
10421
- for (context.method = method, context.arg = arg;;) {
10422
- var delegate = context.delegate;
10423
- if (delegate) {
10424
- var delegateResult = maybeInvokeDelegate(delegate, context);
10425
- if (delegateResult) {
10426
- if (delegateResult === ContinueSentinel) continue;
10427
- return delegateResult;
10387
+ function makeInvokeMethod(e, r, n) {
10388
+ var o = h;
10389
+ return function (i, a) {
10390
+ if (o === f) throw new Error("Generator is already running");
10391
+ if (o === s) {
10392
+ if ("throw" === i) throw a;
10393
+ return {
10394
+ value: t,
10395
+ done: !0
10396
+ };
10397
+ }
10398
+ for (n.method = i, n.arg = a;;) {
10399
+ var c = n.delegate;
10400
+ if (c) {
10401
+ var u = maybeInvokeDelegate(c, n);
10402
+ if (u) {
10403
+ if (u === y) continue;
10404
+ return u;
10428
10405
  }
10429
10406
  }
10430
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
10431
- if ("suspendedStart" === state) throw state = "completed", context.arg;
10432
- context.dispatchException(context.arg);
10433
- } else "return" === context.method && context.abrupt("return", context.arg);
10434
- state = "executing";
10435
- var record = tryCatch(innerFn, self, context);
10436
- if ("normal" === record.type) {
10437
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
10407
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
10408
+ if (o === h) throw o = s, n.arg;
10409
+ n.dispatchException(n.arg);
10410
+ } else "return" === n.method && n.abrupt("return", n.arg);
10411
+ o = f;
10412
+ var p = tryCatch(e, r, n);
10413
+ if ("normal" === p.type) {
10414
+ if (o = n.done ? s : l, p.arg === y) continue;
10438
10415
  return {
10439
- value: record.arg,
10440
- done: context.done
10416
+ value: p.arg,
10417
+ done: n.done
10441
10418
  };
10442
10419
  }
10443
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
10420
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
10444
10421
  }
10445
10422
  };
10446
10423
  }
10447
- function maybeInvokeDelegate(delegate, context) {
10448
- var methodName = context.method,
10449
- method = delegate.iterator[methodName];
10450
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
10451
- var record = tryCatch(method, delegate.iterator, context.arg);
10452
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
10453
- var info = record.arg;
10454
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
10455
- }
10456
- function pushTryEntry(locs) {
10457
- var entry = {
10458
- tryLoc: locs[0]
10424
+ function maybeInvokeDelegate(e, r) {
10425
+ var n = r.method,
10426
+ o = e.iterator[n];
10427
+ if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
10428
+ var i = tryCatch(o, e.iterator, r.arg);
10429
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
10430
+ var a = i.arg;
10431
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
10432
+ }
10433
+ function pushTryEntry(t) {
10434
+ var e = {
10435
+ tryLoc: t[0]
10459
10436
  };
10460
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
10437
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
10461
10438
  }
10462
- function resetTryEntry(entry) {
10463
- var record = entry.completion || {};
10464
- record.type = "normal", delete record.arg, entry.completion = record;
10439
+ function resetTryEntry(t) {
10440
+ var e = t.completion || {};
10441
+ e.type = "normal", delete e.arg, t.completion = e;
10465
10442
  }
10466
- function Context(tryLocsList) {
10443
+ function Context(t) {
10467
10444
  this.tryEntries = [{
10468
10445
  tryLoc: "root"
10469
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
10470
- }
10471
- function values(iterable) {
10472
- if (iterable) {
10473
- var iteratorMethod = iterable[iteratorSymbol];
10474
- if (iteratorMethod) return iteratorMethod.call(iterable);
10475
- if ("function" == typeof iterable.next) return iterable;
10476
- if (!isNaN(iterable.length)) {
10477
- var i = -1,
10478
- next = function next() {
10479
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
10480
- return next.value = undefined, next.done = !0, next;
10446
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
10447
+ }
10448
+ function values(e) {
10449
+ if (e || "" === e) {
10450
+ var r = e[a];
10451
+ if (r) return r.call(e);
10452
+ if ("function" == typeof e.next) return e;
10453
+ if (!isNaN(e.length)) {
10454
+ var o = -1,
10455
+ i = function next() {
10456
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
10457
+ return next.value = t, next.done = !0, next;
10481
10458
  };
10482
- return next.next = next;
10459
+ return i.next = i;
10483
10460
  }
10484
10461
  }
10485
- return {
10486
- next: doneResult
10487
- };
10462
+ throw new TypeError(_typeof(e) + " is not iterable");
10488
10463
  }
10489
- function doneResult() {
10490
- return {
10491
- value: undefined,
10492
- done: !0
10493
- };
10494
- }
10495
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
10464
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
10496
10465
  value: GeneratorFunctionPrototype,
10497
10466
  configurable: !0
10498
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
10467
+ }), o(GeneratorFunctionPrototype, "constructor", {
10499
10468
  value: GeneratorFunction,
10500
10469
  configurable: !0
10501
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
10502
- var ctor = "function" == typeof genFun && genFun.constructor;
10503
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
10504
- }, exports.mark = function (genFun) {
10505
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
10506
- }, exports.awrap = function (arg) {
10470
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
10471
+ var e = "function" == typeof t && t.constructor;
10472
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
10473
+ }, e.mark = function (t) {
10474
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
10475
+ }, e.awrap = function (t) {
10507
10476
  return {
10508
- __await: arg
10477
+ __await: t
10509
10478
  };
10510
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
10479
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
10511
10480
  return this;
10512
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
10513
- void 0 === PromiseImpl && (PromiseImpl = Promise);
10514
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
10515
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
10516
- return result.done ? result.value : iter.next();
10481
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
10482
+ void 0 === i && (i = Promise);
10483
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
10484
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
10485
+ return t.done ? t.value : a.next();
10517
10486
  });
10518
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
10487
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
10519
10488
  return this;
10520
- }), define(Gp, "toString", function () {
10489
+ }), define(g, "toString", function () {
10521
10490
  return "[object Generator]";
10522
- }), exports.keys = function (val) {
10523
- var object = Object(val),
10524
- keys = [];
10525
- for (var key in object) keys.push(key);
10526
- return keys.reverse(), function next() {
10527
- for (; keys.length;) {
10528
- var key = keys.pop();
10529
- if (key in object) return next.value = key, next.done = !1, next;
10491
+ }), e.keys = function (t) {
10492
+ var e = Object(t),
10493
+ r = [];
10494
+ for (var n in e) r.push(n);
10495
+ return r.reverse(), function next() {
10496
+ for (; r.length;) {
10497
+ var t = r.pop();
10498
+ if (t in e) return next.value = t, next.done = !1, next;
10530
10499
  }
10531
10500
  return next.done = !0, next;
10532
10501
  };
10533
- }, exports.values = values, Context.prototype = {
10502
+ }, e.values = values, Context.prototype = {
10534
10503
  constructor: Context,
10535
- reset: function reset(skipTempReset) {
10536
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
10504
+ reset: function reset(e) {
10505
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
10537
10506
  },
10538
10507
  stop: function stop() {
10539
10508
  this.done = !0;
10540
- var rootRecord = this.tryEntries[0].completion;
10541
- if ("throw" === rootRecord.type) throw rootRecord.arg;
10509
+ var t = this.tryEntries[0].completion;
10510
+ if ("throw" === t.type) throw t.arg;
10542
10511
  return this.rval;
10543
10512
  },
10544
- dispatchException: function dispatchException(exception) {
10545
- if (this.done) throw exception;
10546
- var context = this;
10547
- function handle(loc, caught) {
10548
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
10549
- }
10550
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
10551
- var entry = this.tryEntries[i],
10552
- record = entry.completion;
10553
- if ("root" === entry.tryLoc) return handle("end");
10554
- if (entry.tryLoc <= this.prev) {
10555
- var hasCatch = hasOwn.call(entry, "catchLoc"),
10556
- hasFinally = hasOwn.call(entry, "finallyLoc");
10557
- if (hasCatch && hasFinally) {
10558
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
10559
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
10560
- } else if (hasCatch) {
10561
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
10513
+ dispatchException: function dispatchException(e) {
10514
+ if (this.done) throw e;
10515
+ var r = this;
10516
+ function handle(n, o) {
10517
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
10518
+ }
10519
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
10520
+ var i = this.tryEntries[o],
10521
+ a = i.completion;
10522
+ if ("root" === i.tryLoc) return handle("end");
10523
+ if (i.tryLoc <= this.prev) {
10524
+ var c = n.call(i, "catchLoc"),
10525
+ u = n.call(i, "finallyLoc");
10526
+ if (c && u) {
10527
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
10528
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
10529
+ } else if (c) {
10530
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
10562
10531
  } else {
10563
- if (!hasFinally) throw new Error("try statement without catch or finally");
10564
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
10532
+ if (!u) throw new Error("try statement without catch or finally");
10533
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
10565
10534
  }
10566
10535
  }
10567
10536
  }
10568
10537
  },
10569
- abrupt: function abrupt(type, arg) {
10570
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
10571
- var entry = this.tryEntries[i];
10572
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
10573
- var finallyEntry = entry;
10538
+ abrupt: function abrupt(t, e) {
10539
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
10540
+ var o = this.tryEntries[r];
10541
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
10542
+ var i = o;
10574
10543
  break;
10575
10544
  }
10576
10545
  }
10577
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
10578
- var record = finallyEntry ? finallyEntry.completion : {};
10579
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
10546
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
10547
+ var a = i ? i.completion : {};
10548
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
10580
10549
  },
10581
- complete: function complete(record, afterLoc) {
10582
- if ("throw" === record.type) throw record.arg;
10583
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
10550
+ complete: function complete(t, e) {
10551
+ if ("throw" === t.type) throw t.arg;
10552
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
10584
10553
  },
10585
- finish: function finish(finallyLoc) {
10586
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
10587
- var entry = this.tryEntries[i];
10588
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
10554
+ finish: function finish(t) {
10555
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
10556
+ var r = this.tryEntries[e];
10557
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
10589
10558
  }
10590
10559
  },
10591
- "catch": function _catch(tryLoc) {
10592
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
10593
- var entry = this.tryEntries[i];
10594
- if (entry.tryLoc === tryLoc) {
10595
- var record = entry.completion;
10596
- if ("throw" === record.type) {
10597
- var thrown = record.arg;
10598
- resetTryEntry(entry);
10560
+ "catch": function _catch(t) {
10561
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
10562
+ var r = this.tryEntries[e];
10563
+ if (r.tryLoc === t) {
10564
+ var n = r.completion;
10565
+ if ("throw" === n.type) {
10566
+ var o = n.arg;
10567
+ resetTryEntry(r);
10599
10568
  }
10600
- return thrown;
10569
+ return o;
10601
10570
  }
10602
10571
  }
10603
10572
  throw new Error("illegal catch attempt");
10604
10573
  },
10605
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
10574
+ delegateYield: function delegateYield(e, r, n) {
10606
10575
  return this.delegate = {
10607
- iterator: values(iterable),
10608
- resultName: resultName,
10609
- nextLoc: nextLoc
10610
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
10576
+ iterator: values(e),
10577
+ resultName: r,
10578
+ nextLoc: n
10579
+ }, "next" === this.method && (this.arg = t), y;
10611
10580
  }
10612
- }, exports;
10581
+ }, e;
10613
10582
  }
10614
10583
  module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
10615
10584
 
@@ -10662,17 +10631,17 @@ module.exports = _superPropBase, module.exports.__esModule = true, module.export
10662
10631
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
10663
10632
 
10664
10633
  var _typeof = (__webpack_require__(8698)["default"]);
10665
- function _toPrimitive(input, hint) {
10666
- if (_typeof(input) !== "object" || input === null) return input;
10667
- var prim = input[Symbol.toPrimitive];
10668
- if (prim !== undefined) {
10669
- var res = prim.call(input, hint || "default");
10670
- if (_typeof(res) !== "object") return res;
10634
+ function toPrimitive(t, r) {
10635
+ if ("object" != _typeof(t) || !t) return t;
10636
+ var e = t[Symbol.toPrimitive];
10637
+ if (void 0 !== e) {
10638
+ var i = e.call(t, r || "default");
10639
+ if ("object" != _typeof(i)) return i;
10671
10640
  throw new TypeError("@@toPrimitive must return a primitive value.");
10672
10641
  }
10673
- return (hint === "string" ? String : Number)(input);
10642
+ return ("string" === r ? String : Number)(t);
10674
10643
  }
10675
- module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
10644
+ module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
10676
10645
 
10677
10646
  /***/ }),
10678
10647
 
@@ -10681,25 +10650,25 @@ module.exports = _toPrimitive, module.exports.__esModule = true, module.exports[
10681
10650
 
10682
10651
  var _typeof = (__webpack_require__(8698)["default"]);
10683
10652
  var toPrimitive = __webpack_require__(5036);
10684
- function _toPropertyKey(arg) {
10685
- var key = toPrimitive(arg, "string");
10686
- return _typeof(key) === "symbol" ? key : String(key);
10653
+ function toPropertyKey(t) {
10654
+ var i = toPrimitive(t, "string");
10655
+ return "symbol" == _typeof(i) ? i : String(i);
10687
10656
  }
10688
- module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
10657
+ module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
10689
10658
 
10690
10659
  /***/ }),
10691
10660
 
10692
10661
  /***/ 8698:
10693
10662
  /***/ ((module) => {
10694
10663
 
10695
- function _typeof(obj) {
10664
+ function _typeof(o) {
10696
10665
  "@babel/helpers - typeof";
10697
10666
 
10698
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
10699
- return typeof obj;
10700
- } : function (obj) {
10701
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
10702
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
10667
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
10668
+ return typeof o;
10669
+ } : function (o) {
10670
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
10671
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
10703
10672
  }
10704
10673
  module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
10705
10674
 
@@ -10784,7 +10753,7 @@ try {
10784
10753
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
10785
10754
 
10786
10755
  "use strict";
10787
- // Axios v1.4.0 Copyright (c) 2023 Matt Zabriskie and contributors
10756
+ // Axios v1.6.2 Copyright (c) 2023 Matt Zabriskie and contributors
10788
10757
 
10789
10758
 
10790
10759
  const FormData$1 = __webpack_require__(6882);
@@ -11354,8 +11323,9 @@ const reduceDescriptors = (obj, reducer) => {
11354
11323
  const reducedDescriptors = {};
11355
11324
 
11356
11325
  forEach(descriptors, (descriptor, name) => {
11357
- if (reducer(descriptor, name, obj) !== false) {
11358
- reducedDescriptors[name] = descriptor;
11326
+ let ret;
11327
+ if ((ret = reducer(descriptor, name, obj)) !== false) {
11328
+ reducedDescriptors[name] = ret || descriptor;
11359
11329
  }
11360
11330
  });
11361
11331
 
@@ -11481,7 +11451,7 @@ const isAsyncFn = kindOfTest('AsyncFunction');
11481
11451
  const isThenable = (thing) =>
11482
11452
  thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
11483
11453
 
11484
- const utils = {
11454
+ const utils$1 = {
11485
11455
  isArray,
11486
11456
  isArrayBuffer,
11487
11457
  isBuffer,
@@ -11563,7 +11533,7 @@ function AxiosError(message, code, config, request, response) {
11563
11533
  response && (this.response = response);
11564
11534
  }
11565
11535
 
11566
- utils.inherits(AxiosError, Error, {
11536
+ utils$1.inherits(AxiosError, Error, {
11567
11537
  toJSON: function toJSON() {
11568
11538
  return {
11569
11539
  // Standard
@@ -11578,7 +11548,7 @@ utils.inherits(AxiosError, Error, {
11578
11548
  columnNumber: this.columnNumber,
11579
11549
  stack: this.stack,
11580
11550
  // Axios
11581
- config: utils.toJSONObject(this.config),
11551
+ config: utils$1.toJSONObject(this.config),
11582
11552
  code: this.code,
11583
11553
  status: this.response && this.response.status ? this.response.status : null
11584
11554
  };
@@ -11613,7 +11583,7 @@ Object.defineProperty(prototype$1, 'isAxiosError', {value: true});
11613
11583
  AxiosError.from = (error, code, config, request, response, customProps) => {
11614
11584
  const axiosError = Object.create(prototype$1);
11615
11585
 
11616
- utils.toFlatObject(error, axiosError, function filter(obj) {
11586
+ utils$1.toFlatObject(error, axiosError, function filter(obj) {
11617
11587
  return obj !== Error.prototype;
11618
11588
  }, prop => {
11619
11589
  return prop !== 'isAxiosError';
@@ -11638,7 +11608,7 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
11638
11608
  * @returns {boolean}
11639
11609
  */
11640
11610
  function isVisitable(thing) {
11641
- return utils.isPlainObject(thing) || utils.isArray(thing);
11611
+ return utils$1.isPlainObject(thing) || utils$1.isArray(thing);
11642
11612
  }
11643
11613
 
11644
11614
  /**
@@ -11649,7 +11619,7 @@ function isVisitable(thing) {
11649
11619
  * @returns {string} the key without the brackets.
11650
11620
  */
11651
11621
  function removeBrackets(key) {
11652
- return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;
11622
+ return utils$1.endsWith(key, '[]') ? key.slice(0, -2) : key;
11653
11623
  }
11654
11624
 
11655
11625
  /**
@@ -11678,10 +11648,10 @@ function renderKey(path, key, dots) {
11678
11648
  * @returns {boolean}
11679
11649
  */
11680
11650
  function isFlatArray(arr) {
11681
- return utils.isArray(arr) && !arr.some(isVisitable);
11651
+ return utils$1.isArray(arr) && !arr.some(isVisitable);
11682
11652
  }
11683
11653
 
11684
- const predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {
11654
+ const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) {
11685
11655
  return /^is[A-Z]/.test(prop);
11686
11656
  });
11687
11657
 
@@ -11709,7 +11679,7 @@ const predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {
11709
11679
  * @returns
11710
11680
  */
11711
11681
  function toFormData(obj, formData, options) {
11712
- if (!utils.isObject(obj)) {
11682
+ if (!utils$1.isObject(obj)) {
11713
11683
  throw new TypeError('target must be an object');
11714
11684
  }
11715
11685
 
@@ -11717,13 +11687,13 @@ function toFormData(obj, formData, options) {
11717
11687
  formData = formData || new (FormData__default["default"] || FormData)();
11718
11688
 
11719
11689
  // eslint-disable-next-line no-param-reassign
11720
- options = utils.toFlatObject(options, {
11690
+ options = utils$1.toFlatObject(options, {
11721
11691
  metaTokens: true,
11722
11692
  dots: false,
11723
11693
  indexes: false
11724
11694
  }, false, function defined(option, source) {
11725
11695
  // eslint-disable-next-line no-eq-null,eqeqeq
11726
- return !utils.isUndefined(source[option]);
11696
+ return !utils$1.isUndefined(source[option]);
11727
11697
  });
11728
11698
 
11729
11699
  const metaTokens = options.metaTokens;
@@ -11732,24 +11702,24 @@ function toFormData(obj, formData, options) {
11732
11702
  const dots = options.dots;
11733
11703
  const indexes = options.indexes;
11734
11704
  const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
11735
- const useBlob = _Blob && utils.isSpecCompliantForm(formData);
11705
+ const useBlob = _Blob && utils$1.isSpecCompliantForm(formData);
11736
11706
 
11737
- if (!utils.isFunction(visitor)) {
11707
+ if (!utils$1.isFunction(visitor)) {
11738
11708
  throw new TypeError('visitor must be a function');
11739
11709
  }
11740
11710
 
11741
11711
  function convertValue(value) {
11742
11712
  if (value === null) return '';
11743
11713
 
11744
- if (utils.isDate(value)) {
11714
+ if (utils$1.isDate(value)) {
11745
11715
  return value.toISOString();
11746
11716
  }
11747
11717
 
11748
- if (!useBlob && utils.isBlob(value)) {
11718
+ if (!useBlob && utils$1.isBlob(value)) {
11749
11719
  throw new AxiosError('Blob is not supported. Use a Buffer instead.');
11750
11720
  }
11751
11721
 
11752
- if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {
11722
+ if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
11753
11723
  return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);
11754
11724
  }
11755
11725
 
@@ -11770,20 +11740,20 @@ function toFormData(obj, formData, options) {
11770
11740
  let arr = value;
11771
11741
 
11772
11742
  if (value && !path && typeof value === 'object') {
11773
- if (utils.endsWith(key, '{}')) {
11743
+ if (utils$1.endsWith(key, '{}')) {
11774
11744
  // eslint-disable-next-line no-param-reassign
11775
11745
  key = metaTokens ? key : key.slice(0, -2);
11776
11746
  // eslint-disable-next-line no-param-reassign
11777
11747
  value = JSON.stringify(value);
11778
11748
  } else if (
11779
- (utils.isArray(value) && isFlatArray(value)) ||
11780
- ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))
11749
+ (utils$1.isArray(value) && isFlatArray(value)) ||
11750
+ ((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))
11781
11751
  )) {
11782
11752
  // eslint-disable-next-line no-param-reassign
11783
11753
  key = removeBrackets(key);
11784
11754
 
11785
11755
  arr.forEach(function each(el, index) {
11786
- !(utils.isUndefined(el) || el === null) && formData.append(
11756
+ !(utils$1.isUndefined(el) || el === null) && formData.append(
11787
11757
  // eslint-disable-next-line no-nested-ternary
11788
11758
  indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),
11789
11759
  convertValue(el)
@@ -11811,7 +11781,7 @@ function toFormData(obj, formData, options) {
11811
11781
  });
11812
11782
 
11813
11783
  function build(value, path) {
11814
- if (utils.isUndefined(value)) return;
11784
+ if (utils$1.isUndefined(value)) return;
11815
11785
 
11816
11786
  if (stack.indexOf(value) !== -1) {
11817
11787
  throw Error('Circular reference detected in ' + path.join('.'));
@@ -11819,9 +11789,9 @@ function toFormData(obj, formData, options) {
11819
11789
 
11820
11790
  stack.push(value);
11821
11791
 
11822
- utils.forEach(value, function each(el, key) {
11823
- const result = !(utils.isUndefined(el) || el === null) && visitor.call(
11824
- formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers
11792
+ utils$1.forEach(value, function each(el, key) {
11793
+ const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(
11794
+ formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers
11825
11795
  );
11826
11796
 
11827
11797
  if (result === true) {
@@ -11832,7 +11802,7 @@ function toFormData(obj, formData, options) {
11832
11802
  stack.pop();
11833
11803
  }
11834
11804
 
11835
- if (!utils.isObject(obj)) {
11805
+ if (!utils$1.isObject(obj)) {
11836
11806
  throw new TypeError('data must be an object');
11837
11807
  }
11838
11808
 
@@ -11936,7 +11906,7 @@ function buildURL(url, params, options) {
11936
11906
  if (serializeFn) {
11937
11907
  serializedParams = serializeFn(params, options);
11938
11908
  } else {
11939
- serializedParams = utils.isURLSearchParams(params) ?
11909
+ serializedParams = utils$1.isURLSearchParams(params) ?
11940
11910
  params.toString() :
11941
11911
  new AxiosURLSearchParams(params, options).toString(_encode);
11942
11912
  }
@@ -12011,7 +11981,7 @@ class InterceptorManager {
12011
11981
  * @returns {void}
12012
11982
  */
12013
11983
  forEach(fn) {
12014
- utils.forEach(this.handlers, function forEachHandler(h) {
11984
+ utils$1.forEach(this.handlers, function forEachHandler(h) {
12015
11985
  if (h !== null) {
12016
11986
  fn(h);
12017
11987
  }
@@ -12029,7 +11999,7 @@ const transitionalDefaults = {
12029
11999
 
12030
12000
  const URLSearchParams = url__default["default"].URLSearchParams;
12031
12001
 
12032
- const platform = {
12002
+ const platform$1 = {
12033
12003
  isNode: true,
12034
12004
  classes: {
12035
12005
  URLSearchParams,
@@ -12039,10 +12009,64 @@ const platform = {
12039
12009
  protocols: [ 'http', 'https', 'file', 'data' ]
12040
12010
  };
12041
12011
 
12012
+ const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
12013
+
12014
+ /**
12015
+ * Determine if we're running in a standard browser environment
12016
+ *
12017
+ * This allows axios to run in a web worker, and react-native.
12018
+ * Both environments support XMLHttpRequest, but not fully standard globals.
12019
+ *
12020
+ * web workers:
12021
+ * typeof window -> undefined
12022
+ * typeof document -> undefined
12023
+ *
12024
+ * react-native:
12025
+ * navigator.product -> 'ReactNative'
12026
+ * nativescript
12027
+ * navigator.product -> 'NativeScript' or 'NS'
12028
+ *
12029
+ * @returns {boolean}
12030
+ */
12031
+ const hasStandardBrowserEnv = (
12032
+ (product) => {
12033
+ return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0
12034
+ })(typeof navigator !== 'undefined' && navigator.product);
12035
+
12036
+ /**
12037
+ * Determine if we're running in a standard browser webWorker environment
12038
+ *
12039
+ * Although the `isStandardBrowserEnv` method indicates that
12040
+ * `allows axios to run in a web worker`, the WebWorker will still be
12041
+ * filtered out due to its judgment standard
12042
+ * `typeof window !== 'undefined' && typeof document !== 'undefined'`.
12043
+ * This leads to a problem when axios post `FormData` in webWorker
12044
+ */
12045
+ const hasStandardBrowserWebWorkerEnv = (() => {
12046
+ return (
12047
+ typeof WorkerGlobalScope !== 'undefined' &&
12048
+ // eslint-disable-next-line no-undef
12049
+ self instanceof WorkerGlobalScope &&
12050
+ typeof self.importScripts === 'function'
12051
+ );
12052
+ })();
12053
+
12054
+ const utils = /*#__PURE__*/Object.freeze({
12055
+ __proto__: null,
12056
+ hasBrowserEnv: hasBrowserEnv,
12057
+ hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv,
12058
+ hasStandardBrowserEnv: hasStandardBrowserEnv
12059
+ });
12060
+
12061
+ const platform = {
12062
+ ...utils,
12063
+ ...platform$1
12064
+ };
12065
+
12042
12066
  function toURLEncodedForm(data, options) {
12043
12067
  return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
12044
12068
  visitor: function(value, key, path, helpers) {
12045
- if (utils.isBuffer(value)) {
12069
+ if (platform.isNode && utils$1.isBuffer(value)) {
12046
12070
  this.append(key, value.toString('base64'));
12047
12071
  return false;
12048
12072
  }
@@ -12064,7 +12088,7 @@ function parsePropPath(name) {
12064
12088
  // foo.x.y.z
12065
12089
  // foo-x-y-z
12066
12090
  // foo x y z
12067
- return utils.matchAll(/\w+|\[(\w*)]/g, name).map(match => {
12091
+ return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map(match => {
12068
12092
  return match[0] === '[]' ? '' : match[1] || match[0];
12069
12093
  });
12070
12094
  }
@@ -12101,10 +12125,10 @@ function formDataToJSON(formData) {
12101
12125
  let name = path[index++];
12102
12126
  const isNumericKey = Number.isFinite(+name);
12103
12127
  const isLast = index >= path.length;
12104
- name = !name && utils.isArray(target) ? target.length : name;
12128
+ name = !name && utils$1.isArray(target) ? target.length : name;
12105
12129
 
12106
12130
  if (isLast) {
12107
- if (utils.hasOwnProp(target, name)) {
12131
+ if (utils$1.hasOwnProp(target, name)) {
12108
12132
  target[name] = [target[name], value];
12109
12133
  } else {
12110
12134
  target[name] = value;
@@ -12113,23 +12137,23 @@ function formDataToJSON(formData) {
12113
12137
  return !isNumericKey;
12114
12138
  }
12115
12139
 
12116
- if (!target[name] || !utils.isObject(target[name])) {
12140
+ if (!target[name] || !utils$1.isObject(target[name])) {
12117
12141
  target[name] = [];
12118
12142
  }
12119
12143
 
12120
12144
  const result = buildPath(path, value, target[name], index);
12121
12145
 
12122
- if (result && utils.isArray(target[name])) {
12146
+ if (result && utils$1.isArray(target[name])) {
12123
12147
  target[name] = arrayToObject(target[name]);
12124
12148
  }
12125
12149
 
12126
12150
  return !isNumericKey;
12127
12151
  }
12128
12152
 
12129
- if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {
12153
+ if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) {
12130
12154
  const obj = {};
12131
12155
 
12132
- utils.forEachEntry(formData, (name, value) => {
12156
+ utils$1.forEachEntry(formData, (name, value) => {
12133
12157
  buildPath(parsePropPath(name), value, obj, 0);
12134
12158
  });
12135
12159
 
@@ -12139,10 +12163,6 @@ function formDataToJSON(formData) {
12139
12163
  return null;
12140
12164
  }
12141
12165
 
12142
- const DEFAULT_CONTENT_TYPE = {
12143
- 'Content-Type': undefined
12144
- };
12145
-
12146
12166
  /**
12147
12167
  * It takes a string, tries to parse it, and if it fails, it returns the stringified version
12148
12168
  * of the input
@@ -12154,10 +12174,10 @@ const DEFAULT_CONTENT_TYPE = {
12154
12174
  * @returns {string} A stringified version of the rawValue.
12155
12175
  */
12156
12176
  function stringifySafely(rawValue, parser, encoder) {
12157
- if (utils.isString(rawValue)) {
12177
+ if (utils$1.isString(rawValue)) {
12158
12178
  try {
12159
12179
  (parser || JSON.parse)(rawValue);
12160
- return utils.trim(rawValue);
12180
+ return utils$1.trim(rawValue);
12161
12181
  } catch (e) {
12162
12182
  if (e.name !== 'SyntaxError') {
12163
12183
  throw e;
@@ -12177,13 +12197,13 @@ const defaults = {
12177
12197
  transformRequest: [function transformRequest(data, headers) {
12178
12198
  const contentType = headers.getContentType() || '';
12179
12199
  const hasJSONContentType = contentType.indexOf('application/json') > -1;
12180
- const isObjectPayload = utils.isObject(data);
12200
+ const isObjectPayload = utils$1.isObject(data);
12181
12201
 
12182
- if (isObjectPayload && utils.isHTMLForm(data)) {
12202
+ if (isObjectPayload && utils$1.isHTMLForm(data)) {
12183
12203
  data = new FormData(data);
12184
12204
  }
12185
12205
 
12186
- const isFormData = utils.isFormData(data);
12206
+ const isFormData = utils$1.isFormData(data);
12187
12207
 
12188
12208
  if (isFormData) {
12189
12209
  if (!hasJSONContentType) {
@@ -12192,18 +12212,18 @@ const defaults = {
12192
12212
  return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
12193
12213
  }
12194
12214
 
12195
- if (utils.isArrayBuffer(data) ||
12196
- utils.isBuffer(data) ||
12197
- utils.isStream(data) ||
12198
- utils.isFile(data) ||
12199
- utils.isBlob(data)
12215
+ if (utils$1.isArrayBuffer(data) ||
12216
+ utils$1.isBuffer(data) ||
12217
+ utils$1.isStream(data) ||
12218
+ utils$1.isFile(data) ||
12219
+ utils$1.isBlob(data)
12200
12220
  ) {
12201
12221
  return data;
12202
12222
  }
12203
- if (utils.isArrayBufferView(data)) {
12223
+ if (utils$1.isArrayBufferView(data)) {
12204
12224
  return data.buffer;
12205
12225
  }
12206
- if (utils.isURLSearchParams(data)) {
12226
+ if (utils$1.isURLSearchParams(data)) {
12207
12227
  headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
12208
12228
  return data.toString();
12209
12229
  }
@@ -12215,7 +12235,7 @@ const defaults = {
12215
12235
  return toURLEncodedForm(data, this.formSerializer).toString();
12216
12236
  }
12217
12237
 
12218
- if ((isFileList = utils.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
12238
+ if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
12219
12239
  const _FormData = this.env && this.env.FormData;
12220
12240
 
12221
12241
  return toFormData(
@@ -12239,7 +12259,7 @@ const defaults = {
12239
12259
  const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
12240
12260
  const JSONRequested = this.responseType === 'json';
12241
12261
 
12242
- if (data && utils.isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {
12262
+ if (data && utils$1.isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {
12243
12263
  const silentJSONParsing = transitional && transitional.silentJSONParsing;
12244
12264
  const strictJSONParsing = !silentJSONParsing && JSONRequested;
12245
12265
 
@@ -12281,24 +12301,21 @@ const defaults = {
12281
12301
 
12282
12302
  headers: {
12283
12303
  common: {
12284
- 'Accept': 'application/json, text/plain, */*'
12304
+ 'Accept': 'application/json, text/plain, */*',
12305
+ 'Content-Type': undefined
12285
12306
  }
12286
12307
  }
12287
12308
  };
12288
12309
 
12289
- utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
12310
+ utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
12290
12311
  defaults.headers[method] = {};
12291
12312
  });
12292
12313
 
12293
- utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
12294
- defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
12295
- });
12296
-
12297
12314
  const defaults$1 = defaults;
12298
12315
 
12299
12316
  // RawAxiosHeaders whose duplicates are ignored by node
12300
12317
  // c.f. https://nodejs.org/api/http.html#http_message_headers
12301
- const ignoreDuplicateOf = utils.toObjectSet([
12318
+ const ignoreDuplicateOf = utils$1.toObjectSet([
12302
12319
  'age', 'authorization', 'content-length', 'content-type', 'etag',
12303
12320
  'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
12304
12321
  'last-modified', 'location', 'max-forwards', 'proxy-authorization',
@@ -12359,7 +12376,7 @@ function normalizeValue(value) {
12359
12376
  return value;
12360
12377
  }
12361
12378
 
12362
- return utils.isArray(value) ? value.map(normalizeValue) : String(value);
12379
+ return utils$1.isArray(value) ? value.map(normalizeValue) : String(value);
12363
12380
  }
12364
12381
 
12365
12382
  function parseTokens(str) {
@@ -12377,7 +12394,7 @@ function parseTokens(str) {
12377
12394
  const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
12378
12395
 
12379
12396
  function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
12380
- if (utils.isFunction(filter)) {
12397
+ if (utils$1.isFunction(filter)) {
12381
12398
  return filter.call(this, value, header);
12382
12399
  }
12383
12400
 
@@ -12385,13 +12402,13 @@ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
12385
12402
  value = header;
12386
12403
  }
12387
12404
 
12388
- if (!utils.isString(value)) return;
12405
+ if (!utils$1.isString(value)) return;
12389
12406
 
12390
- if (utils.isString(filter)) {
12407
+ if (utils$1.isString(filter)) {
12391
12408
  return value.indexOf(filter) !== -1;
12392
12409
  }
12393
12410
 
12394
- if (utils.isRegExp(filter)) {
12411
+ if (utils$1.isRegExp(filter)) {
12395
12412
  return filter.test(value);
12396
12413
  }
12397
12414
  }
@@ -12404,7 +12421,7 @@ function formatHeader(header) {
12404
12421
  }
12405
12422
 
12406
12423
  function buildAccessors(obj, header) {
12407
- const accessorName = utils.toCamelCase(' ' + header);
12424
+ const accessorName = utils$1.toCamelCase(' ' + header);
12408
12425
 
12409
12426
  ['get', 'set', 'has'].forEach(methodName => {
12410
12427
  Object.defineProperty(obj, methodName + accessorName, {
@@ -12431,7 +12448,7 @@ class AxiosHeaders {
12431
12448
  throw new Error('header name must be a non-empty string');
12432
12449
  }
12433
12450
 
12434
- const key = utils.findKey(self, lHeader);
12451
+ const key = utils$1.findKey(self, lHeader);
12435
12452
 
12436
12453
  if(!key || self[key] === undefined || _rewrite === true || (_rewrite === undefined && self[key] !== false)) {
12437
12454
  self[key || _header] = normalizeValue(_value);
@@ -12439,11 +12456,11 @@ class AxiosHeaders {
12439
12456
  }
12440
12457
 
12441
12458
  const setHeaders = (headers, _rewrite) =>
12442
- utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
12459
+ utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
12443
12460
 
12444
- if (utils.isPlainObject(header) || header instanceof this.constructor) {
12461
+ if (utils$1.isPlainObject(header) || header instanceof this.constructor) {
12445
12462
  setHeaders(header, valueOrRewrite);
12446
- } else if(utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
12463
+ } else if(utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
12447
12464
  setHeaders(parseHeaders(header), valueOrRewrite);
12448
12465
  } else {
12449
12466
  header != null && setHeader(valueOrRewrite, header, rewrite);
@@ -12456,7 +12473,7 @@ class AxiosHeaders {
12456
12473
  header = normalizeHeader(header);
12457
12474
 
12458
12475
  if (header) {
12459
- const key = utils.findKey(this, header);
12476
+ const key = utils$1.findKey(this, header);
12460
12477
 
12461
12478
  if (key) {
12462
12479
  const value = this[key];
@@ -12469,11 +12486,11 @@ class AxiosHeaders {
12469
12486
  return parseTokens(value);
12470
12487
  }
12471
12488
 
12472
- if (utils.isFunction(parser)) {
12489
+ if (utils$1.isFunction(parser)) {
12473
12490
  return parser.call(this, value, key);
12474
12491
  }
12475
12492
 
12476
- if (utils.isRegExp(parser)) {
12493
+ if (utils$1.isRegExp(parser)) {
12477
12494
  return parser.exec(value);
12478
12495
  }
12479
12496
 
@@ -12486,7 +12503,7 @@ class AxiosHeaders {
12486
12503
  header = normalizeHeader(header);
12487
12504
 
12488
12505
  if (header) {
12489
- const key = utils.findKey(this, header);
12506
+ const key = utils$1.findKey(this, header);
12490
12507
 
12491
12508
  return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
12492
12509
  }
@@ -12502,7 +12519,7 @@ class AxiosHeaders {
12502
12519
  _header = normalizeHeader(_header);
12503
12520
 
12504
12521
  if (_header) {
12505
- const key = utils.findKey(self, _header);
12522
+ const key = utils$1.findKey(self, _header);
12506
12523
 
12507
12524
  if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {
12508
12525
  delete self[key];
@@ -12512,7 +12529,7 @@ class AxiosHeaders {
12512
12529
  }
12513
12530
  }
12514
12531
 
12515
- if (utils.isArray(header)) {
12532
+ if (utils$1.isArray(header)) {
12516
12533
  header.forEach(deleteHeader);
12517
12534
  } else {
12518
12535
  deleteHeader(header);
@@ -12541,8 +12558,8 @@ class AxiosHeaders {
12541
12558
  const self = this;
12542
12559
  const headers = {};
12543
12560
 
12544
- utils.forEach(this, (value, header) => {
12545
- const key = utils.findKey(headers, header);
12561
+ utils$1.forEach(this, (value, header) => {
12562
+ const key = utils$1.findKey(headers, header);
12546
12563
 
12547
12564
  if (key) {
12548
12565
  self[key] = normalizeValue(value);
@@ -12571,8 +12588,8 @@ class AxiosHeaders {
12571
12588
  toJSON(asStrings) {
12572
12589
  const obj = Object.create(null);
12573
12590
 
12574
- utils.forEach(this, (value, header) => {
12575
- value != null && value !== false && (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);
12591
+ utils$1.forEach(this, (value, header) => {
12592
+ value != null && value !== false && (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value);
12576
12593
  });
12577
12594
 
12578
12595
  return obj;
@@ -12619,7 +12636,7 @@ class AxiosHeaders {
12619
12636
  }
12620
12637
  }
12621
12638
 
12622
- utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);
12639
+ utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);
12623
12640
 
12624
12641
  return this;
12625
12642
  }
@@ -12627,8 +12644,18 @@ class AxiosHeaders {
12627
12644
 
12628
12645
  AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
12629
12646
 
12630
- utils.freezeMethods(AxiosHeaders.prototype);
12631
- utils.freezeMethods(AxiosHeaders);
12647
+ // reserved names hotfix
12648
+ utils$1.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
12649
+ let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
12650
+ return {
12651
+ get: () => value,
12652
+ set(headerValue) {
12653
+ this[mapped] = headerValue;
12654
+ }
12655
+ }
12656
+ });
12657
+
12658
+ utils$1.freezeMethods(AxiosHeaders);
12632
12659
 
12633
12660
  const AxiosHeaders$1 = AxiosHeaders;
12634
12661
 
@@ -12646,7 +12673,7 @@ function transformData(fns, response) {
12646
12673
  const headers = AxiosHeaders$1.from(context.headers);
12647
12674
  let data = context.data;
12648
12675
 
12649
- utils.forEach(fns, function transform(fn) {
12676
+ utils$1.forEach(fns, function transform(fn) {
12650
12677
  data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);
12651
12678
  });
12652
12679
 
@@ -12674,7 +12701,7 @@ function CanceledError(message, config, request) {
12674
12701
  this.name = 'CanceledError';
12675
12702
  }
12676
12703
 
12677
- utils.inherits(CanceledError, AxiosError, {
12704
+ utils$1.inherits(CanceledError, AxiosError, {
12678
12705
  __CANCEL__: true
12679
12706
  });
12680
12707
 
@@ -12747,7 +12774,7 @@ function buildFullPath(baseURL, requestedURL) {
12747
12774
  return requestedURL;
12748
12775
  }
12749
12776
 
12750
- const VERSION = "1.4.0";
12777
+ const VERSION = "1.6.2";
12751
12778
 
12752
12779
  function parseProtocol(url) {
12753
12780
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
@@ -12888,7 +12915,7 @@ const kInternals = Symbol('internals');
12888
12915
 
12889
12916
  class AxiosTransformStream extends stream__default["default"].Transform{
12890
12917
  constructor(options) {
12891
- options = utils.toFlatObject(options, {
12918
+ options = utils$1.toFlatObject(options, {
12892
12919
  maxRate: 0,
12893
12920
  chunkSize: 64 * 1024,
12894
12921
  minChunkSize: 100,
@@ -12896,7 +12923,7 @@ class AxiosTransformStream extends stream__default["default"].Transform{
12896
12923
  ticksRate: 2,
12897
12924
  samplesCount: 15
12898
12925
  }, null, (prop, source) => {
12899
- return !utils.isUndefined(source[prop]);
12926
+ return !utils$1.isUndefined(source[prop]);
12900
12927
  });
12901
12928
 
12902
12929
  super({
@@ -13085,7 +13112,7 @@ const readBlob = async function* (blob) {
13085
13112
 
13086
13113
  const readBlob$1 = readBlob;
13087
13114
 
13088
- const BOUNDARY_ALPHABET = utils.ALPHABET.ALPHA_DIGIT + '-_';
13115
+ const BOUNDARY_ALPHABET = utils$1.ALPHABET.ALPHA_DIGIT + '-_';
13089
13116
 
13090
13117
  const textEncoder = new util.TextEncoder();
13091
13118
 
@@ -13096,7 +13123,7 @@ const CRLF_BYTES_COUNT = 2;
13096
13123
  class FormDataPart {
13097
13124
  constructor(name, value) {
13098
13125
  const {escapeName} = this.constructor;
13099
- const isStringValue = utils.isString(value);
13126
+ const isStringValue = utils$1.isString(value);
13100
13127
 
13101
13128
  let headers = `Content-Disposition: form-data; name="${escapeName(name)}"${
13102
13129
  !isStringValue && value.name ? `; filename="${escapeName(value.name)}"` : ''
@@ -13123,7 +13150,7 @@ class FormDataPart {
13123
13150
 
13124
13151
  const {value} = this;
13125
13152
 
13126
- if(utils.isTypedArray(value)) {
13153
+ if(utils$1.isTypedArray(value)) {
13127
13154
  yield value;
13128
13155
  } else {
13129
13156
  yield* readBlob$1(value);
@@ -13145,10 +13172,10 @@ const formDataToStream = (form, headersHandler, options) => {
13145
13172
  const {
13146
13173
  tag = 'form-data-boundary',
13147
13174
  size = 25,
13148
- boundary = tag + '-' + utils.generateString(size, BOUNDARY_ALPHABET)
13175
+ boundary = tag + '-' + utils$1.generateString(size, BOUNDARY_ALPHABET)
13149
13176
  } = options || {};
13150
13177
 
13151
- if(!utils.isFormData(form)) {
13178
+ if(!utils$1.isFormData(form)) {
13152
13179
  throw TypeError('FormData instance required');
13153
13180
  }
13154
13181
 
@@ -13168,7 +13195,7 @@ const formDataToStream = (form, headersHandler, options) => {
13168
13195
 
13169
13196
  contentLength += boundaryBytes.byteLength * parts.length;
13170
13197
 
13171
- contentLength = utils.toFiniteNumber(contentLength);
13198
+ contentLength = utils$1.toFiniteNumber(contentLength);
13172
13199
 
13173
13200
  const computedHeaders = {
13174
13201
  'Content-Type': `multipart/form-data; boundary=${boundary}`
@@ -13218,7 +13245,7 @@ class ZlibHeaderTransformStream extends stream__default["default"].Transform {
13218
13245
  const ZlibHeaderTransformStream$1 = ZlibHeaderTransformStream;
13219
13246
 
13220
13247
  const callbackify = (fn, reducer) => {
13221
- return utils.isAsyncFn(fn) ? function (...args) {
13248
+ return utils$1.isAsyncFn(fn) ? function (...args) {
13222
13249
  const cb = args.pop();
13223
13250
  fn.apply(this, args).then((value) => {
13224
13251
  try {
@@ -13242,7 +13269,7 @@ const brotliOptions = {
13242
13269
  finishFlush: zlib__default["default"].constants.BROTLI_OPERATION_FLUSH
13243
13270
  };
13244
13271
 
13245
- const isBrotliSupported = utils.isFunction(zlib__default["default"].createBrotliDecompress);
13272
+ const isBrotliSupported = utils$1.isFunction(zlib__default["default"].createBrotliDecompress);
13246
13273
 
13247
13274
  const {http: httpFollow, https: httpsFollow} = followRedirects__default["default"];
13248
13275
 
@@ -13322,7 +13349,7 @@ function setProxy(options, configProxy, location) {
13322
13349
  };
13323
13350
  }
13324
13351
 
13325
- const isHttpAdapterSupported = typeof process !== 'undefined' && utils.kindOf(process) === 'process';
13352
+ const isHttpAdapterSupported = typeof process !== 'undefined' && utils$1.kindOf(process) === 'process';
13326
13353
 
13327
13354
  // temporary hotfix
13328
13355
 
@@ -13351,6 +13378,18 @@ const wrapAsync = (asyncExecutor) => {
13351
13378
  })
13352
13379
  };
13353
13380
 
13381
+ const resolveFamily = ({address, family}) => {
13382
+ if (!utils$1.isString(address)) {
13383
+ throw TypeError('address must be a string');
13384
+ }
13385
+ return ({
13386
+ address,
13387
+ family: family || (address.indexOf('.') < 0 ? 6 : 4)
13388
+ });
13389
+ };
13390
+
13391
+ const buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : {address, family});
13392
+
13354
13393
  /*eslint consistent-return:0*/
13355
13394
  const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13356
13395
  return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
@@ -13361,15 +13400,16 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13361
13400
  let rejected = false;
13362
13401
  let req;
13363
13402
 
13364
- if (lookup && utils.isAsyncFn(lookup)) {
13365
- lookup = callbackify$1(lookup, (entry) => {
13366
- if(utils.isString(entry)) {
13367
- entry = [entry, entry.indexOf('.') < 0 ? 6 : 4];
13368
- } else if (!utils.isArray(entry)) {
13369
- throw new TypeError('lookup async function must return an array [ip: string, family: number]]')
13370
- }
13371
- return entry;
13372
- });
13403
+ if (lookup) {
13404
+ const _lookup = callbackify$1(lookup, (value) => utils$1.isArray(value) ? value : [value]);
13405
+ // hotfix to support opt.all option which is required for node 20.x
13406
+ lookup = (hostname, opt, cb) => {
13407
+ _lookup(hostname, opt, (err, arg0, arg1) => {
13408
+ const addresses = utils$1.isArray(arg0) ? arg0.map(addr => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)];
13409
+
13410
+ opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
13411
+ });
13412
+ };
13373
13413
  }
13374
13414
 
13375
13415
  // temporary internal emitter until the AxiosRequest class will be implemented
@@ -13437,7 +13477,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13437
13477
  convertedData = convertedData.toString(responseEncoding);
13438
13478
 
13439
13479
  if (!responseEncoding || responseEncoding === 'utf8') {
13440
- convertedData = utils.stripBOM(convertedData);
13480
+ convertedData = utils$1.stripBOM(convertedData);
13441
13481
  }
13442
13482
  } else if (responseType === 'stream') {
13443
13483
  convertedData = stream__default["default"].Readable.from(convertedData);
@@ -13475,7 +13515,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13475
13515
  let maxDownloadRate = undefined;
13476
13516
 
13477
13517
  // support for spec compliant FormData objects
13478
- if (utils.isSpecCompliantForm(data)) {
13518
+ if (utils$1.isSpecCompliantForm(data)) {
13479
13519
  const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
13480
13520
 
13481
13521
  data = formDataToStream$1(data, (formHeaders) => {
@@ -13485,7 +13525,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13485
13525
  boundary: userBoundary && userBoundary[1] || undefined
13486
13526
  });
13487
13527
  // support for https://www.npmjs.com/package/form-data api
13488
- } else if (utils.isFormData(data) && utils.isFunction(data.getHeaders)) {
13528
+ } else if (utils$1.isFormData(data) && utils$1.isFunction(data.getHeaders)) {
13489
13529
  headers.set(data.getHeaders());
13490
13530
 
13491
13531
  if (!headers.hasContentLength()) {
@@ -13496,14 +13536,14 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13496
13536
  } catch (e) {
13497
13537
  }
13498
13538
  }
13499
- } else if (utils.isBlob(data)) {
13539
+ } else if (utils$1.isBlob(data)) {
13500
13540
  data.size && headers.setContentType(data.type || 'application/octet-stream');
13501
13541
  headers.setContentLength(data.size || 0);
13502
13542
  data = stream__default["default"].Readable.from(readBlob$1(data));
13503
- } else if (data && !utils.isStream(data)) {
13504
- if (Buffer.isBuffer(data)) ; else if (utils.isArrayBuffer(data)) {
13543
+ } else if (data && !utils$1.isStream(data)) {
13544
+ if (Buffer.isBuffer(data)) ; else if (utils$1.isArrayBuffer(data)) {
13505
13545
  data = Buffer.from(new Uint8Array(data));
13506
- } else if (utils.isString(data)) {
13546
+ } else if (utils$1.isString(data)) {
13507
13547
  data = Buffer.from(data, 'utf-8');
13508
13548
  } else {
13509
13549
  return reject(new AxiosError(
@@ -13525,9 +13565,9 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13525
13565
  }
13526
13566
  }
13527
13567
 
13528
- const contentLength = utils.toFiniteNumber(headers.getContentLength());
13568
+ const contentLength = utils$1.toFiniteNumber(headers.getContentLength());
13529
13569
 
13530
- if (utils.isArray(maxRate)) {
13570
+ if (utils$1.isArray(maxRate)) {
13531
13571
  maxUploadRate = maxRate[0];
13532
13572
  maxDownloadRate = maxRate[1];
13533
13573
  } else {
@@ -13535,14 +13575,14 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13535
13575
  }
13536
13576
 
13537
13577
  if (data && (onUploadProgress || maxUploadRate)) {
13538
- if (!utils.isStream(data)) {
13578
+ if (!utils$1.isStream(data)) {
13539
13579
  data = stream__default["default"].Readable.from(data, {objectMode: false});
13540
13580
  }
13541
13581
 
13542
13582
  data = stream__default["default"].pipeline([data, new AxiosTransformStream$1({
13543
13583
  length: contentLength,
13544
- maxRate: utils.toFiniteNumber(maxUploadRate)
13545
- })], utils.noop);
13584
+ maxRate: utils$1.toFiniteNumber(maxUploadRate)
13585
+ })], utils$1.noop);
13546
13586
 
13547
13587
  onUploadProgress && data.on('progress', progress => {
13548
13588
  onUploadProgress(Object.assign(progress, {
@@ -13596,11 +13636,13 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13596
13636
  auth,
13597
13637
  protocol,
13598
13638
  family,
13599
- lookup,
13600
13639
  beforeRedirect: dispatchBeforeRedirect,
13601
13640
  beforeRedirects: {}
13602
13641
  };
13603
13642
 
13643
+ // cacheable-lookup integration hotfix
13644
+ !utils$1.isUndefined(lookup) && (options.lookup = lookup);
13645
+
13604
13646
  if (config.socketPath) {
13605
13647
  options.socketPath = config.socketPath;
13606
13648
  } else {
@@ -13647,8 +13689,8 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13647
13689
 
13648
13690
  if (onDownloadProgress) {
13649
13691
  const transformStream = new AxiosTransformStream$1({
13650
- length: utils.toFiniteNumber(responseLength),
13651
- maxRate: utils.toFiniteNumber(maxDownloadRate)
13692
+ length: utils$1.toFiniteNumber(responseLength),
13693
+ maxRate: utils$1.toFiniteNumber(maxDownloadRate)
13652
13694
  });
13653
13695
 
13654
13696
  onDownloadProgress && transformStream.on('progress', progress => {
@@ -13674,7 +13716,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13674
13716
  delete res.headers['content-encoding'];
13675
13717
  }
13676
13718
 
13677
- switch (res.headers['content-encoding']) {
13719
+ switch ((res.headers['content-encoding'] || '').toLowerCase()) {
13678
13720
  /*eslint default-case:0*/
13679
13721
  case 'gzip':
13680
13722
  case 'x-gzip':
@@ -13703,7 +13745,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13703
13745
  }
13704
13746
  }
13705
13747
 
13706
- responseStream = streams.length > 1 ? stream__default["default"].pipeline(streams, utils.noop) : streams[0];
13748
+ responseStream = streams.length > 1 ? stream__default["default"].pipeline(streams, utils$1.noop) : streams[0];
13707
13749
 
13708
13750
  const offListeners = stream__default["default"].finished(responseStream, () => {
13709
13751
  offListeners();
@@ -13765,12 +13807,12 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13765
13807
  if (responseType !== 'arraybuffer') {
13766
13808
  responseData = responseData.toString(responseEncoding);
13767
13809
  if (!responseEncoding || responseEncoding === 'utf8') {
13768
- responseData = utils.stripBOM(responseData);
13810
+ responseData = utils$1.stripBOM(responseData);
13769
13811
  }
13770
13812
  }
13771
13813
  response.data = responseData;
13772
13814
  } catch (err) {
13773
- reject(AxiosError.from(err, null, config, response.request, response));
13815
+ return reject(AxiosError.from(err, null, config, response.request, response));
13774
13816
  }
13775
13817
  settle(resolve, reject, response);
13776
13818
  });
@@ -13807,7 +13849,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13807
13849
  // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.
13808
13850
  const timeout = parseInt(config.timeout, 10);
13809
13851
 
13810
- if (isNaN(timeout)) {
13852
+ if (Number.isNaN(timeout)) {
13811
13853
  reject(new AxiosError(
13812
13854
  'error trying to parse `config.timeout` to int',
13813
13855
  AxiosError.ERR_BAD_OPTION_VALUE,
@@ -13842,7 +13884,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13842
13884
 
13843
13885
 
13844
13886
  // Send the request
13845
- if (utils.isStream(data)) {
13887
+ if (utils$1.isStream(data)) {
13846
13888
  let ended = false;
13847
13889
  let errored = false;
13848
13890
 
@@ -13868,55 +13910,46 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
13868
13910
  });
13869
13911
  };
13870
13912
 
13871
- const cookies = platform.isStandardBrowserEnv ?
13913
+ const cookies = platform.hasStandardBrowserEnv ?
13872
13914
 
13873
- // Standard browser envs support document.cookie
13874
- (function standardBrowserEnv() {
13875
- return {
13876
- write: function write(name, value, expires, path, domain, secure) {
13877
- const cookie = [];
13878
- cookie.push(name + '=' + encodeURIComponent(value));
13915
+ // Standard browser envs support document.cookie
13916
+ {
13917
+ write(name, value, expires, path, domain, secure) {
13918
+ const cookie = [name + '=' + encodeURIComponent(value)];
13879
13919
 
13880
- if (utils.isNumber(expires)) {
13881
- cookie.push('expires=' + new Date(expires).toGMTString());
13882
- }
13920
+ utils$1.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());
13883
13921
 
13884
- if (utils.isString(path)) {
13885
- cookie.push('path=' + path);
13886
- }
13922
+ utils$1.isString(path) && cookie.push('path=' + path);
13887
13923
 
13888
- if (utils.isString(domain)) {
13889
- cookie.push('domain=' + domain);
13890
- }
13924
+ utils$1.isString(domain) && cookie.push('domain=' + domain);
13891
13925
 
13892
- if (secure === true) {
13893
- cookie.push('secure');
13894
- }
13926
+ secure === true && cookie.push('secure');
13895
13927
 
13896
- document.cookie = cookie.join('; ');
13897
- },
13928
+ document.cookie = cookie.join('; ');
13929
+ },
13898
13930
 
13899
- read: function read(name) {
13900
- const match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
13901
- return (match ? decodeURIComponent(match[3]) : null);
13902
- },
13931
+ read(name) {
13932
+ const match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
13933
+ return (match ? decodeURIComponent(match[3]) : null);
13934
+ },
13903
13935
 
13904
- remove: function remove(name) {
13905
- this.write(name, '', Date.now() - 86400000);
13906
- }
13907
- };
13908
- })() :
13936
+ remove(name) {
13937
+ this.write(name, '', Date.now() - 86400000);
13938
+ }
13939
+ }
13909
13940
 
13910
- // Non standard browser env (web workers, react-native) lack needed support.
13911
- (function nonStandardBrowserEnv() {
13912
- return {
13913
- write: function write() {},
13914
- read: function read() { return null; },
13915
- remove: function remove() {}
13916
- };
13917
- })();
13941
+ :
13942
+
13943
+ // Non-standard browser env (web workers, react-native) lack needed support.
13944
+ {
13945
+ write() {},
13946
+ read() {
13947
+ return null;
13948
+ },
13949
+ remove() {}
13950
+ };
13918
13951
 
13919
- const isURLSameOrigin = platform.isStandardBrowserEnv ?
13952
+ const isURLSameOrigin = platform.hasStandardBrowserEnv ?
13920
13953
 
13921
13954
  // Standard browser envs have full support of the APIs needed to test
13922
13955
  // whether the request URL is of the same origin as current location.
@@ -13926,7 +13959,7 @@ const isURLSameOrigin = platform.isStandardBrowserEnv ?
13926
13959
  let originURL;
13927
13960
 
13928
13961
  /**
13929
- * Parse a URL to discover it's components
13962
+ * Parse a URL to discover its components
13930
13963
  *
13931
13964
  * @param {String} url The URL to be parsed
13932
13965
  * @returns {Object}
@@ -13966,7 +13999,7 @@ const isURLSameOrigin = platform.isStandardBrowserEnv ?
13966
13999
  * @returns {boolean} True if URL shares the same origin, otherwise false
13967
14000
  */
13968
14001
  return function isURLSameOrigin(requestURL) {
13969
- const parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
14002
+ const parsed = (utils$1.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
13970
14003
  return (parsed.protocol === originURL.protocol &&
13971
14004
  parsed.host === originURL.host);
13972
14005
  };
@@ -14014,7 +14047,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
14014
14047
  return new Promise(function dispatchXhrRequest(resolve, reject) {
14015
14048
  let requestData = config.data;
14016
14049
  const requestHeaders = AxiosHeaders$1.from(config.headers).normalize();
14017
- const responseType = config.responseType;
14050
+ let {responseType, withXSRFToken} = config;
14018
14051
  let onCanceled;
14019
14052
  function done() {
14020
14053
  if (config.cancelToken) {
@@ -14026,11 +14059,15 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
14026
14059
  }
14027
14060
  }
14028
14061
 
14029
- if (utils.isFormData(requestData)) {
14030
- if (platform.isStandardBrowserEnv || platform.isStandardBrowserWebWorkerEnv) {
14062
+ let contentType;
14063
+
14064
+ if (utils$1.isFormData(requestData)) {
14065
+ if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
14031
14066
  requestHeaders.setContentType(false); // Let the browser set it
14032
- } else {
14033
- requestHeaders.setContentType('multipart/form-data;', false); // mobile/desktop app frameworks
14067
+ } else if ((contentType = requestHeaders.getContentType()) !== false) {
14068
+ // fix semicolon duplication issue for ReactNative FormData implementation
14069
+ const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : [];
14070
+ requestHeaders.setContentType([type || 'multipart/form-data', ...tokens].join('; '));
14034
14071
  }
14035
14072
  }
14036
14073
 
@@ -14146,13 +14183,16 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
14146
14183
  // Add xsrf header
14147
14184
  // This is only done if running in a standard browser environment.
14148
14185
  // Specifically not if we're in a web worker, or react-native.
14149
- if (platform.isStandardBrowserEnv) {
14150
- // Add xsrf header
14151
- const xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath))
14152
- && config.xsrfCookieName && cookies.read(config.xsrfCookieName);
14186
+ if(platform.hasStandardBrowserEnv) {
14187
+ withXSRFToken && utils$1.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));
14188
+
14189
+ if (withXSRFToken || (withXSRFToken !== false && isURLSameOrigin(fullPath))) {
14190
+ // Add xsrf header
14191
+ const xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && cookies.read(config.xsrfCookieName);
14153
14192
 
14154
- if (xsrfValue) {
14155
- requestHeaders.set(config.xsrfHeaderName, xsrfValue);
14193
+ if (xsrfValue) {
14194
+ requestHeaders.set(config.xsrfHeaderName, xsrfValue);
14195
+ }
14156
14196
  }
14157
14197
  }
14158
14198
 
@@ -14161,13 +14201,13 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
14161
14201
 
14162
14202
  // Add headers to the request
14163
14203
  if ('setRequestHeader' in request) {
14164
- utils.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
14204
+ utils$1.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
14165
14205
  request.setRequestHeader(key, val);
14166
14206
  });
14167
14207
  }
14168
14208
 
14169
14209
  // Add withCredentials to request if needed
14170
- if (!utils.isUndefined(config.withCredentials)) {
14210
+ if (!utils$1.isUndefined(config.withCredentials)) {
14171
14211
  request.withCredentials = !!config.withCredentials;
14172
14212
  }
14173
14213
 
@@ -14222,8 +14262,8 @@ const knownAdapters = {
14222
14262
  xhr: xhrAdapter
14223
14263
  };
14224
14264
 
14225
- utils.forEach(knownAdapters, (fn, value) => {
14226
- if(fn) {
14265
+ utils$1.forEach(knownAdapters, (fn, value) => {
14266
+ if (fn) {
14227
14267
  try {
14228
14268
  Object.defineProperty(fn, 'name', {value});
14229
14269
  } catch (e) {
@@ -14233,38 +14273,56 @@ utils.forEach(knownAdapters, (fn, value) => {
14233
14273
  }
14234
14274
  });
14235
14275
 
14276
+ const renderReason = (reason) => `- ${reason}`;
14277
+
14278
+ const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
14279
+
14236
14280
  const adapters = {
14237
14281
  getAdapter: (adapters) => {
14238
- adapters = utils.isArray(adapters) ? adapters : [adapters];
14282
+ adapters = utils$1.isArray(adapters) ? adapters : [adapters];
14239
14283
 
14240
14284
  const {length} = adapters;
14241
14285
  let nameOrAdapter;
14242
14286
  let adapter;
14243
14287
 
14288
+ const rejectedReasons = {};
14289
+
14244
14290
  for (let i = 0; i < length; i++) {
14245
14291
  nameOrAdapter = adapters[i];
14246
- if((adapter = utils.isString(nameOrAdapter) ? knownAdapters[nameOrAdapter.toLowerCase()] : nameOrAdapter)) {
14292
+ let id;
14293
+
14294
+ adapter = nameOrAdapter;
14295
+
14296
+ if (!isResolvedHandle(nameOrAdapter)) {
14297
+ adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
14298
+
14299
+ if (adapter === undefined) {
14300
+ throw new AxiosError(`Unknown adapter '${id}'`);
14301
+ }
14302
+ }
14303
+
14304
+ if (adapter) {
14247
14305
  break;
14248
14306
  }
14307
+
14308
+ rejectedReasons[id || '#' + i] = adapter;
14249
14309
  }
14250
14310
 
14251
14311
  if (!adapter) {
14252
- if (adapter === false) {
14253
- throw new AxiosError(
14254
- `Adapter ${nameOrAdapter} is not supported by the environment`,
14255
- 'ERR_NOT_SUPPORT'
14312
+
14313
+ const reasons = Object.entries(rejectedReasons)
14314
+ .map(([id, state]) => `adapter ${id} ` +
14315
+ (state === false ? 'is not supported by the environment' : 'is not available in the build')
14256
14316
  );
14257
- }
14258
14317
 
14259
- throw new Error(
14260
- utils.hasOwnProp(knownAdapters, nameOrAdapter) ?
14261
- `Adapter '${nameOrAdapter}' is not available in the build` :
14262
- `Unknown adapter '${nameOrAdapter}'`
14263
- );
14264
- }
14318
+ let s = length ?
14319
+ (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
14320
+ 'as no adapter specified';
14265
14321
 
14266
- if (!utils.isFunction(adapter)) {
14267
- throw new TypeError('adapter is not a function');
14322
+ throw new AxiosError(
14323
+ `There is no suitable adapter to dispatch the request ` + s,
14324
+ 'ERR_NOT_SUPPORT'
14325
+ );
14268
14326
  }
14269
14327
 
14270
14328
  return adapter;
@@ -14362,11 +14420,11 @@ function mergeConfig(config1, config2) {
14362
14420
  const config = {};
14363
14421
 
14364
14422
  function getMergedValue(target, source, caseless) {
14365
- if (utils.isPlainObject(target) && utils.isPlainObject(source)) {
14366
- return utils.merge.call({caseless}, target, source);
14367
- } else if (utils.isPlainObject(source)) {
14368
- return utils.merge({}, source);
14369
- } else if (utils.isArray(source)) {
14423
+ if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
14424
+ return utils$1.merge.call({caseless}, target, source);
14425
+ } else if (utils$1.isPlainObject(source)) {
14426
+ return utils$1.merge({}, source);
14427
+ } else if (utils$1.isArray(source)) {
14370
14428
  return source.slice();
14371
14429
  }
14372
14430
  return source;
@@ -14374,25 +14432,25 @@ function mergeConfig(config1, config2) {
14374
14432
 
14375
14433
  // eslint-disable-next-line consistent-return
14376
14434
  function mergeDeepProperties(a, b, caseless) {
14377
- if (!utils.isUndefined(b)) {
14435
+ if (!utils$1.isUndefined(b)) {
14378
14436
  return getMergedValue(a, b, caseless);
14379
- } else if (!utils.isUndefined(a)) {
14437
+ } else if (!utils$1.isUndefined(a)) {
14380
14438
  return getMergedValue(undefined, a, caseless);
14381
14439
  }
14382
14440
  }
14383
14441
 
14384
14442
  // eslint-disable-next-line consistent-return
14385
14443
  function valueFromConfig2(a, b) {
14386
- if (!utils.isUndefined(b)) {
14444
+ if (!utils$1.isUndefined(b)) {
14387
14445
  return getMergedValue(undefined, b);
14388
14446
  }
14389
14447
  }
14390
14448
 
14391
14449
  // eslint-disable-next-line consistent-return
14392
14450
  function defaultToConfig2(a, b) {
14393
- if (!utils.isUndefined(b)) {
14451
+ if (!utils$1.isUndefined(b)) {
14394
14452
  return getMergedValue(undefined, b);
14395
- } else if (!utils.isUndefined(a)) {
14453
+ } else if (!utils$1.isUndefined(a)) {
14396
14454
  return getMergedValue(undefined, a);
14397
14455
  }
14398
14456
  }
@@ -14417,6 +14475,7 @@ function mergeConfig(config1, config2) {
14417
14475
  timeout: defaultToConfig2,
14418
14476
  timeoutMessage: defaultToConfig2,
14419
14477
  withCredentials: defaultToConfig2,
14478
+ withXSRFToken: defaultToConfig2,
14420
14479
  adapter: defaultToConfig2,
14421
14480
  responseType: defaultToConfig2,
14422
14481
  xsrfCookieName: defaultToConfig2,
@@ -14437,10 +14496,10 @@ function mergeConfig(config1, config2) {
14437
14496
  headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)
14438
14497
  };
14439
14498
 
14440
- utils.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
14499
+ utils$1.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
14441
14500
  const merge = mergeMap[prop] || mergeDeepProperties;
14442
14501
  const configValue = merge(config1[prop], config2[prop], prop);
14443
- (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
14502
+ (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
14444
14503
  });
14445
14504
 
14446
14505
  return config;
@@ -14582,7 +14641,7 @@ class Axios {
14582
14641
  }
14583
14642
 
14584
14643
  if (paramsSerializer != null) {
14585
- if (utils.isFunction(paramsSerializer)) {
14644
+ if (utils$1.isFunction(paramsSerializer)) {
14586
14645
  config.paramsSerializer = {
14587
14646
  serialize: paramsSerializer
14588
14647
  };
@@ -14597,15 +14656,13 @@ class Axios {
14597
14656
  // Set config.method
14598
14657
  config.method = (config.method || this.defaults.method || 'get').toLowerCase();
14599
14658
 
14600
- let contextHeaders;
14601
-
14602
14659
  // Flatten headers
14603
- contextHeaders = headers && utils.merge(
14660
+ let contextHeaders = headers && utils$1.merge(
14604
14661
  headers.common,
14605
14662
  headers[config.method]
14606
14663
  );
14607
14664
 
14608
- contextHeaders && utils.forEach(
14665
+ headers && utils$1.forEach(
14609
14666
  ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
14610
14667
  (method) => {
14611
14668
  delete headers[method];
@@ -14692,7 +14749,7 @@ class Axios {
14692
14749
  }
14693
14750
 
14694
14751
  // Provide aliases for supported request methods
14695
- utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
14752
+ utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
14696
14753
  /*eslint func-names:0*/
14697
14754
  Axios.prototype[method] = function(url, config) {
14698
14755
  return this.request(mergeConfig(config || {}, {
@@ -14703,7 +14760,7 @@ utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData
14703
14760
  };
14704
14761
  });
14705
14762
 
14706
- utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
14763
+ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
14707
14764
  /*eslint func-names:0*/
14708
14765
 
14709
14766
  function generateHTTPMethod(isForm) {
@@ -14879,7 +14936,7 @@ function spread(callback) {
14879
14936
  * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
14880
14937
  */
14881
14938
  function isAxiosError(payload) {
14882
- return utils.isObject(payload) && (payload.isAxiosError === true);
14939
+ return utils$1.isObject(payload) && (payload.isAxiosError === true);
14883
14940
  }
14884
14941
 
14885
14942
  const HttpStatusCode = {
@@ -14966,10 +15023,10 @@ function createInstance(defaultConfig) {
14966
15023
  const instance = bind(Axios$1.prototype.request, context);
14967
15024
 
14968
15025
  // Copy axios.prototype to instance
14969
- utils.extend(instance, Axios$1.prototype, context, {allOwnKeys: true});
15026
+ utils$1.extend(instance, Axios$1.prototype, context, {allOwnKeys: true});
14970
15027
 
14971
15028
  // Copy context to instance
14972
- utils.extend(instance, context, null, {allOwnKeys: true});
15029
+ utils$1.extend(instance, context, null, {allOwnKeys: true});
14973
15030
 
14974
15031
  // Factory for creating new instances
14975
15032
  instance.create = function create(instanceConfig) {
@@ -15013,7 +15070,9 @@ axios.mergeConfig = mergeConfig;
15013
15070
 
15014
15071
  axios.AxiosHeaders = AxiosHeaders$1;
15015
15072
 
15016
- axios.formToJSON = thing => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
15073
+ axios.formToJSON = thing => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
15074
+
15075
+ axios.getAdapter = adapters.getAdapter;
15017
15076
 
15018
15077
  axios.HttpStatusCode = HttpStatusCode$1;
15019
15078
 
@@ -15037,7 +15096,7 @@ module.exports = JSON.parse('{"application/1d-interleaved-parityfec":{"source":"
15037
15096
  /***/ ((module) => {
15038
15097
 
15039
15098
  "use strict";
15040
- module.exports = JSON.parse('{"name":"netlicensing-client","version":"1.2.33","description":"JavaScript Wrapper for Labs64 NetLicensing RESTful API","keywords":["labs64","netlicensing","licensing","licensing-as-a-service","license","license-management","software-license","client","restful","restful-api","javascript","wrapper","api","client"],"license":"Apache-2.0","author":"Labs64 GmbH","homepage":"https://netlicensing.io","repository":{"type":"git","url":"https://github.com/Labs64/NetLicensingClient-javascript"},"bugs":{"url":"https://github.com/Labs64/NetLicensingClient-javascript/issues"},"contributors":[{"name":"Ready Brown","email":"ready.brown@hotmail.de","url":"https://github.com/r-brown"},{"name":"Viacheslav Rudkovskiy","email":"viachaslau.rudkovski@labs64.de","url":"https://github.com/v-rudkovskiy"},{"name":"Andrei Yushkevich","email":"yushkevich@me.com","url":"https://github.com/yushkevich"}],"main":"dist/netlicensing-client.js","files":["dist"],"scripts":{"build":"node build/build.cjs","release":"npm run build && npm run test","dev":"webpack --progress --watch --config build/webpack.dev.conf.cjs","test":"karma start test/karma.conf.js --single-run","test-mocha":"webpack --config build/webpack.test.conf.cjs","test-for-travis":"karma start test/karma.conf.js --single-run --browsers Firefox","lint":"eslint --ext .js,.vue src test"},"dependencies":{"axios":"^1.4.0","btoa":"^1.2.1","es6-promise":"^4.2.8"},"devDependencies":{"@babel/core":"^7.17.8","@babel/plugin-proposal-class-properties":"^7.16.7","@babel/plugin-proposal-decorators":"^7.17.8","@babel/plugin-proposal-export-namespace-from":"^7.16.7","@babel/plugin-proposal-function-sent":"^7.16.7","@babel/plugin-proposal-json-strings":"^7.16.7","@babel/plugin-proposal-numeric-separator":"^7.16.7","@babel/plugin-proposal-throw-expressions":"^7.16.7","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-syntax-import-meta":"^7.10.4","@babel/plugin-transform-modules-commonjs":"^7.17.7","@babel/plugin-transform-runtime":"^7.17.0","@babel/preset-env":"^7.16.11","@babel/runtime":"^7.17.8","axios-mock-adapter":"^1.20.0","babel-eslint":"^10.1.0","babel-loader":"^9.1.2","chalk":"^4.1.2","eslint":"^7.32.0","eslint-config-airbnb-base":"^15.0.0","eslint-friendly-formatter":"^4.0.1","eslint-import-resolver-webpack":"^0.13.1","eslint-plugin-import":"^2.25.4","eslint-plugin-jasmine":"^4.1.3","eslint-webpack-plugin":"^3.1.1","faker":"^5.5.3","is-docker":"^2.2.1","jasmine":"^4.0.2","jasmine-core":"^4.0.1","karma":"^6.3.17","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.2","karma-jasmine":"^4.0.2","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"0.0.33","karma-webpack":"^5.0.0","lodash":"^4.17.21","ora":"^5.4.1","rimraf":"^3.0.2","terser-webpack-plugin":"^5.3.1","webpack":"^5.76.0","webpack-cli":"^5.1.1","webpack-merge":"^5.8.0"},"engines":{"node":">= 14.0.0","npm":">= 8.0.0"},"browserslist":["> 1%","last 2 versions","not ie <= 10"]}');
15099
+ module.exports = JSON.parse('{"name":"netlicensing-client","version":"1.2.34","description":"JavaScript Wrapper for Labs64 NetLicensing RESTful API","keywords":["labs64","netlicensing","licensing","licensing-as-a-service","license","license-management","software-license","client","restful","restful-api","javascript","wrapper","api","client"],"license":"Apache-2.0","author":"Labs64 GmbH","homepage":"https://netlicensing.io","repository":{"type":"git","url":"https://github.com/Labs64/NetLicensingClient-javascript"},"bugs":{"url":"https://github.com/Labs64/NetLicensingClient-javascript/issues"},"contributors":[{"name":"Ready Brown","email":"ready.brown@hotmail.de","url":"https://github.com/r-brown"},{"name":"Viacheslav Rudkovskiy","email":"viachaslau.rudkovski@labs64.de","url":"https://github.com/v-rudkovskiy"},{"name":"Andrei Yushkevich","email":"yushkevich@me.com","url":"https://github.com/yushkevich"}],"main":"dist/netlicensing-client.js","files":["dist"],"scripts":{"build":"node build/build.cjs","release":"npm run build && npm run test","dev":"webpack --progress --watch --config build/webpack.dev.conf.cjs","test":"karma start test/karma.conf.js --single-run","test-mocha":"webpack --config build/webpack.test.conf.cjs","test-for-travis":"karma start test/karma.conf.js --single-run --browsers Firefox","lint":"eslint --ext .js,.vue src test"},"dependencies":{"axios":"^1.6.0","btoa":"^1.2.1","es6-promise":"^4.2.8"},"devDependencies":{"@babel/core":"^7.17.8","@babel/plugin-proposal-class-properties":"^7.16.7","@babel/plugin-proposal-decorators":"^7.17.8","@babel/plugin-proposal-export-namespace-from":"^7.16.7","@babel/plugin-proposal-function-sent":"^7.16.7","@babel/plugin-proposal-json-strings":"^7.16.7","@babel/plugin-proposal-numeric-separator":"^7.16.7","@babel/plugin-proposal-throw-expressions":"^7.16.7","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-syntax-import-meta":"^7.10.4","@babel/plugin-transform-modules-commonjs":"^7.17.7","@babel/plugin-transform-runtime":"^7.17.0","@babel/preset-env":"^7.16.11","@babel/runtime":"^7.17.8","axios-mock-adapter":"^1.20.0","babel-eslint":"^10.1.0","babel-loader":"^9.1.2","chalk":"^4.1.2","eslint":"^7.32.0","eslint-config-airbnb-base":"^15.0.0","eslint-friendly-formatter":"^4.0.1","eslint-import-resolver-webpack":"^0.13.1","eslint-plugin-import":"^2.25.4","eslint-plugin-jasmine":"^4.1.3","eslint-webpack-plugin":"^3.1.1","faker":"^5.5.3","is-docker":"^2.2.1","jasmine":"^4.0.2","jasmine-core":"^4.0.1","karma":"^6.3.17","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.2","karma-jasmine":"^4.0.2","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"0.0.33","karma-webpack":"^5.0.0","lodash":"^4.17.21","ora":"^5.4.1","rimraf":"^3.0.2","terser-webpack-plugin":"^5.3.1","webpack":"^5.76.0","webpack-cli":"^5.1.1","webpack-merge":"^5.8.0"},"engines":{"node":">= 14.0.0","npm":">= 8.0.0"},"browserslist":["> 1%","last 2 versions","not ie <= 10"]}');
15041
15100
 
15042
15101
  /***/ })
15043
15102